1/*! For license information please see main.188def19.js.LICENSE.txt */ 2!function(){var e={1052:function(e,t,n){var r;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof this||("undefined"!==typeof window?window:"undefined"!==typeof self?self:n.g),r=function(e){return function(){"use strict";var t={662:function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.CellHookData=t.HookData=void 0;var r=function(e,t,n){this.table=t,this.pageNumber=t.pageNumber,this.pageCount=this.pageNumber,this.settings=t.settings,this.cursor=n,this.doc=e.getDocument()};t.HookData=r;var i=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,n,a)||this;return s.cell=r,s.row=i,s.column=o,s.section=i.section,s}return n(t,e),t}(r);t.CellHookData=i},790:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(148),i=n(938),o=n(323),a=n(587),s=n(49),l=n(858);t.default=function(e){e.API.autoTable=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];1===t.length?e=t[0]:(console.error("Use of deprecated autoTable initiation"),(e=t[2]||{}).columns=t[0],e.body=t[1]);var r=(0,a.parseInput)(this,e),i=(0,l.createTable)(this,r);return(0,s.drawTable)(this,i),this},e.API.lastAutoTable=!1,e.API.previousAutoTable=!1,e.API.autoTable.previous=!1,e.API.autoTableText=function(e,t,n,r){(0,i.default)(e,t,n,r,this)},e.API.autoTableSetDefaults=function(e){return o.DocHandler.setDefaults(e,this),this},e.autoTableSetDefaults=function(e,t){o.DocHandler.setDefaults(e,t)},e.API.autoTableHtmlToJson=function(e,t){if(void 0===t&&(t=!1),"undefined"===typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var n=new o.DocHandler(this),i=(0,r.parseHtml)(n,e,window,t,!1),a=i.head,s=i.body;return{columns:a[0].map((function(e){return e.content})),rows:s,data:s}},e.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var e=this.lastAutoTable;return e&&e.finalY?e.finalY:0},e.API.autoTableAddPageContent=function(t){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),e.API.autoTable.globalDefaults||(e.API.autoTable.globalDefaults={}),e.API.autoTable.globalDefaults.addPageContent=t,this},e.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}},938:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){r=r||{};var o=1.15,a=i.internal.scaleFactor,s=i.internal.getFontSize()/a,l="",u=1;if("middle"!==r.valign&&"bottom"!==r.valign&&"center"!==r.halign&&"right"!==r.halign||(u=(l="string"===typeof e?e.split(/\r\n|\r|\n/g):e).length||1),n+=s*(2-o),"middle"===r.valign?n-=u/2*s*o:"bottom"===r.valign&&(n-=u*s*o),"center"===r.halign||"right"===r.halign){var c=s;if("center"===r.halign&&(c*=.5),l&&u>=1){for(var f=0;f<l.length;f++)i.text(l[f],t-i.getStringUnitWidth(l[f])*c,n),n+=s*o;return i}t-=i.getStringUnitWidth(e)*c}return"justify"===r.halign?i.text(e,t,n,{maxWidth:r.maxWidth||100,align:"justify"}):i.text(e,t,n),i}},200:function(e,t){function n(e,t){var n=e>0,r=t||0===t;return n&&r?"DF":n?"S":r?"F":null}Object.defineProperty(t,"__esModule",{value:!0}),t.parseSpacing=t.getFillStyle=t.addTableBorder=t.getStringWidth=void 0,t.getStringWidth=function(e,t,n){return n.applyStyles(t,!0),(Array.isArray(e)?e:[e]).map((function(e){return n.getTextWidth(e)})).reduce((function(e,t){return Math.max(e,t)}),0)},t.addTableBorder=function(e,t,r,i){var o=t.settings.tableLineWidth,a=t.settings.tableLineColor;e.applyStyles({lineWidth:o,lineColor:a});var s=n(o,!1);s&&e.rect(r.x,r.y,t.getWidth(e.pageSize().width),i.y-r.y,s)},t.getFillStyle=n,t.parseSpacing=function(e,t){var n,r,i,o;if(e=e||t,Array.isArray(e)){if(e.length>=4)return{top:e[0],right:e[1],bottom:e[2],left:e[3]};if(3===e.length)return{top:e[0],right:e[1],bottom:e[2],left:e[1]};if(2===e.length)return{top:e[0],right:e[1],bottom:e[0],left:e[1]};e=1===e.length?e[0]:t}return"object"===typeof e?("number"===typeof e.vertical&&(e.top=e.vertical,e.bottom=e.vertical),"number"===typeof e.horizontal&&(e.right=e.horizontal,e.left=e.horizontal),{left:null!==(n=e.left)&&void 0!==n?n:t,top:null!==(r=e.top)&&void 0!==r?r:t,right:null!==(i=e.right)&&void 0!==i?i:t,bottom:null!==(o=e.bottom)&&void 0!==o?o:t}):("number"!==typeof e&&(e=t),{top:e,right:e,bottom:e,left:e})}},913:function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.getTheme=t.defaultStyles=t.HtmlRowInput=t.FONT_ROW_RATIO=void 0,t.FONT_ROW_RATIO=1.15;var r=function(e){function t(t){var n=e.call(this)||this;return n._element=t,n}return n(t,e),t}(Array);t.HtmlRowInput=r,t.defaultStyles=function(e){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/e,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}},t.getTheme=function(e){return{striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}}[e]}},259:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseCss=void 0;var r=n(200);function i(e,t){var n=o(e,t);if(!n)return null;var r=n.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!r||!Array.isArray(r))return null;var i=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])];return 0===parseInt(r[4])||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}function o(e,t){var n=t(e);return"rgba(0, 0, 0, 0)"===n||"transparent"===n||"initial"===n||"inherit"===n?null==e.parentElement?null:o(e.parentElement,t):n}t.parseCss=function(e,t,n,o,a){var s={},l=96/72,u=i(t,(function(e){return a.getComputedStyle(e).backgroundColor}));null!=u&&(s.fillColor=u);var c=i(t,(function(e){return a.getComputedStyle(e).color}));null!=c&&(s.textColor=c);var f=i(t,(function(e){return a.getComputedStyle(e).borderTopColor}));null!=f&&(s.lineColor=f);var d=function(e,t){var n=[e.paddingTop,e.paddingRight,e.paddingBottom,e.paddingLeft],i=96/(72/t),o=(parseInt(e.lineHeight)-parseInt(e.fontSize))/t/2,a=n.map((function(e){return parseInt(e||"0")/i})),s=(0,r.parseSpacing)(a,0);return o>s.top&&(s.top=o),o>s.bottom&&(s.bottom=o),s}(o,n);d&&(s.cellPadding=d);var h=parseInt(o.borderTopWidth||"");(h=h/l/n)&&(s.lineWidth=h);var p=["left","right","center","justify"];-1!==p.indexOf(o.textAlign)&&(s.halign=o.textAlign),-1!==(p=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(s.valign=o.verticalAlign);var g=parseInt(o.fontSize||"");isNaN(g)||(s.fontSize=g/l);var m=function(e){var t="";return("bold"===e.fontWeight||"bolder"===e.fontWeight||parseInt(e.fontWeight)>=700)&&(t="bold"),"italic"!==e.fontStyle&&"oblique"!==e.fontStyle||(t+="italic"),t}(o);m&&(s.fontStyle=m);var v=(o.fontFamily||"").toLowerCase();return-1!==e.indexOf(v)&&(s.font=v),s}},323:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DocHandler=void 0;var n={},r=function(){function e(e){this.jsPDFDocument=e,this.userStyles={textColor:e.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:e.internal.getFontSize(),fontStyle:e.internal.getFont().fontStyle,font:e.internal.getFont().fontName,lineWidth:e.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:e.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return e.setDefaults=function(e,t){void 0===t&&(t=null),t?t.__autoTableDocumentDefaults=e:n=e},e.unifyColor=function(e){return Array.isArray(e)?e:"number"===typeof e?[e,e,e]:"string"===typeof e?[e]:null},e.prototype.applyStyles=function(t,n){var r,i,o;void 0===n&&(n=!1),t.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(t.fontStyle);var a=this.jsPDFDocument.internal.getFont(),s=a.fontStyle,l=a.fontName;if(t.font&&(l=t.font),t.fontStyle){s=t.fontStyle;var u=this.getFontList()[l];u&&-1===u.indexOf(s)&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(u[0]),s=u[0])}if(this.jsPDFDocument.setFont(l,s),t.fontSize&&this.jsPDFDocument.setFontSize(t.fontSize),!n){var c=e.unifyColor(t.fillColor);c&&(r=this.jsPDFDocument).setFillColor.apply(r,c),(c=e.unifyColor(t.textColor))&&(i=this.jsPDFDocument).setTextColor.apply(i,c),(c=e.unifyColor(t.lineColor))&&(o=this.jsPDFDocument).setDrawColor.apply(o,c),"number"===typeof t.lineWidth&&this.jsPDFDocument.setLineWidth(t.lineWidth)}},e.prototype.splitTextToSize=function(e,t,n){return this.jsPDFDocument.splitTextToSize(e,t,n)},e.prototype.rect=function(e,t,n,r,i){if(!["S","F","DF","FD",null].some((function(e){return e===i})))throw new TypeError("Invalid value '".concat(i,"' passed to rect. Allowed values are: 'S', 'F', 'DF', 'FD', null"));return this.jsPDFDocument.rect(e,t,n,r,i)},e.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},e.prototype.getTextWidth=function(e){return this.jsPDFDocument.getTextWidth(e)},e.prototype.getDocument=function(){return this.jsPDFDocument},e.prototype.setPage=function(e){this.jsPDFDocument.setPage(e)},e.prototype.addPage=function(){return this.jsPDFDocument.addPage()},e.prototype.getFontList=function(){return this.jsPDFDocument.getFontList(
2)},e.prototype.getGlobalOptions=function(){return n||{}},e.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},e.prototype.pageSize=function(){var e=this.jsPDFDocument.internal.pageSize;return null==e.width&&(e={width:e.getWidth(),height:e.getHeight()}),e},e.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},e.prototype.pageNumber=function(){var e=this.jsPDFDocument.internal.getCurrentPageInfo();return e?e.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},e}();t.DocHandler=r},148:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseHtml=void 0;var r=n(259),i=n(913);function o(e,t,n,o,s,l){for(var u=new i.HtmlRowInput(o),c=0;c<o.cells.length;c++){var f=o.cells[c],d=n.getComputedStyle(f);if(s||"none"!==d.display){var h=void 0;l&&(h=(0,r.parseCss)(e,f,t,d,n)),u.push({rowSpan:f.rowSpan,colSpan:f.colSpan,styles:h,_element:f,content:a(f)})}}var p=n.getComputedStyle(o);if(u.length>0&&(s||"none"!==p.display))return u}function a(e){var t=e.cloneNode(!0);return t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/ +/g," "),t.innerHTML=t.innerHTML.split(/\<br.*?\>/).map((function(e){return e.trim()})).join("\n"),t.innerText||t.textContent||""}t.parseHtml=function(e,t,n,r,i){var a,s,l;void 0===r&&(r=!1),void 0===i&&(i=!1),l="string"===typeof t?n.document.querySelector(t):t;var u=Object.keys(e.getFontList()),c=e.scaleFactor(),f=[],d=[],h=[];if(!l)return console.error("Html table could not be found with input: ",t),{head:f,body:d,foot:h};for(var p=0;p<l.rows.length;p++){var g=l.rows[p],m=null===(s=null===(a=null===g||void 0===g?void 0:g.parentElement)||void 0===a?void 0:a.tagName)||void 0===s?void 0:s.toLowerCase(),v=o(u,c,n,g,r,i);v&&("thead"===m?f.push(v):"tfoot"===m?h.push(v):d.push(v))}return{head:f,body:d,foot:h}}},587:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseInput=void 0;var r=n(148),i=n(360),o=n(200),a=n(323),s=n(291);t.parseInput=function(e,t){var n=new a.DocHandler(e),l=n.getDocumentOptions(),u=n.getGlobalOptions();(0,s.default)(n,u,l,t);var c,f=(0,i.assign)({},u,l,t);"undefined"!==typeof window&&(c=window);var d=function(e,t,n){for(var r={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},o=function(o){if("columnStyles"===o){var a=e[o],s=t[o],l=n[o];r.columnStyles=(0,i.assign)({},a,s,l)}else{var u=[e,t,n].map((function(e){return e[o]||{}}));r[o]=(0,i.assign)({},u[0],u[1],u[2])}},a=0,s=Object.keys(r);a<s.length;a++)o(s[a]);return r}(u,l,t),h=function(e,t,n){for(var r={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},i=0,o=[e,t,n];i<o.length;i++){var a=o[i];a.didParseCell&&r.didParseCell.push(a.didParseCell),a.willDrawCell&&r.willDrawCell.push(a.willDrawCell),a.didDrawCell&&r.didDrawCell.push(a.didDrawCell),a.willDrawPage&&r.willDrawPage.push(a.willDrawPage),a.didDrawPage&&r.didDrawPage.push(a.didDrawPage)}return r}(u,l,t),p=function(e,t){var n,r,i,a,s,l,u,c,f,d,h,p,g,m=(0,o.parseSpacing)(t.margin,40/e.scaleFactor()),v=null!==(n=function(e,t){var n=e.getLastAutoTable(),r=e.scaleFactor(),i=e.pageNumber(),o=!1;return n&&n.startPageNumber&&(o=n.startPageNumber+n.pageNumber-1===i),"number"===typeof t?t:null!=t&&!1!==t||!o||null==(null===n||void 0===n?void 0:n.finalY)?null:n.finalY+20/r}(e,t.startY))&&void 0!==n?n:m.top;p=!0===t.showFoot?"everyPage":!1===t.showFoot?"never":null!==(r=t.showFoot)&&void 0!==r?r:"everyPage",g=!0===t.showHead?"everyPage":!1===t.showHead?"never":null!==(i=t.showHead)&&void 0!==i?i:"everyPage";var y=null!==(a=t.useCss)&&void 0!==a&&a,b=t.theme||(y?"plain":"striped"),w=!!t.horizontalPageBreak,x=null!==(s=t.horizontalPageBreakRepeat)&&void 0!==s?s:null;return{includeHiddenHtml:null!==(l=t.includeHiddenHtml)&&void 0!==l&&l,useCss:y,theme:b,startY:v,margin:m,pageBreak:null!==(u=t.pageBreak)&&void 0!==u?u:"auto",rowPageBreak:null!==(c=t.rowPageBreak)&&void 0!==c?c:"auto",tableWidth:null!==(f=t.tableWidth)&&void 0!==f?f:"auto",showHead:g,showFoot:p,tableLineWidth:null!==(d=t.tableLineWidth)&&void 0!==d?d:0,tableLineColor:null!==(h=t.tableLineColor)&&void 0!==h?h:200,horizontalPageBreak:w,horizontalPageBreakRepeat:x}}(n,f),g=function(e,t,n){var i=t.head||[],o=t.body||[],a=t.foot||[];if(t.html){var s=t.includeHiddenHtml;if(n){var l=(0,r.parseHtml)(e,t.html,n,s,t.useCss)||{};i=l.head||i,o=l.body||i,a=l.foot||i}else console.error("Cannot parse html in non browser environment")}var u=t.columns||function(e,t,n){var r=e[0]||t[0]||n[0]||[],i=[];return Object.keys(r).filter((function(e){return"_element"!==e}
2)).forEach((function(e){var t,n=1;"object"!==typeof(t=Array.isArray(r)?r[parseInt(e)]:r[e])||Array.isArray(t)||(n=(null===t||void 0===t?void 0:t.colSpan)||1);for(var o=0;o<n;o++){var a={dataKey:Array.isArray(r)?i.length:e+(o>0?"_".concat(o):"")};i.push(a)}})),i}(i,o,a);return{columns:u,head:i,body:o,foot:a}}(n,f,c);return{id:t.tableId,content:g,hooks:h,styles:d,settings:p}}},291:function(e,t){function n(e){e.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),e.minCellHeight||(e.minCellHeight=e.rowHeight)):e.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),e.cellWidth||(e.cellWidth=e.columnWidth))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){for(var o=function(t){t&&"object"!==typeof t&&console.error("The options parameter should be of type object, is: "+typeof t),"undefined"!==typeof t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),"undefined"!==typeof t.margins&&("undefined"===typeof t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead.")),t.startY&&"number"!==typeof t.startY&&(console.error("Invalid value for startY option",t.startY),delete t.startY),!t.didDrawPage&&(t.afterPageContent||t.beforePageContent||t.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),t.didDrawPage=function(n){e.applyStyles(e.userStyles),t.beforePageContent&&t.beforePageContent(n),e.applyStyles(e.userStyles),t.afterPageContent&&t.afterPageContent(n),e.applyStyles(e.userStyles),t.afterPageAdd&&n.pageNumber>1&&n.afterPageAdd(n),e.applyStyles(e.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach((function(e){t[e]&&console.error('The "'.concat(e,'" hook has changed in version 3.0, check the changelog for how to migrate.'))})),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach((function(e){var n=e[0],r=e[1];t[r]&&(console.error("Use of deprecated option ".concat(r,". Use ").concat(n," instead")),t[n]=t[r])})),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(e){var n="string"===typeof e?e:e[0],r="string"===typeof e?e:e[1];"undefined"!==typeof t[n]&&("undefined"===typeof t.styles[r]&&(t.styles[r]=t[n]),console.error("Use of deprecated option: "+n+", use the style "+r+" instead."))}));for(var r=0,i=["styles","bodyStyles","headStyles","footStyles"];r<i.length;r++)n(t[i[r]]||{});for(var o=t.columnStyles||{},a=0,s=Object.keys(o);a<s.length;a++)n(o[s[a]]||{})},a=0,s=[t,r,i];a<s.length;a++)o(s[a])}},287:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Column=t.Cell=t.Row=t.Table=void 0;var r=n(913),i=n(662),o=n(200),a=function(){function e(e,t){this.pageNumber=1,this.pageCount=1,this.id=e.id,this.settings=e.settings,this.styles=e.styles,this.hooks=e.hooks,this.columns=t.columns,this.head=t.head,this.body=t.body,this.foot=t.foot}return e.prototype.getHeadHeight=function(e){return this.head.reduce((function(t,n){return t+n.getMaxCellHeight(e)}),0)},e.prototype.getFootHeight=function(e){return this.foot.reduce((function(t,n){return t+n.getMaxCellHeight(e)}),0)},e.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},e.prototype.callCellHooks=function(e,t,n,r,o,a){for(var s=0,l=t;s<l.length;s++){var u=!1===(0,l[s])(new i.CellHookData(e,this,n,r,o,a));if(n.text=Array.isArray(n.text)?n.text:[n.text],u)return!1}return!0},e.prototype.callEndPageHooks=function(e,t){e.applyStyles(e.userStyles);for(var n=0,r=this.hooks.didDrawPage;n<r.length;n++)(0,r[n])(new i.HookData(e,this,t))},e.prototype.callWillDrawPageHooks=function(e,t){for(var n=0,r=this.hooks.willDrawPage;n<r.length;n++)(0,r[n])(new i.HookData(e,this,t))},e.prototype.getWidth=function(e){if("number"===typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce((function(e,t){return e+t.wrappedWidth}),0);var t=this.settings.margin;return e-t.left-t.right},e}();t.Table=a;var s=function(){function e(e,t,n,i,o){void 0===o&&(o=!1),this.height=0,this.raw=e,e instanceof r.HtmlRowInput&&(this.raw=e._element,this.element=e._element),this.index=t,this.section=n,this.cells=i,this.spansMultiplePages=o}return e.prototype.getMaxCellHeight=function(e){var t=this;return e.reduce((function(e,n){var r;return Math.max(e,(null===(r=t.cells[n.index])||void 0===r?void 0:r.height)||0)}),0)},e.prototype.hasRowSpan=function(e){var t=this;return e.filter((function(e){var n=t.cells[e.index];return!!n&&n.rowSpan>1})).length>0},e.prototype.canEntireRowFit=function(e,t){return this.getMaxCellHeight(t)<=e},e.prototype.getMinimumRowHeight=function(e,t){var n=this;return e.reduce((function(e,i){var o=n.cells[i.index];if(!o)return 0;var a=o.styles.fontSize/t.scaleFactor()*r.FONT_ROW_RATIO,s=o.padding("vertical")+a;return s>e?s:e}),0)},e}();t.Row=s;var l=function(){function e(e,t,n){var r,i;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=t,this.section=n,this.raw=e;var o=e;null==e||"object"!==typeof e||Array.isArray(e)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=e.rowSpan||1,this.colSpan=e.colSpan||1,o=null!==(i=null!==(r=e.content)&&void 0!==r?r:e.title)&&void 0!==i?i:e,e._element&&(this.raw=e._element));var a=null!=o?""+o:"";this.text=a.split(/\r\n|\r|\n/g)}return e.prototype.getTextPos=function(){var e,t;if("top"===this.styles.valign)e=this.y+this.padding("top");else if("bottom"===this.styles.valign)e=this.y+this.height-this.padding("bottom");else{var n=this.height-this.padding("vertical");e=this.y+n/2+this.padding("top")}if("right"===this.styles.halign)t=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var r=this.width-this.padding("horizontal");t=this.x+r/2+this.padding("left")}else t=this.x+this.padding("left");return{x:t,y:e}},e.prototype.getContentHeight=function(e){var t=(Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/e*r.FONT_ROW_RATIO)+this.padding("vertical");return Math.max(t,this.styles.minCellHeight)},e.prototype.padding=function(e){var t=(0,o.parseSpacing)(this.styles.cellPadding,0);return"vertical"===e?t.top+t.bottom:"horizontal"===e?t.left+t.right:t[e]},e}();t.Cell=l;var u=function(){function e(e,t,n){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=e,this.raw=t,this.index=n}return e.prototype.getMaxCustomCellWidth=function(e){for(var t=0,n=0,r=e.allRows();n<r.length;n++){var i=r[n].cells[this.index];i&&"number"===typeof i.styles.cellWidth&&(t=Math.max(t,i.styles.cellWidth))}return t},e}();t.Column=u}
2,360:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assign=void 0,t.assign=function(e,t,n,r,i){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),a=1;a<arguments.length;a++){var s=arguments[a];if(null!=s)for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(o[l]=s[l])}return o}},858:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createTable=void 0;var r=n(323),i=n(287),o=n(189),a=n(913),s=n(360);function l(e,t,n,r,o,a){var s={};return t.map((function(t,l){for(var u=0,f={},d=0,h=0,p=0,g=n;p<g.length;p++){var m=g[p];if(null==s[m.index]||0===s[m.index].left)if(0===h){var v=void 0,y={};"object"!==typeof(v=Array.isArray(t)?t[m.index-d-u]:t[m.dataKey])||Array.isArray(v)||(y=(null===v||void 0===v?void 0:v.styles)||{});var b=c(e,m,l,o,r,a,y),w=new i.Cell(v,b,e);f[m.dataKey]=w,f[m.index]=w,h=w.colSpan-1,s[m.index]={left:w.rowSpan-1,times:h}}else h--,d++;else s[m.index].left--,h=s[m.index].times,u++}return new i.Row(t,l,e,f)}))}function u(e,t){var n={};return e.forEach((function(e){if(null!=e.raw){var r=function(e,t){if("head"===e){if("object"===typeof t)return t.header||t.title||null;if("string"===typeof t||"number"===typeof t)return t}else if("foot"===e&&"object"===typeof t)return t.footer;return null}(t,e.raw);null!=r&&(n[e.dataKey]=r)}})),Object.keys(n).length>0?n:null}function c(e,t,n,r,i,o,l){var u,c=(0,a.getTheme)(r);"head"===e?u=i.headStyles:"body"===e?u=i.bodyStyles:"foot"===e&&(u=i.footStyles);var f=(0,s.assign)({},c.table,c[e],i.styles,u),d=i.columnStyles[t.dataKey]||i.columnStyles[t.index]||{},h="body"===e?d:{},p="body"===e&&n%2===0?(0,s.assign)({},c.alternateRow,i.alternateRowStyles):{},g=(0,a.defaultStyles)(o),m=(0,s.assign)({},g,f,p,h);return(0,s.assign)(m,l)}t.createTable=function(e,t){var n=new r.DocHandler(e),a=function(e,t){var n,r=e.content,o=function(e){return e.map((function(e,t){var n,r,o;return o="object"===typeof e&&null!==(r=null!==(n=e.dataKey)&&void 0!==n?n:e.key)&&void 0!==r?r:t,new i.Column(o,e,t)}))}(r.columns);(0===r.head.length&&(n=u(o,"head"))&&r.head.push(n),0===r.foot.length)&&((n=u(o,"foot"))&&r.foot.push(n));var a=e.settings.theme,s=e.styles;return{columns:o,head:l("head",r.head,o,s,a,t),body:l("body",r.body,o,s,a,t),foot:l("foot",r.foot,o,s,a,t)}}(t,n.scaleFactor()),s=new i.Table(t,a);return(0,o.calculateWidths)(n,s),n.applyStyles(n.userStyles),s}},49:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.addPage=t.drawTable=void 0;var i=n(913),o=n(200),a=n(287),s=n(323),l=n(360),u=n(938),c=n(435);function f(e,t,n){var r=e.styles.fontSize/n.scaleFactor()*i.FONT_ROW_RATIO,o=e.padding("vertical"),a=Math.floor((t-o)/r);return Math.max(0,a)}function d(e,t,n,r,i,o,s){var u=function(e,t,n,r){var i=t.settings.margin.bottom,o=t.settings.showFoot;return("everyPage"===o||"lastPage"===o&&n)&&(i+=t.getFootHeight(t.columns)),e.pageSize().height-r.y-i}(e,t,r,o);if(n.canEntireRowFit(u,s))h(e,t,n,o,s);else if(function(e,t,n,r){var i=e.pageSize().height,o=r.settings.margin,a=i-(o.top+o.bottom);"body"===t.section&&(a-=r.getHeadHeight(r.columns)+r.getFootHeight(r.columns));var s=t.getMinimumRowHeight(r.columns,e),l=s<n;if(s>a)return console.error("Will not be able to print row ".concat(t.index," correctly since it's minimum height is larger than page height")),!0;if(!l)return!1;var u=t.hasRowSpan(r.columns);return t.getMaxCellHeight(r.columns)>a?(u&&console.error("The content of row ".concat(t.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!u&&"avoid"!==r.settings.rowPageBreak}(e,n,u,t)){var c=function(e,t,n,r){var i={};e.spansMultiplePages=!0,e.height=0;for(var o=0,s=0,u=n.columns;s<u.length;s++){var c=u[s];if(y=e.cells[c.index]){Array.isArray(y.text)||(y.text=[y.text]);var d=new a.Cell(y.raw,y.styles,y.section);(d=(0,l.assign)(d,y)).text=[];var h=f(y,t,r);y.text.length>h&&(d.text=y.text.splice(h,y.text.length));var p=r.scaleFactor();
2y.contentHeight=y.getContentHeight(p),y.contentHeight>=t&&(y.contentHeight=t,d.styles.minCellHeight-=t),y.contentHeight>e.height&&(e.height=y.contentHeight),d.contentHeight=d.getContentHeight(p),d.contentHeight>o&&(o=d.contentHeight),i[c.index]=d}}var g=new a.Row(e.raw,-1,e.section,i,!0);g.height=o;for(var m=0,v=n.columns;m<v.length;m++){var y;c=v[m],(d=g.cells[c.index])&&(d.height=g.height),(y=e.cells[c.index])&&(y.height=e.height)}return g}(n,u,t,e);h(e,t,n,o,s),g(e,t,i,o,s),d(e,t,c,r,i,o,s)}else g(e,t,i,o,s),d(e,t,n,r,i,o,s)}function h(e,t,n,r,i){r.x=t.settings.margin.left;for(var o=0,a=i;o<a.length;o++){var s=a[o],l=n.cells[s.index];if(l)if(e.applyStyles(l.styles),l.x=r.x,l.y=r.y,!1!==t.callCellHooks(e,t.hooks.willDrawCell,l,n,s,r)){p(e,l,r);var c=l.getTextPos();(0,u.default)(l.text,c.x,c.y,{halign:l.styles.halign,valign:l.styles.valign,maxWidth:Math.ceil(l.width-l.padding("left")-l.padding("right"))},e.getDocument()),t.callCellHooks(e,t.hooks.didDrawCell,l,n,s,r),r.x+=s.width}else r.x+=s.width;else r.x+=s.width}r.y+=n.height}function p(e,t,n){var i=t.styles;if(e.getDocument().setFillColor(e.getDocument().getFillColor()),"number"===typeof i.lineWidth){var a=(0,o.getFillStyle)(i.lineWidth,i.fillColor);a&&e.rect(t.x,n.y,t.width,t.height,a)}else"object"===typeof i.lineWidth&&(function(e,t,n,r){var i=(0,o.getFillStyle)(0,r);e.rect(t.x,n.y,t.width,t.height,i)}(e,t,n,i.fillColor),function(e,t,n,i,a){var s,l,u,c;function f(t,n,i){var a;e.getDocument().setLineWidth(n),(a=e.getDocument()).line.apply(a,r(r([],t,!1),[(0,o.getFillStyle)(n,i)],!1))}a.top&&(s=n.x,l=n.y,u=n.x+t.width,c=n.y,a.right&&(u+=.5*a.right),a.left&&(s-=.5*a.left),f([s,l,u,c],a.top,i)),a.bottom&&(s=n.x,l=n.y+t.height,u=n.x+t.width,c=n.y+t.height,a.right&&(u+=.5*a.right),a.left&&(s-=.5*a.left),f([s,l,u,c],a.bottom,i)),a.left&&(s=n.x,l=n.y,u=n.x,c=n.y+t.height,a.top&&(l-=.5*a.top),a.bottom&&(c+=.5*a.bottom),f([s,l,u,c],a.left,i)),a.right&&(s=n.x+t.width,l=n.y,u=n.x+t.width,c=n.y+t.height,a.top&&(l-=.5*a.top),a.bottom&&(c+=.5*a.bottom),f([s,l,u,c],a.right,i))}(e,t,n,i.fillColor,i.lineWidth))}function g(e,t,n,r,i){void 0===i&&(i=[]),e.applyStyles(e.userStyles),"everyPage"===t.settings.showFoot&&t.foot.forEach((function(n){return h(e,t,n,r,i)})),t.callEndPageHooks(e,r);var a=t.settings.margin;(0,o.addTableBorder)(e,t,n,r),m(e),t.pageNumber++,t.pageCount++,r.x=a.left,r.y=a.top,n.y=a.top,t.callWillDrawPageHooks(e,r),"everyPage"===t.settings.showHead&&(t.head.forEac
2h((function(n){return h(e,t,n,r,i)})),e.applyStyles(e.userStyles))}function m(e){var t=e.pageNumber();return e.setPage(t+1),e.pageNumber()===t&&(e.addPage(),!0)}t.drawTable=function(e,t){var n=t.settings,r=n.startY,i=n.margin,a={x:i.left,y:r},u=t.getHeadHeight(t.columns)+t.getFootHeight(t.columns),f=r+i.bottom+u;"avoid"===n.pageBreak&&(f+=t.body.reduce((function(e,t){return e+t.height}),0));var p=new s.DocHandler(e);("always"===n.pageBreak||null!=n.startY&&f>p.pageSize().height)&&(m(p),a.y=i.top),t.callWillDrawPageHooks(p,a);var v=(0,l.assign)({},a);t.startPageNumber=p.pageNumber(),!0===n.horizontalPageBreak?function(e,t,n,r){var i=c.default.calculateAllColumnsCanFitInPage(e,t);i.map((function(i,o){e.applyStyles(e.userStyles),o>0?g(e,t,n,r,i.columns):function(e,t,n,r){var i=t.settings;e.applyStyles(e.userStyles),("firstPage"===i.showHead||"everyPage"===i.showHead)&&t.head.forEach((function(i){return h(e,t,i,n,r)}))}(e,t,r,i.columns),function(e,t,n,r,i){e.applyStyles(e.userStyles),t.body.forEach((function(o,a){var s=a===t.body.length-1;d(e,t,o,s,n,r,i)}))}(e,t,n,r,i.columns),function(e,t,n,r){var i=t.settings;e.applyStyles(e.userStyles),("lastPage"===i.showFoot||"everyPage"===i.showFoot)&&t.foot.forEach((function(i){return h(e,t,i,n,r)}))}(e,t,r,i.columns)}))}(p,t,v,a):(p.applyStyles(p.userStyles),"firstPage"!==n.showHead&&"everyPage"!==n.showHead||t.head.forEac
2h((function(e){return h(p,t,e,a,t.columns)})),p.applyStyles(p.userStyles),t.body.forEach((function(e,n){var r=n===t.body.length-1;d(p,t,e,r,v,a,t.columns)})),p.applyStyles(p.userStyles),"lastPage"!==n.showFoot&&"everyPage"!==n.showFoot||t.foot.forEach((function(e){return h(p,t,e,a,t.columns)}))),(0,o.addTableBorder)(p,t,v,a),t.callEndPageHooks(p,a),t.finalY=a.y,e.lastAutoTable=t,e.previousAutoTable=t,e.autoTable&&(e.autoTable.previous=t),p.applyStyles(p.userStyles)},t.addPage=g},435:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(200),i=function(e,t){var n=(0,r.parseSpacing)(t.settings.margin,0);return e.pageSize().width-(n.left+n.right)},o=function(e,t,n){void 0===n&&(n={});var r=i(e,t),o=t.settings.horizontalPageBreakRepeat,a=null,s=[],l=[],u=t.columns.length,c=n&&n.start?n.start:0;for(null!=o&&(a=t.columns.find((function(e){return e.dataKey===o||e.index===o})))&&(s.push(a.index),l.push(t.columns[a.index]),r-=a.wrappedWidth);c<u;)if((null===a||void 0===a?void 0:a.index)!==c){var f=t.columns[c].wrappedWidth;if(r<f){0!==c&&c!==n.start||(s.push(c),l.push(t.columns[c]));break}s.push(c),l.push(t.columns[c]),r-=f,c++}else c++;return{colIndexes:s,columns:l,lastIndex:c}};t.default={getColumnsCanFitInPage:o,calculateAllColumnsCanFitInPage:function(e,t){for(var n=[],r=0,i=t.columns.length;r<i;){var a=o(e,t,{start:0===r?0:r});a&&a.columns&&a.columns.length?(r=a.lastIndex,n.push(a)):r++}return n},getPageAvailableWidth:i}},189:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsize=t.resizeColumns=t.calculateWidths=void 0;var r=n(200),i=n(435);function o(e,t,n){for(var r=t,i=e.reduce((function(e,t){return e+t.wrappedWidth}),0),a=0;a<e.length;a++){var s=e[a],l=r*(s.wrappedWidth/i),u=s.width+l,c=n(s),f=u<c?c:u;t-=f-s.width,s.width=f}if(t=Math.round(1e10*t)/1e10){var d=e.filter((function(e){return!(t<0)||e.width>n(e)}));d.length&&(t=o(d,t,n))}return t}function a(e,t,n,i,o){return e.map((function(e){return function(e,t,n,i,o){var a=1e4*i.scaleFactor();if((t=Math.ceil(t*a)/a)>=(0,r.getStringWidth)(e,n,i))return e;for(;t<(0,r.getStringWidth)(e+o,n,i)&&!(e.length<=1);)e=e.substring(0,e.length-1);return e.trim()+o}(e,t,n,i,o)}))}t.calculateWidths=function(e,t){!function(e,t){var n=e.scaleFactor(),o=t.settings.horizontalPageBreak,a=i.default.getPageAvailableWidth(e,t);t.allRows().forEach((function(i){for(var s=0,l=t.columns;s<l.length;s++){var u=l[s],c=i.cells[u.index];if(c){var f=t.hooks.didParseCell;t.callCellHooks(e,f,c,i,u,null);var d=c.padding("horizontal");c.contentWidth=(0,r.getStringWidth)(c.text,c.styles,e)+d;var h=(0,r.getStringWidth)(c.text.join(" ").split(/\s+/),c.styles,e);if(c.minReadableWidth=h+c.padding("horizontal"),"number"===typeof c.styles.cellWidth)c.minWidth=c.styles.cellWidth,c.wrappedWidth=c.styles.cellWidth;else if("wrap"===c.styles.cellWidth||!0===o)c.contentWidth>a?(c.minWidth=a,c.wrappedWidth=a):(c.minWidth=c.contentWidth,c.wrappedWidth=c.contentWidth);else{var p=10/n;c.minWidth=c.styles.minCellWidth||p,c.wrappedWidth=c.contentWidth,c.minWidth>c.wrappedWidth&&(c.wrappedWidth=c.minWidth)}}}})),t.allRows().forEach((function(e){for(var n=0,r=t.columns;n<r.length;n++){var i=r[n],o=e.cells[i.index];if(o&&1===o.colSpan)i.wrappedWidth=Math.max(i.wrappedWidth,o.wrappedWidth),i.minWidth=Math.max(i.minWidth,o.minWidth),i.minReadableWidth=Math.max(i.minReadableWidth,o.minReadableWidth);else{var a=t.styles.columnStyles[i.dataKey]||t.styles.columnStyles[i.index]||{},s=a.cellWidth||a.minCellWidth;s&&"number"===typeof s&&(i.minWidth=s,i.wrappedWidth=s)}o&&(o.colSpan>1&&!i.minWidth&&(i.minWidth=o.minWidth),o.colSpan>1&&!i.wrappedWidth&&(i.wrappedWidth=o.minWidth))}}))}(e,t);var n=[],s=0;t.columns.forEach((function(e){var r=e.getMaxCustomCellWidth(t);r?e.width=r:(e.width=e.wrappedWidth,n.push(e)),s+=e.width}));var l=t.getWidth(e.pageSize().width)-s;l&&(l=o(n,l,(function(e){return Math.max(e.minReadableWidth,e.minWidth)}))),l&&(l=o(n,l,(function(e){return e.minWidth}))),l=Math.abs(l),!t.settings.horizontalPageBreak&&l>.1/e.scaleFactor()&&(l=l<1?l:Math.round(l),console.warn("Of the table content, ".concat(l," units width could not fit page"))),function(e){for(var t=e.allRows(),n=0;n<t.length;n++)for(var r=t[n],i=null,o=0,a=0,s=0;s<e.columns.length;s++){var l=e.columns[s];if((a-=1)>1&&e.columns[s+1])o+=l.width,delete r.cells[l.index];else if(i){var u=i;delete r.cells[l.index],i=null,u.width=l.width+o}else{if(!(u=r.cells[l.index]))continue;if(a=u.colSpan,o=0,u.colSpan>1){i=u,o+=l.width;continue}u.width=l.width+o}}}(t),function(e,t){for(var n={count:0,height:0},r=0,i=e.allRows();r<i.length;r++){for(var o=i[r],s=0,l=e.columns;s<l.length;s++){var u=l[s],c=o.cells[u.index];if(c){t.applyStyles(c.styles,!0);var f=c.width-c.padding("horizontal");if("linebreak"===c.styles.overflow)c.text=t.splitTextToSize(c.text,f+1/t.scaleFactor(),{fontSize:c.styles.fontSize});else if("ellipsize"===c.styles.overflow)c.text=a(c.text,f,c.styles,t,"...");else if("hidden"===c.styles.overflow)c.text=a(c.text,f,c.styles,t,"");else if("function"===typeof c.styles.overflow){var d=c.styles.overflow(c.text,f);c.text="string"===typeof d?[d]:d}c.contentHeight=c.getContentHeight(t.scaleFactor());var h=c.contentHeight/c.rowSpan;c.rowSpan>1&&n.count*n.height<h*c.rowSpan?n={height:h,count:c.rowSpan}:n&&n.count>0&&n.height>h&&(h=n.height),h>o.height&&(o.height=h)}}n.count--}}(t,e),function(e){for(var t={},n=1,r=e.allRows(),i=0;i<r.length;i++)for(var o=r[i],a=0,s=e.columns;a<s.length;a++){var l=s[a],u=t[l.index];if(n>1)n--,delete o.cells[l.index];else if(u)u.cell.height+=o.height,n=u.cell.colSpan,delete o.cells[l.index],u.left--,u.left<=1&&delete t[l.index];else{var c=o.cells[l.index];if(!c)continue;if(c.height=o.height,c.rowSpan>1){var f=r.length-i,d=c.rowSpan>f?f:c.rowSpan;t[l.index]={cell:c,left:d,row:o}}}}}(t)},t.resizeColumns=o,t.ellipsize=a},84:function(t){if("undefined"===typeof e){var n=new Error("Cannot find module 'undefined'");throw n.code="MODULE_NOT_FOUND",n}t.exports=e}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,r),o.exports}var i={};return function(){var e=i;
vendor: 4,371 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0}),e.Cell=e.Column=e.Row=e.Table=e.CellHookData=e.__drawTable=e.__createTable=e.applyPlugin=void 0;var t=r(790),n=r(587),o=r(49),a=r(858),s=r(287);Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return s.Table}});var l=r(662);Object.defineProperty(e,"CellHookData",{enumerable:!0,get:function(){return l.CellHookData}});var u=r(287);function c(e){(0,t.default)(e)}Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return u.Cell}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return u.Column}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return u.Row}}),e.applyPlugin=c,e.__createTable=function(e,t){var r=(0,n.parseInput)(e,t);return(0,a.createTable)(e,r)},e.__drawTable=function(e,t){(0,o.drawTable)(e,t)};try{var f=r(84);f.jsPDF&&(f=f.jsPDF),c(f)}catch(d){}e.default=function(e,t){var r=(0,n.parseInput)(e,t),i=(0,a.createTable)(e,r);(0,o.drawTable)(e,i)}}(),i}()},e.exports=r(function(){try{return n(5125)}catch(e){}}())},5125:function(e,t,n){"use strict";n.r(t),n.d(t,{AcroForm:function(){return yt},AcroFormAppearance:function(){return mt},AcroFormButton:function(){return ut},AcroFormCheckBox:function(){return ht},AcroFormChoiceField:function(){return ot},AcroFormComboBox:function(){return st},AcroFormEditBox:function(){return lt},AcroFormListBox:function(){return at},AcroFormPasswordField:function(){return gt},AcroFormPushButton:function(){return ct},AcroFormRadioButton:function(){return ft},AcroFormTextField:function(){return pt},GState:function(){return Pe},ShadingPattern:function(){return _e},TilingPattern:function(){return Ce},default:function(){return vn},jsPDF:function(){return Ee}});var r=n(1002),i=Uint8Array,o=Uint16Array,a=Uint32Array,s=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),l=new i([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),u=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var n=new o(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new a(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)i[s]=s-n[r]<<5|r;return[n,i]},f=c(s,2),d=f[0],h=f[1];d[28]=258,h[258]=28;for(var p=c(l,0),g=p[0],m=p[1],v=new o(32768),y=0;y<32768;++y){var b=(43690&y)>>>1|(21845&y)<<1;b=(61680&(b=(52428&b)>>>2|(13107&b)<<2))>>>4|(3855&b)<<4,v[y]=((65280&b)>>>8|(255&b)<<8)>>>1}var w=function(e,t,n){for(var r=e.length,i=0,a=new o(t);i<r;++i)++a[e[i]-1];var s,l=new o(t);for(i=0;i<t;++i)l[i]=l[i-1]+a[i-1]<<1;if(n){s=new o(1<<t);var u=15-t;for(i=0;i<r;++i)if(e[i])for(var c=i<<4|e[i],f=t-e[i],d=l[e[i]-1]++<<f,h=d|(1<<f)-1;d<=h;++d)s[v[d]>>>u]=c}else for(s=new o(r),i=0;i<r;++i)s[i]=v[l[e[i]-1]++]>>>15-e[i];return s},x=new i(288);for(y=0;y<144;++y)x[y]=8;for(y=144;y<256;++y)x[y]=9;for(y=256;y<280;++y)x[y]=7;for(y=280;y<288;++y)x[y]=8;var S=new i(32);for(y=0;y<32;++y)S[y]=5;var k=w(x,9,0),A=w(x,9,1),N=w(S,5,0),P=w(S,5,1),L=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},_=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},C=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},E=function(e){return(e/8>>0)+(7&e&&1)},F=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof o?o:e instanceof a?a:i)(n-t);return r.set(e.subarray(t,n)),r},O=function(e,t,n){var r=e.length,o=!t||n,a=!n||n.i;n||(n={}),t||(t=new i(3*r));var c=function(e){var n=t.length;if(e>n){var r=new i(Math.max(2*n,e));r.set(t),t=r}},f=n.f||0,h=n.p||0,p=n.b||0,m=n.l,v=n.d,y=n.m,b=n.n,x=8*r;do{if(!m){n.f=f=_(e,h,1);var S=_(e,h+1,3);if(h+=3,!S){var k=e[(q=E(h)+4)-4]|e[q-3]<<8,N=q+k;if(N>r){if(a)throw"unexpected EOF";break}o&&c(p+k),t.set(e.subarray(q,N),p),n.b=p+=k,n.p=h=8*N;continue}if(1==S)m=A,v=P,y=9,b=5;else{if(2!=S)throw"invalid block type";var O=_(e,h,31)+257,T=_(e,h+10,15)+4,M=O+_(e,h+5,31)+1;h+=14;for(var I=new i(M),j=new i(19),R=0;R<T;++R)j[u[R]]=_(e,h+3*R,7);h+=3*T;var D=L(j),B=(1<<D)-1;if(!a&&h+M*(D+7)>x)break;var z=w(j,D,1);for(R=0;R<M;){var q,U=z[_(e,h,B)];if(h+=15&U,(q=U>>>4)<16)I[R++]=q;else{var W=0,H=0;for(16==q?(H=3+_(e,h,3),h+=2,W=I[R-1]):17==q?(H=3+_(e,h,7),h+=3):18==q&&(H=11+_(e,h,127),h+=7);H--;)I[R++]=W}}var V=I.subarray(0,O),G=I.subarray(O);y=L(V),b=L(G),m=w(V,y,1),v=w(G,b,1)}if(h>x)throw"unexpected EOF"}o&&c(p+131072);for(var Z=(1<<y)-1,Y=(1<<b)-1,J=y+b+18;a||h+J<x;
vendor: 5,860 bytes, line 2
2){var $=(W=m[C(e,h)&Z])>>>4;if((h+=15&W)>x)throw"unexpected EOF";if(!W)throw"invalid length/literal";if($<256)t[p++]=$;else{if(256==$){m=null;break}var K=$-254;if($>264){var X=s[R=$-257];K=_(e,h,(1<<X)-1)+d[R],h+=X}var Q=v[C(e,h)&Y],ee=Q>>>4;if(!Q)throw"invalid distance";h+=15&Q;G=g[ee];if(ee>3){X=l[ee];G+=C(e,h)&(1<<X)-1,h+=X}if(h>x)throw"unexpected EOF";o&&c(p+131072);for(var te=p+K;p<te;p+=4)t[p]=t[p-G],t[p+1]=t[p+1-G],t[p+2]=t[p+2-G],t[p+3]=t[p+3-G];p=te}}n.l=m,n.p=h,n.b=p,m&&(f=1,n.m=y,n.d=v,n.n=b)}while(!f);return p==t.length?t:F(t,0,p)},T=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},M=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},I=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,s=n.slice();if(!a)return[new i(0),0];if(1==a){var l=new i(n[0].s+1);return l[n[0].s]=1,[l,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var u=n[0],c=n[1],f=0,d=1,h=2;for(n[0]={s:-1,f:u.f+c.f,l:u,r:c};d!=a-1;)u=n[n[f].f<n[h].f?f++:h++],c=n[f!=d&&n[f].f<n[h].f?f++:h++],n[d++]={s:-1,f:u.f+c.f,l:u,r:c};var p=s[0].s;for(r=1;r<a;++r)s[r].s>p&&(p=s[r].s);var g=new o(p+1),m=j(n[d-1],g,0);if(m>t){r=0;var v=0,y=m-t,b=1<<y;for(s.sort((function(e,t){return g[t.s]-g[e.s]||e.f-t.f}));r<a;++r){var w=s[r].s;if(!(g[w]>t))break;v+=b-(1<<m-g[w]),g[w]=t}for(v>>>=y;v>0;){var x=s[r].s;g[x]<t?v-=1<<t-g[x]++-1:++r}for(;r>=0&&v;--r){var S=s[r].s;g[S]==t&&(--g[S],++v)}m=t}return[new i(g),m]},j=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},R=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new o(++t),r=0,i=e[0],a=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==i&&l!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=e[l]}return[n.subarray(0,r),t]},D=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},B=function(e,t,n){var r=n.length,i=E(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return 8*(i+4+r)},z=function(e,t,n,r,i,a,c,f,d,h,p){T(t,p++,n),++i[256];for(var g=I(i,15),m=g[0],v=g[1],y=I(a,15),b=y[0],A=y[1],P=R(m),L=P[0],_=P[1],C=R(b),E=C[0],F=C[1],O=new o(19),j=0;j<L.length;++j)O[31&L[j]]++;for(j=0;j<E.length;++j)O[31&E[j]]++;for(var z=I(O,7),q=z[0],U=z[1],W=19;W>4&&!q[u[W-1]];--W);var H,V,G,Z,Y=h+5<<3,J=D(i,x)+D(a,S)+c,$=D(i,m)+D(a,b)+c+14+3*W+D(O,q)+(2*O[16]+3*O[17]+7*O[18]);if(Y<=J&&Y<=$)return B(t,p,e.subarray(d,d+h));if(T(t,p,1+($<J)),p+=2,$<J){H=w(m,v,0),V=m,G=w(b,A,0),Z=b;var K=w(q,U,0);T(t,p,_-257),T(t,p+5,F-1),T(t,p+10,W-4),p+=14;for(j=0;j<W;++j)T(t,p+3*j,q[u[j]]);p+=3*W;for(var X=[L,E],Q=0;Q<2;++Q){var ee=X[Q];for(j=0;j<ee.length;++j){var te=31&ee[j];T(t,p,K[te]),p+=q[te],te>15&&(T(t,p,ee[j]>>>5&127),p+=ee[j]>>>12)}}}else H=k,V=x,G=N,Z=S;for(j=0;j<f;++j)if(r[j]>255){te=r[j]>>>18&31;M(t,p,H[te+257]),p+=V[te+257],te>7&&(T(t,p,r[j]>>>23&31),p+=s[te]);var ne=31&r[j];M(t,p,G[ne]),p+=Z[ne],ne>3&&(M(t,p,r[j]>>>5&8191),p+=l[ne])}else M(t,p,H[r[j]]),p+=V[r[j]];return M(t,p,H[256]),p+V[256]},q=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new i(0),W=function(e,t,n,r,u,c){var f=e.length,d=new i(r+f+5*(1+Math.floor(f/7e3))+u),p=d.subarray(r,d.length-u),g=0;if(!t||f<8)for(var v=0;v<=f;v+=65535){var y=v+65535;y<f?g=B(p,g,e.subarray(v,y)):(p[v]=c,g=B(p,g,e.subarray(v,f)))}else{for(var b=q[t-1],w=b>>>13,x=8191&b,S=(1<<n)-1,k=new o(32768),A=new o(S+1),N=Math.ceil(n/3),P=2*N,L=function(t){return(e[t]^e[t+1]<<N^e[t+2]<<P)&S},_=new a(25e3),C=new o(288),O=new o(32),T=0,M=0,I=(v=0,0),j=0,R=0;v<f;++v){var D=L(v),W=32767&v,H=A[D];if(k[W]=H,A[D]=W,j<=v){var V=f-v;if((T>7e3||I>24576)&&V>423){g=z(e,p,0,_,C,O,M,I,R,v-R,g),I=T=M=0,R=v;for(var G=0;G<286;++G)C[G]=0;for(G=0;G<30;++G)O[G]=0}var Z=2,Y=0,J=x,$=W-H&32767;if(V>2&&D==L(v-$))for(var K=Math.min(w,V)-1,X=Math.min(32767,v),Q=Math.min(258,V);$<=X&&--J&&W!=H;){if(e[v+Z]==e[v+Z-$]){for(var ee=0;ee<Q&&e[v+ee]==e[v+ee-$];++ee);if(ee>Z){if(Z=ee,Y=$,ee>K)break;var te=Math.min($,ee-2),ne=0;for(G=0;G<te;++G){var re=v-$+G+32768&32767,ie=re-k[re]+32768&32767;ie>ne&&(ne=ie,H=re)}}}$+=(W=H)-(H=k[W])+32768&32767}if(Y){_[I++]=268435456|h[Z]<<18|m[Y];var oe=31&h[Z],ae=31&m[Y];M+=s[oe]+l[ae],++C[257+oe],++O[ae],j=v+Z,++T}else _[I++]=e[v],++C[e[v]]}}g=z(e,p,c,_,C,O,M,I,R,v-R,g),c||(g=B(p,g,U))}return F(d,0,r+E(g)+u)},H=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=n.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)i+=r+=n[a];r%=65521,i%=65521}e=r,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},V=function(e,t,n,r,i){return W(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},G=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},Z=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},Y=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function J(e,t){void 0===t&&(t={});var n=H();n.p(e);var r=V(e,t,2,4);return Z(r,t),G(r,r.length-4,n.d()),r}function $(e,t){return O((Y(e),e.subarray(2,-4)),t)}var K=function(){return"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:this}();function X(){K.console&&"function"==typeof K.console.log&&K.console.log.apply(K.console,arguments)}var Q={log:X,warn:function(e){K.console&&("function"==typeof K.console.warn?K.console.warn.apply(K.console,arguments):X.call(null,arguments))},error:function(e){K.console&&("function"==typeof K.console.error?K.console.error.apply(K.console,arguments):X(e))}};function ee(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){oe(r.response,t,n
2)},r.onerror=function(){Q.error("could not download file")},r.send()}function te(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function ne(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var re,ie,oe=K.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,r.Z)(window))||window!==K?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=K.URL||K.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?te(i.href)?ee(e,t,n):ne(i,i.target="_blank"):ne(i)):(i.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(i.href)}),4e4),setTimeout((function(){ne(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(te(e))ee(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){ne(i)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,r.Z)(t)&&(Q.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return ee(e,t,n);var o="application/octet-stream"===e.type,a=/constructor/i.test(K.HTMLElement)||K.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,r.Z)(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var u=K.URL||K.webkitURL,c=u.createObjectURL(e);i?i.location=c:location.href=c,i=null,setTimeout((function(){u.revokeObjectURL(c)}),4e4)}});function ae(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
20",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,a=i.exec(e);a&&(t=o(a),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function se(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n=ue(n,r,i,o,t[0],7,-680876936),o=ue(o,n,r,i,t[1],12,-389564586),i=ue(i,o,n,r,t[2],17,606105819),r=ue(r,i,o,n,t[3],22,-1044525330),n=ue(n,r,i,o,t[4],7,-176418897),o=ue(o,n,r,i,t[5],12,1200080426),i=ue(i,o,n,r,t[6],17,-1473231341),r=ue(r,i,o,n,t[7],22,-45705983),n=ue(n,r,i,o,t[8],7,1770035416),o=ue(o,n,r,i,t[9],12,-1958414417),i=ue(i,o,n,r,t[10],17,-42063),r=ue(r,i,o,n,t[11],22,-1990404162),n=ue(n,r,i,o,t[12],7,1804603682),o=ue(o,n,r,i,t[13],12,-40341101),i=ue(i,o,n,r,t[14],17,-1502002290),n=ce(n,r=ue(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=ce(o,n,r,i,t[6],9,-1069501632),i=ce(i,o,n,r,t[11],14,643717713),r=ce(r,i,o,n,t[0],20,-373897302),n=ce(n,r,i,o,t[5],5,-701558691),o=ce(o,n,r,i,t[10],9,38016083),i=ce(i,o,n,r,t[15],14,-660478335),r=ce(r,i,o,n,t[4],20,-405537848),n=ce(n,r,i,o,t[9],5,568446438),o=ce(o,n,r,i,t[14],9,-1019803690),i=ce(i,o,n,r,t[3],14,-187363961),r=ce(r,i,o,n,t[8],20,1163531501),n=ce(n,r,i,o,t[13],5,-1444681467),o=ce(o,n,r,i,t[2],9,-51403784),i=ce(i,o,n,r,t[7],14,1735328473),n=fe(n,r=ce(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=fe(o,n,r,i,t[8],11,-2022574463),i=fe(i,o,n,r,t[11],16,1839030562),r=fe(r,i,o,n,t[14],23,-35309556),n=fe(n,r,i,o,t[1],4,-1530992060),o=fe(o,n,r,i,t[4],11,1272893353),i=fe(i,o,n,r,t[7],16,-155497632),r=fe(r,i,o,n,t[10],23,-1094730640),n=fe(n,r,i,o,t[13],4,681279174),o=fe(o,n,r,i,t[0],11,-358537222),i=fe(i,o,n,r,t[3],16,-722521979),r=fe(r,i,o,n,t[6],23,76029189),n=fe(n,r,i,o,t[9],4,-640364487),o=fe(o,n,r,i,t[12],11,-421815835),i=fe(i,o,n,r,t[15],16,530742520),n=de(n,r=fe(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=de(o,n,r,i,t[7],10,1126891415),i=de(i,o,n,r,t[14],15,-1416354905),r=de(r,i,o,n,t[5],21,-57434055),n=de(n,r,i,o,t[12],6,1700485571),o=de(o,n,r,i,t[3],10,-1894986606),i=de(i,o,n,r,t[10],15,-1051523),r=de(r,i,o,n,t[1],21,-2054922799),n=de(n,r,i,o,t[8],6,1873313359),o=de(o,n,r,i,t[15],10,-30611744),i=de(i,o,n,r,t[6],15,-1560198380),r=de(r,i,o,n,t[13],21,1309151649),n=de(n,r,i,o,t[4],6,-145523070),o=de(o,n,r,i,t[11],10,-1120210379),i=de(i,o,n,r,t[2],15,718787259),r=de(r,i,o,n,t[9],21,-343485551),e[0]=we(n,e[0]),e[1]=we(r,e[1]),e[2]=we(i,e[2]),e[3]=we(o,e[3])}function le(e,t,n,r,i,o){return t=we(we(t,e),we(r,o)),we(t<<i|t>>>32-i,n)}function ue(e,t,n,r,i,o,a){return le(t&n|~t&r,e,t,i,o,a)}function ce(e,t,n,r,i,o,a){return le(t&r|n&~r,e,t,i,o,a)}function fe(e,t,n,r,i,o,a){return le(t^n^r,e,t,i,o,a)}function de(e,t,n,r,i,o,a){return le(n^(t|~r),e,t,i,o,a)}function he(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)se(r,pe(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(se(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,se(r,i),r}function pe(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}re=K.atob.bind(K),ie=K.btoa.bind(K);var ge="0123456789abcdef".split("");function me(e){for(var t="",n=0;n<4;n++)t+=ge[e>>8*n+4&15]+ge[e>>8*n&15];return t}function ve(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function ye(e){return he(e).map(ve).join("")}var be="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=me(e[t]);return e.join("")}(he("hello"));function we(e,t){if(be){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function xe(e,t){var n,r,i,o;if(e!==n){for(var a=(i=e,o=1+(256/e.length>>0),new Array(o+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var u=0;for(l=0;l<256;l++){var c=s[l];
vendor: 5,428 bytes, line 2
2u=(u+c+a.charCodeAt(l))%256,s[l]=s[u],s[u]=c}n=e,r=s}else s=r;var f=t.length,d=0,h=0,p="";for(l=0;l<f;l++)h=(h+(c=s[d=(d+1)%256]))%256,s[d]=s[h],s[h]=c,a=s[(s[d]+s[h])%256],p+=String.fromCharCode(t.charCodeAt(l)^a);return p}var Se={print:4,modify:8,copy:16,"annot-forms":32};function ke(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==Se.perm)throw new Error("Invalid permission: "+e);i+=Se[e]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=ye(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=xe(this.encryptionKey,this.padding)}function Ae(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function Ne(e){if("object"!==(0,r.Z)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var a=t[n][o];try{a[0].apply(e,r)}catch(n){K.console&&Q.error("jsPDF PubSub Error",n.message,n)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Pe(e){if(!(this instanceof Pe))return new Pe(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function Le(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function _e(e,t,n,r,i){if(!(this instanceof _e))return new _e(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,Le.call(this,r,i)}function Ce(e,t,n,r,i){if(!(this instanceof Ce))return new Ce(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Le.call(this,r,i)}function Ee(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],o=arguments[2],a=arguments[3],s=[],l=1,u=16,c="S",f=null;"object"===(0,r.Z)(e=e||{})&&(n=e.orientation,i=e.unit||i,o=e.format||o,a=e.compress||e.compressPdf||a,null!==(f=e.encryption||null)&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(u=e.floatPrecision),c=e.defaultPathOperation||"S"),s=e.filters||(!0===a?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var d=e.putOnlyUsedFonts||!1,h={},p={internal:{},__private__:{}};p.__private__.PubSub=Ne;var g="1.3",m=p.__private__.getPdfVersion=function(){return g};p.__private__.setPdfVersion=function(e){g=e};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return v};var y=p.__private__.getPageFormat=function(e){return v[e]};o=o||"a4";var b="compat",w="advanced",x=b;function S(){this.saveGraphicsState(),ee(new He(ye,0,0,-ye,0,kn()*ye).toString()+" cm"),this.setFontSize(this.getFontSize()/ye),c="n",x=w}function k(){this.restoreGraphicsState(),c="S",x=b}var A=p.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};p.advancedAPI=function(e){var t=x===b;return t&&S.call(this),"function"!=typeof e||(e(this),t&&k.call(this)),this},p.compatAPI=function(e){var t=x===w;return t&&k.call(this),"function"!=typeof e||(e(this),t&&S.call(this)),this},p.isAdvancedAPI=function(){return x===w};var N,P=function(e){if(x!==w)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},L=p.roundToPrecision=p.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to
2jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};N=p.hpf=p.__private__.hpf="number"==typeof u?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,u)}:"smart"===u?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return L(e,16)};var _=p.f2=p.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return L(e,2)},C=p.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return L(e,3)},E=p.scale=p.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return x===b?e*ye:x===w?e:void 0},F=function(e){return E(function(e){return x===b?kn()-e:x===w?e:void 0}(e))};p.__private__.setPrecision=p.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var O,T="00000000000000000000000000000000",M=p.__private__.getFileId=function(){return T},I=p.__private__.setFileId=function(e){return T=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():T.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==f&&(Ot=new ke(f.userPermissions,f.userPassword,f.ownerPassword,T)),T};p.setFileId=function(e){return I(e),this},p.getFileId=function(){return M()};var j=p.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),o=[n,q(r),"'",q(i),"'"].join("");return["D:",e.getFullYear(),q(e.getMonth()+1),q(e.getDate()),q(e.getHours()),q(e.getMinutes()),q(e.getSeconds()),o].join("")},R=p.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,o,a,0)},D=p.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=j(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return O=t},B=p.__private__.getCreationDate=function(e){var t=O;return"jsDate"===e&&(t=R(O)),t};p.setCreationDate=function(e){return D(e),this},p.getCreationDate=function(e){return B(e)};var z,q=p.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},U=p.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},W=0,H=[],V=[],G=0,Z=[],Y=[],J=!1,$=V;p.__private__.setCustomOutputDestination=function(e){J=!0,$=e};var X=function(e){J||($=e)};p.__private__.resetCustomOutputDestination=function(){J=!1,$=V};var ee=p.__private__.out=function(e){return e=e.toString(),G+=e.length+1,$.push(e),$},te=p.__private__.write=function(e){return ee(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ne=p.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},re=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return re};var se=e.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(e){return se=x===w?e/ye:e,this};var le,ue=p.__private__.getFontSize=p.getFontSize=function(){return x===b?se:se*ye},ce=e.R2L||!1;p.__private__.setR2L=p.setR2L=function(e){return ce=e,this},p.__private__.getR2L=p.getR2L=function(){return ce};var fe,de=p.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))le=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');le=e}else le=parseInt(e,10)};p.__private__.getZoomMode=function(){return le};var he,pe=p.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');fe=e};p.__private__.getPageMode=function(){return fe};var ge=p.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');he=e};p.__private__.getLayoutMode=function(){return he},p.__private__.setDisplayMode=p.setDisplayMode=function(e,t,n){return de(e),ge(t),pe(n),this};var me={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(e){if(-1===Object.keys(me).indexOf(e))throw new Error("Invalid argument passed to
2jsPDF.getDocumentProperty");return me[e]},p.__private__.getDocumentProperties=function(){return me},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(e){for(var t in me)me.hasOwnProperty(t)&&e[t]&&(me[t]=e[t]);return this},p.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(me).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return me[e]=t};var ve,ye,be,we,xe,Se={},Le={},Fe=[],Oe={},Te={},Me={},Ie={},je=null,Re=0,De=[],Be=new Ne(p),ze=e.hotfixes||[],qe={},Ue={},We=[],He=function e(t,n,r,i,o,a){if(!(this instanceof e))return new e(t,n,r,i,o,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,i,o,a]};Object.defineProperty(He.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(He.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(He.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(He.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(He.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(He.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(He.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(He.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(He.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(He.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(He.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(He.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(He.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(He.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(He.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(He.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),He.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(N).join(e)},He.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new He(t,n,r,i,o,a)},He.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new He(a,0,0,l,0,0),translate:new He(1,0,0,1,i,o),rotate:new He(e,t,-t,e,0,0),skew:new He(1,0,s,1,0,0)}},He.prototype.toString=function(e){return this.join(" ")},He.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=1/(e*r-t*n),s=r*a,l=-t*a,u=-n*a,c=e*a;return new He(s,l,u,c,-s*i-u*o,-l*i-c*o)},He.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new mn(t,n)},He.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new mn(e.x+e.w,e.y+e.h));return new vn(t.x,t.y,n.x-t.x,n.y-t.y)},He.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new He(e,t,n,r,i,o)},p.Matrix=He;var Ve=p.matrixMult=function(e,t){return t.multiply(e)},Ge=new He(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Ge;var Ze=function(e,t){if(!Te[e]){var n=(t instanceof _e?"Sh":"P")+(Object.keys(Oe).length+1).toString(10);t.id=n,Te[e]=n,Oe[n]=t,Be.publish("addPattern",t)}};p.ShadingPattern=_e,p.TilingPattern=Ce,p.addShadingPattern=function(e,t){return P("addShadingPattern()"),Ze(e,t),this},p.beginTilingPattern=function(e){P("beginTilingPattern()"),bn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},p.endTilingPattern=function(e,t){P("endTilingPattern()"),t.stream=Y[z].join("\n"),Ze(e,t),Be.publish("endTilingPattern",t),We.pop().restore(
vendor: 6,084 bytes, line 2
2)};var Ye,Je=p.__private__.newObject=function(){var e=$e();return Ke(e,!0),e},$e=p.__private__.newObjectDeferred=function(){return W++,H[W]=function(){return G},W},Ke=function(e,t){return t="boolean"==typeof t&&t,H[e]=G,t&&ee(e+" 0 obj"),e},Xe=p.__private__.newAdditionalObject=function(){var e={objId:$e(),content:""};return Z.push(e),e},Qe=$e(),et=$e(),tt=p.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},nt=p.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,i=e.ch2,o=e.ch3,a=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new ae(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var u=parseInt(n.substr(1),16);n=u>>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 if(2===e.precision)t=_(n/255)+" "+s[0];else t=C(n/255)+" "+s[0];else if(void 0===a||"object"===(0,r.Z)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,i,o,s[1]].join(" ");else if(2===e.precision)t=[_(n/255),_(i/255),_(o/255),s[1]].join(" ");else t=[C(n/255),C(i/255),C(o/255),s[1]].join(" ")}else if("string"==typeof n)t=[n,i,o,a,s[2]].join(" ");else if(2===e.precision)t=[_(n),_(i),_(o),_(a),s[2]].join(" ");else t=[C(n),C(i),C(o),C(a),s[2]].join(" ");return t},rt=p.__private__.getFilters=function(){return s},it=p.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||rt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,o=t.length,a=e.objectId,s=function(e){return e};if(null!==f&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==f&&(s=Ot.encryptor(a,0));var l={};!0===n&&(n=["FlateEncode"]);var u=e.additionalKeyValues||[],c=(l=void 0!==Ee.API.processDataByFilters?Ee.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(u.push({key:"Length",value:l.data.length}),!0===i&&u.push({key:"Length1",value:o})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var d=0;d<u.length;d+=1)if("DecodeParms"===u[d].key){for(var h=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)h.push("null");h.push(u[d].value),u[d].value="["+h.join(" ")+"]"}}ee("<<");for(var g=0;g<u.length;g++)ee("/"+u[g].key+" "+u[g].value);ee(">>"),0!==l.data.length&&(ee("stream"),ee(s(l.data)),ee("endstream"))},ot=p.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;Ke(r,!0),ee("<</Type /Page"),ee("/Parent "+e.rootDictionaryObjId+" 0 R"),ee("/Resources "+e.resourceDictionaryObjId+" 0 R"),ee("/MediaBox ["+parseFloat(N(e.mediaBox.bottomLeftX))+" "+parseFloat(N(e.mediaBox.bottomLeftY))+" "+N(e.mediaBox.topRightX)+" "+N(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ee("/CropBox ["+N(e.cropBox.bottomLeftX)+" "+N(e.cropBox.bottomLeftY)+" "+N(e.cropBox.topRightX)+" "+N(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ee("/BleedBox ["+N(e.bleedBox.bottomLeftX)+" "+N(e.bleedBox.bottomLeftY)+" "+N(e.bleedBox.topRightX)+" "+N(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ee("/TrimBox ["+N(e.trimBox.bottomLeftX)+" "+N(e.trimBox.bottomLeftY)+" "+N(e.trimBox.topRightX)+" "+N(e.trimBox.topRightY)+"]"),null!==e.artBox&&ee("/ArtBox ["+N(e.artBox.bottomLeftX)+" "+N(e.artBox.bottomLeftY)+" "+N(e.artBox.topRightX)+" "+N(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ee("/UserUnit "+e.userUnit),Be.publish("putPage",{objId:r,pageContext:De[t],pageNumber:t,page:n}),ee("/Contents "+i+" 0 R"),ee(">>"),ee("endobj");var o=n.join("\n");return x===w&&(o+="\nQ"),Ke(i,!0),it({data:o,filters:rt(),objectId:i}),ee("endobj"),r},at=p.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Re;e++)De[e].objId=$e(),De[e].contentsObjId=$e();for(e=1;e<=Re;e++)n.push(ot({number:e,data:Y[e],objId:De[e].objId,contentsObjId:De[e].contentsObjId,mediaBox:De[e].mediaBox,cropBox:De[e].cropBox,bleedBox:De[e].bleedBox,trimBox:De[e].trimBox,artBox:De[e].artBox,userUnit:De[e].userUnit,rootDictionaryObjId:Qe,resourceDictionaryObjId:et}));Ke(Qe,!0),ee("<</Type /Pages");var r="/Kids [";for(t=0;t<Re;t++)r+=n[t]+" 0 R ";ee(r+"]"),ee("/Count "+Re),ee(">>"),ee("endobj"),Be.publish("postPutPages")},st=function(e){Be.publish("putFont",{font:e,out:ee,newObject:Je,putStream:it}),!0!==e.isAlreadyPutted&&(e.objectNumber=Je(),ee("<<"),ee("/Type /Font"),ee("/BaseFont /"+Ae(e.postScriptName)),ee("/Subtype /Type1"),"string"==typeof e.encoding&&ee("/Encoding /"+e.encoding),ee("/FirstChar 32"),ee("/LastChar 255"),ee(">>"),ee("endobj"))},lt=function(e){e.objectNumber=Je();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[N(e.x),N(e.y),N(e.x+e.width),N(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");it({data:n,additionalKeyValues:t,objectId:e.objectNumber}),ee("endobj")},ut=function(e,t){t||(t=21);var n=Je(),r=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,u=0;u<r.length;u++){for(n=r[u];n>e[l+1].offset;)l++;var c=e[l].offset,f=(n-c)/(e[l+1].offset-c),d=e[l].color,h=e[l+1].color;s+=U(Math.round((1-f)*d[0]+f*h[0]).toString(16))+U(Math.round((1-f)*d[1]+f*h[1]).toString(16))+U(Math.round((1-f)*d[2]+f*h[2]).toString(16))}return s.trim()}(e.colors,t),i=[];
vendor: 3,920 bytes, line 2
2i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),it({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),ee("endobj"),e.objectNumber=Je(),ee("<< /ShadingType "+e.type),ee("/ColorSpace /DeviceRGB");var o="/Coords ["+N(parseFloat(e.coords[0]))+" "+N(parseFloat(e.coords[1]))+" ";2===e.type?o+=N(parseFloat(e.coords[2]))+" "+N(parseFloat(e.coords[3])):o+=N(parseFloat(e.coords[2]))+" "+N(parseFloat(e.coords[3]))+" "+N(parseFloat(e.coords[4]))+" "+N(parseFloat(e.coords[5])),ee(o+="]"),e.matrix&&ee("/Matrix ["+e.matrix.toString()+"]"),ee("/Function "+n+" 0 R"),ee("/Extend [true true]"),ee(">>"),ee("endobj")},ct=function(e,t){var n=$e(),r=Je();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(N).join(" ")+"]"}),i.push({key:"XStep",value:N(e.xStep)}),i.push({key:"YStep",value:N(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),it({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),ee("endobj")},ft=function(e){for(var t in e.objectNumber=Je(),ee("<<"),e)switch(t){case"opacity":ee("/ca "+_(e[t]));break;case"stroke-opacity":ee("/CA "+_(e[t]))}ee(">>"),ee("endobj")},dt=function(e){Ke(e.resourcesOid,!0),ee("<<"),ee("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ee("/Font <<"),Se)Se.hasOwnProperty(e)&&(!1===d||!0===d&&h.hasOwnProperty(e))&&ee("/"+e+" "+Se[e].objectNumber+" 0 R");ee(">>")}(),function(){if(Object.keys(Oe).length>0){for(var e in ee("/Shading <<"),Oe)Oe.hasOwnProperty(e)&&Oe[e]instanceof _e&&Oe[e].objectNumber>=0&&ee("/"+e+" "+Oe[e].objectNumber+" 0 R");Be.publish("putShadingPatternDict"),ee(">>")}}(),function(e){if(Object.keys(Oe).length>0){for(var t in ee("/Pattern <<"),Oe)Oe.hasOwnProperty(t)&&Oe[t]instanceof p.TilingPattern&&Oe[t].objectNumber>=0&&Oe[t].objectNumber<e&&ee("/"+t+" "+Oe[t].objectNumber+" 0 R");Be.publish("putTilingPatternDict"),ee(">>")}}(e.objectOid),function(){if(Object.keys(Me).length>0){var e;for(e in ee("/ExtGState <<"),Me)Me.hasOwnProperty(e)&&Me[e].objectNumber>=0&&ee("/"+e+" "+Me[e].objectNumber+" 0 R");Be.publish("putGStateDict"),ee(">>")}}(),function(){for(var e in ee("/XObject <<"),qe)qe.hasOwnProperty(e)&&qe[e].objectNumber>=0&&ee("/"+e+" "+qe[e].objectNumber+" 0 R");Be.publish("putXobjectDict"),ee(">>")}(),ee(">>"),ee("endobj")},ht=function(){var e=[];(function(){for(var e in Se)Se.hasOwnProperty(e)&&(!1===d||!0===d&&h.hasOwnProperty(e))&&st(Se[e])})(),function(){var e;for(e in Me)Me.hasOwnProperty(e)&&ft(Me[e])}(),function(){for(var e in qe)qe.hasOwnProperty(e)&<(qe[e])}(),function(e){var t;for(t in Oe)Oe.hasOwnProperty(t)&&(Oe[t]instanceof _e?ut(Oe[t]):Oe[t]instanceof Ce&&ct(Oe[t],e))}(e),Be.publish("putResources"),e.forEach(dt),dt({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Be.publish("postPutResources")},pt=function(e){Le[e.fontName]=Le[e.fontName]||{},Le[e.fontName][e.fontStyle]=e.id},gt=function(e,t,n,r,i){var o={id:"F"+(Object.keys(Se).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Be.publish("addFont",{font:o,instance:this}),Se[o.id]=o,pt(o),o.id},mt=p.__private__.pdfEscape=p.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)&&Se[ve].metadata&&Se[ve].metadata[i]&&Se[ve].metadata[i].encoding&&(o=Se[ve].metadata[i].encoding,!a&&Se[ve].encoding&&(a=Se[ve].encoding),!a&&o.codePages&&(a=o.c
vendor: 7,991 bytes, line 2
2odePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(u=a[e.charCodeAt(n)])?s.push(String.fromCharCode(u)):s.push(e[n]),s[n].charCodeAt(0)>>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<r;n++){if((c=(u=e.charCodeAt(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,"\\)")},vt=p.__private__.beginPage=function(e){Y[++Re]=[],De[Re]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},wt(Re),X(Y[z])},yt=function(e,t){var r,i,a;switch(n=t||n,"string"==typeof e&&(r=y(e.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(e)&&(i=e[0]*ye,a=e[1]*ye),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(Q.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],n.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}vt(o),Xt($t),ee(sn),0!==hn&&ee(hn+" J"),0!==pn&&ee(pn+" j"),Be.publish("addPage",{pageNumber:Re})},bt=function(e){e>0&&e<=Re&&(Y.splice(e,1),De.splice(e,1),Re--,z>Re&&(z=Re),this.setPage(z))},wt=function(e){e>0&&e<=Re&&(z=e)},xt=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return Y.length-1},St=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:Se[ve].fontName,t=void 0!==t?t:Se[ve].fontStyle,r=e.toLowerCase(),void 0!==Le[r]&&void 0!==Le[r][t]?i=Le[r][t]:void 0!==Le[e]&&void 0!==Le[e][t]?i=Le[e][t]:!1===n.disableWarning&&Q.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Le.times[t])&&(i=Le.times.normal),i},kt=p.__private__.putInfo=function(){var e=Je(),t=function(e){return e};for(var n in null!==f&&(t=Ot.encryptor(e,0)),ee("<<"),ee("/Producer ("+mt(t("jsPDF "+Ee.version))+")"),me)me.hasOwnProperty(n)&&me[n]&&ee("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+mt(t(me[n]))+")");ee("/CreationDate ("+mt(t(O))+")"),ee(">>"),ee("endobj")},At=p.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Qe;switch(Je(),ee("<<"),ee("/Type /Catalog"),ee("/Pages "+t+" 0 R"),le||(le="fullwidth"),le){case"fullwidth":ee("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ee("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ee("/OpenAction [3 0 R /Fit]");break;case"original":ee("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+le;"%"===n.substr(n.length-1)&&(le=parseInt(le)/100),"number"==typeof le&&ee("/OpenAction [3 0 R /XYZ null null "+_(le)+"]")}switch(he||(he="continuous"),he){case"continuous":ee("/PageLayout /OneColumn");break;case"single":ee("/PageLayout /SinglePage");break;case"two":case"twoleft":ee("/PageLayout /TwoColumnLeft");break;case"tworight":ee("/PageLayout /TwoColumnRight")}fe&&ee("/PageMode /"+fe),Be.publish("putCatalog"),ee(">>"),ee("endobj")},Nt=p.__private__.putTrailer=function(){ee("trailer"),ee("<<"),ee("/Size "+(W+1)),ee("/Root "+W+" 0 R"),ee("/Info "+(W-1)+" 0 R"),null!==f&&ee("/Encrypt "+Ot.oid+" 0 R"),ee("/ID [ <"+T+"> <"+T+"> ]"),ee(">>")},Pt=p.__private__.putHeader=function(){ee("%PDF-"+g),ee("%\xba\xdf\xac\xe0")},Lt=p.__private__.putXRef=function(){var e="0000000000";ee("xref"),ee("0 "+(W+1)),ee("0000000000 65535 f ");for(var t=1;t<=W;t++)"function"==typeof H[t]?ee((e+H[t]()).slice(-10)+" 00000 n "):void 0!==H[t]?ee((e+H[t]).slice(-10)+" 00000 n "):ee("0000000000 00000 n ")},_t=p.__private__.buildDocument=function(){W=0,G=0,V=[],H=[],Z=[],Qe=$e(),et=$e(),X(V),Be.publish("buildDocument"),Pt(),at(),function(){Be.publish("putAdditionalObjects");for(var e=0;e<Z.length;e++){var t=Z[e];Ke(t.objId,!0),ee(t.content),ee("endobj")}Be.publish("postPutAdditionalObjects")}(),ht(),null!==f&&(Ot.oid=Je(),ee("<<"),ee("/Filter /Standard"),ee("/V "+Ot.v),ee("/R "+Ot.r),ee("/U <"+Ot.toHexString(Ot.U)+">"),ee("/O <"+Ot.toHexString(Ot.O)+">"),ee("/P "+Ot.P),ee(">>"),ee("endobj")),kt(),At();var e=G;return Lt(),Nt(),ee("startxref"),ee(""+e),ee("%%EOF"),X(Y[z]),V.join("\n")},Ct=p.__private__.getBlob=function(e){return new Blob([ne(e)],{type:"application/pdf"})},Et=p.output=p.__private__.output=(Ye=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return _t();case"save":p.save(t.filename);break;case"arraybuffer":return ne(_t());case"blob":return Ct(_t());case"bloburi":case"bloburl":if(void 0!==K.URL&&"function"==typeof K.URL.createObjectURL)return K.URL&&K.URL.createObjectURL(Ct(_t()))||void 0;Q.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=_t();try{n=ie(r)}catch(e){n=ie(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(K)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,o="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",s=K.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(K)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',u=K.open();if(null!==u){u.document.write(l);var c=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=t.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(K))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var f='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',d=K.open();if(null!==d&&(d.document.write(f),d.document.title=t.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return K.document.location.href=this.output("datauristring",t);default:return null}},Ye.foo=function(){try{return Ye.apply(this,arguments)}catch(Ye){var e=Ye.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+Ye.message;if(!K.console)throw new Error(t);K.console.error(t,Ye),K.alert&&alert(t)}},Ye.foo.bar=Ye,Ye.foo),Ft=function(e){return!0===Array.isArray(ze)&&ze.indexOf(e)>-1};switch(i){case"pt":ye=1;break;case"mm":ye=72/25.4;break;case"cm":ye=72/2.54;break;case"in":ye=72;break;case"px":ye=1==Ft("px_scaling")?.75:96/72;break;case"pc":case"em":ye=12;break;case"ex":ye=6;break;default:if("number"!=typeof i)throw new Error("Invalid unit: "+i);ye=i}var Ot=null;D(),I();var Tt=p.__private__.getPageInfo=p.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to
2jsPDF.getPageInfo");return{objId:De[e].objId,pageNumber:e,pageContext:De[e]}},Mt=p.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in De)if(De[t].objId===e)break;return Tt(t)},It=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:De[z].objId,pageNumber:z,pageContext:De[z]}};p.addPage=function(){return yt.apply(this,arguments),this},p.setPage=function(){return wt.apply(this,arguments),X.call(this,Y[z]),this},p.insertPage=function(e){return this.addPage(),this.movePage(z,e),this},p.movePage=function(e,t){var n,r;if(e>t){n=Y[e],r=De[e];for(var i=e;i>t;i--)Y[i]=Y[i-1],De[i]=De[i-1];Y[t]=n,De[t]=r,this.setPage(t)}else if(e<t){n=Y[e],r=De[e];for(var o=e;o<t;o++)Y[o]=Y[o+1],De[o]=De[o+1];Y[t]=n,De[t]=r,this.setPage(t)}return this},p.deletePage=function(){return bt.apply(this,arguments),this},p.__private__.text=p.text=function(e,t,n,i,o){var a,s,l,u,c,f,d,p,g,m=(i=i||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var v=n;n=t,t=e,e=v}if(arguments[3]instanceof He==0?(l=arguments[4],u=arguments[5],"object"===(0,r.Z)(d=arguments[3])&&null!==d||("string"==typeof l&&(u=l,l=null),"string"==typeof d&&(u=d,d=null),"number"==typeof d&&(l=d,d=null),i={flags:d,angle:l,align:u})):(P("The transform parameter of text() with a Matrix value"),g=o),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var y,b="",S="number"==typeof i.lineHeightFactor?i.lineHeightFactor:Jt,k=m.internal.scaleFactor;function A(e){return e=e.split("\t").join(Array(i.TabLen||9).join(" ")),mt(e,d)}function L(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.pu
vendor: 5,459 bytes, line 2
2sh(t[0]):r.push([t[0],t[1],t[2]]);return r}function _(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,o=e.concat(),a=[],s=o.length;s--;)"string"==typeof(r=o.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),a.push([i[0],i[1],i[2]]));n=a}return n}var C=!1,F=!0;if("string"==typeof e)C=!0;else if(Array.isArray(e)){var O=e.concat();s=[];for(var T,M=O.length;M--;)("string"!=typeof(T=O.shift())||Array.isArray(T)&&"string"!=typeof T[0])&&(F=!1);C=F}if(!1===C)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var I=se/m.internal.scaleFactor,j=I*(S-1);switch(i.baseline){case"bottom":n-=j;break;case"top":n+=I-j;break;case"hanging":n+=I-2*j;break;case"middle":n+=I/2-j}if((f=i.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,f):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(m.splitTextToSize(t,f))}),[]))),a={text:e,x:t,y:n,options:i,mutex:{pdfEscape:mt,activeFontKey:ve,fonts:Se,activeFontSize:se}},Be.publish("preProcessText",a),e=a.text,l=(i=a.options).angle,g instanceof He==0&&l&&"number"==typeof l){l*=Math.PI/180,0===i.rotationDirection&&(l=-l),x===w&&(l=-l);var R=Math.cos(l),D=Math.sin(l);g=new He(R,D,-D,R,0,0)}else l&&l instanceof He&&(g=l);x!==w||g||(g=Ge),void 0!==(c=i.charSpace||fn)&&(b+=N(E(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=i.horizontalScale)&&(b+=N(100*p)+" Tz\n"),i.lang;var B=-1,z=void 0!==i.renderingMode?i.renderingMode:i.stroke,q=m.internal.getCurrentPageInfo().pageContext;switch(z){case 0:case!1:case"fill":B=0;break;case 1:case!0:case"stroke":B=1;break;case 2:case"fillThenStroke":B=2;break;case 3:case"invisible":B=3;break;case 4:case"fillAndAddForClipping":B=4;break;case 5:case"strokeAndAddPathForClipping":B=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":B=6;break;case 7:case"addToPathForClipping":B=7}var U=void 0!==q.usedRenderingMode?q.usedRenderingMode:-1;-1!==B?b+=B+" Tr\n":-1!==U&&(b+="0 Tr\n"),-1!==B&&(q.usedRenderingMode=B),u=i.align||"left";var W,H=se*S,V=m.internal.pageSize.getWidth(),G=Se[ve];c=i.charSpace||fn,f=i.maxWidth||0,d=Object.assign({autoencode:!0,noBOM:!0},i.flags);var Z=[];if("[object Array]"===Object.prototype.toString.call(e)){var Y;s=L(e),"left"!==u&&(W=s.map((function(e){return m.getStringUnitWidth(e,{font:G,charSpace:c,fontSize:se,doKerning:!1})*se/k})));var J,$=0;if("right"===u){t-=W[0],e=[],M=s.length;for(var K=0;K<M;K++)0===K?(J=nn(t),Y=rn(n)):(J=E($-W[K]),Y=-H),e.push([s[K],J,Y]),$=W[K]}else if("center"===u){t-=W[0]/2,e=[],M=s.length;for(var X=0;X<M;X++)0===X?(J=nn(t),Y=rn(n)):(J=E(($-W[X])/2),Y=-H),e.push([s[X],J,Y]),$=W[X]}else if("left"===u){e=[],M=s.length;for(var Q=0;Q<M;Q++)e.push(s[Q])}else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],M=s.length,f=0!==f?f:V;for(var te=0;te<M;te++)Y=0===te?rn(n):-H,J=0===te?nn(t):0,te<M-1?Z.push(N(E((f-W[te])/(s[te].split(" ").length-1)))):Z.push(0),e.push([s[te],J,Y])}}!0===("boolean"==typeof i.R2L?i.R2L:ce)&&(e=_(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),a={text:e,x:t,y:n,options:i,mutex:{pdfEscape:mt,activeFontKey:ve,fonts:Se,activeFontSize:se}},Be.publish("postProcessText",a),e=a.text,y=a.mutex.isHex||!1;var ne=Se[ve].encoding;"WinAnsiEncoding"!==ne&&"StandardEncoding"!==ne||(e=_(e,(function(e,t,n){return[A(e),t,n]}))),s=L(e),e=[];for(var re,ie,oe,ae=Array.isArray(s[0])?1:0,le="",ue=function(e,t,n){var r="";return n instanceof He?(n="number"==typeof i.angle?Ve(n,new He(1,0,0,1,e,t)):Ve(new He(1,0,0,1,e,t),n),x===w&&(n=Ve(new He(1,0,0,-1,0,0),n)),r=n.join(" ")+" Tm\n"):r=N(e)+" "+N(t)+" Td\n",r},fe=0;fe<s.length;fe++){switch(le="",ae){case 1:oe=(y?"<":"(")+s[fe][0]+(y?">":")"),re=parseFloat(s[fe][1]),ie=parseFloat(s[fe][2]);break;case 0:oe=(y?"<":"(")+s[fe]+(y?">":")"),re=nn(t),ie=rn(n)}void 0!==Z&&void 0!==Z[fe]&&(le=Z[fe]+" Tw\n"),0===fe?e.push(le+ue(re,ie,g)+oe):0===ae?e.push(le+oe):1===ae&&e.push(le+ue(re,ie,g)+oe)}e=0===ae?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var de="BT\n/";return de+=ve+" "+se+" Tf\n",de+=N(se*S)+" TL\n",de+=un+"\n",de+=b,de+=e,ee(de+="ET"),h[ve]=!0,m};var jt=p.__private__.clip=p.clip=function(e){return ee("evenodd"===e?"W*":"W"),this};p.clipEvenOdd=function(){return jt("evenodd")},p.__private__.discardPath=p.discardPath=function(){return ee("n"),this};var Rt=p.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(e){return Rt(e)&&(c=e),this};var Dt=p.__private__.getStyle=p.getStyle=function(e){var t=c;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Bt=p.close=function(){return ee("h"),this};p.stroke=function(){return ee("S"),this},p.fill=function(e){return zt("f",e),this},p.fillEvenOdd=function(e){return zt("f*",e),this},p.fillStroke=function(e){return zt("B",e),this},p.fillStrokeEvenOdd=function(e){return zt("B*",e),this};var zt=function(e,t){"object"===(0,r.Z)(t)?Wt(t,e):ee(e)},qt=function(e){null===e||x===w&&void 0===e||(e=Dt(e),ee(e))};function Ut(e,t,n,r,i){var o=new Ce(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix
vendor: 4,244 bytes, line 2
2);o.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Ze(a,o),o}var Wt=function(e,t){var n=Te[e.key],r=Oe[n];if(r instanceof _e)ee("q"),ee(Ht(t)),r.gState&&p.setGState(r.gState),ee(e.matrix.toString()+" cm"),ee("/"+n+" sh"),ee("Q");else if(r instanceof Ce){var i=new He(1,0,0,-1,0,kn());e.matrix&&(i=i.multiply(e.matrix||Ge),n=Ut.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),ee("q"),ee("/Pattern cs"),ee("/"+n+" scn"),r.gState&&p.setGState(r.gState),ee(t),ee("Q")}},Ht=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Vt=p.moveTo=function(e,t){return ee(N(E(e))+" "+N(F(t))+" m"),this},Gt=p.lineTo=function(e,t){return ee(N(E(e))+" "+N(F(t))+" l"),this},Zt=p.curveTo=function(e,t,n,r,i,o){return ee([N(E(e)),N(F(t)),N(E(n)),N(F(r)),N(E(i)),N(F(o)),"c"].join(" ")),this};p.__private__.line=p.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Rt(i))throw new Error("Invalid arguments passed to jsPDF.line");return x===b?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},p.__private__.lines=p.lines=function(e,t,n,r,i,o){var a,s,l,u,c,f,d,h,p,g,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],o=o||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Rt(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(Vt(t,n),a=r[0],s=r[1],u=e.length,g=t,m=n,l=0;l<u;l++)2===(c=e[l]).length?(g=c[0]*a+g,m=c[1]*s+m,Gt(g,m)):(f=c[0]*a+g,d=c[1]*s+m,h=c[2]*a+g,p=c[3]*s+m,g=c[4]*a+g,m=c[5]*s+m,Zt(f,d,h,p,g,m));return o&&Bt(),qt(i),this},p.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":Vt(r[0],r[1]);break;case"l":Gt(r[0],r[1]);break;case"c":Zt.apply(this,r);break;case"h":Bt()}}return this},p.__private__.rect=p.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Rt(i))throw new Error("Invalid arguments passed to jsPDF.rect");return x===b&&(r=-r),ee([N(E(e)),N(F(t)),N(E(n)),N(E(r)),"re"].join(" ")),qt(i),this},p.__private__.triangle=p.triangle=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!Rt(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,o-r],[e-i,t-o]],e,t,[1,1],a,!0),this},p.__private__.roundedRect=p.roundedRect=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!Rt(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*s,0,i,o-o*s,i,o],[0,r-2*o],[0,o*s,-i*s,o,-i,o],[2*i-n,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-r],[0,-o*s,i*s,-o,i,-o]],e+i,t,[1,1],a,!0),this},p.__private__.ellipse=p.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Rt(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return Vt(e+n,t),Zt(e+n,t-a,e+o,t-r,e,t-r),Zt(e-o,t-r,e-n,t-a,e-n,t),Zt(e-n,t+a,e-o,t+r,e,t+r),Zt(e+o,t+r,e+n,t+a,e+n,t),qt(i),this},p.__private__.circle=p.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Rt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},p.setFont=function(e,t,n){return n&&(t=A(t,n)),ve=St(e,t,{disableWarning:!1}),this};var Yt=p.__private__.getFont=p.getFont=function(){return Se[St.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var e,t,n={};for(e in Le)if(Le.hasOwnProperty(e))for(t in n[e]=[],Le[e])Le[e].hasOwnProperty(t)&&n[e].push(t);return n},p.addFont=function(e,t,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=A(n,r)),gt.call(this,e,t,n,i=i||"Identity-H")};var Jt,$t=e.lineWidth||.200025,Kt=p.__private__.getLineWidth=p.getLineWidth=function(){return $t},Xt=p.__private__.setLineWidth=p.setLineWidth=function(e){return $t=e,ee(N(E(e))+" w"),this};p.__private__.setLineDash=Ee.API.setLineDash=Ee.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to
2jsPDF.setLineDash");return e=e.map((function(e){return N(E(e))})).join(" "),t=N(E(t)),ee("["+e+"] "+t+" d"),this};var Qt=p.__private__.getLineHeight=p.getLineHeight=function(){return se*Jt};p.__private__.getLineHeight=p.getLineHeight=function(){return se*Jt};var en=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Jt=e),this},tn=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Jt};en(e.lineHeight);var nn=p.__private__.getHorizontalCoordinate=function(e){return E(e)},rn=p.__private__.getVerticalCoordinate=function(e){return x===w?e:De[z].mediaBox.topRightY-De[z].mediaBox.bottomLeftY-E(e)},on=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(e){return N(nn(e))},an=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(e){return N(rn(e))},sn=e.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return tt(sn)},p.__private__.setStrokeColor=p.setDrawColor=function(e,t,n,r){return sn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),ee(sn),this};var ln=e.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return tt(ln)},p.__private__.setFillColor=p.setFillColor=function(e,t,n,r){return ln=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),ee(ln),this};var un=e.textColor||"0 g",cn=p.__private__.getTextColor=p.getTextColor=function(){return tt(un)};p.__private__.setTextColor=p.setTextColor=function(e,t,n,r){return un=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var fn=e.charSpace,dn=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(fn||0)};p.__private__.setCharSpace=p.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return fn=e,this};var hn=0;p.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},p.__private__.setLineCap=p.setLineCap=function(e){var t=p.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hn=t,ee(t+" J"),this};var pn=0;p.__private__.setLineJoin=p.setLineJoin=function(e){var t=p.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return pn=t,ee(t+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ee(N(E(e))+" M"),this},p.GState=Pe,p.setGState=function(e){(e="string"==typeof e?Me[Ie[e]]:gn(null,e)).equals(je)||(ee("/"+e.id+" gs"),je=e)};var gn=function(e,t){if(!e||!Ie[e]){var n=!1;for(var r in Me)if(Me.hasOwnProperty(r)&&Me[r].equals(t)){n=!0;break}if(n)t=Me[r];else{var i="GS"+(Object.keys(Me).length+1).toString(10);Me[i]=t,t.id=i}return e&&(Ie[e]=t.id),Be.publish("addGState",t),t}};p.addGState=function(e,t){return gn(e,t),this},p.saveGraphicsState=function(){return ee("q"),Fe.push({key:ve,size:se,color:un}),this},p.restoreGraphicsState=function(){ee("Q");var e=Fe.pop();return ve=e.key,se=e.size,un=e.color,je=null,this},p.setCurrentTransformationMatrix=function(e){return ee(e.toString()+" cm"),this},p.comment=function(e){return ee("#"+e),this};var mn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},vn=function(e,t,n,r){mn.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o}
2,set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},yn=function(){this.page=Re,this.currentPage=z,this.pages=Y.slice(0),this.pagesContext=De.slice(0),this.x=be,this.y=we,this.matrix=xe,this.width=xn(z),this.height=kn(z),this.outputDestination=$,this.id="",this.objectNumber=-1};yn.prototype.restore=function(){Re=this.page,z=this.currentPage,De=this.pagesContext,Y=this.pages,be=this.x,we=this.y,xe=this.matrix,Sn(z,this.width),An(z,this.height),$=this.outputDestination};var bn=function(e,t,n,r,i){We.push(new yn),Re=z=0,Y=[],be=e,we=t,xe=i,vt([n,r])};for(var wn in p.beginFormObject=function(e,t,n,r,i){return bn(e,t,n,r,i),this},p.endFormObject=function(e){return function(e){if(Ue[e])We.pop().restore();else{var t=new yn,n="Xo"+(Object.keys(qe).length+1).toString(10);t.id=n,Ue[e]=n,qe[n]=t,Be.publish("addFormObject",t),We.pop().restore()}}(e),this},p.doFormObject=function(e,t){var n=qe[Ue[e]];return ee("q"),ee(t.toString()+" cm"),ee("/"+n.id+" Do"),ee("Q"),this},p.getFormObject=function(e){var t=qe[Ue[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},p.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(oe(Ct(_t()),e),"function"==typeof oe.unload&&K.setTimeout&&setTimeout(oe.unload,911),this):new Promise((function(t,n){try{var r=oe(Ct(_t()),e);"function"==typeof oe.unload&&K.setTimeout&&setTimeout(oe.unload,911),t(r)}catch(e){n(e.message)}}))},Ee.API)Ee.API.hasOwnProperty(wn)&&("events"===wn&&Ee.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(Be,Ee.API.events):p[wn]=Ee.API[wn]);var xn=p.getPageWidth=function(e){return(De[e=e||z].mediaBox.topRightX-De[e].mediaBox.bottomLeftX)/ye},Sn=p.setPageWidth=function(e,t){De[e].mediaBox.topRightX=t*ye+De[e].mediaBox.bottomLeftX},kn=p.getPageHeight=function(e){return(De[e=e||z].mediaBox.topRightY-De[e].mediaBox.bottomLeftY)/ye},An=p.setPageHeight=function(e,t){De[e].mediaBox.topRightY=t*ye+De[e].mediaBox.bottomLeftY};return p.internal={pdfEscape:mt,getStyle:Dt,getFont:Yt,getFontSize:ue,getCharSpace:dn,getTextColor:cn,getLineHeight:Qt,getLineHeightFactor:tn,getLineWidth:Kt,write:te,getHorizontalCoordinate:nn,getVerticalCoordinate:rn,getCoordinateString:on,getVerticalCoordinateString:an,collections:{},newObject:Je,newAdditionalObject:Xe,newObjectDeferred:$e,newObjectDeferredBegin:Ke,getFilters:rt,putStream:it,events:Be,scaleFactor:ye,pageSize:{getWidth:function(){return xn(z)}
vendor: 9,393 bytes, line 2
2,setWidth:function(e){Sn(z,e)},getHeight:function(){return kn(z)},setHeight:function(e){An(z,e)}},encryptionOptions:f,encryption:Ot,getEncryptor:function(e){return null!==f?Ot.encryptor(e,0):function(e){return e}},output:Et,getNumberOfPages:xt,pages:Y,out:ee,f2:_,f3:C,getPageInfo:Tt,getPageInfoByObjId:Mt,getCurrentPageInfo:It,getPDFVersion:m,Point:mn,Rectangle:vn,Matrix:He,hasHotfix:Ft},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return xn(z)},set:function(e){Sn(z,e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return kn(z)},set:function(e){An(z,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=re.length;t<n;t++){var r=gt.call(this,e[t][0],e[t][1],e[t][2],re[t][3],!0);!1===d&&(h[r]=!0);var i=e[t][0].split("-");pt({id:r,fontName:i[0],fontStyle:i[1]||""})}Be.publish("addFonts",{fonts:Se,dictionary:Le})}.call(p,re),ve="F1",yt(o,n),Be.publish("initialized"),p}ke.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},ke.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},ke.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},ke.prototype.processOwnerPassword=function(e,t){return xe(ye(t).substr(0,5),e)},ke.prototype.encryptor=function(e,t){var n=ye(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return xe(n,e)}},Pe.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||(0,r.Z)(e)!==(0,r.Z)(this))return!1;var i=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;i++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&i--;return 0===i},Ee.API={events:[]},Ee.version="2.5.1";var Fe=Ee.API,Oe=1,Te=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Me=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ie=function(e){return e.toFixed(2)},je=function(e){return e.toFixed(5)};Fe.__acroform__={};var Re=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},De=function(e){return e*Oe},Be=function(e){var t=new nt,n=mt.internal.getHeight(e)||0,r=mt.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Ie(r)),Number(Ie(n))],t},ze=Fe.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},qe=Fe.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Ue=Fe.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},We=Fe.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Ue(e,t-1)},He=Fe.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ze(e,t-1)},Ve=Fe.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return qe(e,t-1)},Ge=Fe.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],o=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(o+s)||0,l.upperRight_X=n(i+a)||0,l.upperRight_Y=r(o)||0,[Number(Ie(l.lowerLeft_X)),Number(Ie(l.lowerLeft_Y)),Number(Ie(l.upperRight_X)),Number(Ie(l.upperRight_Y))]},Ze=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=Ye(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+Ie(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=Be(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},Ye=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map((function(e){return e.split("\n")})):i.map((function(e){return[e]}));var o=n,a=mt.internal.getHeight(e)||0;a=a<0?-a:a;var s=mt.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<i.length){var o=n+" "+i[t+1][0];return Je(o,e,r).width<=s-4}return!1};o++;e:for(;o>0;){t="",o--;var u,c,f=Je("3",e,o).height,d=e.multiline?a-o:(a-f)/2,h=d+=2,p=0,g=0,m=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+Je(t,e,o=12).width+", FieldWidth:"+s+"\n";break}for(var v="",y=0,b=0;b<i.length;b++)if(i.hasOwnProperty(b)){var w=!1;if(1!==i[b].length&&m!==i[b].length-1){if((f+2)*(y+2)+2>a)continue e;v+=i[b][m],w=!0,g=b,b--}else{v=" "==(v+=i[b][m]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var x=parseInt(b),S=l(x,v,o),k=b>=i.length-1;if(S&&!k){v+=" ",m=0;continue}if(S||k){if(k)g=x;else if(e.multiline&&(f+2)*(y+2)+2>a)continue e}else{if(!e.multiline)continue e;if((f+2)*(y+2)+2>a)continue e;g=x}}for(var A="",N=p;N<=g;N++){var P=i[N];if(e.multiline){if(N===g){A+=P[m]+" ",m=(m+1)%P.length;continue}if(N===p){A+=P[P.length-1]+" ";continue}}A+=P[0]+" "}switch(A=" "==A.substr(A.length-1)?A.substr(0,A.length-1):A,c=Je(A,e,o).width,e.textAlign){case"right":u=s-c-2;break;case"center":u=(s-c)/2;break;default:u=2}t+=Ie(u)+" "+Ie(h)+" Td\n",t+="("+Te(A)+") Tj\n",t+=-Ie(u)+" 0 Td\n",h=-(o+2),c=0,p=w?g:g+1,y++,v=""}break}return r.text=t,r.fontSize=o,r},Je=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},$e={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ke=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},Xe=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(it.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify($e)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Oe=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new rt,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&Ke(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var i in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(i)){var o=e[i],a=[],s=o.Rect;if(o.Rect&&(o.Rect=Ge(o.Rect,t)),t.internal.newObjectDeferredBegin(o.objId,!0),o.DA=mt.createDefaultAppearanceStream(o),"object"===(0,r.Z)(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var l=Ze(o);a.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(o.appearanceStreamContent){var u="";for(var c in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(c)){var f=o.appearanceStreamContent[c];if(u+="/"+c+" ",u+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var i in f)if(f.hasOwnProperty(i)){var d=f[i];"function"==typeof d&&(d=d.call(t,o)),u+="/"+i+" "+d+" ",t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d)}}else"function"==typeof(d=f)&&(d=d.call(t,o)),u+="/"+i+" "+d,t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:o.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=n,o=e[n];
vendor: 4,294 bytes, line 2
2t.internal.newObjectDeferredBegin(o.objId,!0),"object"===(0,r.Z)(o)&&"function"==typeof o.putStream&&o.putStream(),delete e[i]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},Qe=Fe.__acroform__.arrayToPdfArray=function(e,t,n){var i=function(e){return e};if(Array.isArray(e)){for(var o="[",a=0;a<e.length;a++)switch(0!==a&&(o+=" "),(0,r.Z)(e[a])){case"boolean":case"number":case"object":o+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(i=n.internal.getEncryptor(t)),o+="("+Te(i(e[a].toString()))+")"):o+=e[a].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},et=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Te(r(e))+")"},tt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};tt.prototype.toString=function(){return this.objId+" 0 R"},tt.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},tt.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:Qe(i,this.objId,this.scope)}):i instanceof tt?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var nt=function(){tt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Re(nt,tt);var rt=function(){tt.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(e))+")"}},set:function(t){e=t}})};Re(rt,tt);var it=function e(){tt.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(t,3))},set:function(e){!0===Boolean(e)?this.F=He(t,3):this.F=Ve(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]}
vendor: 4,857 bytes, line 2
2,set:function(e){r[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof dt)return;o="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(o))+")"},set:function(e){o=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(e){o=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/Oe:u},set:function(e){u=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var f="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!f||this instanceof dt||this instanceof pt))return et(f,this.objId,this.scope)},set:function(e){e=e.toString(),f=e}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof ut==0?et(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof ut==0?"("===e.substr(0,1)?Me(e.substr(1,e.length-2)):Me(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ut==1?Me(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof ut==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ut==0?et(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ut==0?"("===e.substr(0,1)?Me(e.substr(1,e.length-2)):Me(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ut==1?Me(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ut==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var p,g=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return g},set:function(e){e=Boolean(e),g=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(e){p=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,1):this.Ff=Ve(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,2):this.Ff=Ve(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,3):this.Ff=Ve(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');m=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(m){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:m=2;break;case"center":case 1:m=1;break;default:m=0}}})};Re(it,tt);var ot=function(){it.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Qe(t,this.objId,this.scope)}
vendor: 9,069 bytes, line 2
2,set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,18):this.Ff=Ve(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=He(this.Ff,19):this.Ff=Ve(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=He(this.Ff,20),t.sort()):this.Ff=Ve(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,22):this.Ff=Ve(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,23):this.Ff=Ve(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,27):this.Ff=Ve(this.Ff,27)}}),this.hasAppearanceStream=!1};Re(ot,it);var at=function(){ot.call(this),this.fontName="helvetica",this.combo=!1};Re(at,ot);var st=function(){at.call(this),this.combo=!0};Re(st,at);var lt=function(){st.call(this),this.edit=!0};Re(lt,st);var ut=function(){it.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,15):this.Ff=Ve(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,16):this.Ff=Ve(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,17):this.Ff=Ve(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,26):this.Ff=Ve(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+Te(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,r.Z)(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}})};Re(ut,it);var ct=function(){ut.call(this),this.pushButton=!0};Re(ct,ut);var ft=function(){ut.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:[]}})};Re(ft,ut);var dt=function(){var e,t;it.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=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),i)n.push("/"+t+" ("+Te(e(i[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===(0,r.Z)(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.caption="l",this.appearanceState="Off",this._AppearanceType=mt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Re(dt,it),ft.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()}},ft.prototype.createOption=function(e){var t=new dt;return t.Parent=this,t.optionName=e,this.Kids.push(t),vt.call(this.scope,t),t};var ht=function(){ut.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=mt.CheckBox.createAppearanceStream()};Re(ht,ut);var pt=function(){it.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,13):this.Ff=Ve(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,21):this.Ff=Ve(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,23):this.Ff=Ve(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,24):this.Ff=Ve(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,25):this.Ff=Ve(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,26):this.Ff=Ve(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}})};Re(pt,it);var gt=function(){pt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(We(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=He(this.Ff,14):this.Ff=Ve(this.Ff,14)}}),this.password=!0};Re(gt,pt);var mt={CheckBox:{createAppearanceStream:function(){return{N:{On:mt.CheckBox.YesNormal},D:{On:mt.CheckBox.YesPushDown,Off:mt.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=Be(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=Ye(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+Ie(mt.internal.getWidth(e))+" "+Ie(mt.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Ie(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=Be(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],o=mt.internal.getHeight(e),a=mt.internal.getWidth(e),s=Ye(e,e.caption);return i.push("1 g"),i.push("0 0 "+Ie(a)+" "+Ie(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Ie(a-1)+" "+Ie(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+Ie(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=Be(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Ie(mt.internal.getWidth(e))+" "+Ie(mt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:mt.RadioButton.Circle.OffPushDown},N:{}}
vendor: 4,269 bytes, line 2
2;return t.N[e]=mt.RadioButton.Circle.YesNormal,t.D[e]=mt.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=Be(e);t.scope=e.scope;var n=[],r=mt.internal.getWidth(e)<=mt.internal.getHeight(e)?mt.internal.getWidth(e)/4:mt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=mt.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+je(mt.internal.getWidth(e)/2)+" "+je(mt.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=Be(e);t.scope=e.scope;var n=[],r=mt.internal.getWidth(e)<=mt.internal.getHeight(e)?mt.internal.getWidth(e)/4:mt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*mt.internal.Bezier_C).toFixed(5)),a=Number((r*mt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+je(mt.internal.getWidth(e)/2)+" "+je(mt.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 "+je(mt.internal.getWidth(e)/2)+" "+je(mt.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=Be(e);t.scope=e.scope;var n=[],r=mt.internal.getWidth(e)<=mt.internal.getHeight(e)?mt.internal.getWidth(e)/4:mt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*mt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+je(mt.internal.getWidth(e)/2)+" "+je(mt.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:mt.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=mt.RadioButton.Cross.YesNormal,t.D[e]=mt.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=Be(e);t.scope=e.scope;var n=[],r=mt.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+Ie(mt.internal.getWidth(e)-2)+" "+Ie(mt.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Ie(r.x1.x)+" "+Ie(r.x1.y)+" m"),n.push(Ie(r.x2.x)+" "+Ie(r.x2.y)+" l"),n.push(Ie(r.x4.x)+" "+Ie(r.x4.y)+" m"),n.push(Ie(r.x3.x)+" "+Ie(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=Be(e);t.scope=e.scope;var n=mt.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ie(mt.internal.getWidth(e))+" "+Ie(mt.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ie(mt.internal.getWidth(e)-2)+" "+Ie(mt.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Ie(n.x1.x)+" "+Ie(n.x1.y)+" m"),r.push(Ie(n.x2.x)+" "+Ie(n.x2.y)+" l"),r.push(Ie(n.x4.x)+" "+Ie(n.x4.y)+" m"),r.push(Ie(n.x3.x)+" "+Ie(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=Be(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Ie(mt.internal.getWidth(e))+" "+Ie(mt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};mt.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=mt.internal.getWidth(e),n=mt.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}}}},mt.internal.getWidth=function(e){var t=0;
vendor: 11,053 bytes, line 2
2return"object"===(0,r.Z)(e)&&(t=De(e.Rect[2])),t},mt.internal.getHeight=function(e){var t=0;return"object"===(0,r.Z)(e)&&(t=De(e.Rect[3])),t};var vt=Fe.addField=function(e){if(Xe(this,e),!(e instanceof it))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};Fe.AcroFormChoiceField=ot,Fe.AcroFormListBox=at,Fe.AcroFormComboBox=st,Fe.AcroFormEditBox=lt,Fe.AcroFormButton=ut,Fe.AcroFormPushButton=ct,Fe.AcroFormRadioButton=ft,Fe.AcroFormCheckBox=ht,Fe.AcroFormTextField=pt,Fe.AcroFormPasswordField=gt,Fe.AcroFormAppearance=mt,Fe.AcroForm={ChoiceField:ot,ListBox:at,ComboBox:st,EditBox:lt,Button:ut,PushButton:ct,RadioButton:ft,CheckBox:ht,TextField:pt,PasswordField:gt,Appearance:mt},Ee.AcroForm={ChoiceField:ot,ListBox:at,ComboBox:st,EditBox:lt,Button:ut,PushButton:ct,RadioButton:ft,CheckBox:ht,TextField:pt,PasswordField:gt,Appearance:mt};var yt=Ee.AcroForm;function bt(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",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],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,r){var i,o,a,s,l,u=t;if("RGBA"===(r=r||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(k(e))for(l in n)for(a=n[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e[o]){s=!1;break}if(!0===s){u=l;break}}else for(l in n)for(a=n[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){u=l;break}}return u===t&&r!==t&&(u=r),u},o=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.width}),o.push({key:"Height",value:t.height}),t.colorSpace===v.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===v.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&o.push({key:"SMask",value:t.objectId+1+" 0 R"});var u=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:u,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var c="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,f={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:c,data:t.sMask};"filter"in t&&(f.filter=t.filter),e.call(this,f)}if(t.colorSpace===v.INDEXED){var d=this.internal.newObject();r({data:N(new Uint8Array(t.palette)),objectId:d}),n("endobj")}},a=function(){var e=this.internal.collections.addImage_images;for(var t in e)o.call(this,e[t])},s=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},c=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"===(0,r.Z)(e)&&1===e.nodeType},h=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return re(unescape(r).split("base64,").pop());var i=e.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return re(t.toDataURL(o,1).split("base64,").pop())}},p=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},g=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},m=function(e,t,n,r,i,o){var a=g.call(this,n,r,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=u.call(this);if(n=a[0],r=a[1],c[i.index]=i,o){o*=Math.PI/180;var f=Math.cos(o),d=Math.sin(o),h=function(e){return e.toFixed(4)},p=[h(f),h(d),h(-1*d),h(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},v=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(k(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},w=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},S=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return S()&&e instanceof ArrayBuffer};var k=e.__addimage__.isArrayBufferView=function(e){return S()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},A=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},N=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=k(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,n,i,o,a,s,u,c,f;if("number"==typeof arguments[1]?(n=t,i=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],c=arguments[6],f=arguments[7]):(n=arguments[1],i=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],u=arguments[6],c=arguments[7],f=arguments[8]),"object"===(0,r.Z)(e=arguments[0])&&!d(e)&&"imageData"in e){var h=e;e=h.imageData,n=h.format||n||t,i=h.x||i||0,o=h.y||o||0,a=h.w||h.width||a,s=h.h||h.height||s,u=h.alias||u,c=h.compression||c,f=h.rotation||h.angle||f}var p=this.internal.getFilters();if(void 0===c&&-1!==p.indexOf("FlateEncode")&&(c="SLOW"),isNaN(i)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var g=P.call(this,e,n,u,c);return m.call(this,i,o,a,s,g,f),this};var P=function(n,r,o,a){var s,l,u;if("string"==typeof n&&i(n)===t){n=unescape(n);var g=L(n,!1);(""!==g||void 0!==(g=e.loadFile(n,!0)))&&(n=g)}if(d(n)&&(n=h(n,r)),r=i(n,r),!f(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(u=o)||0===u.length)&&(o=function(e){return"string"==typeof e||k(e)?b(e):k(e.data)?b(e.data):null}(n)),(s=p.call(this,o))||(S()&&(n instanceof Uint8Array||"RGBA"===r||(l=n,n=A(n))),s=this["process"+r.toUpperCase()](n,c.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},L=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,i="";if("string"==typeof e){r=null!==(n=x(e))?n.data:e;try{i=re(r)}catch(e){if(t)throw w(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(n){var r,o,a="";if(d(n)&&(n=h(n)),"string"==typeof n&&i(n)===t&&(""===(a=L(n,!1))&&(a=e.loadFile(n)||""),n=a),o=i(n),!f(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!S()||n instanceof Uint8Array||(n=A(n)),!(r=this["process"+o.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=o,r}}(Ee.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};Ee.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,
vendor: 2,861 bytes, line 2
2s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,u=!1,c=0;c<l.length&&!u;c++)switch((n=l[c]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var f=0;f<l.length;f++){n=l[f];var d=this.internal.pdfEscape,h=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+d(m(n.contents))+")",i+=" /Popup "+g.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+d(m(v))+") >>",p.content=i;var y=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+y,n.open&&(i+=" /Open true"),i+=" >>",g.content=i,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var b=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+d(h(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var w=this.annotations._nameMap[n.options.name];n.options.pageNumber=w.page,n.options.top=w.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+d(h(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;default:var x=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+x+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.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)}},e.link=function(e,t,n,r,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,
vendor: 1,854 bytes, line 2
2s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i,o,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){o=r.maxWidth;var l=this.splitTextToSize(e,o).length;i=Math.ceil(s*l)}else o=a,i=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,o,i,r),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(Ee.API),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,6437
vendor: 10,516 bytes, line 2
27],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)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&o(e)&&4==t[e.charCodeAt(0)].length},f=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,i+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,i+=e.charAt(t-o),t-=o,o=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var d=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===o(e)?-1:!u(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:c(e)&&a(t)&&!s(t)&&a(n)&&u(n)?3:s(e)||!a(n)?1:2:-1},h=function(e){var n=0,r=0,i=0,o="",s="",l="",u=(e=e||"").split("\\s+"),c=[];for(n=0;n<u.length;n+=1){for(c.push(""),r=0;r<u[n].length;r+=1)o=u[n][r],s=u[n][r-1],l=u[n][r+1],a(o)?(i=d(o,s,l),c[n]+=-1!==i?String.fromCharCode(t[o.charCodeAt(0)][i]):o):c[n]+=o;c[n]=f(c[n])}return c.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([h(t[r][0]),t[r][1],t[r][2]]):n.push([h(t[r])]);e=n}else e=h(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(Ee.API),Ee.API.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this},function(e){var t=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",{})};t.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,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(Ee.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),r=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,u=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(u.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++)a<(l=this.getStringUnitWidth(e[f],{font:r})*n)&&(a=l);return 0!==a&&(s=e.length),{w:a/=o,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var r=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===e.lineNumber?(e.x=(r.x||0)+(r.width||0),e.y=r.y||0):r.y+r.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,u&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=r.y+r.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,u,c,f){if(i.call(this),!u)throw new Error("No data for PDF table.");var d,h,p,g,m=[],v=[],y=[],b={},w={},x=[],S=[],k=(f=f||{}).autoSize||!1,A=!1!==f.printHeaders,N=f.css&&void 0!==f.css["font-size"]?16*f.css["font-size"]:f.fontSize||12,P=f.margins||Object.assign({width:this.getPageWidth()},t),L="number"==typeof f.padding?f.padding:3,_=f.headerBackgroundColor||"#c8c8c8",C=f.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=A,this.internal.__cell__.margins=P,this.internal.__cell__.table_font_size=N,this.internal.__cell__.padding=L,this.internal.__cell__.headerBackgroundColor=_,this.internal.__cell__.headerTextColor=C,this.setFontSize(N),null==c)v=m=Object.keys(u[0]),y=m.map((function(){return"left"}));else if(Array.isArray(c)&&"object"===(0,r.Z)(c[0]))for(m=c.map((function(e){return e.name})),v=c.map((function(e){return e.prompt||e.name||""})),y=c.map((function(e){return e.align||"left"})),d=0;d<c.length;d+=1)w[c[d].name]=c[d].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(v=m=c,y=m.map((function(){return"left"})));if(k||Array.isArray(c)&&"string"==typeof c[0])for(d=0;d<m.length;d+=1){for(b[g=m[d]]=u.map((function(e){return e[g]})),this.setFont(void 0,"bold"),x.push(this.getTextDimensions(v[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[g],this.setFont(void 0,"normal"),p=0;p<h.length;p+=1)x.push(this.getTextDimensions(h[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[g]=Math.max.apply(null,x)+L+L,x=[]}if(A){var E={};for(d=0;d<m.length;d+=1)E[m[d]]={},E[m[d]].text=v[d],E[m[d]].align=y[d];var F=l.call(this,E,w);S=m.map((function(t){return new a(e,n,w[t],F,E[t].text,void 0,E[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var O=c.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(d=0;d<u.length;
vendor: 4,543 bytes, line 2
2d+=1){"rowStart"in f&&f.rowStart instanceof Function&&f.rowStart({row:d,data:u[d]},this);var T=l.call(this,u[d],w);for(p=0;p<m.length;p+=1){var M=u[d][m[p]];"cellStart"in f&&f.cellStart instanceof Function&&f.cellStart({row:d,col:p,data:M},this),s.call(this,new a(e,n,w[m[p]],T,M,d+2,O[m[p]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/i+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){i.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){r=this.internal.__cell__.tableHeaderRow[u].clone(),t&&(r.y=this.internal.__cell__.margins.top||0,l.push(r)),r.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,r),this.setTextColor(c)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(Ee.API);var wt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],St=bt(xt),kt=[100,200,300,400,500,600,700,800,900],At=bt(kt);function Nt(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return wt[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),i=function(e){return"number"==typeof St[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function Pt(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var Lt={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},_t={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ct(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Et(e){return e.trimLeft()}function Ft(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Ot(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Tt,Mt,It,jt,Rt=["times"];!function(e){var t,n,i,o,a,s,l,u,c,f=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new u,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,
vendor: 5,712 bytes, line 2
2s=this.internal.Point,l=this.internal.Rectangle,u=this.internal.Matrix,c=new f}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}}),Object.defineProperty(this,"margin",{get:function(){return c.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),c.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(e){e instanceof f&&(c=e)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(e){c.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=h(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=h(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var d=null;function p(e,t){if(null===d){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());d=function(e){for(var t={},n=0;n<e.length;++n){var r=Nt(e[n]),i=r.family,o=r.stretch,a=r.style,s=r.weight;t[i]=t[i]||{},t[i][o]=t[i][o]||{},t[i][o][a]=t[i][o][a]||{},t[i][o][a][s]=r}return t}(n.concat(t))}return d}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(e){d=null,g=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),i=t[4],o=(t[5],t[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,n,r=[],i=e.trim();if(""===i)return Rt;if(i in _t)return[_t[i]];for(;""!==i;){switch(n=null,t=(i=Et(i)).charAt(0)){case'"':case"'":n=Ft(i.substring(1),t);break;default:n=Ot(i)}if(null===n)return Rt;if(r.push(n[0]),""!==(i=Et(n[1]))&&","!==i.charAt(0))return Rt;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var l=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Lt,n.genericFontFamilies||{}),o=null,a=null,s=0;s<t.length;++s)if(i[(o=Nt(t[s])).family]&&(o.family=i[o.family]),e.hasOwnProperty(o.family)){a=e[o.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+Ct(o)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=St[e],r=n<=St.normal?-1:1,i=Pt(t,xt,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(o.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=wt[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(o.style,a),!(a=function(e,t){if(t[e])return t[e];
vendor: 4,511 bytes, line 2
2if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=At[e],r=Pt(t,kt,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Ct(o)+"'.");return a}(p(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var u="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(u="bold"),"italic"===n&&(u+="italic"),0===u.length&&(u="normal");for(var c="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},d=0;d<s.length;d++){if(void 0!==this.pdf.internal.getFont(s[d],u,{noFallback:!0,disableWarning:!0})){c=s[d];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[d],"bold",{noFallback:!0,disableWarning:!0}))c=s[d],u="bold";else if(void 0!==this.pdf.internal.getFont(s[d],"normal",{noFallback:!0,disableWarning:!0})){c=s[d],u="normal";break}}if(""===c)for(var h=0;h<s.length;h++)if(f[s[h]]){c=f[s[h]];break}c=""===c?"Times":c,this.pdf.setFont(c,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,D.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,D.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.setLineDash=function(e){this.lineDash=e},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){x.call(this,"fill",!1)},d.prototype.stroke=function(){x.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw Q.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,r.Z)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw Q.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),x.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw Q.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(n,r)),o=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(i.x,i.y)},d.prototype.bezierCurveTo=function(e,t,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Q.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(i,o)),l=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.arc=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw Q.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to
2jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(e,t));e=a.x,t=a.y;var l=this.ctx.transform.applyToPoint(new s(0,n)),u=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(i-r)>=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})},d.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Q.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)},d.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Q.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.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)}},d.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Q.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},d.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Q.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))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var h=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new ae(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},p=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},g=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Q.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to
2jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!p.call(this)){var i=I(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;C.call(this,{text:e,x:t,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Q.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){r=isNaN(r)?void 0:r;var i=I(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;C.call(this,{text:e,x:t,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw Q.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw Q.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.rotate=function(e){if(isNaN(e))throw Q.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw Q.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new u(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.transform=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw Q.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new u(e,t,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},d.prototype.setTransform=function(e,t,n,r,i,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new u(e,t,n,r,i,o)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(e,t,n,r,i,o,a,s,c){var f=this.pdf.getImageProperties(e),d=1,h=1,p=1,g=1;void 0!==r&&void 0!==s&&(p=s/r,g=c/i,d=f.width/r*s/r,h=f.height/i*c/i),void 0===o&&(o=t,a=n,t=0,n=0),void 0!==r&&void 0===s&&(s=r,c=i),void 0===r&&void 0===s&&(s=f.width,c=f.height);for(var y,x=this.ctx.transform.decompose(),k=I(x.rotate.shx),A=new u,N=(A=(A=(A=A.multiply(x.translate)).multiply(x.skew)).multiply(x.scale)).applyToRectangle(new l(o-t*p,a-n*g,r*d,i*h)),P=v.call(this,N),L=[],_=0;_<P.length;_+=1)-1===L.indexOf(P[_])&&L.push(P[_]);if(w(L),this.autoPaging)for(var C=L[0],E=L[L.length-1],F=C;F<E+1;F++){this.pdf.setPage(F);var O=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],T=1===F?this.posY+this.margin[0]:this.margin[0],M=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],j=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],R=1===F?0:M+(F-2)*j;if(0!==this.ctx.clip_path.length){var D=this.path;y=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=b(y,this.posX+this.margin[3],-R+T+this.ctx.prevPageLastElemOffset),S.call(this,"fill",!0),this.path=D}var B=JSON.parse(JSON.stringify(N));B=b([B],this.posX+this.margin[3],-R+T+this.ctx.prevPageLastElemOffset)[0];var z=(F>C||F<E)&&m.call(this);z&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],O,j,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",B.x,B.y,B.w,B.h,null,null,k),z&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",N.x,N.y,N.w,N.h,null,null,k)};var v=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+i)/n)+1);break;case"arc":r.push(Math.floor((e.y+i-e.radius)/n)+1),r.push(Math.floor((e.y+i+e.radius)/n)+1);break;case"qct":var o=j(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var a=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+i)/n)+1),r.push(Math.floor((a.y+a.h+i)/n)+1);break;
vendor: 4,569 bytes, line 2
2case"rect":r.push(Math.floor((e.y+i)/n)+1),r.push(Math.floor((e.y+e.h+i)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)y.call(this);return r},y=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},b=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},w=function(e){return e.sort((function(e,t){return e-t}))},x=function(e,t){for(var n,r,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),u=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),d=[],h=0;h<f.length;h++)if(void 0!==f[h].x)for(var p=v.call(this,f[h]),g=0;g<p.length;g+=1)-1===d.indexOf(p[g])&&d.push(p[g]);for(var x=0;x<d.length;x++)for(;this.pdf.internal.getNumberOfPages()<d[x];)y.call(this);if(w(d),this.autoPaging)for(var k=d[0],A=d[d.length-1],N=k;N<A+1;N++){this.pdf.setPage(N),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=l,this.lineJoin=u;var P=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],L=1===N?this.posY+this.margin[0]:this.margin[0],_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],C=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],E=1===N?0:_+(N-2)*C;if(0!==this.ctx.clip_path.length){var F=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=b(n,this.posX+this.margin[3],-E+L+this.ctx.prevPageLastElemOffset),S.call(this,e,!0),this.path=F}if(r=JSON.parse(JSON.stringify(c)),this.path=b(r,this.posX+this.margin[3],-E+L+this.ctx.prevPageLastElemOffset),!1===t||0===N){var O=(N>k||N<A)&&m.call(this);O&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,C,null).clip().discardPath()),S.call(this,e,t),O&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,S.call(this,e,t),this.lineWidth=s;this.path=c},S=function(e,t){if(("stroke"!==e||t||!g.call(this))&&("stroke"===e||t||!p.call(this))){for(var n,r,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var l=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(n=[s.x-o[a-1].x,s.y-o[a-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(s);break}break;case"bct":n=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(n);break;case"qct":var u=o[a-1].x+2/3*(s.x1-o[a-1].x),c=o[a-1].y+2/3*(s.y1-o[a-1].y),f=s.x+2/3*(s.x1-s.x),d=s.y+2/3*(s.y1-s.y),h=s.x,m=s.y;n=[u-o[a-1].x,c-o[a-1].y,f-o[a-1].x,d-o[a-1].y,h-o[a-1].x,m-o[a-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var v=!1,y=0;y<i.length;y++)if(i[y].arc)for(var b=i[y].abs,w=0;w<b.length;w++){var x=b[w];"arc"===x.type?N.call(this,x.x,x.y,x.radius,x.startAngle,x.endAngle,x.counterclockwise,void 0,t,!v):E.call(this,x.x,x.y),v=!0}else if(!0===i[y].close)this.pdf.internal.out("h"),v=!1;else if(!0!==i[y].begin){var S=i[y].start.x,k=i[y].start.y;F.call(this,i[y].deltas,S,k),v=!0}r&&P.call(this,r),t&&L.call(this)}},k=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},A=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var N=function(e,t,n,r,i,o,a,s,l){for(var u=T.call(this,n,r,i,o),c=0;c<u.length;c++){var f=u[c];0===c&&(l?_.call(this,f.x1+e,f.y1+t):E.call(this,f.x1+e,f.y1+t)),O.call(this,e,t,f.x2,f.y2,f.x3,f.y3,f.x4,f.y4)}
vendor: 5,115 bytes, line 2
2s?L.call(this):P.call(this,a)},P=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},L=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(e,t){this.pdf.internal.out(n(e)+" "+i(t)+" m")},C=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.pdf.getTextDimensions(e.text),r=k.call(this,e.y),i=A.call(this,r)-n.h,o=this.ctx.transform.applyToPoint(new s(e.x,r)),a=this.ctx.transform.decompose(),c=new u;c=(c=(c=c.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var f,d,h,p=this.ctx.transform.applyToRectangle(new l(e.x,r,n.w,n.h)),g=c.applyToRectangle(new l(e.x,i,n.w,n.h)),y=v.call(this,g),x=[],N=0;N<y.length;N+=1)-1===x.indexOf(y[N])&&x.push(y[N]);if(w(x),this.autoPaging)for(var P=x[0],L=x[x.length-1],_=P;_<L+1;_++){this.pdf.setPage(_);var C=1===_?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],F=this.pdf.internal.pageSize.height-this.margin[2],O=F-this.margin[0],T=this.pdf.internal.pageSize.width-this.margin[1],M=T-this.margin[3],I=1===_?0:E+(_-2)*O;if(0!==this.ctx.clip_path.length){var j=this.path;f=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=b(f,this.posX+this.margin[3],-1*I+C),S.call(this,"fill",!0),this.path=j}var R=b([JSON.parse(JSON.stringify(g))],this.posX+this.margin[3],-I+C+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*e.scale),h=this.lineWidth,this.lineWidth=h*e.scale);var D="text"!==this.autoPaging;if(D||R.y+R.h<=F){if(D||R.y>=C&&R.x<=T){var B=D?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||T-R.x)[0],z=b([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-I+C+this.ctx.prevPageLastElemOffset)[0],q=D&&(_>P||_<L)&&m.call(this);q&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],M,O,null).clip().discardPath()),this.pdf.text(B,z.x,z.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),q&&this.pdf.restoreGraphicsState()}}else R.y<F&&(this.ctx.prevPageLastElemOffset+=F-R.y);e.scale>=.01&&(this.pdf.setFontSize(d),this.lineWidth=h)}else e.scale>=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*e.scale),h=this.lineWidth,this.lineWidth=h*e.scale),this.pdf.text(e.text,o.x+this.posX,o.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(d),this.lineWidth=h)},E=function(e,t,r,o){r=r||0,o=o||0,this.pdf.internal.out(n(e+r)+" "+i(t+o)+" l")},F=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},O=function(e,n,r,i,s,l,u,c){this.pdf.internal.out([t(o(r+e)),t(a(i+n)),t(o(s+e)),t(a(l+n)),t(o(u+e)),t(a(c+n)),"c"].join(" "))},T=function(e,t,n,r){for(var i=2*Math.PI,o=Math.PI/2;t>n;)t-=i;var a=Math.abs(n-t);a<i&&r&&(a=i-a);for(var s=[],l=r?-1:1,u=t;a>1e-5;){var c=u+l*Math.min(a,o);s.push(M.call(this,e,u,c)),a-=Math.abs(c-u),u=c}return s},M=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),o=e*Math.sin(r),a=i,s=-o,l=a*a+s*s,u=l+a*i+s*o,c=4/3*(Math.sqrt(2*l*u)-u)/(a*o-s*i),f=a-c*s,d=s+c*a,h=f,p=-d,g=r+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-d*v,y2:f*v+d*m,x3:h*m-p*v,y3:h*v+p*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},I=function(e){return 180*e/Math.PI},j=function(e,t,n,r,i,o){var a=e+.5*(n-e),s=t+.5*(r-t),u=i+.5*(n-i),c=o+.5*(r-o),f=Math.min(e,i,a,u),d=Math.max(e,i,a,u),h=Math.min(t,o,s,c),p=Math.max(t,o,s,c);return new l(f,h,d-f,p-h)},R=function(e,t,n,r,i,o,a,s){var u,c,f,d,h,p,g,m,v,y,b,w,x,S,k=n-e,A=r-t,N=i-n,P=o-r,L=a-i,_=s-o;for(c=0;c<41;c++)v=(g=(f=e+(u=c/40)*k)+u*((h=n+u*N)-f))+u*(h+u*(i+u*L-h)-g),y=(m=(d=t+u*A)+u*((p=r+u*P)-d))+u*(p+u*(o+u*_-p)-m),0==c?(b=v,w=y,x=v,S=y):(b=Math.min(b,v),w=Math.min(w,y),x=Math.max(x,v),S=Math.max(S,y));return new l(Math.round(b),Math.round(w),Math.round(x-b),Math.round(S-w))},D=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(Ee.API),function(e){var t=function(e){var t,n,r,i,o,a,s,l,u,c;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(o=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(o=((o=((o=((o=(o-(c=o%85))/85)-(u=o%85))/85)-(l=o%85))/85)-(s=o%85))/85)%85,n.push(a+33,s+33,l+33,u+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,o,a=String,s="length",l=255,u="charCodeAt",c="slice",f="replace";for(e[c](-2),e=e[c](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),r=[],i=0,o=(e+=t="uuuuu"[c](e[s]%5||5))[s];o>i;i+=5)n=52200625*(e[u](i)-33)+614125*(e[u](i+1)-33)+7225*(e[u](i+2)-33)+85*(e[u](i+3)-33)+(e[u](i+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)}
2,r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=J(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var a=0,s=e||"",l=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(Ee.API),(jt=Ee.API).loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,o=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return o(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},jt.loadImageFile=jt.loadFile,function(e){function t(){return(K.html2canvas?Promise.resolve(K.html2canvas):n.e(498).then(n.t.bind(n,5498,23))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function i(){return(K.DOMPurify?Promise.resolve(K.DOMPurify):n.e(703).then(n.t.bind(n,8703,23))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=(0,r.Z)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(i).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;
2i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},s.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var o=0;o<n.length;++o){var a=n[o],s=a.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,t.context2d.save(!0),e(this.prop.container,i)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},s.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},s.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},s.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},s.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf(
vendor: 29,324 bytes, line 2
2)}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},s.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in s.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},s.prototype.get=function(e,t){return this.then((function(){var n=e in s.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},s.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},s.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||Ee.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},s.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},s.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=n.call(r,e,t);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},s.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},s.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return s.convert(t,this)},s.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},s.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,Ee.getPageSize=function(e,t,n){if("object"===(0,r.Z)(e)){var i=e;e=i.orientation,t=i.unit||t,n=i.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var o,a=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+t}var l,u=0,c=0;if(s.hasOwnProperty(a))u=s[a][1]/o,c=s[a][0]/o;else try{u=n[1],c=n[0]}catch(jt){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",c>u&&(l=c,c=u,u=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",u>c&&(l=c,c=u,u=l)}return{width:c,height:u,unit:t,k:o,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Nt):null;var n=new s(t);return t.worker?n:n.from(e).doCallback()}}(Ee.API),Ee.API.addJS=function(e){return It=e,this.internal.events.subscribe("postPutResources",(function(){Tt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Tt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Mt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+It+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Tt&&void 0!==Mt&&this.internal.out("/Names <</JavaScript "+Tt+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],a=n.exec(o);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,u=[];for(i=0;i<l;i++){var c=e.internal.newObject();u.push(c);var f=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<u.length;i++)e.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(Ee.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,o,a){var s,l=this.decode.DCT_DECODE,u=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),o={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}u={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:n,alias:r}}return u}}(Ee.API);var Dt,Bt,zt,qt,Ut,Wt=function(){var e,t,n;function r(e){var t,n,r,i,o,a,s,l,u,c,f,d,h,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(t=this.readUInt32(),u=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,t-=4),e=(null!=a?a.data:void 0)||this.imgData,d=0;0<=t?d<t:d>t;0<=t?++d:--d)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((c=r-this.transparency.indexed.length)>0)for(h=0;0<=c?h<c:h>c;0<=c?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,f.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,i=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(o,a,s,l){var u,c,f,d,h,p,g,m,v,y,b,w,x,S,k,A,N,P,L,_,C,E=Math.ceil((i.width-o)/s),F=Math.ceil((i.height-a)/l),O=i.width==E&&i.height==F;for(S=t*E,w=O?n:new Uint8Array(S*F),p=e.length,x=0,c=0;x<F&&r<p;){switch(e[r++]){case 0:for(d=N=0;N<S;d=N+=1)w[c++]=e[r++];break;case 1:for(d=P=0;P<S;d=P+=1)u=e[r++],h=d<t?0:w[c-t],w[c++]=(u+h)%256;break;case 2:for(d=L=0;L<S;d=L+=1)u=e[r++],f=(d-d%t)/t,k=x&&w[(x-1)*S+f*t+d%t],w[c++]=(k+u)%256;break;case 3:for(d=_=0;_<S;d=_+=1)u=e[r++],f=(d-d%t)/t,h=d<t?0:w[c-t],k=x&&w[(x-1)*S+f*t+d%t],w[c++]=(u+Math.floor((h+k)/2))%256;break;case 4:for(d=C=0;C<S;d=C+=1)u=e[r++],f=(d-d%t)/t,h=d<t?0:w[c-t],0===x?k=A=0:(k=w[(x-1)*S+f*t+d%t],A=f&&w[(x-1)*S+(f-1)*t+d%t]),g=h+k-A,m=Math.abs(g-h),y=Math.abs(g-k),b=Math.abs(g-A),v=m<=y&&m<=b?h:y<=b?k:A,w[c++]=(u+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!O){var T=((a+x*l)*i.width+o)*t,M=x*S;for(d=0;d<E;d+=1){for(var I=0;I<t;I+=1)n[T++]=w[M++];T+=(s-1)*t}}x++}}return e=$(e),1==i.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,i,o,a,s,l;for(n=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+n.length),r=0,e=0,t=a=0,s=n.length;a<s;t=a+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(l=o[e++])?l:255;return i},r.prototype.copyToImageData=function(e,t){var n,r,i,o,a,s,l,u,c,f,d;if(r=this.colors,c=null,n=this.hasAlphaChannel,this.palette.length&&(c=null!=(d=this._decodedPalette)?d:this._decodedPalette=this.decodePalette(),r=4,n=!0),u=(i=e.data||e).length,a=c||t,o=s=0,1===r)for(;o<u;)l=c?4*t[o/4]:s,f=a[l++],i[o++]=f,i[o++]=f,i[o++]=f,i[o++]=n?a[l++]:255,s=l;else for(;o<u;)l=c?4*t[o/4]:s,i[o++]=a[l++],i[o++]=a[l++],i[o++]=a[l++],i[o++]=n?a[l++]:255,s=l},r.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var i=function(){if("[object Window]"===Object.prototype.toString.call(K)){try{t=K.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return i(),e=function(e){var r;if(!0===i())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var n,r,i,o,a,s,l,u;if(this.animation){for(u=[],r=a=0,s=(l=this.animation.frames).length;a<s;r=++a)n=l[r],i=t.createImageData(n.width,n.height),o=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,o),n.imageData=i,u.push(n.image=e(i));return u}},r.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,i,o,a,s=this;return n=0,a=this.animation,i=a.numFrames,r=a.frames,o=a.numPlays,(t=function(){var a,l;if(a=n++%i,l=r[a],s.renderFrame(e,a),i>1&&n/i<o)return s.animation._timeout=setTimeout(t,l.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}();function Ht(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],o=i>>7,a=1<<1+(7&i);e[t++],e[t++];var s=null,l=null;o&&(s=t,l=a,t+=3*a);var u=!0,c=[],f=0,d=null,h=0,p=null;for(this.width=n,this.height=r;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((L=e[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];f=e[t++]|e[t++]<<8,d=e[t++],0==(1&g)&&(d=null),h=g>>2&7,t++;break;case 254:for(;;){if(!((L=e[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,w=e[t++],x=w>>6&1,S=1<<1+(7&w),k=s,A=l,N=!1;w>>7&&(N=!0,k=t,A=S,t+=3*S);var P=t;for(t++;;){var L;if(!((L=e[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}c.push({x:m,y:v,width:y,height:b,has_local_palette:N,palette_offset:k,palette_size:A,data_offset:P,data_length:t-P,transparent_index:d,interlaced:!!x,delay:f,disposal:h});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height,a=new Uint8Array(o);Vt(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=n-u,f=u,d=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),p=d,g=4*c;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,y=a.length;v<y;++v){var b=a[v];if(0===f&&(f=u,(p+=g)>=h&&(g=4*c+4*n*(m-1),p=d+(u+c)*(m<<1),m>>=1)),b===l)p+=4;else{var w=e[s+3*b],x=e[s+3*b+1],S=e[s+3*b+2];r[p++]=S,r[p++]=x,r[p++]=w,r[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height,a=new Uint8Array(o);Vt(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=n-u,f=u,d=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),p=d,g=4*c;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,y=a.length;v<y;++v){var b=a[v];if(0===f&&(f=u,(p+=g)>=h&&(g=4*c+4*n*(m-1),p=d+(u+c)*(m<<1),m>>=1)),b===l)p+=4;else{var w=e[s+3*b],x=e[s+3*b+1],S=e[s+3*b+2];r[p++]=w,r[p++]=x,r[p++]=S,r[p++]=255}--f}}}function Vt(e,t,n,r){for(var i=e[t++],o=1<<i,a=o+1,s=a+1,l=i+1,u=(1<<l)-1,c=0,f=0,d=0,h=e[t++],p=new Int32Array(4096),g=null;;){for(;c<16&&0!==h;)f|=e[t++]<<c,c+=8,1===h?h=e[t++]:--h;if(c<l)break;var m=f&u;if(f>>=l,c-=l,m!==o){if(m===a)break;for(var v=m<s?m:g,y=0,b=v;b>o;)b=p[b]>>8,++y;var w=b;if(d+y+(v!==m?1:0)>r)return void Q.log("Warning, gif stream longer than expected.");n[d++]=w;var x=d+=y;for(v!==m&&(n[d++]=w),b=v;y--;)b=p[b],n[--x]=255&b,b>>=8;null!==g&&s<4096&&(p[s++]=g<<8|w,s>=u+1&&l<12&&(++l,u=u<<1|1)),g=m}else s=a+1,u=(1<<(l=i+1))-1,g=null}return d!==r&&Q.log("Warning, gif stream shorter than expected."),n}function Gt(e){var t,n,r,i,o,a=Math.floor,s=new Array(64),l=new Array(64),u=new Array(64),c=new Array(64),f=new Array(65535),d=new Array(65535),h=new Array(64),p=new Array(64),g=[],m=0,v=7,y=new Array(64),b=new Array(64),w=new Array(64),x=new Array(256),S=new Array(2048),k=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],A=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],_=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],F=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function O(e,t){for(var n=0,r=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=e[o];a++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=o,r++,n++;n*=2}return i}function T(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(M(255),M(0)):M(m),v=7,m=0)}function M(e){g.push(e)}function I(e){M(e>>8&255),M(255&e)}function j(e,t,n,r,i){for(var o,a=i[0],s=i[240],l=function(e,t){var n,r,i,o,a,s,l,u,c,f,d=0;for(c=0;c<8;++c){n=e[d],r=e[d+1],i=e[d+2],o=e[d+3],a=e[d+4],s=e[d+5],l=e[d+6];var p=n+(u=e[d+7]),g=n-u,m=r+l,v=r-l,y=i+s,b=i-s,w=o+a,x=o-a,S=p+w,k=p-w,A=m+y,N=m-y;e[d]=S+A,e[d+4]=S-A;var P=.707106781*(N+k);e[d+2]=k+P,e[d+6]=k-P;var L=.382683433*((S=x+b)-(N=v+g)),_=.5411961*S+L,C=1.306562965*N+L,E=.707106781*(A=b+v),F=g+E,O=g-E;e[d+5]=O+_,e[d+3]=O-_,e[d+1]=F+C,e[d+7]=F-C,d+=8}for(d=0,c=0;c<8;++c){n=e[d],r=e[d+8],i=e[d+16],o=e[d+24],a=e[d+32],s=e[d+40],l=e[d+48];var T=n+(u=e[d+56]),M=n-u,I=r+l,j=r-l,R=i+s,D=i-s,B=o+a,z=o-a,q=T+B,U=T-B,W=I+R,H=I-R;e[d]=q+W,e[d+32]=q-W;var V=.707106781*(H+U);e[d+16]=U+V,e[d+48]=U-V;var G=.382683433*((q=z+D)-(H=j+M)),Z=.5411961*q+G,Y=1.306562965*H+G,J=.707106781*(W=D+j),$=M+J,K=M-J;e[d+40]=K+Z,e[d+24]=K-Z,e[d+8]=$+Y,e[d+56]=$-Y,d++}for(c=0;c<64;++c)f=e[c]*t[c],h[c]=f>0?f+.5|0:f-.5|0;return h}(e,t),u=0;u<64;++u)p[k[u]]=l[u];var c=p[0]-n;n=p[0],0==c?T(r[0]):(T(r[d[o=32767+c]]),T(f[o]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return T(a),n;for(var m,v=1;v<=g;){for(var y=v;0==p[v]&&v<=g;)++v;var b=v-y;if(b>=16){m=b>>4;for(var w=1;w<=m;++w)T(s);b&=15}o=32767+p[v],T(i[(b<<4)+d[o]]),T(f[o]),v++}return 63!=g&&T(a),n}function R(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[k[n]]=r}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=a((i[o]*e+50)/100);f=Math.min(Math.max(f,1),255),l[k[o]]=f}for(var d=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,p=0;p<8;p++)for(var g=0;g<8;g++)u[h]=1/(s[k[h]]*d[p]*d[g]*8),c[h]=1/(l[k[h]]*d[p]*d[g]*8),h++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&R(o),g=new Array,m=0,v=7,I(65496),I(65504),I(16),M(74),M(70),M(73),M(70),M(0),M(1),M(1),M(0),I(1),I(1),M(0),M(0),function(){I(65499),I(132),M(0);for(var e=0;e<64;e++)M(s[e]);M(1);for(var t=0;t<64;t++)M(l[t])}(),function(e,t){I(65472),I(17),M(8),I(t),I(e),M(3),M(1),M(17),M(0),M(2),M(17),M(1),M(3),M(17),M(1)}(e.width,e.height),function(){I(65476),I(418),M(0);for(var e=0;e<16;e++)M(A[e+1]);for(var t=0;t<=11;t++)M(N[t]);M(16);for(var n=0;n<16;n++)M(P[n+1]);for(var r=0;r<=161;r++)M(L[r]);M(1);for(var i=0;i<16;i++)M(_[i+1]);for(var o=0;o<=11;o++)M(C[o]);M(17);for(var a=0;a<16;a++)M(E[a+1]);for(var s=0;s<=161;s++)M(F[s])}(),I(65498),I(12),M(3),M(1),M(0),M(2),M(17),M(3),M(17),M(0),M(63),M(0);var a=0,f=0,d=0;m=0,v=7,this.encode.displayName="_encode_";for(var h,p,x,k,O,D,B,z,q,U=e.data,W=e.width,H=e.height,V=4*W,G=0;G<H;){for(h=0;h<V;){for(O=V*G+h,B=-1,z=0,q=0;q<64;q++)D=O+(z=q>>3)*V+(B=4*(7&q)),G+z>=H&&(D-=V*(G+1+z-H)),h+B>=V&&(D-=h+B-V+4),p=U[D++],x=U[D++],k=U[D++],y[q]=(S[p]+S[x+256>>0]+S[k+512>>0]>>16)-128,b[q]=(S[p+768>>0]+S[x+1024>>0]+S[k+1280>>0]>>16)-128,w[q]=(S[p+1280>>0]+S[x+1536>>0]+S[k+1792>>0]>>16)-128;a=j(y,u,a,t,r),f=j(b,c,f,n,i),d=j(w,c,d,n,i),h+=32}G+=8}if(v>=0){var Z=[];Z[1]=v+1,Z[0]=(1<<v+1)-1,T(Z)}return I(65497),new Uint8Array(g)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)x[t]=e(t)}(),t=O(A,N),n=O(_,C),r=O(P,L),i=O(E,F),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)d[32767+r]=n,f[32767+r]=[],f[32767+r][1]=n,f[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)d[32767+i]=n,f[32767+i]=[],f[32767+i][1]=n,f[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)S[e]=19595*e,S[e+256>>0]=38470*e,S[e+512>>0]=7471*e+32768,S[e+768>>0]=-11059*e,S[e+1024>>0]=-21709*e,S[e+1280>>0]=32768*e+8421375,S[e+1536>>0]=-27439*e,S[e+1792>>0]=-5329*e}(),R(e)}function Zt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Yt(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var o=0;o<i;o++)e[t+o]=n[r+o]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function o(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,i){for(var o=i[r],a=0;a<o&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));a++)e(n[a],r+1,i)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function u(e,n,r,i,o){t(!(i%r));do{e[n+(i-=r)]=o}while(0<i)}function c(e,n,r,i,a){if(t(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(e,n,r,i,a,s){var c,d,h=n,p=1<<r,g=o(16),m=o(16);for(t(0!=a),t(null!=i),t(null!=e),t(0<r),d=0;d<a;++d){if(15<i[d])return 0;++g[i[d]]}if(g[0]==a)return 0;for(m[1]=0,c=1;15>c;++c){if(g[c]>1<<c)return 0;m[c+1]=m[c]+g[c]}for(d=0;d<a;++d)c=i[d],0<i[d]&&(s[m[c]++]=d);if(1==m[15])return(i=new f).g=0,i.value=s[0],u(e,h,1,p,i),p;var v,y=-1,b=p-1,w=0,x=1,S=1,k=1<<r;for(d=0,c=1,a=2;c<=r;++c,a<<=1){if(x+=S<<=1,0>(S-=g[c]))return 0;for(;0<g[c];--g[c])(i=new f).g=c,i.value=s[d++],u(e,h+w,a,k,i),w=l(w,c)}for(c=r+1,a=2;15>=c;++c,a<<=1){if(x+=S<<=1,0>(S-=g[c]))return 0;for(;0<g[c];--g[c]){if(i=new f,(w&b)!=y){for(h+=k,v=1<<(y=c)-r;15>y&&!(0>=(v-=g[y]));)++y,v<<=1;p+=k=1<<(v=y-r),e[n+(y=w&b)].g=v+r,e[n+y].value=h-n-y}i.g=c-r,i.value=s[d++],u(e,h+(w>>r),a,k,i),w=l(w,c)}}return x!=2*m[15]-1?0:p}(e,n,r,i,a,s)}function f(){this.value=this.g=0}function d(){this.value=this.g=0}function h(){this.G=a(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Bn,d)}function p(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,P(e)}function g(e,t){for(var n=0;0<t--;)n|=_(e,128)<<t;return n}function m(e,t){var n=g(e,t);return L(e)?-n:n}function v(e,n,r,i){var o,a=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),o=0;o<i;++o)a+=n[r+o]<<8*o;e.Ra=a,e.bb=i,e.oa=n,e.pa=r}function y(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Un-8>>>0,++e.bb,e.u-=8;k(e)&&(e.h=1,e.u=0)}function b(e,n){if(t(0<=n),!e.h&&n<=qn){var r=S(e)&zn[n];return e.u+=n,y(e),r}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function x(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function S(e){return e.Ra>>>(e.u&Un-1)>>>0}function k(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Un}function A(e,t){e.u=t,e.h=k(e)}function N(e){e.u>=Wn&&(t(e.u>=Wn),y(e))}function P(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function L(e){return g(e,1)}function _(e,t){var n=e.Ca;0>e.b&&P(e);var r=e.b,i=n*t>>>8,o=(e.I>>>r>i)+0;for(o?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Hn[r],e.b-=r,e.Ca=(n<<r)-1,o}
vendor: 33,620 bytes, line 2
2function C(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function E(e,t){return e[t+0]<<0|e[t+1]<<8}function F(e,t){return E(e,t)|e[t+2]<<16}function O(e,t){return E(e,t)|E(e,t+2)<<16}function T(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=o(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function M(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function I(){this.X=[],this.Xa=this.Mb=0}function j(e,n,r,i){t(null!=r),t(null!=i);var o=r[0],a=i[0];return 0==o&&(o=(e*a+n/2)/n),0==a&&(a=(n*o+e/2)/e),0>=o||0>=a?0:(r[0]=o,i[0]=a,1)}function R(e,t){return e+(1<<t)-1>>>t}function D(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function B(t,n){e[n]=function(n,r,i,o,a,s,l){var u;for(u=0;u<a;++u){var c=e[t](s[l+u-1],i,o+u);s[l+u]=D(n[r+u],c)}}}function z(){this.ud=this.hd=this.jd=0}function q(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function U(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function W(e,t){return U(e+(e-t+.5>>1))}function H(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function V(e,t,n,r,i,o,a){for(r=o[a-1],n=0;n<i;++n)o[a+n]=r=D(e[t+n],r)}function G(e,t,n,r,i){var o;for(o=0;o<n;++o){var a=e[t+o],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));r[i+o]=(4278255360&a)+l>>>0}}function Z(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function Y(e,t,n,r,i,o){var a;for(a=0;a<r;++a){var s=t[n+a],l=s>>>8,u=s,c=255&(c=(c=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));u=255&(u=(u+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(c<<16)+u}}function J(t,n,r,i,o){e[n]=function(e,t,n,r,a,s,l,u,c){for(r=l;r<u;++r)for(l=0;l<c;++l)a[s++]=o(n[i(e[t++])])},e[t]=function(t,n,a,s,l,u,c){var f=8>>t.b,d=t.Ea,h=t.K[0],p=t.w;if(8>f)for(t=(1<<t.b)-1,p=(1<<f)-1;n<a;++n){var g,m=0;for(g=0;g<d;++g)g&t||(m=i(s[l++])),u[c++]=o(h[m&p]),m>>=f}else e["VP8LMapColor"+r](s,l,h,p,u,c,n,a,d)}}function $(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255}}function K(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255,r[i++]=o>>24&255}}function X(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;r[i++]=o,r[i++]=a}}function Q(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[i++]=o,r[i++]=a}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>0&255,r[i++]=o>>8&255,r[i++]=o>>16&255}}function te(e,t,n,i,o,a){if(0==a)for(n=t+n;t<n;)C(i,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else r(i,o,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Wr||e==Hr||e==Vr||e==Gr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ue(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var n=e.T,i=t.ba.f.RGBA,o=i.eb,a=i.fb+e.ka*i.A,s=vi[t.ba.S],l=e.y,u=e.O,c=e.f,f=e.N,d=e.ea,h=e.W,p=t.cc,g=t.dc,m=t.Mc,v=t.Nc,y=e.ka,b=e.ka+e.T,w=e.U,x=w+1>>1;for(0==y?s(l,u,null,null,c,f,d,h,c,f,d,h,o,a,null,null,w):(s(t.ec,t.fc,l,u,p,g,m,v,c,f,d,h,o,a-i.A,o,a,w),++n);y+2<b;y+=2)p=c,g=f,m=d,v=h,f+=e.Rc,h+=e.Rc,a+=2*i.A,s(l,(u+=2*e.fa)-e.fa,l,u,p,g,m,v,c,f,d,h,o,a-i.A,o,a,w);return u+=e.fa,e.j+b<e.o?(r(t.ec,t.fc,l,u,w),r(t.cc,t.dc,c,f,x),r(t.Mc,t.Nc,d,h,x),n--):1&b||s(l,u,null,null,c,f,d,h,c,f,d,h,o,a+i.A,null,null,w),n}function fe(e,n,r){var i=e.F,o=[e.J];if(null!=i){var a=e.U,s=n.ba.S,l=s==zr||s==Vr;n=n.ba.f.RGBA;var u=[0],c=e.ka;u[0]=e.T,e.Kb&&(0==c?--u[0]:(--c,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(u[0]=e.o-e.j-c));var f=n.eb;c=n.fb+c*n.A,e=Nr(i,o[0],e.width,a,u,f,c+(l?0:3),n.A),t(r==u),e&&re(s)&&kr(f,c,l,a,u,n.A)}return 0}function de(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==Rr||n==Br||n==zr||n==qr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!jn(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&bn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ue,e.Kb){if(n=e.U+1>>1,t.memory=o(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ce,bn()}}else alert("todo:EmitYUV");i&&(t.Jb=fe,r&&vn())}if(r&&!Fi){for(e=0;256>e;++e)Oi[e]=89858*(e-128)+Pi>>Ni,Ii[e]=-22014*(e-128)+Pi,Mi[e]=-45773*(e-128),Ti[e]=113618*(e-128)+Pi>>Ni;for(e=Li;e<_i;++e)t=76283*(e-16)+Pi>>Ni,ji[e-Li]=Ve(t,255),Ri[e-Li]=Ve(t+8>>4,15);Fi=1}return 1}function he(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function pe(e){e.ma.memory=null}function ge(e,t,n,r){return 47!=b(e,8)?0:(t[0]=b(e,14)+1,n[0]=b(e,14)+1,r[0]=b(e,1),0!=b(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+b(t,n)+1}function ve(e,t){return 120<t?t-120:1<=(n=((n=Xr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ye(e,t,n){var r=S(n),i=e[t+=255&r].g-8;return 0<i&&(A(n,n.u+8),r=S(n),t+=e[t].value,t+=r&(1<<i)-1),A(n,n.u+e[t].g),e[t].value}function be(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function we(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function xe(e,n,i,o){var a=e.ab,s=e.c*n,l=e.C;n=l+n;var u=i,c=o;for(o=e.Ta,i=e.Ua;0<a--;){var f=e.gc[a],d=l,h=n,p=u,g=c,m=(c=o,u=i,f.Ea);switch(t(d<h),t(h<=f.nc),f.hc){case 2:Zn(p,g,(h-d)*m,c,u);break;case 0:var v=d,y=h,b=c,w=u,x=(P=f).Ea;0==v&&(Vn(p,g,null,null,1,b,w),V(p,g+1,0,0,x-1,b,w+1),g+=x,w+=x,++v);for(var S=1<<P.b,k=S-1,A=R(x,P.b),N=P.K,P=P.w+(v>>P.b)*A;v<y;){var L=N,_=P,C=1;for(Gn(p,g,b,w-x,1,b,w);C<x;){var E=(C&~k)+S;E>x&&(E=x),(0,Xn[L[_++]>>8&15])(p,g+ +C,b,w+C-x,E-C,b,w+C),C=E}g+=x,w+=x,++v&k||(P+=A)}h!=f.nc&&r(c,u-m,c,u+(h-d-1)*m,m);break;case 1:for(m=p,y=g,x=(p=f.Ea)-(w=p&~(b=(g=1<<f.b)-1)),v=R(p,f.b),S=f.K,f=f.w+(d>>f.b)*v;d<h;){for(k=S,A=f,N=new z,P=y+w,L=y+p;y<P;)Z(k[A++],N),Qn(N,m,y,g,c,u),y+=g,u+=g;y<L&&(Z(k[A++],N),Qn(N,m,y,x,c,u),y+=x,u+=x),++d&b||(f+=v)}break;case 3:if(p==c&&g==u&&0<f.b){for(y=c,p=m=u+(h-d)*m-(w=(h-d)*R(f.Ea,f.b)),g=c,b=u,v=[],w=(x=w)-1;0<=w;--w)v[w]=g[b+w];for(w=x-1;0<=w;--w)y[p+w]=v[w];Yn(f,d,h,c,m,c,u)}else Yn(f,d,h,p,g,c,u)}u=o,c=i}c!=i&&r(o,i,u,c,s)}function Se(e,n){var r=e.V,i=e.Ba+e.c*e.C,o=n-e.C;if(t(n<=e.l.o),t(16>=o),0<o){var a=e.l,s=e.Ta,l=e.Ua,u=a.width;if(xe(e,o,r,i),o=l=[l],t((r=e.C)<(i=n)),t(a.v<a.va),i>a.o&&(i=a.o),r<a.j){var c=a.j-r;r=a.j,o[0]+=c*u}if(r>=i?r=0:(o[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var f=r.f.RGBA,d=(i=r.S,o=a.U,a=a.T,c=f.eb,f.A),h=a;for(f=f.fb+e.Ma*f.A;0<h--;){var p=s,g=l,m=o,v=c,y=f;switch(i){case jr:er(p,g,m,v,y);break;case Rr:tr(p,g,m,v,y);break;case Wr:tr(p,g,m,v,y),kr(v,y,0,m,1,0);break;case Dr:ir(p,g,m,v,y);break;case Br:te(p,g,m,v,y,1);break;case Hr:te(p,g,m,v,y,1),kr(v,y,0,m,1,0);break;case zr:te(p,g,m,v,y,0);break;case Vr:te(p,g,m,v,y,0),kr(v,y,1,m,1,0);break;case qr:nr(p,g,m,v,y);break;case Gr:nr(p,g,m,v,y),Ar(v,y,m,1,0);break;case Ur:rr(p,g,m,v,y);break;default:t(0)}l+=u,f+=d}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function ke(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Ae(e,n,r,i,o,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=mi[e.Z]);n<r;++n)mi[e.Z](s,l,i,o,i,o,a),s=i,l=o,o+=a;e.qd=s,e.rd=l}}function Ne(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var o=e.l.width,a=r.ca,s=r.tb+o*i,l=e.V,u=e.Ba+e.c*i,c=e.gc;t(1==e.ab),t(3==c[0].hc),$n(c[0],i,n,l,u,a,s),Ae(r,i,n,a,s,o)}e.C=e.Ma=n}function Pe(e,n,r,i,o,a,s){var l=e.$/i,u=e.$%i,c=e.m,f=e.s,d=r+e.$,h=d;o=r+i*o;var p=r+i*a,g=280+f.ua,m=e.Pb?l:16777216,v=0<f.ua?f.Wa:null,y=f.wc,b=d<p?we(f,u,l):null;t(e.C<a),t(p<=o);var w=!1;e:for(;;){for(;w||d<p;){var x=0;if(l>=m){var P=d-r;t((m=e).Pb),m.wd=m.m,m.xd=P,0<m.s.ua&&M(m.s.Wa,m.s.vb),m=l+ei}if(u&y||(b=we(f,u,l)),t(null!=b),b.Qb&&(n[d]=b.qb,w=!0),!w)if(N(c),b.jc){x=c,P=n;var L=d,_=b.pd[S(x)&Bn-1];t(b.jc),256>_.g?(A(x,x.u+_.g),P[L]=_.value,x=0):(A(x,x.u+_.g-256),t(256<=_.value),x=_.value),0==x&&(w=!0)}else x=ye(b.G[0],b.H[0],c);if(c.h)break;if(w||256>x){if(!w)if(b.nd)n[d]=(b.qb|x<<8)>>>0;else{if(N(c),w=ye(b.G[1],b.H[1],c),N(c),P=ye(b.G[2],b.H[2],c),L=ye(b.G[3],b.H[3],c),c.h)break;n[d]=(L<<24|w<<16|x<<8|P)>>>0}if(w=!1,++d,++u>=i&&(u=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=v))for(;h<d;)x=n[h++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else if(280>x){if(x=me(x-256,c),P=ye(b.G[4],b.H[4],c),N(c),P=ve(i,P=me(P,c)),c.h)break;if(d-r<P||o-d<x)break e;for(L=0;L<x;++L)n[d+L]=n[d+L-P];for(d+=x,u+=x;u>=i;)u-=i,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(d<=o),u&y&&(b=we(f,u,l)),null!=v)for(;h<d;)x=n[h++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else{if(!(x<g))break e;for(w=x-280,t(null!=v);h<d;)x=n[h++],v.X[(506832829*x&4294967295)>>>v.Mb]=x;x=d,t(!(w>>>(P=v).Xa)),n[x]=P.X[w],w=!0}w||t(c.h==k(c))}if(e.Pb&&c.h&&d<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&M(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=d-r}return 1}return e.a=3,0}function Le(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function _e(){var t=new sn;return null==t?null:(t.a=0,t.xb=gi,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Zn=G,Qn=Y,er=$,tr=K,nr=X,rr=Q,ir=ee,e.VP8LMapColor32b=Jn,e.VP8LMapColor8b=Kn,t)}function Ce(e,n,r,s,l){var u=1,d=[e],p=[n],g=s.m,m=s.s,v=null,y=0;e:for(;;){if(r)for(;u&&b(g,1);){var w=d,x=p,k=s,P=1,L=k.m,_=k.gc[k.ab],C=b(L,2);if(k.Oc&1<<C)u=0;else{switch(k.Oc|=1<<C,_.hc=C,_.Ea=w[0],_.nc=x[0],_.K=[null],++k.ab,t(4>=k.ab),C){case 0:case 1:_.b=b(L,3)+2,P=Ce(R(_.Ea,_.b),R(_.nc,_.b),0,k,_.K),_.K=_.K[0];break;case 3:var E,F=b(L,8)+1,O=16<F?0:4<F?1:2<F?2:3;if(w[0]=R(_.Ea,O),_.b=O,E=P=Ce(F,1,0,k,_.K)){var M,I=F,j=_,B=1<<(8>>j.b),z=o(B);if(null==z)E=0;else{var q=j.K[0],U=j.w;for(z[0]=j.K[0][0],M=1;M<1*I;++M)z[M]=D(q[U+M],z[M-1]);for(;M<4*B;++M)z[M]=0;j.K[0]=null,j.K[0]=z,E=1}}P=E;break;case 2:break;default:t(0)}u=P}}if(d=d[0],p=p[0],u&&b(g,1)&&!(u=1<=(y=b(g,4))&&11>=y)){s.a=3;break e}var W;if(W=u)t:{var H,V,G,Z=s,Y=d,J=p,$=y,K=r,X=Z.m,Q=Z.s,ee=[null],te=1,ne=0,re=Qr[$];n:for(;;){if(K&&b(X,1)){var ie=b(X,3)+2,oe=R(Y,ie),ae=R(J,ie),se=oe*ae;if(!Ce(oe,ae,0,Z,ee))break n;for(ee=ee[0],Q.xc=ie,H=0;H<se;++H){var le=ee[H]>>8&65535;ee[H]=le,le>=te&&(te=le+1)}}if(X.h)break n;for(V=0;5>V;++V){var ue=Jr[V];!V&&0<$&&(ue+=1<<$),ne<ue&&(ne=ue)}var ce=a(te*re,f),fe=te,de=a(fe,h);if(null==de)var he=null;else t(65536>=fe),he=de;var pe=o(ne);if(null==he||null==pe||null==ce){Z.a=1;break n}var ge=ce;for(H=G=0;H<te;++H){var me=he[H],ve=me.G,ye=me.H,we=0,xe=1,Se=0;for(V=0;5>V;++V){ue=Jr[V],ve[V]=ge,ye[V]=G,!V&&0<$&&(ue+=1<<$);r:{var ke,Ae=ue,Ne=Z,_e=pe,Ee=ge,Fe=G,Oe=0,Te=Ne.m,Me=b(Te,1);if(i(_e,0,0,Ae),Me){var Ie=b(Te,1)+1,je=b(Te,1),Re=b(Te,0==je?1:8);_e[Re]=1,2==Ie&&(_e[Re=b(Te,8)]=1);var De=1}else{var Be=o(19),ze=b(Te,4)+4;if(19<ze){Ne.a=3;var qe=0;break r}for(ke=0;ke<ze;++ke)Be[Kr[ke]]=b(Te,3);var Ue=void 0,We=void 0,He=Ne,Ve=Be,Ge=Ae,Ze=_e,Ye=0,Je=He.m,$e=8,Ke=a(128,f);i:for(;c(Ke,0,7,Ve,19);){if(b(Je,1)){var Xe=2+2*b(Je,3);if((Ue=2+b(Je,Xe))>Ge)break i}else Ue=Ge;for(We=0;We<Ge&&Ue--;){N(Je);var Qe=Ke[0+(127&S(Je))];A(Je,Je.u+Qe.g);var et=Qe.value;if(16>et)Ze[We++]=et,0!=et&&($e=et);else{var tt=16==et,nt=et-16,rt=Yr[nt],it=b(Je,Zr[nt])+rt;if(We+it>Ge)break i;for(var ot=tt?$e:0;0<it--;)Ze[We++]=ot}}Ye=1;break i}Ye||(He.a=3),De=Ye}(De=De&&!Te.h)&&(Oe=c(Ee,Fe,8,_e,Ae)),De&&0!=Oe?qe=Oe:(Ne.a=3,qe=0)}if(0==qe)break n;if(xe&&1==$r[V]&&(xe=0==ge[G].g),we+=ge[G].g,G+=qe,3>=V){var at,st=pe[0];for(at=1;at<ue;++at)pe[at]>st&&(st=pe[at]);Se+=st}}if(me.nd=xe,me.Qb=0,xe&&(me.qb=(ve[3][ye[3]+0].value<<24|ve[1][ye[1]+0].value<<16|ve[2][ye[2]+0].value)>>>0,0==we&&256>ve[0][ye[0]+0].value&&(me.Qb=1,me.qb+=ve[0][ye[0]+0].value<<8)),me.jc=!me.Qb&&6>Se,me.jc){var lt,ut=me;for(lt=0;lt<Bn;++lt){var ct=lt,ft=ut.pd[ct],dt=ut.G[0][ut.H[0]+ct];256<=dt.value?(ft.g=dt.g+256,ft.value=dt.value):(ft.g=0,ft.value=0,ct>>=be(dt,8,ft),ct>>=be(ut.G[1][ut.H[1]+ct],16,ft),ct>>=be(ut.G[2][ut.H[2]+ct],0,ft),be(ut.G[3][ut.H[3]+ct],24,ft))}}}Q.vc=ee,Q.Wb=te,Q.Ya=he,Q.yc=ce,W=1;break t}W=0}if(!(u=W)){s.a=3;break e}if(0<y){if(m.ua=1<<y,!T(m.Wa,y)){s.a=1,u=0;break e}}else m.ua=0;var ht=s,pt=d,gt=p,mt=ht.s,vt=mt.xc;if(ht.c=pt,ht.i=gt,mt.md=R(pt,vt),mt.wc=0==vt?-1:(1<<vt)-1,r){s.xb=pi;break e}if(null==(v=o(d*p))){s.a=1,u=0;break e}u=(u=Pe(s,v,0,d,p,p,null))&&!g.h;break e}return u?(null!=l?l[0]=v:(t(null==v),t(r)),s.$=0,r||Le(m)):Le(m),u}function Ee(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=o(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Fe(e,n){var r=e.C,i=n-r,o=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,u=e.l.width,c=u*s,f=l.ca,d=l.tb+u*r,h=e.Ta,p=e.Ua;xe(e,s,o,a),Pr(h,p,f,d,c),Ae(l,r,r+s,f,d,u),i-=s,o+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Oe(){this.ub=this.yd=this.td=this.Rb=0}function Te(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Me(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Ie(){this.Yb=function(){var e=[];return function e(t,n,r){for(var i=r[n],o=0;o<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));o++)e(t[o],n+1,r)}(e,0,[3,11]),e}()}function je(){this.jb=o(3),this.Wc=s([4,8],Ie),this.Xc=s([4,17],Ie)}function Re(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function De(){this.ld=this.La=this.dd=this.tc=0}function Be(){this.Na=this.la=0}function ze(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function qe(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ue(){this.uc=this.M=this.Nb=0,this.wa=Array(new De),this.Y=0,this.ya=Array(new qe),this.aa=0,this.l=new Ge}function We(){this.y=o(16),this.f=o(8),this.ea=o(8)}function He(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Oe,this.Kc=new Te,this.ed=new Re,this.Qa=new Me,this.Ic=this.$c=this.Aa=0,this.D=new Ue,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,ze),this.Pa=new je,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new We),this.Hd=0,this.rb=Array(new Be),this.sb=0,this.wa=Array(new De),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new qe),this.L=this.aa=0,this.gd=s([4,2],De),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ve(e,t){return 0>e?0:e>t?t:e}function Ge(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ze(){var e=new He;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ri||(ri=Ke)),e}function Ye(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Je(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function $e(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ye(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,a=n.ha;if(4>a)return Ye(e,7,"Truncated header.");var s=r[o+0]|r[o+1]<<8|r[o+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Ye(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ye(e,4,"Frame not displayable.");o+=3,a-=3;var u=e.Kc;if(l.Rb){if(7>a)return Ye(e,7,"cannot parse picture header");if(!Je(r,o,a))return Ye(e,3,"Bad code word");u.c=16383&(r[o+4]<<8|r[o+3]),u.Td=r[o+4]>>6,u.i=16383&(r[o+6]<<8|r[o+5]),u.Ud=r[o+6]>>6,o+=7,a-=7,e.za=u.c+15>>4,e.Ub=u.i+15>>4,n.width=u.c,n.height=u.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(l.ub>a)return Ye(e,7,"bad partition length");p(s=e.m,r,o,l.ub),o+=l.ub,a-=l.ub,l.Rb&&(u.Ld=L(s),u.Kd=L(s)),u=e.Qa;var c,f=e.Pa;if(t(null!=s),t(null!=u),u.Cb=L(s),u.Cb){if(u.Bb=L(s),L(s)){for(u.Fb=L(s),c=0;4>c;++c)u.Zb[c]=L(s)?m(s,7):0;for(c=0;4>c;++c)u.Lb[c]=L(s)?m(s,6):0}if(u.Bb)for(c=0;3>c;++c)f.jb[c]=L(s)?g(s,8):255}else u.Bb=0;if(s.Ka)return Ye(e,3,"cannot parse segment header");if((u=e.ed).zd=L(s),u.Tb=g(s,6),u.wb=g(s,3),u.Pc=L(s),u.Pc&&L(s)){for(f=0;4>f;++f)L(s)&&(u.vd[f]=m(s,6));for(f=0;4>f;++f)L(s)&&(u.od[f]=m(s,6))}if(e.L=0==u.Tb?0:u.zd?1:2,s.Ka)return Ye(e,3,"cannot parse filter header");var d=a;if(a=c=o,o=c+d,u=d,e.Xb=(1<<g(e.m,2))-1,d<3*(f=e.Xb))r=7;else{for(c+=3*f,u-=3*f,d=0;d<f;++d){var h=r[a+0]|r[a+1]<<8|r[a+2]<<16;h>u&&(h=u),p(e.Jc[+d],r,c,h),c+=h,u-=h,a+=3}p(e.Jc[+f],r,c,u),r=c<o?0:5}if(0!=r)return Ye(e,r,"cannot parse partitions");for(r=g(c=e.m,7),a=L(c)?m(c,4):0,o=L(c)?m(c,4):0,u=L(c)?m(c,4):0,f=L(c)?m(c,4):0,c=L(c)?m(c,4):0,d=e.Qa,h=0;4>h;++h){if(d.Cb){var v=d.Zb[h];d.Fb||(v+=r)}else{if(0<h){e.pb[h]=e.pb[0];continue}v=r}var y=e.pb[h];y.Sc[0]=ti[Ve(v+a,127)],y.Sc[1]=ni[Ve(v+0,127)],y.Eb[0]=2*ti[Ve(v+o,127)],y.Eb[1]=101581*ni[Ve(v+u,127)]>>16,8>y.Eb[1]&&(y.Eb[1]=8),y.Qc[0]=ti[Ve(v+f,117)],y.Qc[1]=ni[Ve(v+c,127)],y.lc=v+c}if(!l.Rb)return Ye(e,4,"Not a key frame.");for(L(s),l=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(o=0;3>o;++o)for(u=0;11>u;++u)f=_(s,ui[r][a][o][u])?g(s,8):si[r][a][o][u],l.Wc[r][a].Yb[o][u]=f;for(a=0;17>a;++a)l.Xc[r][a]=l.Wc[r][ci[a]]}return e.kc=L(s),e.kc&&(e.Bd=g(s,8)),e.cb=1}function Ke(e,t,n,r,i,o,a){var s=t[i].Yb[n];for(n=0;16>i;++i){if(!_(e,s[n+0]))return i;for(;!_(e,s[n+1]);)if(s=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(_(e,s[n+2])){var u=e,c=0;if(_(u,(d=s)[(f=n)+3]))if(_(u,d[f+6])){for(s=0,f=2*(c=_(u,d[f+8]))+(d=_(u,d[f+9+c])),c=0,d=ii[f];d[s];++s)c+=c+_(u,d[s]);c+=3+(8<<f)}else _(u,d[f+7])?(c=7+2*_(u,165),c+=_(u,145)):c=5+_(u,159);else c=_(u,d[f+4])?3+_(u,d[f+5]):2;s=l[2]}else c=1,s=l[1];l=a+oi[i],0>(u=e).b&&P(u);var f,d=u.b,h=(f=u.Ca>>1)-(u.I>>d)>>31;--u.b,u.Ca+=h,u.Ca|=1,u.I-=(f+1&h)<<d,o[l]=((c^h)-h)*r[(0<i)+0]}return 16}function Xe(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,n){if(null==e)return 0;if(null==n)return Ye(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!$e(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Bi[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var u;if(e.Qa.Cb){var c=e.Qa.Lb[s];e.Qa.Fb||(c+=l.Tb)}else c=l.Tb;for(u=0;1>=u;++u){var f=e.gd[s][u],d=c;if(l.Pc&&(d+=l.vd[0],u&&(d+=l.od[0])),0<(d=0>d?0:63<d?63:d)){var h=d;0<l.wb&&(h=4<l.wb?h>>2:h>>1)>9-l.wb&&(h=9-l.wb),1>h&&(h=1),f.dd=h,f.tc=2*d+h,f.ld=40<=d?2:15<=d?1:0}else f.tc=0;f.La=u}}}s=0}else Ye(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=qi);e:{s=e.Ic,l=4*(h=e.za);var p=32*h,g=h+1,m=0<e.L?h*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*h;if((f=l+832+(u=3*(16*s+Bi[e.L])/2*p)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=f)s=0;else{if(f>e.Vb){if(e.Vb=0,e.Ec=o(f),e.Fc=0,null==e.Ec){s=Ye(e,1,"no memory during frame initialization.");break e}e.Vb=f}f=e.Ec,d=e.Fc,e.Ac=f,e.Bc=d,d+=l,e.Gd=a(p,We),e.Hd=0,e.rb=a(g+1,Be),e.sb=1,e.wa=m?a(m,De):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=h),t(!0),e.oc=f,e.pc=d,d+=832,e.ya=a(v,qe),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=h),e.R=16*h,e.B=8*h,h=(p=Bi[e.L])*e.R,p=p/2*e.B,e.sa=f,e.ta=d+h,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,d+=u,e.mb=c?f:null,e.nb=c?d:null,t(d+c<=e.Fc+e.Vb),Xe(e),i(e.Ac,e.Bc,0,l),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Fr){for(s=-255;255>=s;++s)Lr[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)_r[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Cr[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Er[255+s]=0>s?0:255<s?255:s;Fr=1}or=ut,ar=ot,lr=at,ur=st,cr=lt,sr=it,fr=Yt,dr=Jt,hr=Xt,pr=Qt,gr=$t,mr=Kt,vr=en,yr=tn,br=Ut,wr=Wt,xr=Ht,Sr=Vt,di[0]=At,di[1]=ft,di[2]=St,di[3]=kt,di[4]=Nt,di[5]=Lt,di[6]=Pt,di[7]=_t,di[8]=Et,di[9]=Ct,fi[0]=vt,fi[1]=ht,fi[2]=pt,fi[3]=gt,fi[4]=yt,fi[5]=bt,fi[6]=wt,hi[0]=Mt,hi[1]=dt,hi[2]=Ft,hi[3]=Ot,hi[4]=jt,hi[5]=It,hi[6]=Rt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],l=e.m,u=e;for(a=0;a<u.za;++a){var c=l,f=u,d=f.Ac,h=f.Bc+4*a,p=f.zc,g=f.ya[f.aa+a];if(f.Qa.Bb?g.$b=_(c,f.Pa.jb[0])?2+_(c,f.Pa.jb[2]):_(c,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=_(c,f.Bd)),g.Za=!_(c,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var y,b=p[0+f];for(y=0;4>y;++y){b=li[d[h+y]][b];for(var w=ai[_(c,b[0])];0<w;)w=ai[2*w+_(c,b[w])];b=-w,d[h+y]=b}r(m,v,d,h,4),v+=4,p[0+f]=b}}else b=_(c,156)?_(c,128)?1:3:_(c,163)?2:0,g.Ob[0]=b,i(d,h,b,4),i(p,0,b,4);g.Dd=_(c,142)?_(c,114)?_(c,183)?1:3:2:0}if(u.m.Ka)return Ye(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(u=s,c=(l=e).rb[l.sb-1],d=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],h=l.kc?a.Ad:0)c.la=d.la=0,a.Za||(c.Na=d.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var x,S;if(c=d,d=u,h=l.Pa.Xc,p=l.ya[l.aa+l.ja],g=l.pb[p.$b],f=p.ad,m=0,v=l.rb[l.sb-1],b=y=0,i(f,m,0,384),p.Za)var k=0,A=h[3];else{w=o(16);var N=c.Na+v.Na;if(N=ri(d,h[1],N,g.Eb,0,w,0),c.Na=v.Na=(0<N)+0,1<N)or(w,0,f,m);else{var P=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=P}k=1,A=h[0]}var L=15&c.la,C=15&v.la;for(w=0;4>w;++w){var E=1&C;for(P=S=0;4>P;++P)L=L>>1|(E=(N=ri(d,A,N=E+(1&L),g.Sc,k,f,m))>k)<<7,S=S<<2|(3<N?3:1<N?2:0!=f[m+0]),m+=16;L>>=4,C=C>>1|E<<7,y=(y<<8|S)>>>0}for(A=L,k=C>>4,x=0;4>x;x+=2){for(S=0,L=c.la>>4+x,C=v.la>>4+x,w=0;2>w;++w){for(E=1&C,P=0;2>P;++P)N=E+(1&L),L=L>>1|(E=0<(N=ri(d,h[2],N,g.Qc,0,f,m)))<<3,S=S<<2|(3<N?3:1<N?2:0!=f[m+0]),m+=16;L>>=2,C=C>>1|E<<5}b|=S<<4*x,A|=L<<4<<x,k|=(240&C)<<x}c.la=A,v.la=k,p.Hc=y,p.Gc=b,p.ia=43690&b?0:g.ia,h=!(y|b)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!h),u.Ka)return Ye(e,7,"Premature end-of-file encountered.")}if(Xe(e),l=n,u=1,a=(s=e).D,c=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(a.M=s.M,a.uc=c,Mn(s,a),u=1,a=(S=s.D).Nb,c=(b=Bi[s.L])*s.R,d=b/2*s.B,w=16*a*s.R,P=8*a*s.B,h=s.sa,p=s.ta-c+w,g=s.qa,f=s.ra-d+P,m=s.Ha,v=s.Ia-d+P,C=0==(L=S.M),y=L>=s.Va-1,2==s.Aa&&Mn(s,S),S.uc)for(E=(N=s).D.M,t(N.D.uc),S=N.yb;S<N.Hb;++S){k=S,A=E;var F=(O=(q=N).D).Nb;x=q.R;var O=O.wa[O.Y+k],T=q.sa,M=q.ta+16*F*x+16*k,I=O.dd,j=O.tc;if(0!=j)if(t(3<=j),1==q.L)0<k&&wr(T,M,x,j+4),O.La&&Sr(T,M,x,j),0<A&&br(T,M,x,j+4),O.La&&xr(T,M,x,j);else{var R=q.B,D=q.qa,B=q.ra+8*F*R+8*k,z=q.Ha,q=q.Ia+8*F*R+8*k;F=O.ld,0<k&&(dr(T,M,x,j+4,I,F),pr(D,B,z,q,R,j+4,I,F)),O.La&&(mr(T,M,x,j,I,F),yr(D,B,z,q,R,j,I,F)),0<A&&(fr(T,M,x,j+4,I,F),hr(D,B,z,q,R,j+4,I,F)),O.La&&(gr(T,M,x,j,I,F),vr(D,B,z,q,R,j,I,F))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(S=16*L,L=16*(L+1),C?(l.y=s.sa,l.O=s.ta+w,l.f=s.qa,l.N=s.ra+P,l.ea=s.Ha,l.W=s.Ia+P):(S-=b,l.y=h,l.O=p,l.f=g,l.N=f,l.ea=m,l.W=v),y||(L-=b),L>l.o&&(L=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&S<L&&(l.J=dn(s,l,S,L-S),l.F=s.mb,null==l.F&&0==l.F.length)){u=Ye(s,3,"Could not decode alpha data.");break e}S<l.j&&(b=l.j-S,S=l.j,t(!(1&b)),l.O+=s.R*b,l.N+=s.B*(b>>1),l.W+=s.B*(b>>1),null!=l.F&&(l.J+=l.width*b)),S<L&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=S-l.j,l.U=l.va-l.v,l.T=L-S,u=l.put(l))}a+1!=s.Ic||y||(r(s.sa,s.ta-c,h,p+16*s.R,c),r(s.qa,s.ra-d,g,f+8*s.B,d),r(s.Ha,s.Ia-d,m,v+8*s.B,d))}if(!u)return Ye(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0}function et(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function tt(e,t,n,r,i,o){et(e,t,0,n,r+i),et(e,t,1,n,r+o),et(e,t,2,n,r-o),et(e,t,3,n,r-i)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var i,a=0,s=o(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],u=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-nt(e[t+12]),f=nt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+f,s[a+1]=u+c,s[a+2]=u-c,s[a+3]=l-f,a+=4,t++}for(i=a=0;4>i;++i)l=(e=s[a+0]+4)+s[a+8],u=e-s[a+8],c=(35468*s[a+4]>>16)-nt(s[a+12]),et(n,r,0,0,l+(f=nt(s[a+4])+(35468*s[a+12]>>16))),et(n,r,1,0,u+c),et(n,r,2,0,u-c),et(n,r,3,0,l-f),a++,r+=32}function it(e,t,n,r){var i=e[t+0]+4,o=35468*e[t+4]>>16,a=nt(e[t+4]),s=35468*e[t+1]>>16;tt(n,r,0,i+a,e=nt(e[t+1]),s),tt(n,r,1,i+o,e,s),tt(n,r,2,i-o,e,s),tt(n,r,3,i-a,e,s)}function ot(e,t,n,r,i){rt(e,t,n,r),i&&rt(e,t+16,n,r+4)}function at(e,t,n,r){ar(e,t+0,n,r,1),ar(e,t+32,n,r+128,1)}function st(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(n,r,t,i,e)}function lt(e,t,n,r){e[t+0]&&ur(e,t+0,n,r),e[t+16]&&ur(e,t+16,n,r+4),e[t+32]&&ur(e,t+32,n,r+128),e[t+48]&&ur(e,t+48,n,r+128+4)}function ut(e,t,n,r){var i,a=o(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],u=e[t+4+i]-e[t+8+i],c=e[t+0+i]-e[t+12+i];a[0+i]=s+l,a[8+i]=s-l,a[4+i]=c+u,a[12+i]=c-u}for(i=0;4>i;++i)s=(e=a[0+4*i]+3)+a[3+4*i],l=a[1+4*i]+a[2+4*i],u=a[1+4*i]-a[2+4*i],c=e-a[3+4*i],n[r+0]=s+l>>3,n[r+16]=c+u>>3,n[r+32]=s-l>>3,n[r+48]=c-u>>3,r+=64}function ct(e,t,n){var r,i=t-32,o=Mr,a=255-e[i-1];for(r=0;r<n;++r){var s,l=o,u=a+e[t-1];for(s=0;s<n;++s)e[t+s]=l[u+e[i+s]];t+=32}}function ft(e,t){ct(e,t,4)}function dt(e,t){ct(e,t,8)}function ht(e,t){ct(e,t,16)}function pt(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function gt(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function mt(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function vt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];mt(r>>5,e,t)}function yt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];mt(r>>4,e,t)}function bt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];mt(r>>4,e,t)}function wt(e,t){mt(128,e,t)}function xt(e,t,n){return e+2*t+n+2>>2}function St(e,t){var n,i=t-32;for(i=new Uint8Array([xt(e[i-1],e[i+0],e[i+1]),xt(e[i+0],e[i+1],e[i+2]),xt(e[i+1],e[i+2],e[i+3]),xt(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function kt(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];C(e,t+0,16843009*xt(e[t-1-32],n,r)),C(e,t+32,16843009*xt(n,r,i)),C(e,t+64,16843009*xt(r,i,o)),C(e,t+96,16843009*xt(i,o,o))}function At(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function Nt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+96]=xt(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=xt(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=xt(o,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=xt(a,o,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=xt(s,a,o),e[t+3+32]=e[t+2+0]=xt(l,s,a),e[t+3+0]=xt(u,l,s)}function Pt(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],o=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=xt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=xt(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=xt(r,i,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=xt(i,o,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=xt(o,a,s),e[t+3+64]=e[t+2+96]=xt(a,s,l),e[t+3+96]=xt(s,l,l)}function Lt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+0]=e[t+1+64]=o+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+u+1>>1,e[t+0+96]=xt(i,r,n),e[t+0+64]=xt(r,n,o),e[t+0+32]=e[t+1+96]=xt(n,o,a),e[t+1+32]=e[t+2+96]=xt(o,a,s),e[t+2+32]=e[t+3+96]=xt(a,s,l),e[t+3+32]=xt(s,l,u)}function _t(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],o=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],u=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+o+1>>1,e[t+3+0]=e[t+2+64]=o+a+1>>1,e[t+0+32]=xt(n,r,i),e[t+1+32]=e[t+0+96]=xt(r,i,o),e[t+2+32]=e[t+1+96]=xt(i,o,a),e[t+3+32]=e[t+2+96]=xt(o,a,s),e[t+3+64]=xt(a,s,l),e[t+3+96]=xt(s,l,u)}function Ct(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+o+1>>1,e[t+1+0]=xt(n,r,i),e[t+3+0]=e[t+1+32]=xt(r,i,o),e[t+3+32]=e[t+1+64]=xt(i,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Et(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],u=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=o+i+1>>1,e[t+3+0]=xt(s,l,u),e[t+2+0]=xt(a,s,l),e[t+1+0]=e[t+3+32]=xt(n,a,s),e[t+1+32]=e[t+3+64]=xt(r,n,a),e[t+1+64]=e[t+3+96]=xt(i,r,n),e[t+1+96]=xt(o,i,r)}function Ft(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Ot(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function Tt(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function Mt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Tt(r>>4,e,t)}function It(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Tt(r>>3,e,t)}function jt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Tt(r>>3,e,t)}function Rt(e,t){Tt(128,e,t)}function Dt(e,t,n){var r=e[t-n],i=e[t+0],o=3*(i-r)+Or[1020+e[t-2*n]-e[t+n]],a=Tr[112+(o+4>>3)];e[t-n]=Mr[255+r+Tr[112+(o+3>>3)]],e[t+0]=Mr[255+i-a]}function Bt(e,t,n,r){var i=e[t+0],o=e[t+n];return Ir[255+e[t-2*n]-e[t-n]]>r||Ir[255+o-i]>r}function zt(e,t,n,r){return 4*Ir[255+e[t-n]-e[t+0]]+Ir[255+e[t-2*n]-e[t+n]]<=r}function qt(e,t,n,r,i){var o=e[t-3*n],a=e[t-2*n],s=e[t-n],l=e[t+0],u=e[t+n],c=e[t+2*n],f=e[t+3*n];return 4*Ir[255+s-l]+Ir[255+a-u]>r?0:Ir[255+e[t-4*n]-o]<=i&&Ir[255+o-a]<=i&&Ir[255+a-s]<=i&&Ir[255+f-c]<=i&&Ir[255+c-u]<=i&&Ir[255+u-l]<=i}function Ut(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)zt(e,t+r,n,i)&&Dt(e,t+r,n)}function Wt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)zt(e,t+r*n,1,i)&&Dt(e,t+r*n,1)}function Ht(e,t,n,r){var i;for(i=3;0<i;--i)Ut(e,t+=4*n,n,r)}function Vt(e,t,n,r){var i;for(i=3;0<i;--i)Wt(e,t+=4,n,r)}function Gt(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(qt(e,t,n,o,a))if(Bt(e,t,n,s))Dt(e,t,n);else{var l=e,u=t,c=n,f=l[u-2*c],d=l[u-c],h=l[u+0],p=l[u+c],g=l[u+2*c],m=27*(y=Or[1020+3*(h-d)+Or[1020+f-p]])+63>>7,v=18*y+63>>7,y=9*y+63>>7;l[u-3*c]=Mr[255+l[u-3*c]+y],l[u-2*c]=Mr[255+f+v],l[u-c]=Mr[255+d+m],l[u+0]=Mr[255+h-m],l[u+c]=Mr[255+p-v],l[u+2*c]=Mr[255+g-y]}t+=r}}function Zt(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(qt(e,t,n,o,a))if(Bt(e,t,n,s))Dt(e,t,n);else{var l=e,u=t,c=n,f=l[u-c],d=l[u+0],h=l[u+c],p=Tr[112+(4+(g=3*(d-f))>>3)],g=Tr[112+(g+3>>3)],m=p+1>>1;l[u-2*c]=Mr[255+l[u-2*c]+m],l[u-c]=Mr[255+f+g],l[u+0]=Mr[255+d-p],l[u+c]=Mr[255+h-m]}t+=r}}function Yt(e,t,n,r,i,o){Gt(e,t,n,1,16,r,i,o)}function Jt(e,t,n,r,i,o){Gt(e,t,1,n,16,r,i,o)}function $t(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Zt(e,t+=4*n,n,1,16,r,i,o)}function Kt(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Zt(e,t+=4,1,n,16,r,i,o)}function Xt(e,t,n,r,i,o,a,s){Gt(e,t,i,1,8,o,a,s),Gt(n,r,i,1,8,o,a,s)}function Qt(e,t,n,r,i,o,a,s){Gt(e,t,1,i,8,o,a,s),Gt(n,r,1,i,8,o,a,s)}function en(e,t,n,r,i,o,a,s){Zt(e,t+4*i,i,1,8,o,a,s),Zt(n,r+4*i,i,1,8,o,a,s)}function tn(e,t,n,r,i,o,a,s){Zt(e,t+4,1,i,8,o,a,s),Zt(n,r+4,1,i,8,o,a,s)}function nn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function an(){this.ua=0,this.Wa=new I,this.vb=new I,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new h,this.yc=new f}function sn(){this.xb=this.a=0,this.l=new Ge,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new x,this.Pb=0,this.wd=new x,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new an,this.ab=0,this.gc=a(4,on),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ge,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function un(e,t,n,r,i,o,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)i[o+t]=e+n[r+t]&255,e=i[o+t]}function cn(e,t,n,r,i,o,a){var s;if(null==e)un(null,null,n,r,i,o,a);else for(s=0;s<a;++s)i[o+s]=e[t+s]+n[r+s]&255}function fn(e,t,n,r,i,o,a){if(null==e)un(null,null,n,r,i,o,a);else{var s,l=e[t+0],u=l,c=l;for(s=0;s<a;++s)u=c+(l=e[t+s])-u,c=n[r+s]+(-256&u?0>u?0:255:u)&255,u=l,i[o+s]=c}}function dn(e,n,i,a){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=a||i+a>l)return null;if(!e.Cc){if(null==e.ga){var u;if(e.ga=new ln,(u=null==e.ga)||(u=n.width*n.o,t(0==e.Gb.length),e.Gb=o(u),e.Uc=0,null==e.Gb?u=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,u=1),u=!u),!u){u=e.ga;var c=e.Fa,f=e.P,d=e.qc,h=e.mb,p=e.nb,g=f+1,m=d-1,y=u.l;if(t(null!=c&&null!=h&&null!=n),mi[0]=null,mi[1]=un,mi[2]=cn,mi[3]=fn,u.ca=h,u.tb=p,u.c=n.width,u.i=n.height,t(0<u.c&&0<u.i),1>=d)n=0;else if(u.$a=c[f+0]>>0&3,u.Z=c[f+0]>>2&3,u.Lc=c[f+0]>>4&3,f=c[f+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||f)n=0;else if(y.put=he,y.ac=de,y.bc=pe,y.ma=u,y.width=n.width,y.height=n.height,y.Da=n.Da,y.v=n.v,y.va=n.va,y.j=n.j,y.o=n.o,u.$a)e:{t(1==u.$a),n=_e();t:for(;;){if(null==n){n=0;break e}if(t(null!=u),u.mc=n,n.c=u.c,n.i=u.i,n.l=u.l,n.l.ma=u,n.l.width=u.c,n.l.height=u.i,n.a=0,v(n.m,c,g,m),!Ce(u.c,u.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&ke(n.s)?(u.ic=1,c=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(c),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(u.ic=0,n=Ee(n,u.c)
vendor: 4,474 bytes, line 2
2),!n)break t;n=1;break e}u.mc=null,n=0}else n=m>=u.c*u.i;u=!n}if(u)return null;1!=e.ga.Lc?e.Ga=0:a=l-i}t(null!=e.ga),t(i+a<=l);e:{if(n=(c=e.ga).c,l=c.l.o,0==c.$a){if(g=e.rc,m=e.Vc,y=e.Fa,f=e.P+1+i*n,d=e.mb,h=e.nb+i*n,t(f<=e.P+e.qc),0!=c.Z)for(t(null!=mi[c.Z]),u=0;u<a;++u)mi[c.Z](g,m,y,f,d,h,n),g=d,m=h,h+=n,f+=n;else for(u=0;u<a;++u)r(d,h,y,f,n),g=d,m=h,h+=n,f+=n;e.rc=g,e.Vc=m}else{if(t(null!=c.mc),n=i+a,t(null!=(u=c.mc)),t(n<=u.i),u.C>=n)n=1;else if(c.ic||vn(),c.ic){c=u.V,g=u.Ba,m=u.c;var b=u.i,w=(y=1,f=u.$/m,d=u.$%m,h=u.m,p=u.s,u.$),x=m*b,S=m*n,A=p.wc,P=w<S?we(p,d,f):null;t(w<=x),t(n<=b),t(ke(p));t:for(;;){for(;!h.h&&w<S;){if(d&A||(P=we(p,d,f)),t(null!=P),N(h),256>(b=ye(P.G[0],P.H[0],h)))c[g+w]=b,++w,++d>=m&&(d=0,++f<=n&&!(f%16)&&Ne(u,f));else{if(!(280>b)){y=0;break t}b=me(b-256,h);var L,_=ye(P.G[4],P.H[4],h);if(N(h),!(w>=(_=ve(m,_=me(_,h)))&&x-w>=b)){y=0;break t}for(L=0;L<b;++L)c[g+w+L]=c[g+w+L-_];for(w+=b,d+=b;d>=m;)d-=m,++f<=n&&!(f%16)&&Ne(u,f);w<S&&d&A&&(P=we(p,d,f))}t(h.h==k(h))}Ne(u,f>n?n:f);break t}!y||h.h&&w<x?(y=0,u.a=h.h?5:3):u.$=w,n=y}else n=Pe(u,u.V,u.Ba,u.c,u.i,n,Fe);if(!n){a=0;break e}}i+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}function hn(e,t,n,r,i,o){for(;0<i--;){var a,s=e,l=t+(n?1:0),u=e,c=t+(n?0:3);for(a=0;a<r;++a){var f=u[c+4*a];255!=f&&(f*=32897,s[l+4*a+0]=s[l+4*a+0]*f>>23,s[l+4*a+1]=s[l+4*a+1]*f>>23,s[l+4*a+2]=s[l+4*a+2]*f>>23)}t+=o}}function pn(e,t,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var a=e[t+2*o+0],s=15&(u=e[t+2*o+1]),l=4369*s,u=(240&u|u>>4)*l>>16;e[t+2*o+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*o+1]=240&u|s}t+=i}}function gn(e,t,n,r,i,o,a,s){var l,u,c=255;for(u=0;u<i;++u){for(l=0;l<r;++l){var f=e[t+l];o[a+4*l]=f,c&=f}t+=n,a+=s}return 255!=c}function mn(e,t,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=e[t+o]>>8}function vn(){kr=hn,Ar=pn,Nr=gn,Pr=mn}function yn(n,r,i){e[n]=function(e,n,o,a,s,l,u,c,f,d,h,p,g,m,v,y,b){var w,x=b-1>>1,S=s[l+0]|u[c+0]<<16,k=f[d+0]|h[p+0]<<16;t(null!=e);var A=3*S+k+131074>>2;for(r(e[n+0],255&A,A>>16,g,m),null!=o&&(A=3*k+S+131074>>2,r(o[a+0],255&A,A>>16,v,y)),w=1;w<=x;++w){var N=s[l+w]|u[c+w]<<16,P=f[d+w]|h[p+w]<<16,L=S+N+k+P+524296,_=L+2*(N+k)>>3;A=_+S>>1,S=(L=L+2*(S+P)>>3)+N>>1,r(e[n+2*w-1],255&A,A>>16,g,m+(2*w-1)*i),r(e[n+2*w-0],255&S,S>>16,g,m+(2*w-0)*i),null!=o&&(A=L+k>>1,S=_+P>>1,r(o[a+2*w-1],255&A,A>>16,v,y+(2*w-1)*i),r(o[a+2*w+0],255&S,S>>16,v,y+(2*w+0)*i)),S=N,k=P}1&b||(A=3*S+k+131074>>2,r(e[n+b-1],255&A,A>>16,g,m+(b-1)*i),null!=o&&(A=3*k+S+131074>>2,r(o[a+b-1],255&A,A>>16,v,y+(b-1)*i)))}}function bn(){vi[jr]=yi,vi[Rr]=wi,vi[Dr]=bi,vi[Br]=xi,vi[zr]=Si,vi[qr]=ki,vi[Ur]=Ai,vi[Wr]=wi,vi[Hr]=xi,vi[Vr]=Si,vi[Gr]=ki}function wn(e){return e&~Ei?0>e?0:255:e>>Ci}function xn(e,t){return wn((19077*e>>8)+(26149*t>>8)-14234)}function Sn(e,t,n){return wn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function kn(e,t){return wn((19077*e>>8)+(33050*t>>8)-17685)}function An(e,t,n,r,i){r[i+0]=xn(e,n),r[i+1]=Sn(e,t,n),r[i+2]=kn(e,t)}function Nn(e,t,n,r,i){r[i+0]=kn(e,t),r[i+1]=Sn(e,t,n),r[i+2]=xn(e,n)}function Pn(e,t,n,r,i){var o=Sn(e,t,n);t=o<<3&224|kn(e,t)>>3,r[i+0]=248&xn(e,n)|o>>5,r[i+1]=t}function Ln(e,t,n,r,i){var o=240&kn(e,t)|15;r[i+0]=240&xn(e,n)|Sn(e,t,n)>>4,r[i+1]=o}function _n(e,t,n,r,i){r[i+0]=255,An(e,t,n,r,i+1)}function Cn(e,t,n,r,i){Nn(e,t,n,r,i),r[i+3]=255}function En(e,t,n,r,i){An(e,t,n,r,i),r[i+3]=255}function Ve(e,t){return 0>e?0:e>t?t:e}function Fn(t,n,r){e[t]=function(e,t,i,o,a,s,l,u,c){for(var f=u+(-2&c)*r;u!=f;)n(e[t+0],i[o+0],a[s+0],l,u),n(e[t+1],i[o+0],a[s+0],l,u+r),t+=2,++o,++s,u+=2*r;1&c&&n(e[t+0],i[o+0],a[s+0],l,u)}}function On(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Tn(e,t,n,r,i){switch(e>>>30){case 3:ar(t,n,r,i,0);break;case 2:sr(t,n,r,i);break;case 1:ur(t,n,r,i)}}function Mn(e,t){var n,o,a=t.M,s=t.Nb,l=e.oc,u=e.pc+40,c=e.oc,f=e.pc+584,d=e.oc,h=e.pc+600;for(n=0;16>n;++n)l[u+32*n-1]=129;for(n=0;8>n;++n)c[f+32*n-1]=129,d[h+32*n-1]=129;for(0<a?l[u-1-32]=c[f-1-32]=d[h-1-32]=129:(i(l,u-32-1,127,21),i(c,f-32-1,127,9),i(d,h-32-1,127,9)),o=0;o<e.za;++o){var p=t.ya[t.aa+o];if(0<o){for(n=-1;16>n;++n)r(l,u+32*n-4,l,u+32*n+12,4);for(n=-1;8>n;++n)r(c,f+32*n-4,c,f+32*n+4,4),r(d,h+32*n-4,d,h+32*n+4,4)}var g=e.Gd,m=e.Hd+o,v=p.ad,y=p.Hc;if(0<a&&(r(l,u-32,g[m].y,0,16),r(c,f-32,g[m].f,0,8),r(d,h-32,g[m].ea,0,8)),p.Za){var b=l,w=u-32+16;for(0<a&&(o>=e.za-1?i(b,w,g[m].y[15],4):r(b,w,g[m+1].y,0,4)),n=0;4>n;
vendor: 4,142 bytes, line 2
2n++)b[w+128+n]=b[w+256+n]=b[w+384+n]=b[w+0+n];for(n=0;16>n;++n,y<<=2)b=l,w=u+Di[n],di[p.Ob[n]](b,w),Tn(y,v,16*+n,b,w)}else if(b=On(o,a,p.Ob[0]),fi[b](l,u),0!=y)for(n=0;16>n;++n,y<<=2)Tn(y,v,16*+n,l,u+Di[n]);for(n=p.Gc,b=On(o,a,p.Dd),hi[b](c,f),hi[b](d,h),y=v,b=c,w=f,255&(p=n>>0)&&(170&p?lr(y,256,b,w):cr(y,256,b,w)),p=d,y=h,255&(n>>=8)&&(170&n?lr(v,320,p,y):cr(v,320,p,y)),a<e.Ub-1&&(r(g[m].y,0,l,u+480,16),r(g[m].f,0,c,f+224,8),r(g[m].ea,0,d,h+224,8)),n=8*s*e.B,g=e.sa,m=e.ta+16*o+16*s*e.R,v=e.qa,p=e.ra+8*o+n,y=e.Ha,b=e.Ia+8*o+n,n=0;16>n;++n)r(g,m+n*e.R,l,u+32*n,16);for(n=0;8>n;++n)r(v,p+n*e.B,c,f+32*n,8),r(y,b+n*e.B,d,h+32*n,8)}}function In(e,r,i,o,a,s,l,u,c){var f=[0],d=[0],h=0,p=null!=c?c.kd:0,g=null!=c?c:new rn;if(null==e||12>i)return 7;g.data=e,g.w=r,g.ha=i,r=[r],i=[i],g.gb=[g.gb];e:{var m=r,y=i,b=g.gb;if(t(null!=e),t(null!=y),t(null!=b),b[0]=0,12<=y[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){b=3;break e}var w=O(e,m[0]+4);if(12>w||4294967286<w){b=3;break e}if(p&&w>y[0]-8){b=7;break e}b[0]=w,m[0]+=12,y[0]-=12}b=0}if(0!=b)return b;for(w=0<g.gb[0],i=i[0];;){e:{var S=e;y=r,b=i;var k=f,A=d,N=m=[0];if((_=h=[h])[0]=0,8>b[0])b=7;else{if(!n(S,y[0],"VP8X")){if(10!=O(S,y[0]+4)){b=3;break e}if(18>b[0]){b=7;break e}var P=O(S,y[0]+8),L=1+F(S,y[0]+12);if(2147483648<=L*(S=1+F(S,y[0]+15))){b=3;break e}null!=N&&(N[0]=P),null!=k&&(k[0]=L),null!=A&&(A[0]=S),y[0]+=18,b[0]-=18,_[0]=1}b=0}}if(h=h[0],m=m[0],0!=b)return b;if(y=!!(2&m),!w&&h)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=l&&(l[0]=y),null!=u&&(u[0]=0),l=f[0],m=d[0],h&&y&&null==c){b=0;break}if(4>i){b=7;break}if(w&&h||!w&&!h&&!n(e,r[0],"ALPH")){i=[i],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];e:{P=e,b=r,w=i;var _=g.gb;k=g.na,A=g.P,N=g.Sa,L=22,t(null!=P),t(null!=w),S=b[0];var C=w[0];for(t(null!=k),t(null!=N),k[0]=null,A[0]=null,N[0]=0;;){if(b[0]=S,w[0]=C,8>C){b=7;break e}var E=O(P,S+4);if(4294967286<E){b=3;break e}var T=8+E+1&-2;if(L+=T,0<_&&L>_){b=3;break e}if(!n(P,S,"VP8 ")||!n(P,S,"VP8L")){b=0;break e}if(C[0]<T){b=7;break e}n(P,S,"ALPH")||(k[0]=P,A[0]=S+8,N[0]=E),S+=T,C-=T}}if(i=i[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=b)break}i=[i],g.Ja=[g.Ja],g.xa=[g.xa];e:if(_=e,b=r,w=i,k=g.gb[0],A=g.Ja,N=g.xa,P=b[0],S=!n(_,P,"VP8 "),L=!n(_,P,"VP8L"),t(null!=_),t(null!=w),t(null!=A),t(null!=N),8>w[0])b=7;else{if(S||L){if(_=O(_,P+4),12<=k&&_>k-12){b=3;break e}if(p&&_>w[0]-8){b=7;break e}A[0]=_,b[0]+=8,w[0]-=8,N[0]=L}else N[0]=5<=w[0]&&47==_[P+0]&&!(_[P+4]>>5),A[0]=w[0];b=0}if(i=i[0],g.Ja=g.Ja[0],g.xa=g.xa[0],r=r[0],0!=b)break;if(4294967286<g.Ja)return 3;if(null==u||y||(u[0]=g.xa?2:1),l=[l],m=[m],g.xa){if(5>i){b=7;break}u=l,p=m,y=s,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(w=[0],_=[0],k=[0],v(A=new x,e,r,i),ge(A,w,_,k)?(null!=u&&(u[0]=w[0]),null!=p&&(p[0]=_[0]),null!=y&&(y[0]=k[0]),e=1):e=0):e=0}else{if(10>i){b=7;break}u=m,null==e||10>i||!Je(e,r+3,i-3)?e=0:(p=e[r+0]|e[r+1]<<8|e[r+2]<<16,y=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!y||!e?e=0:(l&&(l[0]=y),u&&(u[0]=e),e=1))}if(!e)return 3;if(l=l[0],m=m[0],h&&(f[0]!=l||d[0]!=m))return 3;null!=c&&(c[0]=g,c.offset=r-c.w,t(4294967286>r-c.w),t(c.offset==c.ha-i));break}return 0==b||7==b&&h&&null==c?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=o&&(o[0]=l),null!=a&&(a[0]=m),0):b}function jn(e,t,n){var r=t.width,i=t.height,o=0,a=0,s=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,o=e.v,a=e.j,11>n||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=l||o+s>r||a+l>i))return 0;if(t.v=o,t.j=a,t.va=o+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!j(s,l,n=[e.ib],o=[e.hb]))return 0;t.ib=n[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function Rn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Dn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,a=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=i||0>=a||s+i>e||l+a>t)return 2;e=i,t=a}if(n.da){if(!j(e,t,i=[n.ib],a=[n.hb]))return 2;e=i[0],t=a[0]}}
vendor: 4,309 bytes, line 2
2r.width=e,r.height=t;e:{var u=r.width,c=r.height;if(e=r.S,0>=u||0>=c||!(e>=jr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=i=t=0;var f=(l=u*Ui[e])*c;if(11>e||(a=(c+1)/2*(t=(u+1)/2),12==e&&(s=(i=u)*c)),null==(c=o(f+2*a+s))){e=1;break e}r.sd=c,11>e?((u=r.f.RGBA).eb=c,u.fb=0,u.A=l,u.size=f):((u=r.f.kb).y=c,u.O=0,u.fa=l,u.Fd=f,u.f=c,u.N=0+f,u.Ab=t,u.Cd=a,u.ea=c,u.W=0+f+a,u.Db=t,u.Ed=a,12==e&&(u.F=c,u.J=0+f+2*a),u.Tc=s,u.lb=i)}if(t=1,i=r.S,a=r.width,s=r.height,i>=jr&&13>i)if(11>i)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*Ui[i],t&=null!=e.eb;else{e=r.f.kb,l=(a+1)/2,f=(s+1)/2,u=Math.abs(e.fa),c=Math.abs(e.Ab);var d=Math.abs(e.Db),h=Math.abs(e.lb),p=h*(s-1)+a;t&=u*(s-1)+a<=e.Fd,t&=c*(f-1)+l<=e.Cd,t=(t&=d*(f-1)+l<=e.Ed)&u>=a&c>=l&d>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=h>=a,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Rn(r)),e}var Bn=64,zn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],qn=24,Un=32,Wn=8,Hn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return q(q(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return q(e,t[n-1])},e.Predictor7=function(e,t,n){return q(e,t[n+0])},e.Predictor8=function(e,t,n){return q(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return q(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return q(q(e,t[n-1]),q(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=H(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+H(r>>16&255,e>>16&255,t>>16&255)+H(r>>8&255,e>>8&255,t>>8&255)+H(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(U((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|U((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|U((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|U((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(W((e=q(e,t[n+0]))>>24&255,r>>24&255)<<24|W(e>>16&255,r>>16&255)<<16|W(e>>8&255,r>>8&255)<<8|W(e>>0&255,r>>0&255))>>>0};var Vn=e.PredictorAdd0;e.PredictorAdd1=V,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var Gn=e.PredictorAdd2;J("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),J("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Zn,Yn=e.ColorIndexInverseTransform,Jn=e.MapARGB,$n=e.VP8LColorIndexInverseTransformAlpha,Kn=e.MapAlpha,Xn=e.VP8LPredictorsAdd=[];Xn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Qn,er,tr,nr,rr,ir,or,ar,sr,lr,ur,cr,fr,dr,hr,pr,gr,mr,vr,yr,br,wr,xr,Sr,kr,Ar,Nr,Pr,Lr=o(511),_r=o(2041),Cr=o(225),Er=o(767),Fr=0,Or=_r,Tr=Cr,Mr=Er,Ir=Lr,jr=0,Rr=1,Dr=2,Br=3,zr=4,qr=5,Ur=6,Wr=7,Hr=8,Vr=9,Gr=10,Zr=[2,3,7],Yr=[3,3,11],Jr=[280,256,256,256,40],$r=[0,1,1,1,0],Kr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,
vendor: 4,135 bytes, line 2
264,114,126,97,111,80,113,127,96,112],Qr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ei=8,ti=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ni=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ri=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ai=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
25,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l
vendor: 7,737 bytes, line 2
2i=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],
vendor: 3,403 bytes, line 2
2fi=[],di=[],hi=[],pi=1,gi=2,mi=[],vi=[];yn("UpsampleRgbLinePair",An,3),yn("UpsampleBgrLinePair",Nn,3),yn("UpsampleRgbaLinePair",En,4),yn("UpsampleBgraLinePair",Cn,4),yn("UpsampleArgbLinePair",_n,4),yn("UpsampleRgba4444LinePair",Ln,2),yn("UpsampleRgb565LinePair",Pn,2);var yi=e.UpsampleRgbLinePair,bi=e.UpsampleBgrLinePair,wi=e.UpsampleRgbaLinePair,xi=e.UpsampleBgraLinePair,Si=e.UpsampleArgbLinePair,ki=e.UpsampleRgba4444LinePair,Ai=e.UpsampleRgb565LinePair,Ni=16,Pi=1<<Ni-1,Li=-227,_i=482,Ci=6,Ei=(256<<Ci)-1,Fi=0,Oi=o(256),Ti=o(256),Mi=o(256),Ii=o(256),ji=o(_i-Li),Ri=o(_i-Li);Fn("YuvToRgbRow",An,3),Fn("YuvToBgrRow",Nn,3),Fn("YuvToRgbaRow",En,4),Fn("YuvToBgraRow",Cn,4),Fn("YuvToArgbRow",_n,4),Fn("YuvToRgba4444Row",Ln,2),Fn("YuvToRgb565Row",Pn,2);var Di=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Bi=[0,2,8],zi=[8,7,6,4,4,2,2,2,1,1,1,1],qi=1;this.WebPDecodeRGBA=function(e,n,r,i,o){var a=Rr,s=new nn,l=new ae;s.ba=l,l.S=a,l.width=[l.width],l.height=[l.height];var u=l.width,c=l.height,f=new se;if(null==f||null==e)var d=2;else t(null!=f),d=In(e,n,r,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=d?u=0:(null!=u&&(u[0]=f.width[0]),null!=c&&(c[0]=f.height[0]),u=1),u){l.width=l.width[0],l.height=l.height[0],null!=i&&(i[0]=l.width),null!=o&&(o[0]=l.height);e:{if(i=new Ge,(o=new rn).data=e,o.w=n,o.ha=r,o.kd=1,n=[0],t(null!=o),(0==(e=In(o.data,o.w,o.ha,null,null,null,n,null,o))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=he,i.ac=de,i.bc=pe,i.ma=s,o.xa){if(null==(e=_e())){s=1;break e}if(function(e,n){var r=[0],i=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,v(e.m,n.data,n.w,n.ha),!ge(e.m,r,i,o)){e.a=3;break t}if(e.xb=gi,n.width=r[0],n.height=i[0],!Ce(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(n=Dn(i.width,i.height,s.Oa,s.ba))){t:{i=e;n:for(;;){if(null==i){i=0;break t}if(t(null!=i.s.yc),t(null!=i.s.Ya),t(0<i.s.Wb),t(null!=(r=i.l)),t(null!=(o=r.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,t(null!=i.ca),!jn(o.Oa,r,Br)){i.a=2;break n}if(!Ee(i,r.width))break n;if(r.da)break n;if((r.da||re(i.ca.S))&&vn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&vn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!T(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!Pe(i,i.V,i.Ba,i.c,i.i,r.o,Se))break n;o.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(n=e.a)}else n=e.a}else{if(null==(e=new Ze)){s=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,$e(e,i)){if(0==(n=Dn(i.width,i.height,s.Oa,s.ba))){if(e.Aa=0,r=s.Oa,t(null!=(o=e)),null!=r){if(0<(u=0>(u=r.Md)?0:100<u?255:255*u/100)){for(c=f=0;4>c;++c)12>(d=o.pb[c]).lc&&(d.ia=u*zi[0>d.lc?0:d.lc]>>3),f|=d.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=r.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qe(e,i)||(n=e.a)}}else n=e.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=Rn(s.ba))}s=n}a=0!=s?null:11>a?l.f.RGBA.eb:l.f.kb.y}else a=null;return a};var Ui=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function c(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function f(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var d=[0],h=[0],p=[],g=new l,m=e,v=function(e,t){var n={},r=0,i=!1,o=0,a=0;if(n.frames=[],!function(e,t,n,r){for(var i=0;i<4;i++)if(e[t+i]!="RIFF".charCodeAt(i))return!0;return!1}(e,t)){var s,l;for(f(e,t+=4),t+=8;t<e.length;){var d=u(e,t),h=f(e,t+=4);t+=4;
vendor: 4,133 bytes, line 2
2var p=h+(1&h);switch(d){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(v=n.frames[r]).src_off=i?a:t-8,v.src_size=o+h+8,r++,i&&(i=!1,o=0,a=0);break;case"VP8X":(v=n.header={}).feature_flags=e[t];var g=t+4;v.canvas_width=1+c(e,g),g+=3,v.canvas_height=1+c(e,g),g+=3;break;case"ALPH":i=!0,o=p+8,a=t-8;break;case"ANIM":(v=n.header).bgcolor=f(e,t),g=t+4,v.loop_count=(s=e)[(l=g)+0]<<0|s[l+1]<<8,g+=2;break;case"ANMF":var m,v;(v=n.frames[r]={}).offset_x=2*c(e,t),t+=3,v.offset_y=2*c(e,t),t+=3,v.width=1+c(e,t),t+=3,v.height=1+c(e,t),t+=3,v.duration=c(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=d&&(t+=p)}return n}}(m,0);v.response=m,v.rgbaoutput=!0,v.dataurl=!1;var y=v.header?v.header:null,b=v.frames?v.frames:null;if(y){y.loop_counter=y.loop_count,d=[y.canvas_height],h=[y.canvas_width];for(var w=0;w<b.length&&0!=b[w].blend;w++);}var x=b[0],S=g.WebPDecodeRGBA(m,x.src_off,x.src_size,h,d);x.rgba=S,x.imgwidth=h[0],x.imgheight=d[0];for(var k=0;k<h[0]*d[0]*4;k++)p[k]=S[k];return this.width=h,this.height=d,this.data=p,this}!function(e){var t=function(t,r,l,u){var c=4,f=o;switch(u){case e.image_compression.FAST:c=1,f=i;break;case e.image_compression.MEDIUM:c=6,f=a;break;case e.image_compression.SLOW:c=9,f=s}var d=J(t=n(t,r,l,f),{level:c});return e.__addimage__.arrayBufferToBinaryString(d)},n=function(e,t,n,r){for(var i,o,a,s=e.length/t,l=new Uint8Array(e.length+s),f=u(),d=0;d<s;d+=1){if(a=d*t,i=e.subarray(a,a+t),r)l.set(r(i,n,o),a+d);else{for(var h,p=f.length,g=[];h<p;h+=1)g[h]=f[h](i,n,o);var m=c(g.concat());l.set(g[m],a+d)}o=i}return l},r=function(e){var t=Array.apply([],e);return t.unshift(0),t},i=function(e,t){var n,r=[],i=e.length;r[0]=1;for(var o=0;o<i;o+=1)n=e[o-t]||0,r[o+1]=e[o]-n+256&255;return r},o=function(e,t,n){var r,i=[],o=e.length;i[0]=2;for(var a=0;a<o;a+=1)r=n&&n[a]||0,i[a+1]=e[a]-r+256&255;return i},a=function(e,t,n){var r,i,o=[],a=e.length;o[0]=3;for(var s=0;s<a;s+=1)r=e[s-t]||0,i=n&&n[s]||0,o[s+1]=e[s]+256-(r+i>>>1)&255;return o},s=function(e,t,n){var r,i,o,a,s=[],u=e.length;s[0]=4;for(var c=0;c<u;c+=1)r=e[c-t]||0,i=n&&n[c]||0,o=n&&n[c-t]||0,a=l(r,i,o),s[c+1]=e[c]-a+256&255;return s},l=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),o=Math.abs(e+t-n-n);return r<=i&&r<=o?e:i<=o?t:n},u=function(){return[r,i,o,a,s]},c=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,r,i,o){var a,s,l,u,c,f,d,h,p,g,m,v,y,b,w,x=this.decode.FLATE_DECODE,S="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(l=new Wt(n)).imgData,s=l.bits,a=l.colorSpace,c=l.colors,-1!==[4,6].indexOf(l.colorType)){if(8===l.bits){p=(h=32==l.pixelBitlength?new Uint32Array(l.decodePixels().buffer):16==l.pixelBitlength?new Uint16Array(l.decodePixels().buffer):new Uint8Array(l.decodePixels().buffer)).length,m=new Uint8Array(p*l.colors),g=new Uint8Array(p);var k,A=l.pixelBitlength-l.bits;for(b=0,w=0;b<p;b++){for(y=h[b],k=0;k<A;)m[w++]=y>>>k&255,k+=l.bits;g[b]=y>>>k&255}}if(16===l.bits){p=(h=new Uint32Array(l.decodePixels().buffer)).length,m=new Uint8Array(p*(32/l.pixelBitlength)*l.colors),g=new Uint8Array(p*(32/l.pixelBitlength)),v=l.colors>1,b=0,w=0;for(var N=0;b<p;)y=h[b++],m[w++]=y>>>0&255,v&&(m[w++]=y>>>16&255,y=h[b++],m[w++]=y>>>0&255),g[N++]=y>>>16&255;s=8}o!==e.image_compression.NONE?(n=t(m,l.width*l.colors,l.colors,o),d=t(g,l.width,1,o)):(n=m,d=g,x=void 0)}if(3===l.colorType&&(a=this.color_spaces.INDEXED,f=l.palette,l.transparency.indexed)){var P=l.transparency.indexed,L=0;for(b=0,p=P.length;b<p;++b)L+=P[b];if((L/=255)===p-1&&-1!==P.indexOf(0))u=[P.indexOf(0)];else if(L!==p){for(h=l.decodePixels(),g=new Uint8Array(h.length),b=0,p=h.length;b<p;b++)g[b]=P[h[b]];d=t(g,l.width,1)}}var _=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(o);return x===this.decode.FLATE_DECODE&&(S="/Predictor "+_+" "),S+="/Colors "+c+" /BitsPerComponent "+s+" /Columns "+l.width,
vendor: 6,110 bytes, line 2
2(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:i,data:n,index:r,filter:x,decodeParameters:S,transparency:u,palette:f,sMask:d,predictor:_,width:l.width,height:l.height,bitsPerComponent:s,colorSpace:a}}}}(Ee.API),function(e){e.processGIF89A=function(t,n,r,i){var o=new Ht(t),a=o.width,s=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:a,height:s},c=new Gt(100).encode(u,100);return e.processJPEG.call(this,c,n,r,i)},e.processGIF87A=e.processGIF89A}(Ee.API),Zt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Zt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){Q.log("bit decode error:"+e)}},Zt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[o>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Zt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*i*4,s=o>>4,l=15&o,u=this.palette[s];if(this.data[a]=u.blue,this.data[a+1]=u.green,this.data[a+2]=u.red,this.data[a+3]=255,2*i+1>=this.width)break;u=this.palette[l],this.data[a+4]=u.blue,this.data[a+4+1]=u.green,this.data[a+4+2]=u.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},Zt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},Zt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,l=(o>>10&t)/t*255|0,u=o>>15?255:0,c=r*this.width*4+4*i;this.data[c]=l,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=u}this.pos+=e}},Zt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&n)/n*255|0,u=(a>>11)/t*255|0,c=i*this.width*4+4*o;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=255}this.pos+=e}},Zt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Zt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=a}},Zt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var o=new Zt(t,!1),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},u=new Gt(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(Ee.API),Yt.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var o=new Yt(t,!1),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},u=new Gt(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(Ee.API),Ee.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,l=0,u=0;u<i;u+=4){var c=r[u],f=r[u+1],d=r[u+2],h=r[u+3];o[s++]=c,o[s++]=f,o[s++]=d,a[l++]=h}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:p,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Ee.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq
vendor: 5,240 bytes, line 2
2:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Dt=Ee.API,Bt=Dt.getCharWidthsArray=function(e,t){var n,i,o=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:o.metadata.Unicode.widths,u=l.fof?l.fof:1,c=t.kerning?t.kerning:o.metadata.Unicode.kerning,f=c.fof?c.fof:1,d=!1!==t.doKerning,h=0,p=e.length,g=0,m=l[0]||u,v=[];for(n=0;n<p;n++)i=e.charCodeAt(n),"function"==typeof o.metadata.widthOfString?v.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(i))+s*(1e3/a)||0)/1e3):(h=d&&"object"===(0,r.Z)(c[i])&&!isNaN(parseInt(c[i][g],10))?c[i][g]/f:0,v.push((l[i]||m)/u+h)),g=i;return v},zt=Dt.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return Dt.processArabic&&(e=Dt.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:Bt.apply(this,arguments).reduce((function(e,t){return e+t}),0)},qt=function(e,t,n,r){for(var i=[],o=0,a=e.length,s=0;o!==a&&s+t[o]<n;)s+=t[o],o++;i.push(e.slice(0,o));var l=o;for(s=0;o!==a;)s+t[o]>
vendor: 3,268 bytes, line 2
2r&&(i.push(e.slice(l,o)),s=0,l=o),s+=t[o],o++;return l!==o&&i.push(e.slice(l,o)),i},Ut=function(e,t,n){n||(n={});var r,i,o,a,s,l,u,c=[],f=[c],d=n.textIndent||0,h=0,p=0,g=e.split(" "),m=Bt.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?g[0].length+2:n.lineIndent||0){var v=Array(l).join(" "),y=[];g.map((function(e){(e=e.split(/\s*\n/)).length>1?y=y.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):y.push(e[0])})),g=y,l=zt.apply(this,[v,n])}for(o=0,a=g.length;o<a;o++){var b=0;if(r=g[o],l&&"\n"==r[0]&&(r=r.substr(1),b=1),d+h+(p=(i=Bt.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||b){if(p>t){for(s=qt.apply(this,[r,i,t-(d+h),t]),c.push(s.shift()),c=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(r.length-(c[0]?c[0].length:0)).reduce((function(e,t){return e+t}),0)}else c=[r];f.push(c),d=p+l,h=m}else c.push(r),d+=h+p,h=m}return u=l?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},f.map(u)},Dt.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var s,l,u=[];for(s=0,l=r.length;s<l;s++)u=u.concat(Ut.apply(this,[r[s],a,o]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},i={},o=0;o<16;o++)n[t[o]]="0123456789abcdef"[o],i["0123456789abcdef"[o]]=t[o];var a=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,o,l,u=["{"];for(var c in e){if(t=e[c],isNaN(parseInt(c,10))?n="'"+c+"'":(c=parseInt(c,10),n=(n=a(c).slice(2)).slice(0,-1)+i[n.slice(-1)]),"number"==typeof t)t<0?(o=a(t).slice(3),l="-"):(o=a(t).slice(2),l=""),o=l+o.slice(0,-1)+i[o.slice(-1)];else{if("object"!==(0,r.Z)(t))throw new Error("Don't know what to do with value type "+(0,r.Z)(t)+".");o=s(t)}u.push(n+o)}return u.push("}"),u.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,i,o,a={},s=1,l=a,u=[],c="",f="",d=e.length-1,h=1;h<d;h+=1)"'"==(o=e[h])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(u.push([l,i]),l={},i=void 0):"}"==o?((r=u.pop())[0][r[1]]=l,i=void 0,l=r[0]):"-"==o?s=-1:void 0===i?n.hasOwnProperty(o)?(c+=n[o],i=parseInt(c,16)*s,s=1,c=""):c+=o:n.hasOwnProperty(o)?(f+=n[o],l[i]=parseInt(f,16)*s,s=1,i=void 0,f=""):f+=o;return a},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},f
vendor: 14,743 bytes, line 2
2={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,
vendor: 11,686 bytes, line 2
2n=f.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=c.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(Ee.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(re(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(Ee),function(e){function t(){return(K.canvg?Promise.resolve(K.canvg):n.e(598).then(n.bind(n,5598))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}Ee.API.addSvgAsImage=function(e,n,r,i,o,a,s,l){if(isNaN(n)||isNaN(r))throw Q.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw Q.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=o;var c=u.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,u.width,u.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return t().then((function(t){return t.fromString(c,e,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(f)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),n,r,i,o,s,l)}))}}(),Ee.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},Ee.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,o,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),u=[],c=0,f=0,d=0;function h(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var p=l.length;for(d=0;d<p;d+=1)n[l[d]].value=n[l[d]].defaultValue,n[l[d]].explicitSet=!1}if("object"===(0,r.Z)(e))for(o in e)if(a=e[o],h(l,o)&&void 0!==a){if("boolean"===n[o].type&&"boolean"==typeof a)n[o].value=a;else if("name"===n[o].type&&h(n[o].valueSet,a))n[o].value=a;else if("integer"===n[o].type&&Number.isInteger(a))n[o].value=a;else if("array"===n[o].type){for(c=0;c<a.length;c+=1)if(i=!0,1===a[c].length&&"number"==typeof a[c][0])u.push(String(a[c]-1));else if(a[c].length>1){for(f=0;f<a[c].length;f+=1)"number"!=typeof a[c][f]&&(i=!1);!0===i&&u.push([a[c][0]-1,a[c][1]-1].join(" "))}n[o].value="["+u.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+i.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=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")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(Ee.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(e){var t,n,r,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;a<s;a++)t=n[a],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),u="",c=0;c<l.length;c++)u+=String.fromCharCode(l[c]);var f=o();a({data:u,addLength1:!0,objectId:f}),i("endobj");var d=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+Ae(n.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+Ae(n.fontName)),i("/FontDescriptor "+h+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+d+" 0 R"),i("/BaseFont /"+Ae(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",u=0;u<s.length;u++)l+=String.fromCharCode(s[u]);var c=o();a({data:l,addLength1:!0,objectId:c}),i("endobj");var f=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var d=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+c+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+Ae(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var h=0;h<n.metadata.hmtx.widths.length;h++)n.metadata.hmtx.widths[h]=parseInt(n.metadata.hmtx.widths[h]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+Ae(n.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,o=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,u=s.activeFontKey,c=s.fonts,f=u,d="",h=0,p="",g=c[f].encoding;if("Identity-H"!==c[f].encoding)return{text:r,x:i,y:o,options:a,mutex:s};for(p=r,f=u,Array.isArray(r)&&(p=r[0]),h=0;h<p.length;h+=1)c[f].metadata.hasOwnProperty("cmap")&&(t=c[f].metadata.cmap.unicode.codeMap[p[h].charCo
vendor: 4,312 bytes, line 2
2deAt(0)]),t||p[h].charCodeAt(0)<256&&c[f].metadata.hasOwnProperty("Unicode")?d+=p[h]:d+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=l(d,f).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=n(d,c[f])),s.isHex=!0,{text:m,x:i,y:o,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?n.push([i(Object.assign({},r,{text:t[o][0]})).text,t[o][1],t[o][2]]):n.push(i(Object.assign({},r,{text:t[o]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(Ee),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(Ee.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,o,a,s,l,u=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var y=function(e){var t=e.charCodeAt(),n=t>>8,r=h[n];return void 0!==r?u[256*r+(255&t)]:252===n||253===n?"AL":g.test(n)?"L":8===n?"R":"N"},b=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=y(e.charAt(n))))return!1;if("R"===t)return!0}return!1},w=function(e,t,a,s){var l,u,c,f,d=t[s];switch(d){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(d="AN");break;case"AL":m=!0,d="R";break;case"WS":case"BN":d="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(u=t[s+1])&&"AN"!==u?d="N":m&&(u="AN"),d=u===l?u:"N";break;case"ES":d="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){d="EN";break}if(m){d="N";break}for(c=s+1,f=t.length;c<f&&"ET"===t[c];)c++;d=c<f&&"EN"===t[c]?"EN":"N";break;case"NSM":if(i&&!o){for(f=t.length,c=s+1;c<f&&"NSM"===t[c];)c++;if(c<f){var h=e[s],p=h>=1425&&h<=2303||64286===h;if(l=t[c],p&&("R"===l||"AL"===l)){d="R";break}}}d=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":m=!1,n=!0,d=v;break;case"S":r=!0,d="N"}return d},x=function(e,t,n){var r=e.split("");return n&&S(r,n,{hiLevel:v}),r.reverse(),t&&t.reverse(),r.join("")},S=function(e,t,i){var o,a,s,l,u,h=-1,p=e.length,g=0,b=[],x=v?f:c,S=[];for(m=!1,n=!1,r=!1,a=0;a<p;a++)S[a]=y(e[a]);for(s=0;s<p;s++){if(u=g,b[s]=w(e,S,b,s),o=240&(g=x[u][d[b[s]]]),g&=15,t[s]=l=x[g][5],o>0)if(16===o){for(a=h;a<s;a++)t[a]=1;h=-1}else h=-1;if(x[g][6])-1===h&&(h=s);else if(h>-1){for(a=h;a<s;a++)t[a]=l;h=-1}"B"===S[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=v;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=v}}(S,t,p)},k=function(e,t,r,i,o){if(!(o.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,l,u,c=t.length,f=0;f<c;){if(i[f]>=e){for(l=f+1;l<c&&i[l]>=e;)l++;for(u=f,s=l-1;u<s;u++,s--)a=t[u],t[u]=t[s],t[s]=a,r&&(a=r[u],r[u]=r[s],r[s]=a);f=l}f++}}},A=function(e,t,n){var r=e.split(""),i={hiLevel:v};return n||(n=[]),S(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=p.indexOf(e[i]))>=0&&(e[i]=p[r+1])}(r,n,i),k(2,r,t,n,i),k(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===o&&(o=b(e)),void 0===s&&(s=b(e))}(e,t),i||!a||s)if(i&&a&&o^s)v=o?1:0,e=x(e,t,n);else if(!i&&a&&s)v=o?1:0,e=A(e,t,n),e=x(e,t);
vendor: 16,377 bytes, line 2
2else if(!i||o||a||s){if(i&&!a&&o^s)e=x(e,t),o?(v=0,e=A(e,t,n)):(v=1,e=A(e,t,n),e=x(e,t));else if(i&&o&&!a&&s)v=1,e=A(e,t,n),e=x(e,t);else if(!i&&!a&&o^s){var r=l;o?(v=1,e=A(e,t,n),v=0,l=!1,e=A(e,t,n),l=r):(v=0,e=A(e,t,n),e=x(e,t),v=1,l=!1,e=A(e,t,n),l=r,e=x(e,t))}}else v=0,e=A(e,t,n);else v=o?1:0,e=A(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,a=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(i=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?i.push([n.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):i.push([n.doBidiReorder(t[o])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(Ee),Ee.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new $t(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new mn(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Kt(this.contents),this.head=new en(this),this.name=new ln(this),this.cmap=new nn(this),this.toUnicode={},this.hhea=new rn(this),this.maxp=new un(this),this.hmtx=new cn(this),this.post=new an(this),this.os2=new on(this),this.loca=new gn(this),this.glyf=new dn(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,o,a;for(o=0,i=0,a=(e=""+e).length;0<=a?i<a:i>a;i=0<=a?++i:--i)r=e.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var Jt,$t=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,o,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*o+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),Kt=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,o,a,s,l,u,c,f,d,h,p;for(p in d=Object.keys(t).length,s=Math.log(2),c=16*Math.floor(Math.log(d)/s),o=Math.floor(c/s),u=16*d-c,(r=new $t).writeInt(this.scalarType),r.writeShort(d),r.writeShort(c),r.writeShort(o),r.writeShort(u),i=16*d,l=r.pos+i,a=null,h=[],t)for(f=t[p],r.writeString(p),r.writeInt(e(f)),r.writeInt(l),r.writeInt(f.length),h=h.concat(f),"head"===p&&
vendor: 9,312 bytes, line 2
2(a=l),l+=f.length;l%4;)h.push(0),l++;return r.write(h),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=fn.call(e);e.length%4;)e.push(0);for(r=new $t(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Xt={}.hasOwnProperty,Qt=function(e,t){for(var n in t)Xt.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Jt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var en=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new $t).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),tn=function(){function e(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,g,m,v,y;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(d=e.readUInt16(),f=d/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,p=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),u=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=m=0,y=i.length;m<y;s=++m)for(g=i[s],n=v=h=p[s];h<=g?v<=g:v>=g;n=h<=g?++v:--v)0===u[s]?o=n+l[s]:0!==(o=a[u[s]/2+(n-h)-(f-s)]||0)&&(o+=l[s]),this.codeMap[n]=65535&o}e.pos=c}return e.encode=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,g,m,v,y,b,w,x,S,k,A,N,P,L,_,C,E,F,O,T,M,I,j,R,D,B,z,q,U,W,H,V,G,Z;switch(C=new $t,o=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(p=0,g=function(){var e=[];for(h=0;h<256;++h)e.push(0);return e}(),v={0:0},i={},E=0,M=o.length;E<M;E++)null==v[H=e[r=o[E]]]&&(v[H]=++p),i[r]={old:e[r],new:v[e[r]]},g[r]=v[e[r]];return C.writeUInt16(1),C.writeUInt16(0),C.writeUInt32(12),C.writeUInt16(0),C.writeUInt16(262),C.writeUInt16(0),C.write(g),{charMap:i,subtable:C.data,maxGlyphID:p+1};case"unicode":for(L=[],c=[],y=0,v={},n={},m=l=null,F=0,I=o.length;F<I;F++)null==v[w=e[r=o[F]]]&&(v[w]=++y),n[r]={old:w,new:v[w]},a=v[w]-r,null!=m&&a===l||(m&&c.push(m),L.push(r),l=a),m=r;for(m&&c.push(m),c.push(65535),L.push(65535),N=2*(A=L.length),k=2*Math.pow(Math.log(A)/Math.LN2,2),f=Math.log(k/2)/Math.LN2,S=2*A-k,s=[],x=[],d=[],h=O=0,j=L.length;O<j;h=++O){if(P=L[h],u=c[h],65535===P){s.push(0),x.push(0);break}if(P-(_=n[P].new)>=32768)for(s.push(0),x.push(2*(d.length+A-h)),r=T=P;P<=u?T<=u:T>=u;r=P<=u?++T:--T)d.push(n[r].new);else s.push(_-P),x.push(0)}for(C.writeUInt16(3),C.writeUInt16(1),C.writeUInt32(12),C.writeUInt16(4),C.writeUInt16(16+8*A+2*d.length),C.writeUInt16(0),C.writeUInt16(N),C.writeUInt16(k),C.writeUInt16(f),C.writeUInt16(S),U=0,R=c.length;U<R;U++)r=c[U],C.writeUInt16(r);for(C.writeUInt16(0),W=0,D=L.length;W<D;W++)r=L[W],C.writeUInt16(r);for(V=0,B=s.length;V<B;V++)a=s[V],C.writeUInt16(a);for(G=0,z=x.length;G<z;G++)b=x[G],C.writeUInt16(b);for(Z=0,q=d.length;Z<q;Z++)p=d[Z],C.writeUInt16(p);return{charMap:n,subtable:C.data,maxGlyphID:y+1}}},e}(),nn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new tn(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=tn.encode(e,t),(r=new $t).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),rn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),on=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),an=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),sn=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},ln=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,i,o,a,s,l,u,c,f;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},i=u=0,c=n.length;u<c;i=++u)r=n[i],e.pos=r.offset,l=e.readString(r.length),o=new sn(l,r),null==s[f=r.nameID]&&(s[f]=[]),s[r.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfam
vendor: 4,897 bytes, line 2
2ily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),un=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),cn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,i,o,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=o=0;0<=r?o<r:o>r;t=0<=r?++o:--o)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),fn=[].slice,dn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,o,a,s,l,u,c;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,o=(a=new $t(t.read(r))).readShort(),l=a.readShort(),c=a.readShort(),s=a.readShort(),u=a.readShort(),this.cache[e]=-1===o?new pn(a,l,c,s,u):new hn(a,o,l,c,s,u),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,o,a,s;for(o=[],i=[],a=0,s=t.length;a<s;a++)r=e[t[a]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},t}(),hn=function(){function e(e,t,n,r,i,o){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),pn=function(){function e(e,t,n,r,i){var o,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new $t(fn.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),gn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Qt(t,Jt),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<t.length&&t[i]==o){++i,n[o]=r;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(r+=s)}for(var l=new Array(4*n.length),u=0;u<n.length;++u)l[4*u+3]=255&n[u],l[4*u+2]=(65280&n[u])>>8,l[4*u+1]=(16711680&n[u])>>16,l[4*u]=(4278190080&n[u])>>24;return l},t}(),mn=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,o,a,s;for(r={},o=0,a=e.length;o<a;o++)r[i=e[o]]=this.font.glyf.glyphFor(i);
2for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,g,m;for(r in n=nn.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),d={0:0},m=n.charMap)d[(s=m[r]).old]=s.new;for(h in f=n.maxGlyphID,o)h in d||(d[h]=f++);return u=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(d),c=Object.keys(u).sort((function(e,t){return e-t})),p=function(){var e,t,n;for(n=[],e=0,t=c.length;e<t;e++)a=c[e],n.push(u[a]);return n}(),i=this.font.glyf.encode(o,p,d),l=this.font.loca.encode(i.offsets,p),g={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();Ee.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,o,a;if(Array.isArray(n))return"["+function(){var e,i,o;for(o=[],e=0,i=n.length;e<i;e++)r=n[e],o.push(t.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)a=n[i],o.push("/"+i+" "+t.convert(a));return o.push(">>"),o.join("\n")}return""+n},t}();var vn=Ee},4463:function(e,t,n){"use strict";var r=n(2791),i=n(5296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)}
vendor: 33,586 bytes, line 2
2)),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),L=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var j,R=Object.assign;function D(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function q(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case N:return"Profiler";case A:return"StrictMode";case C:return"Suspense";case E:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case L:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case F:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function $(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){K(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ae=null;function Ne(e){if(e=bi(e)){if("function"!==typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=xi(t),Se(e.stateNode,e.type,t))}}function Pe(e){ke?Ae?Ae.push(e):Ae=[e]:ke=e}function Le(){if(ke){var e=ke,t=Ae;if(Ae=ke=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function _e(e,t){return e(t)}function Ce(){}var Ee=!1;function Fe(e,t,n){if(Ee)return e(t,n);Ee=!0;try{return _e(e,t,n)}finally{Ee=!1,(null!==ke||null!==Ae)&&(Ce(),Le())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Te=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Te=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Te=!1}function Ie(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var je=!1,Re=null,De=!1,Be=null,ze={onError:function(e){je=!0,Re=e}};function qe(e,t,n,r,i,o,a,s,l){je=!1,Re=null,Ie.apply(ze,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return He(i),e;if(a===r)return He(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ze=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Je=i.unstable_shouldYield,$e=i.unstable_requestPaint,Ke=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Qe=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,St,kt,At,Nt,Pt=!1,Lt=[],_t=null,Ct=null,Et=null,Ft=new Map,Ot=new Map,Tt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":Ft.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function jt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Rt(e){var t=yi(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Nt(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){Dt(e)&&n.delete(t)}function zt(){Pt=!1,null!==_t&&Dt(_t)&&(_t=null),null!==Ct&&Dt(Ct)&&(Ct=null),null!==Et&&Dt(Et)&&(Et=null),Ft.forEach(Bt),Ot.forEach(Bt)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,Pt||(Pt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Ut(e){function t(t){return qt(t,e)}if(0<Lt.length){qt(Lt[0],e);for(var n=1;n<Lt.length;n++){var r=Lt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&qt(_t,e),null!==Ct&&qt(Ct,e),null!==Et&&qt(Et,e),Ft.forEach(t),Ot.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Tt.shift()}var Wt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var i=bt,o=Wt.transition;Wt.transition=null;try{bt=1,Zt(e,t,n,r)}finally{bt=i,Wt.transition=o}}function Gt(e,t,n,r){var i=bt,o=Wt.transition;Wt.transition=null;try{bt=4,Zt(e,t,n,r)}finally{bt=i,Wt.transition=o}}function Zt(e,t,n,r){if(Ht){var i=Jt(e,t,n,r);if(null===i)Hr(e,t,r,Yt,n),It(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return _t=jt(_t,e,t,n,r,i),!0;case"dragenter":return Ct=jt(Ct,e,t,n,r,i),!0;case"mouseover":return Et=jt(Et,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ft.set(o,jt(Ft.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ot.set(o,jt(Ot.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&xt(o),null===(o=Jt(e,t,n,r))&&Hr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Yt=null;function Jt(e,t,n,r){if(Yt=null,null!==(e=yi(e=xe(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function $t(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Qe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Kt=null,Xt=null,Qt=null;function en(){if(Qt)return Qt;var e,t,n=Xt,r=n.length,i="value"in Kt?Kt.value:Kt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),fn=R({},un,{view:0,detail:0}),dn=on(fn),hn=R({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),gn=on(R({},hn,{dataTransfer:0})),mn=on(R({},fn,{relatedTarget:0})),vn=on(R({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=R({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(R({},un,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function An(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Nn(){return An}var Pn=R({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ln=on(Pn),_n=on(R({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cn=on(R({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nn})),En=on(R({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=R({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=on(Fn),Tn=[9,13,27,32],Mn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var jn=c&&"TextEvent"in window&&!In,Rn=c&&(!Mn||In&&8<In&&11>=In),Dn=String.fromCharCode(32),Bn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Tn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Vn(e,t,n,r){Pe(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Zn=null;function Yn(e){Dr(e,0)}function Jn(e){if(Z(wi(e)))return e}function $n(e,t){if("change"===e)return t}var Kn=!1;if(c){var Xn;if(c){var Qn="oninput"in document;if(!Qn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Qn="function"===typeof er.oninput}Xn=Qn}else Xn=!1;Kn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),Zn=Gn=null)}function nr(e){if("value"===e.propertyName&&Jn(Zn)){var t=[];Vn(t,Zn,e,xe(e)),Fe(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn(Zn)}function or(e,t){if("click"===e)return Jn(t)}function ar(e,t){if("input"===e||"change"===e)return Jn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var a=cr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,vr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Y(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Gr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Ar={};function Nr(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ar)return kr[e]=n[t];return e}c&&(Ar=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Pr=Nr("animationend"),Lr=Nr("animationiteration"),_r=Nr("animationstart"),Cr=Nr("transitionend"),Er=new Map,Fr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Er.set(e,t),l(t,[e])}for(var Tr=0;Tr<Fr.length;Tr++){var Mr=Fr[Tr];Or(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Or(Pr,"onAnimationEnd"),Or(Lr,"onAnimationIteration"),Or(_r,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Cr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,u){if(qe.apply(this,arguments),je){if(!je)throw Error(o(198));var c=Re;je=!1,Re=null,De||(De=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Rr(i,s,u),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Rr(i,s,u),o=l}}}if(De)throw e=Be,De=!1,Be=null,e}function Br(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var qr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[qr]){e[qr]=!0,a.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qr]||(t[qr]=!0,zr("selectionchange",!1,t))}}function Wr(e,t,n,r){switch($t(t)){case 1:var i=Vt;break;case 4:i=Gt;break;default:i=Zt}n=i.bind(null,t,n,e),i=void 0,!Te||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Fe((function(){var r=o,i=xe(n),a=[];e:{var s=Er.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Ln;break;case"focusin":u="focus",l=mn;break;case"focusout":u="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Cn;break;case Pr:case Lr:case _r:l=vn;break;case Cr:l=En;break;case"scroll":l=dn;break;case"wheel":l=On;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=_n}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var g=(h=p).stateNode;if(5===h.tag&&null!==g&&(h=g,null!==d&&(null!=(g=Oe(p,d))&&c.push(Vr(p,g,h)))),f)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,i),a.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(f=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=pn,g="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,g="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==l?s:wi(l),h=null==u?s:wi(u),(s=new c(g,p+"leave",l,n,i)).target=f,s.relatedTarget=h,g=null,yi(i)===r&&((c=new c(d,p+"enter",u,n,i)).target=h,c.relatedTarget=f,g=c),f=g,l&&u)e:{for(d=u,p=0,h=c=l;h;h=Zr(h))p++;for(h=0,g=d;g;g=Zr(g))h++;for(;0<p-h;)c=Zr(c),p--;for(;0<h-p;)d=Zr(d),h--;for(;p--;){if(c===d||null!==d&&c===d.alternate)break e;c=Zr(c),d=Zr(d)}c=null}else c=null;null!==l&&Yr(a,s,l,c,!1),null!==u&&null!==f&&Yr(a,f,u,c,!0)}if("select"===(l=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=$n;else if(Hn(s))if(Kn)m=ar;else{m=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(a,m,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?wi(r):window,e){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(mr=v,vr=r,yr=null);break;case"focusout":yr=vr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(a,n,i)}var y;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Rn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(y=en()):(Xt="value"in(Kt=i)?Kt.value:Kt.textContent,Un=!0)),0<(v=Gr(r,b)).length&&(b=new wn(b,e,null,n,i),a.push({event:b,listeners:v}
vendor: 96,913 bytes, line 2
2),y?b.data=y:null!==(y=qn(n))&&(b.data=y))),(y=jn?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Dn);case"textInput":return(e=t.data)===Dn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Mn&&zn(e,t)?(e=en(),Qt=Xt=Kt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Dr(a,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Oe(e,n))&&r.unshift(Vr(e,o,i)),null!=(o=Oe(e,t))&&r.push(Vr(e,o,i))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=Oe(n,o))&&a.unshift(Vr(n,l,s)):i||null!=(l=Oe(n,o))&&a.push(Vr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Jr=/\r\n?/g,$r=/\u0000|\uFFFD/g;function Kr(e){return("string"===typeof e?e:""+e).replace(Jr,"\n").replace($r,"")}function Xr(e,t,n){if(t=Kr(t),Kr(e)!==t&&n)throw Error(o(425))}function Qr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,oi="function"===typeof Promise?Promise:void 0,ai="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ut(t)}function ui(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,hi="__reactProps$"+fi,pi="__reactContainer$"+fi,gi="__reactEvents$"+fi,mi="__reactListeners$"+fi,vi="__reactHandles$"+fi;function yi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[di])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function xi(e){return e[hi]||null}var Si=[],ki=-1;function Ai(e){return{current:e}}function Ni(e){0>ki||(e.current=Si[ki],Si[ki]=null,ki--)}function Pi(e,t){ki++,Si[ki]=e.current,e.current=t}var Li={},_i=Ai(Li),Ci=Ai(!1),Ei=Li;function Fi(e,t){var n=e.type.contextTypes;if(!n)return Li;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ti(){Ni(Ci),Ni(_i)}function Mi(e,t,n){if(_i.current!==Li)throw Error(o(168));Pi(_i,t),Pi(Ci,n)}function Ii(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,W(e)||"Unknown",i));return R({},n,r)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Li,Ei=_i.current,Pi(_i,e),Pi(Ci,Ci.current),!0}function Ri(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ii(e,t,Ei),r.__reactInternalMemoizedMergedChildContext=e,Ni(Ci),Ni(_i),Pi(_i,e)):Ni(Ci),Pi(Ci,n)}var Di=null,Bi=!1,zi=!1;function qi(e){null===Di?Di=[e]:Di.push(e)}function Ui(){if(!zi&&null!==Di){zi=!0;var e=0,t=bt;try{var n=Di;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Di=null,Bi=!1}catch(i){throw null!==Di&&(Di=Di.slice(e+1)),Ze(Qe,Ui),i}finally{bt=t,zi=!1}}return null}var Wi=[],Hi=0,Vi=null,Gi=0,Zi=[],Yi=0,Ji=null,$i=1,Ki="";function Xi(e,t){Wi[Hi++]=Gi,Wi[Hi++]=Vi,Vi=e,Gi=t}function Qi(e,t,n){Zi[Yi++]=$i,Zi[Yi++]=Ki,Zi[Yi++]=Ji,Ji=e;var r=$i;e=Ki;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,$i=1<<32-at(t)+i|n<<i|r,Ki=o+e}else $i=1<<o|n<<i|r,Ki=e}function eo(e){null!==e.return&&(Xi(e,1),Qi(e,1,0))}function to(e){for(;e===Vi;)Vi=Wi[--Hi],Wi[Hi]=null,Gi=Wi[--Hi],Wi[Hi]=null;for(;e===Ji;)Ji=Zi[--Yi],Zi[Yi]=null,Ki=Zi[--Yi],Zi[Yi]=null,$i=Zi[--Yi],Zi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ui(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ji?{id:$i,overflow:Ki}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function uo(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ui(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return co(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw ho(),Error(o(418));for(;t;)ao(e,t),t=ui(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ui(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ui(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=ui(e.nextSibling)}function po(){ro=no=null,io=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function vo(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=Ai(null),bo=null,wo=null,xo=null;function So(){xo=wo=bo=null}function ko(e){var t=yo.current;Ni(yo),e._currentValue=t}function Ao(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function No(e,t){bo=e,xo=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ws=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(xo!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Lo=null;function _o(e){null===Lo?Lo=[e]:Lo.push(e)}function Co(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,_o(t)):(n.next=i.next,i.next=n),t.interleaved=n,Eo(e,r)}function Eo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Fo=!1;function Oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function To(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Cl)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Eo(e,n)}return null===(i=r.interleaved)?(t.next=t,_o(r)):(t.next=i.next,i.next=t),r.interleaved=t,Eo(e,n)}function jo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ro(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var i=e.updateQueue;Fo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==o){var f=i.baseState;for(a=0,c=u=l=null,s=o;;){var d=s.lane,h=s.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(d=t,h=n,g.tag){case 1:if("function"===typeof(p=g.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(d="function"===typeof(p=g.payload)?p.call(h,f,d):p)||void 0===d)break e;f=R({},f,d);break e;case 2:Fo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=f):c=c.next=h,a|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===c&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Rl|=a,e.lanes=a,e.memoizedState=f}}function Bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var zo=(new r.Component).refs;function qo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Mo(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,i))&&(ru(t,e,i,r),jo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Mo(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,i))&&(ru(t,e,i,r),jo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),i=Mo(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Io(e,i,r))&&(ru(t,e,r,n),jo(t,e,r))}};function Wo(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,o))}function Ho(e,t,n){var r=!1,i=Li,o=t.contextType;return"object"===typeof o&&null!==o?o=Po(o):(i=Oi(t)?Ei:_i.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Fi(e,i):Li),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Uo.enqueueReplaceState(t,t.state,null)}function Go(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=zo,Oo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=Po(o):(o=Oi(t)?Ei:_i.current,i.context=Fi(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(qo(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Uo.enqueueReplaceState(i,i.state,null),Do(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function Zo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===zo&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Jo(e){return(0,e._init)(e._payload)}function $o(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Du(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===k?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===O&&Jo(o)===t.type)?((r=i(t,n.props)).ref=Zo(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Zo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=ju(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Zo(e,null,t),n.return=e,n;case S:return(t=Bu(t,e.mode,n)).return=e,t;case O:return d(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=ju(t,e.mode,n,null)).return=e,t;Yo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?u(e,t,n,r):null;case S:return n.key===i?c(e,t,n,r):null;case O:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||I(n))return null!==i?null:f(e,t,n,r,null);Yo(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case O:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||I(r))return f(t,e=e.get(n)||null,r,i,null);Yo(t,r)}return null}function g(i,o,s,l){for(var u=null,c=null,f=o,g=o=0,m=null;null!==f&&g<s.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var v=h(i,f,s[g],l);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(i,f),o=a(v,o,g),null===c?u=v:c.sibling=v,c=v,f=m}if(g===s.length)return n(i,f),io&&Xi(i,g),u;if(null===f){for(;g<s.length;g++)null!==(f=d(i,s[g],l))&&(o=a(f,o,g),null===c?u=f:c.sibling=f,c=f);return io&&Xi(i,g),u}for(f=r(i,f);g<s.length;g++)null!==(m=p(f,i,g,s[g],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),o=a(m,o,g),null===c?u=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),io&&Xi(i,g),u}function m(i,s,l,u){var c=I(l);if("function"!==typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var f=c=null,g=s,m=s=0,v=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var b=h(i,g,y.value,u);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===f?c=b:f.sibling=b,f=b,g=v}if(y.done)return n(i,g),io&&Xi(i,m),c;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=d(i,y.value,u))&&(s=a(y,s,m),null===f?c=y:f.sibling=y,f=y);return io&&Xi(i,m),c}for(g=r(i,g);!y.done;m++,y=l.next())null!==(y=p(g,i,m,y.value,u))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=a(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(i,e)})),io&&Xi(i,m),c}return function e(r,o,a,l){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var u=a.key,c=o;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){n(r,c.sibling),(o=i(c,a.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===O&&Jo(u)===c.type){n(r,c.sibling),(o=i(c,a.props)).ref=Zo(r,c,a),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===k?((o=ju(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Iu(a.type,a.key,a.props,null,r.mode,l)).ref=Zo(r,o,a),l.return=r,r=l)}return s(r);case S:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bu(a,r.mode,l)).return=r,r=o}return s(r);case O:return e(r,o,(c=a._init)(a._payload),l)}if(te(a))return g(r,o,a,l);if(I(a))return m(r,o,a,l);Yo(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Du(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Ko=$o(!0),Xo=$o(!1),Qo={},ea=Ai(Qo),ta=Ai(Qo),na=Ai(Qo);function ra(e){if(e===Qo)throw Error(o(174));return e}function ia(e,t){switch(Pi(na,t),Pi(ta,e),Pi(ea,Qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ni(ea),Pi(ea,t)}function oa(){Ni(ea),Ni(ta),Ni(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Pi(ta,e),Pi(ea,n))}function sa(e){ta.current===e&&(Ni(ea),Ni(ta))}var la=Ai(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function fa(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var da=w.ReactCurrentDispatcher,ha=w.ReactCurrentBatchConfig,pa=0,ga=null,ma=null,va=null,ya=!1,ba=!1,wa=0,xa=0;function Sa(){throw Error(o(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Aa(e,t,n,r,i,a){if(pa=a,ga=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?ss:ls,e=n(r,i),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(o(301));a+=1,va=ma=null,t.updateQueue=null,da.current=us,e=n(r,i)}while(ba)}if(da.current=as,t=null!==ma&&null!==ma.next,pa=0,va=ma=ga=null,ya=!1,t)throw Error(o(300));return e}function Na(){var e=0!==wa;return wa=0,e}function Pa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?ga.memoizedState=va=e:va=va.next=e,va}function La(){if(null===ma){var e=ga.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===va?ga.memoizedState:va.next;if(null!==t)va=t,ma=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===va?ga.memoizedState=va=e:va=va.next=e}return va}function _a(e,t){return"function"===typeof t?t(e):t}function Ca(e){var t=La(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ma,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,u=null,c=a;do{var f=c.lane;if((pa&f)===f)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=d,s=r):u=u.next=d,ga.lanes|=f,Rl|=f}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ga.lanes|=a,Rl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ea(e){var t=La(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(ws=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Fa(){}function Oa(e,t){var n=ga,r=La(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,ws=!0),r=r.queue,Ha(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(n.flags|=2048,Ba(9,Ma.bind(null,n,r,i,t),void 0,null),null===El)throw Error(o(349));0!==(30&pa)||Ta(n,t,i)}return i}function Ta(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ma(e,t,n,r){t.value=n,t.getSnapshot=r,ja(t)&&Ra(e)}function Ia(e,t,n){return n((function(){ja(t)&&Ra(e)}))}function ja(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ra(e){var t=Eo(e,1);null!==t&&ru(t,e,1,-1)}function Da(e){var t=Pa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ga,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function za(){return La().memoizedState}function qa(e,t,n,r){var i=Pa();ga.flags|=e,i.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Ua(e,t,n,r){var i=La();r=void 0===r?null:r;var o=void 0;if(null!==ma){var a=ma.memoizedState;if(o=a.destroy,null!==r&&ka(r,a.deps))return void(i.memoizedState=Ba(t,n,o,r))}ga.flags|=e,i.memoizedState=Ba(1|t,n,o,r)}function Wa(e,t){return qa(8390656,8,e,t)}function Ha(e,t){return Ua(2048,8,e,t)}function Va(e,t){return Ua(4,2,e,t)}function Ga(e,t){return Ua(4,4,e,t)}function Za(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ya(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ua(4,4,Za.bind(null,t,e),n)}function Ja(){}function $a(e,t){var n=La();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ka(e,t){var n=La();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xa(e,t,n){return 0===(21&pa)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),ga.lanes|=n,Rl|=n,e.baseState=!0),t)}function Qa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{bt=n,ha.transition=r}}function es(){return La().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Co(e,t,n,r))){ru(n,e,r,tu()),os(n,t,r)}}function ns(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(i.next=i,_o(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(u){}null!==(n=Co(e,t,i,r))&&(ru(n,e,r,i=tu()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===ga||null!==t&&t===ga}function is(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:Po,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useInsertionEffect:Sa,useLayoutEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useMutableSource:Sa,useSyncExternalStore:Sa,useId:Sa,unstable_isNewReconciler:!1},ss={readContext:Po,useCallback:function(e,t){return Pa().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,qa(4194308,4,Za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qa(4194308,4,e,t)},useInsertionEffect:function(e,t){return qa(4,2,e,t)},useMemo:function(e,t){var n=Pa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ga,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Pa().memoizedState=e},useState:Da,useDebugValue:Ja,useDeferredValue:function(e){return Pa().memoizedState=e},useTransition:function(){var e=Da(!1),t=e[0];return e=Qa.bind(null,e[1]),Pa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ga,i=Pa();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===El)throw Error(o(349));0!==(30&pa)||Ta(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Wa(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Ma.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Pa(),t=El.identifierPrefix;if(io){var n=Ki;t=":"+t+"R"+(n=($i&~(1<<32-at($i)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Po,useCallback:$a,useContext:Po,useEffect:Ha,useImperativeHandle:Ya,useInsertionEffect:Va,useLayoutEffect:Ga,useMemo:Ka,useReducer:Ca,useRef:za,useState:function(){return Ca(_a)},useDebugValue:Ja,useDeferredValue:function(e){return Xa(La(),ma.memoizedState,e)},useTransition:function(){return[Ca(_a)[0],La().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Oa,useId:es,unstable_isNewReconciler:!1},us={readContext:Po,useCallback:$a,useContext:Po,useEffect:Ha,useImperativeHandle:Ya,useInsertionEffect:Va,useLayoutEffect:Ga,useMemo:Ka,useReducer:Ea,useRef:za,useState:function(){return Ea(_a)},useDebugValue:Ja,useDeferredValue:function(e){var t=La();return null===ma?t.memoizedState=e:Xa(t,ma.memoizedState,e)},useTransition:function(){return[Ea(_a)[0],La().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Oa,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,Gl=r),ds(0,t)},n}function gs(e,t,n){(n=Mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Pu.bind(null,e,t,n),t.then(e,e))}function vs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mo(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=w.ReactCurrentOwner,ws=!1;function xs(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Ko(t,e.child,n,r)}function Ss(e,t,n,r,i){n=n.render;var o=t.ref;return No(t,i),r=Aa(e,t,n,r,o,i),n=Na(),null===e||ws?(io&&n&&eo(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vs(e,t,i))}function ks(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Tu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,As(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Vs(e,t,i)}return t.flags|=1,(e=Mu(o,r)).ref=t.ref,e.return=t,t.child=e}function As(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Vs(e,t,i);0!==(131072&e.flags)&&(ws=!0)}}return Ls(e,t,n,r,i)}function Ns(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pi(Ml,Tl),Tl|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pi(Ml,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Pi(Ml,Tl),Tl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Pi(Ml,Tl),Tl|=r;return xs(e,t,i,n),t.child}function Ps(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ls(e,t,n,r,i){var o=Oi(n)?Ei:_i.current;return o=Fi(t,o),No(t,i),n=Aa(e,t,n,r,o,i),r=Na(),null===e||ws?(io&&r&&eo(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vs(e,t,i))}function _s(e,t,n,r,i){if(Oi(n)){var o=!0;ji(t)}else o=!1;if(No(t,i),null===t.stateNode)Hs(e,t),Ho(t,n,r),Go(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Po(u):u=Fi(t,u=Oi(n)?Ei:_i.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Vo(t,a,r,u),Fo=!1;var d=t.memoizedState;a.state=d,Do(t,r,a,i),l=t.memoizedState,s!==r||d!==l||Ci.current||Fo?("function"===typeof c&&(qo(t,n,c,r),l=t.memoizedState),(s=Fo||Wo(t,n,s,r,d,l,u))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,To(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:vo(t.type,s),a.props=u,f=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Po(l):l=Fi(t,l=Oi(n)?Ei:_i.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==f||d!==l)&&Vo(t,a,r,l),Fo=!1,d=t.memoizedState,a.state=d,Do(t,r,a,i);var p=t.memoizedState;s!==f||d!==p||Ci.current||Fo?("function"===typeof h&&(qo(t,n,h,r),p=t.memoizedState),(u=Fo||Wo(t,n,u,r,d,p,l)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Cs(e,t,n,r,o,i)}function Cs(e,t,n,r,i,o){Ps(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&Ri(t,n,!1),Vs(e,t,o);r=t.stateNode,bs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ko(t,e.child,null,o),t.child=Ko(t,null,s,o)):xs(e,t,s,o),t.memoizedState=r.state,i&&Ri(t,n,!0),t.child}function Es(e){var t=e.stateNode;t.pendingContext?Mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mi(0,t.context,!1),ia(e,t.containerInfo)}function Fs(e,t,n,r,i){return po(),go(i),t.flags|=256,xs(e,t,n,r),t.child}var Os,Ts,Ms,Is,js={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,i=t.pendingProps,a=la.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Pi(la,1&a),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Ru(l,i,0,null),e=ju(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=js,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=fs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Ru({mode:"visible",children:r.children},i,0,null),(a=ju(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Ko(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=js,a);if(0===(1&t.mode))return zs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=fs(a=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),ws||l){if(null!==(r=El)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Eo(e,i),ru(r,e,i,-1))}return mu(),zs(e,t,s,r=fs(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=_u.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ui(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Zi[Yi++]=$i,Zi[Yi++]=Ki,Zi[Yi++]=Ji,$i=e.id,Ki=e.overflow,Ji=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null):(i=Mu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Mu(r,s):(s=ju(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Rs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=js,i}return e=(s=e.child).sibling,i=Mu(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Bs(e,t){return(t=Ru({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&go(r),Ko(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function qs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ao(e.return,t,n)}function Us(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Ws(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,n,t);else if(19===e.tag)qs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Pi(la,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Us(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ua(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Us(t,!0,n,null,o);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Mu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ys(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Oi(t.type)&&Ti(),Zs(t),null;case 3:return r=t.stateNode,oa(),Ni(Ci),Ni(_i),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(su(oo),oo=null))),Ts(e,t),Zs(t),null;case 5:sa(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ms(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Zs(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[hi]=a,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Ir.length;i++)Br(Ir[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":$(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":ie(r,a),Br("invalid",r)}for(var l in ye(n,a),i=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":G(r),Q(r,a,!0);break;case"textarea":G(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Qr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[di]=t,e[hi]=r,Os(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),i=r;break;case"iframe":case"object":case"embed":Br("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ir.length;i++)Br(Ir[i],e);i=r;break;case"source":Br("error",e),i=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=r;break;case"details":Br("toggle",e),i=r;break;case"input":$(e,r),i=J(e,r),Br("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=R({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Br("invalid",e)}for(a in ye(n,i),u=i)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Br("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":G(e),Q(e,r,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Qr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ea.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return Zs(t),null;case 13:if(Ni(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))ho(),po(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[di]=t}else po(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),a=!1}else null!==oo&&(su(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&la.current)?0===Il&&(Il=3):mu())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return oa(),Ts(e,t),null===e&&Ur(t.stateNode.containerInfo),Zs(t),null;case 10:return ko(t.type._context),Zs(t),null;case 19:if(Ni(la),null===(a=t.memoizedState))return Zs(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Gs(a,!1);else{if(0!==Il||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,Gs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pi(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Ke()>Wl&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Zs(t),null}else 2*Ke()-a.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ke(),t.sibling=null,n=la.current,Pi(la,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Tl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Js(e,t){switch(to(t),t.tag){case 1:return Oi(t.type)&&Ti(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Ni(Ci),Ni(_i),fa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Ni(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ni(la),null;case 4:return oa(),null;case 10:return ko(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Os=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ts=function(){},Ms=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=J(e,i),r=J(e,r),a=[];break;case"select":i=R({},i,{value:void 0}),r=R({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Qr)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var $s=!1,Ks=!1,Xs="function"===typeof WeakSet?WeakSet:Set,Qs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Nu(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Nu(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&tl(t,n,o)}i=i.next}while(i!==r)}}function il(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[gi],delete t[mi],delete t[vi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var fl=null,dl=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Ks||el(n,t);case 6:var r=fl,i=dl;fl=null,hl(e,t,n),dl=i,null!==(fl=r)&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fl.removeChild(n.stateNode));break;case 18:null!==fl&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Ut(e)):li(fl,n.stateNode));break;case 4:r=fl,i=dl,fl=n.stateNode.containerInfo,dl=!0,hl(e,t,n),fl=r,dl=i;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&tl(n,t,a),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Ks&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Nu(n,t,s)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,hl(e,t,n),Ks=r):hl(e,t,n);break;default:hl(e,t,n)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Cu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:fl=l.stateNode,dl=!1;break e;case 3:case 4:fl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===fl)throw Error(o(160));pl(a,s,i),fl=null,dl=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(c){Nu(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{rl(3,e,e.return),il(3,e)}catch(m){Nu(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Nu(e,e.return,m)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(m){Nu(e,e.return,m)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&K(i,a),be(l,s);var c=be(l,a);for(s=0;s<u.length;s+=2){var f=u[s],d=u[s+1];"style"===f?me(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,c)}switch(l){case"input":X(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[hi]=a}catch(m){Nu(e,e.return,m)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(m){Nu(e,e.return,m)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(m){Nu(e,e.return,m)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Ul=Ke())),4&r&&gl(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(c=Ks)||f,ml(t,e),Ks=c):ml(t,e),yl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Qs=e,f=e.child;null!==f;){for(d=Qs=f;null!==Qs;){switch(p=(h=Qs).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:el(h,h.return);var g=h.stateNode;if("function"===typeof g.componentWillUnmount){r=h,n=h.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Nu(r,n,m)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){Sl(d);continue}}null!==p?(p.return=h,Qs=p):Sl(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,c?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,s=void 0!==(u=d.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=ge("display",s))}catch(m){Nu(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Nu(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ml(t,e),yl(e),4&r&&gl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),cl(e,ll(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ul(e,ll(e),a);break;default:throw Error(o(161))}}catch(s){Nu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Qs=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Qs;){var i=Qs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||$s;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=$s;var u=Ks;if($s=a,(Ks=l)&&!u)for(Qs=i;null!==Qs;)l=(a=Qs).child,22===a.tag&&null!==a.memoizedState?kl(i):null!==l?(l.return=a,Qs=l):kl(i);for(;null!==o;)Qs=o,wl(o,t,n),o=o.sibling;Qs=i,$s=s,Ks=u}xl(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Qs=o):xl(e)}}function xl(e){for(;null!==Qs;){var t=Qs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ks||il(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:vo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ut(d)}}}break;default:throw Error(o(163))}Ks||512&t.flags&&ol(t)}catch(h){Nu(t,t.return,h)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function Sl(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function kl(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{il(4,t)}catch(l){Nu(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){Nu(t,i,l)}}var o=t.return;try{ol(t)}catch(l){Nu(t,o,l)}break;case 5:var a=t.return;try{ol(t)}catch(l){Nu(t,a,l)}}}catch(l){Nu(t,t.return,l)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var Al,Nl=Math.ceil,Pl=w.ReactCurrentDispatcher,Ll=w.ReactCurrentOwner,_l=w.ReactCurrentBatchConfig,Cl=0,El=null,Fl=null,Ol=0,Tl=0,Ml=Ai(0),Il=0,jl=null,Rl=0,Dl=0,Bl=0,zl=null,ql=null,Ul=0,Wl=1/0,Hl=null,Vl=!1,Gl=null,Zl=null,Yl=!1,Jl=null,$l=0,Kl=0,Xl=null,Ql=-1,eu=0;function tu(){return 0!==(6&Cl)?Ke():-1!==Ql?Ql:Ql=Ke()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Cl)&&0!==Ol?Ol&-Ol:null!==mo.transition?(0===eu&&(eu=gt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:$t(e.type)}function ru(e,t,n,r){if(50<Kl)throw Kl=0,Xl=null,Error(o(185));vt(e,n,r),0!==(2&Cl)&&e===El||(e===El&&(0===(2&Cl)&&(Dl|=n),4===Il&&lu(e,Ol)),iu(e,r),1===n&&0===Cl&&0===(1&t.mode)&&(Wl=Ke()+500,Bi&&Ui()))}function iu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===El?Ol:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Bi=!0,qi(e)}(uu.bind(null,e)):qi(uu.bind(null,e)),ai((function(){0===(6&Cl)&&Ui()})),n=null;else{switch(wt(r)){case 1:n=Qe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Eu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Ql=-1,eu=0,0!==(6&Cl))throw Error(o(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=dt(e,e===El?Ol:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var i=Cl;Cl|=2;var a=gu();for(El===e&&Ol===t||(Hl=null,Wl=Ke()+500,hu(e,t));;)try{bu();break}catch(l){pu(e,l)}So(),Pl.current=a,Cl=i,null!==Fl?t=0:(El=null,Ol=0,t=Il)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=au(e,i))),1===t)throw n=jl,hu(e,0),lu(e,r),iu(e,Ke()),n;if(6===t)lu(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=vu(e,r))&&(0!==(a=pt(e))&&(r=a,t=au(e,a))),1===t))throw n=jl,hu(e,0),lu(e,r),iu(e,Ke()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Su(e,ql,Hl);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Ul+500-Ke())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(Su.bind(null,e,ql,Hl),t);break}Su(e,ql,Hl);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Nl(r/1960))-r)){e.timeoutHandle=ri(Su.bind(null,e,ql,Hl),r);break}Su(e,ql,Hl);break;default:throw Error(o(329))}}}return iu(e,Ke()),e.callbackNode===n?ou.bind(null,e):null}function au(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=ql,ql=n,null!==t&&su(t)),e}function su(e){null===ql?ql=e:ql.push.apply(ql,e)}function lu(e,t){for(t&=~Bl,t&=~Dl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&Cl))throw Error(o(327));ku();var t=dt(e,0);if(0===(1&t))return iu(e,Ke()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=jl,hu(e,0),lu(e,t),iu(e,Ke()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Su(e,ql,Hl),iu(e,Ke()),null}function cu(e,t){var n=Cl;Cl|=1;try{return e(t)}finally{0===(Cl=n)&&(Wl=Ke()+500,Bi&&Ui())}}function fu(e){null!==Jl&&0===Jl.tag&&0===(6&Cl)&&ku();var t=Cl;Cl|=1;var n=_l.transition,r=bt;try{if(_l.transition=null,bt=1,e)return e()}finally{bt=r,_l.transition=n,0===(6&(Cl=t))&&Ui()}}function du(){Tl=Ml.current,Ni(Ml)}function hu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Fl)for(n=Fl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ti();break;case 3:oa(),Ni(Ci),Ni(_i),fa();break;case 5:sa(r);break;case 4:oa();break;case 13:case 19:Ni(la);break;case 10:ko(r.type._context);break;case 22:case 23:du()}n=n.return}if(El=e,Fl=e=Mu(e.current,null),Ol=Tl=t,Il=0,jl=null,Bl=Dl=Rl=0,ql=zl=null,null!==Lo){for(t=0;t<Lo.length;t++)if(null!==(r=(n=Lo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Lo=null}return e}function pu(e,t){for(;;){var n=Fl;try{if(So(),da.current=as,ya){for(var r=ga.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ya=!1}if(pa=0,va=ma=ga=null,ba=!1,wa=0,Ll.current=null,null===n||null===n.return){Il=1,jl=t,Fl=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Ol,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,f=l,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=vs(s);if(null!==p){p.flags&=-257,ys(p,s,l,0,t),1&p.mode&&ms(a,c,t),u=c;var g=(t=p).updateQueue;if(null===g){var m=new Set;m.add(u),t.updateQueue=m}else g.add(u);break e}if(0===(1&t)){ms(a,c,t),mu();break e}u=Error(o(426))}else if(io&&1&l.mode){var v=vs(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),ys(v,s,l,0,t),go(cs(u,l));break e}}a=u=cs(u,l),4!==Il&&(Il=2),null===zl?zl=[a]:zl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ro(a,ps(0,u,t));break e;case 1:l=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Zl||!Zl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ro(a,gs(a,l,t));break e}}a=a.return}while(null!==a)}xu(n)}catch(w){t=w,Fl===n&&null!==n&&(Fl=n=n.return);continue}break}}function gu(){var e=Pl.current;return Pl.current=as,null===e?as:e}function mu(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===El||0===(268435455&Rl)&&0===(268435455&Dl)||lu(El,Ol)}function vu(e,t){var n=Cl;Cl|=2;var r=gu();for(El===e&&Ol===t||(Hl=null,hu(e,t));;)try{yu();break}catch(i){pu(e,i)}if(So(),Cl=n,Pl.current=r,null!==Fl)throw Error(o(261));return El=null,Ol=0,Il}function yu(){for(;null!==Fl;)wu(Fl)}function bu(){for(;null!==Fl&&!Je();)wu(Fl)}function wu(e){var t=Al(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?xu(e):Fl=t,Ll.current=null}function xu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ys(n,t,Tl)))return void(Fl=n)}else{if(null!==(n=Js(n,t)))return n.flags&=32767,void(Fl=n);if(null===e)return Il=6,void(Fl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Fl=t);Fl=t=e}while(null!==t);0===Il&&(Il=5)}function Su(e,t,n){var r=bt,i=_l.transition;try{_l.transition=null,bt=1,function(e,t,n,r){do{ku()}while(null!==Jl);if(0!==(6&Cl))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===El&&(Fl=El=null,Ol=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Yl||(Yl=!0,Eu(tt,(function(){return ku(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=_l.transition,_l.transition=null;var s=bt;bt=1;var l=Cl;Cl|=4,Ll.current=null,function(e,t){if(ei=Ht,hr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var s=0,l=-1,u=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(l=s+i),d!==a||0!==r&&3!==d.nodeType||(u=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++c===i&&(l=s),h===a&&++f===r&&(u=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Ht=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,v=g.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:vo(t.type,m),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(x){Nu(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}g=nl,nl=!1}(e,n),vl(n,e),pr(ti),Ht=!!ei,ti=ei=null,e.current=n,bl(n,e,i),$e(),Cl=l,bt=s,_l.transition=a}else e.current=n;if(Yl&&(Yl=!1,Jl=e,$l=i),a=e.pendingLanes,0===a&&(Zl=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),iu(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Vl)throw Vl=!1,e=Gl,Gl=null,e;0!==(1&$l)&&0!==e.tag&&ku(),a=e.pendingLanes,0!==(1&a)?e===Xl?Kl++:(Kl=0,Xl=e):Kl=0,Ui()}(e,t,n,r)}finally{_l.transition=i,bt=r}return null}function ku(){if(null!==Jl){var e=wt($l),t=_l.transition,n=bt;try{if(_l.transition=null,bt=16>e?16:e,null===Jl)var r=!1;else{if(e=Jl,Jl=null,$l=0,0!==(6&Cl))throw Error(o(331));var i=Cl;for(Cl|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(0!==(16&Qs.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Qs=c;null!==Qs;){var f=Qs;switch(f.tag){case 0:case 11:case 15:rl(8,f,a)}var d=f.child;if(null!==d)d.return=f,Qs=d;else for(;null!==Qs;){var h=(f=Qs).sibling,p=f.return;if(al(f),f===c){Qs=null;break}if(null!==h){h.return=p,Qs=h;break}Qs=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Qs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(0!==(2048&(a=Qs).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Qs=y;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var w=(s=Qs).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Qs=w;else e:for(s=b;null!==Qs;){if(0!==(2048&(l=Qs).flags))try{switch(l.tag){case 0:case 11:case 15:il(9,l)}}catch(S){Nu(l,l.return,S)}if(l===s){Qs=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Qs=x;break e}Qs=l.return}}if(Cl=i,Ui(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(S){}r=!0}return r}finally{bt=n,_l.transition=t}}return!1}function Au(e,t,n){e=Io(e,t=ps(0,t=cs(n,t),1),1),t=tu(),null!==e&&(vt(e,1,t),iu(e,t))}function Nu(e,t,n){if(3===e.tag)Au(e,e,n);else for(;null!==t;){if(3===t.tag){Au(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Io(t,e=gs(t,e=cs(n,e),1),1),e=tu(),null!==t&&(vt(t,1,e),iu(t,e));break}}t=t.return}}function Pu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,El===e&&(Ol&n)===n&&(4===Il||3===Il&&(130023424&Ol)===Ol&&500>Ke()-Ul?hu(e,0):Bl|=n),iu(e,t)}function Lu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Eo(e,t))&&(vt(e,t,n),iu(e,n))}function _u(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Lu(e,n)}function Cu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Lu(e,n)}function Eu(e,t){return Ze(e,t)}function Fu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new Fu(e,t,n,r)}function Tu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(e,t){var n=e.alternate;return null===n?((n=Ou(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Tu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return ju(n.children,i,a,t);case A:s=8,i|=8;break;case N:return(e=Ou(12,n,t,2|i)).elementType=N,e.lanes=a,e;case C:return(e=Ou(13,n,t,i)).elementType=C,e.lanes=a,e;case E:return(e=Ou(19,n,t,i)).elementType=E,e.lanes=a,e;case T:return Ru(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case P:s=10;break e;case L:s=9;break e;case _:s=11;break e;case F:s=14;break e;case O:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ou(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function ju(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Ru(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=T,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function qu(e,t,n,r,i,o,a,s,l){return e=new zu(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oo(o),e}function Uu(e){if(!e)return Li;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Oi(n))return Ii(e,n,t)}return t}function Wu(e,t,n,r,i,o,a,s,l){return(e=qu(n,r,!0,e,0,o,0,s,l)).context=Uu(null),n=e.current,(o=Mo(r=tu(),i=nu(n))).callback=void 0!==t&&null!==t?t:null,Io(n,o,i),e.current.lanes=i,vt(e,i,r),iu(e,r),e}function Hu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(i,t,a))&&(ru(e,i,a,o),jo(e,i,a)),a}function Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Al=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ci.current)ws=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:Es(t),po();break;case 5:aa(t);break;case 1:Oi(t.type)&&ji(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Pi(yo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Pi(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ds(e,t,n):(Pi(la,1&la.current),null!==(e=Vs(e,t,n))?e.sibling:null);Pi(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ws(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Pi(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Ns(e,t,n)}return Vs(e,t,n)}(e,t,n);ws=0!==(131072&e.flags)}else ws=!1,io&&0!==(1048576&t.flags)&&Qi(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var i=Fi(t,_i.current);No(t,n),i=Aa(null,t,r,e,i,n);var a=Na();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oi(r)?(a=!0,ji(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Oo(t),i.updater=Uo,t.stateNode=i,i._reactInternals=t,Go(t,r,e,n),t=Cs(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),xs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Tu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===_)return 11;if(e===F)return 14}return 2}(r),e=vo(r,e),i){case 0:t=Ls(null,t,r,e,n);break e;case 1:t=_s(null,t,r,e,n);break e;case 11:t=Ss(null,t,r,e,n);break e;case 14:t=ks(null,t,r,vo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ls(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 1:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 3:e:{if(Es(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,To(e,t),Do(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Fs(e,t,r,n,i=cs(Error(o(423)),t));break e}if(r!==i){t=Fs(e,t,r,n,i=cs(Error(o(424)),t));break e}for(ro=ui(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=Vs(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&uo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Ps(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ds(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ko(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ss(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Pi(yo,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Ci.current){t=Vs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Mo(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ao(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ao(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,No(t,n),r=r(i=Po(i)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return i=vo(r=t.type,t.pendingProps),ks(e,t,r,i=vo(r.type,i),n);case 15:return As(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:vo(r,i),Hs(e,t),t.tag=1,Oi(r)?(e=!0,ji(t)):e=!1,No(t,n),Ho(t,r,i),Go(t,r,i,n),Cs(null,t,r,!0,e,n);case 19:return Ws(e,t,n);case 22:return Ns(e,t,n)}throw Error(o(156,t.tag))};var Yu="function"===typeof reportError?reportError:function(e){console.error(e)};function Ju(e){this._internalRoot=e}function $u(e){this._internalRoot=e}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qu(){}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var s=i;i=function(){var e=Vu(a);s.call(e)}}Hu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=Vu(a);o.call(e)}}var a=Wu(t,r,e,0,null,!1,0,"",Qu);return e._reactRootContainer=a,e[pi]=a.current,Ur(8===e.nodeType?e.parentNode:e),fu(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=Vu(l);s.call(e)}}var l=qu(e,0,!1,null,0,!1,0,"",Qu);return e._reactRootContainer=l,e[pi]=l.current,Ur(8===e.nodeType?e.parentNode:e),fu((function(){Hu(t,l,n,r)})),l}(n,t,e,i,r);return Vu(a)}$u.prototype.render=Ju.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hu(e,t,null,null)},$u.prototype.unmount=Ju.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fu((function(){Hu(null,e,null,null)})),t[pi]=null}},$u.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tt.length&&0!==t&&t<Tt[n].priority;n++);Tt.splice(n,0,e),0===n&&Rt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),iu(t,Ke()),0===(6&Cl)&&(Wl=Ke()+500,Ui()))}break;case 13:fu((function(){var t=Eo(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Zu(e,1)}},St=function(e){if(13===e.tag){var t=Eo(e,134217728);if(null!==t)ru(t,e,134217728,tu());Zu(e,134217728)}},kt=function(e){if(13===e.tag){var t=nu(e),n=Eo(e,t);if(null!==n)ru(n,e,t,tu());Zu(e,t)}},At=function(){return bt},Nt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xi(r);if(!i)throw Error(o(90));Z(r),X(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},_e=cu,Ce=fu;var tc={usingClientEntryPoint:!1,Events:[bi,wi,xi,Pe,Le,cu]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(rc),ot=ic}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Ku(e))throw Error(o(299));var n=!1,r="",i=Yu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=qu(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ju(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return fu(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ku(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Yu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Wu(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,Ur(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new $u(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(o(40));return!!e._reactRootContainer&&(fu((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},6374:function(e,t,n){"use strict";var r=n(2791),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,g(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function N(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!A.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:k.current}}function P(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var L=/\/+/g;function _(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function C(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+_(l,0):o,x(a)?(i="",null!=e&&(i=e.replace(L,"$&/")+"/"),C(a,t,i,"",(function(e){return e}))):null!=a&&(P(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(L,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",x(e))for(var u=0;u<e.length;u++){var c=o+_(s=e[u],u);l+=C(s,t,i,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=C(s=s.value,t,i,c=o+_(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function E(e,t,n){if(null==e)return e;var r=[],i=0;return C(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function F(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},T={transition:null},M={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:T,ReactCurrentOwner:k};t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)S.call(t,u)&&!A.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=N,t.createFactory=function(e){var t=N.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,d=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(m=!1,w(e),!g)if(null!==r(u))g=!0,T(S);else{var t=r(c);null!==t&&M(x,t.startTime-e)}}function S(e,n){g=!1,m&&(m=!1,y(P),P=-1),p=!0;var o=h;try{for(w(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!C());){var a=d.callback;if("function"===typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(u)&&i(u),w(n)}else i(u);d=r(u)}if(null!==d)var l=!0;else{var f=r(c);null!==f&&M(x,f.startTime-n),l=!1}return l}finally{d=null,h=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,A=!1,N=null,P=-1,L=5,_=-1;function C(){return!(t.unstable_now()-_<L)}
2function E(){if(null!==N){var e=t.unstable_now();_=e;var n=!0;try{n=N(!0,e)}finally{n?k():(A=!1,N=null)}}else A=!1}if("function"===typeof b)k=function(){b(E)};else if("undefined"!==typeof MessageChannel){var F=new MessageChannel,O=F.port2;F.port1.onmessage=E,k=function(){O.postMessage(null)}}else k=function(){v(E,0)};function T(e){N=e,A||(A=!0,k())}function M(e,n){P=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,T(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(y(P),P=-1):m=!0,M(x,o-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,T(S))),e},t.unstable_shouldYield=C,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5861:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return i}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},7762:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}},9388:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1120),i=n(8814),o=n(2963);function a(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return(0,o.Z)(this,n)}}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9611);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},8814:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";
vendor: 5,183 bytes, line 2
2function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002),i=n(7326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},4165:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new L(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=f;var h={};function p(){}function g(){}function m(){}var v={};c(v,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(_([])));b&&b!==t&&n.call(b,s)&&(v=b);var w=m.prototype=p.prototype=Object.create(v);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function i(o,a,s,l){var u=d(e[o],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==(0,r.Z)(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function _(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return g.prototype=m,o(w,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=c(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(S.prototype),c(S.prototype,l,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(f(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),c(w,u,"Generator"),c(w,s,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=_,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(P),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878);var i=n(181),o=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907);var i=n(9199),o=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"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},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var i=t[r];
2if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(o,a),o}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+"."+{498:"39ccf258",598:"08018f2a",703:"7e473a53"}[e]+".chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="myapp:";n.l=function(r,i,o,a){if(e[r])e[r].push(i);else{var s,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var f=u[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[i];var d=function(t,n){s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=o);var a=n.p+n.u(t),s=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}}),"chunk-"+t,t)}};var t=function(t,r){var i,o,a=r[0],s=r[1],l=r[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)l(n)}for(t&&t(r);u<a.length;u++)o=a[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkmyapp=self.webpackChunkmyapp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e=n(2791),t=n.t(e,2),r=n(1250),i=n(9439),o=n(4942);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=n(4165),u=n(5861),c=n(3433),f=n(5671),d=n(3144),h=n(136),p=n(9388),g=n(1120),m=n(9611);var v=n(8814);function y(e,t,n){return y=(0,v.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,m.Z)(i,n.prototype),i},y.apply(null,arguments)}function b(e){var t="function"===typeof Map?new Map:void 0;return b=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return y(e,arguments,(0,g.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,m.Z)(r,e)},b(e)}var w=n(3878),x=n(9199),S=n(181),k=n(5267);var A,N=n(7762);function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(A||(A={}));var L,_="popstate";function C(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function E(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function F(e,t){return{usr:e.state,key:e.key,idx:t}}function O(e,t,n,r){return void 0===n&&(n=null),P({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?M(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function T(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function M(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function I(e,t,n,r){void 0===r&&(r={});var i=r,o=i.window,a=void 0===o?document.defaultView:o,s=i.v5Compat,l=void 0!==s&&s,u=a.history,c=A.Pop,f=null,d=h();function h(){return(u.state||{idx:null}).idx}function p(){c=A.Pop;var e=h(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function g(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:T(e);return C(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,u.replaceState(P({},u.state,{idx:d}),""));var m={get action(){return c},get location(){return e(a,u)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(_,p),f=e,function(){a.removeEventListener(_,p),f=null}},createHref:function(e){return t(a,e)},createURL:g,encodeLocation:function(e){var t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=A.Push;var r=O(m.location,e,t);n&&n(r,e);var i=F(r,d=h()+1),o=m.createHref(r);try{u.pushState(i,"",o)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;a.location.assign(o)}l&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=A.Replace;var r=O(m.location,e,t);n&&n(r,e);var i=F(r,d=h()),o=m.createHref(r);u.replaceState(i,"",o),l&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return u.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(L||(L={}));
2new Set(["lazy","caseSensitive","path","id","index","children"]);function j(e,t,n){void 0===n&&(n="/");var r=$(("string"===typeof t?M(t):t).pathname||"/",n);if(null==r)return null;var i=R(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=Z(i[a],J(r));return o}function R(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,o){var a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(C(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var s=ee([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(C(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),R(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:G(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=(0,N.Z)(D(e.path));try{for(o.s();!(r=o.n()).done;){var a=r.value;i(e,t,a)}}catch(s){o.e(s)}finally{o.f()}}else i(e,t)})),t}function D(e){var t=e.split("/");if(0===t.length)return[];var n,r=(n=t,(0,w.Z)(n)||(0,x.Z)(n)||(0,S.Z)(n)||(0,k.Z)()),i=r[0],o=r.slice(1),a=i.endsWith("?"),s=i.replace(/\?$/,"");if(0===o.length)return a?[s,""]:[s];var l=D(o.join("/")),u=[];return u.push.apply(u,(0,c.Z)(l.map((function(e){return""===e?s:[s,e].join("/")})))),a&&u.push.apply(u,(0,c.Z)(l)),u.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var B=/^:\w+$/,z=3,q=2,U=1,W=10,H=-2,V=function(e){return"*"===e};function G(e,t){var n=e.split("/"),r=n.length;return n.some(V)&&(r+=H),t&&(r+=q),n.filter((function(e){return!V(e)})).reduce((function(e,t){return e+(B.test(t)?z:""===t?U:W)}),r)}function Z(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var s=n[a],l=a===n.length-1,u="/"===i?t:t.slice(i.length)||"/",c=Y({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!c)return null;
2Object.assign(r,c.params);var f=s.route;o.push({params:r,pathname:ee([i,c.pathname]),pathnameBase:te(ee([i,c.pathnameBase])),route:f}),"/"!==c.pathnameBase&&(i=ee([i,c.pathnameBase]))}return o}function Y(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);E("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),r=(0,i.Z)(n,2),o=r[0],a=r[1],s=t.match(o);if(!s)return null;var l=s[0],u=l.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:a.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";u=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return E(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{}),pathname:l,pathnameBase:u,pattern:e}}function J(e){try{return decodeURI(e)}catch(t){return E(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function $(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function K(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function X(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Q(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=M(e):(C(!(i=P({},e)).pathname||!i.pathname.includes("?"),K("?","pathname","search",i)),C(!i.pathname||!i.pathname.includes("#"),K("#","pathname","hash",i)),C(!i.search||!i.search.includes("#"),K("#","search","hash",i)));var o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(r||null==s)o=n;else{var l=t.length-1;if(s.startsWith("..")){for(var u=s.split("/");".."===u[0];)u.shift(),l-=1;i.pathname=u.join("/")}o=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?M(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:ne(o),hash:re(s)}}(i,o),f=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}var ee=function(e){return e.join("/").replace(/\/\/+/g,"/")},te=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},ne=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},re=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},ie=function(e){(0,h.Z)(n,e);var t=(0,p.Z)(n);function n(){return(0,f.Z)(this,n),t.apply(this,arguments)}return(0,d.Z)(n)}(b(Error));function oe(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ae=["post","put","patch","delete"],se=(new Set(ae),["get"].concat(ae));new Set(se),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(this,arguments)}var ue=e.createContext(null);var ce=e.createContext(null);var fe=e.createContext(null);var de=e.createContext(null);var he=e.createContext(null);var pe=e.createContext({outlet:null,matches:[],isDataRoute:!1});var ge=e.createContext(null);function me(){return null!=e.useContext(he)}function ve(){return me()||C(!1),e.useContext(he).location}function ye(t){e.useContext(de).static||e.useLayoutEffect(t)}function be(){return e.useContext(pe).isDataRoute?function(){var t=_e(Pe.UseN
2avigateStable).router,n=Ee(Le.UseNavigateStable),r=e.useRef(!1);return ye((function(){r.current=!0})),e.useCallback((function(e,i){void 0===i&&(i={}),r.current&&("number"===typeof e?t.navigate(e):t.navigate(e,le({fromRouteId:n},i)))}),[t,n])}():function(){me()||C(!1);var t=e.useContext(ue),n=e.useContext(de),r=n.basename,i=n.navigator,o=e.useContext(pe).matches,a=ve().pathname,s=JSON.stringify(X(o).map((function(e){return e.pathnameBase}))),l=e.useRef(!1);return ye((function(){l.current=!0})),e.useCallback((function(e,n){if(void 0===n&&(n={}),l.current)if("number"!==typeof e){var o=Q(e,JSON.parse(s),a,"path"===n.relative);null==t&&"/"!==r&&(o.pathname="/"===o.pathname?r:ee([r,o.pathname])),(n.replace?i.replace:i.push)(o,n.state,n)}else i.go(e)}),[r,i,s,a,t])}()}function we(t,n,r){me()||C(!1);var i,o=e.useContext(de).navigator,a=e.useContext(pe).matches,s=a[a.length-1],l=s?s.params:{},u=(s&&s.pathname,s?s.pathnameBase:"/"),c=(s&&s.route,ve());if(n){var f,d="string"===typeof n?M(n):n;"/"===u||(null==(f=d.pathname)?void 0:f.startsWith(u))||C(!1),i=d}else i=c;var h=i.pathname||"/",p=j(t,{pathname:"/"===u?h:h.slice(u.length)||"/"});var g=Ne(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:ee([u,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:ee([u,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,r);return n&&g?e.createElement(he.Provider,{value:{location:le({pathname:"/",search:"",hash:"",state:null,key:"default"},i),navigationType:A.Pop}},g):g}function xe(){var t=function(){var t,n=e.useContext(ge),r=Ce(Le.UseRouteError),i=Ee(Le.UseRouteError);if(n)return n;return null==(t=r.errors)?void 0:t[i]}(),n=oe(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:o},r):null,null)}var Se=e.createElement(xe,null),ke=function(t){(0,h.Z)(r,t);var n=(0,p.Z)(r);function r(e){var t;return(0,f.Z)(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return(0,d.Z)(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?e.createElement(pe.Provider,{value:this.props.routeContext},e.createElement(ge.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(e.Component);function Ae(t){var n=t.routeContext,r=t.match,i=t.children,o=e.useContext(ue);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(pe.Provider,{value:n},i)}function Ne(t,n,r){var i;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==t){var o;if(null==(o=r)||!o.errors)return null;t=r.matches}var a=t,s=null==(i=r)?void 0:i.errors;if(null!=s){var l=a.findIndex((function(e){return e.route.id&&(null==s?void 0:s[e.route.id])}));l>=0||C(!1),a=a.slice(0,Math.min(a.length,l+1))}return a.reduceRight((function(t,i,o){var l=i.route.id?null==s?void 0:s[i.route.id]:null,u=null;r&&(u=i.route.errorElement||Se);var c=n.concat(a.slice(0,o+1)),f=function(){var n;return n=l?u:i.route.Component?e.createElement(i.route.Component,null):i.route.element?i.route.element:t,e.createElement(Ae,{match:i,routeContext:{outlet:t,matches:c,isDataRoute:null!=r},children:n})};return r&&(i.route.ErrorBoundary||i.route.errorElement||0===o)?e.createElement(ke,{location:r.location,revalidation:r.revalidation,component:u,error:l,children:f(),routeC
2ontext:{outlet:null,matches:c,isDataRoute:!0}}):f()}),null)}var Pe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Pe||{}),Le=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Le||{});function _e(t){var n=e.useContext(ue);return n||C(!1),n}function Ce(t){var n=e.useContext(ce);return n||C(!1),n}function Ee(t){var n=function(t){var n=e.useContext(pe);return n||C(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||C(!1),r.route.id}t.startTransition;function Fe(e){C(!1)}function Oe(t){var n=t.basename,r=void 0===n?"/":n,i=t.children,o=void 0===i?null:i,a=t.location,s=t.navigationType,l=void 0===s?A.Pop:s,u=t.navigator,c=t.static,f=void 0!==c&&c;me()&&C(!1);var d=r.replace(/^\/*/,"/"),h=e.useMemo((function(){return{basename:d,navigator:u,static:f}}),[d,u,f]);"string"===typeof a&&(a=M(a));var p=a,g=p.pathname,m=void 0===g?"/":g,v=p.search,y=void 0===v?"":v,b=p.hash,w=void 0===b?"":b,x=p.state,S=void 0===x?null:x,k=p.key,N=void 0===k?"default":k,P=e.useMemo((function(){var e=$
2(m,d);return null==e?null:{location:{pathname:e,search:y,hash:w,state:S,key:N},navigationType:l}}),[d,m,y,w,S,N,l]);return null==P?null:e.createElement(de.Provider,{value:h},e.createElement(he.Provider,{children:o,value:P}))}function Te(e){var t=e.children,n=e.location;return we(je(t),n)}var Me=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(Me||{}),Ie=new Promise((function(){}));e.Component;function je(t,n){void 0===n&&(n=[]);var r=[];return e.Children.forEach(t,(function(t,i){if(e.isValidElement(t)){var o=[].concat((0,c.Z)(n),[i]);if(t.type!==e.Fragment){t.type!==Fe&&C(!1),t.props.index&&t.props.children&&C(!1);var a={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(a.children=je(t.props.children,o)),r.push(a)}else r.push.apply(r,je(t.props.children,o))}})),r}var Re={container:"Form_container__VTs6p","logo-text":"Form_logo-text__iXoRO","logo-container":"Form_logo-container__T+SuB",heading1:"Form_heading1__tFvl8",input:"Form_input__qMXUz",empty:"Form_empty__rNuUi",checkboxText:"Form_checkboxText__7LUHs",checkboxLabel:"Form_checkboxLabel__wjaMD",checkbox:"Form_checkbox__QyiY0",checkboxLink:"Form_checkboxLink__SpSc3"},De=n(184),Be=function(t){var n=be(),r=(0,e.useState)({name:"",companyName:"",phoneNumber:"",email:""}),a=(0,i.Z)(r,2),c=a[0],f=a[1],d=(0,e.useState)(!1),h=(0,i.Z)(d,2),p=h[0],g=h[1],m=function(){var e=(0,u.Z)((0,l.Z)().mark((function e(r){return(0,l.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.preventDefault(),!/\d/.test(c.name)){e.next=4;break}return alert("Please enter a valid name without numbers."),e.abrupt("return");case 4:if(!/\d/.test(c.companyName)){e.next=7;break}return alert("Please enter a valid Company Name without numbers."),e.abrupt("return");case 7:if(/^\d+$/.test(c.phoneNumber)||/^\d{10}$/.test(c.phoneNumber)){e.next=10;break}return alert("Please enter a valid phone number."),e.abrupt("return");case 10:if(/^.+@.+\..+$/.test(c.email)){e.next=13;break}return alert("Please enter a valid email address."),e.abrupt("return");case 13:if(/^\d{10}$/.test(c.phoneNumber)){e.next=16;break}return alert("Please enter a valid 10-digit phone number."),e.abrupt("return");case 16:if(p){e.next=19;break}return alert("Please agree to the terms and conditions."),e.abrupt("return");case 19:return e.next=21,t.updateData(c);case 21:n("/Questionnare"),f({name:"",companyName:"",phoneNumber:"",email:""});case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(e){var t=e.target,n=t.name,r=t.value;f((function(e){return s(s({},e),{},(0,o.Z)({},n,r))}))},y=c.name&&c.companyName&&c.phoneNumber&&c.email;return(0,De.jsxs)("div",{className:Re.container,children:[(0,De.jsx)("header",{className:Re.header,children:(0,De.jsx)("div",{className:Re["logo-container"],children:(0,De.jsx)("img",{src:"/Cyber Ethos Logo.png",alt:"Cyber Ethos Logo",width:319.02,height:142.92,className:Re.logo})})}),(0,De.jsx)("p",{className:Re["logo-text"],children:"Essential 8 Assessment"}),(0,De.jsxs)("form",{className:Re.input,onSubmit:m,children:[(0,De.jsx)("input",{type:"text",id:"name",placeholder:"Name",name:"name",value:c.name,onChange:v,required:!0}),(0,De.jsx)("br",{}),(0,De.jsx)("input",{type:"text",id:"company",placeholder:"Company Name",name:"companyName",value:c.companyName,onChange:v,required:!0}),(0,De.jsx)("br",{}),(0,De.jsx)("input",{type:"tel",id:"phone",placeholder:"Phone Number",name:"phoneNumber",value:c.phoneNumber,onChange:v,required:!0}),(0,De.jsx)("br",{}),(0,De.jsx)("input",{type:"email",id:"email",placeholder:"Email Address",name:"email",value:c.email,onChange:v,required:!0}),(0,De.jsx)("br",{}),(0,De.jsxs)("label",{className:Re.checkboxLabel,children:[(0,De.jsx)("input",{type:"checkbox",id:"agreeCheckbox",checked:p,onChange:function(e){g(e.target.checked)},className:Re.checkbox}),(0,De.jsxs)("div",{className:Re.checkboxText,children:['By clicking "Start," you agree to our'," "," \xa0",(0,De.jsx)("p",{onClick:function(){n("/terms-and-conditions")},className:Re.checkboxLink,children:"Terms and Conditions"}),"."]})]}),(0,De.jsx)("br",{}),(0,De.jsx)("button",{type:"submit",id:"submitButton",className:y&&p?Re.activeButton:Re.inactiveButton,children:"Start"})]}),(0,De.jsx)("div",{className:"".concat(Re.empty)})]})};new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var ze=t.startTransition;function qe(t){var n,r=t.basename,o=t.children,a=t.future,s=t.window,l=e.useRef();null==l.current&&(l.current=(void 0===(n={window:s,v5Compat:!0})&&(n={}),I((function(e,t){var n=e.location;return O("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:T(t)}),null,n)));var u=l.current,c=e.useState({action:u.action,location:u.location}),f=(0,i.Z)(c,2),d=f[0],h=f[1],p=(a||{}
2).v7_startTransition,g=e.useCallback((function(e){p&&ze?ze((function(){return h(e)})):h(e)}),[h,p]);return e.useLayoutEffect((function(){return u.listen(g)}),[u,g]),e.createElement(Oe,{basename:r,children:o,location:d.location,navigationType:d.action,navigator:u})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Ue,We;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ue||(Ue={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(We||(We={}));function He(e,t){return function(){return e.apply(t,arguments)}}var Ve,Ge=Object.prototype.toString,Ze=Object.getPrototypeOf,Ye=(Ve=Object.create(null),function(e){var t=Ge.call(e);return Ve[t]||(Ve[t]=t.slice(8,-1).toLowerCase())}),Je=function(e){return e=e.toLowerCase(),function(t){return Ye(t)===e}},$e=function(e){return function(t){return typeof t===e}},Ke=Array.isArray,Xe=$e("undefined");var Qe=Je("ArrayBuffer");var et=$e("string"),tt=$e("function"),nt=$e("number"),rt=function(e){return null!==e&&"object"===typeof e},it=function(e){if("object"!==Ye(e))return!1;var t=Ze(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ot=Je("Date"),at=Je("File"),st=Je("Blob"),lt=Je("FileList"),ut=Je("URLSearchParams");function ct(e,t){var n,r,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,o=void 0!==i&&i;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Ke(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,s=o?Object.getOwnPropertyNames(e):Object.keys(e),l=s.length;for(n=0;n<l;n++)a=s[n],t.call(null,e[a],a,e)}}function ft(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),i=r.length;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}var dt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,ht=function(e){return!Xe(e)&&e!==dt};var pt,gt=(pt="undefined"!==typeof Uint8Array&&Ze(Uint8Array),function(e){return pt&&e instanceof pt}),mt=Je("HTMLFormElement"),vt=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),yt=Je("RegExp"),bt=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};ct(n,(function(n,i){var o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},wt="abcdefghijklmnopqrstuvwxyz",xt="0123456789",St={DIGIT:xt,ALPHA:wt,ALPHA_DIGIT:wt+wt.toUpperCase()+xt};var kt=Je("AsyncFunction"),At={isArray:Ke,isArrayBuffer:Qe,isBuffer:function(e){return null!==e&&!Xe(e)&&null!==e.constructor&&!Xe(e.constructor)&&tt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||tt(e.append)&&("formdata"===(t=Ye(e))||"object"===t&&tt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Qe(e.buffer)},isString:et,isNumber:nt,isBoolean:function(e){return!0===e||!1===e},isObject:rt,isPlainObject:it,isUndefined:Xe,isDate:ot,isFile:at,isBlob:st,isRegExp:yt,isFunction:tt,isStream:function(e){return rt(e)&&tt(e.pipe)},isURLSearchParams:ut,isTypedArray:gt,isFileList:lt,forEach:ct,merge:function e(){for(var t=(ht(this)&&this||{}).caseless,n={},r=function(r,i){var o=t&&ft(n,i)||i;it(n[o])&&it(r)?n[o]=e(n[o],r):it(r)?n[o]=e({},r):Ke(r)?n[o]=r.slice():n[o]=r},i=0,o=arguments.length;i<o;i++)arguments[i]&&ct(arguments[i],r);return n},extend:function(e,t,n){return ct(t,(function(t,r){n&&tt(t)?e[r]=He(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Ze(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ye,kindOfTest:Je,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Ke(e))return e;var t=e.length;if(!nt(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}
2,forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:mt,hasOwnProperty:vt,hasOwnProp:vt,reduceDescriptors:bt,freezeMethods:function(e){bt(e,(function(t,n){if(tt(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];tt(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Ke(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:ft,global:dt,isContextDefined:ht,ALPHABET:St,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:St.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&tt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(rt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var i=Ke(n)?[]:{};return ct(n,(function(t,n){var o=e(t,r+1);!Xe(o)&&(i[n]=o)})),t[r]=void 0,i}}return n}(e,0)},isAsyncFn:kt,isThenable:function(e){return e&&(rt(e)||tt(e))&&tt(e.then)&&tt(e.catch)}};function Nt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}At.inherits(Nt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:At.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Pt=Nt.prototype,Lt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Lt[e]={value:e}})),Object.defineProperties(Nt,Lt),Object.defineProperty(Pt,"isAxiosError",{value:!0}),Nt.from=function(e,t,n,r,i,o){var a=Object.create(Pt);return At.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),Nt.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var _t=Nt;function Ct(e){return At.isPlainObject(e)||At.isArray(e)}function Et(e){return At.endsWith(e,"[]")?e.slice(0,-2):e}function Ft(e,t,n){return e?e.concat(t).map((function(e,t){return e=Et(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var Ot=At.toFlatObject(At,{},null,(function(e){return/^is[A-Z]/.test(e)}));var Tt=function(e,t,n){if(!At.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=At.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!At.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&At.isSpecCompliantForm(t);if(!At.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(At.isDate(e))return e.toISOString();if(!s&&At.isBlob(e))throw new _t("Blob is not supported. Use a Buffer instead.");return At.isArrayBuffer(e)||At.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){var s=e;if(e&&!i&&"object"===typeof e)if(At.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(At.isArray(e)&&function(e){return At.isArray(e)&&!e.some(Ct)}(e)||(At.isFileList(e)||At.endsWith(n,"[]"))&&(s=At.toArray(e)))return n=Et(n),s.forEach((function(e,r){!At.isUndefined(e)&&null!==e&&t.append(!0===a?Ft([n],r,o):null===a?n:n+"[]",l(e))})),!1;return!!Ct(e)||(t.append(Ft(i,n,o),l(e)),!1)}var c=[],f=Object.assign(Ot,{defaultVisitor:u,convertValue:l,isVisitable:Ct});if(!At.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!At.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),At.forEach(n,(function(n,o){!0===(!(At.isUndefined(n)||null===n)&&i.call(t,n,At.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),c.pop()}}(e),t};
2function Mt(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function It(e,t){this._pairs=[],e&&Tt(e,this,t)}var jt=It.prototype;jt.append=function(e,t){this._pairs.push([e,t])},jt.toString=function(e){var t=e?function(t){return e.call(this,t,Mt)}:Mt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Rt=It;function Dt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bt(e,t,n){if(!t)return e;var r,i=n&&n.encode||Dt,o=n&&n.serialize;if(r=o?o(t,n):At.isURLSearchParams(t)?t.toString():new Rt(t,n).toString(i)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var zt=function(){function e(){(0,f.Z)(this,e),this.handlers=[]}return(0,d.Z)(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){At.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),qt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ut={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:Rt,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var Wt=function(e){function t(e,n,r,i){var o=e[i++],a=Number.isFinite(+o),s=i>=e.length;return o=!o&&At.isArray(r)?r.length:o,s?(At.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&At.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&At.isArray(r[o])&&(r[o]=function(e){var t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o])),!a)}if(At.isFormData(e)&&At.isFunction(e.entries)){var n={};return At.forEachEntry(e,(function(e,r){t(function(e){return At.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null};var Ht={transitional:qt,adapter:Ut.isNode?"http":"xhr",transformRequest:[function(e,t){var n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=At.isObject(e);if(o&&At.isHTMLForm(e)&&(e=new FormData(e)),At.isFormData(e))return i&&i?JSON.stringify(Wt(e)):e;if(At.isArrayBuffer(e)||At.isBuffer(e)||At.isStream(e)||At.isFile(e)||At.isBlob(e))return e;if(At.isArrayBufferView(e))return e.buffer;if(At.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Tt(e,new Ut.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Ut.isNode&&At.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=At.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return Tt(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(At.isString(e))try{return(t||JSON.parse)(e),At.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Ht.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&At.isString(e)&&(n&&!this.responseType||r)){var i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(i){if("SyntaxError"===o.name)throw _t.from(o,_t.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ut.classes.FormData,Blob:Ut.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};At.forEach(["delete","get","head","post","put","patch"],(function(e){Ht.headers[e]={}}));var Vt=Ht,Gt=At.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zt=Symbol("internals");function Yt(e){return e&&String(e).trim().toLowerCase()}function Jt(e){return!1===e||null==e?e:At.isArray(e)?e.map(Jt):String(e)}function $t(e,t,n,r,i){return At.isFunction(r)?r.call(this,t,n):(i&&(t=n),At.isString(t)?At.isString(r)?-1!==t.indexOf(r):At.isRegExp(r)?r.test(t):void 0:void 0)}var Kt=function(e,t){function n(e){(0,f.Z)(this,n),e&&this.set(e)}return(0,d.Z)(n,[{key:"set",value:function(e,t,n){var r=this;function i(e,t,n){var i=Yt(t);if(!i)throw new Error("header name must be a non-empty string");var o=At.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Jt(e))}var o=function(e,t){return At.forEach(e,(function(e,n){return i(e,n,t)}))};return At.isPlainObject(e)||e instanceof this.constructor?o(e,t):At.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o(function(e){var t,n,r,i={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&Gt[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)})),i}(e),t):null!=e&&i(t,e,n),this}},{key:"get",value:function(e,t){if(e=Yt(e)){var n=At.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(At.isFunction(t))return t.call(this,r,n);if(At.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Yt(e)){var n=At.findKey(this,e);return!(!n||void 0===this[n]||t&&!$t(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function i(e){if(e=Yt(e)){var i=At.findKey(n,e);!i||t&&!$t(0,n[i],i,t)||(delete n[i],r=!0)}}return At.isArray(e)?e.forEach(i):i(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var i=t[n];e&&!$t(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return At.forEach(this,(function(r,i){var o=At.findKey(n,i);if(o)return t[o]=Jt(r),void delete t[i];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(i):String(i).trim();a!==i&&delete t[i],t[a]=Jt(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return At.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&At.isArray(n)?n.join(", "):n)})),t}},{key:e,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=(0,i.Z)(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:t,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Zt]=this[Zt]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Yt(e);t[r]||(!function(e,t){var n=At.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return At.isArray(e)?e.forEach(r):r(e),this}}]),n}(Symbol.iterator,Symbol.toStringTag);Kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),At.reduceDescriptors(Kt.prototype,(function(e,t){var n=e.value,r=t[0].toUpperCase()+t.slice(1);return{get:function(){return n},set:function(e){this[r]=e}}})),At.freezeMethods(Kt);var Xt=Kt;function Qt(e,t){var n=this||Vt,r=t||n,i=Xt.from(r.headers),o=r.data;return At.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function en(e){return!(!e||!e.__CANCEL__)}function tn(e,t,n){_t.call(this,null==e?"canceled":e,_t.ERR_CANCELED,t,n),this.name="CanceledError"}At.inherits(tn,_t,{__CANCEL__:!0});var nn=tn;var rn=Ut.isStandardBrowserEnv?{write:function(e,t,n,r,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),At.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),At.isString(r)&&a.push("path="+r),At.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function on(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var an=Ut.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=At.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var sn=function(e,t){e=e||10;var n,r=new Array(e),i=new Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){var l=Date.now(),u=i[a];n||(n=l),r[o]=s,i[o]=l;for(var c=a,f=0;c!==o;)f+=r[c++],c%=e;
2if((o=(o+1)%e)===a&&(a=(a+1)%e),!(l-n<t)){var d=u&&l-u;return d?Math.round(1e3*f/d):void 0}}};function ln(e,t){var n=0,r=sn(50,250);return function(i){var o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s);n=o;var u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}var un={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,i=e.data,o=Xt.from(e.headers).normalize(),a=e.responseType;function s(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}At.isFormData(i)&&(Ut.isStandardBrowserEnv||Ut.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));var l=new XMLHttpRequest;if(e.auth){var u=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(u+":"+c))}var f=on(e.baseURL,e.url);function d(){if(l){var r=Xt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _t("Request failed with status code "+n.status,[_t.ERR_BAD_REQUEST,_t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}}if(l.open(e.method.toUpperCase(),Bt(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new _t("Request aborted",_t.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new _t("Network Error",_t.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||qt;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new _t(t,r.clarifyTimeoutError?_t.ETIMEDOUT:_t.ECONNABORTED,e,l)),l=null},Ut.isStandardBrowserEnv){var h=(e.withCredentials||an(f))&&e.xsrfCookieName&&rn.read(e.xsrfCookieName);h&&o.set(e.xsrfHeaderName,h)}void 0===i&&o.setContentType(null),"setRequestHeader"in l&&At.forEach(o.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),At.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&"json"!==a&&(l.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&l.addEventListener("progress",ln(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",ln(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){l&&(n(!t||t.type?new nn(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var p=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===Ut.protocols.indexOf(p)?n(new _t("Unsupported protocol "+p+":",_t.ERR_BAD_REQUEST,e)):l.send(i||null)}))}};At.forEach(un,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var cn=function(e){for(var t,n,r=(e=At.isArray(e)?e:[e]).length,i=0;i<r&&(t=e[i],!(n=At.isString(t)?un[t.toLowerCase()]:t));i++);
2if(!n){if(!1===n)throw new _t("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(At.hasOwnProp(un,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!At.isFunction(n))throw new TypeError("adapter is not a function");return n};function fn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nn(null,e)}function dn(e){return fn(e),e.headers=Xt.from(e.headers),e.data=Qt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),cn(e.adapter||Vt.adapter)(e).then((function(t){return fn(e),t.data=Qt.call(e,e.transformResponse,t),t.headers=Xt.from(t.headers),t}),(function(t){return en(t)||(fn(e),t&&t.response&&(t.response.data=Qt.call(e,e.transformResponse,t.response),t.response.headers=Xt.from(t.response.headers))),Promise.reject(t)}))}var hn=function(e){return e instanceof Xt?e.toJSON():e};function pn(e,t){t=t||{};var n={};function r(e,t,n){return At.isPlainObject(e)&&At.isPlainObject(t)?At.merge.call({caseless:n},e,t):At.isPlainObject(t)?At.merge({},t):At.isArray(t)?t.slice():t}function i(e,t,n){return At.isUndefined(t)?At.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!At.isUndefined(t))return r(void 0,t)}function a(e,t){return At.isUndefined(t)?At.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}var l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:function(e,t){return i(hn(e),hn(t),!0)}};return At.forEach(Object.keys(Object.assign({},e,t)),(function(r){var o=l[r]||i,a=o(e[r],t[r],r);At.isUndefined(a)&&o!==s||(n[r]=a)})),n}var gn="1.5.0",mn={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){mn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var vn={};mn.transitional=function(e,t,n){function r(e,t){return"[Axios v1.5.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,o){if(!1===e)throw new _t(r(i," has been removed"+(t?" in "+t:"")),_t.ERR_DEPRECATED);return t&&!vn[i]&&(vn[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var yn={assertOptions:function(e,t,n){if("object"!==typeof e)throw new _t("options must be an object",_t.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new _t("option "+o+" must be "+l,_t.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _t("Unknown option "+o,_t.ERR_BAD_OPTION)}},validators:mn},bn=yn.validators,wn=function(){function e(t){(0,f.Z)(this,e),this.defaults=t,this.interceptors={request:new zt,response:new zt}}return(0,d.Z)(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n=t=pn(this.defaults,t),r=n.transitional,i=n.paramsSerializer,o=n.headers;void 0!==r&&yn.assertOptions(r,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean)},!1),null!=i&&(At.isFunction(i)?t.paramsSerializer={serialize:i}:yn.assertOptions(i,{encode:bn.function,serialize:bn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=o&&At.merge(o.common,o[t.method]);o&&At.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=Xt.concat(a,o);var s=[],l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));var u,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var f,d=0;if(!l){var h=[dn.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(t);d<f;)u=u.then(h[d++],h[d++]);return u}f=s.length;var p=t;for(d=0;d<f;){var g=s[d++],m=s[d++];try{p=g(p)}catch(v){m.call(this,v);break}}try{u=dn.call(this,p)}catch(v){return Promise.reject(v)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}},{key:"getUri",value:function(e){return Bt(on((e=pn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();At.forEach(["delete","get","head","options"],(function(e){wn.prototype[e]=function(t,n){return this.request(pn(n||{},{method:e,url:t,data:(n||{}).data}))}})),At.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(pn(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wn.prototype[e]=t(),wn.prototype[e+"Form"]=t(!0)}));var xn=wn,Sn=function(){function e(t){if((0,f.Z)(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,i){r.reason||(r.reason=new nn(e,t,i),n(r.reason))}))}return(0,d.Z)(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}();var kn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
2setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(kn).forEach((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];kn[r]=n}));var An=kn;var Nn=function e(t){var n=new xn(t),r=He(xn.prototype.request,n);return At.extend(r,xn.prototype,n,{allOwnKeys:!0}),At.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(pn(t,n))},r}(Vt);Nn.Axios=xn,Nn.CanceledError=nn,Nn.CancelToken=Sn,Nn.isCancel=en,Nn.VERSION=gn,Nn.toFormData=Tt,Nn.AxiosError=_t,Nn.Cancel=Nn.CanceledError,Nn.all=function(e){return Promise.all(e)},Nn.spread=function(e){return function(t){return e.apply(null,t)}},Nn.isAxiosError=function(e){return At.isObject(e)&&!0===e.isAxiosError},Nn.mergeConfig=pn,Nn.AxiosHeaders=Xt,Nn.formToJSON=function(e){return Wt(At.isHTMLForm(e)?new FormData(e):e)},Nn.getAdapter=cn,Nn.HttpStatusCode=An,Nn.default=Nn;var Pn={question:"Questionnere_question__eRmR8",questionhed:"Questionnere_questionhed__CuDs4",header:"Questionnere_header__4eKau","logo-text":"Questionnere_logo-text__rDLcr","logo-container":"Questionnere_logo-container__eI1B3",form:"Questionnere_form__JnpLO",opt:"Questionnere_opt__GKgmw",App:"Questionnere_App__0X8jM","App-logo":"Questionnere_App-logo__yJEJZ","App-logo-spin":"Questionnere_App-logo-spin__3yAhr","App-header":"Questionnere_App-header__rT7+A","App-link":"Questionnere_App-link__NOndt","disclaimer-text":"Questionnere_disclaimer-text__ItEWE"},Ln=function(t){var n=t.question,r=t.onOptionChange,o=(0,e.useState)([]),a=(0,i.Z)(o,2),s=a[0],l=a[1];return(0,De.jsxs)("div",{className:"".concat(Pn["question-format"]),style:{backgroundColor:"#211F1F"},children:[(0,De.jsx)("header",{className:Pn.header,children:(0,De.jsx)("div",{className:Pn["logo-container"],children:(0,De.jsx)("img",{src:"/Cyber Ethos Logo.png",alt:"Cyber Ethos Logo",width:319.02,height:142.92,className:Pn.logo})})}),(0,De.jsx)("p",{className:Pn["logo-text"],children:"Essential 8 Assessment"}),(0,De.jsx)("h4",{className:Pn.questionhed,style:{color:"rgb(251, 205, 50)"},children:n.name}),(0,De.jsx)("h6",{className:Pn.question,style:{color:"rgb(251, 205, 50)"},children:n.question}),(0,De.jsx)("form",{className:Pn.form,children:n.options.map((function(e,t){return(0,De.jsxs)("div",{className:Pn.opt,children:[(0,De.jsx)("input",{type:"checkbox",id:"option".concat(t),name:"options",value:e[1],checked:s.includes(e[1]),onChange:function(){return t=e[1],void(s.includes(t)?l(s.filter((function(e){return e!==t}))):l([].concat((0,c.Z)(s),[t])));var t}}),(0,De.jsx)("label",{htmlFor:"option".concat(t),style:{color:"rgb(255, 255, 255)"},children:e[0]}),(0,De.jsx)("br",{})]},t)}))}),(0,De.jsx)("button",{onClick:function(){r(s),l([])},children:"Next"})]})},_n=n(5125),Cn=(n(1052),{essential1:[{name:"Mitigation Strategy One: - Application control",question:"Which of the following application control security measures have been implemented to achieve Maturity Level 1, aiming to prevent the execution of various file types in user profiles and temporary folders on workstations?",options:[["Restricting the execution of executable files (EXE or COM) in user profiles and temporary folders.",0],["Enforcing limitations on software library files (DLL or OCX) to prevent execution in user profiles and temporary folders.",1],["Implementing safeguards against script files (PS, VBS, BAT, or JS) execution in user profiles and temporary folders.",2],["Controlling and blocking installer files (MSI, MST, or MSP) from executing in user profiles and temporary folders.",3],["Prohibiting the execution of compiled HTML files (CHM) in user profiles and temporary folders.",4],["Securing against the execution of HTML application files (HTA) in user profiles and temporary folders.",5],["Safeguarding against the execution of control panel applet files (CPL) in user profiles and temporary folders.",6]],cho
2osedOption:null},{name:"Mitigation Strategy One: - Application control on Workstations and Internet-facing Servers",question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 2 for application control on workstations and internet-facing servers?",options:[["Implementation of a dedicated application control solution.",0],["Controlling the execution of unapproved executables.",1],["Enforcing limitations on the execution of unapproved software libraries.",2],["Safeguarding against the execution of unapproved scripts.",3],["Regulating the execution of unapproved installers.",4],["Managing the execution of unapproved compiled HTML files.",5],["Monitoring and controlling the execution of unapproved HTML applications.",6],["Managing the execution of unapproved control panel applets.",7],["Logging allowed and blocked execution events on workstations and internet-facing servers.",8]],choosedOption:null},{name:"Mitigation Strategy One: - Application control on Workstations and Servers",question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 3 for application control on workstations and servers?",options:[["Implementation of a dedicated application control solution.",0],["Control of approved executables.",1],["Control of approved software libraries.",2],["Control of approved scripts.",3],["Control of approved installers.",4],["Control of approved compiled HTML files.",5],["Control of approved HTML applications.",6],["Control of approved control panel applets.",7],["Control of approved drivers.",8],["Configuration of Microsoft's recommended Block rules.",9],["Configuration of Microsoft's recommended driver block rules.",10],["Annual validation of application control rulesets.",11],["Centralized logging of allowed and blocked execution events on workstations and servers.",12],["Protection of application control event logs from unauthorized modification and deletion.",13],["Monitoring of application control event logs for signs of compromise and appropriate action when signs of compromise are detected.",14],["Organizational response to signs of compromise triggered by application control monitoring.",15]],choosedOption:null}],essential2:[{name:"Mitigation Strategy Two: - Patch Applications",question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 1 for patching applications?",options:[["Implementation of an automated method of asset discovery run and reviewed at least fortnightly.",0],["Usage of a vulnerability scanner with an up-to-date vulnerability database for vulnerability scanning activities.",1],["Daily use of a vulnerability scanner to identify missing patches or updates for vulnerabilities in internet-facing services.",2],["Fortnightly use of a vulnerability scanner to identify missing patches or updates for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products.",3],["Application of patches, updates, or vendor mitigations for vulnerabilities in internet-facing services within two weeks of release or within 48 hours if an exploit exists.",4],["Patching applications with available exploits older than 48 hours.",5],["Patching applications within two weeks.",6],["Application of patches, updates, or vendor mitigations for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products within one month of release.",7],["Ensuring office productivity suites, web browsers, email clients, PDF software, and security products do not have vulnerabilities older than one month.",8],["Removal of unsupported internet-facing services from the environment.",9],["Removal of unsupported office productivity suites, web browsers, email clients, PDF software, and security products from the environment.",10]],choosedOption:null},{name:"Mitigation Strategy Two: - Patch Applications",question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 2 for patching applications?",options:[["Usage of a vulnerability scanner run and reviewed at least weekly to
2scan office productivity suites, web browsers, email clients, PDF software, and security products.",0],["Usage of a vulnerability scanner run and reviewed at least fortnightly to scan other applications.",1],["Application of patches, updates, or other vendor mitigations for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products within two weeks of release.",2],["Ensuring office productivity suites, web browsers, email clients, PDF software, and security products do not have vulnerabilities older than two weeks.",3],["Application of patches, updates, or other vendor mitigations for vulnerabilities in other applications within one month of release.",4],["Ensuring that other applications with vulnerabilities are patched or mitigated within one month.",5]],choosedOption:null},{name:"Mitigation Strategy Two: - Patch Applications",question:"Which of the following mitigation strategies and controls have been implemented for patching office productivity suites, web browsers, email clients, PDF software, and security products?",options:[["Effective process for patching these applications within 48 hours, with an example of patching an available exploit within 48 hours.",0],["Ensuring that these applications do not have vulnerabilities older than 48 hours.",1],["Removal of unsupported applications from the environment.",2]],choosedOption:null}],essential3:[{name:"Mitigation Strategy Three: - Configure Microsoft Office Macro Settings",question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",options:[["Technical solution to block Microsoft Office macros for unauthorized users under the Microsoft Office macro policy.",0],["Record of approved users for Microsoft Office macro execution matching the technical solution.",1],["Blocking Microsoft Office macros in files from the internet.",2],["Configuration of Microsoft Office to block macros in files from the internet (Group Policy and Registry settings).",3],["Enabled Microsoft Office macro antivirus scanning.",4],["Successful detection of a virus test signature inside Microsoft Office macros.",5],["Preventing standard users from modifying Microsoft Office macro security settings.",6]],choosedOption:null},{name:"Mitigation Strategy Three: - Configure Microsoft Office Macro Settings",question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",options:[["Blocking Microsoft Office macros from making Win32 API calls in Microsoft Office files.",0],["Logging allowed execution of Microsoft Office macros within Microsoft Office files.",1],["Logging blocked execution of Microsoft Office macros within Microsoft Office files.",2]],choosedOption:null},{name:"Mitigation Strategy Three: - Configure Microsoft Office Macro Settings",question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",options:[["Allowing only Microsoft Office macros to execute from trusted locations.",0],["Allowing Microsoft Office macros digitally signed by a trusted publisher to execute.",1],["Only executing Microsoft Office macros from within a sandboxed environment.",2],["Having a defined standard for validating and accepting Microsoft Office macros in trusted locations.",3],["Preventing users from writing files into trusted locations.",4],["Blocking Microsoft Office macros signed by untrusted publishers from executing.",5],["Disallowing users from enabling Microsoft Office macros signed by untrusted publishers via the Message Bar or Backstage View.",6],["Validating Microsoft Office's list of trusted publishers on an annual or more frequent basis.",7],["Centrally logging allowed and blocked Microsoft Office macro execution events.",8],["Protecting Microsoft Office macro execution event logs from unauthorized modification and deletion.",9],["Monitoring Microsoft Office macro execution event logs for signs of compromise.",10],["Investigating and responding to signs of compromise triggered by Microsoft Office macro execution monitoring.",11]],choosedOption:null}],essential4:[{name:"Mitigation Strategy Four: - User Application Hardening",question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",options:[["Blocking Java content in Microsoft Edge.",0],["Blocking Java content in Google Chrome.",1],["Blocking Java content in Mozilla Firefox.",2],["Blocking web advertisements in Microsoft Edge.",3],["Blocking web advertisements in Google Chrome.",4],["Blocking web advertisements in Mozilla Firefox.",5],["Blocking Internet Explorer 11 from accessing external internet sites.",6],["Preventing users from changing Microsoft Edge security settings.",7],["Preventing users from changing Google Chrome security settings.",8],["Preventing users from changing Mozilla Firefox security settings.",9],["Preventing users from changing Internet Explorer 11 security settings.",10]],choosedOption:null},{name:"Mitigation Strategy Four: - User Application Hardening",question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",options:[["ASD guidance for hardening Microsoft Edge is implemented.",0],["Microsoft guidance for hardening Microsoft Edge is implemented.",1],["Google guidance for hardening Google Chrome is implemented.",2],["Microsoft Office files cannot create child processes.",3],["Microsoft Office files cannot create executable content.",4]],choosedOption:null},{name:"Mitigation Strategy Four: - User Application Hardening",question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",options:[["The Internet Explorer 11 binary (iexplore.exe) does not exist on the system or is not able to be opened due to an application control policy.",0],[".NET Framework 3.5 has been removed from the system b
2y unselecting it from the list of optional Windows Features.",1],["Older .NET Frameworks are unable to be found in the registry.",2],["PowerShell 2.0 and below has been removed from the system and traces of it cannot be found in the registry.",3],["PowerShell cannot be downgraded to version 2.0 or below.",4],["The default configuration for PowerShell on the system is to start in Constrained Language Mode.",5],["PowerShell will not allow a user to change to Full Language mode.",6],["PowerShell script execution event logs are sent to a centralised location.",7],["PowerShell script execution event logs are protected from unauthorised modification and deletion.",8],["PowerShell script execution event logs are monitored for signs of compromise.",9],["The organisation has an example where they investigated or responded to signs of compromise triggered by PowerShell script execution monitoring.",10]],choosedOption:null}],essential5:[{name:"Mitigation Strategy Five: - Restrict Administrative Privileges",question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",options:[["A process exists and is enforced for granting privileged access to systems.",0],["Privileged accounts (excluding privileged service accounts) cannot access the internet or web services via a web browser or other mechanism.",1],["Privileged accounts are not configured with mailboxes and email addresses.",2],["All administrative activities are performed in an administrative environment that is segmented from the standard user network environment.",3],["Unprivileged accounts cannot logon to systems in the privileged environment.",4],["Unprivileged user prevented from using the PowerShell remote PSRemote windows feature.",5],["A privileged account cannot be used to authenticate and interactively login to standard user workstations, or other unprivileged environments.",6],["An unprivileged account logged into a standard user workstation cannot raise privileges to a privileged user.",7]],choosedOption:null},{name:"Mitigation Strategy Five: - Restrict Administrative Privileges",question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",options:[["A process for disabling known privileged accounts exists and is enforced. Users are made aware of this requirement when being provisioned with a privileged account.",0],["There are no privileged accounts that have an Active Directory expiry date that is greater than 12 months or do not have an expiry date.",1],["A process for disabling privileged accounts that have not been used for 45 days exists and is enforced by the entity. Evidence exists for the usage of the 45 days inactive disabling process, including support tickets or administrative logs that show accounts were disabled.",2],["There are no enabled privileged accounts that have a lastlogondate that is greater than 45 days.",3],["Where a privileged environment is virtualised, the virtualised image is not located in an unprivileged environment. This includes virtual machines on a standard unprivileged SOE.",4],["Servers are configured to not allow remote access traffic or connections from systems that are not jump servers.",5],["The Microsoft Local Administrator Password Solution (LAPS) or a similar solution is implemented on Windows workstations and servers.",6],["Services account passwords are generated to be long, unique and unpredictable. Service account passwords are stored in a secure location, such as a password manager or a Privileged Access Management solution.",7],["Passwords should be changed at least once every 12 months.",8],["Successful and failed logins of privileged accounts are logged.",9],["Changes made to privileged accounts and groups within Active Directory are logged.",10]],choosedOption:null},{name:"Mitigation Strategy Five: - Restrict Administrative Privileges",question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",options:[["The existing users of systems and applications are provided with the correct level of privilege required to perform their duties.",0],["Service accounts cannot access the internet or web services via a web browser or other mechanism. This might be due to a proxy configuration, system configuration, or another solution.",1],["Service accounts are not configured with mailboxes and email addresses. Note tests for Maturity Level One already cover internet restrictions for privileged accounts excluding service accounts.",2],["Groups that are identified as having privileged access to systems and applications contain no active users.",3],["Users that are approved access to privileged administration groups are provided with access for a limited time to fulfil their duties. A Just-in-time administration solution has been successfully deployed and configured.",4],["Credential Guard is enabled on the system. Check the registry setting at HKLM:\\System\\CurrentControlSet\\Control\\LSA\\ and confirm that LsaCfgFlags is set to 1 or 2.",5],["Remote Credential Guard is enabled on the system. Check the registry setting at HKLM:\\System\\CurrentControlSet\\Control\\LSA\\ and confirm that DisableRestrictedAdmin is set to 0.",6],["Privileged access event logs are sent to a centralised location. Verify event logs for each required event are collected at a centralised location.",7],["Privileged account and group management event logs are sent to a centralised location.",8],["Privileged access event logs are protected from unauthorised modification and deletion.",9],["Privileged account and group management event logs are protected from unauthorised modification and deletion.",10],["Privileged access event logs are monitored for signs of compromise. Verify a solution or process is in place to monitor the privileged access event logs for signs of compromise.",11],["The organisation has an example where they investigated or responded to signs of compromise triggered by privileged access monitoring.",12],["Privileged account and group management event logs are monitored for signs of compromise. Verify a solution or process is in place to monitor the privileged account and group management event logs for signs of compromise.",13],["The organisation has an example where they investigated or responded to signs of compromise event triggered by privileged account and group management monitoring.",14]],choosedOption:null}],essential6:[{name:"Mitigation Strategy Six: - Patch Operating Systems",question:"Which of the following mitigation strategies and controls have been implemented for patching operating systems?",options:[["An automated method of asset discovery is run and reviewed at least fortnightly.",0],["A vulnerability scanner with an up-to-date vulnerability database is being used for vulnerability scanning activities.",1],["A vulnerability scanner is run and reviewed daily to scan the organisation\u2019s internet-facing services.",2],["A vulnerability scanner is run and reviewed at least fortnightly to scan the organisation\u2019s operating systems.",3],["The organisation has an example of where an available exploit has been identified and patched within 48 hours.",4],["Internet-facing system that have a vulnerable operating system with an exploit that has been available for greater than 48 hours are patched or mitigated.",5],["Internet-facing systems that have a vulnerable operating system are patched or mitigated within two weeks.",6],["The organisation has an effective process for patching operating systems within one month.",7],["Operating systems that have a vulnerability are patched or mitigated within one month.",8],["The organisation has removed unsupported operating systems from the environment.",9]],choosedOption:null},{name:"Mitigation Strategy Six: Patch Operating Systems",question:"Which of the following mitigation strategies and controls have been implemented to patch operating systems?",options:[["A vulnerability scanner is used at least weekly to identify missing patches or updates for vulnerabilities in operating systems of workstations, servers, and network devices. A vulnerability scanner is run and reviewed at least weekly to
2scan the organisation\u2019s operating systems. Confirm that a vulnerability scanner is in place, and it is configured to scan the organisation\u2019s operating systems, typically requiring a credentialed scan. Confirm that reports from the vulnerability scanner are reviewed by the responsible staff weekly, and that identified issues have been observed and actioned.",0],["The organisation has an effective process for patching operating systems within two weeks. Confirm the existence of a list of managed operating systems, and where they are located. Ensure a process for identifying vulnerabilities for operating systems in the list is consistently followed. Request evidence of the patching of these systems within two weeks.",1],["Patches, updates or other vendor mitigations for vulnerabilities in operating systems of workstations, servers, and network devices are applied within two weeks of release. Operating systems that have a vulnerability are patched or mitigated within two weeks. Use vulnerability management solution to perform a patch audit of all systems. Retrieve the update history of the system, noting the release date of the patch and the date it was installed. Look for differences greater than two weeks.",2]],choosedOption:null},{name:"Mitigation Strategy Six: Patch Operating Systems",question:"Which of the following mitigation strategies and controls have been implemented to patch operating systems?",options:[["Patches, updates or other vendor mitigations for vulnerabilities in operating systems of workstations, servers and network devices are applied within two weeks of release, or within 48 hours if an exploit exists. Operating systems vulnerable to an exploit that has been available for greater than 48 hours are patched or mitigated.",0],["The latest release, or the previous release, of operating systems are used for. The minimum version of the operating system is the current, or previous release (N-1 version). Query Active Directory using PowerShell commands or tools such as ADRecon or Bloodhound to identify operating system versions within the environment. Use a vulnerability management solution to scan all systems to record their operating system version.",1]],choosedOption:null}],essential7:[{name:"Mitigation Strategy Seven: Multi-factor Authentication",question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for users?",options:[["Multi-factor authentication is used by an organisation\u2019s users when they authenticate to their organisation\u2019s internet-facing services.",0],["The organisational remote access desktop solution presents a MFA challenge when attempting to authenticate. Verify the user is presented with a MFA challenge when authenticating to the organisation\u2019s remote solution.",1],["Organisational internet-facing systems present a MFA challenge when attempting to authenticate. Verify the user is presented with a MFA challenge when authenticating to the organisation\u2019s internet-facing systems.",2],["Third-party internet-facing services that hold sensitive data are configured to require users to use MFA. Verify the organisation\u2019s sensitive third-party internet-facing services are configured with MFA. Confirm the organisation has a policy that MFA will be implemented on all third-party internet-facing services that hold sensitive data.",3],["Third-party internet-facing services that hold non-sensitive data are configured to require users to use MFA. Verify the organisation\u2019s third-party internet-facing services are configured with MFA. Confirm the organisation has a policy that MFA will be implemented on all third-party internet-facing services that hold non-sensitive data.",4],["The organisational internet-facing services with non-organisational users present a multi-factor challenge when attempting to authenticate by default. Verify n
2on-organisational users are presented with an MFA challenge by default when accessing the organisation\u2019s internet-facing services.",5]],choosedOption:null},{name:"Mitigation Strategy Seven: Multi-factor Authentication",question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for privileged users and across internet-facing services?",options:[["Multi-factor authentication is used to authenticate privileged users of systems. Verify a privileged user is presented with a MFA challenge when authenticating to a machine or attempting to raise privileges. Confirm the organisation has a list of privileged systems and is regularly updated.",0],["Multi-factor authentication uses either: something users have and something users know, or something users have that is unlocked by something users know or are. Verify that internet-facing services require multi-factor authentication using one of these methods.",1],["The organisation requires that privileged users utilise multi-factor authentication that uses either: something users have and something users know, or something users have that is unlocked by something users know or are.",2],["The organisation\u2019s internet-facing systems log successful MFA attempts. Verify successful MFA events are logged for the organisation's internet-facing systems.",3],["Administrative access connections log successful MFA attempts. Verify successful MFA events are logged for administrative access.",4],["The organisation\u2019s internet-facing systems log unsuccessful MFA attempts. Verify unsuccessful MFA events are logged for the organisation's internet-facing systems.",5],["Administrative access connections log unsuccessful MFA attempts. Verify unsuccessful MFA events are logged for administrative access.",6]],choosedOption:null},{name:"Mitigation Strategy Seven: Multi-factor Authentication for Important Data Repositories",question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for users of important data repositories?",options:[["The organisation has a list of important data repositories. Confirm the organisation has a list of important data repositories and this list is regularly checked.",0],["Data repositories that have been listed as important require MFA to access. Verify important data repositories are configured to present a MFA challenge.",1],["The MFA implementation requires the use of a phishing-resistant solution. Verify that MFA requires a smart card, security key, Windows Hello for Business, or any other solution that is resistant to phishing attacks.",2],["MFA event logs are sent to a centralised location. Verify event logs for each required event are collected at a centralised location. Verify the number of systems logging to this location align with total expected systems (i.e. all systems are logging here).",3],["MFA event logs are protected from unauthorised modification and deletion. Verify standard and unauthorised users are unable to modify or delete event logs.",4],["MFA event logs are monitored for signs of compromise. Verify a solution or process is in place to monitor the integrity and validity of MFA event logs.",5],["The organisation has an example where they investigated or responded to signs of compromise triggered by MFA monitoring. Verify the organisation has responded to a sign of compromise triggered by MFA monitoring. This evidence will typically exist as support tickets, email correspondence, or threat and risk assessments.",6]],choosedOption:null}],essential8:[{name:"Mitigation Strategy Eight: Regular Backups",question:"Which of the following mitigation strategies and controls have been implemented to ensure backups of important data, software, and configuration settings are performed and retained in accordance with business continuity requirements?",options:[["The organisation has a business continuity plan (BCP) that outlines their important data, software, and configuration settings that require backing up. Request the current BCP. Note when the BCP was last modified as old BCPs often don\u2019t reference the current environment. Confirm the organisation has a defined list of important data, software, and configuration settings.",0],["Important data, software, and configuration settings are backed up and retained as per the timeframes outlined within the BCP. Verify important data, software, and configuration settings are backed up and retained in accordance with the BCP.",1],["Important data, software, and configuration settings are backed up in a synchronised manner using a common point in t
2ime. Verify important data, software, and configuration settings are backed up in a synchronised manner using a common point in time.",2],["Important data, software, and configuration settings are backed up and retained in a secure and resilient manner. Verify important data, software, and configuration settings are backed up and retained in a secure and resilient manner.",3],["The organisation has documented evidence of a disaster recovery exercise being performed. This includes examples of where important data, software, and configuration settings have been restored from backups. Verify the organisation has conducted a disaster recovery exercise. Verify the organisation has successfully restored important data, software, and configuration settings as part of this exercise. Confirm the existence of a disaster recovery plan (DRP), and ensure it is appropriate, relevant, and followed during incidents and exercises.",4],["Unprivileged users are unable to access backups that do not belong to them. Verify access controls restrict access to only the owner of the information.",5],["Unprivileged users are unable to modify and delete backups. Verify access controls restrict the modification and deletion of backups.",6]],choosedOption:null},{name:"Mitigation Strategy Eight: Regular Backups - Privileged Accounts",question:"Which of the following mitigation strategies and controls have been implemented to ensure privileged accounts, excluding backup administrator accounts, cannot access backups belonging to other accounts and are prevented from modifying and deleting backups?",options:[["Privileged users (excluding backup administrator accounts) are unable to access backups that do not belong to them. Verify access controls restrict the access of backups to the owner of the backup and backup administrator accounts.",0],["Privileged users (excluding backup administrator accounts) are unable to modify and delete backups. Verify access controls restrict the modification and deletion of backups to backup administrator accounts.",1]],cho
2osedOption:null},{name:"Mitigation Strategy Eight: Regular Backups - Privileged Accounts (Continued)",question:"Which of the following mitigation strategies and controls have been implemented to ensure unprivileged accounts cannot access backups belonging to other accounts, including their own, and to ensure privileged accounts, including backup administrator accounts, are prevented from modifying and deleting backups during their retention period?",options:[["Unprivileged users are unable to access backups, including their own. Verify access controls restrict unprivileged users from accessing backup repositories.",0],["Privileged users (excluding backup administrator accounts) are unable to access backups, including their own. Verify access controls restrict privileged users (excluding backup administrator accounts) from accessing backup repositories.",1],["Privileged users (including backup administrator accounts) are unable to modify and delete backups during their retention period. Verify access controls restrict the modification and deletion of backups during their retention period to break glass accounts.",2]],choosedOption:null}]}),En={essential1:{description:"Application Control is a fundamental cybersecurity practice outlined in the Australian Government's Essential Eight (Essential 8) framework. It aims to manage the execution of applications within an organization's environment, mitigating the risk of unauthorized or malicious software running on systems. The goal of Application Control is to establish control over what applications can run, ensuring that only trusted and necessary applications are allowed while preventing unauthorized and potentially harmful ones from executing.",maturity1:{question:"Which of the following application control security measures have been implemented to achieve Maturity Level 1, aiming to prevent the execution of various file types in user profiles and temporary folders on workstations?",content:[[0,"Restricting the execution of executable files (EXE or COM) in user profiles and temporary folders:","This security measure prevents standard users from running executable files (EXE or COM) within these locations."],[1,"Enforcing limitations on software library files (DLL or OCX) to prevent execution in user profiles and temporary folders:","This control ensures that standard users cannot execute software library files (DLL or OCX) within user profiles and temporary folders."],[2,"Implementing safeguards against script files (PS, VBS, BAT, or JS) execution in user profiles and temporary folders:","This measure disallows standard users from executing script files (PS, VBS, BAT, or JS) in these critical locations."],[3,"Controlling and blocking installer files (MSI, MST, or MSP) from executing in user profiles and temporary folders:","This security measure prevents standard users from running installer files (MSI, MST, or MSP) in user profiles and temporary folders."],[4,"Prohibiting the execution of compiled HTML files (CHM) in user profiles and temporary folders:","This security measure is not currently in place and allows standard users to execute CHM files within these directories."],[5,"Securing against the execution of HTML application files (HTA) in user profiles and temporary folders:","The system does not have security controls in place to block the execution of HTML application files in user profiles and temporary folders."],[6,"Safeguarding against the execution of control panel applet files (CPL) in user profiles and temporary folders:","The implementation of security controls to prevent the execution of control panel applet files in user profiles and temporary folders is not part of the current configuration."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 2 for application control on workstations and internet-facing servers?",content:[[0,"Enhanced Security through Application Control:","The implementation of a dedicated application control solution enhances security by allowing organizations to restrict the execution of various file types to an approved set, ensuring only trusted and authorized software runs on the system."],[1,"Preventing Unapproved Executables:","By allowing the system to execute only approved executables, this measure prevents the potential risks associated with unapproved software, enhancing security and reducing the attack surface."],[2,"Secure Use of Approved Software Libraries:","Allowing the execution of approved software libraries only ensures that the organization can control which libraries are used, reducing the risk of vulnerabilities introduced by unapproved libraries."],[3,"Controlled Execution of Approved Scripts:","By permitting the execution of only approved scripts, organizations can prevent unauthorized or malicious scripts from running, thereby bolstering security."],[4,"Secure Handling of Approved Installer
2s:","Executing only approved installers enhances security by ensuring that software installations are limited to trusted sources and versions, reducing the potential for malicious software installation."],[5,"Trusted Execution of Approved Compiled HTML Files:","Allowing only approved compiled HTML files to run ensures that potential security risks associated with unapproved files are mitigated, enhancing the security of the system."],[6,"Controlled Execution of Approved HTML Applications:","By allowing the execution of only approved HTML applications, organizations can prevent unauthorized or potentially malicious applications from running, thus strengthening security."],[7,"Authorized Use of Control Panel Applets:","Permitting the execution of approved control panel applets ensures that only trusted applets run on the system, reducing the risk of unauthorized or malicious changes to system settings and enhancing security."],[8,"Logging allowed and blocked execution events on workstations and internet-facing servers:","Enabling detailed logging of both allowed and blocked execution events on workstations and internet-facing servers is a crucial security measure. This capability provides organizations with valuable insights into the behavior of their systems, allowing them to monitor and track all software executions. By maintaining comprehensive logs, organizations can detect and respond to security incidents more effectively, enhance compliance, and strengthen their overall security posture."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 3 for application control on workstations and servers?",content:[[0,"Dedicated Application Control Solution Implemented:","The implementation of a dedicated application control solution provides the organization with the ability to restrict the execution of various file types, including executables, software libraries, scripts, installers, compiled HTML, HTML applications, control panel applets, and drivers to an organization-approved set, enhancing security and control."],[1,"Execution of Approved Executables Only:","The system is configured to execute only approved executables, preventing the execution of non-approved executables in directories that are not part of an application control path-based rule. This ensures that only trusted and authorized software runs on the system, reducing security risks."],[2,"Secure Use of Approved Software Libraries:","Allowing the execution of approved software libraries only ensures that the organization can control which libraries are used, reducing the risk of vulnerabilities introduced by unapproved libraries. Attempting to run non-approved DLLs in directories outside of application control path-based rules is part of this measure."],[3,"Controlled Execution of Approved Scripts:","By permitting the execution of only approved scripts, organizations can prevent unauthorized or malicious scripts from running, enhancing security. Testing the system's response to running non-approved scripts in directories not covered by application control path-based rules is essential to assessing this measure."],[4,"Secure Handling of Approved Installers:","Executing only approved installers enhances security by ensuring that software installations are limited to trusted sources and versions. The measure involves attempting to run non-approved installers (MSI) in directories outside of application control path-based rules."],[5,"Trusted Execution of Approved Compiled HTML Files:","Allowing only approved compiled HTML files to run ensures that potential security risks associated with unapproved files are mitigated. Testing the system's response to running non-approved CHM files in directories not covered by application control path-based rules is essential."],[6,"Controlled Execution of Approved HTML Applications:","By allowing the execution of only approved HTML applications, organizations can prevent unauthorized or potentially malicious applications from running, strengthening security. Testing the system's response to running non-approved HTML applications in directories not covered by application control path-based rules is part of this measure."],[7,"Authorized Use of Control Panel Applets:","Permitting the execution of approved control panel applets ensures that only trusted applets run on the system, reducing the risk of unauthorized or malicious changes to system settings. Attempting to run non-approved control panel applets in directories not covered by application control path-based rules is part of this measure."],[8,"Execution of Approved Drivers Only:","This measure involves ensuring that the system can execute only approved drivers. Attempting to run non-approved drivers in directories not covered by application control path-based rules is essential to assess this security control."],[9,"Configuration of Microsoft's recommended Block rules:","Configuring Microsoft's recommended Block rules is an essential part of securing the system. These rules help prevent the execution of known malicious software and enhance the overall security posture."],[10,"Configuration of Microsoft's recommended driver block rules:","Configuring Microsoft's recommended driver block rules is crucial for preventing the execution of potentially harmful drivers and enhancing system security."],[11,"Annual validation of application control rulesets:","Performing an annual validation of application control rulesets is a proactive approach to ensure that the control measures remain effective. It helps identify and address any gaps or changes in the security landscape."],[12,"Centralized logging of allowed and blocked execution events on workstations and servers:","Centralized logging of both allowed and blocked execution events on workstations and servers provides a comprehensive view of system activity. This is valuable for monitoring and security incident detection."],[13,"Protection of application control event logs from unauthorized modification and deletion:","Protecting application control event logs from unauthorized modification and deletion is critical for maintaining the integrity of the logs and ensuring their reliability for security and compliance purposes."],[14,"Monitoring of application control event logs for signs of compromise and appropriate action when signs of compromise are detected:","Regularly monitoring application control event logs for signs of compromise is essential for early threat detection. Taking appropriate action when signs of compromise are detected is crucial for maintaining a secure environment."],[15,"Organizational response to signs of compromise triggered by application control monitoring:","Having a well-defined organizational response to signs of compromise triggered by application control monitoring is essential for effectively addressing security incidents and minimizing their impact."]]}},essential2:{description:"Patch Applications is a crucial cybersecurity practice outlined in the Australian Government's Essential Eight (Essential 8) framework. This essential focuses on the timely and systematic application of patches to address vulnerabilities present in operating systems and applications. By doing so, organizations can significantly reduce the risk of exploitation by malicious actors who often target unpatched software to gain unauthorized access or cause harm.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 1 for patching applications?",content:[[0,"Implementation of an automated method of asset discovery run and reviewed at least fortnightly:","Organizations utilize an automated method for asset discovery, which is run and reviewed at least fortnightly. This involves confirming the presence of an asset discovery tool or a vulnerability scanner with equivalent functionality, configured for automated bi-weekly operation. It also entails reviewing and addressing any anomalies identified through the discovery process."],[1,"Usage of a vulnerability scanner with an up-to-date vulnerability database for vulnerability scanning activities:","This security measure involves using a vulnerability scanner with an up-to-date vulnerability database for vulnerability scanning activities. Confirmation is required to ensure the existence of the scanner and that it is updated within 24 hours before use."],[2,"Daily use of a vulnerability scanner to identify missing patches or updates for vulnerabilities in internet-facing services:","Organizations conduct daily vulnerability scanning for their internet-facing services. This entails verifying the presence of a configured vulnerability scanner for internet-facing services, daily review of scanner reports by responsible staff, and taking action on identified issues."],[3,"Fortnightly use of a vulnerability scanner to identify missing patches or updates for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products:","A vulnerability scanner is run and reviewed at least fortnightly to scan specific office productivity suites, web browsers, email clients, PDF software, and security products. This includes confirming the existence of the scanner, its configuration for credentialed scans, and the regular review and actioning of scan reports."],[4,"Application of patches, updates, or vendor mitigations for vulnerabilities in internet-facing services within two weeks of release or within 48 hours if an exploit exists:","Patches, updates, or vendor mitigations for vulnerabilities in internet-facing services must be applied within two weeks of release, or within 48 hours if an exploit exists. This measure requires reviewing the process for identifying vulnerabilities in internet-facing systems and requesting evidence of the identification and patching of systems containing exploitable vulnerabilities."],[5,"Patching applications with available exploits older than 48 hours:","Applications with an exploit available for more than 48 hours should be patched or mitigated. This involves the use of a vulnerability scanner to identify vulnerable applications, check patch installation dates, and compare them to patch availability."],[6,"Patching applications within two weeks:","Patches, updates, or other vendor mitigations for vulnerabilities in various software categories should be applied within one month. This measure includes confirming the existence of a software list, its installation status, and the consistent process for identifying vulnerabilities and requesting evidence of patching."],[7,"Application of patches, updates, or vendor mitigations for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products within one month of release:","Patches, updates, or other vendor mitigations for vulnerabilities in various software categories should be applied within one month. This measure includes confirming the existence of a software list, its installation status, and the consistent process for identifying vulnerabilities and requesting evidence of patching."],[8,"Ensuring office productivity suites, web browsers, email clients, PDF software, and security products do not have vulnerabilities older than one month:","Office productivity suites, web browsers, email clients, PDF software, and security products should not have vulnerabilities older than one month. This requires a vulnerability scan to identify listed applications, verify their patch status, and ensure that the gap between patch availability and installation is not greater than one month."],[9,"Removal of unsupported internet-facing services from the environment:","Unsupported internet-facing services should be removed from the environment. Confirmation is needed to ensure that unsupported software is not present on internet-facing systems by using a vulnerability scanner to identify supported applications."],[10,"Removal of unsupported office productivity suites, web browsers, email clients, PDF software, and security products from the environment:","Unsupported office productivity suites, web browsers, email clients, PDF software, and security products should be removed from the environment. This measure involves verifying that unsupported software from the list is not present in the environment by using a vulnerability scanner to identify supported applications."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented to achieve Maturity Level 2 for patching applications?",content:[[0,"Usage of a vulnerability scanner run and reviewed at least weekly to
2scan office productivity suites, web browsers, email clients, PDF software, and security products:","Organizations employ a vulnerability scanner that is used at least weekly to identify missing patches or updates for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products. This includes confirming the presence of the vulnerability scanner, its configuration for scanning specific applications, typically requiring credentialed scans. Additionally, it requires ensuring that the responsible staff reviews scanner reports weekly and takes action on identified issues."],[1,"Usage of a vulnerability scanner run and reviewed at least fortnightly to scan other applications:","A vulnerability scanner is run and reviewed at least fortnightly to scan other applications within the organization. This entails confirming the existence of the vulnerability scanner, its configuration for scanning other applications, typically requiring credentialed scans. It also includes ensuring that reports from the vulnerability scanner are reviewed by responsible staff fortnightly, and that identified issues are addressed."],[2,"Application of patches, updates, or other vendor mitigations for vulnerabilities in office productivity suites, web browsers, email clients, PDF software, and security products within two weeks of release:","The organization maintains an effective process for patching office productivity suites, web browsers, email clients, PDF software, and security products within two weeks of a patch's release. This involves confirming the existence of a list of applications, tracking their installations, and ensuring a consistent process for identifying vulnerabilities and requesting evidence of patching these applications within two weeks."],[3,"Ensuring office productivity suites, web browsers, email clients, PDF software, and security products do not have vulnerabilities older than two weeks:","Office productivity suites, web browsers, email clients, PDF software, and security products should not have vulnerabilities older than two weeks. This requires using a vulnerability scanner to identify the listed applications within the organization's environment, verifying their patch status, and ensuring that the gap between patch availability and installation is not greater than two weeks."],[4,"Application of patches, updates, or other vendor mitigations for vulnerabilities in other applications within one month of release:","For other applications that have vulnerabilities, patches, updates, or other vendor mitigations should be applied within one month of release. This entails using a vulnerability scanner to identify vulnerable applications, checking their patch status, and ensuring that the gap between patch availability and installation is not greater than one month."],[5,"Ensuring that other applications with vulnerabilities are patched or mitigated within one month:","This measure involves ensuring that other applications with vulnerabilities are patched or mitigated within one month of release. It includes verifying that the vulnerability scanner is used to identify vulnerable applications, checking their patch status, and ensuring that the gap between patch availability and installation is not greater than one month."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented for patching office productivity suites, web browsers, email clients, PDF software, and security products?",content:[[0,"Rapid Patching for Key Applications:","Organizations maintain an effective process for patching office productivity suites, web browsers, email clients, PDF software, and security products within 48 hours of a patch's release. Additionally, there should be an example where an available exploit has been identified and patched within 48 hours. This measure involves confirming the existence of a list of applications, tracking their installations, and ensuring a consistent process for identifying vulnerabilities and requesting evidence of patching these applications within 48 hours."],[1,"No Vulnerabilities Older than 48 Hours for Key Applications:","Office productivity suites, web browsers, email clients, PDF software, and security products should not have vulnerabilities older than 48 hours. This involves using a vulnerability scanner to identify the listed applications within the organization's environment, verifying their patch status, and ensuring that the gap between patch availability and installation is not greater than 48 hours."],[2,"Removal of Unsupported Applications:","The organization has removed unsupported applications from the environment. This involves confirming that the environment does not contain any software that is no longer supported by the vendor."]]}},essential3:{description:"Configuring Microsoft Office Macro Settings is a critical cybersecurity practice defined in the Australian Government's Essential Eight (Essential 8) framework. This essential focuses on managing the execution of macros in Microsoft Office documents, thereby mitigating the risks associated with potentially malicious macros embedded in files. By implementing proper configuration, organizations can significantly reduce the likelihood of macro-based attacks, a common vector for malware delivery.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",content:[[0,"Technical solution to block Microsoft Office macros for unauthorized users under the Microsoft Office macro policy:","A technical solution exists to block Microsoft Office macros for users who are not approved under the Microsoft Office macro policy. The security settings should typically be set to 'Disable without notification' and should be enforced via Active Directory security groups. Testing includes running Microsoft Office macros on a user not approved to check if they are blocked."],[1,"Record of approved users for Microsoft Office macro execution matching the technical solution:","A record
2is kept of users who have been approved to allow Microsoft Office macro execution, and this list should match the list of users within the technical solution. A repository of approved requests for users to execute Microsoft Office macros should be maintained and kept up to date, typically matching the Active Directory Security Group that permits macro use."],[2,"Blocking Microsoft Office macros in files from the internet:","Microsoft Office macros in files originating from the internet are blocked. Attempt to run Microsoft Office macros in files from the internet, and confirm that these files are blocked when received via download or email for all installed Microsoft Office applications. Verification involves checking specific group policy settings and registry values."],[3,"Configuration of Microsoft Office to block macros in files from the internet (Group Policy and Registry settings):","The system has 'macroruntimescope' enabled for Microsoft Office applications in registry settings or has an alternative Microsoft Office macro scanning ability in place. Verification includes checking the relevant group policy setting for Microsoft Office applications."],[4,"Enabled Microsoft Office macro antivirus scanning:","The system has 'macroruntimescope' enabled for Microsoft Office applications in registry settings or has an alternative Microsoft Office macro scanning ability in place. Verification includes checking the relevant group policy setting for Microsoft Office applications."],[5,"Successful detection of a virus test signature inside Microsoft Office macros:","The system should successfully detect a virus test signature inside Microsoft Office macros. Testing this involves running macros with known virus test signatures to verify that they are detected and blocked by the system's security measures."],[6,"Preventing standard users from modifying Microsoft Office macro security settings:","Standard users are unable to modify the security settings for Microsoft Office macros in all Microsoft Office applications. This involves opening the applications and attempting to change the Microsoft Office macro security settings in the Trust Center for all installed Microsoft Office applications."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",content:[[0,"Blocking Win32 API Calls in Microsoft Office Macros:","Microsoft Office macros in Microsoft Office files are prevented from making Win32 API calls. This verification involves testing Microsoft Office files with macros that make Win32 API calls for all installed Microsoft Office applications."],[1,"Logging Allowed Execution Events of Microsoft Office Macros:","Allowed execution of a Microsoft Office macro within a Microsoft Office file is logged. Ensure that TrustCenter logging is enabled by checking the Enable Logging registry key at HKCU:\\Software\\Microsoft\\Office\\<version>\\Common\\TrustCenter\\ and request evidence of event logs for allowed Microsoft Office macro execution events."],[2,"Logging Blocked Execution Events of Microsoft Office Macros:","Blocked execution of a Microsoft Office macro within a Microsoft Office file is logged. Verify that TrustCenter logging is enabled by checking the Enable Logging registry key at HKCU:\\Software\\Microsoft\\Office\\<version>\\Common\\TrustCenter\\ and request evidence of event logs for blocked Microsoft Office macro execution events. Macros blocked due to antivirus (AV) can be found in the Event Viewer."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented for configuring Microsoft Office macro settings?",content:[[0,"Execution of Microsoft Office Macros Only from Trusted Locations:","Microsoft Office is configured to only allow Microsoft Office macros to execute from trusted locations. Test the execution of Microsoft Office macros from untrusted locations and trusted locations (if configured) to validate the setting. Ensure that macros digitally signed by a trusted publisher are allowed to execute, or Microsoft Office macros are only executed from within a sandboxed environment."],[1,"Validation of Microsoft Office Macros in Trusted Locations:","The organization has a defined standard for validating and accepting Microsoft Office macros in Microsoft Office files before adding them to the trusted location. Confirm the existence and use of trusted locations, and ensure there is a process for allowing write access to these locations by users responsible for validating that Microsoft Office macros are free of malicious code."],[2,"Write Access to Trusted Locations by Users:","Ensure that users are not able to write a file into locations contained within the trusted locations list. This involves checking trusted locations in the registry and attempting to write a file into each of these locations."],[3,"Blocking Macros Signed by Untrusted Publishers:","Microsoft Office macros signed by an untrusted publisher are unable to execute, and users cannot change configuration or otherwise allow execution. Verify this by attempting to execute Microsoft Office macros signed by untrusted publishers and checking registry settings."],[4,"Annual Validation of Trusted Publishers:","The organization has a process for validating the list of trusted publishers on an annual or more frequent basis. Confirm the existence of a list of trusted publishers and a process for regular val
2idation of this list."],[5,"Centralized Logging of Macro Execution Events:","Verify that Microsoft Office macro execution event logs are sent to a centralized location and ensure that event logs for each required event are collected centrally."],[6,"Protection of Event Logs from Unauthorized Modification and Deletion:","Ensure that Microsoft Office macro execution event logs are protected from unauthorized modification and deletion by standard and unauthorized users."],[7,"Monitoring of Event Logs for Signs of Compromise:","Verify that a solution or process is in place to monitor the Microsoft Office macro execution event logs for signs of compromise, and check that the organization has a process for detecting and handling any signs of compromise related to Microsoft Office macro execution."],[8,"Response to Signs of Compromise Triggered by Monitoring:","Verify that the organization has responded to a sign of compromise triggered by Microsoft Office macro execution monitoring and provide evidence of this response, such as support tickets, email correspondence, or threat and risk assessments."],[9,"Disallowing users from enabling Microsoft Office macros signed by untrusted publishers via the Message Bar or Backstage View:","Users are not allowed to enable Microsoft Office macros signed by untrusted publishers via the Message Bar or Backstage View. Verify this by attempting to enable macros signed by untrusted publishers using these methods."],[10,"Validating Microsoft Office's list of trusted publishers on an annual or more frequent basis:","The organization has a process for validating the list of trusted publishers on an annual or more frequent basis. Confirm the existence of a list of trusted publishers and a process for regular validation of this list."],[11,"Centrally logging allowed and blocked Microsoft Office macro execution events:","Verify that Microsoft Office macro execution event logs are sent to a centralized location and ensure that event logs for each required event are collected centrally."],[12,"Protecting Microsoft Office macro execution event logs from unauthorized modification and deletion:","Ensure that Microsoft Office macro execution event logs are protected from unauthorized modification and deletion by standard and unauthorized users."]]}},essential4:{description:"User Application Hardening is a pivotal cybersecurity practice within the Australian Government's Essential Eight (Essential 8) framework. This essential emphasizes the importance of securing user applications to thwart potential cyber threats. By implementing user application hardening practices, organizations can bolster their defenses against attacks that target user-level vulnerabilities.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",content:[[0,"Java Content Blocking in Microsoft Edge:","Confirm that Java content does not execute in Microsoft Edge. Load a website with known Java content and verify that it does not render in the web browser. Check the relevant registry keys for Java content settings in Microsoft Edge."],[1,"Java Content Blocking in Google Chrome:","Confirm that Java content does not execute in Google Chrome. Load a website with known Java content and verify that it does not render in the web browser."],[2,"Java Content Blocking in Mozilla Firefox:","Confirm that Java content does not execute in Mozilla Firefox. Load a website with known Java content and verify that it does not render in the web browser."],[3,"Blocking Web Advertisements in Microsoft Edge:","Confirm that web ads do not display in Microsoft Edge. Load a website with known ads and verify that it does not render in the web browser. Check the 'Block ads on sites that show intrusive or misleading ads' setting and the presence of any ad-blocking plugins."],[4,"Blocking Web Advertisements in Google Chrome:","Confirm that web ads do not display in Google Chrome. Load a website with known ads and verify that it does not render in the web browser. Check the 'Block ads on sites that show intrusive or misleading ads' setting and the presence of any ad-blocking plugins."],[5,"Blocking Web Advertisements in Mozilla Firefox:","Confirm that web ads do not display in Mozilla Firefox. Load a website with known ads and verify that it does not render in the web browser. Check the presence of any ad-blocking plugins."],[6,"Internet Explorer 11 Restricted Access:","Confirm that Internet Explorer 11 is unable to connect to internet sites and may be allowed to access internal web applications only. Check for external website access and ensure it is blocked. Review proxy or firewall configuration for specific rules preventing Internet Explorer 11 from accessing the internet."],[7,"User-Restricted Web Browser Settings in Microsoft Edge:","Ensure that Microsoft Edge settings cannot be changed by a standard user. Check group policy settings for Microsoft Edge and confirm if the browser configuration panel shows a 'Managed by organization' message. Attempt to change a setting related to networking or security, such as blocking ads, proxy settings, or security level."],[8,"User-Restricted Web Browser Settings in Google Chrome:","Ensure that Google Chrome settings cannot be changed by a standard user. Check group policy settings for Google Chrome and confirm if the browser configuration panel shows a 'Managed by organization' message. Attempt to change a setting related to networking or security, such as blocking ads, proxy settings, or security level."],[9,"User-Restricted Web Browser Settings in Mozilla Firefox:","Ensure that Mozilla Firefox settings cannot be changed by a standard user. Check group policy settings for Mozilla Firefox and confirm if the browser configuration panel shows a 'Managed by organization' message. Attempt to change a setting related to networking or security, such as blocking ads, proxy settings, or security level."],[10,"User-Restricted Web Browser Settings in Internet Explorer 11:","Ensure that Internet Explorer 11 settings cannot be changed by a standard user. Check group policy settings for Internet Explorer 11 and confirm if the browser configuration panel shows a 'Managed by organization' message. Attempt to change a setting related to networking or security, such as blocking ads, proxy settings, or security level."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",content:[[0,"ASD Guidance for Microsoft Edge Hardening:","Confirm that ASD guidance for hardening Microsoft Edge is implemented. Use the Microsoft Policy Analyzer to validate the system against the Microsoft Edge security baseline."],[1,"Google Guidance for Google Chrome Hardening:","Determine if Google Chrome is configured via group policy settings and if the configured settings align with Google's Chrome Browser Enterprise Security Configuration Guide."],[2,"Blocking Microsoft Office Child Process Creation:","Ensure that Microsoft Office files cannot create child processes. Check the ASR rule 'd4f940ab-401b-4efc-aadc-ad5f3c50688a' or equivalent is configured to prevent child process creation."],[3,"Blocking Microsoft Office Executable Content Creation:","Ensure that Microsoft Office files cannot create executable content. Check the ASR rule '3b576869-a4ec-4529-8536-b80a7769e899' or equivalent is configured to prevent the creation of executable content."],[4,"Blocking Microsoft Office Code Injection:","Ensure that Microsoft Office files cannot inject code into other processes. Check the ASR rule '75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84' or equivalent is configured to prevent code injection."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented for user application hardening?",content:[[0,"Removing Internet Explorer 11:","Ensure that the Internet Explorer 11 binary (iexplore.exe) does not exist on the system or cannot be opened due to an application control policy."],[1,"Removing .NET Framework 3.5:","Remove .NET Framework 3.5 from the system b
2y unselecting it from the list of optional Windows Features."],[2,"Absence of Older .NET Frameworks in Registry:","Check the registry for the existence of older .NET Framework versions and ensure they cannot be found."],[3,"Removing PowerShell 2.0 and Below:","Remove PowerShell 2.0 and below from the system and confirm that traces of it cannot be found in the registry."],[4,"Disabling Downgrade to PowerShell 2.0 or Below:","Verify that PowerShell cannot be downgraded to version 2.0 or below."],[5,"Configuring PowerShell for Constrained Language Mode:","Ensure that the default configuration for PowerShell on the system is to start in Constrained Language Mode."],[6,"Preventing User Change to Full Language Mode in PowerShell:","Confirm that PowerShell is running in Constrained Language Mode, and users cannot change it to Full Language mode."],[7,"Centrally Logging PowerShell Script Execution Events:","Verify that PowerShell script execution event logs are sent to a centralized location and that the number of systems logging to this location aligns with the total expected systems."],[8,"Protecting PowerShell Script Execution Event Logs:","Ensure that PowerShell script execution event logs are protected from unauthorized modification and deletion."],[9,"Monitoring PowerShell Script Execution Event Logs for Signs of Compromise:","Verify that a solution or process is in place to monitor the PowerShell script execution event logs for signs of compromise and that the organization has a process for detecting and handling any signs of compromise relating to PowerShell script execution."],[10,"Investigating Signs of Compromise in PowerShell Script Execution:","Verify that the organization has investigated or responded to signs of compromise triggered by PowerShell script execution monitoring."]]}},essential5:{description:"Restricting Administrative Privileges is a pivotal cybersecurity practice within the Australian Government's Essential Eight (Essential 8) framework. This essential emphasizes the importance of limiting administrative access to critical systems and resources to mitigate potential insider threats and unauthorized access. By restricting administrative privileges, organizations can significantly reduce the attack surface and potential impact of security breaches.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",content:[[0,"Validating Privileged Access Process:","Confirm the existence and enforcement of a privileged access process for granting access to systems and applications. Verify that the process is documented, approved, and outlines the requirements for provisioning a privileged account to a system or application."],[1,"Preventing Internet Access for Privileged Accounts:","Attempt to browse the internet while logged in as a privileged user. Verify that privileged accounts (excluding privileged service accounts) cannot access the internet or web services via a web browser or other mechanisms."],[2,"Configuration of Mailboxes and Email Addresses for Privileged Accounts:","Verify that privileged accounts are not configured with mailboxes and email addresses. Attempt to open Microsoft Outlook on a system using the privileged account. Run a PowerShell command to check for privileged accounts with email addresses."],[3,"Using Segregated Administrative Environments:","Ensure that all administrative activities are performed in an administrative environment segregated from the standard user network environment. Verify that a separate environment is provisioned exclusively for privileged access and is not used for any other purpose."],[4,"Preventing Unprivileged Accounts from Logging into Privileged Environments:","Use tools like Bloodhound to analyze Active Directory data and identify which users and groups have RDP access to servers. Review group policy settings for RDP permissions to prevent unprivileged accounts from logging into privileged environments."],[5,"Restricting PowerShell Remote PSRemote Feature:","Run a PowerShell command to check if unprivileged users are prevented from using the PowerShell remote PSRemote feature. Review the members of the built-in Active Directory Security Group 'Remote Management Users.'"],[6,"Preventing Privileged Accounts from Logging into Unprivileged
2Environments:","Attempt to log in with a privileged account to a standard user workstation. Check group policy settings for 'Deny logon locally' and 'Deny logon through Remote Desktop Services user rights' to workstations for privileged accounts."],[7,"Preventing Privileged Account Privilege Escalation:","While logged in as a standard user, attempt to use 'runas' or other methods to open an application as an administrator. Ensure that an unprivileged account on a standard workstation cannot raise privileges to a privileged user."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",content:[[0,"Process for Disabling Known Privileged Accounts:","Confirm the existence and enforcement of a process for disabling known privileged accounts. Ensure that users are aware of this requirement when provisioned with a privileged account."],[1,"Active Directory Expiry Date Validation:","Query Active Directory to identify privileged accounts with Active Directory expiry dates greater than 12 months or no expiry date."],[2,"Process for Disabling Inactive Privileged Accounts:","Confirm the existence and enforcement of a process for disabling privileged accounts that have been inactive for 45 days. Verify evidence of this process, such as support tickets or administrative logs."],[3,"Active Directory LastLogonDate Validation:","Query Active Directory to identify enabled privileged accounts with a 'lastlogondate' greater than 45 days."],[4,"Segregation of Privileged Environments:","Ensure that privileged environments are not virtualized within unprivileged environments, including virtual machines on a standard unprivileged SOE."],[5,"Use of Jump Servers for Administrative Activities:","Confirm that servers are configured to prevent remote access traffic or connections from systems that are not jump servers."],[6,"Implementation of LAPS for Local Administrator Passwords:","Use PowerShell commands to check the number of computers with LAPS implemented on Windows workstations and servers."],[7,"Management of Service Account Passwords:","Observe evidence of a password management or privileged access management solution in use for managing service account passwords. Ensure generated passwords are unique, unpredictable, and meet minimum length requirements."],[8,"Service Account Password Change Requirement:","Query Active Directory to identify service accounts with passwords last set more than 12 months ago."],[9,"Logging of Privileged Access Events:","Ensure successful and failed logins of privileged accounts are logged, and event logs are retained/backed up for a minimum period. Verify the existence of specific event logs for successful and failed logins."],[10,"Logging of Privileged Account and Group Management Events:","Ensure changes made to privileged accounts and groups within Active Directory are logged. Verify the existence of specific event logs for account and group management events."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented for restricting administrative privileges?",content:[[0,"Correct Privilege Levels for Existing Users:","Review the privilege levels assigned to existing users of systems and applications to ensure they match the requirements of their duties and roles."],[1,"Limit Internet Access for Service Accounts:","Verify that service accounts cannot access the internet or web services. Attempt to browse to an internet website while logged in as a service account."],[2,"No Email Configuration for Service Accounts:","Check whether service accounts are configured with mailboxes and email addresses. Also, ensure they are not able to access the internet, which is covered by a separate control for privileged accounts excluding service accounts."],[3,"Just-in-Time Administration for Privileged Access:","Check for the presence of active users in groups with privileged access to systems and applications. Confirm that users approved for privileged administration have access for a limited time to fulfill their duties. Validate the successful deployment and configuration of a Just-in-Time administration solution."],[4,"Enable Credential Guard:","Ensure that Credential Guard is enabled on the system. Verify the LsaCfgFlags registry setting and use PowerShell commands for confirmation."],[5,"Enable Remote Credential Guard:","Ensure that Remote Credential Guard is enabled on the system. Verify the DisableRestrictedAdmin registry setting and use PowerShell commands for confirmation."],[6,"Centralized Logging of Privileged Access Events:","Ensure that privileged access event logs are sent to a centralized location. Verify that logs for required events are collected centrally and that the number of systems logging to this location aligns with the total expected systems."],[7,"Centralized Logging of Privileged Account and Group Management Events:","Ensure that privileged account and group management event logs are sent to a centralized location. Verify that logs for required events are collected centrally and that the number of systems logging to this location aligns with the total expected systems."],[8,"Protection of Event Logs from Unauthorized Modification and Deletion:","Verify that privileged access event logs are protected from unauthorized modification and deletion. Standard and unauthorized users should be unable to modify or delete event logs."],[9,"Protection of Privileged Account and Group Management Event Logs:","Verify that privileged account and group management event logs are protected from unauthorized modification and deletion. Standard and unauthorized users should be unable to modify or delete event logs."],[10,"Monitoring Privileged Access Event Logs for Signs of Compromise:","Verify the presence of a solution or process to monitor privileged access event logs for signs of compromise. Check that the environment owner has a process for detecting and handling any signs of compromise related to privileged access."],[11,"Response to Signs of Compromise Triggered by Privileged Access Monitoring:","Verify that the organization has responded to a sign of compromise triggered by privileged access monitoring. This evidence will typically exist in the form of support tickets, email correspondence, or threat and risk assessments."],[12,"Monitoring Privileged Account and Group Management Event Logs for Signs of Compromise:","Verify the presence of a solution or process to monitor privileged account and group management event logs for signs of compromise. Check that the environment owner has a process for detecting and handling any signs of compromise related to privileged account and group management."],[13,"Response to Signs of Compromise Event Triggered by Privileged Account and Group Management Monitoring:","Verify that the organization has responded to a sign of compromise triggered by privileged account and group management monitoring. This evidence will typically exist in the form of support tickets, email correspondence, or threat and risk assessments."],[14,"Response to Signs of Compromise Event Triggered by Privileged Account and Group Management Monitoring:","Verify that the organization has responded to a sign of compromise event triggered by privileged account and group management monitoring. This evidence will typically exist in the form of support tickets, email correspondence, or threat and risk assessments."]]}},essential6:{description:"Patch Operating Systems is a fundamental cybersecurity practice within the Australian Government's Essential Eight (Essential 8) framework. This essential focuses on maintaining the security and stability of operating systems by regularly applying patches to address vulnerabilities. By ensuring timely and comprehensive patching, organizations can significantly reduce the risk of exploitation by malicious actors targeting unpatched systems.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented for patching operating systems?",content:[[0,"Automated Asset Discovery for Vulnerability Scanning:","Ensure that an automated method of asset discovery is in place, such as an asset discovery tool or vulnerability scanner, and is configured to run and be reviewed at least fortnightly to support the detection of assets for subsequent vulnerability scanning activities."],[1,"Using an Up-to-Date Vulnerability Scanner:","Confirm the use of a vulnerability scanner with an up-to-date vulnerability database for vulnerability scanning activities. Verify that the vulnerability database is updated within 24 hours prior to use."],[2,"Daily Vulnerability Scanning for Internet-Facing Services:","Ensure that a vulnerability scanner is run and reviewed daily to scan the organisation\u2019s internet-facing services. Confirm that reports from the vulnerability scanner are reviewed daily, and identified issues are actioned."],[3,"Fortnightly Vulnerability Scanning for Operating Systems:","Confirm the use of a vulnerability scanner for scanning the organisation\u2019s operating systems, which typically requires a credentialed scan. The scanner should be run and reviewed at least fortnightly, with identified issues being observed and actioned."],[4,"Patching Vulnerable Systems within 48 Hours:","Verify that the organisation has patched or mitigated a system with an available exploit within 48 hours. Request evidence of the identification and patching of such systems."],[5,"Mitigating Vulnerabilities on Internet-Facing Systems within Two Weeks:","Ensure that internet-facing systems with a vulnerable operating system that has an exploit available for more than 48 hours are patched or mitigated. Use the vulnerability management solution to verify the patch."],[6,"Patching Internet-Facing Systems within Two Weeks:","Confirm that internet-facing systems with a vulnerable operating system are patched or mitigated within two weeks. Use the vulnerability management solution to perform a patch audit."],[7,"Patching Operating Systems within One Month:","Verify the existence of an effective process for patching operating systems within one month. Confirm the presence of a list of managed operating systems, their locations, and an established process for identifying vulnerabilities and patching systems within one month."],[8,"Patching Vulnerable Systems within One Month:","Use a vulnerability management solution to perform a patch audit of all systems to ensure that operating systems with vulnerabilities are patched or mitigated within one month."],[9,"Removing Unsupported Operating Systems:","Confirm that unsupported operating systems are removed from the environment. Use a vulnerability scanner to identify unsupported operating systems and ensure they are not present in the environment."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented to patch operating systems?",content:[[0,"Weekly Vulnerability Scanning for Operating Systems:","Confirm the use of a vulnerability scanner that is run and reviewed at least weekly to
2scan the organisation\u2019s operating systems. The scanner typically requires a credentialed scan, and reports from the scanner should be reviewed by responsible staff weekly. Identified issues should be observed and actioned."],[1,"Patching Vulnerable Systems within Two Weeks:","Verify that the organisation has an effective process for patching operating systems within two weeks. Ensure the existence of a list of managed operating systems and their locations, with a consistent process for identifying vulnerabilities and patching systems within two weeks."],[2,"Patching Operating Systems within Two Weeks of Release:","Use a vulnerability management solution to perform a patch audit of all systems to ensure that operating systems with vulnerabilities are patched or mitigated within two weeks of the release of patches, updates, or other vendor mitigations."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented to patch operating systems?",content:[[0,"Patching Vulnerable Systems with Exploits within 48 Hours:","Ensure that operating systems vulnerable to an exploit that has been available for more than 48 hours are patched or mitigated promptly. Verify the usage of a vulnerability management solution and check that patches are successfully applied or that a mitigation strategy is in place."],[1,"Usage of Current or Previous Release of Operating Systems:","Verify that the minimum version of the operating system used within the organisation is either the current release or the previous release (N-1 version). Query Active Directory using PowerShell commands or tools like ADRecon or Bloodhound to identify the operating system versions in the environment. Use a vulnerability management solution to scan all systems and record their operating system versions."]]}},essential7:{description:"Multi-factor Authentication (MFA) is a critical cybersecurity practice highlighted in the Australian Government's Essential Eight (Essential 8) framework. This essential focuses on enhancing the security of authentication by requiring users to provide multiple forms of verification. By implementing MFA, organizations can significantly reduce the risk of unauthorized access, even if passwords are compromised.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for users?",content:[[0,"Verified List of Internet-Facing Services:","Ensure that the organisation has a verified and approved list of internet-facing services. Confirm the existence of an approved list of internet-facing services that is regularly checked."],[1,"Multi-Factor Authentication for Remote Access Desktop Solution:","Verify that the organisational remote access desktop solution presents a multi-factor authentication (MFA) challenge when attempting to authenticate. Confirm that users are prompted to complete MFA when authenticating to the organisation's remote solution."],[2,"Multi-Factor Authentication for Internet-Facing Systems:","Verify that organisational internet-facing systems present a MFA challenge when attempting to authenticate. Ensure that users are required to complete MFA when authenticating to the organisation's internet-facing systems."],[3,"MFA for Third-Party Services with Sensitive Data:","Verify that third-party internet-facing services that hold sensitive data are configured to require users to use multi-factor authentication (MFA). Confirm that the organisation has a policy stipulating that MFA should be implemented on all third-party internet-facing services that process, store, or communicate sensitive data."],[4,"MFA for Third-Party Services with Non-Sensitive Data:","Verify that third-party internet-facing services that hold non-sensitive data are configured to require users to use multi-factor authentication (MFA). Confirm that the organisation has a policy stipulating that MFA should be implemented on all third-party internet-facing services that hold non-sensitive data."],[5,"Default MFA for Non-Organisational Users:","Verify that organisational internet-facing services with non-organisational users present a multi-factor challenge when attempting to authenticate by default. Confirm that users may opt out of this feature, but it is enabled by default."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for privileged users and across internet-facing services?",content:[[0,"MFA for Privileged Users of Systems:","Ensure that privileged users who are performing administrative activities are required to respond to a multi-factor authentication (MFA) challenge at some point in the authentication lifecycle. This can be implemented when authenticating to a machine (such as a jump server) or when attempting to raise privileges. Confirm the existence of a list of systems that have privileged users or support privileged functions, and verify that this list is regularly updated."],[1,"MFA Requirements for Internet-Facing Services:","Verify that the organisation requires internet-facing services to use multi-factor authentication (MFA) that utilizes either something users have and something users know, or something users have that is unlocked by something users know or are. Ensure that the MFA mechanism for internet-facing services aligns with these requirements."],[2,"MFA Requirements for Privileged Users:","Confirm that the organisation requires privileged users to utilize multi-factor authentication (MFA) that uses either something users have and something users know, or something users have that is unlocked by something users know or are. Ensure that the MFA mechanism for privileged users aligns with these requirements."],[3,"Logging of Successful MFA Events for Internet-Facing Systems:","Verify that the organisation's internet-facing systems log successful MFA attempts. Confirm that successful MFA events are consistently logged for internet-facing systems."],[4,"Logging of Successful MFA Events for Administrative Access:","Verify that administrative access connections log successful MFA attempts. Ensure that successful MFA events are logged for administrative access."],[5,"Logging of Unsuccessful MFA Events for Internet-Facing Systems:","Verify that the organisation's internet-facing systems log unsuccessful MFA attempts. Confirm that unsuccessful MFA events are consistently logged for internet-facing systems."],[6,"Logging of Unsuccessful MFA Events for Administrative Access:","Verify that administrative access connections log unsuccessful MFA attempts. Ensure that unsuccessful MFA events are logged for administrative access."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented to enforce multi-factor authentication for users of important data repositories?",content:[[0,"Identification of Important Data Repositories:","Confirm that the organisation maintains a list of important data repositories. Ensure that this list is regularly checked and updated to reflect the current state of important data repositories."],[1,"MFA Requirements for Important Data Repositories:","Verify that data repositories identified as important in the organisation's list require multi-factor authentication (MFA) for access. Confirm that these important data repositories are configured to present a phishing-resistant MFA challenge."],[2,"Phishing-Resistant MFA Implementation:","Verify that the organisation's MFA implementation requires the use of a phishing-resistant solution. Ensure that MFA necessitates the use of a smart card, security ke
2y, Windows Hello for Business, or any other solution that is resistant to phishing attacks."],[3,"Centralized Logging of MFA Events:","Verify that MFA event logs are sent to a centralised location. Confirm that event logs for each required event are collected in a centralised location. Ensure that the number of systems logging to this central location aligns with the total expected systems."],[4,"Protection of MFA Event Logs from Unauthorized Modification and Deletion:","Verify that MFA event logs are protected from unauthorised modification and deletion. Confirm that standard and unauthorised users are unable to modify or delete event logs."],[5,"Monitoring of MFA Event Logs for Signs of Compromise:","Verify the presence of a solution or process in place to monitor the integrity and validity of MFA event logs for signs of compromise."],[6,"Investigation and Response to Signs of Compromise Triggered by MFA Monitoring:","Verify that the organisation has an example where they investigated or responded to signs of compromise triggered by MFA monitoring. Look for supporting evidence such as support tickets, email correspondence, or threat and risk assessments."]]}},essential8:{description:"Regular Backups is a crucial cybersecurity practice within the Australian Government's Essential Eight (Essential 8) framework. This essential focuses on preserving the availability and integrity of critical data and systems through consistent backup processes. By implementing robust backup strategies, organizations can mitigate the impact of data loss due to cyber incidents, hardware failures, or other disasters.",maturity1:{question:"Which of the following mitigation strategies and controls have been implemented to ensure backups of important data, software, and configuration settings are performed and retained in accordance with business continuity requirements?",content:[[0,"Business Continuity Plan for Backups:","Confirm that the organisation has a business continuity plan (BCP) that outlines their important data, software, and configuration settings that require backing up. Request the current BCP, and note when it was last modified. Ensure the BCP references the current environment, and confirm the existence of a defined list of important data, software, and configuration settings."],[1,"Backups as per BCP Timeframes:","Verify that important data, software, and configuration settings are backed up and retained as per the timeframes outlined within the BCP."],[2,"Synchronised Backups:","Verify that important data, software, and configuration settings are backed up in a synchronised manner using a common point in time."],[3,"Secure and Resilient Backup Retention:","Verify that important data, software, and configuration settings are backed up and retained in a secure and resilient manner."],[4,"Restoration Testing in Disaster Recovery Exercises:","Verify the organisation's documented evidence of a disaster recovery exercise being performed, including examples of where important data, software, and configuration settings have been restored from backups. Confirm the existence and appropriateness of a disaster recovery plan (DRP) and ensure it is followed during incidents and exercises."],[5,"Unprivileged Access to Backups:","Verify that unprivileged users are unable to access backups that do not belong to them. Ensure that access controls restrict access to only the owner of the information."],[6,"Prevention of Unprivileged Modification and Deletion of Backups:","Verify that unprivileged users are unable to modify and delete backups. Ensure access controls restrict the modification and deletion of backups."]]},maturity2:{question:"Which of the following mitigation strategies and controls have been implemented to ensure privileged accounts, excluding backup administrator accounts, cannot access backups belonging to other accounts and are prevented from modifying and deleting backups?",content:[[0,"Privileged Access to Backups:","Verify that privileged users (excluding backup administrator accounts) are unable to access backups that do not belong to them. Ensure that access controls restrict access to the owner of the backup and backup administrator accounts."],[1,"Prevention of Privileged Modification and Deletion of Backups:","Verify that privileged users (excluding backup administrator accounts) are unable to modify and delete backups. Ensure access controls restrict the modification and deletion of backups to backup administrator accounts."]]},maturity3:{question:"Which of the following mitigation strategies and controls have been implemented to ensure unprivileged accounts cannot access backups belonging to other accounts, including their own, and to ensure privileged accounts, including backup administrator accounts, are prevented from modifying and deleting backups during their retention period?",content:[[0,"Prevention of Unprivileged Access to Backups:","Verify that unprivileged users are unable to access backups, including their own backups. Ensure access controls restrict unprivileged users from accessing backup repositories."],[1,"Prevention of Privileged Access to Backups:","Verify that privileged users (excluding backup administrator accounts) are unable to access backups, including their own backups. Ensure access controls restrict privileged users from accessing backup repositories."],[2,"Prevention of Privileged Modification and Deletion of Backups:","Verify that privileged users, including backup administrator accounts, are unable to modify and delete backups during their retention period. Ensure access controls restrict the modification and deletion of backups to break glass accounts."]]}}},Fn=function(t){var n=(0,e.useState)({}),r=(0,i.Z)(n,2),a=r[0],l=r[1],u={essential1:"Application Control",essential2:"Patch Applications",essential3:"Configure Microsoft Office Macro Settings",essential4:"User Application Hardening",essential5:"Restrict Administrative Privileges",essential6:"Patch Operating Systems",essential7:"Multi-Factor Authentication",essential8:"Regular Backups"},c=(0,e.useState)({}),f=(0,i.Z)(c,2),d=f[0],h=f[1],p=(0,e.useState)("essential1"),g=(0,i.Z)(p,2),m=g[0],v=g[1],y=(0,e.useState)(0),b=(0,i.Z)(y,2),w=b[0],x=b[1],S=(0,e.useMemo)((function(){return Cn[m]}),[m]),k=!S||"essential8"===m&&3===w,A=function(){var e=new _n.default({orientation:"portrait",unit:"mm",format:[210,297],compress:!0,lineHeight:1.2,marginLeft:10,marginRight:10,marginTop:10,marginBottom:10}),t=3,n="Cyber Ethos Logo.png",r="bg.png",o=210,l=297,c=53.17,f=23.82,h=10,p=10,g=function(){e.setFontSize(10),e.setTextColor(255,255,255),e.text(190,e.internal.pageSize.height-10,"Page ".concat(t)),t++};e.addImage("1-min.png","PNG",0,0,o,l),e.addPage(),e.addImage("3-min.png","PNG",0,0,o,l),e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g();e.setFont("bold Arial"),e.setFontSize(30),e.setTextColor(251,205,50);for(var m=43.82,v=e.internal.pageSize.width-35,y=13,b=18,w="helvetica",x=e.splitTextToSize("Our Unique Proposition (USP):\nCyber Ethos stands out with its practitioner-led a
2pproach and commitment to customers. Our USP revolves around three key pillars:\n1) Holistic Cybersecurity Strategies, providing comprehensive programs aligned with business objectives;\n2) Translating Complexity into Actionable Insights, making cybersecurity understandable and enabling informed risk decisions; and\n3) Empowering Cybersecurity Awareness and Education, bridging the knowledge gap within organizations.\n\nServices Offered:\nOur range of cybersecurity services includes managed services for proactive monitoring and incident response, advisory and consulting for tailored guidance, board-level expertise to align cybersecurity with business objectives, audits to identify gaps and compliance requirements, and vulnerability scanning with penetration testing to assess and improve your Cyber posture.\n\nIntroduction:\nIn today's rapidly evolving digital landscape, the security of your organisation's sensitive information and critical assets is paramount. As we embark on this journey of cybersecurity exploration, we are excited to present to you an assessment of your Essential 8 maturity based on your responses to our questionnaire. Our analysis examines the key aspects that directly impact your cybersecurity posture based on your responses. It offers a clear and non-technical understanding of your organisation's current state of cybersecurity preparedness from an Essential 8 perspective. This report aims to empower your decision-making by providing you what Cyber Ethos believes is your current state, from your responses. We hope this will assist you in an informed decision making in fortifying your defences and ensuring a robust cybersecurity foundation.\nThank you for entrusting us with this critical endeavour. We will reach out to you in the coming period to discuss your report and assisting you in safeguarding your digital future.\n\nUnderstanding the ACSC and Essential 8:\nThe ACSC, a unit under the Australian Signals Directorate (ASD), plays a pivotal role in bolstering Australia's cybersecurity resilience. The E8 strategies are designed to provide essential guidance to businesses across various sectors. Contrary to common misconceptions, these strategies are not just for large corporations or government entities; they apply to businesses of all sizes, safeguarding their digital assets and sensitive data.\n\nConclusion:\nWith Cyber Ethos, businesses gain unparalleled cybersecurity expertise, customized strategies, and holistic solutions. Safeguard your data, secure your future, and gain a competitive edge. Contact us today by visiting our website www.cyberethos.com.au and/or by calling 1800 CETHOS (1800-238-467) and embark on a journey towards fortified cybersecurity and lasting success.\nThe following is an assessment of your current maturity level\nbased on your provided responses:\n ",390),S=e.getTextDimensions("M").h,k=0;k<x.length;k++){e.internal.pageSize.height-m<S&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),x[k].includes("The following is an assessment of your current maturity level")&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),x[k].includes("Introduction:")||x[k].includes("Understanding the ACSC and Essential 8:")||x[k].includes("Our Unique Proposition (USP):")||x[k].includes("Services Offered:")||x[k].includes("Conclusion:")||x[k].includes("Seeking Assistance:")||x[k].includes("The following is an assessment of your current maturity level")||x[k].includes("based on your provided responses:")?(e.setFont(w),e.setFontSize(b),e.setTextColor(251,205,50)):(e.setTextColor(255,255,255),e.setFontSize(y)),e.text(14,m,x[k]),m+=S}e.setFont(w),e.setFontSize(b),e.setTextColor(251,205,50);var A=17,N=m+S-5;e.setTextColor(251,205,50),e.text("Name:",A,N),e.setTextColor(255,255,255),e.text(a.name,A+e.getTextWidth("Name:")+5,N),N+=S+3,e.setFontSize(b),e.setTextColor(251,205,50),e.text("Company Name:",A,N),e.setTextColor(255,255,255),e.text(a.companyName,A+e.getTextWidth("Company Name:")+5,N),N+=S+3,e.setFontSize(b),e.setTextColor(251,205,50),e.text("Phone:",A,N),e.setTextColor(255,255,255),e.text(a.phoneNumber,A+e.getTextWidth("Phone:")+5,N),N+=S+3,e.setFontSize(b),e.setTextColor(251,205,50),e.text("Email: ",A,N),e.setTextColor(255,255,255),e.text(a.email,A+e.getTextWidth("Email:")+5,N);var P=N+35-10,L=document.querySelector("table");e.autoTable(s({html:L,startY:P},{theme:"grid",headStyles:{fillColor:[33,31,31],textColor:[255,255,255],lineColor:[255,255,255]},styles:{fontSize:13,cellPadding:2,valign:"middle",halign:"center",fillColor:[33,31,31],textColor:[255,255,255],lineColor:[255,255,255]}}
2)),Object.entries(En).forEach((function(t){var a=(0,i.Z)(t,2),s=a[0],x=a[1],k=d[s],A=x.description||"";e.setTextColor(255,255,255),e.setFontSize(y),S=e.getTextDimensions("M").h;var N=e.splitTextToSize(A,v+15),P=N.length*S;e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82,e.setFont(w),e.setFontSize(b),e.setTextColor(251,205,50),e.text("About ".concat(u[s],":"),12,m),m+=S+5,e.setTextColor(255,255,255),e.setFontSize(y),e.text(12,m,N),m+=P+15;var L=k[0].selectedAnswers[x.maturity1.question];e.setFont(w),e.setFontSize(14),e.setTextColor(251,205,50);var _=0;if(k[0].percentages[x.maturity1.question]&&(_=k[0].percentages[x.maturity1.question].toFixed(2)),e.text("Your Score For ".concat(u[s]," Maturity Level ",1," is :- ").concat(_,"%"),12,m),m+=S+5,L&&L.length>0){e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Implemented Measures:",12,m),m+=S+5;for(var C=0;C<L.length;++C){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var E=x.maturity1.content[L[C]][1];E=(C+1).toString()+". "+E;var F=e.splitTextToSize(E,v+15),O=F.length*S,T=e.internal.pageSize.height-m-15;T<O&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,F),m+=O+3,e.setFontSize(11);var M=x.maturity1.content[L[C]][2],I=e.splitTextToSize(M,v+15),j=I.length*S;(T=e.internal.pageSize.height-m-15)<j&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,I),m+=j+5}L.length!==x.maturity1.content.length&&(e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5);for(var R=0;R<x.maturity1.content.length;R++)if(!L.includes(R)){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var D=x.maturity1.content[R][1];D=(R+1).toString()+". "+D;var B=e.splitTextToSize(D,v+15),z=B.length*S,q=e.internal.pageSize.height-m-15;q<z&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,B),m+=z+3,e.setFontSize(11);var U=x.maturity1.content[R][2],W=e.splitTextToSize(U,v+15),H=W.length*S;(q=e.internal.pageSize.height-m-15)<H&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,W),m+=H+5}}else{e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5;for(var V=0;V<x.maturity1.content.length;V++){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var G=x.maturity1.content[V][1];G=(V+1).toString()+". "+G;var Z=e.splitTextToSize(G,v+15),Y=Z.length*S,J=e.internal.pageSize.height-m-15;J<Y&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,Z),m+=Y+3,e.setFontSize(11);var $=x.maturity1.content[V][2],K=e.splitTextToSize($,v+15),X=K.length*S;(J=e.internal.pageSize.height-m-15)<X&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,K),m+=X+5}}if(L=k[1].selectedAnswers[x.maturity2.question],console.log(L),e.setFont(w),e.setFontSize(14),e.setTextColor(251,205,50),_=0,k[1].percentages[x.maturity2.question]&&(_=k[1].percentages[x.maturity2.question].toFixed(2)),e.text("Your Score For ".concat(u[s]," Maturity Level ",2," is :- ").concat(_,"%"),12,m),m+=S+5,L&&L.length>0){e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Implemented Measures:",12,m),m+=S+5;for(var Q=0;Q<L.length;++Q){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var ee=x.maturity2.content[L[Q]][1];ee=(Q+1).toString()+". "+ee;var te=e.splitTextToSize(ee,v+15),ne=te.length*S,re=e.internal.pageSize.height-m-15;re<ne&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,te),m+=ne+3,e.setFontSize(11);var ie=x.maturity2.content[L[Q]][2],oe=e.splitTextToSize(ie,v+15),ae=oe.length*S;(re=e.internal.pageSize.height-m-15)<ae&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,oe),m+=ae+5}L.length!==x.maturity2.content.length&&(e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5);for(var se=0;se<x.maturity2.content.length;se++)if(!L.includes(se)){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var le=x.maturity2.content[se][1];le=(se+1).toString()+". "+le;var ue=e.splitTextToSize(le,v+15),ce=ue.length*S,fe=e.internal.pageSize.height-m-15;fe<ce&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,ue),m+=ce+3,e.setFontSize(11);var de=x.maturity2.content[se][2],he=e.splitTextToSize(de,v+15),pe=he.length*S;(fe=e.internal.pageSize.height-m-15)<pe&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,he),m+=pe+5}}else{e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5;for(var ge=0;ge<x.maturity2.content.length;ge++){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var me=x.maturity2.content[ge][1];
2me=(ge+1).toString()+". "+me;var ve=e.splitTextToSize(me,v+15),ye=ve.length*S,be=e.internal.pageSize.height-m-15;be<ye&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,ve),m+=ye+3,e.setFontSize(11);var we=x.maturity2.content[ge][2],xe=e.splitTextToSize(we,v+15),Se=xe.length*S;(be=e.internal.pageSize.height-m-15)<Se&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,xe),m+=Se+5}}if(L=k[2].selectedAnswers[x.maturity3.question],e.setFont(w),e.setFontSize(14),e.setTextColor(251,205,50),_=0,k[2].percentages[x.maturity3.question]&&(_=k[2].percentages[x.maturity3.question].toFixed(2)),e.text("Your Score For ".concat(u[s]," Maturity Level ",3," is :- ").concat(_,"%"),12,m),m+=S+5,L&&L.length>0){e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Implemented Measures:",12,m),m+=S+5;for(var ke=0;ke<L.length;++ke){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var Ae=x.maturity3.content[L[ke]][1];Ae=(ke+1).toString()+". "+Ae;var Ne=e.splitTextToSize(Ae,v+15),Pe=Ne.length*S,Le=e.internal.pageSize.height-m-15;Le<Pe&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,Ne),m+=Pe+3,e.setFontSize(11);var _e=x.maturity3.content[L[ke]][2],Ce=e.splitTextToSize(_e,v+15),Ee=Ce.length*S;(Le=e.internal.pageSize.height-m-15)<Ee&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,Ce),m+=Ee+5}L.length!==x.maturity3.content.length&&(e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5);for(var Fe=0;Fe<x.maturity3.content.length;Fe++)if(!L.includes(Fe)){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var Oe=x.maturity3.content[Fe][1];Oe=(Fe+1).toString()+". "+Oe;var Te=e.splitTextToSize(Oe,v+15),Me=Te.length*S,Ie=e.internal.pageSize.height-m-15;Ie<Me&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,Te),m+=Me+3,e.setFontSize(11);var je=x.maturity3.content[Fe][2],Re=e.splitTextToSize(je,v+15),De=Re.length*S;(Ie=e.internal.pageSize.height-m-15)<De&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,Re),m+=De+5}}else{e.setFont(w),e.setFontSize(16),e.setTextColor(251,205,50),e.text("Not Implemented Measures:",12,m),m+=S+5;for(var Be=0;Be<x.maturity3.content.length;Be++){e.setFont(w),e.setFontSize(13),e.setTextColor(255,255,255);var ze=x.maturity3.content[Be][1];ze=(Be+1).toString()+". "+ze;var qe=e.splitTextToSize(ze,v+15),Ue=qe.length*S,We=e.internal.pageSize.height-m-15;We<Ue&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(13),e.text(12,m,qe),m+=Ue+3,e.setFontSize(11);var He=x.maturity3.content[Be][2],Ve=e.splitTextToSize(He,v+15),Ge=Ve.length*S;(We=e.internal.pageSize.height-m-15)<Ge&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setFontSize(11),e.text(12,m,Ve),m+=Ge+5}}})),e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82,y=9,e.setTextColor(255,255,255),e.setFontSize(y),S=e.getTextDimensions("M").h;for(var _=e.splitTextToSize("\n\n\nDisclaimer: The Essential 8 maturity report provided herewith by Cyber Ethos is based solely on the responses provided by the end user. While our utmost diligence and expertise have been exercised in the creation of this report, it is important to acknowledge that the accuracy and completeness of the findings are contingent upon the accuracy and completeness of the user's responses. As such, Cyber Ethos cannot be held liable for any actions, decisions, or outcomes that may arise from the reliance on this report until a comprehensive and further assessment, conducted by our team, has been undertaken to align the findings with the specific needs and nuances of your organisation's cybersecurity requirements. We strongly recommend engaging us in a more detailed evaluation by our experts to ensure an accurate and tailored cybersecurity maturity assessment.",v+10),C=0;C<_.length;C++){e.internal.pageSize.height-m<S&&(e.addPage(),e.addImage(r,"PNG",0,0,o,l),e.addImage(n,"PNG",h,p,c,f),g(),m=43.82),e.setTextColor(255,255,255),e.setFontSize(y),e.text(14,m,_[C]),m+=S}return e.addPage(),e.addImage("2-min.png","PNG",0,0,o,l),e.output("blob")},N=be();return(0,e.useEffect)((function(){k&&A()})),(0,e.useEffect)((function(){var e=t.userData;e.userResponses=d,l(e),t.userData.name||N("/")}),[t.userData,d]),(0,De.jsx)("div",{className:Pn.App,children:k?(0,De.jsxs)("div",{style:{backgroundColor:"#211F1F"},children:[(0,De.jsx)("header",{className:Pn.header,children:(0,De.jsx)("div",{className:Pn["logo-container"],children:(0,De.jsx)("img",{src:"/Cyber Ethos Logo.png",alt:"Cyber Ethos Logo",width:319.02,height:142.92,className:Pn.logo})})}),(0,De.jsx)("p",{className:Pn["logo-text"],children:"Essential 8 Assessment"}),(0,De.jsx)("h1",{style:{color:"rgb(251, 205, 50)"},children:"Congratulations! You have completed the assessment."}),(0,De.jsxs)("table",{style:{border:"1px solid grey"},children:[(0,De.jsx)("thead",{children:(0,De.jsxs)("tr",{children:[(0,De.jsx)("th",{style:{backgroundColor:"#211F1F",color:"rgb(251, 205, 50)",border:"1px solid grey"},children:"#"}),(0,De.jsx)("th",{style:{backgroundColor:"#211F1F",color:"rgb(251, 205, 50)",border:"1px solid grey"},children:"Mitigation Strategy"}),(0,De.jsx)("th",{style:{backgroundColor:"#211F1F",color:"rgb(251, 205, 50)",border:"1px solid grey"},children:"Maturity Level 1"}),(0,De.jsx)("th",{style:{backgroundColor:"#211F1F",color:"rgb(251, 205, 50)",border:"1px solid grey"},children:"Maturity Level 2"}),(0,De.jsx)("th",{style:{backgroundColor:"#211F1F",color:"rgb(251, 205, 50)",border:"1px solid grey"},children:"Maturity Level 3"})]})}),(0,De.jsx)("tbody",{children:Object.keys(d).map((function(e,t){return(0,De.jsxs)("tr",{children:[(0,De.jsx)("td",{style:{color:"rgb(251, 205, 50)",border:"1px solid grey"},children:t+1}),(0,De.jsx)("td",{style:{color:"rgb(255, 255, 255)",border:"1px solid grey"},children:u[e]}),(0,De.jsx)("td",{style:{border:"1px solid grey"},children:d[e]&&d[e][0]&&Object.keys(d[e][0].percentages).map((function(t){var n,r=d[e][0].percentages[t].toFixed(2);return n=r<40?"red":r>=40&&r<=80?"yellow":"green",(0,De.jsxs)("div",{style:{color:n},children:[r,"%"]},t)}))}),(0,De.jsx)("td",{style:{border:"1px solid grey"},children:d[e]&&d[e][1]&&Object.keys(d[e][1].percentages).map((function(t){var n,r=d[e][1].percentages[t].toFixed(2);return n=r<40?"red":r>=40&&r<=80?"yellow":"green",(0,De.jsxs)("div",{style:{color:n},children:[r,"%"]},t)}))}),(0,De.jsx)("td",{style:{border:"1px solid grey"},children:d[e]&&d[e][2]&&Object.keys(d[e][2].percentages).map((function(t){var n,r=d[e][2].percentages[t].toFixed(2);return n=r<40?"red":r>=40&&r<=80?"yellow":"green",(0,De.jsxs)("div",{style:{color:n},children:[r,"%"]},t)}))})]},e)}))})]}),(0,De.jsxs)("div",{children:[(0,De.jsx)("h4",{style:{color:"rgb(251, 205, 50)"},children:"For complet assessment download the report:"}),(0,De.jsx)("button",{onClick:function(){var e=A(),t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download="user_report.pdf",n.click()},children:"Download PDF"})]}),(0,De.jsx)("div",{style:{color:"rgb(251, 205, 50)",marginTop:"20px"}}),(0,De.jsxs)("div",{style:{color:"rgb(251, 205, 50)"},children:[(0,De.jsxs)("p",{children:["Phone: 1800 CEthos (1800 238 467) ",(0,De.jsx)("br",{}),"Email: ",(0,De.jsx)("a",{href:"mailto:[email protected]",style:{color:"rgb(255, 255, 255)"},children:"[email protected]"})," ",(0,De.jsx)("br",{}),"Facebook: ",(0,De.jsx)("a",{href:"https://www.fb.com/CyberEthos",style:{color:"rgb(255, 255, 255)"},children:"fb.com/CyberEthos"})," ",(0,De.jsx)("br",{}),"LinkedIn: ",(0,De.jsx)("a",{href:"https://www.linkedin.com/company/CyberEthos",style:{color:"rgb(255, 255, 255)"},children:"linkedin.com/company/CyberEthos"})]}),(0,De.jsx)("p",{style:{margin:"0",fontSize:"1.2em"},children:"THANK YOU! WE LOOK FORWARD TO SERVING YOU."}),(0,De.jsx)("p",{className:Pn["disclaimer-text"],children:"Disclaimer: The Essential 8 maturity report provided herewith by Cyber Ethos is based solely on the responses provided by the end user. While our utmost diligence and expertise have been exercised in the creation of this report, it is important to acknowledge that the accuracy and completeness of the findings are contingent upon the accuracy and completeness of the user's responses. As such, Cyber Ethos cannot be held liable for any actions, decisions, or outcomes that may arise from the reliance on this report until a comprehensive and further assessment, conducted by our team, has been undertaken to align the findings with the specific needs and nuances of your organization's cybersecurity requirements. We strongly recommend engaging us in a more detailed evaluation by our experts to ensure an accurate and tailored cybersecurity maturity assessment."})]})]}):(0,De.jsx)(De.Fragment,{children:S&&S.length>0&&(0,De.jsx)(Ln,{question:Cn[m][w],onOptionChange:function(e){return function(e){var t=Cn[m],n=t[w].options.length,r=e.length/n*100,i=t.map((function(t,n){return n===w?s(s({},t),{},{choosedOption:e,selectedPercentage:r}):t}))[w].question;h((function(t){var n,a,l,u;return s(s({},t),{},(0,o.Z)({},m,s(s({},t[m]),{},(0,o.Z)({},w,{selectedAnswers:s(s({},null===(n=t[m])||void 0===n||null===(a=n[w])||void 0===a?void 0:a.selectedAnswers),{},(0,o.Z)({},i,e)),percentages:s(s({},null===(l=t[m])||void 0===l||null===(u=l[w])||void 0===u?void 0:u.percentages),{},(0,o.Z)({},i,r))}))))}
2)),w===t.length-1?"essential8"===m&&2===w?x(3):(x(0),v((function(e){var t=parseInt(e.replace("essential",""));return"essential".concat(t+1)}))):x((function(e){return e+1}))}(e)}})})})},On=function(){return(0,De.jsxs)("div",{style:{textAlign:"center",margin:"20px"},children:[(0,De.jsx)("h1",{style:{color:"rgb(251, 205, 50)",display:"inline"},children:"Terms and Conditions"}),(0,De.jsx)("p",{style:{color:"white"},children:"Disclaimer: The Essential 8 maturity report provided herewith by Cyber Ethos is based solely on the responses provided by the end user. While our utmost diligence and expertise have been exercised in the creation of this report, it is important to acknowledge that the accuracy and completeness of the findings are contingent upon the accuracy and completeness of the user's responses. As such, Cyber Ethos cannot be held liable for any actions, decisions, or outcomes that may arise from the reliance on this report until a comprehensive and further assessment, conducted by our team, has been undertaken to align the findings with the specific needs and nuances of your organisation's cybersecurity requirements. We strongly recommend engaging us in a more detailed evaluation by our experts to ensure an accurate and tailored cybersecurity maturity assessment."})]})},Tn=function(){var t=(0,e.useState)({}),n=(0,i.Z)(t,2),r=n[0],o=n[1],a=function(e){o(e)};return(0,De.jsx)("div",{className:"App",children:(0,De.jsx)(qe,{children:(0,De.jsxs)(Te,{children:[(0,De.jsx)(Fe,{exact:!0,path:"/",element:(0,De.jsx)(Be,{userData:r,updateData:a})}),(0,De.jsx)(Fe,{path:"/Questionnare",element:(0,De.jsx)(Fn,{userData:r,updateData:a})}),(0,De.jsx)(Fe,{path:"/terms-and-conditions",element:(0,De.jsx)(On,{})})]})})})};r.createRoot(document.getElementById("root")).render((0,De.jsx)(Tn,{}))}()}(); 3//# sourceMappingURL=main.188def19.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.