You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__ThemeChange_...

298 lines
1.6 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var O1=Object.defineProperty,Q1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Iv=Object.prototype.propertyIsEnumerable;var bp=(on,Ut,we)=>Ut in on?O1(on,Ut,{enumerable:!0,configurable:!0,writable:!0,value:we}):on[Ut]=we,Nc=(on,Ut)=>{for(var we in Ut||(Ut={}))Lv.call(Ut,we)&&bp(on,we,Ut[we]);if(vm)for(var we of vm(Ut))Iv.call(Ut,we)&&bp(on,we,Ut[we]);return on},Cp=(on,Ut)=>Q1(on,T1(Ut));var Uv=(on,Ut)=>{var we={};for(var Oe in on)Lv.call(on,Oe)&&Ut.indexOf(Oe)<0&&(we[Oe]=on[Oe]);if(on!=null&&vm)for(var Oe of vm(on))Ut.indexOf(Oe)<0&&Iv.call(on,Oe)&&(we[Oe]=on[Oe]);return we};var Gi=(on,Ut,we)=>bp(on,typeof Ut!="symbol"?Ut+"":Ut,we);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{89489:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},59477:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},26227:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},49198:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},87169:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},52671:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},8657:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},56082:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},33853:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},15075:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},43531:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},38819:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},95869:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Se}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Se=me},96408:function(on,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},42882:function(on,Ut){"use strict";Ut.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeNumberInputSty:"threeNumberInputSty___FdfX9",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeTreeSty:"threeTreeSty___sYMRj",threeTabsSty:"threeTabsSty___Aq8HO",threeRangePickerSty:"threeRangePickerSty___wy5qD",threeCollapseSty:"threeCollapseSty___EuXSZ",threePaginationSty:"threePaginationSty___qMewa",threeSwitchSty:"threeSwitchSty___vyJb_",threeUploadSty:"threeUploadSty___ze5Tr",threeFormSty:"threeFormSty___OJPML",threecommonSty:"threecommonSty___CbX7M",threeModalSty:"threeModalSty___EyX5Y",threeDrawerSty:"threeDrawerSty___Ei_DC"}},25863:function(){"use strict";function on(ie,y,a,ee){a===void 0&&(a=0),ee===void 0&&(ee=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=ee}Object.defineProperty(on.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(on.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(on.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(on.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof on))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var ee=go.Shape._FigureParameters[ie];ee||(ee=[],go.Shape._FigureParameters[ie]=ee),ee[y]=a};var Ut=[];function we(ie,y){var a=Ut.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function Oe(){var ie=Ut.pop();return ie===void 0?new go.Point:ie}function be(ie){Ut.push(ie)}function ze(ie,y,a,ee,E,te,ne,oe,he){he||(he=new go.Point);var _e=ie-a,Pe=E-ne,Qe=NaN,Ze=NaN;if(_e===0)if(Pe===0)ie===a&&(Qe=ie,Ze=y);else{var Ve=(te-oe)/Pe,nt=te-Ve*E;Qe=ie,Ze=Ve*Qe+nt}else if(Pe===0){var De=(y-ee)/_e,St=y-De*ie;Qe=E,Ze=De*Qe+St}else{var De=(y-ee)/_e,Ve=(te-oe)/Pe,St=y-De*ie,nt=te-Ve*E;Qe=(nt-St)/(De-Ve),Ze=De*Qe+St}return he.x=Qe,he.y=Ze,he}function at(ie,y,a,ee,E,te,ne,oe,he,_e,Pe,Qe,Ze,Ve){var nt=1-he,De=he,St=ie*nt+a*De,ke=y*nt+ee*De,Ot=a*nt+E*De,it=ee*nt+te*De,rt=E*nt+ne*De,wt=te*nt+oe*De,dt=St*nt+Ot*De,pt=ke*nt+it*De,st=Ot*nt+rt*De,ft=it*nt+wt*De,an=dt*nt+st*De,fn=pt*nt+ft*De;_e.x=St,_e.y=ke,Pe.x=dt,Pe.y=pt,Qe.x=an,Qe.y=fn,Ze.x=st,Ze.y=ft,Ve.x=rt,Ve.y=wt}var Ge=new go.Spot(.156,.156),je=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new on("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=5),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=a/2,ee.endX=y,ee.endY=a/2,ee}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y/2,ee.startY=0,ee.endX=y/2,ee.endY=a,ee}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var ee=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ee*y,(1-ee)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var ee=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ee,ee,ee,ee).close()));return E.spot1=Ge,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y,ee.startY=0,ee.endX=0,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,me*y,0,y,(1-me)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,me*a,(1-me)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,me*a,me*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-me)*y,0,0,(1-me)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new on("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.1:ee<-1?ee=-1:ee>1&&(ee=1);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new on("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=10:ee<-y?ee=-y:ee>y&&(ee=y);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.setFigureParameter("Trapezoid1",0,new on("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.2:ee<.5?ee=-.5:ee>.5&&(ee=.5);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new on("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=20:ee<-y?ee=-y/2:ee>y&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.setFigureParameter("ManualOperation",0,new on("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=10:ee<-y?ee=-y/2:ee>y&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}});var Se=[];function Le(){var ie=Se.pop();return ie===void 0?[]:ie}function de(ie){ie.length=0,Se.push(ie)}function Ie(ie){for(var y=Le(),a=.5,ee=.5,E=Math.PI*1.5,te=0,ne=0;ne<ie;ne++)te=2*Math.PI/ie*ne+E,y[ne]=new go.Point(ee+a*Math.cos(te),ee+a*Math.sin(te));return y.push(y[0]),y}function Fe(ie){var y=Ce(ie),a=Le();a[0]=y[0];for(var ee=1,E=1;ee<y.length;ee+=2,E+=3)a[E]=y[ee],a[E+1]=y[ee],a[E+2]=y[ee+1];return de(y),a}function Ce(ie){for(var y=Ie(ie),a=Le(),ee=Math.floor(y.length/2),E=y.length-1,te=ie%2===0?2:1,ne=0;ne<E;ne++){var oe=y[ne],he=y[ne+1],_e=y[(ee+ne-1)%E],Pe=y[(ee+ne+te)%E];a[ne*2]=oe,a[ne*2+1]=ze(oe.x,oe.y,_e.x,_e.y,he.x,he.y,Pe.x,Pe.y,new go.Point)}return a[a.length]=a[0],de(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ie,y,a){var ee=Ie(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<5;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(ie,y,a){var ee=Ie(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<6;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(ie,y,a){var ee=Ie(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<7;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(ie,y,a){var ee=Ie(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<8;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(ie,y,a){var ee=Ie(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<9;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(ie,y,a){var ee=Ie(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<10;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(ie,y,a){var ee=Ie(12),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<12;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(ie,y,a){var ee=Ce(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<10;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(ie,y,a){var ee=Ce(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<12;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ie,y,a){var ee=Ce(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<14;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(ie,y,a){var ee=Ce(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<16;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(ie,y,a){var ee=Ce(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<18;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(ie,y,a){var ee=Ce(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<20;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ie,y,a){var ee=Fe(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ie,y,a){var ee=Fe(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ie,y,a){var ee=Fe(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ie,y,a){var ee=Fe(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ie,y,a){var ee=Fe(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ie,y,a){var ee=Fe(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new on("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new on("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=8),isNaN(E)&&(E=8);var te=new go.Geometry,ne=new go.PathFigure(0,0,!0);return te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee<y/2&&E<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,ee,E)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,E).close())),te.setSpots(0,0,1,1,ee,E,-ee,-E),te}),go.Shape.setFigureParameter("Ring",0,new on("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=8);var E=y/2,te=new go.Geometry,ne=new go.PathFigure(y,y/2,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var oe=Math.max(E-ee,0);return oe>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+oe,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,oe,oe).close())),te.spot1=Ge,te.spot2=je,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var ee=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ee*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close())).setSpots(ee/2,ee/2,1-ee/2,1-ee/2)}),go.Shape.setFigureParameter("Pie",0,new on("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new on("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(E)&&(E=315);var te=ee%360;te<0&&(te+=360);var ne=E%360,oe=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,te,ne,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var ee=me/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,te*a,y,(1-ee)*a,(E+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;if((isNaN(ee)||ee<0)&&(ee=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var te=y/2,ne=a/2,oe=Math.atan2(a,y),he=ee-Math.min(Math.cos(oe)*ee/2,te),_e=ee-Math.min(Math.sin(oe)*ee/2,ne),E=new go.Geometry,Pe=new go.PathFigure(he,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,_e).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new on("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new on("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-ee)*y,.25*a,Math.abs(1-ee)*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,me*y,0,y,(.5-me/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+me/2)*a,me*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var te=.2,ne=.3,oe=0,he=te*me;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne+.05)*y,(.5-he+oe-.02)*a)),te=.2,ne=0,oe=-.3,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),te=.2,ne=-.3,oe=0,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne-.05)*y,(.5-he+oe-.02)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var te=.1,ne=.5,oe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,oe*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*oe,te*y,te*y).close()),E=new go.PathFigure(y*.5,0,!1),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),oe=.75,E=new go.PathFigure((ne+te)*y,oe*a,!0),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*oe,te*y,te*y).close()),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var ee=.8535533905932737,E=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure(ne*y,(oe-te)*a);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),te=.4,E=me*.4;var _e=Oe(),Pe=Oe(),Qe=Oe(),Ze=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.42,_e,Pe,Qe,Ze,Ze);var Ve=Oe(),nt=Oe(),De=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.58,Ze,Ze,De,Ve,nt);var St=Oe(),ke=Oe(),Ot=Oe();at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.42,St,ke,Ot,Ze,Ze);var it=Oe(),rt=Oe(),wt=Oe();return at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.58,Ze,Ze,wt,it,rt),he.add(new go.PathSegment(go.PathSegment.Move,wt.x*y,wt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,it.x*y,it.y*a,rt.x*y,rt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*y,Qe.y*a,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,wt.x*y,wt.y*a).close()),he.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,De.x*y,De.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Ve.x*y,Ve.y*a,nt.x*y,nt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,St.x*y,St.y*a,ke.x*y,ke.y*a).close()),be(_e),be(Pe),be(Qe),be(Ze),be(Ve),be(nt),be(De),be(St),be(ke),be(Ot),be(it),be(rt),be(wt),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30),ee>y&&(ee=y);var E=(y-ee)/2,te=E+ee;return new go.Geometry().add(new go.PathFigure(te,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe(),Ze=new go.PathFigure((ne-te)*y,oe*a,!1);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.44,Pe,Qe,_e,he,he),Ze.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a));var Ve=we(_e.x,_e.y);at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.56,he,he,_e,Pe,Qe);var nt=we(_e.x,_e.y);Ze.add(new go.PathSegment(go.PathSegment.Line,(Ve.x*.1+.95*.9)*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,(nt.y*.1+.05*.9)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,nt.x*y,nt.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),te=.35,E=me*.35;var De=new go.PathFigure(ne*y,(oe-te)*a,!1);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a));var St=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(St),be(he),be(_e),be(Pe),be(Qe),be(Ve),be(nt),ee.spot1=new go.Spot(.202,.257),ee.spot2=new go.Spot(.792,.739),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,y,a){var ee=new go.Geometry,E=.375,te=0,ne=-.125,oe=E*me,he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,oe=E*me;var he=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a));var he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(he),ee.spot1=new go.Spot(.232,.136),ee.spot2=new go.Spot(.682,.611),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var ee=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new on("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new on("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-ee)*y,ne=(.5-E/2)*a,oe=(.5+E/2)*a,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.setFigureParameter("Arrow2",0,new on("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new on("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=30),ee>y&&(ee=y);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var te=y-ee,ne=(a-E)/2,oe=ne+E,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new on("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var he=ze(0,.5,.3,0,0,E/a,.1,E/a,Oe());return ne.spot1=new go.Spot(he.x,he.y),he=ze(.7,1,1,.5,0,te/a,1,te/a,he),ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new on("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new on("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close());var Qe=ze(0,.5,.3,oe/a,0,te/a,1,te/a,Oe());return _e.spot1=new go.Spot(Qe.x,Qe.y),Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Qe),_e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("IBeamArrow",0,new on("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new on("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new on("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close()),_e.spot1=new go.Spot(0,te/a);var Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Oe());return _e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("Pointer",0,new on("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(.2,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new on("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(0,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new on("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new on("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var E=(a-ee)/2,te=E+ee;ee>a&&(E=0,te=a);var ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SquareArrow",0,new on("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(ee,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(0,.9*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a).close()),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.97),ee}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var te=new go.PathFigure(0,.9*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.82),ee}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.5,.85),ee}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var te=new go.PathFigure(0,.3*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.7,1),ee}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-me*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var oe=new go.PathFigure(y,ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-me*ee,(.5+te)*y,2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-me*ee)),E.spot1=new go.Spot(0,0,0,2*ee),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,a-ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-me*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-me*ee));var oe=new go.PathFigure(0,a-ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-me*ee,(.5-te)*y,a-2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,a-ee,(.5+te)*y,a-2*ee,y,a-ee-me*ee)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*ee),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0));var oe=new go.PathFigure(ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+me*ee,0,2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+me*ee,a)),E.spot1=new go.Spot(0,0,2*ee,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(y-ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var oe=new go.PathFigure(y-ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-me*ee,0,y-2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y-2*ee,(.5+te)*a,y-ee-me*ee,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*ee,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.25*y,.25*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.408,.172),ee.spot2=new go.Spot(.833,.662),ee}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var ee=new go.Geometry,E=.2,te=.1,ne=me*E,oe=me*te,he=.5,_e=.1,Pe=new go.PathFigure(he*y,(_e+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-E)*y,_e*a,(he-ne)*y,(_e+te)*a,(he-E)*y,(_e+oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-te)*a,(he-E)*y,(_e-oe)*a,(he-ne)*y,(_e-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+E)*y,_e*a,(he+ne)*y,(_e-te)*a,(he+E)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+te)*a,(he+E)*y,(_e+oe)*a,(he+ne)*y,(_e+te)*a));var Qe=.05,Ze=me*Qe;he=.05,_e=.25;var Ve=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),he=.95,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he+Qe)*y,_e*a,(he+Ze)*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Qe=.025,Ze=me*Qe,he=.825,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Qe=.05,Ze=me*Qe,he=.5,_e=.7,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Qe=.025,Ze=me*Qe,he=.175,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Qe=.05,Ze=me*Qe,he=.05,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a,(he-Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new on("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=new go.Spot(0,ee),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var te=new go.PathFigure(.5*y,.5*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,.25),ee}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+te)*a,(.5+E)*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+te)*a)),ee.spot1=new go.Spot(0,.4),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),ee.spot1=new go.Spot(.226,0),ee.spot2=new go.Spot(.81,1),ee}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=me*.2,ne=new go.PathFigure(0,.2*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-te)*a,(.2-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+te)*y,0,y,(.2-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+te)*a,(.8+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-te)*y,a,0,(.8+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(.1*y,.4*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.75*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var te=new go.PathFigure(y,.5*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,te*a)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a)),ee}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var ee=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=me*.5,oe=.5,he=new go.PathFigure(y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,a,y,(oe+ne)*a,(oe+ne)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-ne)*y,a,0,(oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,0,0,(oe-ne)*a,(oe-ne)*y,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,y,oe*a,(oe+ne)*y,0,y,(oe-ne)*a));var _e=new go.PathFigure((te+E)*y,(te+E)*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),_e.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Line,(te+E)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var te=new go.PathFigure(.1*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),ee.spot1=new go.Spot(.1,0),ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(.5*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+E)*a,(te+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.15,.15),ee.spot2=new go.Spot(.85,.8),ee}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var te=new go.PathFigure(.1*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.8,.77),ee}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var te=new go.PathFigure(.2*y,.1*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),ee.spot1=new go.Spot(0,.2),ee.spot2=new go.Spot(.8,1),ee}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var oe=new go.PathFigure(.5*E*y,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=new go.Spot(0,.49),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(0,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.5),ee}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*y,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.spot1=new go.Spot(E,0),ee.spot2=new go.Spot(1-E,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),ee.spot1=new go.Spot(.23,0),ee.spot2=new go.Spot(.77,1),ee}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.55,1),ee}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,te*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a));var he=new go.PathFigure(.8*y,.75*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),ee}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.9,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var _e=new go.PathFigure((ne+te)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.4,.75),ee}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.4,ne=me*.1,oe=.1,he=.9,_e=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+te)*a,(.4+E)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-te)*a));var Qe=new go.PathFigure((he+oe)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y,_e*a,(he-ne)*y,(_e+oe)*a,(he-oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y,_e*a,(he+ne)*y,(_e-oe)*a,(he+oe)*y,(_e-ne)*a)),ee.spot1=new go.Spot(0,.05),ee.spot2=new go.Spot(.55,.95),ee}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var _e=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.6,.75),ee}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(0,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(oe-E)*a,.8*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(oe+te)*a,(ne+te+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.8*y,.5*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var Pe=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.65,.75),ee}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.2*y,0,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(oe-E)*a,.9*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.8,.75),ee}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.1,oe=.5,he=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+te)*y,0,(ne+E)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,oe*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-.1)*y,oe*a,ne*y,(oe-te)*a,ne*y,(oe+te)*a)),ee}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var ee=new go.Geometry,E=y,te=a;y=y*.38,a=a*.6;var ne=me*.8,oe=.8,he=0,_e=.5,Pe=(E-y)/2,Qe=(te-a)/2,Ze=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.4,oe=.4,he=.2,_e=.5;var Ve=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.2,oe=.2,he=.5,_e=.5;var nt=new go.PathFigure((he-oe)*y+Pe,_e*a+Qe,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),ne=me*.4,oe=.4,he=.8,_e=.5;var De=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ne=me*.8,oe=.8,he=1,_e=.5;var St=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);return ee.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),St.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),St.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),St.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var te=new go.PathFigure(.1*y,a,!0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var oe=new go.PathFigure(0,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe);var Ze=we(_e.x,_e.y),Ve=new go.PathFigure(_e.x*y,_e.y*a,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),E=me*.3,te=.3,at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Line,_e.x*y,_e.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a).close());var Ve=new go.PathFigure(.45*y,0,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),be(he),be(_e),be(Pe),be(Qe),be(Ze),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a/2,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,oe,he){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*y,(.8+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*y,(.8+he)*a).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),ee.spot1=new go.Spot(.3,.3),ee.spot2=new go.Spot(.7,.7),ee}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),ee}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),ee.spot1=new go.Spot(.07,.445),ee.spot2=new go.Spot(.884,.958),ee}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var ee=new go.Geometry,E=.5,te=0,ne=0,oe=E*me,he=.4*Math.SQRT2/2+.5,_e=.5-.5*Math.SQRT2/2,Pe=1,Qe=.5,Ze=.5,Ve=0,nt=new go.PathFigure(he*y,(1-_e)*a,!1);return ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Qe*a,Pe*y,.7*a,Pe*y,Qe*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+te)*y,(Ve+te)*a,(.5+E+te)*y,(.5-oe+te)*a,(.5+oe+te)*y,(.5-E+te)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*y,.95*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),ee}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var te=new go.PathFigure(.45*y,.73*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),te.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),te.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(.335*y,(1-.555)*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),te.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,oe=.5,he=ne,_e=Math.PI/4,Pe=4*(1-Math.cos(_e))/(3*Math.sin(_e)),Qe=Pe*.5,Ze=ne,Ve=ne,nt=Pe*Ze,De=Pe*Ve;te.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Ze)*y,he*a,(oe-(nt+Ze)/2)*y,(he+(Ve+De)/2)*a,(oe-Ze)*y,(he+De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(he-Ve)*a,(oe-Ze)*y,(he-De)*a,(oe-nt)*y,(he-Ve)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Ze)*y,he*a,(oe+nt)*y,(he-Ve)*a,(oe+Ze)*y,(he-De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(oe+Ze)*y,(he+De)*a,(oe+(nt+Ze)/2)*y,(he+(Ve+De)/2)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var St=new go.PathFigure(.2*y,a,!1);ee.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var ke=new go.PathFigure(.8*y,a,!1);return ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.2*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(.1*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),ee}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var te=new go.PathFigure(.475*y,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),te.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=new go.PathFigure(y,E*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+te)*a,(E+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-te)*y,a,0,(E+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-te)*a,(E-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+te)*y,0,y,(E-te)*a));var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,.15*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),ee.spot1=new go.Spot(0,.1),ee.spot2=new go.Spot(1,1),ee}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var te=new go.PathFigure(0,.2*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),ee}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var te=new go.PathFigure(.15*y,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(y,.8*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,oe=me*.1,he=.2,_e=.9,Pe=new go.PathFigure((he-ne)*y,_e*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ne=.1,oe=me*.1,he=.8,_e=.9;var Qe=new go.PathFigure((he-ne)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var oe=new go.PathFigure(.5*y,.7*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var he=.1,_e=me*.1,Pe=.1,Qe=.9,Ze=new go.PathFigure((Pe-he)*y,Qe*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),he=.1,_e=me*.1,Pe=.4,Qe=.9;var Ve=new go.PathFigure((Pe-he)*y,Qe*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Qe=me*.05,Ze=.175,Ve=.95,oe=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.375,Ve=.95,he=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.625,Ve=.95,_e=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.825,Ve=.95,nt=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a).close());var De=new go.PathFigure(0,a,!1);return ee.add(De),De.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var oe=.05,he=me*.05,_e=.35,Pe=.775,Qe=new go.PathFigure((_e-oe)*y,Pe*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe-oe)*a,(_e-oe)*y,(Pe-he)*a,(_e-he)*y,(Pe-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e+oe)*y,Pe*a,(_e+he)*y,(Pe-oe)*a,(_e+oe)*y,(Pe-he)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe+oe)*a,(_e+oe)*y,(Pe+he)*a,(_e+he)*y,(Pe+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e-oe)*y,Pe*a,(_e-he)*y,(Pe+oe)*a,(_e-oe)*y,(Pe+he)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),ee}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),ee}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var ee=new go.Geometry,E=.3,te=me*.3,ne=.5,oe=.7,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(0,.7*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),ee}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),ee}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var te=new go.PathFigure(0,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(.15*y,.5*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),ee}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),E=.05,te=me*.05,ne=.5,oe=.8;var _e=new go.PathFigure((ne-E)*y,oe*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),_e.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),_e.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),ee}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),ee}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),ee}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),ee}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),ee}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var te=new go.PathFigure(0,a*.6,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),ee}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var te=new go.PathFigure(.126*y,.85*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var oe=new go.PathFigure(.678*y,.85*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var he=new go.PathFigure(.5*y,.1*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),he.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),ee}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),ee}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var te=new go.PathFigure(y*.204,a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var oe=new go.PathFigure(y*.612,a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var he=new go.PathFigure(y*.816,a,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),ee}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var te=new go.PathFigure(y*.055,.07*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var oe=new go.PathFigure(y*.055,.18*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var he=new go.PathFigure(y*1,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),ee}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),ee}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),ee}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(0,0,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var he=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),ee}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var ee=new go.Geometry,E=8,te=E*me,ne=new go.PathFigure(E,0,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var oe=new go.PathFigure(y*.83,0,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var he=new go.PathFigure(y*.83,a*1,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var _e=new go.PathFigure(y*.78,a*.05,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),ee}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=15),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=a*.8,ne=new go.Geometry,oe=new go.PathFigure(ee,0,!0);return ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-E,y-E,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.55,te)),oe.add(new go.PathSegment(go.PathSegment.Line,ee,te)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,te-ee,E,te,0,te-E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var te=new go.PathFigure(y*1,a*.55,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),ee}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var te=new go.PathFigure(y*.1,a*.2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),ee}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var ee=new go.Geometry,E=15,te=E*me,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),te>1?(ee.spot1=new go.Spot(0,0,te,te),ee.spot2=new go.Spot(1,1,-te,-te)):(ee.spot1=go.Spot.TopLeft,ee.spot2=go.Spot.BottomRight),ee}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),ee}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close()),ee}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),ee}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),ee}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var te=new go.PathFigure(y*.235,a*.28,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),te.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),te.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),ee}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),ee}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var on={},Ut="5.0",we={},Oe=null,be=!1,ze=!1,at=null,Ge=!1,je=null,me=null,Se=0;Se<arguments.length;Se++){var Le=arguments[Se];if(Le!==null)switch(typeof Le){case"number":Ut=Le.toFixed(1);break;case"string":Le.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ut=Le:at=Le;break;case"object":typeof Le.is3D!="undefined"?Oe=Le:we=Le;break;case"boolean":be=Le,ze=!0;break}}Oe===null&&(Oe={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},we.material_id!==void 0&&!ze&&(be=!0)),at!==null&&we.id===void 0&&(we.id=at);var de="",Ie="",Fe=!1,Ce=null,ie=null,y=null,a=!1,ee=null,E=null,te=null,ne=null,oe=null;we.height!==void 0&&(we.height=Math.round(we.height)),we.width!==void 0&&(we.width=Math.round(we.width));var he=function(Et){return parseFloat(Et)>4?parseFloat(Et):5};on.setHTML5Codebase=function(Et,qt){me=Et,ft(Et,qt)},on.setJavaCodebase=on.setJavaCodebaseVersion=on.isCompiledInstalled=on.setPreCompiledScriptPath=on.setPreCompiledResourcePath=function(){},on.setHTML5CodebaseVersion=function(Et,qt){var Ln=parseFloat(Et);if(Ln!==NaN&&Ln<5){console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead.");return}je=Et,st(Et,qt)},on.getHTML5CodebaseVersion=function(){return ie},on.getParameters=function(){return we},on.setFontsCSSURL=function(Et){ne=Et},on.setGiacJSURL=function(Et){},on.setJNLPFile=function(Et){de=Et},on.setJNLPBaseDir=function(Et){},on.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var qt="auto",Ln=we.id,Hn,un=!1,Vn=0;Vn<arguments.length;Vn++){var yt=arguments[Vn];typeof yt=="string"?(yt=yt.toLowerCase(),yt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?qt=yt:Ln=arguments[Vn]):typeof yt=="boolean"?un=yt:yt instanceof HTMLElement&&(Hn=yt)}Kn();function Kn(){if(!Ge){setTimeout(Kn,200);return}qt=dt(qt);var er=Hn||document.getElementById(Ln);if(!er){console.log("possibly bug on ajax loading? ");return}if(on.removeExistingApplet(er,!1),we.width===void 0&&er.clientWidth&&(we.width=er.clientWidth),we.height===void 0&&er.clientHeight&&(we.height=er.clientHeight),!(we.width&&we.height)&&qt==="html5"&&(delete we.width,delete we.height),Ce=qt,qt==="screenshot")ke(er,we);else{var Re=!1;we.hasOwnProperty("playButton")&&we.playButton||we.hasOwnProperty("clickToLoad")&&we.clickToLoad?Re=!0:we.hasOwnProperty("playButtonAutoDecide")&&we.playButtonAutoDecide&&(Re=(!_e()||Et())&&Pe()),Re?(Ce="screenshot",it(er,we,un,qt)):St(er,we,un)}}};function _e(){try{return window.self!==window.top}catch(Et){return!0}}function Pe(){return we.hasOwnProperty("screenshotGenerator")&&we.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}on.getViews=function(){return Oe},on.isJavaInstalled=function(){return!1};var Qe=function(Et){var qt=function(Vn){var yt=JSON.parse(Vn),Kn=function(Kt){return Kt.type=="G"||Kt.type=="E"},er=yt.elements?yt.elements.filter(Kn)[0]:yt;if(!er||!er.url){Ln();return}we.fileName=er.url,Ze(er.settings||{}),Oe.is3D=!0;var Re="https://www.geogebra.org/images/";on.setPreviewImage(ee||er.previewUrl,Re+"GeoGebra_loading.png",Re+"applet_play.png"),Et()},Ln=function(){we.onError&&we.onError(),an("Error: Fetching material (id "+we.material_id+") failed.",we)},Hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",un="/materials/"+we.material_id+"?scope=basic";Ve("https://"+Hn+"/api/proxy.php?path="+encodeURIComponent(un),qt,Ln)};function Ze(Et){var qt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ln){Et[Ln]=!!Et[Ln]}),qt.forEach(function(Ln){we[Ln]===void 0&&Et[Ln]!==void 0&&(we[Ln]=Et[Ln])}),we.showToolBarHelp===void 0&&(we.showToolBarHelp=we.showToolBar)}function Ve(Et,qt,Ln){var Hn=new XMLHttpRequest;Hn.open("GET",Et),Hn.onload=function(){qt(Hn.responseText)},Hn.onerror=Ln,Hn.send()}on.isHTML5Installed=function(){return!0},on.getLoadedAppletType=function(){return Ce},on.setPreviewImage=function(Et,qt,Ln){ee=Et,E=qt,te=Ln},on.removeExistingApplet=function(Et,qt){var Ln;typeof Et=="string"&&(Et=document.getElementById(Et)),Ce=null;var Hn=null;for(Ln=0;Ln<Et.childNodes.length;Ln++){var un=Et.childNodes[Ln],Vn=un.className;Vn==="applet_screenshot"?qt?(un.style.display="block",Ce="screenshot"):un.style.display="none":Vn!=="applet_scaler prerender"&&(Et.removeChild(un),Hn=Vn&&Vn.indexOf("appletParameters")!=-1?un.id:null,Ln--)}var yt=we.id!==void 0?we.id:Hn,Kn=window[yt];Kn&&typeof Kn.getBase64=="function"&&(Kn.remove(),window[yt]=null)},on.refreshHitPoints=function(){if(he(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Et=on.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},on.startAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},on.stopAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},on.getAppletObject=function(){var Et=we.id!==void 0?we.id:"ggbApplet";return window[Et]},on.resize=function(){};var nt=function(Et,qt,Ln){var Hn=document.createElement("param");Hn.setAttribute("name",qt),Hn.setAttribute("value",Ln),Et.appendChild(Hn)},De=function(Et){return Et&&Et!=="false"},St=function(Et,qt,Ln){he(ie)<=4.2&&(Ln=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Vn=qt.width,yt=qt.height;if(qt.disableAutoScale=qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():qt.disableAutoScale,qt.width!==void 0)if(he(ie)<=4.4)De(qt.showToolBar)&&(qt.height-=7),De(qt.showAlgebraInput)&&(qt.height-=37),qt.width<605&&De(qt.showToolBar)&&(qt.width=605,Vn=605);else{var Kn=100;(De(qt.showToolBar)||De(qt.showMenuBar))&&(qt.hasOwnProperty("customToolBar")&&(qt.customToolbar=qt.customToolBar),Kn=De(qt.showMenuBar)?245:155),Vn<Kn&&(qt.width=Kn,Vn=Kn)}un.style.border="none",un.style.display="inline-block";for(var er in qt)qt.hasOwnProperty(er)&&er!=="appletOnLoad"&&un.setAttribute("data-param-"+er,qt[er]);ne&&un.setAttribute("data-param-fontscssurl",ne),on.resize=function(){GGBAppletUtils.responsiveResize(Et,qt)},window.addEventListener("resize",function(ot){on.resize()});var Re=typeof qt.appletOnLoad=="function"?qt.appletOnLoad:function(){};if(!Ln&&qt.width!==void 0){qt.hasOwnProperty("showSplash")||un.setAttribute("data-param-showSplash","false");var Kt=Et.querySelector(".applet_scaler.prerender"),Te=Kt!==null;if(Te)var pe=Kt.querySelector(".ggb_preview");else{var pe=wt(Vn,yt,qt.borderColor,!1);Kt=document.createElement("div"),Kt.className="applet_scaler",Kt.style.position="relative",Kt.style.display="block",Kt.style.width=Vn+"px",Kt.style.height=yt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Kt,"66%"),he(ie)>=5?(qt.appletOnLoad=function(ot){var kt=Et.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Kt),window.GGBT_wsf_view&&$(window).trigger("resize"),Re(ot)},Te||Kt.appendChild(pe)):un.appendChild(pe),Kt.appendChild(un),Te||Et.appendChild(Kt),setTimeout(function(){on.resize()},1)}else{var ce=document.createElement("div");ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.appendChild(un),Et.appendChild(ce),qt.appletOnLoad=function(ot){on.resize(),Re(ot)}}function ye(ot,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ot,kt.appletOnLoad):renderGGBElement(ot),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function qe(ot,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ot,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_n){ye(_n.article,_n.params)}),html5AppletsToProcess=null)},he(ie)<5&&(ot.className+=" geogebraweb")):ye(ot,kt)}if(Hn){scriptLoadStarted=!0;for(var gt=0;gt<un.childNodes.length;gt++){var Me=un.childNodes[gt].tagName;Me==="TABLE"&&(un.removeChild(un.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var Xe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Xe!=null&&Xe.parentNode.removeChild(Xe)}var Pt=document.createElement("script"),ct=function(){qe(un,qt)};Pt.src=Ie+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ie,ggbHTML5LoadedScript=Pt.src,an("GeoGebra HTML5 codebase loaded: '"+Ie+"'.",qt),!me&&(!je||je=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ct()):Ie.requirejs?__webpack_require__.e(3861).then(function(){var ot=[__webpack_require__(40341)];ct.apply(null,ot)}.bind(this)).catch(__webpack_require__.oe):(Pt.onload=ct,Et.appendChild(Pt))}else qe(un,qt);qt.height=yt,qt.width=Vn},ke=function(Et,qt,Ln){var Hn=wt(qt.width,qt.height,qt.borderColor,Ln),un=document.createElement("div");un.style.position="relative",un.style.display="block",un.style.width=qt.width+"px",un.style.height=qt.height+"px",un.className="applet_screenshot applet_scaler"+(Ln?" applet_screenshot_play":""),un.appendChild(Hn);var Vn=GGBAppletUtils.getScale(qt,Et,Ln);Ln?(Et.appendChild(rt()),window.GGBT_wsf_view||(Et.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(un,"66%"),Et.appendChild(un),Vn!==1&&!isNaN(Vn)&&(GGBAppletUtils.scaleElement(un,Vn),un.style.width=qt.width+"px",un.style.height=qt.height+"px",un.parentNode.style.width=qt.width*Vn+"px",un.parentNode.style.height=qt.height*Vn+"px"),on.resize=function(){Ot(Et,Hn,un,Ln)},window.addEventListener("resize",function(yt){on.resize()}),on.resize()};function Ot(Et,qt,Ln,Hn){if(Et.contains(qt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Et.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Et)}var un=GGBAppletUtils.getScale(we,Et,Hn);Ln.parentNode!==null&&(!isNaN(un)&&un!==1?(GGBAppletUtils.scaleElement(Ln,un),Ln.parentNode.style.width=we.width*un+"px",Ln.parentNode.style.height=we.height*un+"px"):(GGBAppletUtils.scaleElement(Ln,1),Ln.parentNode.style.width=we.width+"px",Ln.parentNode.style.height=we.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Et),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}on.onExitFullscreen=function(Et,qt){qt.appendChild(Et)};var it=function(Et,qt,Ln,Hn){ke(Et,qt,!0);for(var un=function(){var Kn=[];for(yt=0;yt<Et.childNodes.length;yt++)Kn.push(Et.childNodes[yt]);if(window.GGBT_wsf_view){var er=window.GGBT_wsf_view.renderFullScreen(Et,qt.id),Re=document.getElementById("fullscreencontainer"),Kt=jQuery(Et).find(".fullscreencontent");Kt.length>0?(er.remove(),Kt.attr("id","fullscreencontent").show(),jQuery(Re).append(Kt),window.dispatchEvent(new Event("resize"))):St(er,qt,!1),window.GGBT_wsf_view.launchFullScreen(Re)}else Ce=Hn,St(Et,qt,!1);if(!window.GGBT_wsf_view)for(yt=0;yt<Kn.length;yt++)Et.removeChild(Kn[yt])},Vn=Et.getElementsByClassName("ggb_preview_play"),yt=0;yt<Vn.length;yt++)Vn[yt].addEventListener("click",un,!1),Vn[yt].addEventListener("ontouchstart",un,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Et),Pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},rt=function(){var Et=document.createElement("div");if(Et.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var qt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ln=document.createElement("style");Ln.styleSheet?Ln.styleSheet.cssText=qt:Ln.appendChild(document.createTextNode(qt)),document.getElementsByTagName("head")[0].appendChild(Ln)}return Et},wt=function(Et,qt,Ln,Hn){var un=document.createElement("div");un.className="ggb_preview",un.style.position="absolute",un.style.zIndex="90",un.style.width=Et-2+"px",un.style.height=qt-2+"px",un.style.top="0px",un.style.left="0px",un.style.overflow="hidden",un.style.backgroundColor="white";var Vn="lightgrey";Ln!==void 0&&(Ln==="none"?Vn="transparent":Vn=Ln),un.style.border="1px solid "+Vn;var yt=document.createElement("img");if(yt.style.position="relative",yt.style.zIndex="1000",yt.style.top="-1px",yt.style.left="-1px",ee!==null&&yt.setAttribute("src",ee),yt.style.opacity=.7,E!==null){var Kn,er,Re;if(!Hn){Kn=document.createElement("img"),Kn.style.position="absolute",Kn.style.zIndex="1001",Kn.style.opacity=1,yt.style.opacity=.3,er=360,er>Et/4*3&&(er=Et/4*3),Re=er/5.8,Kn.setAttribute("src",E),Kn.setAttribute("width",er),Kn.setAttribute("height",Re);var Kt=(Et-er)/2,Te=(qt-Re)/2;Kn.style.left=Kt+"px",Kn.style.top=Te+"px",un.appendChild(Kn)}}return un.appendChild(yt),un},dt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},pt=["web","webSimple","web3d","tablet","tablet3d","phone"],st=function(Et,qt){if(ie=Et,qt){ft(ie,!0);return}var Ln=!be;if(Ln){var Hn=he(ie);!isNaN(Hn)&&Hn<4.4&&(Ln=!1)}var un,Vn;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var yt=ie.indexOf("//");yt>0?Vn=ie:yt===0?Vn=un+ie:Vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Kn in pt)if(ie.slice(pt[Kn].length*-1)===pt[Kn]||ie.slice((pt[Kn].length+1)*-1)===pt[Kn]+"/"){ft(Vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ln&&!Oe.is3D&&!Oe.AV&&!Oe.SV&&!Oe.CV&&!Oe.EV2&&!Oe.CP&&!Oe.PC&&!Oe.DA&&!Oe.FI&&!Oe.PV&&!De(we.showToolBar)&&!De(we.showMenuBar)&&!De(we.showAlgebraInput)&&!De(we.enableRightClick)&&(!we.appName||we.appName=="classic")?Vn+="webSimple/":Vn+="web3d/",ft(Vn,!1)},ft=function(Et,qt){if(Et.requirejs){Ie=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ie=Et,qt===null&&(qt=Et.indexOf("http")===-1),Fe=qt,y="web.nocache.js",a=!1;var Ln=Ie.split("/");Ln.length>1&&(!qt&&Ln[Ln.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):pt.indexOf(Ln[Ln.length-2])>=0&&(y=Ln[Ln.length-2]+".nocache.js")),Ln=Et.split("/"),ie=Ln[Ln.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Hn=parseFloat(ie);Hn!==NaN&&Hn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),st("5.0",qt))},an=function(Et,qt){window.console&&window.console.log&&(!qt||typeof qt.showLogging=="undefined"||qt.showLogging&&qt.showLogging!=="false")&&console.log(Et)};we.material_id!==void 0?Qe(fn):fn();function fn(){var Et=Ut;je!==null?Et=je:parseFloat(Et)<5&&(Et="5.0"),st(Et,!1),me!==null&&ft(me,Fe),Ge=!0}return on},GGBAppletUtils=function(){"use strict";function on(){return window.GGBT_wsf_edit!==void 0}function Ut(Ge,je){je!=1?(Ge.style.transformOrigin="0% 0% 0px",Ge.style.webkitTransformOrigin="0% 0% 0px",Ge.style.transform="scale("+je+","+je+")",Ge.style.webkitTransform="scale("+je+","+je+")",Ge.style.maxWidth="initial",Ge.querySelector(".ggb_preview")!==null&&(Ge.querySelector(".ggb_preview").style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ge.style.transform="none",Ge.style.webkitTransform="none")}function we(Ge,je,me,Se,Le,de){var Ie=null;if(de!=null&&de!="")for(var Fe=Ge.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+de+" ")>-1){Ie=Fe;break}else Fe=Fe.parentNode;var Ce=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(Ie)Ce=Ie.offsetWidth,ie=Math.max(Se?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ce):(Ce=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),Ge){var ne=Ge.getBoundingClientRect();ne.left>0&&ne.left<=Ce&&(Le===void 0||!Le)&&(document.dir==="rtl"?(ee=Ce-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(Ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return Ge&&((me===void 0||!me)&&je>0&&je+a<Ce?Ce=je:Ce-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(me===void 0||!me)&&(ie-=te)),{width:Ce,height:ie}}function Oe(Ge,je,me,Se,Le){if(Ge.isScreenshoGenerator)return 1;var de=Se!==void 0&&Se,Ie=Ge.noScaleMargin!=null&&Ge.noScaleMargin,Fe=function(oe){return oe&&oe!=="false"},Ce=Fe(Ge.autoHeight),ie=we(je,Ge.width,me,Ce,de&&window.GGBT_wsf_view||Ie,Le),y=parseInt(ie.width),a=Ge.width,ee=Ge.height;if(a===void 0){var E=je.querySelector(".appletParameters");E&&(a=E.offsetWidth,ee=E.offsetHeight)}var te=y/a,ne=de?1:ie.height/ee;return me!==void 0&&!me&&(te=Math.min(1,te),ne=Math.min(1,ne)),Math.min(te,ne)}function be(Ge,je,me){var Se=1,Le,de=!1;if(Ge.hasOwnProperty("allowUpscale")&&(de=Ge.allowUpscale),Ge.hasOwnProperty("scale")&&(Se=parseFloat(Ge.scale),(isNaN(Se)||Se===null||Se===0)&&(Se=1),Se>1&&(de=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Ge.hasOwnProperty("disableAutoScale")&&Ge.disableAutoScale))Le=Oe(Ge,je,de,me,Ge.scaleContainerClass);else return Se;return de&&(!Ge.hasOwnProperty("scale")||Se===1)?Le:Math.min(Se,Le)}function ze(Ge){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=Ge.getBoundingClientRect(),Le=(je-Se.width)/2,de=(me-Se.height)/2;de<0&&(de=0),Ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Le<40?Ge.style.left="40px":Ge.style.left=Le+"px",Ge.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Ge.style.top="40px":Ge.style.top=de+"px",Ge.style.left=Le+"px")}function at(Ge,je){var me=Ge.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var Se=be(je,Ge);on()&&me.setAttribute("data-param-scale",Se);for(var Le=null,de=0;de<Ge.childNodes.length;de++)if(Ge.childNodes[de].className!==void 0&&Ge.childNodes[de].className.match(/^applet_scaler/)){Le=Ge.childNodes[de];break}if(Le!==null&&Le.querySelector(".noscale")!==null)return;var Ie=je.id!==void 0?je.id:"ggbApplet",Fe=window[Ie];(Fe==null||!Fe.recalculateEnvironments)&&Le!==null&&!Le.className.match(/fullscreen/)&&(Le.parentNode.style.transform="",!isNaN(Se)&&Se!==1?(Le.parentNode.style.width=je.width*Se+"px",Le.parentNode.style.height=je.height*Se+"px",Ut(Le,Se)):(Ut(Le,1),Le.parentNode.style.width=je.width+"px",Le.parentNode.style.height=je.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ze(Ge),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(me).parents(".content-added-content"))}}return{responsiveResize:at,isFlexibleWorksheetEditor:on,positionCenter:ze,getScale:be,scaleElement:Ut}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var on=n.location.search;return on.indexOf(J)!=-1||on.indexOf(K)!=-1}function q(on,Ut){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(on){var Ut=s[L].bindings;s[L].bindings=function(){for(var we=Ut?Ut():{},Oe=on[webModule.__softPermutationId],be=O;be<Oe.length;be++){var ze=Oe[be];we[ze[O]]=ze[P]}return we}};var t;function u(){return v(),t}function v(){if(!t){var on=o.createElement(Q);if(on.id=L,on.style.cssText=R+S,on.tabIndex=-1,o.body.appendChild(on),t=on.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ut=document.compatMode==U?V:W;t.write(Ut+X),t.close()}}}function w(on){function Ut(Oe){function be(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ze=be();if(ze){Oe();return}function at(){if(!ze){if(!be())return;ze=!0,Oe(),o.removeEventListener&&o.removeEventListener(Z,at,!1),Ge&&clearInterval(Ge)}}o.addEventListener&&o.addEventListener(Z,at,!1);var Ge=setInterval(function(){at()},$)}function we(Oe){var be=u(),ze=be.body,at=be.createElement(_);at.language=ab,at.crossOrigin=W,at.src=Oe,webModule.__errFn&&(at.onerror=function(){webModule.__errFn(L,new Error(bb+Oe))}),ze.appendChild(at)}Ut(function(){we(on)})}webModule.__startLoadingFragment=function(on){return C(on)},webModule.__installRunAsyncCode=function(on){var Ut=u(),we=Ut.body,Oe=Ut.createElement(_);Oe.language=ab,Oe.text=on,we.appendChild(Oe),we.removeChild(Oe)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(on){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(on){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(on){var Ut=c[on];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function on(Ge){var je=Ge.lastIndexOf(rb);je==-1&&(je=Ge.length);var me=Ge.indexOf(sb);me==-1&&(me=Ge.length);var Se=Ge.lastIndexOf(tb,Math.min(me,je));return Se>=O?Ge.substring(O,Se+P):W}function Ut(Ge){if(!Ge.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=Ge+vb,Ge=on(je.src)}return Ge}function we(){var Ge=__gwt_getMetaProperty(wb);return Ge!=null?Ge:W}function Oe(){for(var Ge=o.getElementsByTagName(_),je=O;je<Ge.length;++je)if(Ge[je].src.indexOf(xb)!=-1)return on(Ge[je].src);return W}function be(){var Ge=o.getElementsByTagName(yb);return Ge.length>O?Ge[Ge.length-P].href:W}function ze(){var Ge=o.location;return Ge.href==Ge.protocol+zb+Ge.host+Ge.pathname+Ge.search+Ge.hash}var at=we();return at==W&&(at=Oe()),at==W&&(at=be()),at==W&&ze()&&(at=on(o.location.href)),at=Ut(at),at}function C(on){return on.match(/^\//)||on.match(/^[a-zA-Z]+:\/\//)?on:webModule.__moduleBase+on}function D(){var on=[],Ut=O,we=[],Oe=[];function be(Ge){var je=Oe[Ge](),me=we[Ge];if(je in me)return je;var Se=[];for(var Le in me)Se[me[Le]]=Le;throw r&&r(Ge,Se,je),null}if(__gwt_isKnownPropertyValue=function(Ge,je){return je in we[Ge]},webModule.__getPropMap=function(){var Ge={};for(var je in we)we.hasOwnProperty(je)&&(Ge[je]=be(je));return Ge},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var at=ze.indexOf(Db);at!=-1&&(Ut=parseInt(ze.substring(at+P),$),ze=ze.substring(O,at))}catch(Ge){}return webModule.__softPermutationId=Ut,C(ze+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(on,Ut,we){"use strict";we.d(Ut,{Ax:function(){return at},Ds:function(){return Ge},KI:function(){return me},SI:function(){return ze},f1:function(){return be}});var Oe=we(74128);function be(Se){let Le=!0;if(Se.length>0){for(let de=0;de<Se.length;de++)if(Se[de].compile_success==0||!Se[de].compile_success){Le=!1;break}}else Le=!1;return Le}function ze(Se,Le=""){let de=[];for(let Ie=0;Ie<Se.length;Ie++){let Fe=Se[Ie],Ce=Le?`${Le}/${Fe.name}`:`${Fe.name}`;de.push({title:Fe.name,type:Fe.type,isLeaf:Fe.type!=="tree",key:Ce})}return de}function at(Se,Le,de){for(let Ie=0;Ie<Se.length;Ie++){let Fe=Se[Ie];if(Fe.key===Le){Fe.children=de;break}Fe.children&&at(Fe.children,Le,de)}return Se}function Ge(Se,Le,de){let Ie;return function(){let Fe=this,Ce=arguments,ie=function(){Ie=null,de||Se.apply(Fe,Ce)},y=de&&!Ie;clearTimeout(Ie),Ie=setTimeout(ie,Le),y&&Se.apply(Fe,Ce)}}const je=!0,me=Oe.Z.API_SERVER},65078:function(on,Ut,we){"use strict";we.d(Ut,{ij:function(){return te},_s:function(){return E},Uf:function(){return ee},ZP:function(){return oe}});var Oe=we(59301),be={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},ze=we(92310),at=we.n(ze),Ge=we(42441),je=we(6848),me=we(61621),Se=we(71418),Le=we(2524),de=we(74128),Ie=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(he,_e,Pe)=>_e in he?Ie(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he};const ee=(he={})=>{var _e,Pe,Qe,Ze;let Ve=(_e=he==null?void 0:he.emotion)==null?void 0:_e.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),nt=(Pe=he==null?void 0:he.focus)==null?void 0:Pe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),De=(Qe=he==null?void 0:he.action)==null?void 0:Qe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),St=(Ze=he==null?void 0:he.intention)==null?void 0:Ze.map(ke=>a({value:ke==null?void 0:ke.rate},ke));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ve||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:nt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:De||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:St||[]}]},E=({className:he,dataSource:_e=[],col:Pe=4,right:Qe,bottom:Ze=23,precision:Ve=0,wrapWidth:nt=1200})=>{const De=(ke="",Ot,it="--")=>ke?(ke==null?void 0:ke.length)>Ot?(ke==null?void 0:ke.slice(0,Ot-1))+"...":ke:it,St=Math.floor((nt-(Pe-1)*Qe)/Pe);return Oe.createElement("div",{className:at()(be.list,he)},!!(_e!=null&&_e.length)&&(_e==null?void 0:_e.map((ke,Ot)=>{const{cover_pic:it,created_at:rt,emotion:wt,action:dt,intention:pt,focus:st}=ke;return Oe.createElement("div",{key:Ot,className:be.wrap,style:{width:St,marginRight:(1+Ot)%Pe===0?0:Qe+Ve,marginBottom:Ze}},Oe.createElement("div",{className:be.img},Oe.createElement("img",{src:`${de.Z.API_SERVER}${it}`}),Oe.createElement("div",{className:be.tips},Oe.createElement("div",null,Oe.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),Oe.createElement("span",null,rt))),Oe.createElement("div",{className:be.footer},Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-biaoqing"}),Oe.createElement("span",null,"\u8868\u60C5\uFF1A",Oe.createElement(je.Z,{title:wt},Oe.createElement("span",{className:"c-grey-333"},De(wt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-hangwei"}),Oe.createElement("span",null,"\u884C\u4E3A\uFF1A",Oe.createElement(je.Z,{title:dt},Oe.createElement("span",{className:"c-grey-333"},De(dt,4)))))),Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-yitu"}),Oe.createElement("span",null,"\u610F\u56FE\uFF1A",Oe.createElement(je.Z,{title:pt},Oe.createElement("span",{className:"c-grey-333"},De(pt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-zhuangtai"}),Oe.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",Oe.createElement(je.Z,{title:st},Oe.createElement("span",{className:"c-grey-333"},De(st,3))))))))})))},te=({className:he,style:_e,title:Pe,hideBar:Qe=!1,children:Ze,customText:Ve="",noDataText:nt="",emptyData:De=[],loading:St,actionAnalysis:ke})=>{var Ot,it;const rt=((Ot=De==null?void 0:De[0])==null?void 0:Ot.every(dt=>{var pt;return!((pt=dt==null?void 0:dt.data)!=null&&pt.length)}))&&!((it=De==null?void 0:De[1])!=null&&it.length)||!ke,wt=ke?nt:Ve;return Oe.createElement(me.Z,{loading:St,active:!0},rt&&Oe.createElement("div",{className:at()(be.noData,he),style:_e},!!Pe&&Oe.createElement("div",{className:be.title},!Qe&&Oe.createElement("b",null),Oe.createElement("span",null,Pe)),Oe.createElement("div",{className:be.itemWrap},Oe.createElement(Le.Z,{customText:wt}))),!rt&&Ze)};var oe=({className:he,style:_e,data:Pe=[],title:Qe,hideBar:Ze=!1,loading:Ve=!1})=>Oe.createElement("div",{className:at()(be.analysis,he),style:_e},!!Qe&&Oe.createElement("div",{className:be.title},!Ze&&Oe.createElement("b",null),Oe.createElement("span",null,Qe)),Oe.createElement(Se.Z,{spinning:Ve},Oe.createElement("div",{className:be.itemWrap},Pe==null?void 0:Pe.map((nt,De)=>Oe.createElement("div",{className:be.item,key:De},Oe.createElement(Ge.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:nt==null?void 0:nt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(St){for(let ke in nt==null?void 0:nt.data)if(St==(nt==null?void 0:nt.data[ke].name))return St+" "+(nt==null?void 0:nt.data[ke].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:nt==null?void 0:nt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:nt==null?void 0:nt.data}]},style:{height:145}}))))))},16750:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=we(92310),at=we.n(ze),Ge=we(71418),je=we(2859),me=we(38147),Se=we(65862),Le=(Fe,Ce,ie)=>new Promise((y,a)=>{var ee=ne=>{try{te(ie.next(ne))}catch(oe){a(oe)}},E=ne=>{try{te(ie.throw(ne))}catch(oe){a(oe)}},te=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(ee,E);te((ie=ie.apply(Fe,Ce)).next())}),Ie=({data:Fe,className:Ce,fullWidth:ie,style:y={},onClose:a,onOk:ee,showFullTools:E,noAssociationId:te})=>{const ne=(0,Oe.useRef)(null),oe=(0,Oe.useRef)(null),he=(0,Oe.useRef)(null),_e=(0,Oe.useRef)(null),[Pe,Qe]=(0,Oe.useState)(!1),[Ze,Ve]=(0,Oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Oe.useEffect)(()=>{he.current||(he.current=document.createElement("style"),document.head.appendChild(he.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),he.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&nt()):(document.body.removeAttribute("data-custom"),he.current&&(document.head.removeChild(he.current),he.current=null))},[Fe==null?void 0:Fe.visible]);const nt=()=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,Se.ZJ)(Fe==null?void 0:Fe.src);ne.current.src="",ne.current.src=it,ne.current.onload=function(){Ot()},Qe(!1),Ve("")}),De=()=>{document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",a()},St=it=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const rt=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:it.dataUrl}});rt!=null&&rt.id&&!te?(yield(0,me.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:rt==null?void 0:rt.id,settings:JSON.stringify(it.state)}})).status===0&&ee():rt!=null&&rt.id&&ee(rt),document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",Qe(!1),Ve("")}),ke=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(wt=>{const dt=document.querySelector(wt.name);dt&&dt.setAttribute("title",wt.title)})},Ot=()=>{oe.current=new je.hP(ne.current),oe.current.targetRoot=_e.current,oe.current.addEventListener("render",St),oe.current.addEventListener("beforeclose",De),E&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),Fe!=null&&Fe.snapshotData&&oe.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ke()},300)};return Oe.createElement(Oe.Fragment,null,(Fe==null?void 0:Fe.visible)&&Oe.createElement(Ge.Z,{spinning:Pe,tip:Ze,style:{position:"absolute"}},Oe.createElement("div",{ref:_e,className:at()(be.imageDimensions,Ce,ie?be.fullWidth:""),style:y},Oe.createElement("img",{className:be.img,ref:ne}))))}},99298:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(95237),ze=we(43604),at=we(99313),Ge=we(3113),je=we(6339),me=we(96408),Se=we(48136),Le=we(59301);const de=(0,Oe.forwardRef)(({callback:Ie,showSaveButton:Fe,value:Ce=""},ie)=>{const y=(0,Oe.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ee=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],E=oe=>{y.current.setValue(y.current.getValue()+" "+oe.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},a.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:`$$${oe.value}$$`}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},ee.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},_e.name&&Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))}],ne=()=>{var oe=document.createElement("div");oe.innerHTML=y.current.getValue();var he=oe.innerText;return Ie&&Ie(he),he};return(0,Oe.useImperativeHandle)(ie,()=>({getData:ne})),Le.createElement("div",{className:me.Z.mathWrap},Le.createElement(at.default,{defaultActiveKey:"1",items:te}),Le.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ce||""),Fe&&Le.createElement("div",{className:me.Z.button},Le.createElement(Ge.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=de},70581:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ge}});var Oe=we(59301),be=we(65582),ze={goBack:"goBack___HgvTW"};const at=({globalSetting:je,dispatch:me,url:Se=null})=>{const Le=()=>{Se?be.history.push(`${Se}`):localStorage.getItem("sourceUrl")?(window.location.href=localStorage.getItem("sourceUrl"),localStorage.removeItem("sourceUrl")):be.history.back()};return Oe.createElement("div",{className:ze.goBack,onClick:Le},Oe.createElement("img",{src:we(12192),width:20,height:17,style:{marginRight:4}}),"\u8FD4\u56DE")};var Ge=(0,be.connect)(({globalSetting:je,user:me})=>({globalSetting:je,user:me}))(at)},27185:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ke}});var Oe=we(59301),be=we(65582),ze=we(43418),at=we(78241),Ge=we(8591),je=we(71418),me=we(17574),Se=we(95237),Le=we(43604),de=we(6848),Ie=we(3113),Fe=we(92832),Ce={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ie=we(61527),y=we(89540),a=we(2524),ee=we(42882),E=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Pe=(Ot,it,rt)=>it in Ot?E(Ot,it,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ot[it]=rt,Qe=(Ot,it)=>{for(var rt in it||(it={}))he.call(it,rt)&&Pe(Ot,rt,it[rt]);if(oe)for(var rt of oe(it))_e.call(it,rt)&&Pe(Ot,rt,it[rt]);return Ot},Ze=(Ot,it)=>te(Ot,ne(it)),Ve=(Ot,it)=>{var rt={};for(var wt in Ot)he.call(Ot,wt)&&it.indexOf(wt)<0&&(rt[wt]=Ot[wt]);if(Ot!=null&&oe)for(var wt of oe(Ot))it.indexOf(wt)<0&&_e.call(Ot,wt)&&(rt[wt]=Ot[wt]);return rt},nt=(Ot,it,rt)=>new Promise((wt,dt)=>{var pt=an=>{try{ft(rt.next(an))}catch(fn){dt(fn)}},st=an=>{try{ft(rt.throw(an))}catch(fn){dt(fn)}},ft=an=>an.done?wt(an.value):Promise.resolve(an.value).then(pt,st);ft((rt=rt.apply(Ot,it)).next())});const De=(Ot=[])=>Ot==null?void 0:Ot.map(it=>Ze(Qe({},it),{title:(it==null?void 0:it.value)||"",key:it==null?void 0:it.id,isLeaf:!0})),St=Ot=>{var it=Ot,{user:rt,children:wt,isShowComponent:dt=!0,ModalProps:pt={},onDataSelect:st}=it,ft=Ve(it,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[an,fn]=ze.default.useModal(),[Et]=at.default.useForm(),[qt,Ln]=(0,Oe.useState)([]),[Hn,un]=(0,Oe.useState)(!1),[Vn,yt]=(0,Oe.useState)(!1),[,Kn,er,Re]=(0,ie.U)(y.qE,{page:1,limit:9999}),[,,Kt]=(0,ie.U)(y.V8,{}),[,,Te]=(0,ie.U)(y.B$,{}),[,,pe]=(0,ie.U)(y.DH,{}),[,,ce]=(0,ie.U)(y.bJ,{}),ye=()=>{un(!1),Et.resetFields(),yt(!1)},qe=Me=>nt(void 0,null,function*(){const{node:Xe,dragNode:Pt,event:ct}=Me,ot=Me.node.pos.split("-"),kt=Me.dropPosition-Number(ot[ot.length-1]);if(kt==0){Ge.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(Pt==null?void 0:Pt.item_index)==(Xe==null?void 0:Xe.item_index)+1){Ge.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const _n=yield ce({id:Pt==null?void 0:Pt.key,position:kt==-1?1:(Pt==null?void 0:Pt.item_index)>(Xe==null?void 0:Xe.item_index)?(Xe==null?void 0:Xe.item_index)+1:Xe==null?void 0:Xe.item_index});(_n==null?void 0:_n.status)===0&&(Ge.ZP.success("\u79FB\u52A8\u6210\u529F"),er({},!0))}),gt=Me=>nt(void 0,null,function*(){let Xe={};Vn?Xe=yield Te(Qe({},Me)):Xe=yield pe(Qe({},Me)),(Xe==null?void 0:Xe.status)==0&&(Ge.ZP.success((Xe==null?void 0:Xe.message)||(Vn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),er({},!0),ye())});return(0,Oe.useEffect)(()=>{pt!=null&&pt.open&&er({},!0)},[pt==null?void 0:pt.open]),(0,Oe.useEffect)(()=>{var Me;Ln(De((Me=Re==null?void 0:Re.data)==null?void 0:Me.list))},[Re]),dt?Oe.createElement(Oe.Fragment,null,fn,wt,Oe.createElement(ze.default,Ze(Qe({},Qe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},pt)),{className:`${ee.Z.threeModalSty}`}),Oe.createElement(je.Z,{spinning:Kn},(qt==null?void 0:qt.length)>0?Oe.createElement(Oe.Fragment,null,Oe.createElement(me.default.DirectoryTree,{height:500,className:Ce.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:st,treeData:qt,onDrop:qe,titleRender:Me=>Oe.createElement(Oe.Fragment,null,Oe.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Me==null?void 0:Me.title),Oe.createElement("div",{className:`${Ce.EditDom}`},Oe.createElement(Se.Z,{wrap:!1,align:"middle",gutter:16},Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},Oe.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ce.currentPrimary}`}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u7F16\u8F91"},Oe.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ce.currentPrimary}`,onClick:Xe=>{Xe.stopPropagation(),Et.setFieldsValue(Qe({},Me)),un(!0)}}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u5220\u9664"},Oe.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ce.currentDelete}`,onClick:Xe=>{Xe.stopPropagation(),an.confirm({className:`${ee.Z.threeModalSty}`,icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>nt(void 0,null,function*(){const Pt=yield Kt({id:Me==null?void 0:Me.key});(Pt==null?void 0:Pt.status)==0&&(Ge.ZP.success((Pt==null?void 0:Pt.message)||"\u5220\u9664\u6210\u529F"),er({},!0))})})}}))))))}),Oe.createElement(Ie.ZP,{className:"ml20 mt20",icon:Oe.createElement("i",{className:"iconfont icon-xiaojiahao"}),onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):Oe.createElement(a.Z,{styles:{margin:"30px auto"},customText:Oe.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",Oe.createElement("a",{onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),Oe.createElement(ze.default,{title:Vn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Hn,className:`${ee.Z.threeModalSty}`,okText:Vn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{ye()},onOk:()=>{Et.submit()}},Oe.createElement(at.default,{form:Et,onFinish:gt},Vn&&Oe.createElement("span",{className:"font14 mt20",style:{color:"#fff"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),Oe.createElement(at.default.Item,{hidden:!0,name:"id"}),Oe.createElement(at.default.Item,{className:"mt10",name:"value"},Oe.createElement(Fe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ke=(0,be.connect)(({loading:Ot,user:it})=>({user:it,loading:Ot.effects}))(St)},85533:function(on,Ut,we){"use strict";we.d(Ut,{h:function(){return oe}});var Oe=we(59301),be=we(57809),ze=we(78241),at=we(3113),Ge=we(89780),je=we.n(Ge),me=we(45559),Se=we(42313),Le=Object.defineProperty,de=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(he,_e,Pe)=>_e in he?Le(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he},ee=(he,_e)=>de(he,Ie(_e));const E=be.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ne={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ut.Z=({callback:he,onCancel:_e})=>{const[Pe,Qe]=(0,Oe.useState)("python");function Ze(nt){Qe(ne[nt][1])}function Ve(nt){he(nt)}return Oe.createElement(ze.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ve,style:{width:500}}),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Oe.createElement(be.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ze},Object.keys(ne).map(nt=>Oe.createElement(E,{key:nt,value:nt},ne[nt][0])))),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Oe.createElement(oe,{mode:Pe})),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(at.ZP,{type:"ghost",onClick:_e},"\u53D6\u6D88")))};function oe({value:he,onChange:_e,mode:Pe,options:Qe={}}){const Ze=(0,Oe.useRef)(),[Ve,nt]=(0,Oe.useState)();return(0,Oe.useEffect)(()=>{if(Ve){let De=function(St){const ke=St.getValue();_e&&_e(ke)};return Ve.on("change",De),()=>{Ve.off("change",De)}}},[Ve,_e]),(0,Oe.useEffect)(()=>{Ve&&Ve.setOption("mode",Pe)},[Ve,Pe]),(0,Oe.useEffect)(()=>{Ve&&(he!==Ve.getValue()||he==="")&&setTimeout(()=>{Ve.setValue(he||"")},300)},[Ve,he]),(0,Oe.useEffect)(()=>{if(Ze.current&&!Ve){const De=je().fromTextArea(Ze.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Qe));nt(De)}},[Ze.current,Ve]),Oe.createElement("div",{className:"my-codemirror-container"},Oe.createElement("textarea",{ref:Ze}))}},96565:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return qi}});var Oe=we(59301),be=we(89780),ze=we.n(be),at=we(76374),Ge=we(45559),je=we(6313),me=we(25717),Se=we(99498),Le=we(25419),de=we(67549),Ie=we(6339),Fe=({value:En="",className:On,showTextOnly:vn,showLines:Tr,style:Pa={}})=>{const $r=(0,Oe.useMemo)(()=>"",[En]);return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{dangerouslySetInnerHTML:{__html:$r}}))},Ce=we(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(En,On,vn)=>On in En?ie(En,On,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[On]=vn,oe=(En,On)=>{for(var vn in On||(On={}))E.call(On,vn)&&ne(En,vn,On[vn]);if(ee)for(var vn of ee(On))te.call(On,vn)&&ne(En,vn,On[vn]);return En},he=(En,On)=>y(En,a(On));let _e=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:En,title:On,icon:vn,actionName:Tr,className:Pa="",children:$r}){function oi(){En(Tr)}return Ce.createElement("a",{title:On,className:Pa,onClick:oi},Ce.createElement("i",{className:`${vn}`}),$r)}var Qe=({watch:En,showNullButton:On,showNullProgramButton:vn,onActionCallback:Tr,fullScreen:Pa,insertTemp:$r,hidetoolBar:oi,extraUse:vo})=>{const Go=[..._e,{title:`${En?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${En?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ce.createElement("ul",{className:"markdown-toolbar-container"},!oi&&Go.map((Uo,wA)=>Ce.createElement("li",{key:wA},Uo.actionName?Ce.createElement(Pe,he(oe({},Uo),{onActionCallback:Tr})):Ce.createElement("span",{className:"v-line"}))),On?Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Tr},Ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vn?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Tr},Ce.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Tr},Ce.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$r&&Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$r}`,onActionCallback:Tr},Ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),vo&&Ce.createElement("li",null,vo),Ce.createElement("li",{className:"btn-full-screen"},Ce.createElement(Pe,{icon:`${Pa?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Pa?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Tr})))},Ze=we(57261),Ve=we(78241),nt=we(92832),De=we(3113),St=Object.defineProperty,ke=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,dt=(En,On,vn)=>On in En?St(En,On,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[On]=vn,pt=(En,On)=>{for(var vn in On||(On={}))rt.call(On,vn)&&dt(En,vn,On[vn]);if(it)for(var vn of it(On))wt.call(On,vn)&&dt(En,vn,On[vn]);return En},st=(En,On)=>ke(En,Ot(On));const ft={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:En,onCancel:On})=>{function vn(Tr){En(Tr)}return Oe.createElement(Ve.default,st(pt({},ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vn,style:{width:500}}),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Oe.createElement(nt.default,null)),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Oe.createElement(nt.default,null)),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},fn=we(85533),Et=we(45053),qt=we(43418),Ln=we(95237),Hn=we(16750),un=we(59301),Vn=({callback:En,onCancel:On})=>{const vn=document.createElement("canvas"),Tr=vn.getContext("2d");vn.width=1e3,vn.height=800,Tr.fillStyle="#ffffff",Tr.fillRect(0,0,vn.width,vn.height);const Pa=vn.toDataURL("image/png");return un.createElement(qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(Ln.Z,{style:{height:"100vh"}},un.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Pa,visible:!0,title:String(Date.now())},onOk:$r=>{En({src:$r.url})},onClose:On})))},yt=we(12378);function Kn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Kn,go.CommandHandler),Kn.prototype.canAlignSelection=function(){var En=this.diagram;return!(En===null||En.isReadOnly||En.isModelReadOnly||En.selection.count<2)},Kn.prototype.alignLeft=function(){var En=this.diagram;En.startTransaction("aligning left");var On=1/0;En.selection.each(function(vn){vn instanceof go.Link||(On=Math.min(vn.position.x,On))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(On,vn.position.y))}),En.commitTransaction("aligning left")},Kn.prototype.alignRight=function(){var En=this.diagram;En.startTransaction("aligning right");var On=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var Tr=vn.actualBounds.x+vn.actualBounds.width;On=Math.max(Tr,On)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(On-vn.actualBounds.width,vn.position.y))}),En.commitTransaction("aligning right")},Kn.prototype.alignTop=function(){var En=this.diagram;En.startTransaction("alignTop");var On=1/0;En.selection.each(function(vn){vn instanceof go.Link||(On=Math.min(vn.position.y,On))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.position.x,On))}),En.commitTransaction("alignTop")},Kn.prototype.alignBottom=function(){var En=this.diagram;En.startTransaction("aligning bottom");var On=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var Tr=vn.actualBounds.y+vn.actualBounds.height;On=Math.max(Tr,On)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.actualBounds.x,On-vn.actualBounds.height))}),En.commitTransaction("aligning bottom")},Kn.prototype.alignCenterX=function(){var En=this.diagram,On=En.selection.first();if(On){En.startTransaction("aligning Center X");var vn=On.actualBounds.x+On.actualBounds.width/2;En.selection.each(function(Tr){Tr instanceof go.Link||Tr.move(new go.Point(vn-Tr.actualBounds.width/2,Tr.actualBounds.y))}),En.commitTransaction("aligning Center X")}},Kn.prototype.alignCenterY=function(){var En=this.diagram,On=En.selection.first();if(On){En.startTransaction("aligning Center Y");var vn=On.actualBounds.y+On.actualBounds.height/2;En.selection.each(function(Tr){Tr instanceof go.Link||Tr.move(new go.Point(Tr.actualBounds.x,vn-Tr.actualBounds.height/2))}),En.commitTransaction("aligning Center Y")}},Kn.prototype.alignColumn=function(En){var On=this.diagram;On.startTransaction("align Column"),En===void 0&&(En=0),En=parseFloat(En);var vn=new Array;On.selection.each(function(vo){vo instanceof go.Link||vn.push(vo)});for(var Tr=0;Tr<vn.length-1;Tr++){var Pa=vn[Tr],$r=Pa.actualBounds.y+Pa.actualBounds.height+En,oi=vn[Tr+1];oi.move(new go.Point(Pa.actualBounds.x,$r))}On.commitTransaction("align Column")},Kn.prototype.alignRow=function(En){En===void 0&&(En=0),En=parseFloat(En);var On=this.diagram;On.startTransaction("align Row");var vn=new Array;On.selection.each(function(vo){vo instanceof go.Link||vn.push(vo)});for(var Tr=0;Tr<vn.length-1;Tr++){var Pa=vn[Tr],$r=Pa.actualBounds.x+Pa.actualBounds.width+En,oi=vn[Tr+1];oi.move(new go.Point($r,Pa.actualBounds.y))}On.commitTransaction("align Row")},Kn.prototype.canRotate=function(En){var On=this.diagram;return!(On===null||On.isReadOnly||On.isModelReadOnly||On.selection.count<1)},Kn.prototype.rotate=function(En){En===void 0&&(En=90);var On=this.diagram;On.startTransaction("rotate "+En.toString());var On=this.diagram;On.selection.each(function(vn){vn instanceof go.Link||vn instanceof go.Group||(vn.angle+=En)}),On.commitTransaction("rotate "+En.toString())},Kn.prototype.pullToFront=function(){var En=this.diagram;En.startTransaction("pullToFront");var On=new go.Map;En.selection.each(function(vn){On.set(vn.layer,0)}),On.iteratorKeys.each(function(vn){var Tr=0;vn.parts.each(function(Pa){if(!Pa.isSelected){var $r=Pa.zOrder;isNaN($r)?Pa.zOrder=0:Tr=Math.max(Tr,$r)}}),On.set(vn,Tr)}),En.selection.each(function(vn){Kn._assignZOrder(vn,On.get(vn.layer)+1)}),En.commitTransaction("pullToFront")},Kn.prototype.pushToBack=function(){var En=this.diagram;En.startTransaction("pushToBack");var On=new go.Map;En.selection.each(function(vn){On.set(vn.layer,0)}),On.iteratorKeys.each(function(vn){var Tr=0;vn.parts.each(function(Pa){if(!Pa.isSelected){var $r=Pa.zOrder;isNaN($r)?Pa.zOrder=0:Tr=Math.min(Tr,$r)}}),On.set(vn,Tr)}),En.selection.each(function(vn){Kn._assignZOrder(vn,On.get(vn.layer)-1-Kn._findGroupDepth(vn))}),En.commitTransaction("pushToBack")},Kn._assignZOrder=function(En,On,vn){vn===void 0&&(vn=En),En.layer===vn.layer&&(En.zOrder=On),En instanceof go.Group&&En.memberParts.each(function(Tr){Kn._assignZOrder(Tr,On+1,vn)})},Kn._findGroupDepth=function(En){if(En instanceof go.Group){var On=0;return En.memberParts.each(function(vn){On=Math.max(On,Kn._findGroupDepth(vn))}),On+1}else return 0},Kn.prototype.doKeyDown=function(){var En=this.diagram;if(En!==null){var On=En.lastInput;if(On.key==="Up"||On.key==="Down"||On.key==="Left"||On.key==="Right"){var vn=this.arrowKeyBehavior;if(vn==="none")return;if(vn==="select"){this._arrowKeySelect();return}else if(vn==="move"){this._arrowKeyMove();return}else if(vn==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Kn.prototype._getAllParts=function(){var En=new Array;return this.diagram.nodes.each(function(On){En.push(On)}),this.diagram.parts.each(function(On){En.push(On)}),En},Kn.prototype._arrowKeyMove=function(){var En=this.diagram,On=En.lastInput,vn=0,Tr=0;if(On.control||On.meta)vn=1,Tr=1;else if(En.grid!==null){var Pa=En.grid.gridCellSize;Tr=Pa.width,vn=Pa.height}En.startTransaction("arrowKeyMove"),En.selection.each(function($r){On.key==="Up"?$r.move(new go.Point($r.actualBounds.x,$r.actualBounds.y-vn)):On.key==="Down"?$r.move(new go.Point($r.actualBounds.x,$r.actualBounds.y+vn)):On.key==="Left"?$r.move(new go.Point($r.actualBounds.x-Tr,$r.actualBounds.y)):On.key==="Right"&&$r.move(new go.Point($r.actualBounds.x+Tr,$r.actualBounds.y))}),En.commitTransaction("arrowKeyMove")},Kn.prototype._arrowKeySelect=function(){var En=this.diagram,On=En.lastInput,vn=null;On.key==="Up"?vn=this._findNearestPartTowards(270):On.key==="Down"?vn=this._findNearestPartTowards(90):On.key==="Left"?vn=this._findNearestPartTowards(180):On.key==="Right"&&(vn=this._findNearestPartTowards(0)),vn!==null&&(On.shift?vn.isSelected=!0:On.control||On.meta?vn.isSelected=!vn.isSelected:En.select(vn))},Kn.prototype._findNearestPartTowards=function(En){var On=this.diagram.selection.first();if(On===null)return null;for(var vn=On.actualBounds.center,Tr=this._getAllParts(),Pa=1/0,$r=On,oi=0;oi<Tr.length;oi++){var vo=Tr[oi];if(vo!==On&&vo.canSelect()){var Go=vo.actualBounds.center,Uo=vn.directionPoint(Go),wA=this._angleCloseness(Uo,En);if(wA<=45){var gr=vn.distanceSquaredPoint(Go);gr*=1+Math.sin(wA*Math.PI/180),gr<Pa&&(Pa=gr,$r=vo)}}}return $r},Kn.prototype._angleCloseness=function(En,On){return Math.min(Math.abs(On-En),Math.min(Math.abs(On+360-En),Math.abs(On-360-En)))},Kn.prototype._arrowKeyTree=function(){var En=this.diagram,On=En.selection.first();if(On instanceof go.Node){var vn=En.lastInput;if(vn.key==="Right"){if(!On.isTreeLeaf)if(!On.isTreeExpanded)En.commandHandler.canExpandTree(On)&&En.commandHandler.expandTree(On);else{var Tr=this._sortTreeChildrenByY(On).first();Tr!==null&&En.select(Tr)}}else if(vn.key==="Left")if(!On.isTreeLeaf&&On.isTreeExpanded)En.commandHandler.canCollapseTree(On)&&En.commandHandler.collapseTree(On);else{var Pa=On.findTreeParentNode();Pa!==null&&En.select(Pa)}else if(vn.key==="Up"){var Pa=On.findTreeParentNode();if(Pa!==null){var $r=this._sortTreeChildrenByY(Pa),oi=$r.indexOf(On);if(oi>0){for(var vo=$r.elt(oi-1);vo!==null&&vo.isTreeExpanded&&!vo.isTreeLeaf;){var Go=this._sortTreeChildrenByY(vo);vo=Go.last()}vo!==null&&En.select(vo)}else En.select(Pa)}}else if(vn.key==="Down")if(On.isTreeExpanded&&!On.isTreeLeaf){var Tr=this._sortTreeChildrenByY(On).first();Tr!==null&&En.select(Tr)}else for(;On!==null;){var Pa=On.findTreeParentNode();if(Pa===null)break;var $r=this._sortTreeChildrenByY(Pa),oi=$r.indexOf(On);if(oi<$r.length-1){En.select($r.elt(oi+1));break}else On=Pa}var Uo=En.selection.first();Uo!==null&&En.scrollToRect(Uo.actualBounds)}},Kn.prototype._sortTreeChildrenByY=function(En){var On=new go.List().addAll(En.findTreeChildrenNodes());return On.sort(function(vn,Tr){var Pa=vn.location,$r=Tr.location;return Pa.y<$r.y?-1:Pa.y>$r.y?1:Pa.x<$r.x?-1:Pa.x>$r.x?1:0}),On},Kn.prototype.copyToClipboard=function(En){go.CommandHandler.prototype.copyToClipboard.call(this,En),this._lastPasteOffset.set(this.pasteOffset)},Kn.prototype.pasteFromClipboard=function(){var En=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(En,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),En},Object.defineProperty(Kn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(En){if(En!=="move"&&En!=="select"&&En!=="scroll"&&En!=="tree"&&En!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+En);this._arrowKeyBehavior=En}}),Object.defineProperty(Kn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(En){if(!(En instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+En);this._pasteOffset.set(En)}});var er=Kn,Re=we(25863),Kt=we(43604),Te=we(38147),pe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=we(59301),ye=(En,On,vn)=>new Promise((Tr,Pa)=>{var $r=Go=>{try{vo(vn.next(Go))}catch(Uo){Pa(Uo)}},oi=Go=>{try{vo(vn.throw(Go))}catch(Uo){Pa(Uo)}},vo=Go=>Go.done?Tr(Go.value):Promise.resolve(Go.value).then($r,oi);vo((vn=vn.apply(En,On)).next())});function qe({onCancel:En,callback:On}){let vn=(0,Oe.useRef)(),Tr=(0,Oe.useRef)(),Pa=(0,Oe.useRef)(),$r=(0,Oe.useRef)(!1);const oi=(0,Oe.useRef)(!1),[vo,Go]=(0,Oe.useState)(0);function Uo(){const gr=yt.bx.make,Qo={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};vn.current=new yt.S0(Tr.current,{padding:20,grid:gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:kr=>{var Ua=kr.diagram.commandHandler.addTopLevelParts(kr.diagram.selection,!0);Ua||kr.diagram.currentTool.doCancel()},commandHandler:gr(er),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:kr=>{var Ua=kr.subject;Ua.location=Ua.location.copy().snapToGridPoint(kr.diagram.grid.gridOrigin,kr.diagram.grid.gridCellSize),setTimeout(()=>{kr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:kr=>{var Ua=kr.subject;setTimeout(()=>{kr.diagram.commandHandler.editTextBlock()})},LinkRelinked:kr=>{var Ua=kr.parameter.part;Ua.invalidateConnectedLinks();var Fo=kr.subject;kr.diagram.toolManager.linkingTool.isForwards?Fo.toNode.invalidateConnectedLinks():Fo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vn.current.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center,locationObjectName:"SHAPE",desiredSize:new yt.$u(120,60),minSize:new yt.$u(40,40),resizable:!0,resizeCellSize:new yt.$u(10,10),rotatable:!0},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),new yt.KX("desiredSize","size",yt.$u.parse).makeTwoWay(yt.$u.stringify),gr(yt.bn,{name:"SHAPE",fill:Qo.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("figure"),new yt.KX("fill"),new yt.KX("stroke","borderColor"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gr(yt.al,{margin:1,textAlign:"center",overflow:yt.al.OverflowEllipsis,editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.nodeTemplate.toolTip=gr("ToolTip",gr(yt.s_,"Vertical",{maxSize:new yt.$u(200,NaN)},gr(yt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new yt.KX("text")),gr(yt.al,{font:"10pt sans-serif",textAlign:"center"},new yt.KX("text","details"))));function Qi(kr,Ua){var Fo=(Ea,za)=>{Ea.handled=!0,Ea.diagram.model.commit(mi=>{var pa=za.part.adornedPart,ns=new yt.E9().setRectSpot(pa.actualBounds,kr);ns.subtract(pa.location),ns.scale(2,2),ns.x+=Math.sign(ns.x)*130,ns.y+=Math.sign(ns.y)*130,ns.add(pa.location),ns.snapToGridPoint(Ea.diagram.grid.gridOrigin,Ea.diagram.grid.gridCellSize);var rs=mi.copyNodeData(pa.data);mi.setGroupKeyForNodeData(rs,mi.getGroupKeyForNodeData(pa.data)),mi.addNodeData(rs);var Bu={from:pa.key,to:mi.getKeyForNodeData(rs)};mi.addLinkData(Bu);var Ds=Ea.diagram.findNodeForData(rs);Ds.location=ns,Ea.diagram.select(Ds),setTimeout(()=>{Ea.diagram.commandHandler.editTextBlock()},20)})};return gr(yt.bn,{figure:Ua,alignment:kr,alignmentFocus:kr.opposite(),width:kr.equals(yt.z6.Top)||kr.equals(yt.z6.Bottom)?25:18,height:kr.equals(yt.z6.Top)||kr.equals(yt.z6.Bottom)?18:25,fill:"orange",stroke:Qo.white,strokeWidth:4,mouseEnter:(Ea,za)=>za.fill="dodgerblue",mouseLeave:(Ea,za)=>za.fill="orange",isActionable:!0,click:Fo,contextClick:Fo})}function ci(kr){return gr(yt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ua,Fo)=>Fo.fill="dodgerblue",mouseLeave:(Ua,Fo)=>Fo.fill="orange",click:(Ua,Fo)=>{Ua.diagram.commandHandler.showContextMenu(Fo.part.adornedPart)}},kr||{})}vn.current.nodeTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.Vm,{padding:10}),Qi(yt.z6.Top,"TriangleUp"),Qi(yt.z6.Left,"TriangleLeft"),Qi(yt.z6.Right,"TriangleRight"),Qi(yt.z6.Bottom,"TriangleDown"),ci({alignment:new yt.z6(.75,0)}));function Bi(kr,Ua){return(Fo,Ea)=>{Fo.handled=!0,Fo.diagram.model.commit(za=>{za.set(Ea.part.adornedPart.data,kr,Ua)})}}function To(kr,Ua){return Ua||(Ua="color"),gr(yt.bn,{width:16,height:16,stroke:"lightgray",fill:kr,margin:1,background:"transparent",mouseEnter:(Fo,Ea)=>Ea.stroke="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.stroke="lightgray",click:Bi(Ua,kr),contextClick:Bi(Ua,kr)})}function pA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",To(Qo.white,"fill"),To(Qo.beige,"fill"),To(Qo.extralightblue,"fill"),To(Qo.extralightred,"fill"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",To(Qo.lightgray,"fill"),To(Qo.lightgreen,"fill"),To(Qo.lightblue,"fill"),To(Qo.lightred,"fill")))]}function jA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",To(Qo.black),To(Qo.green),To(Qo.blue),To(Qo.red))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",To(Qo.white),To(Qo.magenta),To(Qo.purple),To(Qo.orange)))]}function zA(kr,Ua){return Ua||(Ua="thickness"),gr(yt.bn,"LineH",{width:16,height:16,strokeWidth:kr,margin:1,background:"transparent",mouseEnter:(Fo,Ea)=>Ea.background="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.background="transparent",click:Bi(Ua,kr),contextClick:Bi(Ua,kr)})}function Ns(kr,Ua){return Ua||(Ua="dash"),gr(yt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:kr,margin:1,background:"transparent",mouseEnter:(Fo,Ea)=>Ea.background="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.background="transparent",click:Bi(Ua,kr),contextClick:Bi(Ua,kr)})}function GA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",zA(1),zA(2),zA(3),zA(4))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Ns(null),Ns([2,4]),Ns([4,4])))]}function yi(kr,Ua){return Ua||(Ua="figure"),gr(yt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:kr,margin:1,background:"transparent",mouseEnter:(Fo,Ea)=>Ea.fill="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.fill="lightgray",click:Bi(Ua,kr),contextClick:Bi(Ua,kr)})}vn.current.nodeTemplate.contextMenu=gr("ContextMenu",gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Rectangle"),yi("RoundedRectangle"),yi("Ellipse"),yi("Diamond"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Parallelogram2"),yi("ManualOperation"),yi("Procedure"),yi("Cylinder1"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Terminator"),yi("CreateRequest"),yi("Document"),yi("TriangleDown"))),pA(),jA(),GA()),vn.current.groupTemplate=gr(yt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:yt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(kr,Ua)=>{var Fo=Ua.addMembers(Ua.diagram.selection,!0);Fo||Ua.diagram.currentTool.doCancel()},avoidable:!1},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.s_,"Auto",{name:"BODY"},gr(yt.bn,{parameter1:10,fill:Qo.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("fill"),new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.Vm,{background:"transparent",margin:20})),gr(yt.al,{alignment:yt.z6.Top,alignmentFocus:yt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new yt.KX("text"),new yt.KX("stroke","color"))),vn.current.groupTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.s_,"Auto",gr(yt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gr(yt.Vm,{margin:1.5})),ci({alignment:yt.z6.TopRight,alignmentFocus:yt.z6.BottomRight})),vn.current.groupTemplate.contextMenu=gr("ContextMenu",pA(),jA(),GA()),vn.current.linkTemplate=gr(yt.rU,{layerName:"Foreground",routing:yt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new yt.KX("fromSpot","fromSpot",yt.z6.parse),new yt.KX("toSpot","toSpot",yt.z6.parse),new yt.KX("fromShortLength","dir",kr=>kr>=1?10:0),new yt.KX("toShortLength","dir",kr=>kr>=1?10:0),new yt.KX("points").makeTwoWay(),gr(yt.bn,{strokeWidth:2},new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,0),segmentOrientation:yt.rU.OrientAlong,alignmentFocus:yt.z6.Right,figure:"circle",width:10,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",kr=>kr===1)),gr(yt.bn,{segmentIndex:-1,segmentOffset:new yt.E9(-10,6),segmentOrientation:yt.rU.OrientPlus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",kr=>kr>=1),new yt.KX("width","thickness",kr=>7+3*kr),new yt.KX("height","thickness",kr=>7+3*kr),new yt.KX("segmentOffset","thickness",kr=>new yt.E9(-15,4+1.5*kr))),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,-6),segmentOrientation:yt.rU.OrientMinus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",kr=>kr===2),new yt.KX("width","thickness",kr=>7+3*kr),new yt.KX("height","thickness",kr=>7+3*kr),new yt.KX("segmentOffset","thickness",kr=>new yt.E9(-15,4+1.5*kr))),gr(yt.al,{alignmentFocus:new yt.z6(0,1,-4,0),editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.linkTemplate.selectionAdornmentTemplate=gr(yt.uz,gr(yt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:fs(2)},new yt.KX("pathPattern","thickness",fs)),ci({alignmentFocus:new yt.z6(0,0,-6,-4)}));function fs(kr){return gr(yt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(kr+4).toString()+" H3"})}function Fl(kr){var Ua="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return kr===0?Ua="M0 0 M16 16 M0 8 L16 8":kr===2&&(Ua="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gr(yt.bn,{geometryString:Ua,margin:2,background:"transparent",mouseEnter:(Fo,Ea)=>Ea.background="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.background="transparent",click:Bi("dir",kr),contextClick:Bi("dir",kr)})}function $A(kr){var Ua=(Fo,Ea)=>{Fo.handled=!0,Fo.diagram.model.commit(za=>{var mi=Ea.part.adornedPart;za.set(mi.data,kr?"toSpot":"fromSpot",yt.z6.stringify(yt.z6.AllSides)),(kr?mi.toNode:mi.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Fo,Ea)=>Ea.background="dodgerblue",mouseLeave:(Fo,Ea)=>Ea.background="transparent",click:Ua,contextClick:Ua})}function Cr(kr,Ua){var Fo=0,Ea=yt.z6.RightSide;kr.equals(yt.z6.Top)?(Fo=270,Ea=yt.z6.TopSide):kr.equals(yt.z6.Left)?(Fo=180,Ea=yt.z6.LeftSide):kr.equals(yt.z6.Bottom)&&(Fo=90,Ea=yt.z6.BottomSide),Ua||(Fo-=180);var za=(mi,pa)=>{mi.handled=!0,mi.diagram.model.commit(ns=>{var rs=pa.part.adornedPart;ns.set(rs.data,Ua?"toSpot":"fromSpot",yt.z6.stringify(Ea)),(Ua?rs.toNode:rs.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{alignment:kr,alignmentFocus:kr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Fo,background:"transparent",mouseEnter:(mi,pa)=>pa.background="dodgerblue",mouseLeave:(mi,pa)=>pa.background="transparent",click:za,contextClick:za})}vn.current.linkTemplate.contextMenu=gr("ContextMenu",jA(),GA(),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Fl(0),Fl(1),Fl(2))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",gr(yt.s_,"Spot",$A(!1),Cr(yt.z6.Top,!1),Cr(yt.z6.Left,!1),Cr(yt.z6.Right,!1),Cr(yt.z6.Bottom,!1)),gr(yt.s_,"Spot",{margin:new yt.Zt(0,0,0,2)},$A(!0),Cr(yt.z6.Top,!0),Cr(yt.z6.Left,!0),Cr(yt.z6.Right,!0),Cr(yt.z6.Bottom,!0)))));const Dc=`{ "class": "GraphLinksModel",
"nodeDataArray": [
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
],
"linkDataArray": [
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
]}`;var Su=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Ou(kr){return console.log("shapeName:",kr),Su.indexOf(kr)>=0}var el=new yt.YI(Pa.current,{maxSelectionCount:1,linkTemplate:gr(yt.rU,{locationSpot:yt.z6.Center,selectionAdornmentTemplate:gr(yt.uz,"Link",{locationSpot:yt.z6.Center},gr(yt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),gr(yt.bn,{toArrow:"Standard",stroke:null}))},{routing:yt.rU.AvoidsNodes,curve:yt.rU.JumpOver,corner:5,toShortLength:4},new yt.KX("points"),gr(yt.bn,{isPanelMain:!0,strokeWidth:2}),gr(yt.bn,{toArrow:"Standard",stroke:null})),model:new yt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...yt.bn.getFigureGenerators().toArray().map(kr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:kr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vn.current.addDiagramListener("TextEdited",function(kr){var Ua;const Fo=kr.subject.part;var Ea=(Ua=document.activeElement)==null?void 0:Ua.value;typeof Ea=="string"&&Ea.trim()===""&&vn.current.model.commit(function(za){za.set(Fo.data,"text","\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}),el.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center},new yt.KX("location","location",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new yt.KX("stroke").makeTwoWay(),new yt.KX("fill").makeTwoWay(),new yt.KX("figure")),gr(yt.al,{margin:new yt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new yt.$u(16,16),maxSize:new yt.$u(10,NaN),textAlign:"center",editable:!0},new yt.KX("key").makeTwoWay())),setTimeout(()=>{vn.current.grid=gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vn.current.grid.visible=!0,vn.current.grid.gridCellStroke="darkgray",vn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vn.current,vn.current}const wA=()=>ye(this,null,function*(){var gr=vn.current.makeImage();const Qo=yield(0,Te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:gr.src}});On({src:Qo.url})});return(0,Oe.useEffect)(()=>(setTimeout(()=>{Uo()},500),Go(vo+1),()=>{vn.current=null}),[]),ce.createElement("div",{ref:oi,className:$r.current?`${pe.maxH60} body-overflow-initial`:"body-overflow-initial"},ce.createElement(qt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!vo,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ce.createElement(Ln.Z,null,ce.createElement(Kt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Kt.Z,{onClick:()=>{var gr,Qo,Qi=vn.current.selection.first();if($r.current=!$r.current,document.activeElement&&Qi){let ci=(Qo=(gr=document.activeElement)==null?void 0:gr.value)==null?void 0:Qo.trim();typeof ci=="string"&&vn.current.model.commit(function(Bi){Bi.set(Qi.data,"text",ci||"\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}Go(vo+1)}},ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:En},ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:pe.flowChartWrp},ce.createElement("div",{style:{display:"flex",height:"100%"}},ce.createElement("div",{style:{width:"300px",height:"100%"}},ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:pe.myPaletteDiv,ref:Pa})),ce.createElement("div",{style:{flex:1,position:"relative"}},ce.createElement("div",{ref:Tr,style:{height:"80vh"}}))),ce.createElement("div",{className:"tr"},ce.createElement(De.ZP,{size:"large",onClick:wA,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=qe,Me=we(5112),Xe=we(5871);const Pt=Me.ZP.Group,ct={margin:"0 8px"};var ot=({callback:En,onCancel:On})=>{function vn(Tr){En(Tr)}return Oe.createElement(Ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vn},Oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5355\u5143\u683C\u6570\uFF1A"),Oe.createElement("span",{style:ct},"\u884C\u6570"),Oe.createElement(Ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Oe.createElement(Xe.Z,null)),Oe.createElement("span",{style:ct},"\u5217\u6570"),Oe.createElement(Ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Oe.createElement(Xe.Z,null))),Oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Oe.createElement(Ve.default.Item,{name:"align"},Oe.createElement(Pt,null,Oe.createElement(Me.ZP,{value:"default"},Oe.createElement("i",{className:"fa fa-align-justify"})),Oe.createElement(Me.ZP,{value:"left"},Oe.createElement("i",{className:"fa fa-align-left"})),Oe.createElement(Me.ZP,{value:"center"},Oe.createElement("i",{className:"fa fa-align-center"})),Oe.createElement(Me.ZP,{value:"right"},Oe.createElement("i",{className:"fa fa-align-right"}))))),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},kt=we(78673),_n=we(93510),_t=we.n(_n),Nt=(0,Oe.forwardRef)(({use3d:En,width:On,height:vn,callback:Tr,showSaveButton:Pa},$r)=>{const oi=(0,Oe.useRef)(),vo=(0,Oe.useRef)(),[Go,Uo]=(0,Oe.useState)(!1),wA=(0,Oe.useRef)({id:oi,appName:"graphing",width:On||1e3,height:vn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Oe.useEffect)(()=>{vo.current=new(_t())(wA.current,!0),window.onload=function(){vo.current.inject("applet_container")}},[]);const gr=()=>{var Qo=window.ggbApplet.getPNGBase64(1,!0,72);return Tr&&Tr(Qo),Qo};return(0,Oe.useEffect)(()=>{wA.current.appName=Go?"3D":"graphing",vo.current.inject("applet_container")},[Go]),(0,Oe.useEffect)(()=>{Uo(En)},[En]),(0,Oe.useImperativeHandle)($r,()=>({getImgData:gr})),Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:oi}),Oe.createElement(Ln.Z,{align:"middle"},Oe.createElement(Kt.Z,{flex:1},Oe.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Go,onChange:Qo=>Uo(Qo)})),Oe.createElement(Kt.Z,null,Oe.createElement(De.ZP,{size:"large",onClick:gr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=we(99298),Yt=we(1012),Jn=we(8591);const hr="link",tr="upload-image",Nr="add-flowchart",Dr="draw-image",sa="add-flowchart",Aa="code-block",Hr="add-table",wr="------------",Qr={default:wr,left:`:${wr}`,center:`:${wr}:`,right:`${wr}:`};var ea=we(31103),xa=(En,On,vn)=>new Promise((Tr,Pa)=>{var $r=Go=>{try{vo(vn.next(Go))}catch(Uo){Pa(Uo)}},oi=Go=>{try{vo(vn.throw(Go))}catch(Uo){Pa(Uo)}},vo=Go=>Go.done?Tr(Go.value):Promise.resolve(Go.value).then($r,oi);vo((vn=vn.apply(En,On)).next())});function co(){}let qr=0;const hi=1e4,Ii="\u2581",ta="@\u2581\u2581@",sn="@\u2581@",KA=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,mA=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function IA(En){return/^\d+$/.test(En)?`${En}px`:En}const bi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",zs={[bi+"-B"]:"bold",[bi+"-I"]:"italic"},yA={[hr]:"\u6DFB\u52A0\u94FE\u63A5",[Aa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[tr]:"\u6DFB\u52A0\u56FE\u7247",[Dr]:"\u6DFB\u52A0\u753B\u56FE",[Nr]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Hr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var qi=({defaultValue:En="",onChange:On,width:vn="100%",height:Tr=400,miniToolbar:Pa=!1,isFocus:$r=!1,watch:oi,insertTemp:vo,mode:Go="markdown",id:Uo="markdown-editor-id",showResizeBar:wA=!1,noStorage:gr=!1,showNullButton:Qo=!1,showNullProgramButton:Qi=!1,hidetoolBar:ci=!1,fullScreen:Bi=!1,onBlur:To,onCMBeforeChange:pA,onFullScreen:jA,className:zA="",disablePaste:Ns=!1,disabled:GA=!1,disabledFill:yi=!1,placeholder:fs="",values:Fl="",extraUse:$A})=>{const[Cr,Dc]=(0,Oe.useState)(null),[Su,Ou]=(0,Oe.useState)(En),[el,kr]=(0,Oe.useState)(oi),[Ua,Fo]=(0,Oe.useState)(Bi),[Ea,za]=(0,Oe.useState)(""),[mi,pa]=(0,Oe.useState)(0),[ns,rs]=(0,Oe.useState)(Tr),[Bu,Ds]=(0,Oe.useState)(!1),Oc=(0,Oe.useRef)((0,Yt.Z)()),Qc=(0,Oe.useRef)(!1),xl=(0,Oe.useRef)(),[_l,Tc]=(0,Oe.useState)(0),[Qu,Tu]=(0,Oe.useState)(0),Au=(0,Oe.useRef)(),gl=(0,Oe.useRef)(),ku=(0,Oe.useRef)(),An=(0,Oe.useRef)(),kc=()=>xa(void 0,null,function*(){var Dt;const tn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Oc.current}});(Dt=tn==null?void 0:tn.attachments)!=null&&Dt.length&&(console.log("cm:",Cr,Au),tn.attachments.map(Qn=>{Qn.content_type.indexOf("image")>-1?Cr.replaceSelection(`![,](/api/attachments/${Qn.id}?type=${Qn.content_type})`):Qn.content_type.indexOf("video")>-1?Cr.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Qn.content_type.indexOf("pdf")>-1?Cr.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Qn.id}?type=${Qn.content_type}&disposition=inline" target="_blank">${Qn.name}</a>`):Cr.replaceSelection(`[${Qn.name}](${ENV.API_SERVER}/api/attachments/${Qn.id}?type=${Qn.content_type})`)}))});(0,Oe.useEffect)(()=>{const Dt=window.scrollY||window.pageYOffset;Ou(Fl),Cr==null||Cr.setValue(Fl),window.scrollTo(0,Dt)},[Fl]),(0,Oe.useEffect)(()=>{jA==null||jA(Ua)},[Ua]),(0,Oe.useEffect)(()=>{if(Au.current){let Dt=function(Qn,Ar){var Xr;if(Ns){Ar.preventDefault();return}const Lr=Ar.clipboardData;if(Lr){const mr=Lr.types.toString(),Fr=Lr.items;if(mr==="Files"||Lr.types.indexOf("Files")>-1){if(Ar.preventDefault(),Go=="stex")return;try{let ca=Fr[1];((Xr=Fr[0])==null?void 0:Xr.kind)==="file"&&(ca=Fr[0]);const Ma=ca.getAsFile(),Ro=Ma.name.split(".").pop();(0,Et.I)(Ma,la=>{var Wi,ii,pi;la.id?((Wi=Ma==null?void 0:Ma.type)==null?void 0:Wi.indexOf("image"))>-1?tn.replaceSelection(`<img width="100%" src="/api/attachments/${la.id}?type=${la.content_type})" alt="" />`):((ii=Ma==null?void 0:Ma.type)==null?void 0:ii.indexOf("video"))>-1?tn.replaceSelection(`<video width="100%" controls src="/api/attachments/${la.id}"></video>`):((pi=Ma==null?void 0:Ma.type)==null?void 0:pi.indexOf("pdf"))>-1?tn.replaceSelection(`<a href="/api/attachments/${la.id}?type=${Ma.type}&disposition=inline" target="_blank">${Ma.name}</a>`):mA.includes(Ro)?tn.replaceSelection(`<a href="/api/attachments/${la.id}?type=office&disposition=inline" target="_blank">${Ma.name}</a>`):tn.replaceSelection(`[${Ma.name}](/api/attachments/${la.id}?type=${la.content_type})`):(la==null?void 0:la.status)===401&&(Jn.ZP.warning((la==null?void 0:la.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ca){Jn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const tn=ze().fromTextArea(Au.current,{mode:Go,lineNumbers:!Pa,lineWrapping:!0,value:En,autoCloseTags:!Qi,autoCloseBrackets:!0});return tn.on("keyup",function(Qn,Ar){Ar.keyCode===8&&(Qn.getValue()==""?tn.setOption("placeholder",fs):tn.setOption("placeholder",null))}),tn.on("keydown",function(Qn,Ar){if(Ar.keyCode===8){var Xr=gd(Qn);Xr&&Ar.preventDefault()}}),$r&&tn.focus(),tn.on("paste",Dt),tn.on("dragleave",function(Qn,Ar){gl.current.classList.remove("mouse-hover-md")}),GA&&tn.on("beforeChange",function(Qn,Ar){(Ar.origin==="paste"||Ar.origin==="+input")&&Ar.cancel()}),Dc(tn),()=>{tn.off("paste",Dt)}}},[]);const Ru=(0,Oe.useCallback)(()=>{if(gl.current)try{}catch(Dt){console.log(Dt,"---- to set md editor body height")}},[ns,gl,Ua]);(0,Oe.useEffect)(()=>{function Dt(){let tn=new at.Z(Qn=>{for(let Ar of Qn)(Ar.target.offsetHeight>0||Ar.target.offsetWidth>0)&&(Ru(),Cr.setSize("100%","100%"),Cr.refresh())});return tn.observe(Au.current.parentElement),tn}if(Cr){const tn=Dt();return()=>{var Qn,Ar;(Qn=Au.current)!=null&&Qn.parentElement&&tn.unobserve((Ar=Au.current)==null?void 0:Ar.parentElement)}}},[Cr,Ru]),(0,Oe.useEffect)(()=>{if(Cr){let Dt=[];for(const[tn,Qn]of Object.entries(zs)){let Ar={[tn]:()=>{su(Qn)}};Dt.push(Ar),Cr.addKeyMap(Ar)}return xl.current=setInterval(()=>{Qc.current&&kc()},4e3),()=>{clearInterval(xl.current);for(let tn of Dt)Cr.removeKeyMap(tn)}}},[Cr]),(0,Oe.useEffect)(()=>{Bi!==Ua&&Fo(Bi)},[Bi]),(0,ea.Z)(()=>{if(!gr&&mi>0){let Dt=new Date().getTime(),tn=window.sessionStorage.getItem(Uo);Dt>=mi+hi&&(!tn||tn!==Su)&&(window.sessionStorage.setItem(Uo,Su),Ds(!0))}},hi),(0,Oe.useEffect)(()=>{kr(oi)},[Cr,oi]),(0,Oe.useEffect)(()=>{Cr&&$r&&Cr.focus()},[Cr,$r]),(0,Oe.useEffect)(()=>{if(el&&Cr){let Dt=function(Qn){let Ar=Qn.target;if(An.current){let Xr=Ar.scrollTop/Ar.scrollHeight;An.current.scrollTop=An.current.scrollHeight*Xr}};const tn=Cr.getScrollerElement();return tn.addEventListener("scroll",Dt),()=>{tn.removeEventListener("scroll",Dt)}}},[Cr,el]),(0,Oe.useEffect)(()=>{if(Cr&&pA){let Dt=function(tn,Qn){pA(tn,Qn)};return Cr.on("beforeChange",Dt),()=>{Cr.off("beforeChange",Dt)}}},[Cr,pA]),(0,Oe.useEffect)(()=>{if(Cr&&To){let Dt=function(){To(Cr.getValue())};return Cr.on("blur",Dt),()=>{Cr.off("blur",Dt)}}},[Cr,To]);function gd(Dt,tn){var Qn=Dt.getDoc(),Ar=Qn.getCursor(),Xr=Qn.getLine(Ar.line),Lr=Xr.charAt(Ar.ch-1),mr=Xr.lastIndexOf("@\u2581@",Ar.ch),Fr=Xr.lastIndexOf("@\u2581\u2581@",Ar.ch),ca=mr>Fr?mr:Fr,Ma=mr>Fr?3:4;if(ta.indexOf(Lr)===-1)return null;if(console.log("change1:",tn,Dt,Xr,Ar,ca,mr,Fr,Lr),ca>=0&&Ar.ch-ca<5){var Ro=ca+Ma;return Qn.replaceRange("",{line:Ar.line,ch:ca},{line:Ar.line,ch:Ro}),{line:Ar.line,ch:Ro}}return null}(0,Oe.useEffect)(()=>{if(Cr){let Dt=function(tn,Qn){const Ar=tn.getValue();Ou(Ar),pa(new Date().getTime()),tn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),On&&(Qi?On(Ar,ZA(Ar)):On(Ar))};return Cr.on("change",Dt),()=>{Cr.off("change",Dt)}}},[Cr,On]),(0,Oe.useEffect)(()=>{if(Cr)if(En==null)Cr.setValue(""),Ou("");else{const Dt=window.scrollY||window.pageYOffset;En!==Cr.getValue()&&(Cr.setValue(En),Ou(En),Cr.setCursor(GA?1:Cr.lineCount(),0),window.scrollTo(0,Dt))}},[Cr,En]);const su=(0,Oe.useCallback)(Dt=>{const tn=Cr.getCursor(),Qn=Cr.getSelection();let Ar=Qn.split(`
`);switch(Dt){case"bold":return Cr.replaceSelection("**"+Qn+"**"),Qn===""&&Cr.setCursor(tn.line,tn.ch+2),Cr.focus();case"italic":return Cr.replaceSelection("*"+Qn+"*"),Qn===""&&Cr.setCursor(tn.line,tn.ch+1),Cr.focus();case"code":return Cr.replaceSelection("`"+Qn+"`"),Qn===""&&Cr.setCursor(tn.line,tn.ch+1),Cr.focus();case"inline-latex":return za("inline-latex"),Cr.focus();case"latex":return Cr.replaceSelection("```latex\n"+Qn+"\n```"),Cr.setCursor(tn.line+1,Qn.length+1),Cr.focus();case"line-break":return Cr.replaceSelection(`<br/>
`),Cr.focus();case"list-ul":return Qn===""?Cr.replaceSelection("- "+Qn):Cr.replaceSelection(Ar.map(Xr=>Xr===""?"":`- ${Xr}`).join(`
`)),Cr.focus();case"list-ol":return Qn===""?Cr.replaceSelection("1. "+Qn):Cr.replaceSelection(Ar.map((Xr,Lr)=>Xr===""?"":`${Lr+1}. ${Xr}`).join(`
`)),Cr.focus();case"add-null-ch":return Qn===""&&Cr.setCursor(tn.line,tn.ch),Cr.replaceSelection(Ii),Cr.focus();case"add-signal":return Qn===""&&Cr.setCursor(tn.line,tn.ch),Cr.replaceSelection(sn),Cr.focus();case"add-multiple":return Qn===""&&Cr.setCursor(tn.line,tn.ch),Cr.replaceSelection(ta),Cr.focus();case"inster-template-1":return Qn===""&&Cr.setCursor(tn.line,tn.ch),Cr.replaceSelection(KA),Cr.focus();case"eraser":return Cr.setValue(""),Cr.focus();case"trigger-watch":return kr(!el),Cr.focus();case"trigger-full-screen":return Fo(!Ua),Cr.focus();case hr:za(hr);return;case Aa:za(Aa);return;case tr:za(tr);return;case Dr:za(Dr);return;case"maths-latex":za("maths-latex");return;case Nr:za(Nr);return;case Hr:za(Hr);return;default:throw new Error}},[Cr,el,Ua]),hs=(0,Oe.useCallback)((Dt,tn)=>{var Qn,Ar,Xr,Lr,mr,Fr;switch(za(""),Ea){case hr:const{title:Wi,link:ii}=Dt;return Cr.replaceSelection(`[${Wi}](${ii})`),Cr.focus();case Aa:const{language:pi,content:ha}=Dt;return Cr.replaceSelection(["```"+pi,ha,"```"].join(`
`)),Cr.focus();case"maths-latex":for(var ca=atob(Dt),Ma=new Uint8Array(ca.length),Ro=0;Ro<ca.length;Ro++)Ma[Ro]=ca.charCodeAt(Ro);var la=new Blob([Ma],{type:"image/png"});(0,Et.I)(la,VA=>{VA.id?Cr.replaceSelection(`![,](/api/attachments/${VA.id}?type=${VA.content_type})`):(VA==null?void 0:VA.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Cr.replaceSelection("`$$"+Dt+"$$`");break;case tr:case Dr:case sa:const{src:Na,alt:ja}=Dt,_a=tn,xo=(Xr=(Ar=(Qn=_a==null?void 0:_a.name)==null?void 0:Qn.split("."))==null?void 0:Ar.pop)==null?void 0:Xr.call(Ar);return((Lr=_a==null?void 0:_a.type)==null?void 0:Lr.indexOf("image"))>-1||!(_a!=null&&_a.type)?_a.align||_a.width?Cr.replaceSelection(`<p style="text-align:${_a.align||"initial"}"><img width="${_a.width?_a.width+"%":"initial"}" src="${Na}" alt="${ja||""}" /></p>`):Cr.replaceSelection(`<img width="100%" src="${Na}" alt="${ja||""}" />`):((mr=_a==null?void 0:_a.type)==null?void 0:mr.indexOf("video"))>-1?Cr.replaceSelection(`<video width="100%" controls src="${Na}"></video>`):((Fr=_a==null?void 0:_a.type)==null?void 0:Fr.indexOf("pdf"))>-1?Cr.replaceSelection(`<a href="${Na}?type=${_a.type}&disposition=inline" target="_blank">${_a.name}</a>`):mA.includes(xo)?Cr.replaceSelection(`<a href="${Na}?type=office&disposition=inline" target="_blank">${_a.name}</a>`):Cr.replaceSelection(`[${_a.name}](${Na})`),Cr.focus();case Hr:const{row:So,col:WA,align:fl}=Dt;let sA=`
`;for(let VA=0;VA<So;VA++){let tl=[],nl=[];for(let rl=0;rl<WA;rl++)VA===1&&nl.push(Qr[fl]),tl.push(" ");VA===1&&(sA+=`| ${nl.join(" | ")} |
`),sA+=`| ${tl.join(WA===1?"":" | ")} |
`}return Cr.replaceSelection(sA+`
`),Cr.focus();default:throw new Error}},[Cr,Ea]),lu=(0,Oe.useMemo)(()=>{switch(Ea){case hr:return Oe.createElement(an,{callback:hs,onCancel:as});case Aa:return Oe.createElement(fn.Z,{callback:hs,onCancel:as});case tr:return Oe.createElement(Et.Z,{callback:hs,onCancel:as});case Nr:return Oe.createElement(gt,{callback:hs,onCancel:as});case Hr:return Oe.createElement(ot,{callback:hs,onCancel:as});case"maths-latex":return Oe.createElement(Nt,{showSaveButton:!0,callback:hs});case"inline-latex":return Oe.createElement(yn.Z,{showSaveButton:!0,callback:hs});default:return null}},[Ea]);function as(){za("")}(0,Oe.useEffect)(()=>{if(ku.current){let Dt=function(mr){Xr=!0,Lr=mr.pageY},tn=function(){Xr=!1},Qn=function(mr){if(Xr){let Fr=mr.pageY-Lr;Fr<0&&(Fr=0),Fr>300&&(Fr=300);let ca=Tr+Fr+"px";rs(ca)}},Ar=ku.current,Xr=!1,Lr=0;return Ar.addEventListener("mousedown",Dt),document.addEventListener("mousemove",Qn),document.addEventListener("mouseup",tn),()=>{Ar.removeEventListener("mousedown",Dt),document.removeEventListener("mousemove",Qn),document.removeEventListener("mouseup",tn)}}},[Cr,ku]),(0,Oe.useEffect)(()=>{rs(Tr)},[Tr]);const UA=IA(vn),ic=IA(ns),zl={width:UA,height:ic},bA=(0,Oe.useMemo)(()=>{if(mi){let Dt=new Date(mi),tn=Dt.getHours(),Qn=Dt.getMinutes(),Ar=Dt.getSeconds();return tn=tn<10?"0"+tn:tn,Qn=Qn<10?"0"+Qn:Qn,Ar=Ar<10?"0"+Ar:Ar,`${tn}:${Qn}:${Ar}`}return 0},[mi]),ZA=Dt=>{const tn=[];if(Qi){let Qn=-1;Dt=Dt.replace(/(@▁▁@|@▁@)/g,function(Ar,Xr,Lr){tn.push({multiLine:Ar!==sn})})}return tn};function Rc(){window.sessionStorage.removeItem(Uo),Ds(!1),pa(0)}function uu(){Ds(!1),pa(0),Cr.setValue(window.sessionStorage.getItem(Uo))}(0,Oe.useEffect)(()=>{yA[Ea]&&Ea!==Dr&&Ea!==Nr&&setTimeout(()=>{const Dt=document.getElementsByClassName("markdown-popup-form")[0],tn=window.innerWidth/2-Dt.offsetWidth/2,Qn=window.innerHeight/2-Dt.offsetHeight/2;Tc(tn),Tu(Qn)},0)},[Ea]);const jc=Dt=>{Dt.preventDefault();const tn=Dt.clientX-_l,Qn=Dt.clientY-Qu;document.body.onmousemove=Ar=>{let Xr=Ar.clientX-tn,Lr=Ar.clientY-Qn;const mr=document.getElementsByClassName("markdown-popup-form")[0],Fr=window.innerWidth-mr.offsetWidth,ca=window.innerHeight-mr.offsetHeight;Xr=Math.max(0,Math.min(Xr,Fr)),Lr=Math.max(0,Math.min(Lr,ca)),wn(Ar.clientX,Ar.clientY,tn,Qn)&&(Tc(Xr),Tu(Lr))},document.body.onmouseup=function(){document.body.onmousemove=null}},wn=(Dt,tn,Qn,Ar)=>{const Xr=document.body.clientHeight,Lr=document.body.clientWidth;return Dt<20&&Qn>Dt||Dt>Lr-20&&Qn<Dt||tn<20&&Ar>tn||tn>Xr-20&&Ar<tn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{className:"markdown-editor-wrapper",ref:gl},Oe.createElement("div",{className:`markdown-editor-container ${zA} ${el?"on-preview":""} ${Pa?"mini":""} ${Ua?"full-screen":""}`,style:zl},Oe.createElement(Qe,{insertTemp:vo,watch:el,fullScreen:Ua,showNullButton:Qo,showNullProgramButton:Qi,onActionCallback:su,hidetoolBar:ci,extraUse:$A}),Oe.createElement("div",{className:"markdown-editor-body"},Oe.createElement("div",{className:"codemirror-container"},Oe.createElement("textarea",{ref:Au,placeholder:fs})),el?Oe.createElement("div",{ref:An,className:"preview-container"},Go==="stex"&&Oe.createElement(Fe,{value:Su,style:{color:"#ddd"}}),Go!=="stex"&&Oe.createElement(Ie.Z,{style:{color:"#ddd"},disabledFill:yi,showProgramFill:Qi,value:Su})):null))),wA?Oe.createElement("a",{ref:ku,className:"editor-resize"}):null,Ea===Dr&&Oe.createElement(Vn,{callback:hs,onCancel:as}),Ea===Nr&&Oe.createElement(gt,{callback:hs,onCancel:as}),Oe.createElement(Ze.Z,null,yA[Ea]&&Ea!==Dr&&Ea!==Nr?Oe.createElement(qt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:_l,top:Qu},title:Oe.createElement("div",{style:{cursor:"move"},onMouseDown:jc},yA[Ea]),open:!0,onCancel:as,footer:null,destroyOnClose:!0,width:Ea===Nr?"1200px":null,height:Ea===Nr?"80vh":null,className:"markdown-popup-form"},lu):null))}},45053:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Pe},I:function(){return Ze}});var Oe=we(78241),be=we(8591),ze=we(92832),at=we(81327),Ge=we(5871),je=we(5112),me=we(3113),Se=we(28735),Le=we(59301),de=we(41867),Ie=we(59301),Fe=Object.defineProperty,Ce=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,E=(Ve,nt,De)=>nt in Ve?Fe(Ve,nt,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ve[nt]=De,te=(Ve,nt)=>{for(var De in nt||(nt={}))a.call(nt,De)&&E(Ve,De,nt[De]);if(y)for(var De of y(nt))ee.call(nt,De)&&E(Ve,De,nt[De]);return Ve},ne=(Ve,nt)=>Ce(Ve,ie(nt));const{useForm:oe}=Oe.default,he={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ve,onCancel:nt})=>{const[De]=oe();let St=(0,Le.useRef)();function ke(rt){St.current.width=De.getFieldValue("width"),St.current.align=De.getFieldValue("align"),Ve(rt,St.current)}function Ot(rt,wt){if(rt.status===-1){be.ZP.error(rt.message);return}De.setFieldsValue({src:`/api/attachments/${rt.id}`,type:wt.type})}function it(rt){let wt=rt.target.files[0];St.current=wt,Ze(wt,Ot)}return Ie.createElement(Oe.default,ne(te({form:De},_e),{className:"upload-image-panel",onFinish:ke,style:{width:470,overflow:"hidden"}}),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ie.createElement("div",{className:"flex-container"},Ie.createElement(Oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ie.createElement(ze.default,{style:he})),Ie.createElement(Qe,{onFileChange:it}))),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ie.createElement(ze.default,{style:{width:264}})),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ie.createElement(at.Z,null,Ie.createElement(Oe.default.Item,{name:"width",style:{margin:0}},Ie.createElement(Ge.Z,{style:{width:264}})),Ie.createElement("span",{className:"ml8"},"%"))),Ie.createElement(Oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ie.createElement(je.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ie.createElement("aside",null,Ie.createElement(Oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ie.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(me.ZP,{type:"default",onClick:nt},"\u53D6\u6D88"))))};function Qe({onFileChange:Ve}){return Ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ie.createElement("input",{type:"file",onChange:Ve}))}function Ze(Ve,nt){if(!Ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,de.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let De=new FormData;De.append("editormd-image-file",Ve),De.append("file_param_name","editormd-image-file"),De.append("byxhr","true");var St=new window.XMLHttpRequest;St.withCredentials=!0,St.addEventListener("load",function(ke){nt(JSON.parse(ke.target.responseText),Ve)},!1),St.addEventListener("error",function(ke){console.error(ke)},!1),St.open("POST",`${Se.KI}/api/attachments.json`),St.send(De)}},57261:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ze}});var Oe=we(59301),be=we(4676);class ze extends Oe.Component{constructor(Ge){super(Ge);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:Ge}=this.props;return(0,be.createPortal)(Ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},31103:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(ze,at){const Ge=(0,Oe.useRef)();(0,Oe.useEffect)(()=>{Ge.current=ze}),(0,Oe.useEffect)(()=>{function je(){Ge.current()}if(at!==null){let me=setInterval(je,at);return()=>clearInterval(me)}},[at])}},52217:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(38147),at=we(65582),Ge=we(41867),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Se=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Se)},19990:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{default:function(){return jc}});var Oe=we(2337),be=we(59301),ze=we(65582),at=we(66649),Ge=we.n(at),je=we(86129),me=we.n(je),Se=we(38147),Le=we(43418),de=we(8591),Ie=we(61621),Fe=we(66104),Ce=we(3113),ie=we(6848),y=we(92832),a=we(28103),ee=we(95237),E=we(43604),te=we(1710),ne=we(57809),oe=we(58421),he=we(95869),_e=we(87169),Pe=we(26227),Qe=we(74128),Ze=we(41867),Ve=we(65862),nt=we(42441),De={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},St={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const ke=({shixunHomeworks:wn,data:Dt,globalSetting:tn,loading:Qn,dispatch:Ar})=>{var Xr;const{shixunWorkReport:Lr}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const Fr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ma){return Ma.name===Lr.username?"\u59D3\u540D\uFF1A"+Lr.username+"<br/>\u5B66\u53F7\uFF1A "+Lr.user_id+"<br/>\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ma.name+":"+Ma.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Lr.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),ca=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ma){var Ro=Ma.value;if(Ma.name===Lr.username)return"\u59D3\u540D\uFF1A"+Lr.username+"<br/>\u5B66\u53F7\uFF1A "+Lr.user_id+"<br/>\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:St,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ma){return Math.round(Ma[2])},markPoint:{data:[{name:Lr.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:Fr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Lr.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Lr.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:ca()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Lr.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Lr.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Ot=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:tn})=>({shixunHomeworks:wn,globalSetting:tn,loading:Dt.effects}))(ke),it=we(50258),rt=we(5871),wt=({defaultValue:wn,onBlur:Dt,max:tn,className:Qn="game-score"})=>{const[Ar,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Lr(Fr){Xr(Fr)}function mr(){Ar!==wn&&Dt(Ar>tn?tn:Ar)}return be.createElement(rt.Z,{max:tn,min:0,className:Qn,value:Ar,onChange:Lr,onBlur:mr})},dt=we(96565),pt={md:"md___GIQyK"},st=we(59301),ft=Object.defineProperty,an=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Hn=(wn,Dt,tn)=>Dt in wn?ft(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,un=(wn,Dt)=>{for(var tn in Dt||(Dt={}))qt.call(Dt,tn)&&Hn(wn,tn,Dt[tn]);if(Et)for(var tn of Et(Dt))Ln.call(Dt,tn)&&Hn(wn,tn,Dt[tn]);return wn},Vn=(wn,Dt)=>an(wn,fn(Dt));const yt=ne.default.Option,Kn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var er=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(er||{});function Re(wn,Dt){switch(Dt.type){case 0:return Vn(un({},wn),{selectedPath:Dt.payload});case 1:return Vn(un({},wn),{passedContent:Dt.payload});default:throw new Error}}var Kt=({path:wn,game_id:Dt,onPathChange:tn,autoHeight:Qn,diff_code_count:Ar,data:Xr,game_codes_cn:Lr})=>{var mr,Fr,ca,Ma;const Ro=wn.split("\uFF1B").filter(ja=>!!ja),[la,Wi]=(0,be.useReducer)(Re,{selectedPath:Ro[0],passedContent:{language:"python",content:""}}),{selectedPath:ii,passedContent:pi}=la;function ha(ja){Wi({type:0,payload:ja})}const Na={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return st.createElement(st.Fragment,null,st.createElement("h2",null," ",st.createElement("span",null,Lr,st.createElement(ie.Z,{title:st.createElement("div",null,st.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),st.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),st.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),st.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},st.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Ar&&st.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Ar),st.createElement("span",null,st.createElement(ne.default,{style:{width:200},value:ii,onChange:ha}," ",Ro.map(ja=>st.createElement(yt,{key:ja,value:ja},ja))," "))," "),(ii==null?void 0:ii.split(".")[1])==="md"&&st.createElement(dt.Z,{height:300,autoHeight:Qn,defaultValue:((Fr=(mr=Xr==null?void 0:Xr.filter(ja=>ja.path===ii))==null?void 0:mr[0])==null?void 0:Fr.content)||"",className:pt.md}),(ii==null?void 0:ii.split(".")[1])!=="md"&&st.createElement(it.ZP,{height:300,language:pi.language,value:((Ma=(ca=Xr==null?void 0:Xr.filter(ja=>ja.path===ii))==null?void 0:ca[0])==null?void 0:Ma.content)||"",autoHeight:Qn,theme:"default",isCopy:!0,options:Kn}))},Te=we(33270),pe=we(96249),ce=we.n(pe),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(wn,Dt,tn)=>Dt in wn?ye(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,Pt=(wn,Dt)=>{for(var tn in Dt||(Dt={}))gt.call(Dt,tn)&&Xe(wn,tn,Dt[tn]);if(qe)for(var tn of qe(Dt))Me.call(Dt,tn)&&Xe(wn,tn,Dt[tn]);return wn},ct=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const ot=({shixunHomeworks:wn,autoHeight:Dt,classroomList:tn,dispatch:Qn})=>{var Ar,Xr,Lr,mr,Fr,ca,Ma;const{shixunWorkReport:Ro}=wn,{stage_list:la,work_id:Wi}=Ro,[ii,pi]=(0,be.useState)(!1),[ha,Na]=(0,be.useState)(!0),[ja,_a]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),xo=(0,be.useRef)(null),[So,WA]=(0,be.useState)(!1),fl=(Zr,Fa)=>{var No;const{clientWidth:Ei,clientHeight:to}=window.document.documentElement,eA=(No=xo.current)==null?void 0:No.getBoundingClientRect();eA&&_a({left:-eA.left+Fa.x,right:Ei-(eA.right-Fa.x),top:-eA.top+Fa.y,bottom:to-(eA.bottom-Fa.y)})},sA=(0,ze.useParams)(),VA=(0,Ze.GJ)(),tl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(sA)},[]);const nl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Zr,Fa,No)=>be.createElement("div",null,Zr,Fa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Zr=>Ge()(Zr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Zr,Fa)=>be.createElement("span",{className:"c-blue current",onClick:()=>ct(void 0,null,function*(){var No,Ei;const to=yield(0,Te.Lk)(Fa.game_identifier,{path:(Ei=(No=Fa.path)==null?void 0:No.replace(/\/g,";"))==null?void 0:Ei.split(";")[0],query_index:Fa.query_index,homework_common_id:sA.categoryId});(to==null?void 0:to.status)===0&&(WA(to),pi(!0))})},Fa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],rl=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Zr,Fa)=>{var No;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((No=Fa==null?void 0:Fa.user)==null?void 0:No.image_url)}),Zr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Zr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Zr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Zr?Ge()(Zr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Zr,Fa){return ct(this,null,function*(){const{challenge_id:No}=la[Zr],Ei=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:sA.homeworkId,type:"report",score:Fa,challenge_id:No}});yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},sA)}),Ei.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Zr,Fa){return(0,Se.U2)(`student_works/${Wi}/rep_passed_content.json`,{path:Fa,game_id:Zr})}const al=Ro.shixun_detail;return be.createElement(be.Fragment,null,al==null?void 0:al.map(function(Zr,Fa){var No,Ei;return be.createElement("div",{key:Fa},be.createElement("aside",{className:"pl30 pr30",key:Fa},be.createElement("div",{className:`${De.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",Fa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${sA.coursesId}/${sA.categoryId}/${Zr.game_identifier}`},Zr.subject))),VA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(wt,{className:"game-score",max:la[Fa].game_score_full,defaultValue:la[Fa].game_score,onBlur:to=>{var eA;if((0,Ze.Rm)()&&!((eA=tn.AssistantObject.practice)!=null&&eA.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(Fa,to)}})):null),be.createElement("div",{className:"font16 mt10"},Zr.st===0&&(Zr.path?typeof(Zr==null?void 0:Zr.game_codes_cn)=="string"?be.createElement("aside",{className:De.shixunWrp},be.createElement(Kt,{game_codes_cn:Zr==null?void 0:Zr.game_codes_cn,autoHeight:Dt,path:Zr.path,game_id:Zr.id,data:Zr.game_codes,diff_code_count:Zr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Zr.st===1&&(Zr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(No=Zr.outputs)!=null&&No.length?be.createElement(te.default,{columns:nl,pagination:{hideOnSinglePage:!0},dataSource:Zr.outputs.map(to=>Pt(Pt({},Zr),to))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Ei=Zr==null?void 0:Zr.adjust_review_score_list)==null?void 0:Ei.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Zr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:ii,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{WA({}),pi(!1)},onCancel:()=>{WA({}),pi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ha&&Na(!1)},onMouseOut:()=>{Na(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Zr=>be.createElement(ce(),{disabled:ha,bounds:ja,nodeRef:xo,onStart:(Fa,No)=>fl(Fa,No)},be.createElement("div",{ref:xo},Zr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((Ar=So==null?void 0:So.data)==null?void 0:Ar.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=So==null?void 0:So.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Lr=So==null?void 0:So.data)==null?void 0:Lr.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=So==null?void 0:So.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Fr=So==null?void 0:So.data)==null?void 0:Fr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ca=So==null?void 0:So.data)==null?void 0:ca.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ma=So==null?void 0:So.data)==null?void 0:Ma.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((So==null?void 0:So.content)||""))),options:tl})))};var kt=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:tn,classroomList:Qn})=>({shixunHomeworks:wn,globalSetting:tn,loading:Dt.effects,classroomList:Qn}))(ot),_n=we(78241),_t={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},rn=we(27185),Nt=we(59301),yn=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,tr=(wn,Dt,tn)=>Dt in wn?yn(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,Nr=(wn,Dt)=>{for(var tn in Dt||(Dt={}))Jn.call(Dt,tn)&&tr(wn,tn,Dt[tn]);if(Yt)for(var tn of Yt(Dt))hr.call(Dt,tn)&&tr(wn,tn,Dt[tn]);return wn},Dr=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const sa=({shixunHomeworks:wn,dispatch:Dt,classroomList:tn})=>{const{shixunWorkReport:Qn}=wn,Ar=(0,ze.useParams)(),[Xr,Lr]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[Fr,ca]=Le.default.useModal(),[Ma,Ro]=(0,be.useState)(!1),[la,Wi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ha,Na,ja,_a;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Na=(ha=wn.actionTabs.selectArrs)==null?void 0:ha.data)==null?void 0:Na.work_comment,hidden_comment:(_a=(ja=wn.actionTabs.selectArrs)==null?void 0:ja.data)==null?void 0:_a.work_comment_hidden})},[wn.actionTabs.key]);const ii=()=>Dr(void 0,null,function*(){const ha=mr.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${Ar.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ha.hidden_comment,comment:ha.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Nr({},Ar)}))}),pi=[{title:"\u5173\u5361",dataIndex:"name",render:(ha,Na,ja)=>ja+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ha,Na,ja)=>Nt.createElement("div",null,ha,Na.complete_status===4&&Nt.createElement(Ve.vA,{status:Na.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ha=>ha?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ha,Na)=>Nt.createElement("div",null,Nt.createElement("span",{style:{color:parseFloat(Na.game_score_full)!==parseFloat(ha)?"#E30000":"#53C41B"}},ha),"/",Na.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ha,Na)=>(0,Ze.GJ)()?Nt.createElement(wt,{max:Na.game_score_full,defaultValue:parseFloat(ha),onBlur:ja=>Dr(void 0,null,function*(){var _a,xo;if((0,Ze.Rm)()&&!((_a=tn.AssistantObject.practice)!=null&&_a.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const So=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:Ar.homeworkId,type:"report",score:ja,challenge_id:Na.challenge_id}});(xo=wn==null?void 0:wn.actionTabs)==null||xo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Nr({},Ar)}),So.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ha}];return Nt.createElement(Nt.Fragment,null,ca,Nt.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Dr(void 0,null,function*(){var ha;if((0,Ze.Rm)()&&!((ha=tn.AssistantObject.practice)!=null&&ha.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Na=mr.getFieldsValue();JSON.stringify(Na)==="{}"||Na.hidden_comment===""&&Na.comment===""?Lr(!0):ii()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Nt.createElement(ee.Z,{justify:"space-between",className:_t.info},Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u59D3\u540D"),Nt.createElement("span",{className:_t.blackContent},Qn==null?void 0:Qn.username)),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5B66\u53F7"),Nt.createElement("span",{className:_t.blackContent},(Qn==null?void 0:Qn.student_id)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u73ED\u7EA7"),Nt.createElement("span",{className:_t.blackContent},(Qn==null?void 0:Qn.group_name)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5173\u5361\u5F97\u5206"),Nt.createElement("span",{className:_t.orangeContent},(Qn==null?void 0:Qn.challenge_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6548\u7387\u5206"),Nt.createElement("span",{className:_t.orangeContent},(Qn==null?void 0:Qn.eff_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u8865\u4EA4\u6263\u5206"),Nt.createElement("span",{className:_t.orangeContent},(Qn==null?void 0:Qn.late_penalty)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Nt.createElement("span",{className:_t.orangeContent},(Qn==null?void 0:Qn.work_score)||"--"))),Nt.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Lr(!1)}},Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(rn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ma,onCancel:()=>{Ro(!1)}},onDataSelect:(ha,Na)=>Dr(void 0,[ha,Na],function*(ja,{node:_a}){const xo=()=>{mr.setFieldsValue({comment:_a==null?void 0:_a.value}),Ro(!1)};if(mr.getFieldValue("comment")){Fr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:xo});return}xo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ha=>{Ro(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(rn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:la,onCancel:()=>{Wi(!1)}},onDataSelect:(ha,Na)=>Dr(void 0,[ha,Na],function*(ja,{node:_a}){const xo=()=>{mr.setFieldsValue({hidden_comment:_a==null?void 0:_a.value}),Wi(!1)};if(mr.getFieldValue("hidden_comment")){Fr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:xo});return}xo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ha=>{Wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"hidden_comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&Nt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Nt.createElement("div",{className:_t.tableTitle},"\u5173\u5361\u6210\u7EE9"),Nt.createElement(te.default,{className:_t.scoreTable,dataSource:Qn.stage_list,rowKey:"challenge_id",pagination:!1,columns:pi,scroll:{x:"max-content"}})))};var Aa=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(sa),Hr=we(10669),wr=we(6339),Qr=we(88761),ea=we(44164),xa=we.n(ea),co={wrap:"wrap___rFTBy",line:"line___kZzhh"},qr=we(65078),Ii=({detailData:wn})=>{var Dt;return be.createElement("div",{className:co.wrap},be.createElement(qr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,qr.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(qr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,qr.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:co.line}),be.createElement(qr._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},ta=we(84454),sn=we(59301),KA=Object.defineProperty,mA=Object.defineProperties,IA=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,yA=(wn,Dt,tn)=>Dt in wn?KA(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,qi=(wn,Dt)=>{for(var tn in Dt||(Dt={}))bi.call(Dt,tn)&&yA(wn,tn,Dt[tn]);if(gs)for(var tn of gs(Dt))zs.call(Dt,tn)&&yA(wn,tn,Dt[tn]);return wn},En=(wn,Dt)=>mA(wn,IA(Dt)),On=(wn,Dt)=>{var tn={};for(var Qn in wn)bi.call(wn,Qn)&&Dt.indexOf(Qn)<0&&(tn[Qn]=wn[Qn]);if(wn!=null&&gs)for(var Qn of gs(wn))Dt.indexOf(Qn)<0&&zs.call(wn,Qn)&&(tn[Qn]=wn[Qn]);return tn},vn=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const Tr=wn=>{var Dt=wn,{shixunHomeworks:tn,classroomList:Qn,globalSetting:Ar,loading:Xr,user:Lr,dispatch:mr}=Dt,Fr=On(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),ca,Ma,Ro;const[la,Wi]=(0,be.useState)(qi({},(0,ze.useParams)())),ii=(0,ze.useParams)(),[pi,ha]=(0,be.useState)({page:1,page_size:10}),Na=(0,ze.useLocation)(),[]=(0,be.useState)([]),[ja,_a]=(0,be.useState)(),xo=(0,be.useRef)(),[So,WA]=(0,be.useState)(!1),[fl,sA]=(0,be.useState)(!0),[VA,tl]=(0,be.useState)(!1),[nl,rl]=(0,be.useState)(!1),{shixunWorkReport:Pn}=tn,[In,al]=(0,be.useState)(),[Zr,Fa]=(0,be.useState)([]),[No,Ei]=(0,be.useState)(),[to,eA]=(0,be.useState)("all"),ju=(0,Ze.GJ)(),[cu,Ll]=(0,be.useState)(new(me())),[ol,Gd]=(0,be.useState)(0),[Il,lA]=(0,be.useState)(!1),[Ac,NA]=(0,be.useState)(!1),[Mu,hl]=(0,be.useState)(!1),[Ul,qo]=(0,be.useState)(""),[yu,sc]=(0,be.useState)(!1),[fd,vA]=(0,be.useState)(!0),[Os,Nl]=(0,be.useState)(0),Gl=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Ci=(0,be.useRef)(),Cs=()=>vn(void 0,null,function*(){(Lr.userInfo.is_teacher||Lr.userInfo.admin)&&(sc(!0),vA(!1))});(0,be.useEffect)(()=>{var Pr;(0,Ze.Rm)()&&Qn.AssistantObject.practice&&!((Pr=Qn.AssistantObject.practice)!=null&&Pr.can_view)&&ze.history.replace("/403")},[(ca=Qn.AssistantObject.practice)==null?void 0:ca.can_view]),(0,be.useEffect)(()=>{Cs(),console.log("\u6253\u5370\u7684------",Pn),Ci.current=Pn==null?void 0:Pn.next_student_work_id,qo(Pn.repeat_minus_score)},[Pn,Lr]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Pn.work_score),Nl(Pn.work_score)},[Pn.work_score,Ul]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var Pr;if(Pn){let La=[];(Pr=Pn==null?void 0:Pn.target_test_sets)==null||Pr.map((sr,Ga)=>{var Co;(Co=sr==null?void 0:sr.targets)==null||Co.map((dA,Qs)=>{var YA;dA.name=sr==null?void 0:sr.name,dA.total_target_score=sr==null?void 0:sr.total_target_score,dA.actual_target_score=sr==null?void 0:sr.actual_target_score,dA.rowSpan=Qs===0?(YA=sr==null?void 0:sr.targets)==null?void 0:YA.length:0,dA.order=Ga+1,La.push(dA)})}),al(La),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:la.coursesId}})}},[Pn]),(0,be.useEffect)(()=>{tn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Pn==null?void 0:Pn.students_count)>0&&!fl&&setTimeout(()=>{Hu("all")},800)},[Pn==null?void 0:Pn.homework_common_id,fl]),(0,be.useEffect)(()=>{Wi(qi({},ii))},[Na.pathname]);const DA=()=>{document.body.scrollIntoView()},uA=Pr=>{pi.page=Pr,ha(qi({},pi)),cA(pi,to)},cA=(Pr,La)=>vn(void 0,null,function*(){tl(!0);const sr=yield(0,Se.ZP)(`/api/student_works/${la==null?void 0:la.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:En(qi({},Pr),{challenge_id:La=="all"?null:La})});(sr==null?void 0:sr.status)===0&&(Fa(sr==null?void 0:sr.list),Ei(sr==null?void 0:sr.count)),tl(!1)});function Dl(){return vn(this,null,function*(){Gl.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Mc=()=>{document.querySelectorAll("canvas").forEach(Pr=>{(!Pr.clientWidth||!Pr.clientHeight)&&Pr.remove()})},XA=Pr=>vn(void 0,null,function*(){const La=yield(0,Qr.t1)({homeworkId:Pr||la.homeworkId});_a(La==null?void 0:La.data)}),Hu=Pr=>vn(void 0,null,function*(){var La,sr,Ga,Co;let dA=0,Qs;Qs=Le.default.info({width:460,title:sn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",sn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},dA+1),"/",Pr!=="all"?1:Pn==null?void 0:Pn.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:De.modal,onOk:()=>{}});const YA={margin:[0,0],filename:`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?Pn==null?void 0:Pn.student_id:""}${Pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Zl=cu.folder(Pn==null?void 0:Pn.shixun_name);function il(Ps){return vn(this,null,function*(){yield XA(Ps||Ci.current);const Ai=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:qi({homeworkId:Ps||Ci.current},Gl.current||{})});Ci.current=Ai==null?void 0:Ai.next_student_work_id,DA(),dA++,setTimeout(()=>vn(this,null,function*(){var ml,Wo,os,Ya;Mc();const Ti=Zl.folder(`${Ai==null?void 0:Ai.group_name}`).folder(`${Ai!=null&&Ai.student_id&&(Ai==null?void 0:Ai.student_id)!="--"?Ai.student_id+"+":""}${Ai==null?void 0:Ai.username}`),Wl=document.querySelector("#export-all").children;let is=xa()();for(let PA=0;PA<Wl.length;PA++)yield is.set(YA).from(Wl[PA]).toContainer().toCanvas().toPdf().get("pdf").then(MA=>vn(this,null,function*(){PA<Wl.length-1&&(yield MA.addPage())}));if(Ti.file(`${Ai!=null&&Ai.student_id&&(Ai==null?void 0:Ai.student_id)!="--"?Ai.student_id+"+":""}${Ai==null?void 0:Ai.username}.pdf`,is.output("blob")),((ml=Ai==null?void 0:Ai.shixun_detail)==null?void 0:ml.length)>0&&((os=(Wo=Ai==null?void 0:Ai.shixun_detail)==null?void 0:Wo.filter(PA=>{var MA;return((MA=PA==null?void 0:PA.game_codes)==null?void 0:MA.length)>0}))==null?void 0:os.length)>0){const PA=Ti.folder("\u4EE3\u7801\u6587\u4EF6");(Ya=Ai==null?void 0:Ai.shixun_detail)==null||Ya.map((MA,ms)=>{var ps,uc;if(((ps=MA==null?void 0:MA.game_codes)==null?void 0:ps.length)>0){const Ql=PA.folder(`\u7B2C${ms+1}\u5173-${MA.subject}-${MA.id}`);(uc=MA==null?void 0:MA.game_codes)==null||uc.map(Vl=>{Ql.file(`${Vl.filename}.txt`,Vl==null?void 0:Vl.content)})}})}Qs.update({content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},dA),"/",Ai==null?void 0:Ai.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),dA==(Ai==null?void 0:Ai.students_count)?(Qs.destroy(),CA()):il()}),2200)})}if(Pr!=="all"||(Pn==null?void 0:Pn.students_count)<2){Mc(),DA();const Ps=xo.current.children;let Ai=xa()();const Wo=Zl.folder(`${Pn==null?void 0:Pn.group_name}`).folder(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn==null?void 0:Pn.username}`);for(let os=0;os<Ps.length;os++)yield Ai.set(YA).from(Ps[os]).toContainer().toCanvas().toPdf().get("pdf").then(Ya=>vn(void 0,null,function*(){os<Ps.length-1&&(yield Ya.addPage())}));if(WA(!1),Wo.file(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn.username}.pdf`,Ai.output("blob"),{base64:!1}),((La=Pn==null?void 0:Pn.shixun_detail)==null?void 0:La.length)>0&&((Ga=(sr=Pn==null?void 0:Pn.shixun_detail)==null?void 0:sr.filter(os=>{var Ya;return((Ya=os==null?void 0:os.game_codes)==null?void 0:Ya.length)>0}))==null?void 0:Ga.length)>0){const os=Wo.folder("\u4EE3\u7801\u6587\u4EF6");(Co=Pn==null?void 0:Pn.shixun_detail)==null||Co.map((Ya,Vi)=>{var Ti,Wl;if(((Ti=Ya==null?void 0:Ya.game_codes)==null?void 0:Ti.length)>0){const is=os.folder(`\u7B2C${Vi+1}\u5173-${Ya.subject}-${Ya.id}`);(Wl=Ya==null?void 0:Ya.game_codes)==null||Wl.map(PA=>{is.file(`${PA.filename}.txt`,PA==null?void 0:PA.content)})}})}Qs.destroy(),CA();return}else il(Pn==null?void 0:Pn.first_student_work_id)}),CA=()=>{cu.generateAsync({type:"blob"}).then(function(Pr){console.log(Pn,"shixunWorkReport");const La=document.createElement("a");La.href=window.URL.createObjectURL(Pr),La.download=(Pn==null?void 0:Pn.shixun_name)+".zip",document.body.appendChild(La);const sr=document.createEvent("MouseEvents");sr.initEvent("click",!1,!1),La.dispatchEvent(sr),document.body.removeChild(La),Ll(new(me()))}),rl(!1)};(0,be.useEffect)(()=>{Ol()},[la.homeworkId]);const Ol=()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:qi(qi({},la),Gl.current||{})}),XA(),(0,Ze.GJ)()&&Dl(),sA(!1)}),tA=[{title:"\u5173\u5361",dataIndex:"name",render:(Pr,La,sr)=>sr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Pr,La,sr)=>sn.createElement("div",null,Pr,La.complete_status===4&&sn.createElement(Ve.vA,{status:La.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Pr,La,sr)=>Pr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Pr=>Pr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Pr,La)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(La.myself_experience)!==parseFloat(Pr)?"red":"green"}},La.myself_experience),"/",Pr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Pr,La)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(La.game_score_full)!==parseFloat(Pr)?"red":"green"}},Pr),"/",La.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Pr,La)=>ju?sn.createElement(wt,{max:La.game_score_full,defaultValue:parseFloat(Pr),onBlur:sr=>vn(void 0,null,function*(){var Ga;if((0,Ze.Rm)()&&!((Ga=Qn.AssistantObject.practice)!=null&&Ga.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Co=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:la.homeworkId,type:"report",score:sr,challenge_id:La.challenge_id}});cA({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:qi(qi({},la),Gl.current||{})}),Co.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Pr}];let lc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Pr,La,sr)=>({children:Pr,props:{rowSpan:La.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Pr,La,sr)=>({children:Pr,props:{rowSpan:La.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Pr,La,sr)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(La.actual_test_score)!==parseFloat(Pr)?"red":"green"}},La.actual_test_score),"/",Pr)},{title:"\u6307\u6807\u603B\u5206",render:(Pr,La,sr)=>({children:sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(La.actual_target_score)!==parseFloat(Pr)?"red":"green"}},La.actual_target_score),"/",Pr),props:{rowSpan:La.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const du=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Pr=>sn.createElement("span",null,Pr?Ge()(Pr).format("YYYY-MM-DD HH:mm"):"--")}],gu=Pr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Pr==="next"?ze.history.push(`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/${Pn==null?void 0:Pn.next_student_work_id}/comment`):ze.history.push(`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/${Pn==null?void 0:Pn.pre_student_work_id}/comment`)},200)},Hc=Pr=>{qo(""),Pr.target.value&&(console.log("\u8FDB\u6765",Pn),Pr.target.value=Pr.target.value>Pn.repeat_setting_score?Pn.repeat_setting_score:Pr.target.value,qo(Pr.target.value))},$l=()=>vn(void 0,null,function*(){const Pr=yield(0,Se.ZP)(`/api/student_works/${Pn==null?void 0:Pn.work_id}/update_repeat_score`,{method:"put",body:{score:Ul}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:qi(qi({},la),Gl.current||{})}),Pr.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return sn.createElement("section",{style:{minHeight:"100vh",background:`url(${we(26528)}) center / cover no-repeat`}},sn.createElement("div",{className:"edu-container pb-60px"},sn.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Pn.course_id&&sn.createElement("section",{className:"animated fadeIn pt-10px"},Pn.category&&sn.createElement(Fe.Z,{separator:">",items:[{title:sn.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework`}," ",Pn.course_name)},{title:sn.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.category.main?"":Pn.category.category_id}`}," ",Pn.category.category_name)},{title:sn.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Pn.username}]}),sn.createElement("div",{className:"mt20 flex item-center gap-10px"},sn.createElement("strong",{className:"font20"}," ",Pn==null?void 0:Pn.homework_name," "),sn.createElement(Ve.VV,{temporary:!0,status:Pn.homework_status}),sn.createElement("div",{className:"ml-auto flex item-center gap-10px"},Pn.view_tpi&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Pr,La;(0,Ve.xg)(`/tasks/${Pn==null?void 0:Pn.course_id}/${Pn==null?void 0:Pn.homework_common_id}/${(La=(Pr=Pn==null?void 0:Pn.shixun_detail)==null?void 0:Pr[0])==null?void 0:La.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ze.GJ)()&&Pn.homework_end===!1&&!!Pn.myshixun_id&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Pn.myshixun_identifier},homework_common_id:ii.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Pr;if((0,Ze.Rm)()&&!((Pr=Qn.AssistantObject.practice)!=null&&Pr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Hu("")},loading:So},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(Pn==null?void 0:Pn.students_count)>1&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Pr;if((0,Ze.Rm)()&&!((Pr=Qn.AssistantObject.practice)!=null&&Pr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:sn.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:sn.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Hu("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,ta.jj)({categoryId:la.categoryId,coursesId:la.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),sn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},sn.createElement("div",{id:"export-all",ref:xo},sn.createElement("div",{id:"export-all-1"},sn.createElement("div",{className:"flex item-center"},sn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ze.GJ)()&&sn.createElement(Ce.ZP,{className:`ml-auto rounded-4px ${De.NewButtonStyle}`,type:"primary",icon:sn.createElement(he.Z,{rev:void 0}),onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:qi({},Pn)},fn:()=>cA({page:1,page_size:10},"all")}})}}," ",Pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),sn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},sn.createElement("div",{className:"flex flex-col justify-center item-center"},sn.createElement("div",{className:"flex flex-col item-center"},sn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Qe.Z.IMG_SERVER}/images/${Pn.image_url}`,alt:Pn.username}),sn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},sn.createElement(Ve.vA,{status:Pn.compelete_status}))),sn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Pn.username),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",sn.createElement("span",{className:"ml10 c-grey-333"},Pn.student_id||"--")),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",sn.createElement("span",{className:"ml10 c-grey-333"},Pn.group_name||"--"))),sn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},sn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},Pn.complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},Pn.current_complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.efficiency===null?"--":Pn&&Pn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.max_efficiency===null?"--":Pn&&Pn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},Pn.challenge_score),"/",sn.createElement("span",{className:"c-light-black"},Pn.challenge_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)},{title:"\u6548\u7387\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},Pn.eff_score),"/",sn.createElement("span",{className:"c-light-black"},Pn.eff_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)}].map((Pr,La)=>!(Pr!=null&&Pr.hidden)&&sn.createElement("div",{key:La,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},Pr==null?void 0:Pr.children),sn.createElement("div",{style:{color:"#8E8E8E"}},Pr==null?void 0:Pr.title)))),sn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Pr=>{lA(!0)}})),children:Pn==null?void 0:Pn.human_training_time_rules},{title:sn.createElement(sn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Pr=>{NA(!0)}})),children:Pn==null?void 0:Pn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Pn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null," \u67E5\u91CD\u6263\u5206",Pn!=null&&Pn.review_rate?sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Pn!=null&&Pn.review_id&&yu&&(localStorage.setItem("studentDetial",window.location.pathname),ze.history.push(`/classrooms/:coursesId/shixun_homework/${la.categoryId}/review_detail/${Pn==null?void 0:Pn.review_id}`))}}," ",Pn.review_rate.toFixed(1),"% "):sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:sn.createElement(sn.Fragment,null,(Pn==null?void 0:Pn.repeat_minus_score)!==0?"- -":sn.createElement(sn.Fragment,null,yu?sn.createElement(sn.Fragment,null,sn.createElement(y.default,{style:{width:"45px",height:"22px"},value:Ul,onChange:Pr=>{Hc(Pr)},onBlur:$l,disabled:fd})," / ",Pn==null?void 0:Pn.repeat_setting_score):sn.createElement(sn.Fragment,null," ",Pn==null?void 0:Pn.repeat_minus_score," / ",Pn==null?void 0:Pn.repeat_setting_score," "))),hidden:!(Pn!=null&&Pn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Pn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},Os),"/",sn.createElement("span",{className:"c-light-black"},Pn.all_work_score))}].map((Pr,La)=>!(Pr!=null&&Pr.hidden)&&sn.createElement("div",{key:La,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},Pr==null?void 0:Pr.children),sn.createElement("div",{style:{color:"#8E8E8E"}},Pr==null?void 0:Pr.title))))),sn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${we(55541)}) center / cover no-repeat`}},Pn.overall_appraisal)),sn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Pn.work_comment_hidden||Pn.work_comment)&&sn.createElement("div",null,sn.createElement(ee.Z,{align:"middle"},sn.createElement(E.Z,{flex:1},sn.createElement("h1",{className:De.title},"\u70B9\u8BC4\u5185\u5BB9")),sn.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&sn.createElement(Ce.ZP,{onClick:()=>vn(void 0,null,function*(){Le.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:sn.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return vn(this,null,function*(){(yield(0,Qr.gZ)({comment_id:Pn.comment_id,homeworkId:la.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:qi(qi({},la),Gl.current||{})}))})}})})},sn.createElement(Pe.Z,null),"\u5220\u9664"))),sn.createElement(a.Z,{style:{margin:0}}),Pn.work_comment&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(wr.Z,{value:Pn.work_comment})),Pn.work_comment_hidden&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(wr.Z,{value:Pn.work_comment_hidden}))),(Pn==null?void 0:Pn.action_analysis)&&sn.createElement(Ii,{detailData:Pn}),sn.createElement("div",{className:De.score},sn.createElement("h1",{className:De.title},"\u9636\u6BB5\u6210\u7EE9"),(Pn==null?void 0:Pn.adjust_review_score_count)>0&&(0,Ze.GJ)()&&sn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{hl(!0),cA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Pn==null?void 0:Pn.adjust_review_score_count,"\u6B21\uFF09")),sn.createElement(te.default,{className:De.TableStyle,dataSource:Pn.stage_list,rowKey:Pr=>Pr==null?void 0:Pr.challenge_id,pagination:!1,columns:tA}),((Ma=Pn==null?void 0:Pn.target_test_sets)==null?void 0:Ma.length)>0&&sn.createElement("div",null,sn.createElement("h1",{className:De.title},"\u6307\u6807\u6210\u7EE9"),sn.createElement(te.default,{className:De.TableStyle,dataSource:In,rowKey:Pr=>Pr==null?void 0:Pr.challenge_id,pagination:!1,bordered:!0,columns:lc})),(Pn==null?void 0:Pn.work_description)&&sn.createElement(sn.Fragment,null,sn.createElement("h1",{className:De.title},"\u4E2A\u4EBA\u603B\u7ED3"),sn.createElement(wr.Z,{value:Pn==null?void 0:Pn.work_description})),sn.createElement("h1",{className:De.title},"\u56FE\u5F62\u7EDF\u8BA1"),sn.createElement(Ot,{data:ja}),sn.createElement("h1",{className:De.title},"\u5B9E\u8BAD\u8BE6\u60C5")),sn.createElement(kt,{autoHeight:nl}))))),(0,Ze.GJ)()&&sn.createElement("aside",{className:`sticky ${De.footerBar}`},sn.createElement("aside",{className:"edu-container flex item-center"},sn.createElement(ze.Link,{className:De.exitComment,to:`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),sn.createElement("div",{className:"ml-auto flex item-center gap-20px"},sn.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.pre_student_work_id),onClick:()=>gu()},"\u4E0A\u4E00\u4E2A"),sn.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.next_student_work_id),onClick:()=>gu("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&sn.createElement(Ce.ZP,{className:De.NewButtonStyle,type:"primary",onClick:()=>vn(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:qi({},Pn)},fn:()=>cA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),sn.createElement(Aa,null),sn.createElement(Hr.Z,null),sn.createElement(Le.default,{open:Il,width:860,centered:!0,onCancel:()=>{lA(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},sn.createElement("div",{style:{color:"#333333",fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),sn.createElement("br",null),sn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),sn.createElement("br",null),sn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),sn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),sn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),sn.createElement("br",null),sn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),sn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),sn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),sn.createElement("br",null),sn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),sn.createElement(Le.default,{open:Ac,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{NA(!1)},width:600},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),sn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),sn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),sn.createElement(Le.default,{open:Mu,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{eA("all"),hl(!1)},destroyOnClose:!0,width:900},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,sn.createElement("span",null,"\u5173\u5361\uFF1A"),sn.createElement(ne.default,{style:{width:300},value:to,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Pr=>vn(void 0,null,function*(){eA(Pr),cA({page:1,page_size:10},Pr)})},sn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(Ro=Pn==null?void 0:Pn.stage_list)==null?void 0:Ro.map((Pr,La)=>sn.createElement(ne.default.Option,{key:La,value:Pr==null?void 0:Pr.challenge_id},"\u7B2C",(0,Ve.EM)(La+1),"\u5173")))),sn.createElement("div",{className:"mt20"},sn.createElement(te.default,{dataSource:Zr,rowKey:Pr=>Pr==null?void 0:Pr.id,pagination:!1,columns:du,loading:VA})),sn.createElement("div",{className:De.footer},sn.createElement("div",null,sn.createElement("span",{style:{color:"#656F87"}},"\u5171",sn.createElement("span",{className:"c-light-primary"},No),"\u6761\u6570\u636E")),sn.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(pi==null?void 0:pi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:No,onChange:uA})))))};var Pa=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:tn,globalSetting:Qn,user:Ar})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:Qn,loading:tn.effects,user:Ar}))(Tr),$r={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt"},oi={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#01A89A"}};const vo=({shixunHomeworks:wn,data:Dt,globalSetting:tn,loading:Qn,dispatch:Ar})=>{var Xr;const{shixunWorkReport:Lr}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const Fr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,20,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{top:"15%",left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ma){return Ma.name===Lr.username?"\u59D3\u540D\uFF1A"+Lr.username+"<br/>\u5B66\u53F7\uFF1A "+Lr.user_id+"<br/>\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ma.name+":"+Ma.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#01A89A"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Lr.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),ca=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,0,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ma){var Ro=Ma.value;if(Ma.name===Lr.username)return"\u59D3\u540D\uFF1A"+Lr.username+"<br/>\u5B66\u53F7\uFF1A "+Lr.user_id+"<br/>\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#fff",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#fff"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},axisLine:{lineStyle:{color:"#fff"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:oi,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ma){return Math.round(Ma[2])},markPoint:{data:[{name:Lr.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:Fr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:$r.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Lr.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Lr.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:ca()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:$r.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Lr.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Lr.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Go=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:tn})=>({shixunHomeworks:wn,globalSetting:tn,loading:Dt.effects}))(vo),Uo=({defaultValue:wn,onBlur:Dt,max:tn,className:Qn="game-score"})=>{const[Ar,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Lr(Fr){Xr(Fr)}function mr(){Ar!==wn&&Dt(Ar>tn?tn:Ar)}return be.createElement(rt.Z,{max:tn,min:0,className:Qn,value:Ar,onChange:Lr,onBlur:mr})},wA={md:"md___TEmcT"},gr=we(59301),Qo=Object.defineProperty,Qi=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,Bi=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,pA=Object.prototype.propertyIsEnumerable,jA=(wn,Dt,tn)=>Dt in wn?Qo(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,zA=(wn,Dt)=>{for(var tn in Dt||(Dt={}))To.call(Dt,tn)&&jA(wn,tn,Dt[tn]);if(Bi)for(var tn of Bi(Dt))pA.call(Dt,tn)&&jA(wn,tn,Dt[tn]);return wn},Ns=(wn,Dt)=>Qi(wn,ci(Dt));const GA=ne.default.Option,yi={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var fs=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(fs||{});function Fl(wn,Dt){switch(Dt.type){case 0:return Ns(zA({},wn),{selectedPath:Dt.payload});case 1:return Ns(zA({},wn),{passedContent:Dt.payload});default:throw new Error}}var $A=({path:wn,game_id:Dt,onPathChange:tn,autoHeight:Qn,diff_code_count:Ar,data:Xr,game_codes_cn:Lr})=>{var mr,Fr,ca,Ma;const Ro=wn.split("\uFF1B").filter(ja=>!!ja),[la,Wi]=(0,be.useReducer)(Fl,{selectedPath:Ro[0],passedContent:{language:"python",content:""}}),{selectedPath:ii,passedContent:pi}=la;function ha(ja){Wi({type:0,payload:ja})}const Na={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return gr.createElement(gr.Fragment,null,gr.createElement("h2",null," ",gr.createElement("span",null,Lr,gr.createElement(ie.Z,{title:gr.createElement("div",null,gr.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),gr.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),gr.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),gr.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},gr.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Ar&&gr.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Ar),gr.createElement("span",null,gr.createElement(ne.default,{style:{width:200},value:ii,onChange:ha}," ",Ro.map(ja=>gr.createElement(GA,{key:ja,value:ja},ja))," "))," "),(ii==null?void 0:ii.split(".")[1])==="md"&&gr.createElement(dt.Z,{height:300,autoHeight:Qn,defaultValue:((Fr=(mr=Xr==null?void 0:Xr.filter(ja=>ja.path===ii))==null?void 0:mr[0])==null?void 0:Fr.content)||"",className:wA.md}),(ii==null?void 0:ii.split(".")[1])!=="md"&&gr.createElement(it.ZP,{height:300,language:pi.language,value:((Ma=(ca=Xr==null?void 0:Xr.filter(ja=>ja.path===ii))==null?void 0:ca[0])==null?void 0:Ma.content)||"",autoHeight:Qn,theme:"default",isCopy:!0,options:yi}))},Cr=Object.defineProperty,Dc=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,el=(wn,Dt,tn)=>Dt in wn?Cr(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,kr=(wn,Dt)=>{for(var tn in Dt||(Dt={}))Su.call(Dt,tn)&&el(wn,tn,Dt[tn]);if(Dc)for(var tn of Dc(Dt))Ou.call(Dt,tn)&&el(wn,tn,Dt[tn]);return wn},Ua=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const Fo=({shixunHomeworks:wn,autoHeight:Dt,classroomList:tn,dispatch:Qn})=>{var Ar,Xr,Lr,mr,Fr,ca,Ma;const{shixunWorkReport:Ro}=wn,{stage_list:la,work_id:Wi}=Ro,[ii,pi]=(0,be.useState)(!1),[ha,Na]=(0,be.useState)(!0),[ja,_a]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),xo=(0,be.useRef)(null),[So,WA]=(0,be.useState)(!1),fl=(Zr,Fa)=>{var No;const{clientWidth:Ei,clientHeight:to}=window.document.documentElement,eA=(No=xo.current)==null?void 0:No.getBoundingClientRect();eA&&_a({left:-eA.left+Fa.x,right:Ei-(eA.right-Fa.x),top:-eA.top+Fa.y,bottom:to-(eA.bottom-Fa.y)})},sA=(0,ze.useParams)(),VA=(0,Ze.GJ)(),tl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(sA)},[]);const nl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Zr,Fa,No)=>be.createElement("div",null,Zr,Fa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Zr=>Ge()(Zr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Zr,Fa)=>be.createElement("span",{className:"c-blue current",onClick:()=>Ua(void 0,null,function*(){var No,Ei;const to=yield(0,Te.Lk)(Fa.game_identifier,{path:(Ei=(No=Fa.path)==null?void 0:No.replace(/\/g,";"))==null?void 0:Ei.split(";")[0],query_index:Fa.query_index,homework_common_id:sA.categoryId});(to==null?void 0:to.status)===0&&(WA(to),pi(!0))})},Fa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],rl=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Zr,Fa)=>{var No;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((No=Fa==null?void 0:Fa.user)==null?void 0:No.image_url)}),Zr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Zr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Zr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Zr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Zr?Ge()(Zr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Zr,Fa){return Ua(this,null,function*(){const{challenge_id:No}=la[Zr],Ei=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:sA.homeworkId,type:"report",score:Fa,challenge_id:No}});yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:kr({},sA)}),Ei.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Zr,Fa){return(0,Se.U2)(`student_works/${Wi}/rep_passed_content.json`,{path:Fa,game_id:Zr})}const al=Ro.shixun_detail;return be.createElement(be.Fragment,null,al==null?void 0:al.map(function(Zr,Fa){var No,Ei;return be.createElement("div",{key:Fa},be.createElement("aside",{className:"pl30 pr30",key:Fa},be.createElement("div",{className:`${$r.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",Fa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${sA.coursesId}/${sA.categoryId}/${Zr.game_identifier}`},Zr.subject))),VA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(Uo,{className:"game-score",max:la[Fa].game_score_full,defaultValue:la[Fa].game_score,onBlur:to=>{var eA;if((0,Ze.Rm)()&&!((eA=tn.AssistantObject.practice)!=null&&eA.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(Fa,to)}})):null),be.createElement("div",{className:"font16 mt10"},Zr.st===0&&(Zr.path?typeof(Zr==null?void 0:Zr.game_codes_cn)=="string"?be.createElement("aside",{className:$r.shixunWrp},be.createElement($A,{game_codes_cn:Zr==null?void 0:Zr.game_codes_cn,autoHeight:Dt,path:Zr.path,game_id:Zr.id,data:Zr.game_codes,diff_code_count:Zr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Zr.st===1&&(Zr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(No=Zr.outputs)!=null&&No.length?be.createElement(te.default,{columns:nl,pagination:{hideOnSinglePage:!0},dataSource:Zr.outputs.map(to=>kr(kr({},Zr),to))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Ei=Zr==null?void 0:Zr.adjust_review_score_list)==null?void 0:Ei.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Zr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:ii,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{WA({}),pi(!1)},onCancel:()=>{WA({}),pi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ha&&Na(!1)},onMouseOut:()=>{Na(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Zr=>be.createElement(ce(),{disabled:ha,bounds:ja,nodeRef:xo,onStart:(Fa,No)=>fl(Fa,No)},be.createElement("div",{ref:xo},Zr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((Ar=So==null?void 0:So.data)==null?void 0:Ar.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=So==null?void 0:So.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Lr=So==null?void 0:So.data)==null?void 0:Lr.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=So==null?void 0:So.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Fr=So==null?void 0:So.data)==null?void 0:Fr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ca=So==null?void 0:So.data)==null?void 0:ca.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ma=So==null?void 0:So.data)==null?void 0:Ma.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((So==null?void 0:So.content)||""))),options:tl})))};var Ea=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:tn,classroomList:Qn})=>({shixunHomeworks:wn,globalSetting:tn,loading:Dt.effects,classroomList:Qn}))(Fo),za={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},mi=we(42882),pa=we(59301),ns=Object.defineProperty,rs=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,Oc=(wn,Dt,tn)=>Dt in wn?ns(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,Qc=(wn,Dt)=>{for(var tn in Dt||(Dt={}))Bu.call(Dt,tn)&&Oc(wn,tn,Dt[tn]);if(rs)for(var tn of rs(Dt))Ds.call(Dt,tn)&&Oc(wn,tn,Dt[tn]);return wn},xl=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const _l=({shixunHomeworks:wn,dispatch:Dt,classroomList:tn})=>{const{shixunWorkReport:Qn}=wn,Ar=(0,ze.useParams)(),[Xr,Lr]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[Fr,ca]=Le.default.useModal(),[Ma,Ro]=(0,be.useState)(!1),[la,Wi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ha,Na,ja,_a;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Na=(ha=wn.actionTabs.selectArrs)==null?void 0:ha.data)==null?void 0:Na.work_comment,hidden_comment:(_a=(ja=wn.actionTabs.selectArrs)==null?void 0:ja.data)==null?void 0:_a.work_comment_hidden})},[wn.actionTabs.key]);const ii=()=>xl(void 0,null,function*(){const ha=mr.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${Ar.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ha.hidden_comment,comment:ha.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},Ar)}))}),pi=[{title:"\u5173\u5361",dataIndex:"name",render:(ha,Na,ja)=>ja+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ha,Na,ja)=>pa.createElement("div",null,ha,Na.complete_status===4&&pa.createElement(Ve.vA,{status:Na.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ha=>ha?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ha,Na)=>pa.createElement("div",null,pa.createElement("span",{style:{color:parseFloat(Na.game_score_full)!==parseFloat(ha)?"#E30000":"#53C41B"}},ha),"/",Na.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ha,Na)=>(0,Ze.GJ)()?pa.createElement(Uo,{max:Na.game_score_full,defaultValue:parseFloat(ha),onBlur:ja=>xl(void 0,null,function*(){var _a,xo;if((0,Ze.Rm)()&&!((_a=tn.AssistantObject.practice)!=null&&_a.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const So=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:Ar.homeworkId,type:"report",score:ja,challenge_id:Na.challenge_id}});(xo=wn==null?void 0:wn.actionTabs)==null||xo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},Ar)}),So.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ha}];return pa.createElement(pa.Fragment,null,ca,pa.createElement(Le.default,{className:`${mi.Z.threeModalSty}`,centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>xl(void 0,null,function*(){var ha;if((0,Ze.Rm)()&&!((ha=tn.AssistantObject.practice)!=null&&ha.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Na=mr.getFieldsValue();JSON.stringify(Na)==="{}"||Na.hidden_comment===""&&Na.comment===""?Lr(!0):ii()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},pa.createElement(ee.Z,{justify:"space-between",className:za.info},pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u59D3\u540D"),pa.createElement("span",{className:za.blackContent},Qn==null?void 0:Qn.username)),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u5B66\u53F7"),pa.createElement("span",{className:za.blackContent},(Qn==null?void 0:Qn.student_id)||"--")),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u73ED\u7EA7"),pa.createElement("span",{className:za.blackContent},(Qn==null?void 0:Qn.group_name)||"--")),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u5173\u5361\u5F97\u5206"),pa.createElement("span",{className:za.orangeContent},(Qn==null?void 0:Qn.challenge_score)||"--")),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u6548\u7387\u5206"),pa.createElement("span",{className:za.orangeContent},(Qn==null?void 0:Qn.eff_score)||"--")),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u8865\u4EA4\u6263\u5206"),pa.createElement("span",{className:za.orangeContent},(Qn==null?void 0:Qn.late_penalty)||"--")),pa.createElement(E.Z,null,pa.createElement("span",{className:`${za.label} ${za.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),pa.createElement("span",{className:za.orangeContent},(Qn==null?void 0:Qn.work_score)||"--"))),pa.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Lr(!1)}},pa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},pa.createElement(E.Z,null,pa.createElement("div",{className:`${za.inputLabel} ${za.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),pa.createElement(E.Z,null,pa.createElement(rn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ma,onCancel:()=>{Ro(!1)}},onDataSelect:(ha,Na)=>xl(void 0,[ha,Na],function*(ja,{node:_a}){const xo=()=>{mr.setFieldsValue({comment:_a==null?void 0:_a.value}),Ro(!1)};if(mr.getFieldValue("comment")){Fr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:xo});return}xo()})},pa.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:pa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ha=>{Ro(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),pa.createElement(_n.default.Item,{name:"comment"},pa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),pa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},pa.createElement(E.Z,null,pa.createElement("div",{className:`${za.inputLabel} ${za.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),pa.createElement(E.Z,null,pa.createElement(rn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:la,onCancel:()=>{Wi(!1)}},onDataSelect:(ha,Na)=>xl(void 0,[ha,Na],function*(ja,{node:_a}){const xo=()=>{mr.setFieldsValue({hidden_comment:_a==null?void 0:_a.value}),Wi(!1)};if(mr.getFieldValue("hidden_comment")){Fr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:xo});return}xo()})},pa.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:pa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ha=>{Wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),pa.createElement(_n.default.Item,{name:"hidden_comment"},pa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&pa.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),pa.createElement("div",{className:za.tableTitle},"\u5173\u5361\u6210\u7EE9"),pa.createElement(te.default,{className:za.scoreTable,dataSource:Qn.stage_list,rowKey:"challenge_id",pagination:!1,columns:pi,scroll:{x:"max-content"}})))};var Tc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(_l),Qu=we(52217),Tu={wrap:"wrap___LZOi9",line:"line___oju0L"},gl=({detailData:wn})=>{var Dt;return be.createElement("div",{className:Tu.wrap},be.createElement(qr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,qr.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(qr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,qr.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:Tu.line}),be.createElement(qr._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},ku=we(70581),An=we(59301),kc=Object.defineProperty,Ru=Object.defineProperties,gd=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,as=(wn,Dt,tn)=>Dt in wn?kc(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:tn}):wn[Dt]=tn,UA=(wn,Dt)=>{for(var tn in Dt||(Dt={}))hs.call(Dt,tn)&&as(wn,tn,Dt[tn]);if(su)for(var tn of su(Dt))lu.call(Dt,tn)&&as(wn,tn,Dt[tn]);return wn},ic=(wn,Dt)=>Ru(wn,gd(Dt)),zl=(wn,Dt)=>{var tn={};for(var Qn in wn)hs.call(wn,Qn)&&Dt.indexOf(Qn)<0&&(tn[Qn]=wn[Qn]);if(wn!=null&&su)for(var Qn of su(wn))Dt.indexOf(Qn)<0&&lu.call(wn,Qn)&&(tn[Qn]=wn[Qn]);return tn},bA=(wn,Dt,tn)=>new Promise((Qn,Ar)=>{var Xr=Fr=>{try{mr(tn.next(Fr))}catch(ca){Ar(ca)}},Lr=Fr=>{try{mr(tn.throw(Fr))}catch(ca){Ar(ca)}},mr=Fr=>Fr.done?Qn(Fr.value):Promise.resolve(Fr.value).then(Xr,Lr);mr((tn=tn.apply(wn,Dt)).next())});const ZA=wn=>{var Dt=wn,{shixunHomeworks:tn,classroomList:Qn,globalSetting:Ar,loading:Xr,user:Lr,dispatch:mr}=Dt,Fr=zl(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),ca,Ma,Ro;const[la,Wi]=(0,be.useState)(UA({},(0,ze.useParams)())),ii=(0,ze.useParams)(),[pi,ha]=(0,be.useState)({page:1,page_size:10}),Na=(0,ze.useLocation)(),[]=(0,be.useState)([]),[ja,_a]=(0,be.useState)(),xo=(0,be.useRef)(),So=(0,be.useRef)(),[WA,fl]=(0,be.useState)(!1),[sA,VA]=(0,be.useState)(!0),[tl,nl]=(0,be.useState)(!1),[rl,Pn]=(0,be.useState)(!1),{shixunWorkReport:In}=tn,[al,Zr]=(0,be.useState)(),[Fa,No]=(0,be.useState)([]),[Ei,to]=(0,be.useState)(),[eA,ju]=(0,be.useState)("all"),cu=(0,Ze.GJ)(),[Ll,ol]=(0,be.useState)(new(me())),[Gd,Il]=(0,be.useState)(0),[lA,Ac]=(0,be.useState)(!1),[NA,Mu]=(0,be.useState)(!1),[hl,Ul]=(0,be.useState)(!1),[qo,yu]=(0,be.useState)(""),[sc,fd]=(0,be.useState)(!1),[vA,Os]=(0,be.useState)(!0),[Nl,Gl]=(0,be.useState)(0),Ci=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Cs=(0,be.useRef)(),DA=()=>bA(void 0,null,function*(){(Lr.userInfo.is_teacher||Lr.userInfo.admin)&&(fd(!0),Os(!1))});(0,be.useEffect)(()=>{var sr;(0,Ze.Rm)()&&Qn.AssistantObject.practice&&!((sr=Qn.AssistantObject.practice)!=null&&sr.can_view)&&ze.history.replace("/403")},[(ca=Qn.AssistantObject.practice)==null?void 0:ca.can_view]),(0,be.useEffect)(()=>{DA(),console.log("\u6253\u5370\u7684------",In),Cs.current=In==null?void 0:In.next_student_work_id,yu(In.repeat_minus_score)},[In,Lr]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",In.work_score),Gl(In.work_score)},[In.work_score,qo]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var sr;if(In){let Ga=[];(sr=In==null?void 0:In.target_test_sets)==null||sr.map((Co,dA)=>{var Qs;(Qs=Co==null?void 0:Co.targets)==null||Qs.map((YA,Zl)=>{var il;YA.name=Co==null?void 0:Co.name,YA.total_target_score=Co==null?void 0:Co.total_target_score,YA.actual_target_score=Co==null?void 0:Co.actual_target_score,YA.rowSpan=Zl===0?(il=Co==null?void 0:Co.targets)==null?void 0:il.length:0,YA.order=dA+1,Ga.push(YA)})}),Zr(Ga),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:la.coursesId}})}},[In]),(0,be.useEffect)(()=>{tn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(In==null?void 0:In.students_count)>0&&!sA&&setTimeout(()=>{Ol("all")},800)},[In==null?void 0:In.homework_common_id,sA]),(0,be.useEffect)(()=>{Wi(UA({},ii))},[Na.pathname]);const uA=()=>{document.body.scrollIntoView()},cA=sr=>{pi.page=sr,ha(UA({},pi)),Dl(pi,eA)},Dl=(sr,Ga)=>bA(void 0,null,function*(){nl(!0);const Co=yield(0,Se.ZP)(`/api/student_works/${la==null?void 0:la.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:ic(UA({},sr),{challenge_id:Ga=="all"?null:Ga})});(Co==null?void 0:Co.status)===0&&(No(Co==null?void 0:Co.list),to(Co==null?void 0:Co.count)),nl(!1)});function Mc(){return bA(this,null,function*(){Ci.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const XA=()=>{document.querySelectorAll("canvas").forEach(sr=>{(!sr.clientWidth||!sr.clientHeight)&&sr.remove()})},Hu=()=>{xo.current.offsetHeight>62e3?Pn(!1):Pn(!0)},CA=sr=>bA(void 0,null,function*(){const Ga=yield(0,Qr.t1)({homeworkId:sr||la.homeworkId});_a(Ga==null?void 0:Ga.data)}),Ol=sr=>bA(void 0,null,function*(){var Ga,Co,dA,Qs;let YA=0,Zl;Zl=Le.default.info({width:460,className:mi.Z.threeModalSty,title:An.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",An.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},YA+1),"/",sr!=="all"?1:In==null?void 0:In.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,onOk:()=>{}});const il={margin:[0,0],filename:`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?In==null?void 0:In.student_id:""}${In.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ps=Ll.folder(In==null?void 0:In.shixun_name);function Ai(ml){return bA(this,null,function*(){yield CA(ml||Cs.current);const Wo=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:UA({homeworkId:ml||Cs.current},Ci.current||{})});Cs.current=Wo==null?void 0:Wo.next_student_work_id,uA(),YA++,setTimeout(()=>bA(this,null,function*(){var os,Ya,Vi,Ti;XA();const is=Ps.folder(`${Wo==null?void 0:Wo.group_name}`).folder(`${Wo!=null&&Wo.student_id&&(Wo==null?void 0:Wo.student_id)!="--"?Wo.student_id+"+":""}${Wo==null?void 0:Wo.username}`),PA=document.querySelector("#export-all").children;let MA=xa()();for(let ms=0;ms<PA.length;ms++)yield MA.set(il).from(PA[ms]).toContainer().toCanvas().toPdf().get("pdf").then(ps=>bA(this,null,function*(){ms<PA.length-1&&(yield ps.addPage())}));if(is.file(`${Wo!=null&&Wo.student_id&&(Wo==null?void 0:Wo.student_id)!="--"?Wo.student_id+"+":""}${Wo==null?void 0:Wo.username}.pdf`,MA.output("blob")),((os=Wo==null?void 0:Wo.shixun_detail)==null?void 0:os.length)>0&&((Vi=(Ya=Wo==null?void 0:Wo.shixun_detail)==null?void 0:Ya.filter(ms=>{var ps;return((ps=ms==null?void 0:ms.game_codes)==null?void 0:ps.length)>0}))==null?void 0:Vi.length)>0){const ms=is.folder("\u4EE3\u7801\u6587\u4EF6");(Ti=Wo==null?void 0:Wo.shixun_detail)==null||Ti.map((ps,uc)=>{var Ql,Vl;if(((Ql=ps==null?void 0:ps.game_codes)==null?void 0:Ql.length)>0){const OA=ms.folder(`\u7B2C${uc+1}\u5173-${ps.subject}-${ps.id}`);(Vl=ps==null?void 0:ps.game_codes)==null||Vl.map(wu=>{OA.file(`${wu.filename}.txt`,wu==null?void 0:wu.content)})}})}Zl.update({content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},YA),"/",Wo==null?void 0:Wo.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),YA==(Wo==null?void 0:Wo.students_count)?(Zl.destroy(),tA()):Ai()}),2200)})}if(sr!=="all"||(In==null?void 0:In.students_count)<2){XA(),uA();const ml=So.current.children;let Wo=xa()();const Ya=Ps.folder(`${In==null?void 0:In.group_name}`).folder(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In==null?void 0:In.username}`);for(let Vi=0;Vi<ml.length;Vi++)yield Wo.set(il).from(ml[Vi]).toContainer().toCanvas().toPdf().get("pdf").then(Ti=>bA(void 0,null,function*(){Vi<ml.length-1&&(yield Ti.addPage())}));if(fl(!1),Ya.file(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In.username}.pdf`,Wo.output("blob"),{base64:!1}),((Ga=In==null?void 0:In.shixun_detail)==null?void 0:Ga.length)>0&&((dA=(Co=In==null?void 0:In.shixun_detail)==null?void 0:Co.filter(Vi=>{var Ti;return((Ti=Vi==null?void 0:Vi.game_codes)==null?void 0:Ti.length)>0}))==null?void 0:dA.length)>0){const Vi=Ya.folder("\u4EE3\u7801\u6587\u4EF6");(Qs=In==null?void 0:In.shixun_detail)==null||Qs.map((Ti,Wl)=>{var is,PA;if(((is=Ti==null?void 0:Ti.game_codes)==null?void 0:is.length)>0){const MA=Vi.folder(`\u7B2C${Wl+1}\u5173-${Ti.subject}-${Ti.id}`);(PA=Ti==null?void 0:Ti.game_codes)==null||PA.map(ms=>{MA.file(`${ms.filename}.txt`,ms==null?void 0:ms.content)})}})}Zl.destroy(),tA();return}else Ai(In==null?void 0:In.first_student_work_id)}),tA=()=>{Ll.generateAsync({type:"blob"}).then(function(sr){console.log(In,"shixunWorkReport");const Ga=document.createElement("a");Ga.href=window.URL.createObjectURL(sr),Ga.download=(In==null?void 0:In.shixun_name)+".zip",document.body.appendChild(Ga);const Co=document.createEvent("MouseEvents");Co.initEvent("click",!1,!1),Ga.dispatchEvent(Co),document.body.removeChild(Ga),ol(new(me()))}),Pn(!1)};(0,be.useEffect)(()=>{lc()},[la.homeworkId]);const lc=()=>bA(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:UA(UA({},la),Ci.current||{})}),CA(),(0,Ze.GJ)()&&Mc(),VA(!1)}),du=[{title:"\u5173\u5361",dataIndex:"name",render:(sr,Ga,Co)=>Co+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(sr,Ga,Co)=>An.createElement("div",null,sr,Ga.complete_status===4&&An.createElement(Ve.vA,{status:Ga.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(sr,Ga,Co)=>sr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:sr=>sr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(sr,Ga)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat(Ga.myself_experience)!==parseFloat(sr)?"red":"green"}},Ga.myself_experience),"/",sr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(sr,Ga)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat(Ga.game_score_full)!==parseFloat(sr)?"red":"green"}},sr),"/",Ga.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(sr,Ga)=>cu?An.createElement(Uo,{max:Ga.game_score_full,defaultValue:parseFloat(sr),onBlur:Co=>bA(void 0,null,function*(){var dA;if((0,Ze.Rm)()&&!((dA=Qn.AssistantObject.practice)!=null&&dA.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Qs=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:la.homeworkId,type:"report",score:Co,challenge_id:Ga.challenge_id}});Dl({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:UA(UA({},la),Ci.current||{})}),Qs.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):sr}];let gu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(sr,Ga,Co)=>({children:sr,props:{rowSpan:Ga.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(sr,Ga,Co)=>({children:sr,props:{rowSpan:Ga.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(sr,Ga,Co)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat(Ga.actual_test_score)!==parseFloat(sr)?"red":"green"}},Ga.actual_test_score),"/",sr)},{title:"\u6307\u6807\u603B\u5206",render:(sr,Ga,Co)=>({children:An.createElement("div",null,An.createElement("span",{style:{color:parseFloat(Ga.actual_target_score)!==parseFloat(sr)?"red":"green"}},Ga.actual_target_score),"/",sr),props:{rowSpan:Ga.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Hc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:sr=>An.createElement("span",null,sr?Ge()(sr).format("YYYY-MM-DD HH:mm"):"--")}],$l=sr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{sr==="next"?ze.history.push(`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/${In==null?void 0:In.next_student_work_id}/comment`):ze.history.push(`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/${In==null?void 0:In.pre_student_work_id}/comment`)},200)},Pr=sr=>{yu(""),sr.target.value&&(console.log("\u8FDB\u6765",In),sr.target.value=sr.target.value>In.repeat_setting_score?In.repeat_setting_score:sr.target.value,yu(sr.target.value))},La=()=>bA(void 0,null,function*(){const sr=yield(0,Se.ZP)(`/api/student_works/${In==null?void 0:In.work_id}/update_repeat_score`,{method:"put",body:{score:qo}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:UA(UA({},la),Ci.current||{})}),sr.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return An.createElement("section",{style:{minHeight:"100vh",padding:"20px 10px",background:"rgb(2, 28, 33)"},className:`${mi.Z.threecommonSty}`},An.createElement("div",{style:{paddingBottom:100}},An.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},An.createElement("div",null,In.course_id&&An.createElement("section",{className:"animated fadeIn c-white"},An.createElement("aside",{className:[$r.title1].join(" ")},An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("div",{className:"flex item-center"},An.createElement(ku.Z,{url:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail`}),An.createElement("strong",{className:"font20 ml20"},In==null?void 0:In.homework_name)),An.createElement(Ve.VV,{temporary:!0,status:In.homework_status})),An.createElement(E.Z,{className:$r.title1_right},In.view_tpi&&An.createElement(Ce.ZP,{onClick:()=>{var sr,Ga;(0,Ve.xg)(`/tasks/${In==null?void 0:In.course_id}/${In==null?void 0:In.homework_common_id}/${(Ga=(sr=In==null?void 0:In.shixun_detail)==null?void 0:sr[0])==null?void 0:Ga.game_identifier}`)}},An.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ze.GJ)()&&In.homework_end===!1&&!!In.myshixun_id&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>bA(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:In.myshixun_identifier},homework_common_id:ii.categoryId}})})},An.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var sr;if((0,Ze.Rm)()&&!((sr=Qn.AssistantObject.practice)!=null&&sr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ol("")},loading:WA},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(In==null?void 0:In.students_count)>1&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var sr;if((0,Ze.Rm)()&&!((sr=Qn.AssistantObject.practice)!=null&&sr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,className:mi.Z.threeModalSty,centered:!0,okText:An.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:An.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Ol("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,ta.jj)({categoryId:la.categoryId,coursesId:la.coursesId},"shixun_report")}}})}},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),An.createElement("aside",{className:"mt30 relative"})),An.createElement("aside",{className:"c-white",ref:xo,style:{background:"#082930"}},An.createElement("div",{id:"export-all",ref:So},An.createElement("div",{id:"export-all-1"},An.createElement("div",{className:$r.title},An.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),An.createElement("div",null,(0,Ze.GJ)()&&An.createElement(Ce.ZP,{className:"mr20",type:"primary",onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:UA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})}},An.createElement(he.Z,null),In.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),An.createElement(a.Z,{style:{marginTop:0}}),An.createElement(ee.Z,{className:"pl30 pr30"},An.createElement(E.Z,null,An.createElement("span",{className:"font16 "},In.username),An.createElement(Ve.vA,{status:In.compelete_status}),An.createElement("ul",{className:$r.userInfo},An.createElement("li",null,"\u5B66\u53F7\uFF1A",In.student_id||"--"),An.createElement("li",null,"\u5206\u73ED\uFF1A",In.group_name||"--"),An.createElement("br",null),An.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.complete_count),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.current_complete_count||"-"),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.efficiency===null?"--":In&&In.efficiency),An.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.max_efficiency===null?"--":In&&In.max_efficiency))),An.createElement("ul",{className:[$r.listItem,"mt10"].join(" ")},An.createElement("li",null,An.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),An.createElement("div",{className:"mt20"},In&&In.passed_time===null||In&&In.passed_time==="--"?"--":Ge()(In&&In.passed_time).format("YYYY-MM-DD HH:mm"))),An.createElement("li",null,An.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",An.createElement("i",{onClick:sr=>{sr.stopPropagation(),sr.preventDefault(),Ac(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In==null?void 0:In.human_training_time_rules)),An.createElement("li",null,An.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",An.createElement("i",{onClick:sr=>{sr.stopPropagation(),sr.preventDefault(),Mu(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In.time_consuming)),An.createElement("li",null,An.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),An.createElement("div",{className:"mt20"},In.evaluate_count)),(In==null?void 0:In.eff_score_full)&&An.createElement(An.Fragment,null,An.createElement("li",null,An.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.challenge_score),"/",An.createElement("span",{className:"c-light-black"},In.challenge_score_full))),An.createElement("li",null,An.createElement("strong",null,"\u6548\u7387\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.eff_score),"/",An.createElement("span",{className:"c-light-black"},In.eff_score_full)))),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)!==0&&An.createElement("li",{style:{position:"relative"}},An.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},In!=null&&In.review_rate?An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(In!=null&&In.review_id&&sc)localStorage.setItem("studentDetial",window.location.pathname),ze.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${la.categoryId}/review_detail/${In==null?void 0:In.review_id}`});else return}},In.review_rate.toFixed(1),"%"):An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0"}},"- -"))),sc?An.createElement("div",{className:"mt20"},An.createElement(y.default,{style:{width:"45px",height:"22px"},value:qo,onChange:sr=>{Pr(sr)},onBlur:La,disabled:vA})," / ",In==null?void 0:In.repeat_setting_score):An.createElement("div",{className:"mt20"},In==null?void 0:In.repeat_minus_score," / ",In==null?void 0:In.repeat_setting_score)),console.log("sssssssssssssssssssssss",In==null?void 0:In.have_repeat,In==null?void 0:In.repeat_minus_score),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)===0&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),!(In!=null&&In.have_repeat)&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),An.createElement("li",null,An.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",null,In.late_penalty||"- -"))),An.createElement("li",null,An.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},Nl),"/",An.createElement("span",{className:"c-light-black"},In.all_work_score))),An.createElement("li",null,An.createElement("strong",null,"\u603B\u8BC4"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.overall_appraisal))))),An.createElement(a.Z,{style:{margin:0}}),(In.work_comment_hidden||In.work_comment)&&An.createElement("div",null,An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("h1",{className:$r.title},"\u70B9\u8BC4\u5185\u5BB9")),An.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&An.createElement(Ce.ZP,{onClick:()=>bA(void 0,null,function*(){Le.default.confirm({centered:!0,className:mi.Z.threeModalSty,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:An.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return bA(this,null,function*(){(yield(0,Qr.gZ)({comment_id:In.comment_id,homeworkId:la.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:UA(UA({},la),Ci.current||{})}))})}})})},An.createElement(Pe.Z,null),"\u5220\u9664"))),An.createElement(a.Z,{style:{margin:0}}),In.work_comment&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(wr.Z,{style:{color:"#fff"},value:In.work_comment})),In.work_comment_hidden&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(wr.Z,{style:{color:"#fff"},value:In.work_comment_hidden}))),(In==null?void 0:In.action_analysis)&&An.createElement(gl,{detailData:In}),An.createElement("div",{className:$r.score},An.createElement("h1",{className:$r.title},"\u9636\u6BB5\u6210\u7EE9"),(In==null?void 0:In.adjust_review_score_count)>0&&(0,Ze.GJ)()&&An.createElement("div",{style:{color:"#00DDC7",cursor:"pointer"},onClick:()=>{Ul(!0),Dl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",In==null?void 0:In.adjust_review_score_count,"\u6B21\uFF09")),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:In.stage_list,rowKey:sr=>sr==null?void 0:sr.challenge_id,pagination:!1,columns:du})),((Ma=In==null?void 0:In.target_test_sets)==null?void 0:Ma.length)>0&&An.createElement("div",null,An.createElement("h1",{className:$r.title},"\u6307\u6807\u6210\u7EE9"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:al,rowKey:sr=>sr==null?void 0:sr.challenge_id,pagination:!1,bordered:!0,columns:gu}))),(In==null?void 0:In.work_description)&&An.createElement(An.Fragment,null,An.createElement("h1",{className:$r.title},"\u4E2A\u4EBA\u603B\u7ED3"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(wr.Z,{value:In==null?void 0:In.work_description}))),An.createElement("h1",{className:$r.title},"\u56FE\u5F62\u7EDF\u8BA1"),An.createElement(Go,{data:ja}),An.createElement("h1",{className:$r.title},"\u5B9E\u8BAD\u8BE6\u60C5")),An.createElement(Ea,{autoHeight:rl}))),(0,Ze.GJ)()&&An.createElement("aside",{className:`${$r.footerBar} ${WA?$r.footerBarStatic:""}`},An.createElement(ee.Z,{align:"middle",style:{width:"100%"}},An.createElement(Ce.ZP,{type:"default",onClick:()=>{ze.history.push(`/classrooms/${la.coursesId}/shixun_homework/${la.categoryId}/detail`)}},"\u8FD4\u56DE\u5217\u8868"),An.createElement(E.Z,{flex:"1",className:"tr"},An.createElement(Ce.ZP,{type:"default",disabled:!(In!=null&&In.pre_student_work_id),onClick:()=>$l()},"\u4E0A\u4E00\u4E2A"),An.createElement(Ce.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(In!=null&&In.next_student_work_id),onClick:()=>$l("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&An.createElement(Ce.ZP,{type:"primary",onClick:()=>bA(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:UA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A")))))),An.createElement(Tc,null),An.createElement(Qu.Z,null),An.createElement(Le.default,{open:lA,width:860,centered:!0,onCancel:()=>{Ac(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},An.createElement("div",{style:{color:"#fff",fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),An.createElement("br",null),An.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("br",null),An.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),An.createElement("br",null),An.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),An.createElement("br",null),An.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),An.createElement("br",null),An.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),An.createElement("br",null),An.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),An.createElement("br",null),An.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),An.createElement(Le.default,{open:NA,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Mu(!1)},width:600},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),An.createElement(Le.default,{className:mi.Z.threeModalSty,open:hl,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ju("all"),Ul(!1)},destroyOnClose:!0,width:900},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,An.createElement("span",null,"\u5173\u5361\uFF1A"),An.createElement(ne.default,{style:{width:300},value:eA,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:sr=>bA(void 0,null,function*(){ju(sr),Dl({page:1,page_size:10},sr)})},An.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(Ro=In==null?void 0:In.stage_list)==null?void 0:Ro.map((sr,Ga)=>An.createElement(ne.default.Option,{key:Ga,value:sr==null?void 0:sr.challenge_id},"\u7B2C",(0,Ve.EM)(Ga+1),"\u5173")))),An.createElement("div",{className:"mt20"},An.createElement(te.default,{dataSource:Fa,rowKey:sr=>sr==null?void 0:sr.id,pagination:!1,columns:Hc,loading:tl})),An.createElement("div",{className:$r.footer},An.createElement("div",null,An.createElement("span",{style:{color:"#656F87"}},"\u5171",An.createElement("span",{style:{color:"#fff",margin:"0 5px"}},Ei),"\u6761\u6570\u636E")),An.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(pi==null?void 0:pi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Ei,onChange:cA})))))};var Rc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:tn,globalSetting:Qn,user:Ar})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:Qn,loading:tn.effects,user:Ar}))(ZA);const uu=({globalSetting:wn})=>{var Dt;switch(Number((Dt=wn==null?void 0:wn.setting)==null?void 0:Dt.theme)){case Oe.Fy.THEMEONE:return be.createElement(Pa,null);case Oe.Fy.DEFAULT:default:return be.createElement(Rc,null)}};var jc=(0,ze.connect)(({globalSetting:wn})=>({globalSetting:wn}))(uu)},10669:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(38147),at=we(65582),Ge=we(41867),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Se=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Se)},84454:function(on,Ut,we){"use strict";we.d(Ut,{AD:function(){return Ot},D9:function(){return st},Hp:function(){return _e},IM:function(){return an},Iy:function(){return Pe},KM:function(){return er},MJ:function(){return Qe},Ne:function(){return ft},ON:function(){return Hn},Uj:function(){return yt},VY:function(){return qt},YO:function(){return Vn},YX:function(){return un},Zn:function(){return y},_g:function(){return ne},_k:function(){return dt},c6:function(){return St},cr:function(){return a},eV:function(){return ke},fi:function(){return ee},gh:function(){return nt},hS:function(){return fn},iA:function(){return E},j6:function(){return oe},je:function(){return wt},jj:function(){return he},kS:function(){return Ln},o6:function(){return De},pO:function(){return Kn},rQ:function(){return it},sA:function(){return Ve},xm:function(){return pt},xo:function(){return Et},y8:function(){return rt},yd:function(){return te}});var Oe=we(33270),be=we(65582),ze=we(65862),at=we(8591),Ge=we(74128),je=Object.defineProperty,me=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,de=(Re,Kt,Te)=>Kt in Re?je(Re,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Re[Kt]=Te,Ie=(Re,Kt)=>{for(var Te in Kt||(Kt={}))Se.call(Kt,Te)&&de(Re,Te,Kt[Te]);if(me)for(var Te of me(Kt))Le.call(Kt,Te)&&de(Re,Te,Kt[Te]);return Re},Fe=(Re,Kt,Te)=>new Promise((pe,ce)=>{var ye=Me=>{try{gt(Te.next(Me))}catch(Xe){ce(Xe)}},qe=Me=>{try{gt(Te.throw(Me))}catch(Xe){ce(Xe)}},gt=Me=>Me.done?pe(Me.value):Promise.resolve(Me.value).then(ye,qe);gt((Te=Te.apply(Re,Kt)).next())});const Ce=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Re=>Fe(void 0,null,function*(){Ce(),(yield(0,Oe.YR)(Ie({},Re))).status===0&&(yield(0,ze.QH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),ie()}),a=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.yS)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(Kt.status===-2)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),ee=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.W0)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Nl)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.IU)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ne=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.td)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-2)return Kt;if(Kt.status===-3)(0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(Kt.status===-4)return Kt}}),oe=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.QX)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),he=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.o_)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),_e=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.ZL)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Pe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.aP)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Qe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.vV)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Ze=Re=>Fe(void 0,null,function*(){Ce(),(yield exportCourseWorkListAppendix(Ie({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),ie()}),Ve=Re=>Fe(void 0,null,function*(){Ce(),yield(0,ze.QH)("",Ge.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),ie()}),nt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),De=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),St=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),ke=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),Ot=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),it=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),rt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),wt=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Uy)(Ie({},Re));Kt.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),dt=Re=>Fe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),pt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),st=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(Kt=>`course_group_id[]=${Kt}`).join("&")}`,query:Re}))}),ft=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),an=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)(Re==null?void 0:Re.name,(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),fn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Et=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),qt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),Ln=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Hn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),un=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Vn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),yt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Kn=(Re,Kt)=>Fe(void 0,null,function*(){yield(0,ze.FH)(Kt||"",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),er=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))})},61527:function(on,Ut,we){"use strict";we.d(Ut,{U:function(){return Le}});var Oe=we(59301),be=Object.defineProperty,ze=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,je=(de,Ie,Fe)=>Ie in de?be(de,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):de[Ie]=Fe,me=(de,Ie)=>{for(var Fe in Ie||(Ie={}))at.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);if(ze)for(var Fe of ze(Ie))Ge.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);return de},Se=(de,Ie,Fe)=>new Promise((Ce,ie)=>{var y=E=>{try{ee(Fe.next(E))}catch(te){ie(te)}},a=E=>{try{ee(Fe.throw(E))}catch(te){ie(te)}},ee=E=>E.done?Ce(E.value):Promise.resolve(E.value).then(y,a);ee((Fe=Fe.apply(de,Ie)).next())});function Le(de,Ie){const[Fe,Ce]=(0,Oe.useState)(Ie),[ie,y]=(0,Oe.useState)(!1),[a,ee]=(0,Oe.useState)();return[Fe,ie,(te,ne=!1)=>Se(this,null,function*(){const oe=ne?Ie:me(me({},Fe),te);y(!0),Ce(oe);const he=yield de(oe);return y(!1),ee(he),he}),a]}},50371:function(on,Ut){"use strict";function we(){const Oe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let be=1;be<arguments.length;be++){const ze=be<0||arguments.length<=be?void 0:arguments[be];ze&&Object.keys(ze).forEach(at=>{const Ge=ze[at];Ge!==void 0&&(Oe[at]=Ge)})}return Oe}Ut.Z=we},13845:function(on,Ut,we){"use strict";we.d(Ut,{F:function(){return Oe},Z:function(){return be}});function Oe(ze){return ze!=null&&ze===ze.window}function be(ze,at){var Ge,je;if(typeof window=="undefined")return 0;const me=at?"scrollTop":"scrollLeft";let Se=0;return Oe(ze)?Se=ze[at?"pageYOffset":"pageXOffset"]:ze instanceof Document?Se=ze.documentElement[me]:(ze instanceof HTMLElement||ze)&&(Se=ze[me]),ze&&!Oe(ze)&&typeof Se!="number"&&(Se=(je=((Ge=ze.ownerDocument)!==null&&Ge!==void 0?Ge:ze).documentElement)===null||je===void 0?void 0:je[me]),Se}},56762:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(){const[,ze]=Oe.useReducer(at=>at+1,0);return ze}},68031:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return at}});var Oe=we(16089);function be(Ge,je,me,Se){const Le=me-je;return Ge/=Se/2,Ge<1?Le/2*Ge*Ge*Ge+je:Le/2*((Ge-=2)*Ge*Ge+2)+je}var ze=we(13845);function at(Ge){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:me=()=>window,callback:Se,duration:Le=450}=je,de=me(),Ie=(0,ze.Z)(de,!0),Fe=Date.now(),Ce=()=>{const y=Date.now()-Fe,a=be(y>Le?Le:y,Ie,Ge,Le);(0,ze.F)(de)?de.scrollTo(window.pageXOffset,a):de instanceof Document||de.constructor.name==="HTMLDocument"?de.documentElement.scrollTop=a:de.scrollTop=a,y<Le?(0,Oe.Z)(Ce):typeof Se=="function"&&Se()};(0,Oe.Z)(Ce)}},66104:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ot}});var Oe=we(92310),be=we.n(Oe),ze=we(11592),at=we(26112),Ge=we(59301),je=we(92343),me=we(36355),Se=we(84105),Le=we(91857);const de=it=>{let{children:rt}=it;const{getPrefixCls:wt}=Ge.useContext(me.E_),dt=wt("breadcrumb");return Ge.createElement("li",{className:`${dt}-separator`,"aria-hidden":"true"},rt===""?rt:rt||"/")};de.__ANT_BREADCRUMB_SEPARATOR=!0;var Ie=de,Fe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};function Ce(it,rt){if(it.title===void 0||it.title===null)return null;const wt=Object.keys(rt).join("|");return typeof it.title=="object"?it.title:String(it.title).replace(new RegExp(`:(${wt})`,"g"),(dt,pt)=>rt[pt]||dt)}function ie(it,rt,wt,dt){if(wt==null)return null;const{className:pt,onClick:st}=rt,ft=Fe(rt,["className","onClick"]),an=Object.assign(Object.assign({},(0,at.Z)(ft,{data:!0,aria:!0})),{onClick:st});return dt!==void 0?Ge.createElement("a",Object.assign({},an,{className:be()(`${it}-link`,pt),href:dt}),wt):Ge.createElement("span",Object.assign({},an,{className:be()(`${it}-link`,pt)}),wt)}function y(it,rt){return(dt,pt,st,ft,an)=>{if(rt)return rt(dt,pt,st,ft);const fn=Ce(dt,pt);return ie(it,dt,fn,an)}}var a=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};const ee=it=>{const{prefixCls:rt,separator:wt="/",children:dt,menu:pt,overlay:st,dropdownProps:ft,href:an}=it,Et=(qt=>{if(pt||st){const Ln=Object.assign({},ft);if(pt){const Hn=pt||{},{items:un}=Hn,Vn=a(Hn,["items"]);Ln.menu=Object.assign(Object.assign({},Vn),{items:un==null?void 0:un.map((yt,Kn)=>{var{key:er,title:Re,label:Kt,path:Te}=yt,pe=a(yt,["key","title","label","path"]);let ce=Kt!=null?Kt:Re;return Te&&(ce=Ge.createElement("a",{href:`${an}${Te}`},ce)),Object.assign(Object.assign({},pe),{key:er!=null?er:Kn,label:ce})})})}else st&&(Ln.overlay=st);return Ge.createElement(Le.Z,Object.assign({placement:"bottom"},Ln),Ge.createElement("span",{className:`${rt}-overlay-link`},qt,Ge.createElement(Se.Z,null)))}return qt})(dt);return Et!=null?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Et),wt&&Ge.createElement(Ie,null,wt)):null},E=it=>{const{prefixCls:rt,children:wt,href:dt}=it,pt=a(it,["prefixCls","children","href"]),{getPrefixCls:st}=Ge.useContext(me.E_),ft=st("breadcrumb",rt);return Ge.createElement(ee,Object.assign({},pt,{prefixCls:ft}),ie(ft,pt,wt,dt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=we(17313),oe=we(83116),he=we(37613);const _e=it=>{const{componentCls:rt,iconCls:wt}=it;return{[rt]:Object.assign(Object.assign({},(0,ne.Wf)(it)),{color:it.itemColor,fontSize:it.fontSize,[wt]:{fontSize:it.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:it.linkColor,transition:`color ${it.motionDurationMid}`,padding:`0 ${it.paddingXXS}px`,borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",marginInline:-it.marginXXS,"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover}},(0,ne.Qy)(it)),"li:last-child":{color:it.lastItemColor},[`${rt}-separator`]:{marginInline:it.separatorMargin,color:it.separatorColor},[`${rt}-link`]:{[`
> ${wt} + span,
> ${wt} + a
`]:{marginInlineStart:it.marginXXS}},[`${rt}-overlay-link`]:{borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",padding:`0 ${it.paddingXXS}px`,marginInline:-it.marginXXS,[`> ${wt}`]:{marginInlineStart:it.marginXXS,fontSize:it.fontSizeIcon},"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover,a:{color:it.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${it.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,oe.Z)("Breadcrumb",it=>{const rt=(0,he.TS)(it,{});return[_e(rt)]},it=>({itemColor:it.colorTextDescription,lastItemColor:it.colorText,iconFontSize:it.fontSize,linkColor:it.colorTextDescription,linkHoverColor:it.colorText,separatorColor:it.colorTextDescription,separatorMargin:it.marginXS})),Qe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};function Ze(it){const{breadcrumbName:rt,children:wt}=it,dt=Qe(it,["breadcrumbName","children"]),pt=Object.assign({title:rt},dt);return wt&&(pt.menu={items:wt.map(st=>{var{breadcrumbName:ft}=st,an=Qe(st,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:ft})})}),pt}function Ve(it,rt){return(0,Ge.useMemo)(()=>it||(rt?rt.map(Ze):null),[it,rt])}var nt=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};const De=(it,rt)=>{if(rt===void 0)return rt;let wt=(rt||"").replace(/^\//,"");return Object.keys(it).forEach(dt=>{wt=wt.replace(`:${dt}`,it[dt])}),wt},St=it=>{const{prefixCls:rt,separator:wt="/",style:dt,className:pt,rootClassName:st,routes:ft,items:an,children:fn,itemRender:Et,params:qt={}}=it,Ln=nt(it,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:un,breadcrumb:Vn}=Ge.useContext(me.E_);let yt;const Kn=Hn("breadcrumb",rt),[er,Re]=Pe(Kn),Kt=Ve(an,ft),Te=y(Kn,Et);if(Kt&&Kt.length>0){const ye=[],qe=an||ft;yt=Kt.map((gt,Me)=>{const{path:Xe,key:Pt,type:ct,menu:ot,overlay:kt,onClick:_n,className:_t,separator:rn,dropdownProps:Nt}=gt,yn=De(qt,Xe);yn!==void 0&&ye.push(yn);const Yt=Pt!=null?Pt:Me;if(ct==="separator")return Ge.createElement(Ie,{key:Yt},rn);const Jn={},hr=Me===Kt.length-1;ot?Jn.menu=ot:kt&&(Jn.overlay=kt);let{href:tr}=gt;return ye.length&&yn!==void 0&&(tr=`#/${ye.join("/")}`),Ge.createElement(ee,Object.assign({key:Yt},Jn,(0,at.Z)(gt,{data:!0,aria:!0}),{className:_t,dropdownProps:Nt,href:tr,separator:hr?"":wt,onClick:_n,prefixCls:Kn}),Te(gt,qt,qe,ye,tr))})}else if(fn){const ye=(0,ze.Z)(fn).length;yt=(0,ze.Z)(fn).map((qe,gt)=>{if(!qe)return qe;const Me=gt===ye-1;return(0,je.Tm)(qe,{separator:Me?"":wt,key:gt})})}const pe=be()(Kn,Vn==null?void 0:Vn.className,{[`${Kn}-rtl`]:un==="rtl"},pt,st,Re),ce=Object.assign(Object.assign({},Vn==null?void 0:Vn.style),dt);return er(Ge.createElement("nav",Object.assign({className:pe,style:ce},Ln),Ge.createElement("ol",null,yt)))};St.Item=te,St.Separator=Ie;var ke=St,Ot=ke},24905:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Pe}});var Oe=we(92310),be=we.n(Oe),ze=we(5630),at=we(59301),Ge=we(36355),je=we(1684),me=we(32441),Le=at.createContext(null),de=we(98447),Ie=we(14088),Fe=we(4572),Ce=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De<nt.length;De++)Ze.indexOf(nt[De])<0&&Object.prototype.propertyIsEnumerable.call(Qe,nt[De])&&(Ve[nt[De]]=Qe[nt[De]]);return Ve};const ie=(Qe,Ze)=>{var Ve;const{prefixCls:nt,className:De,rootClassName:St,children:ke,indeterminate:Ot=!1,style:it,onMouseEnter:rt,onMouseLeave:wt,skipGroup:dt=!1,disabled:pt}=Qe,st=Ce(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ft,direction:an,checkbox:fn}=at.useContext(Ge.E_),Et=at.useContext(Le),{isFormItemInput:qt}=at.useContext(me.aM),Ln=at.useContext(je.Z),Hn=(Ve=(Et==null?void 0:Et.disabled)||pt)!==null&&Ve!==void 0?Ve:Ln,un=at.useRef(st.value);at.useEffect(()=>{Et==null||Et.registerValue(st.value)},[]),at.useEffect(()=>{if(!dt)return st.value!==un.current&&(Et==null||Et.cancelValue(un.current),Et==null||Et.registerValue(st.value),un.current=st.value),()=>Et==null?void 0:Et.cancelValue(st.value)},[st.value]);const Vn=ft("checkbox",nt),[yt,Kn]=(0,de.ZP)(Vn),er=Object.assign({},st);Et&&!dt&&(er.onChange=function(){st.onChange&&st.onChange.apply(st,arguments),Et.toggleOption&&Et.toggleOption({label:ke,value:st.value})},er.name=Et.name,er.checked=Et.value.includes(st.value));const Re=be()(`${Vn}-wrapper`,{[`${Vn}-rtl`]:an==="rtl",[`${Vn}-wrapper-checked`]:er.checked,[`${Vn}-wrapper-disabled`]:Hn,[`${Vn}-wrapper-in-form-item`]:qt},fn==null?void 0:fn.className,De,St,Kn),Kt=be()({[`${Vn}-indeterminate`]:Ot},Fe.A,Kn),Te=Ot?"mixed":void 0;return yt(at.createElement(Ie.Z,{component:"Checkbox",disabled:Hn},at.createElement("label",{className:Re,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),it),onMouseEnter:rt,onMouseLeave:wt},at.createElement(ze.Z,Object.assign({"aria-checked":Te},er,{prefixCls:Vn,className:Kt,disabled:Hn,ref:Ze})),ke!==void 0&&at.createElement("span",null,ke))))};var a=at.forwardRef(ie),ee=we(94480),E=we(2738),te=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De<nt.length;De++)Ze.indexOf(nt[De])<0&&Object.prototype.propertyIsEnumerable.call(Qe,nt[De])&&(Ve[nt[De]]=Qe[nt[De]]);return Ve};const ne=(Qe,Ze)=>{const{defaultValue:Ve,children:nt,options:De=[],prefixCls:St,className:ke,rootClassName:Ot,style:it,onChange:rt}=Qe,wt=te(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:dt,direction:pt}=at.useContext(Ge.E_),[st,ft]=at.useState(wt.value||Ve||[]),[an,fn]=at.useState([]);at.useEffect(()=>{"value"in wt&&ft(wt.value||[])},[wt.value]);const Et=at.useMemo(()=>De.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[De]),qt=pe=>{fn(ce=>ce.filter(ye=>ye!==pe))},Ln=pe=>{fn(ce=>[].concat((0,ee.Z)(ce),[pe]))},Hn=pe=>{const ce=st.indexOf(pe.value),ye=(0,ee.Z)(st);ce===-1?ye.push(pe.value):ye.splice(ce,1),"value"in wt||ft(ye),rt==null||rt(ye.filter(qe=>an.includes(qe)).sort((qe,gt)=>{const Me=Et.findIndex(Pt=>Pt.value===qe),Xe=Et.findIndex(Pt=>Pt.value===gt);return Me-Xe}))},un=dt("checkbox",St),Vn=`${un}-group`,[yt,Kn]=(0,de.ZP)(un),er=(0,E.Z)(wt,["value","disabled"]),Re=De.length?Et.map(pe=>at.createElement(a,{prefixCls:un,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:wt.disabled,value:pe.value,checked:st.includes(pe.value),onChange:pe.onChange,className:`${Vn}-item`,style:pe.style,title:pe.title},pe.label)):nt,Kt={toggleOption:Hn,value:st,disabled:wt.disabled,name:wt.name,registerValue:Ln,cancelValue:qt},Te=be()(Vn,{[`${Vn}-rtl`]:pt==="rtl"},ke,Ot,Kn);return yt(at.createElement("div",Object.assign({className:Te,style:it},er,{ref:Ze}),at.createElement(Le.Provider,{value:Kt},Re)))},oe=at.forwardRef(ne);var he=at.memo(oe);const _e=a;_e.Group=he,_e.__ANT_CHECKBOX=!0;var Pe=_e},98447:function(on,Ut,we){"use strict";we.d(Ut,{C2:function(){return Ge}});var Oe=we(17313),be=we(37613),ze=we(83116);const at=je=>{const{checkboxCls:me}=je,Se=`${me}-wrapper`;return[{[`${me}-group`]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[me]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${me}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${me}-inner`]:Object.assign({},(0,Oe.oN)(je))},[`${me}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[`
${Se}:not(${Se}-disabled),
${me}:not(${me}-disabled)
`]:{[`&:hover ${me}-inner`]:{borderColor:je.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${me}-checked:not(${me}-disabled) ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${me}-checked:not(${me}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${me}-checked`]:{[`${me}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[`
${Se}-checked:not(${Se}-disabled),
${me}-checked:not(${me}-disabled)
`]:{[`&:hover ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[me]:{"&-indeterminate":{[`${me}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${me}-disabled`]:{[`&, ${me}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${me}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${me}-indeterminate ${me}-inner::after`]:{background:je.colorTextDisabled}}}]};function Ge(je,me){const Se=(0,be.TS)(me,{checkboxCls:`.${je}`,checkboxSize:me.controlInteractiveSize});return[at(Se)]}Ut.ZP=(0,ze.Z)("Checkbox",(je,me)=>{let{prefixCls:Se}=me;return[Ge(Se,je)]})},28103:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Fe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(17313),je=we(83116),me=we(37613);const Se=Ce=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ce;return{[ie]:Object.assign(Object.assign({},(0,Ge.Wf)(Ce)),{borderBlockStart:`${ee}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ee}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ce.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ce.dividerHorizontalWithTextGutterMargin}px 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${te*100}%`},"&::after":{width:`${100-te*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-te*100}%`},"&::after":{width:`${te*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${ee}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:Ce.colorText,fontWeight:"normal",fontSize:Ce.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var Le=(0,je.Z)("Divider",Ce=>{const ie=(0,me.TS)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[Se(ie)]},Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS})),de=function(Ce,ie){var y={};for(var a in Ce)Object.prototype.hasOwnProperty.call(Ce,a)&&ie.indexOf(a)<0&&(y[a]=Ce[a]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ce);ee<a.length;ee++)ie.indexOf(a[ee])<0&&Object.prototype.propertyIsEnumerable.call(Ce,a[ee])&&(y[a[ee]]=Ce[a[ee]]);return y},Fe=Ce=>{const{getPrefixCls:ie,direction:y,divider:a}=ze.useContext(at.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:oe,rootClassName:he,children:_e,dashed:Pe,plain:Qe,style:Ze}=Ce,Ve=de(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=ie("divider",ee),[De,St]=Le(nt),ke=te.length>0?`-${te}`:te,Ot=!!_e,it=te==="left"&&ne!=null,rt=te==="right"&&ne!=null,wt=be()(nt,a==null?void 0:a.className,St,`${nt}-${E}`,{[`${nt}-with-text`]:Ot,[`${nt}-with-text${ke}`]:Ot,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Qe,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:it,[`${nt}-no-default-orientation-margin-right`]:rt},oe,he),dt=ze.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),pt=Object.assign(Object.assign({},it&&{marginLeft:dt}),rt&&{marginRight:dt});return De(ze.createElement("div",Object.assign({className:wt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ze)},Ve,{role:"separator"}),_e&&E!=="vertical"&&ze.createElement("span",{className:`${nt}-inner-text`,style:pt},_e)))}},91857:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(38819),ze=we(92310),at=we.n(ze),Ge=we(31561),je=we(70425),me=we(18929),Se=we(2738),Le=we(79676),de=we(53487),Ie=we(92343),Fe=we(36355),Ce=we(20834),ie=we(40875),y=we(88088),a=we(47211);const ee=null,E=he=>{const{menu:_e,arrow:Pe,prefixCls:Qe,children:Ze,trigger:Ve,disabled:nt,dropdownRender:De,getPopupContainer:St,overlayClassName:ke,rootClassName:Ot,open:it,onOpenChange:rt,visible:wt,onVisibleChange:dt,mouseEnterDelay:pt=.15,mouseLeaveDelay:st=.1,autoAdjustOverflow:ft=!0,placement:an="",overlay:fn,transitionName:Et}=he,{getPopupContainer:qt,getPrefixCls:Ln,direction:Hn}=Oe.useContext(Fe.E_),un=Oe.useMemo(()=>{const ot=Ln();return Et!==void 0?Et:an.includes("top")?`${ot}-slide-down`:`${ot}-slide-up`},[Ln,an,Et]),Vn=Oe.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:Hn==="rtl"?"bottomRight":"bottomLeft",[an,Hn]),yt=Ln("dropdown",Qe),[Kn,er]=(0,a.Z)(yt),[,Re]=(0,y.Z)(),Kt=Oe.Children.only(Ze),Te=(0,Ie.Tm)(Kt,{className:at()(`${yt}-trigger`,{[`${yt}-rtl`]:Hn==="rtl"},Kt.props.className),disabled:nt}),pe=nt?[]:Ve;let ce;pe&&pe.includes("contextMenu")&&(ce=!0);const[ye,qe]=(0,me.Z)(!1,{value:it!=null?it:wt}),gt=(0,je.useEvent)(ot=>{rt==null||rt(ot),dt==null||dt(ot),qe(ot)}),Me=at()(ke,Ot,er,{[`${yt}-rtl`]:Hn==="rtl"}),Xe=(0,Le.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:ft,offset:Re.marginXXS,arrowWidth:Pe?Re.sizePopupArrow:0,borderRadius:Re.borderRadius}),Pt=Oe.useCallback(()=>{qe(!1)},[]),ct=()=>{let ot;return _e!=null&&_e.items?ot=Oe.createElement(Ce.default,Object.assign({},_e)):typeof fn=="function"?ot=fn():ot=fn,De&&(ot=De(ot)),ot=Oe.Children.only(typeof ot=="string"?Oe.createElement("span",null,ot):ot),Oe.createElement(ie.J,{prefixCls:`${yt}-menu`,expandIcon:Oe.createElement("span",{className:`${yt}-menu-submenu-arrow`},Oe.createElement(be.Z,{className:`${yt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:kt=>{let{mode:_n}=kt}},ot)};return Kn(Oe.createElement(Ge.Z,Object.assign({alignPoint:ce},(0,Se.Z)(he,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:st,visible:ye,builtinPlacements:Xe,arrow:!!Pe,overlayClassName:Me,prefixCls:yt,getPopupContainer:St||qt,transitionName:un,trigger:pe,overlay:ct,placement:Vn,onVisibleChange:gt}),Te))};function te(he){return Object.assign(Object.assign({},he),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,de.Z)(E,"dropdown",he=>he,te),oe=he=>Oe.createElement(ne,Object.assign({},he),Oe.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=oe,Ut.Z=E},38854:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return y}});var Oe=we(91857),be=we(92310),ze=we.n(be),at=we(59301),Ge=we(18785),je=we(3113),me=we(36355),Se=we(81327),Le=we(33234),de=we(47211),Ie=function(a,ee){var E={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(E[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne<te.length;ne++)ee.indexOf(te[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,te[ne])&&(E[te[ne]]=a[te[ne]]);return E};const Fe=a=>{const{getPopupContainer:ee,getPrefixCls:E,direction:te}=at.useContext(me.E_),{prefixCls:ne,type:oe="default",danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,children:Ve,className:nt,menu:De,arrow:St,autoFocus:ke,overlay:Ot,trigger:it,align:rt,open:wt,onOpenChange:dt,placement:pt,getPopupContainer:st,href:ft,icon:an=at.createElement(Ge.Z,null),title:fn,buttonsRender:Et=ct=>ct,mouseEnterDelay:qt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt}=a,Kn=Ie(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),er=E("dropdown",ne),Re=`${er}-button`,[Kt,Te]=(0,de.Z)(er),pe={menu:De,arrow:St,autoFocus:ke,align:rt,disabled:_e,trigger:_e?[]:it,onOpenChange:dt,getPopupContainer:st||ee,mouseEnterDelay:qt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt},{compactSize:ce,compactItemClassnames:ye}=(0,Le.ri)(er,te),qe=ze()(Re,ye,nt,Te);"overlay"in a&&(pe.overlay=Ot),"open"in a&&(pe.open=wt),"placement"in a?pe.placement=pt:pe.placement=te==="rtl"?"bottomLeft":"bottomRight";const gt=at.createElement(je.ZP,{type:oe,danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,href:ft,title:fn},Ve),Me=at.createElement(je.ZP,{type:oe,danger:he,icon:an}),[Xe,Pt]=Et([gt,Me]);return Kt(at.createElement(Se.Z.Compact,Object.assign({className:qe,size:ce,block:!0},Kn),Xe,at.createElement(Oe.Z,Object.assign({},pe),Pt)))};Fe.__ANT_BUTTON=!0;var Ce=Fe;const ie=Oe.Z;ie.Button=Ce;var y=ie},47211:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(17313),be=we(13826),ze=we(92899),at=we(29878),Ge=we(19447),je=we(83116),me=we(37613),Le=Fe=>{const{componentCls:Ce,menuCls:ie,colorError:y,colorTextLightSolid:a}=Fe,ee=`${ie}-item`;return{[`${Ce}, ${Ce}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const de=Fe=>{const{componentCls:Ce,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:oe,fontSize:he,dropdownEdgeChildPadding:_e,colorTextDisabled:Pe,fontSizeIcon:Qe,controlPaddingHorizontal:Ze,colorBgElevated:Ve}=Fe;return[{[Ce]:Object.assign(Object.assign({},(0,Oe.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${te}-down, & > ${E}-btn-icon > ${te}-down`]:{fontSize:Qe}},[`${Ce}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Qe},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ce}-wrap-open`]:{[`${te}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomRight`]:{animationName:be.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topRight`]:{animationName:be.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomRight`]:{animationName:be.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topRight`]:{animationName:be.ly}})},(0,Ge.ZP)(Fe,{colorBg:Ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ce} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ce}, ${Ce}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:_e,listStyleType:"none",backgroundColor:Ve,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary},(0,Oe.Qy)(Fe)),{[`${ie}-item-group-title`]:{padding:`${oe}px ${Ze}px`,color:Fe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:he,marginInlineEnd:Fe.marginXS,fontSize:Fe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${oe}px ${Ze}px`,color:Fe.colorText,fontWeight:"normal",fontSize:he,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Fe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Fe.controlItemBgHover}},(0,Oe.Qy)(Fe)),{"&-selected":{color:Fe.colorPrimary,backgroundColor:Fe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Fe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Fe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Fe.colorSplit},[`${Ce}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingXS,[`${Ce}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Fe.colorTextDescription,fontSize:Qe,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Fe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ze+Fe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ce}-menu-submenu-title`]:{[`&, ${Ce}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ve,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ce}-menu-submenu-title`]:{color:Fe.colorPrimary}})}},[(0,be.oN)(Fe,"slide-up"),(0,be.oN)(Fe,"slide-down"),(0,ze.Fm)(Fe,"move-up"),(0,ze.Fm)(Fe,"move-down"),(0,at._y)(Fe,"zoom-big")]]};var Ie=(0,je.Z)("Dropdown",(Fe,Ce)=>{let{rootPrefixCls:ie}=Ce;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:E,lineHeight:te,paddingXXS:ne,componentCls:oe,borderRadiusLG:he}=Fe,_e=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,Ge.fS)({contentRadius:he}),Qe=(0,me.TS)(Fe,{menuCls:`${oe}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:_e,dropdownEdgeChildPadding:ne});return[de(Qe),Le(Qe)]},Fe=>({zIndexPopup:Fe.zIndexPopupBase+50}))},8628:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(34280),ze=we(56762),at=we(69507);function Ge(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const me=(0,Oe.useRef)({}),Se=(0,ze.Z)(),Le=(0,at.ZP)();return(0,be.Z)(()=>{const de=Le.subscribe(Ie=>{me.current=Ie,je&&Se()});return()=>Le.unsubscribe(de)},[]),me.current}Ut.Z=Ge},45818:function(on,Ut,we){"use strict";we.d(Ut,{D:function(){return ne},Z:function(){return _e}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},at=ze,Ge=we(7657),je=function(Qe,Ze){return be.createElement(Ge.Z,(0,Oe.Z)({},Qe,{ref:Ze,icon:at}))},me=be.forwardRef(je),Se=me,Le=we(33853),de=we(38819),Ie=we(92310),Fe=we.n(Ie),Ce=we(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=we(36355),ee=we(84966),E=function(Pe,Qe){var Ze={};for(var Ve in Pe)Object.prototype.hasOwnProperty.call(Pe,Ve)&&Qe.indexOf(Ve)<0&&(Ze[Ve]=Pe[Ve]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ve=Object.getOwnPropertySymbols(Pe);nt<Ve.length;nt++)Qe.indexOf(Ve[nt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ve[nt])&&(Ze[Ve[nt]]=Pe[Ve[nt]]);return Ze};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=be.createContext({}),oe=(()=>{let Pe=0;return function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Qe}${Pe}`}})();var _e=be.forwardRef((Pe,Qe)=>{const{prefixCls:Ze,className:Ve,trigger:nt,children:De,defaultCollapsed:St=!1,theme:ke="dark",style:Ot={},collapsible:it=!1,reverseArrow:rt=!1,width:wt=200,collapsedWidth:dt=80,zeroWidthTriggerStyle:pt,breakpoint:st,onCollapse:ft,onBreakpoint:an}=Pe,fn=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Et}=(0,be.useContext)(ee.Gs),[qt,Ln]=(0,be.useState)("collapsed"in Pe?Pe.collapsed:St),[Hn,un]=(0,be.useState)(!1);(0,be.useEffect)(()=>{"collapsed"in Pe&&Ln(Pe.collapsed)},[Pe.collapsed]);const Vn=(Te,pe)=>{"collapsed"in Pe||Ln(Te),ft==null||ft(Te,pe)},yt=(0,be.useRef)();yt.current=Te=>{un(Te.matches),an==null||an(Te.matches),qt!==Te.matches&&Vn(Te.matches,"responsive")},(0,be.useEffect)(()=>{function Te(ce){return yt.current(ce)}let pe;if(typeof window!="undefined"){const{matchMedia:ce}=window;if(ce&&st&&st in te){pe=ce(`(max-width: ${te[st]})`);try{pe.addEventListener("change",Te)}catch(ye){pe.addListener(Te)}Te(pe)}}return()=>{try{pe==null||pe.removeEventListener("change",Te)}catch(ce){pe==null||pe.removeListener(Te)}}},[st]),(0,be.useEffect)(()=>{const Te=oe("ant-sider-");return Et.addSider(Te),()=>Et.removeSider(Te)},[]);const Kn=()=>{Vn(!qt,"clickTrigger")},{getPrefixCls:er}=(0,be.useContext)(a.E_),Re=()=>{const Te=er("layout-sider",Ze),pe=(0,Ce.Z)(fn,["collapsed"]),ce=qt?dt:wt,ye=y(ce)?`${ce}px`:String(ce),qe=parseFloat(String(dt||0))===0?be.createElement("span",{onClick:Kn,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${rt?"right":"left"}`),style:pt},nt||be.createElement(Se,null)):null,Xe={expanded:rt?be.createElement(de.Z,null):be.createElement(Le.Z,null),collapsed:rt?be.createElement(Le.Z,null):be.createElement(de.Z,null)}[qt?"collapsed":"expanded"],Pt=nt!==null?qe||be.createElement("div",{className:`${Te}-trigger`,onClick:Kn,style:{width:ye}},nt||Xe):null,ct=Object.assign(Object.assign({},Ot),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),ot=Fe()(Te,`${Te}-${ke}`,{[`${Te}-collapsed`]:!!qt,[`${Te}-has-trigger`]:it&&nt!==null&&!qe,[`${Te}-below`]:!!Hn,[`${Te}-zero-width`]:parseFloat(ye)===0},Ve);return be.createElement("aside",Object.assign({className:ot},pe,{style:ct,ref:Qe}),be.createElement("div",{className:`${Te}-children`},De),it||Hn&&qe?Pt:null)},Kt=be.useMemo(()=>({siderCollapsed:qt}),[qt]);return be.createElement(ne.Provider,{value:Kt},Re())})},84966:function(on,Ut,we){"use strict";we.d(Ut,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ce},ZP:function(){return oe}});var Oe=we(94480),be=we(92310),ze=we.n(be),at=we(2738),Ge=we(59301),je=we(36355),me=we(83116),Le=he=>{const{componentCls:_e,bodyBg:Pe,lightSiderBg:Qe,lightTriggerBg:Ze,lightTriggerColor:Ve}=he;return{[`${_e}-sider-light`]:{background:Qe,[`${_e}-sider-trigger`]:{color:Ve,background:Ze},[`${_e}-sider-zero-width-trigger`]:{color:Ve,background:Ze,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const de=he=>{const{antCls:_e,componentCls:Pe,colorText:Qe,triggerColor:Ze,footerBg:Ve,triggerBg:nt,headerHeight:De,headerPadding:St,headerColor:ke,footerPadding:Ot,triggerHeight:it,zeroTriggerHeight:rt,zeroTriggerWidth:wt,motionDurationMid:dt,motionDurationSlow:pt,fontSize:st,borderRadius:ft,bodyBg:an,headerBg:fn,siderBg:Et}=he;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${_e}-menu${_e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Ze,lineHeight:`${it}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:De,insetInlineEnd:-wt,zIndex:1,width:wt,height:rt,color:Ze,fontSize:he.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-wt,borderStartStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ft}}}}},Le(he)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:De,padding:St,color:ke,lineHeight:`${De}px`,background:fn,[`${_e}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Ot,color:Qe,fontSize:st,background:Ve},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ie=(0,me.Z)("Layout",he=>[de(he)],he=>{const{colorBgLayout:_e,controlHeight:Pe,controlHeightLG:Qe,colorText:Ze,controlHeightSM:Ve,marginXXS:nt,colorTextLightSolid:De,colorBgContainer:St}=he,ke=Qe*1.25;return{colorBgHeader:"#001529",colorBgBody:_e,colorBgTrigger:"#002140",bodyBg:_e,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${ke}px`,headerColor:Ze,footerPadding:`${Ve}px ${ke}px`,footerBg:_e,siderBg:"#001529",triggerHeight:Qe+nt*2,triggerBg:"#002140",triggerColor:De,zeroTriggerWidth:Qe,zeroTriggerHeight:Qe,lightSiderBg:St,lightTriggerBg:St,lightTriggerColor:Ze}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Fe=function(he,_e){var Pe={};for(var Qe in he)Object.prototype.hasOwnProperty.call(he,Qe)&&_e.indexOf(Qe)<0&&(Pe[Qe]=he[Qe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(he);Ze<Qe.length;Ze++)_e.indexOf(Qe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(he,Qe[Ze])&&(Pe[Qe[Ze]]=he[Qe[Ze]]);return Pe};const Ce=Ge.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ie(he){let{suffixCls:_e,tagName:Pe,displayName:Qe}=he;return Ze=>Ge.forwardRef((nt,De)=>Ge.createElement(Ze,Object.assign({ref:De,suffixCls:_e,tagName:Pe},nt)))}const y=Ge.forwardRef((he,_e)=>{const{prefixCls:Pe,suffixCls:Qe,className:Ze,tagName:Ve}=he,nt=Fe(he,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:De}=Ge.useContext(je.E_),St=De("layout",Pe),[ke,Ot]=Ie(St),it=Qe?`${St}-${Qe}`:St;return ke(Ge.createElement(Ve,Object.assign({className:ze()(Pe||it,Ze,Ot),ref:_e},nt)))}),a=Ge.forwardRef((he,_e)=>{const{direction:Pe}=Ge.useContext(je.E_),[Qe,Ze]=Ge.useState([]),{prefixCls:Ve,className:nt,rootClassName:De,children:St,hasSider:ke,tagName:Ot,style:it}=he,rt=Fe(he,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),wt=(0,at.Z)(rt,["suffixCls"]),{getPrefixCls:dt,layout:pt}=Ge.useContext(je.E_),st=dt("layout",Ve),[ft,an]=Ie(st),fn=ze()(st,{[`${st}-has-sider`]:typeof ke=="boolean"?ke:Qe.length>0,[`${st}-rtl`]:Pe==="rtl"},pt==null?void 0:pt.className,nt,De,an),Et=Ge.useMemo(()=>({siderHook:{addSider:qt=>{Ze(Ln=>[].concat((0,Oe.Z)(Ln),[qt]))},removeSider:qt=>{Ze(Ln=>Ln.filter(Hn=>Hn!==qt))}}}),[]);return ft(Ge.createElement(Ce.Provider,{value:Et},Ge.createElement(Ot,Object.assign({ref:_e,className:fn,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),it)},wt),St)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),E=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),te=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var oe=ee},40875:function(on,Ut,we){"use strict";we.d(Ut,{J:function(){return je}});var Oe=we(59301),be=we(33234),ze=we(70425),at=function(me,Se){var Le={};for(var de in me)Object.prototype.hasOwnProperty.call(me,de)&&Se.indexOf(de)<0&&(Le[de]=me[de]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,de=Object.getOwnPropertySymbols(me);Ie<de.length;Ie++)Se.indexOf(de[Ie])<0&&Object.prototype.propertyIsEnumerable.call(me,de[Ie])&&(Le[de[Ie]]=me[de[Ie]]);return Le};const Ge=Oe.createContext(null),je=Oe.forwardRef((me,Se)=>{const{children:Le}=me,de=at(me,["children"]),Ie=Oe.useContext(Ge),Fe=Oe.useMemo(()=>Object.assign(Object.assign({},Ie),de),[Ie,de.prefixCls,de.mode,de.selectable]);return Oe.createElement(Ge.Provider,{value:Fe},Oe.createElement(be.BR,null,(0,ze.supportNodeRef)(Le)?Oe.cloneElement(Le,{ref:Se}):Le))});Ut.Z=Ge},20834:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Kt}});var Oe=we(15285),be=we(59301),ze=we(45818),at=we(92310),Ge=we.n(at),je=we(36355),me=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce},Le=Te=>{const{prefixCls:pe,className:ce,dashed:ye}=Te,qe=me(Te,["prefixCls","className","dashed"]),{getPrefixCls:gt}=be.useContext(je.E_),Me=gt("menu",pe),Xe=Ge()({[`${Me}-item-divider-dashed`]:!!ye},ce);return be.createElement(Oe.iz,Object.assign({className:Xe},qe))},de=we(11592),Ie=we(2738),Fe=we(6848),Ce=we(92343),y=(0,be.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Te=>{var pe;const{className:ce,children:ye,icon:qe,title:gt,danger:Me}=Te,{prefixCls:Xe,firstLevel:Pt,direction:ct,disableMenuItemTitleTooltip:ot,inlineCollapsed:kt}=be.useContext(y),_n=Jn=>{const hr=be.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,Ce.l$)(ye)&&ye.type==="span")&&ye&&Jn&&Pt&&typeof ye=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):hr},{siderCollapsed:_t}=be.useContext(ze.D);let rn=gt;typeof gt=="undefined"?rn=Pt?ye:"":gt===!1&&(rn="");const Nt={title:rn};!_t&&!kt&&(Nt.title=null,Nt.open=!1);const yn=(0,de.Z)(ye).length;let Yt=be.createElement(Oe.ck,Object.assign({},(0,Ie.Z)(Te,["title","icon","danger"]),{className:Ge()({[`${Xe}-item-danger`]:Me,[`${Xe}-item-only-child`]:(qe?yn+1:yn)===1},ce),title:typeof gt=="string"?gt:void 0}),(0,Ce.Tm)(qe,{className:Ge()((0,Ce.l$)(qe)?(pe=qe.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_n(kt));return ot||(Yt=be.createElement(Fe.Z,Object.assign({},Nt,{placement:ct==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),Yt)),Yt},te=Te=>{var pe;const{popupClassName:ce,icon:ye,title:qe,theme:gt}=Te,Me=be.useContext(y),{prefixCls:Xe,inlineCollapsed:Pt,theme:ct}=Me,ot=(0,Oe.Xl)();let kt;if(!ye)kt=Pt&&!ot.length&&qe&&typeof qe=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):be.createElement("span",{className:`${Xe}-title-content`},qe);else{const _t=(0,Ce.l$)(qe)&&qe.type==="span";kt=be.createElement(be.Fragment,null,(0,Ce.Tm)(ye,{className:Ge()((0,Ce.l$)(ye)?(pe=ye.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_t?qe:be.createElement("span",{className:`${Xe}-title-content`},qe))}const _n=be.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return be.createElement(y.Provider,{value:_n},be.createElement(Oe.Wd,Object.assign({},(0,Ie.Z)(Te,["icon"]),{title:kt,popupClassName:Ge()(Xe,ce,`${Xe}-${gt||ct}`)})))},ne=we(18785),oe=we(70425),he=we(62892),_e=we(40875),Pe=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce};function Qe(Te){return(Te||[]).map((pe,ce)=>{if(pe&&typeof pe=="object"){const ye=pe,{label:qe,children:gt,key:Me,type:Xe}=ye,Pt=Pe(ye,["label","children","key","type"]),ct=Me!=null?Me:`tmp-${ce}`;return gt||Xe==="group"?Xe==="group"?be.createElement(Oe.BW,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):be.createElement(te,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):Xe==="divider"?be.createElement(Le,Object.assign({key:ct},Pt)):be.createElement(ee,Object.assign({key:ct},Pt),qe)}return null}).filter(pe=>pe)}function Ze(Te){return be.useMemo(()=>Te&&Qe(Te),[Te])}var Ve=we(64993),nt=we(17313),De=we(8378),St=we(13826),ke=we(29878),Ot=we(83116),it=we(37613),wt=Te=>{const{componentCls:pe,motionDurationSlow:ce,horizontalLineHeight:ye,colorSplit:qe,lineWidth:gt,lineType:Me,itemPaddingInline:Xe}=Te;return{[`${pe}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${gt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${pe}-item:hover,
> ${pe}-item-active,
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${ce}`,`background ${ce}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},pt=Te=>{let{componentCls:pe,menuArrowOffset:ce}=Te;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ce})`},"&::after":{transform:`rotate(45deg) translateY(${ce})`}}}}};const st=Te=>Object.assign({},(0,nt.oN)(Te));var an=(Te,pe)=>{const{componentCls:ce,itemColor:ye,itemSelectedColor:qe,groupTitleColor:gt,itemBg:Me,subMenuItemBg:Xe,itemSelectedBg:Pt,activeBarHeight:ct,activeBarWidth:ot,activeBarBorderWidth:kt,motionDurationSlow:_n,motionEaseInOut:_t,motionEaseOut:rn,itemPaddingInline:Nt,motionDurationMid:yn,itemHoverColor:Yt,lineType:Jn,colorSplit:hr,itemDisabledColor:tr,dangerItemColor:Nr,dangerItemHoverColor:Dr,dangerItemSelectedColor:sa,dangerItemActiveBg:Aa,dangerItemSelectedBg:Hr,itemHoverBg:wr,itemActiveBg:Qr,menuSubMenuBg:ea,horizontalItemSelectedColor:xa,horizontalItemSelectedBg:co,horizontalItemBorderRadius:qr,horizontalItemHoverBg:hi,popupBg:Ii}=Te;return{[`${ce}-${pe}, ${ce}-${pe} > ${ce}`]:{color:ye,background:Me,[`&${ce}-root:focus-visible`]:Object.assign({},st(Te)),[`${ce}-item-group-title`]:{color:gt},[`${ce}-submenu-selected`]:{[`> ${ce}-submenu-title`]:{color:qe}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{color:`${tr} !important`},[`${ce}-item:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{[`&:hover, > ${ce}-submenu-title:hover`]:{color:Yt}},[`&:not(${ce}-horizontal)`]:{[`${ce}-item:not(${ce}-item-selected)`]:{"&:hover":{backgroundColor:wr},"&:active":{backgroundColor:Qr}},[`${ce}-submenu-title`]:{"&:hover":{backgroundColor:wr},"&:active":{backgroundColor:Qr}}},[`${ce}-item-danger`]:{color:Nr,[`&${ce}-item:hover`]:{[`&:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{color:Dr}},[`&${ce}-item:active`]:{background:Aa}},[`${ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ce}-item-selected`]:{color:qe,[`&${ce}-item-danger`]:{color:sa},"a, a:hover":{color:"inherit"}},[`& ${ce}-item-selected`]:{backgroundColor:Pt,[`&${ce}-item-danger`]:{backgroundColor:Hr}},[`${ce}-item, ${ce}-submenu-title`]:{[`&:not(${ce}-item-disabled):focus-visible`]:Object.assign({},st(Te))},[`&${ce}-submenu > ${ce}`]:{backgroundColor:ea},[`&${ce}-popup > ${ce}`]:{backgroundColor:Ii},[`&${ce}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${ce}-item, > ${ce}-submenu`]:{top:kt,marginTop:-kt,marginBottom:0,borderRadius:qr,"&::after":{position:"absolute",insetInline:Nt,bottom:0,borderBottom:`${ct}px solid transparent`,transition:`border-color ${_n} ${_t}`,content:'""'},"&:hover, &-active, &-open":{background:hi,"&::after":{borderBottomWidth:ct,borderBottomColor:xa}},"&-selected":{color:xa,backgroundColor:co,"&:hover":{backgroundColor:co},"&::after":{borderBottomWidth:ct,borderBottomColor:xa}}}}),[`&${ce}-root`]:{[`&${ce}-inline, &${ce}-vertical`]:{borderInlineEnd:`${kt}px ${Jn} ${hr}`}},[`&${ce}-inline`]:{[`${ce}-sub${ce}-inline`]:{background:Xe},[`${ce}-item, ${ce}-submenu-title`]:kt&&ot?{width:`calc(100% + ${kt}px)`}:{},[`${ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ot}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${rn}`,`opacity ${yn} ${rn}`].join(","),content:'""'},[`&${ce}-item-danger`]:{"&::after":{borderInlineEndColor:sa}}},[`${ce}-selected, ${ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${_t}`,`opacity ${yn} ${_t}`].join(",")}}}}}};const fn=Te=>{const{componentCls:pe,itemHeight:ce,itemMarginInline:ye,padding:qe,menuArrowSize:gt,marginXS:Me,itemMarginBlock:Xe}=Te,Pt=qe+gt+Me;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${pe}-item,
> ${pe}-submenu > ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`},[`${pe}-item-group-list ${pe}-submenu-title,
${pe}-submenu-title`]:{paddingInlineEnd:Pt}}};var qt=Te=>{const{componentCls:pe,iconCls:ce,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:gt,controlHeightLG:Me,motionDurationMid:Xe,motionEaseOut:Pt,paddingXL:ct,itemMarginInline:ot,fontSizeLG:kt,motionDurationSlow:_n,paddingXS:_t,boxShadowSecondary:rn,collapsedWidth:Nt,collapsedIconSize:yn}=Te,Yt={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},fn(Te))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},fn(Te)),{boxShadow:rn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Me*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${_n}`,`background ${_n}`,`padding ${Xe} ${Pt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:Yt,[`& ${pe}-item-group-title`]:{paddingInlineStart:ct}},[`${pe}-item`]:Yt}},{[`${pe}-inline-collapsed`]:{width:Nt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:kt,textAlign:"center"}}},[`> ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${kt/2}px - ${ot}px)`,textOverflow:"clip",[`
${pe}-submenu-arrow,
${pe}-submenu-expand-icon
`]:{opacity:0},[`${pe}-item-icon, ${ce}`]:{margin:0,fontSize:yn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${ce}`]:{display:"none"},"a, a:hover":{color:qe}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:_t})}}]};const Ln=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:gt,iconCls:Me,iconSize:Xe,iconMarginInlineEnd:Pt}=Te;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${ce} ${qe}`].join(","),[`${pe}-item-icon, ${Me}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${gt}`,`margin ${ce} ${qe}`,`color ${ce}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ce} ${qe}`,`margin ${ce}`,`color ${ce}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Me}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Hn=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:gt,menuArrowOffset:Me}=Te;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Te.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ce} ${ye}, opacity ${ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ce} ${ye}`,`transform ${ce} ${ye}`,`top ${ce} ${ye}`,`color ${ce} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Me})`},"&::after":{transform:`rotate(-45deg) translateY(${Me})`}}}}},un=Te=>{const{antCls:pe,componentCls:ce,fontSize:ye,motionDurationSlow:qe,motionDurationMid:gt,motionEaseInOut:Me,paddingXS:Xe,padding:Pt,colorSplit:ct,lineWidth:ot,zIndexPopup:kt,borderRadiusLG:_n,subMenuItemBorderRadius:_t,menuArrowSize:rn,menuArrowOffset:Nt,lineType:yn,menuPanelMaskInset:Yt,groupTitleLineHeight:Jn,groupTitleFontSize:hr}=Te;return[{"":{[`${ce}`]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${ce}-submenu-hidden`]:{display:"none"}},{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(Te)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ce}-item`]:{flex:"none"}},[`${ce}-item, ${ce}-submenu, ${ce}-submenu-title`]:{borderRadius:Te.itemBorderRadius},[`${ce}-item-group-title`]:{padding:`${Xe}px ${Pt}px`,fontSize:hr,lineHeight:Jn,transition:`all ${qe}`},[`&-horizontal ${ce}-submenu`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`].join(",")},[`${ce}-submenu, ${ce}-submenu-inline`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`,`padding ${gt} ${Me}`].join(",")},[`${ce}-submenu ${ce}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Me}`,`padding ${qe} ${Me}`].join(",")},[`${ce}-title-content`]:{transition:`color ${qe}`},[`${ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ct,borderStyle:yn,borderWidth:0,borderTopWidth:ot,marginBlock:ot,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ln(Te)),{[`${ce}-item-group`]:{[`${ce}-item-group-list`]:{margin:0,padding:0,[`${ce}-item, ${ce}-submenu-title`]:{paddingInline:`${ye*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:kt,borderRadius:_n,boxShadow:"none",transformOrigin:"0 0",[`&${ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Yt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Yt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Te.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Te.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Te.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Te.paddingXS},[`> ${ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:_n},Ln(Te)),Hn(Te)),{[`${ce}-item, ${ce}-submenu > ${ce}-submenu-title`]:{borderRadius:_t},[`${ce}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),Hn(Te)),{[`&-inline-collapsed ${ce}-submenu-arrow,
&-inline ${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Nt})`},"&::after":{transform:`rotate(45deg) translateX(-${Nt})`}},[`${ce}-submenu-open${ce}-submenu-inline > ${ce}-submenu-title > ${ce}-submenu-arrow`]:{transform:`translateY(-${rn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Nt})`},"&::before":{transform:`rotate(45deg) translateX(${Nt})`}}})},{[`${pe}-layout-header`]:{[ce]:{lineHeight:"inherit"}}}]};var Vn=(Te,pe)=>(0,Ot.Z)("Menu",ye=>{if(pe===!1)return[];const{colorBgElevated:qe,colorPrimary:gt,colorTextLightSolid:Me,controlHeightLG:Xe,fontSize:Pt,darkItemColor:ct,darkDangerItemColor:ot,darkItemBg:kt,darkSubMenuItemBg:_n,darkItemSelectedColor:_t,darkItemSelectedBg:rn,darkDangerItemSelectedBg:Nt,darkItemHoverBg:yn,darkGroupTitleColor:Yt,darkItemHoverColor:Jn,darkItemDisabledColor:hr,darkDangerItemHoverColor:tr,darkDangerItemSelectedColor:Nr,darkDangerItemActiveBg:Dr}=ye,sa=Pt/7*5,Aa=(0,it.TS)(ye,{menuArrowSize:sa,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${sa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),Hr=(0,it.TS)(Aa,{itemColor:ct,itemHoverColor:Jn,groupTitleColor:Yt,itemSelectedColor:_t,itemBg:kt,popupBg:kt,subMenuItemBg:_n,itemActiveBg:"transparent",itemSelectedBg:rn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:hr,dangerItemColor:ot,dangerItemHoverColor:tr,dangerItemSelectedColor:Nr,dangerItemActiveBg:Dr,dangerItemSelectedBg:Nt,menuSubMenuBg:_n,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:gt});return[un(Aa),wt(Aa),qt(Aa),an(Aa,"light"),an(Hr,"dark"),pt(Aa),(0,De.Z)(Aa),(0,St.oN)(Aa,"slide-up"),(0,St.oN)(Aa,"slide-down"),(0,ke._y)(Aa,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:gt,colorTextDisabled:Me,colorErrorBg:Xe,colorText:Pt,colorTextDescription:ct,colorBgContainer:ot,colorFillAlter:kt,colorFillContent:_n,lineWidth:_t,lineWidthBold:rn,controlItemBgActive:Nt,colorBgTextHover:yn,controlHeightLG:Yt,lineHeight:Jn,colorBgElevated:hr,marginXXS:tr,padding:Nr,fontSize:Dr,controlHeightSM:sa,fontSizeLG:Aa,colorTextLightSolid:Hr,colorErrorHover:wr}=ye,Qr=new Ve.C(Hr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:ct,groupTitleColor:ct,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:ot,itemBg:ot,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:_n,itemActiveBg:Nt,colorSubItemBg:kt,subMenuItemBg:kt,colorItemBgSelected:Nt,itemSelectedBg:Nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:rn,activeBarHeight:rn,colorActiveBarBorderSize:_t,activeBarBorderWidth:_t,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Yt,groupTitleLineHeight:Jn,collapsedWidth:Yt*2,popupBg:hr,itemMarginBlock:tr,itemPaddingInline:Nr,horizontalLineHeight:`${Yt*1.15}px`,iconSize:Dr,iconMarginInlineEnd:sa-Dr,collapsedIconSize:Aa,groupTitleFontSize:Dr,darkItemDisabledColor:new Ve.C(Hr).setAlpha(.25).toRgbString(),darkItemColor:Qr,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Qr,darkItemHoverColor:Hr,darkDangerItemHoverColor:wr,darkDangerItemSelectedColor:Hr,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Te),yt=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce},er=(0,be.forwardRef)((Te,pe)=>{var ce,ye;const qe=be.useContext(_e.Z),gt=qe||{},{getPrefixCls:Me,getPopupContainer:Xe,direction:Pt,menu:ct}=be.useContext(je.E_),ot=Me(),{prefixCls:kt,className:_n,style:_t,theme:rn="light",expandIcon:Nt,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Yt,siderCollapsed:Jn,items:hr,children:tr,rootClassName:Nr,mode:Dr,selectable:sa,onClick:Aa,overflowedIndicatorPopupClassName:Hr}=Te,wr=yt(Te,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Qr=(0,Ie.Z)(wr,["collapsedWidth"]),ea=Ze(hr)||tr;(ce=gt.validator)===null||ce===void 0||ce.call(gt,{mode:Dr});const xa=(0,oe.useEvent)(function(){var bi;Aa==null||Aa.apply(void 0,arguments),(bi=gt.onClick)===null||bi===void 0||bi.call(gt)}),co=gt.mode||Dr,qr=sa!=null?sa:gt.selectable,hi=be.useMemo(()=>Jn!==void 0?Jn:Yt,[Yt,Jn]),Ii={horizontal:{motionName:`${ot}-slide-up`},inline:(0,he.Z)(ot),other:{motionName:`${ot}-zoom-big`}},ta=Me("menu",kt||gt.prefixCls),[sn,KA]=Vn(ta,!qe),mA=Ge()(`${ta}-${rn}`,ct==null?void 0:ct.className,_n);let IA;if(typeof Nt=="function")IA=Nt;else if(Nt===null||Nt===!1)IA=null;else if(gt.expandIcon===null||gt.expandIcon===!1)IA=null;else{const bi=Nt!=null?Nt:gt.expandIcon;IA=(0,Ce.Tm)(bi,{className:Ge()(`${ta}-submenu-expand-icon`,(0,Ce.l$)(bi)?(ye=bi.props)===null||ye===void 0?void 0:ye.className:"")})}const gs=be.useMemo(()=>({prefixCls:ta,inlineCollapsed:hi||!1,direction:Pt,firstLevel:!0,theme:rn,mode:co,disableMenuItemTitleTooltip:yn}),[ta,hi,Pt,yn,rn]);return sn(be.createElement(_e.Z.Provider,{value:null},be.createElement(y.Provider,{value:gs},be.createElement(Oe.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:be.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ge()(ta,`${ta}-${rn}`,Hr),mode:co,selectable:qr,onClick:xa},Qr,{inlineCollapsed:hi,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),_t),className:mA,prefixCls:ta,direction:Pt,defaultMotions:Ii,expandIcon:IA,ref:pe,rootClassName:Ge()(Nr,KA)}),ea))))});const Re=(0,be.forwardRef)((Te,pe)=>{const ce=(0,be.useRef)(null),ye=be.useContext(ze.D);return(0,be.useImperativeHandle)(pe,()=>({menu:ce.current,focus:qe=>{var gt;(gt=ce.current)===null||gt===void 0||gt.focus(qe)}})),be.createElement(er,Object.assign({ref:ce},Te,ye))});Re.Item=ee,Re.SubMenu=te,Re.Divider=Le,Re.ItemGroup=Oe.BW;var Kt=Re},58421:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return gt}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},at=ze,Ge=we(7657),je=function(Xe,Pt){return be.createElement(Ge.Z,(0,Oe.Z)({},Xe,{ref:Pt,icon:at}))},me=be.forwardRef(je),Se=me,Le=we(49198),de=we(33853),Ie=we(38819),Fe=we(92310),Ce=we.n(Fe),ie=we(20068),y=we(33885),a=we(67732),ee=we(83652),E=we(42403),te=we(158),ne=we(26112),oe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},he=oe,_e=we(91735),Pe=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(){var ct;(0,a.Z)(this,Pt);for(var ot=arguments.length,kt=new Array(ot),_n=0;_n<ot;_n++)kt[_n]=arguments[_n];return ct=Xe.call.apply(Xe,[this].concat(kt)),ct.state={goInputText:""},ct.getValidValue=function(){var _t=ct.state.goInputText;return!_t||Number.isNaN(_t)?void 0:Number(_t)},ct.buildOptionText=function(_t){return"".concat(_t," ").concat(ct.props.locale.items_per_page)},ct.changeSize=function(_t){ct.props.changeSize(Number(_t))},ct.handleChange=function(_t){ct.setState({goInputText:_t.target.value})},ct.handleBlur=function(_t){var rn=ct.props,Nt=rn.goButton,yn=rn.quickGo,Yt=rn.rootPrefixCls,Jn=ct.state.goInputText;Nt||Jn===""||(ct.setState({goInputText:""}),!(_t.relatedTarget&&(_t.relatedTarget.className.indexOf("".concat(Yt,"-item-link"))>=0||_t.relatedTarget.className.indexOf("".concat(Yt,"-item"))>=0))&&yn(ct.getValidValue()))},ct.go=function(_t){var rn=ct.state.goInputText;rn!==""&&(_t.keyCode===he.ENTER||_t.type==="click")&&(ct.setState({goInputText:""}),ct.props.quickGo(ct.getValidValue()))},ct}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var ot=this.props,kt=ot.pageSize,_n=ot.pageSizeOptions;return _n.some(function(_t){return _t.toString()===kt.toString()})?_n:_n.concat([kt.toString()]).sort(function(_t,rn){var Nt=Number.isNaN(Number(_t))?0:Number(_t),yn=Number.isNaN(Number(rn))?0:Number(rn);return Nt-yn})}},{key:"render",value:function(){var ot=this,kt=this.props,_n=kt.pageSize,_t=kt.locale,rn=kt.rootPrefixCls,Nt=kt.changeSize,yn=kt.quickGo,Yt=kt.goButton,Jn=kt.selectComponentClass,hr=kt.buildOptionText,tr=kt.selectPrefixCls,Nr=kt.disabled,Dr=this.state.goInputText,sa="".concat(rn,"-options"),Aa=Jn,Hr=null,wr=null,Qr=null;if(!Nt&&!yn)return null;var ea=this.getPageSizeOptions();if(Nt&&Aa){var xa=ea.map(function(co,qr){return be.createElement(Aa.Option,{key:qr,value:co.toString()},(hr||ot.buildOptionText)(co))});Hr=be.createElement(Aa,{disabled:Nr,prefixCls:tr,showSearch:!1,className:"".concat(sa,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(_n||ea[0]).toString(),onChange:this.changeSize,getPopupContainer:function(qr){return qr.parentNode},"aria-label":_t.page_size,defaultOpen:!1},xa)}return yn&&(Yt&&(Qr=typeof Yt=="boolean"?be.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nr,className:"".concat(sa,"-quick-jumper-button")},_t.jump_to_confirm):be.createElement("span",{onClick:this.go,onKeyUp:this.go},Yt)),wr=be.createElement("div",{className:"".concat(sa,"-quick-jumper")},_t.jump_to,be.createElement("input",{disabled:Nr,type:"text",value:Dr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":_t.page}),_t.page,Qr)),be.createElement("li",{className:"".concat(sa)},Hr,wr)}}]),Pt}(be.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=Pe,Ze=function(Xe){var Pt,ct=Xe.rootPrefixCls,ot=Xe.page,kt=Xe.active,_n=Xe.className,_t=Xe.showTitle,rn=Xe.onClick,Nt=Xe.onKeyPress,yn=Xe.itemRender,Yt="".concat(ct,"-item"),Jn=Ce()(Yt,"".concat(Yt,"-").concat(ot),(Pt={},(0,ie.Z)(Pt,"".concat(Yt,"-active"),kt),(0,ie.Z)(Pt,"".concat(Yt,"-disabled"),!ot),(0,ie.Z)(Pt,Xe.className,_n),Pt)),hr=function(){rn(ot)},tr=function(sa){Nt(sa,rn,ot)},Nr=yn(ot,"page",be.createElement("a",{rel:"nofollow"},ot));return Nr?be.createElement("li",{title:_t?ot.toString():null,className:Jn,onClick:hr,onKeyPress:tr,tabIndex:0},Nr):null},Ve=Ze;function nt(){}function De(Me){var Xe=Number(Me);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var St=function(Xe,Pt,ct){return ct};function ke(Me,Xe,Pt){var ct=typeof Me=="undefined"?Xe.pageSize:Me;return Math.floor((Pt.total-1)/ct)+1}var Ot=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(ct){var ot;(0,a.Z)(this,Pt),ot=Xe.call(this,ct),ot.paginationNode=be.createRef(),ot.getJumpPrevPage=function(){return Math.max(1,ot.state.current-(ot.props.showLessItems?3:5))},ot.getJumpNextPage=function(){return Math.min(ke(void 0,ot.state,ot.props),ot.state.current+(ot.props.showLessItems?3:5))},ot.getItemIcon=function(Nt,yn){var Yt=ot.props.prefixCls,Jn=Nt||be.createElement("button",{type:"button","aria-label":yn,className:"".concat(Yt,"-item-link")});return typeof Nt=="function"&&(Jn=be.createElement(Nt,(0,y.Z)({},ot.props))),Jn},ot.isValid=function(Nt){var yn=ot.props.total;return De(Nt)&&Nt!==ot.state.current&&De(yn)&&yn>0},ot.shouldDisplayQuickJumper=function(){var Nt=ot.props,yn=Nt.showQuickJumper,Yt=Nt.total,Jn=ot.state.pageSize;return Yt<=Jn?!1:yn},ot.handleKeyDown=function(Nt){(Nt.keyCode===he.ARROW_UP||Nt.keyCode===he.ARROW_DOWN)&&Nt.preventDefault()},ot.handleKeyUp=function(Nt){var yn=ot.getValidValue(Nt),Yt=ot.state.currentInputValue;yn!==Yt&&ot.setState({currentInputValue:yn}),Nt.keyCode===he.ENTER?ot.handleChange(yn):Nt.keyCode===he.ARROW_UP?ot.handleChange(yn-1):Nt.keyCode===he.ARROW_DOWN&&ot.handleChange(yn+1)},ot.handleBlur=function(Nt){var yn=ot.getValidValue(Nt);ot.handleChange(yn)},ot.changePageSize=function(Nt){var yn=ot.state.current,Yt=ke(Nt,ot.state,ot.props);yn=yn>Yt?Yt:yn,Yt===0&&(yn=ot.state.current),typeof Nt=="number"&&("pageSize"in ot.props||ot.setState({pageSize:Nt}),"current"in ot.props||ot.setState({current:yn,currentInputValue:yn})),ot.props.onShowSizeChange(yn,Nt),"onChange"in ot.props&&ot.props.onChange&&ot.props.onChange(yn,Nt)},ot.handleChange=function(Nt){var yn=ot.props,Yt=yn.disabled,Jn=yn.onChange,hr=ot.state,tr=hr.pageSize,Nr=hr.current,Dr=hr.currentInputValue;if(ot.isValid(Nt)&&!Yt){var sa=ke(void 0,ot.state,ot.props),Aa=Nt;return Nt>sa?Aa=sa:Nt<1&&(Aa=1),"current"in ot.props||ot.setState({current:Aa}),Aa!==Dr&&ot.setState({currentInputValue:Aa}),Jn(Aa,tr),Aa}return Nr},ot.prev=function(){ot.hasPrev()&&ot.handleChange(ot.state.current-1)},ot.next=function(){ot.hasNext()&&ot.handleChange(ot.state.current+1)},ot.jumpPrev=function(){ot.handleChange(ot.getJumpPrevPage())},ot.jumpNext=function(){ot.handleChange(ot.getJumpNextPage())},ot.hasPrev=function(){return ot.state.current>1},ot.hasNext=function(){return ot.state.current<ke(void 0,ot.state,ot.props)},ot.runIfEnter=function(Nt,yn){if(Nt.key==="Enter"||Nt.charCode===13){for(var Yt=arguments.length,Jn=new Array(Yt>2?Yt-2:0),hr=2;hr<Yt;hr++)Jn[hr-2]=arguments[hr];yn.apply(void 0,Jn)}},ot.runIfEnterPrev=function(Nt){ot.runIfEnter(Nt,ot.prev)},ot.runIfEnterNext=function(Nt){ot.runIfEnter(Nt,ot.next)},ot.runIfEnterJumpPrev=function(Nt){ot.runIfEnter(Nt,ot.jumpPrev)},ot.runIfEnterJumpNext=function(Nt){ot.runIfEnter(Nt,ot.jumpNext)},ot.handleGoTO=function(Nt){(Nt.keyCode===he.ENTER||Nt.type==="click")&&ot.handleChange(ot.state.currentInputValue)},ot.renderPrev=function(Nt){var yn=ot.props,Yt=yn.prevIcon,Jn=yn.itemRender,hr=Jn(Nt,"prev",ot.getItemIcon(Yt,"prev page")),tr=!ot.hasPrev();return(0,be.isValidElement)(hr)?(0,be.cloneElement)(hr,{disabled:tr}):hr},ot.renderNext=function(Nt){var yn=ot.props,Yt=yn.nextIcon,Jn=yn.itemRender,hr=Jn(Nt,"next",ot.getItemIcon(Yt,"next page")),tr=!ot.hasNext();return(0,be.isValidElement)(hr)?(0,be.cloneElement)(hr,{disabled:tr}):hr};var kt=ct.onChange!==nt,_n="current"in ct;_n&&!kt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var _t=ct.defaultCurrent;"current"in ct&&(_t=ct.current);var rn=ct.defaultPageSize;return"pageSize"in ct&&(rn=ct.pageSize),_t=Math.min(_t,ke(rn,void 0,ct)),ot.state={current:_t,currentInputValue:_t,pageSize:rn},ot}return(0,ee.Z)(Pt,[{key:"componentDidUpdate",value:function(ot,kt){var _n=this.props.prefixCls;if(kt.current!==this.state.current&&this.paginationNode.current){var _t=this.paginationNode.current.querySelector(".".concat(_n,"-item-").concat(kt.current));if(_t&&document.activeElement===_t){var rn;_t==null||(rn=_t.blur)===null||rn===void 0||rn.call(_t)}}}},{key:"getValidValue",value:function(ot){var kt=ot.target.value,_n=ke(void 0,this.state,this.props),_t=this.state.currentInputValue,rn;return kt===""?rn=kt:Number.isNaN(Number(kt))?rn=_t:kt>=_n?rn=_n:rn=Number(kt),rn}},{key:"getShowSizeChanger",value:function(){var ot=this.props,kt=ot.showSizeChanger,_n=ot.total,_t=ot.totalBoundaryShowSizeChanger;return typeof kt!="undefined"?kt:_n>_t}},{key:"render",value:function(){var ot=this.props,kt=ot.prefixCls,_n=ot.className,_t=ot.style,rn=ot.disabled,Nt=ot.hideOnSinglePage,yn=ot.total,Yt=ot.locale,Jn=ot.showQuickJumper,hr=ot.showLessItems,tr=ot.showTitle,Nr=ot.showTotal,Dr=ot.simple,sa=ot.itemRender,Aa=ot.showPrevNextJumpers,Hr=ot.jumpPrevIcon,wr=ot.jumpNextIcon,Qr=ot.selectComponentClass,ea=ot.selectPrefixCls,xa=ot.pageSizeOptions,co=this.state,qr=co.current,hi=co.pageSize,Ii=co.currentInputValue;if(Nt===!0&&yn<=hi)return null;var ta=ke(void 0,this.state,this.props),sn=[],KA=null,mA=null,IA=null,gs=null,bi=null,zs=Jn&&Jn.goButton,yA=hr?1:2,qi=qr-1>0?qr-1:0,En=qr+1<ta?qr+1:ta,On=(0,ne.Z)(this.props,{aria:!0,data:!0}),vn=Nr&&be.createElement("li",{className:"".concat(kt,"-total-text")},Nr(yn,[yn===0?0:(qr-1)*hi+1,qr*hi>yn?yn:qr*hi]));if(Dr){zs&&(typeof zs=="boolean"?bi=be.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Yt.jump_to_confirm):bi=be.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},zs),bi=be.createElement("li",{title:tr?"".concat(Yt.jump_to).concat(qr,"/").concat(ta):null,className:"".concat(kt,"-simple-pager")},bi));var Tr=this.renderPrev(qi);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,"".concat(kt,"-simple"),(0,ie.Z)({},"".concat(kt,"-disabled"),rn),_n),style:_t,ref:this.paginationNode},On),vn,Tr?be.createElement("li",{title:tr?Yt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Tr):null,be.createElement("li",{title:tr?"".concat(qr,"/").concat(ta):null,className:"".concat(kt,"-simple-pager")},be.createElement("input",{type:"text",value:Ii,disabled:rn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),be.createElement("span",{className:"".concat(kt,"-slash")},"/"),ta),be.createElement("li",{title:tr?Yt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(En)),bi)}if(ta<=3+yA*2){var Pa={locale:Yt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:tr,itemRender:sa};ta||sn.push(be.createElement(Ve,(0,Oe.Z)({},Pa,{key:"noPager",page:1,className:"".concat(kt,"-item-disabled")})));for(var $r=1;$r<=ta;$r+=1){var oi=qr===$r;sn.push(be.createElement(Ve,(0,Oe.Z)({},Pa,{key:$r,page:$r,active:oi})))}}else{var vo=hr?Yt.prev_3:Yt.prev_5,Go=hr?Yt.next_3:Yt.next_5,Uo=sa(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hr,"prev page")),wA=sa(this.getJumpNextPage(),"jump-next",this.getItemIcon(wr,"next page"));Aa&&(KA=Uo?be.createElement("li",{title:tr?vo:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ce()("".concat(kt,"-jump-prev"),(0,ie.Z)({},"".concat(kt,"-jump-prev-custom-icon"),!!Hr))},Uo):null,mA=wA?be.createElement("li",{title:tr?Go:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ce()("".concat(kt,"-jump-next"),(0,ie.Z)({},"".concat(kt,"-jump-next-custom-icon"),!!wr))},wA):null),gs=be.createElement(Ve,{locale:Yt,last:!0,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ta,page:ta,active:!1,showTitle:tr,itemRender:sa}),IA=be.createElement(Ve,{locale:Yt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:tr,itemRender:sa});var gr=Math.max(1,qr-yA),Qo=Math.min(qr+yA,ta);qr-1<=yA&&(Qo=1+yA*2),ta-qr<=yA&&(gr=ta-yA*2);for(var Qi=gr;Qi<=Qo;Qi+=1){var ci=qr===Qi;sn.push(be.createElement(Ve,{locale:Yt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Qi,page:Qi,active:ci,showTitle:tr,itemRender:sa}))}qr-1>=yA*2&&qr!==3&&(sn[0]=(0,be.cloneElement)(sn[0],{className:"".concat(kt,"-item-after-jump-prev")}),sn.unshift(KA)),ta-qr>=yA*2&&qr!==ta-2&&(sn[sn.length-1]=(0,be.cloneElement)(sn[sn.length-1],{className:"".concat(kt,"-item-before-jump-next")}),sn.push(mA)),gr!==1&&sn.unshift(IA),Qo!==ta&&sn.push(gs)}var Bi=!this.hasPrev()||!ta,To=!this.hasNext()||!ta,pA=this.renderPrev(qi),jA=this.renderNext(En);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,_n,(0,ie.Z)({},"".concat(kt,"-disabled"),rn)),style:_t,ref:this.paginationNode},On),vn,pA?be.createElement("li",{title:tr?Yt.prev_page:null,onClick:this.prev,tabIndex:Bi?null:0,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),Bi)),"aria-disabled":Bi},pA):null,sn,jA?be.createElement("li",{title:tr?Yt.next_page:null,onClick:this.next,tabIndex:To?null:0,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),To)),"aria-disabled":To},jA):null,be.createElement(Qe,{disabled:rn,locale:Yt,rootPrefixCls:kt,selectComponentClass:Qr,selectPrefixCls:ea,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:qr,pageSize:hi,pageSizeOptions:xa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:zs}))}}],[{key:"getDerivedStateFromProps",value:function(ot,kt){var _n={};if("current"in ot&&(_n.current=ot.current,ot.current!==kt.current&&(_n.currentInputValue=_n.current)),"pageSize"in ot&&ot.pageSize!==kt.pageSize){var _t=kt.current,rn=ke(ot.pageSize,kt,ot);_t=_t>rn?rn:_t,"current"in ot||(_n.current=_t,_n.currentInputValue=_t),_n.pageSize=ot.pageSize}return _n}}]),Pt}(be.Component);Ot.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:_e.Z,style:{},itemRender:St,totalBoundaryShowSizeChanger:50};var it=Ot,rt=we(22075),wt=we(36355),dt=we(19716),pt=we(8628),st=we(9763),ft=we(57809);const an=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"small"})),fn=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));an.Option=ft.default.Option,fn.Option=ft.default.Option;var Et=we(9937),qt=we(17313),Ln=we(83116),Hn=we(37613);const un=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Me.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Me.colorBorder,backgroundColor:Me.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Me.itemActiveBgDisabled},a:{color:Me.itemActiveColorDisabled}}},[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Me.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Vn=Me=>{const{componentCls:Xe}=Me;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Xe}-mini ${Xe}-prev ${Xe}-item-link,
&${Xe}-mini ${Xe}-next ${Xe}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Et.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},yt=Me=>{const{componentCls:Xe}=Me;return{[`
&${Xe}-simple ${Xe}-prev,
&${Xe}-simple ${Xe}-next
`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-item-link`]:{height:Me.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive},"&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}}},[`&${Xe}-simple ${Xe}-simple-pager`]:{display:"inline-block",height:Me.itemSizeSM,marginInlineEnd:Me.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Me.marginXS,padding:`0 ${Me.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Me.itemInputBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadius,outline:"none",transition:`border-color ${Me.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Me.colorPrimary},"&:focus":{borderColor:Me.colorPrimaryHover,boxShadow:`${Me.inputOutlineOffset}px 0 ${Me.controlOutlineWidth}px ${Me.controlOutline}`},"&[disabled]":{color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"}}}}},Kn=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-item-link-icon`]:{color:Me.colorPrimary,fontSize:Me.fontSizeSM,opacity:0,transition:`all ${Me.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Me.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Me.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Me.paginationEllipsisTextIndent,opacity:1,transition:`all ${Me.motionDurationMid}`}},"&:hover":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[`
${Xe}-prev,
${Xe}-jump-prev,
${Xe}-jump-next
`]:{marginInlineEnd:Me.marginXS},[`
${Xe}-prev,
${Xe}-next,
${Xe}-jump-prev,
${Xe}-jump-next
`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,color:Me.colorText,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Me.borderRadius,cursor:"pointer",transition:`all ${Me.motionDurationMid}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Me.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:"none",transition:`all ${Me.motionDurationMid}`},[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Xe}-options`]:{display:"inline-block",marginInlineStart:Me.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Me.controlHeight,marginInlineStart:Me.marginXS,lineHeight:`${Me.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Et.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},er=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-item`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,marginInlineEnd:Me.marginXS,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Me.paginationItemPaddingInline}px`,color:Me.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Xe}-item-active)`]:{"&:hover":{transition:`all ${Me.motionDurationMid}`,backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},"&-active":{fontWeight:Me.fontWeightStrong,backgroundColor:Me.itemActiveBg,borderColor:Me.colorPrimary,a:{color:Me.colorPrimary},"&:hover":{borderColor:Me.colorPrimaryHover},"&:hover a":{color:Me.colorPrimaryHover}}}}},Re=Me=>{const{componentCls:Xe}=Me;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),er(Me)),Kn(Me)),yt(Me)),Vn(Me)),un(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},Kt=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Xe}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},Te=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,qt.Qy)(Me)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,qt.oN)(Me))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,qt.oN)(Me))}}}};var pe=(0,Ln.Z)("Pagination",Me=>{const Xe=(0,Hn.TS)(Me,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Me.marginXXS/2,paginationMiniQuickJumperInputWidth:Me.controlHeightLG*1.1,paginationItemPaddingInline:Me.marginXXS*1.5,paginationEllipsisLetterSpacing:Me.marginXXS/2,paginationSlashMarginInlineStart:Me.marginXXS,paginationSlashMarginInlineEnd:Me.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Et.e5)(Me),(0,Et.TM)(Me));return[Re(Xe),Te(Xe),Me.wireframe&&Kt(Xe)]},Me=>({itemBg:Me.colorBgContainer,itemSize:Me.controlHeight,itemSizeSM:Me.controlHeightSM,itemActiveBg:Me.colorBgContainer,itemLinkBg:Me.colorBgContainer,itemActiveColorDisabled:Me.colorTextDisabled,itemActiveBgDisabled:Me.controlItemBgActiveDisabled,itemInputBg:Me.colorBgContainer,miniOptionsSizeChangerTop:0})),ce=function(Me,Xe){var Pt={};for(var ct in Me)Object.prototype.hasOwnProperty.call(Me,ct)&&Xe.indexOf(ct)<0&&(Pt[ct]=Me[ct]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ct=Object.getOwnPropertySymbols(Me);ot<ct.length;ot++)Xe.indexOf(ct[ot])<0&&Object.prototype.propertyIsEnumerable.call(Me,ct[ot])&&(Pt[ct[ot]]=Me[ct[ot]]);return Pt},qe=Me=>{const{prefixCls:Xe,selectPrefixCls:Pt,className:ct,rootClassName:ot,style:kt,size:_n,locale:_t,selectComponentClass:rn,responsive:Nt,showSizeChanger:yn}=Me,Yt=ce(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jn}=(0,pt.Z)(Nt),{getPrefixCls:hr,direction:tr,pagination:Nr={}}=be.useContext(wt.E_),Dr=hr("pagination",Xe),[sa,Aa]=pe(Dr),Hr=yn!=null?yn:Nr.showSizeChanger,wr=be.useMemo(()=>{const ta=be.createElement("span",{className:`${Dr}-item-ellipsis`},"\u2022\u2022\u2022"),sn=be.createElement("button",{className:`${Dr}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(Ie.Z,null):be.createElement(de.Z,null)),KA=be.createElement("button",{className:`${Dr}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(de.Z,null):be.createElement(Ie.Z,null)),mA=be.createElement("a",{className:`${Dr}-item-link`},be.createElement("div",{className:`${Dr}-item-container`},tr==="rtl"?be.createElement(Le.Z,{className:`${Dr}-item-link-icon`}):be.createElement(Se,{className:`${Dr}-item-link-icon`}),ta)),IA=be.createElement("a",{className:`${Dr}-item-link`},be.createElement("div",{className:`${Dr}-item-container`},tr==="rtl"?be.createElement(Se,{className:`${Dr}-item-link-icon`}):be.createElement(Le.Z,{className:`${Dr}-item-link-icon`}),ta));return{prevIcon:sn,nextIcon:KA,jumpPrevIcon:mA,jumpNextIcon:IA}},[tr,Dr]),[Qr]=(0,st.Z)("Pagination",rt.Z),ea=Object.assign(Object.assign({},Qr),_t),xa=(0,dt.Z)(_n),co=xa==="small"||!!(Jn&&!xa&&Nt),qr=hr("select",Pt),hi=Ce()({[`${Dr}-mini`]:co,[`${Dr}-rtl`]:tr==="rtl"},Nr==null?void 0:Nr.className,ct,ot,Aa),Ii=Object.assign(Object.assign({},Nr==null?void 0:Nr.style),kt);return sa(be.createElement(it,Object.assign({},wr,Yt,{style:Ii,prefixCls:Dr,selectPrefixCls:qr,className:hi,selectComponentClass:rn||(co?an:fn),locale:ea,showSizeChanger:Hr})))},gt=qe},61621:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return pe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(2738),me=ce=>{const{prefixCls:ye,className:qe,style:gt,size:Me,shape:Xe}=ce,Pt=be()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),ct=be()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),ot=ze.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return ze.createElement("span",{className:be()(ye,Pt,ct,qe),style:Object.assign(Object.assign({},ot),gt)})},Se=we(36237),Le=we(83116),de=we(37613);const Ie=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Fe=ce=>({height:ce,lineHeight:`${ce}px`}),Ce=ce=>Object.assign({width:ce},Fe(ce)),ie=ce=>({background:ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ie,animationDuration:ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ce=>Object.assign({width:ce*5,minWidth:ce*5},Fe(ce)),a=ce=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe}=ce;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ce(gt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},Ce(Me)),[`${ye}${ye}-sm`]:Object.assign({},Ce(Xe))}},ee=ce=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(ye)),[`${gt}-lg`]:Object.assign({},y(Me)),[`${gt}-sm`]:Object.assign({},y(Xe))}},E=ce=>Object.assign({width:ce},Fe(ce)),te=ce=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:gt,borderRadiusSM:Me}=ce;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Me},E(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},ne=(ce,ye,qe)=>{const{skeletonButtonCls:gt}=ce;return{[`${qe}${gt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${gt}-round`]:{borderRadius:ye}}},oe=ce=>Object.assign({width:ce*2,minWidth:ce*2},Fe(ce)),he=ce=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:ye,width:gt*2,minWidth:gt*2},oe(gt))},ne(ce,gt,qe)),{[`${qe}-lg`]:Object.assign({},oe(Me))}),ne(ce,Me,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},oe(Xe))}),ne(ce,Xe,`${qe}-sm`))},_e=ce=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:gt,skeletonParagraphCls:Me,skeletonButtonCls:Xe,skeletonInputCls:Pt,skeletonImageCls:ct,controlHeight:ot,controlHeightLG:kt,controlHeightSM:_n,gradientFromColor:_t,padding:rn,marginSM:Nt,borderRadius:yn,titleHeight:Yt,blockRadius:Jn,paragraphLiHeight:hr,controlHeightXS:tr,paragraphMarginTop:Nr}=ce;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:rn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t},Ce(ot)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ce(kt)),[`${qe}-sm`]:Object.assign({},Ce(_n))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:Yt,background:_t,borderRadius:Jn,[`+ ${Me}`]:{marginBlockStart:_n}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:hr,listStyle:"none",background:_t,borderRadius:Jn,"+ li":{marginBlockStart:tr}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${gt}, ${Me} > li`]:{borderRadius:yn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${gt}`]:{marginBlockStart:Nt,[`+ ${Me}`]:{marginBlockStart:Nr}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},he(ce)),a(ce)),ee(ce)),te(ce)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[`
${gt},
${Me} > li,
${qe},
${Xe},
${Pt},
${ct}
`]:Object.assign({},ie(ce))}}};var Pe=(0,Le.Z)("Skeleton",ce=>{const{componentCls:ye}=ce,qe=(0,de.TS)(ce,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ce.gradientFromColor} 25%, ${ce.gradientToColor} 37%, ${ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_e(qe)]},ce=>{const{colorFillContent:ye,colorFill:qe}=ce,gt=ye,Me=qe;return{color:gt,colorGradientEnd:Me,gradientFromColor:gt,gradientToColor:Me,titleHeight:ce.controlHeight/2,blockRadius:ce.borderRadiusSM,paragraphMarginTop:ce.marginLG+ce.marginXXS,paragraphLiHeight:ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ze=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,shape:Xe="circle",size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls","className"]),rn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me},qe,gt,_n);return kt(ze.createElement("div",{className:rn},ze.createElement(me,Object.assign({prefixCls:`${ot}-avatar`,shape:Xe,size:Pt},_t))))},nt=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe=!1,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),rn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:rn},ze.createElement(me,Object.assign({prefixCls:`${ot}-button`,size:Pt},_t))))};const De="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var ke=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe}=ce,{getPrefixCls:Pt}=ze.useContext(at.E_),ct=Pt("skeleton",ye),[ot,kt]=Pe(ct),_n=be()(ct,`${ct}-element`,{[`${ct}-active`]:Xe},qe,gt,kt);return ot(ze.createElement("div",{className:_n},ze.createElement("div",{className:be()(`${ct}-image`,qe),style:Me},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ct}-image-svg`},ze.createElement("path",{d:De,className:`${ct}-image-path`})))))},it=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),rn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:rn},ze.createElement(me,Object.assign({prefixCls:`${ot}-input`,size:Pt},_t))))},rt=we(54476),wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},dt=wt,pt=we(7657),st=function(ye,qe){return ze.createElement(pt.Z,(0,rt.Z)({},ye,{ref:qe,icon:dt}))},ft=ze.forwardRef(st),an=ft,Et=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe,children:Pt}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=be()(ot,`${ot}-element`,{[`${ot}-active`]:Xe},_n,qe,gt),rn=Pt!=null?Pt:ze.createElement(an,null);return kt(ze.createElement("div",{className:_t},ze.createElement("div",{className:be()(`${ot}-image`,qe),style:Me},rn)))},qt=we(94480),Hn=ce=>{const ye=ct=>{const{width:ot,rows:kt=2}=ce;if(Array.isArray(ot))return ot[ct];if(kt-1===ct)return ot},{prefixCls:qe,className:gt,style:Me,rows:Xe}=ce,Pt=(0,qt.Z)(Array(Xe)).map((ct,ot)=>ze.createElement("li",{key:ot,style:{width:ye(ot)}}));return ze.createElement("ul",{className:be()(qe,gt),style:Me},Pt)},Vn=ce=>{let{prefixCls:ye,className:qe,width:gt,style:Me}=ce;return ze.createElement("h3",{className:be()(ye,qe),style:Object.assign({width:gt},Me)})};function yt(ce){return ce&&typeof ce=="object"?ce:{}}function Kn(ce,ye){return ce&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function er(ce,ye){return!ce&&ye?{width:"38%"}:ce&&ye?{width:"50%"}:{}}function Re(ce,ye){const qe={};return(!ce||!ye)&&(qe.width="61%"),!ce&&ye?qe.rows=3:qe.rows=2,qe}const Kt=ce=>{const{prefixCls:ye,loading:qe,className:gt,rootClassName:Me,style:Xe,children:Pt,avatar:ct=!1,title:ot=!0,paragraph:kt=!0,active:_n,round:_t}=ce,{getPrefixCls:rn,direction:Nt,skeleton:yn}=ze.useContext(at.E_),Yt=rn("skeleton",ye),[Jn,hr]=Pe(Yt);if(qe||!("loading"in ce)){const tr=!!ct,Nr=!!ot,Dr=!!kt;let sa;if(tr){const wr=Object.assign(Object.assign({prefixCls:`${Yt}-avatar`},Kn(Nr,Dr)),yt(ct));sa=ze.createElement("div",{className:`${Yt}-header`},ze.createElement(me,Object.assign({},wr)))}let Aa;if(Nr||Dr){let wr;if(Nr){const ea=Object.assign(Object.assign({prefixCls:`${Yt}-title`},er(tr,Dr)),yt(ot));wr=ze.createElement(Vn,Object.assign({},ea))}let Qr;if(Dr){const ea=Object.assign(Object.assign({prefixCls:`${Yt}-paragraph`},Re(tr,Nr)),yt(kt));Qr=ze.createElement(Hn,Object.assign({},ea))}Aa=ze.createElement("div",{className:`${Yt}-content`},wr,Qr)}const Hr=be()(Yt,{[`${Yt}-with-avatar`]:tr,[`${Yt}-active`]:_n,[`${Yt}-rtl`]:Nt==="rtl",[`${Yt}-round`]:_t},yn==null?void 0:yn.className,gt,Me,hr);return Jn(ze.createElement("div",{className:Hr,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Xe)},sa,Aa))}return typeof Pt!="undefined"?Pt:null};Kt.Button=nt,Kt.Avatar=Ze,Kt.Input=it,Kt.Image=ke,Kt.Node=Et;var Te=Kt,pe=Te},15969:function(on,Ut,we){"use strict";we.d(Ut,{N:function(){return Oe}});const Oe=be=>({color:be.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${be.motionDurationSlow}`,"&:focus, &:hover":{color:be.colorLinkHover},"&:active":{color:be.colorLinkActive}})},1710:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return rh}});var Oe={},be="rc-table-internal-hook",ze=we(42978),at=we(6089),Ge=we(34280),je=we(13697),me=we(59301),Se=we(4676);function Le(Ye){var et=me.createContext(void 0),Bt=function($t){var Zt=$t.value,mn=$t.children,Sn=me.useRef(Zt);Sn.current=Zt;var dn=me.useState(function(){return{getValue:function(){return Sn.current},listeners:new Set}}),Tn=(0,ze.Z)(dn,1),Gn=Tn[0];return(0,Ge.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){Gn.listeners.forEach(function(kn){kn(Zt)})})},[Zt]),me.createElement(et.Provider,{value:Gn},mn)};return{Context:et,Provider:Bt,defaultValue:Ye}}function de(Ye,et){var Bt=(0,at.Z)(typeof et=="function"?et:function(kn){if(et===void 0)return kn;if(!Array.isArray(et))return kn[et];var fr={};return et.forEach(function(or){fr[or]=kn[or]}),fr}),It=me.useContext(Ye==null?void 0:Ye.Context),$t=It||{},Zt=$t.listeners,mn=$t.getValue,Sn=me.useRef();Sn.current=Bt(It?mn():Ye==null?void 0:Ye.defaultValue);var dn=me.useState({}),Tn=(0,ze.Z)(dn,2),Gn=Tn[1];return(0,Ge.Z)(function(){if(!It)return;function kn(fr){var or=Bt(fr);(0,je.Z)(Sn.current,or,!0)||Gn({})}return Zt.add(kn),function(){Zt.delete(kn)}},[It]),Sn.current}var Ie=we(54476),Fe=we(8654);function Ce(){var Ye=me.createContext(null);function et(){return me.useContext(Ye)}function Bt($t,Zt){var mn=(0,Fe.Yr)($t),Sn=function(Tn,Gn){var kn=mn?{ref:Gn}:{},fr=me.useRef(0),or=me.useRef(Tn),ur=et();return ur!==null?me.createElement($t,(0,Ie.Z)({},Tn,kn)):((!Zt||Zt(or.current,Tn))&&(fr.current+=1),or.current=Tn,me.createElement(Ye.Provider,{value:fr.current},me.createElement($t,(0,Ie.Z)({},Tn,kn))))};return mn?me.forwardRef(Sn):Sn}function It($t,Zt){var mn=(0,Fe.Yr)($t),Sn=function(Tn,Gn){var kn=mn?{ref:Gn}:{};return et(),me.createElement($t,(0,Ie.Z)({},Tn,kn))};return mn?me.memo(me.forwardRef(Sn),Zt):me.memo(Sn,Zt)}return{makeImmutable:Bt,responseImmutable:It,useImmutableMark:et}}var ie=Ce(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ce(),te=E.makeImmutable,ne=E.responseImmutable,oe=E.useImmutableMark,he=Le(),_e=he;function Pe(Ye,et){var Bt=me.useRef(0);Bt.current+=1;var It=me.useRef(Ye),$t=[];Object.keys(Ye||{}).map(function(mn){var Sn;(Ye==null?void 0:Ye[mn])!==((Sn=It.current)===null||Sn===void 0?void 0:Sn[mn])&&$t.push(mn)}),It.current=Ye;var Zt=me.useRef([]);return $t.length&&(Zt.current=$t),me.useDebugValue(Bt.current),me.useDebugValue(Zt.current.join(", ")),et&&console.log("".concat(et,":"),Bt.current,Zt.current),Bt.current}var Qe=null,Ze=me.memo(function(){var Ye=Pe();return me.createElement("h1",null,"Render Times: ",Ye)});Ze.displayName="RenderBlock";var Ve=we(76190),nt=we(33885),De=we(20068),St=we(92310),ke=we.n(St),Ot=we(80547),it=we(97938),rt=we(48736),wt=me.createContext({renderWithProps:!1}),dt=wt,pt="RC_TABLE_KEY";function st(Ye){return Ye==null?[]:Array.isArray(Ye)?Ye:[Ye]}function ft(Ye){var et=[],Bt={};return Ye.forEach(function(It){for(var $t=It||{},Zt=$t.key,mn=$t.dataIndex,Sn=Zt||st(mn).join("-")||pt;Bt[Sn];)Sn="".concat(Sn,"_next");Bt[Sn]=!0,et.push(Sn)}),et}function an(Ye){return Ye!=null}function fn(Ye){return Ye&&(0,Ve.Z)(Ye)==="object"&&!Array.isArray(Ye)&&!me.isValidElement(Ye)}function Et(Ye,et,Bt,It,$t,Zt){var mn=me.useContext(dt),Sn=oe(),dn=(0,Ot.Z)(function(){if(an(It))return[It];var Tn=et==null||et===""?[]:Array.isArray(et)?et:[et],Gn=(0,it.Z)(Ye,Tn),kn=Gn,fr=void 0;if($t){var or=$t(Gn,Ye,Bt);fn(or)?(kn=or.children,fr=or.props,mn.renderWithProps=!0):kn=or}return[kn,fr]},[Sn,Ye,It,et,$t,Bt],function(Tn,Gn){if(Zt){var kn=(0,ze.Z)(Tn,2),fr=kn[1],or=(0,ze.Z)(Gn,2),ur=or[1];return Zt(ur,fr)}return mn.renderWithProps?!0:!(0,je.Z)(Tn,Gn,!0)});return dn}function qt(Ye,et,Bt,It){var $t=Ye+et-1;return Ye<=It&&$t>=Bt}function Ln(Ye,et){return de(_e,function(Bt){var It=qt(Ye,et||1,Bt.hoverStartRow,Bt.hoverEndRow);return[It,Bt.onHover]})}var Hn=function(et){var Bt=et.ellipsis,It=et.rowType,$t=et.children,Zt,mn=Bt===!0?{showTitle:!0}:Bt;return mn&&(mn.showTitle||It==="header")&&(typeof $t=="string"||typeof $t=="number"?Zt=$t.toString():me.isValidElement($t)&&typeof $t.props.children=="string"&&(Zt=$t.props.children)),Zt};function un(Ye){var et,Bt,It,$t,Zt,mn,Sn,dn,Tn=Ye.component,Gn=Ye.children,kn=Ye.ellipsis,fr=Ye.scope,or=Ye.prefixCls,ur=Ye.className,Rr=Ye.align,Er=Ye.record,Or=Ye.render,xr=Ye.dataIndex,Wr=Ye.renderIndex,wa=Ye.shouldCellUpdate,Ia=Ye.index,ua=Ye.rowType,Ha=Ye.colSpan,ao=Ye.rowSpan,Yr=Ye.fixLeft,da=Ye.fixRight,na=Ye.firstFixLeft,Gr=Ye.lastFixLeft,ia=Ye.firstFixRight,Qa=Ye.lastFixRight,Bo=Ye.appendNode,no=Ye.additionalProps,Da=no===void 0?{}:no,lo=Ye.isSticky,Do="".concat(or,"-cell"),Fi=de(_e,["supportSticky","allColumnsFixedLeft"]),Zo=Fi.supportSticky,Mi=Fi.allColumnsFixedLeft,nA=Et(Er,xr,Wr,Gn,Or,wa),io=(0,ze.Z)(nA,2),EA=io[0],ei=io[1],xi={},Ui=typeof Yr=="number"&&Zo,Gs=typeof da=="number"&&Zo;Ui&&(xi.position="sticky",xi.left=Yr),Gs&&(xi.position="sticky",xi.right=da);var aa=(et=(Bt=(It=ei==null?void 0:ei.colSpan)!==null&&It!==void 0?It:Da.colSpan)!==null&&Bt!==void 0?Bt:Ha)!==null&&et!==void 0?et:1,Ra=($t=(Zt=(mn=ei==null?void 0:ei.rowSpan)!==null&&mn!==void 0?mn:Da.rowSpan)!==null&&Zt!==void 0?Zt:ao)!==null&&$t!==void 0?$t:1,Ta=Ln(Ia,Ra),va=(0,ze.Z)(Ta,2),ti=va[0],Sa=va[1],Ja=function(Kr){var Ts;Er&&Sa(Ia,Ia+Ra-1),Da==null||(Ts=Da.onMouseEnter)===null||Ts===void 0||Ts.call(Da,Kr)},ko=function(Kr){var Ts;Er&&Sa(-1,-1),Da==null||(Ts=Da.onMouseLeave)===null||Ts===void 0||Ts.call(Da,Kr)};if(aa===0||Ra===0)return null;var jo=(Sn=Da.title)!==null&&Sn!==void 0?Sn:Hn({rowType:ua,ellipsis:kn,children:EA}),Es=ke()(Do,ur,(dn={},(0,De.Z)(dn,"".concat(Do,"-fix-left"),Ui&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-left-first"),na&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-left-last"),Gr&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-left-all"),Gr&&Mi&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-right"),Gs&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-right-first"),ia&&Zo),(0,De.Z)(dn,"".concat(Do,"-fix-right-last"),Qa&&Zo),(0,De.Z)(dn,"".concat(Do,"-ellipsis"),kn),(0,De.Z)(dn,"".concat(Do,"-with-append"),Bo),(0,De.Z)(dn,"".concat(Do,"-fix-sticky"),(Ui||Gs)&&lo&&Zo),(0,De.Z)(dn,"".concat(Do,"-row-hover"),!ei&&ti),dn),Da.className,ei==null?void 0:ei.className),SA={};Rr&&(SA.textAlign=Rr);var kl=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},xi),Da.style),SA),ei==null?void 0:ei.style),BA=EA;return(0,Ve.Z)(BA)==="object"&&!Array.isArray(BA)&&!me.isValidElement(BA)&&(BA=null),kn&&(Gr||ia)&&(BA=me.createElement("span",{className:"".concat(Do,"-content")},BA)),me.createElement(Tn,(0,Ie.Z)({},ei,Da,{className:Es,style:kl,title:jo,scope:fr,onMouseEnter:Ja,onMouseLeave:ko,colSpan:aa!==1?aa:null,rowSpan:Ra!==1?Ra:null}),Bo,BA)}var Vn=me.memo(un);function yt(Ye,et,Bt,It,$t,Zt){var mn=Bt[Ye]||{},Sn=Bt[et]||{},dn,Tn;mn.fixed==="left"?dn=It.left[$t==="rtl"?et:Ye]:Sn.fixed==="right"&&(Tn=It.right[$t==="rtl"?Ye:et]);var Gn=!1,kn=!1,fr=!1,or=!1,ur=Bt[et+1],Rr=Bt[Ye-1],Er=!(Zt!=null&&Zt.children);if($t==="rtl"){if(dn!==void 0){var Or=Rr&&Rr.fixed==="left";or=!Or&&Er}else if(Tn!==void 0){var xr=ur&&ur.fixed==="right";fr=!xr&&Er}}else if(dn!==void 0){var Wr=ur&&ur.fixed==="left";Gn=!Wr&&Er}else if(Tn!==void 0){var wa=Rr&&Rr.fixed==="right";kn=!wa&&Er}return{fixLeft:dn,fixRight:Tn,lastFixLeft:Gn,firstFixRight:kn,lastFixRight:fr,firstFixLeft:or,isSticky:It.isSticky}}var Kn=me.createContext({}),er=Kn;function Re(Ye){var et=Ye.className,Bt=Ye.index,It=Ye.children,$t=Ye.colSpan,Zt=$t===void 0?1:$t,mn=Ye.rowSpan,Sn=Ye.align,dn=de(_e,["prefixCls","direction"]),Tn=dn.prefixCls,Gn=dn.direction,kn=me.useContext(er),fr=kn.scrollColumnIndex,or=kn.stickyOffsets,ur=kn.flattenColumns,Rr=kn.columns,Er=Bt+Zt-1,Or=Er+1===fr?Zt+1:Zt,xr=yt(Bt,Bt+Or-1,ur,or,Gn,Rr==null?void 0:Rr[Bt]);return me.createElement(Vn,(0,Ie.Z)({className:et,index:Bt,component:"td",prefixCls:Tn,record:null,dataIndex:null,align:Sn,colSpan:Or,rowSpan:mn,render:function(){return It}},xr))}var Kt=we(75931),Te=["children"];function pe(Ye){var et=Ye.children,Bt=(0,Kt.Z)(Ye,Te);return me.createElement("tr",Bt,et)}function ce(Ye){var et=Ye.children;return et}ce.Row=pe,ce.Cell=Re;var ye=ce;function qe(Ye){var et=Ye.children,Bt=Ye.stickyOffsets,It=Ye.flattenColumns,$t=Ye.columns,Zt=de(_e,"prefixCls"),mn=It.length-1,Sn=It[mn],dn=me.useMemo(function(){return{stickyOffsets:Bt,flattenColumns:It,scrollColumnIndex:Sn!=null&&Sn.scrollbar?mn:null,columns:$t}},[Sn,It,mn,Bt,$t]);return me.createElement(er.Provider,{value:dn},me.createElement("tfoot",{className:"".concat(Zt,"-summary")},et))}var gt=ne(qe),Me=ye,Xe=we(70425),Pt=we(29301),ct=we(29194),ot=we(3465),kt=we(75152),_n=we(26112);function _t(Ye,et,Bt,It,$t,Zt,mn){Ye.push({record:et,indent:Bt,index:mn});var Sn=Zt(et),dn=$t==null?void 0:$t.has(Sn);if(et&&Array.isArray(et[It])&&dn)for(var Tn=0;Tn<et[It].length;Tn+=1)_t(Ye,et[It][Tn],Bt+1,It,$t,Zt,Tn)}function rn(Ye,et,Bt,It){var $t=me.useMemo(function(){if(Bt!=null&&Bt.size){for(var Zt=[],mn=0;mn<(Ye==null?void 0:Ye.length);mn+=1){var Sn=Ye[mn];_t(Zt,Sn,0,et,Bt,It,mn)}return Zt}return Ye==null?void 0:Ye.map(function(dn,Tn){return{record:dn,indent:0,index:Tn}})},[Ye,et,Bt,It]);return $t}function Nt(Ye){var et=Ye.prefixCls,Bt=Ye.children,It=Ye.component,$t=Ye.cellComponent,Zt=Ye.className,mn=Ye.expanded,Sn=Ye.colSpan,dn=Ye.isEmpty,Tn=de(_e,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Gn=Tn.scrollbarSize,kn=Tn.fixHeader,fr=Tn.fixColumn,or=Tn.componentWidth,ur=Tn.horizonScroll,Rr=Bt;return(dn?ur&&or:fr)&&(Rr=me.createElement("div",{style:{width:or-(kn?Gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(et,"-expanded-row-fixed")},Rr)),me.createElement(It,{className:Zt,style:{display:mn?null:"none"}},me.createElement(Vn,{component:$t,prefixCls:et,colSpan:Sn},Rr))}var yn=Nt;function Yt(Ye,et,Bt,It){var $t=de(_e,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Zt=$t.flattenColumns,mn=$t.expandableType,Sn=$t.expandedKeys,dn=$t.childrenColumnName,Tn=$t.onTriggerExpand,Gn=$t.rowExpandable,kn=$t.onRow,fr=$t.expandRowByClick,or=$t.rowClassName,ur=mn==="nest",Rr=mn==="row"&&(!Gn||Gn(Ye)),Er=Rr||ur,Or=Sn&&Sn.has(et),xr=dn&&Ye&&Ye[dn],Wr=(0,Xe.useEvent)(Tn),wa=kn==null?void 0:kn(Ye,Bt),Ia=wa==null?void 0:wa.onClick,ua=function(da){fr&&Er&&Tn(Ye,da);for(var na=arguments.length,Gr=new Array(na>1?na-1:0),ia=1;ia<na;ia++)Gr[ia-1]=arguments[ia];Ia==null||Ia.apply(void 0,[da].concat(Gr))},Ha;typeof or=="string"?Ha=or:typeof or=="function"&&(Ha=or(Ye,Bt,It));var ao=ft(Zt);return(0,nt.Z)((0,nt.Z)({},$t),{},{columnsKey:ao,nestExpandable:ur,expanded:Or,hasNestChildren:xr,record:Ye,onTriggerExpand:Wr,rowSupportExpand:Rr,expandable:Er,rowProps:(0,nt.Z)((0,nt.Z)({},wa),{},{className:ke()(Ha,wa==null?void 0:wa.className),onClick:ua})})}function Jn(Ye,et,Bt,It,$t){var Zt=Ye.record,mn=Ye.prefixCls,Sn=Ye.columnsKey,dn=Ye.fixedInfoList,Tn=Ye.expandIconColumnIndex,Gn=Ye.nestExpandable,kn=Ye.indentSize,fr=Ye.expandIcon,or=Ye.expanded,ur=Ye.hasNestChildren,Rr=Ye.onTriggerExpand,Er=Sn[Bt],Or=dn[Bt],xr;Bt===(Tn||0)&&Gn&&(xr=me.createElement(me.Fragment,null,me.createElement("span",{style:{paddingLeft:"".concat(kn*It,"px")},className:"".concat(mn,"-row-indent indent-level-").concat(It)}),fr({prefixCls:mn,expanded:or,expandable:ur,record:Zt,onExpand:Rr})));var Wr;return et.onCell&&(Wr=et.onCell(Zt,$t)),{key:Er,fixedInfo:Or,appendCellNode:xr,additionalCellProps:Wr||{}}}function hr(Ye){var et=Ye.className,Bt=Ye.style,It=Ye.record,$t=Ye.index,Zt=Ye.renderIndex,mn=Ye.rowKey,Sn=Ye.indent,dn=Sn===void 0?0:Sn,Tn=Ye.rowComponent,Gn=Ye.cellComponent,kn=Ye.scopeCellComponent,fr=Yt(It,mn,$t,dn),or=fr.prefixCls,ur=fr.flattenColumns,Rr=fr.expandedRowClassName,Er=fr.expandedRowRender,Or=fr.rowProps,xr=fr.expanded,Wr=fr.rowSupportExpand,wa=me.useState(!1),Ia=(0,ze.Z)(wa,2),ua=Ia[0],Ha=Ia[1];me.useEffect(function(){xr&&Ha(!0)},[xr]);var ao=me.createElement(Tn,(0,Ie.Z)({},Or,{"data-row-key":mn,className:ke()(et,"".concat(or,"-row"),"".concat(or,"-row-level-").concat(dn),Or==null?void 0:Or.className),style:(0,nt.Z)((0,nt.Z)({},Bt),Or==null?void 0:Or.style)}),ur.map(function(Gr,ia){var Qa=Gr.render,Bo=Gr.dataIndex,no=Gr.className,Da=Jn(fr,Gr,ia,dn,$t),lo=Da.key,Do=Da.fixedInfo,Fi=Da.appendCellNode,Zo=Da.additionalCellProps;return me.createElement(Vn,(0,Ie.Z)({className:no,ellipsis:Gr.ellipsis,align:Gr.align,scope:Gr.rowScope,component:Gr.rowScope?kn:Gn,prefixCls:or,key:lo,record:It,index:$t,renderIndex:Zt,dataIndex:Bo,render:Qa,shouldCellUpdate:Gr.shouldCellUpdate},Do,{appendNode:Fi,additionalProps:Zo}))})),Yr;if(Wr&&(ua||xr)){var da=Er(It,$t,dn+1,xr),na=Rr&&Rr(It,$t,dn);Yr=me.createElement(yn,{expanded:xr,className:ke()("".concat(or,"-expanded-row"),"".concat(or,"-expanded-row-level-").concat(dn+1),na),prefixCls:or,component:Tn,cellComponent:Gn,colSpan:ur.length,isEmpty:!1},da)}return me.createElement(me.Fragment,null,ao,Yr)}hr.displayName="BodyRow";var tr=ne(hr);function Nr(Ye){var et=Ye.columnKey,Bt=Ye.onColumnResize,It=me.useRef();return me.useEffect(function(){It.current&&Bt(et,It.current.offsetWidth)},[]),me.createElement(Pt.Z,{data:et},me.createElement("td",{ref:It,style:{padding:0,border:0,height:0}},me.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Dr(Ye){var et=Ye.prefixCls,Bt=Ye.columnsKey,It=Ye.onColumnResize;return me.createElement("tr",{"aria-hidden":"true",className:"".concat(et,"-measure-row"),style:{height:0,fontSize:0}},me.createElement(Pt.Z.Collection,{onBatchResize:function(Zt){Zt.forEach(function(mn){var Sn=mn.data,dn=mn.size;It(Sn,dn.offsetWidth)})}},Bt.map(function($t){return me.createElement(Nr,{key:$t,columnKey:$t,onColumnResize:It})})))}function sa(Ye){var et=Ye.data,Bt=Ye.measureColumnWidth,It=de(_e,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),$t=It.prefixCls,Zt=It.getComponent,mn=It.onColumnResize,Sn=It.flattenColumns,dn=It.getRowKey,Tn=It.expandedKeys,Gn=It.childrenColumnName,kn=It.emptyNode,fr=rn(et,Gn,Tn,dn),or=me.useRef({renderWithProps:!1}),ur=Zt(["body","wrapper"],"tbody"),Rr=Zt(["body","row"],"tr"),Er=Zt(["body","cell"],"td"),Or=Zt(["body","cell"],"th"),xr;et.length?xr=fr.map(function(wa,Ia){var ua=wa.record,Ha=wa.indent,ao=wa.index,Yr=dn(ua,Ia);return me.createElement(tr,{key:Yr,rowKey:Yr,record:ua,index:Ia,renderIndex:ao,rowComponent:Rr,cellComponent:Er,scopeCellComponent:Or,getRowKey:dn,indent:Ha})}):xr=me.createElement(yn,{expanded:!0,className:"".concat($t,"-placeholder"),prefixCls:$t,component:Rr,cellComponent:Er,colSpan:Sn.length,isEmpty:!0},kn);var Wr=ft(Sn);return me.createElement(dt.Provider,{value:or.current},me.createElement(ur,{className:"".concat($t,"-tbody")},Bt&&me.createElement(Dr,{prefixCls:$t,columnsKey:Wr,onColumnResize:mn}),xr))}sa.displayName="Body";var Aa=ne(sa),Hr=["expandable"],wr="RC_TABLE_INTERNAL_COL_DEFINE";function Qr(Ye){var et=Ye.expandable,Bt=(0,Kt.Z)(Ye,Hr),It;return"expandable"in Ye?It=(0,nt.Z)((0,nt.Z)({},Bt),et):It=Bt,It.showExpandColumn===!1&&(It.expandIconColumnIndex=-1),It}var ea=["columnType"];function xa(Ye){for(var et=Ye.colWidths,Bt=Ye.columns,It=Ye.columCount,$t=[],Zt=It||Bt.length,mn=!1,Sn=Zt-1;Sn>=0;Sn-=1){var dn=et[Sn],Tn=Bt&&Bt[Sn],Gn=Tn&&Tn[wr];if(dn||Gn||mn){var kn=Gn||{},fr=kn.columnType,or=(0,Kt.Z)(kn,ea);$t.unshift(me.createElement("col",(0,Ie.Z)({key:Sn,style:{width:dn}},or))),mn=!0}}return me.createElement("colgroup",null,$t)}var co=xa,qr=we(94480),hi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ii(Ye,et){return(0,me.useMemo)(function(){for(var Bt=[],It=0;It<et;It+=1){var $t=Ye[It];if($t!==void 0)Bt[It]=$t;else return null}return Bt},[Ye.join("_"),et])}var ta=me.forwardRef(function(Ye,et){var Bt=Ye.className,It=Ye.noData,$t=Ye.columns,Zt=Ye.flattenColumns,mn=Ye.colWidths,Sn=Ye.columCount,dn=Ye.stickyOffsets,Tn=Ye.direction,Gn=Ye.fixHeader,kn=Ye.stickyTopOffset,fr=Ye.stickyBottomOffset,or=Ye.stickyClassName,ur=Ye.onScroll,Rr=Ye.maxContentScroll,Er=Ye.children,Or=(0,Kt.Z)(Ye,hi),xr=de(_e,["prefixCls","scrollbarSize","isSticky"]),Wr=xr.prefixCls,wa=xr.scrollbarSize,Ia=xr.isSticky,ua=Ia&&!Gn?0:wa,Ha=me.useRef(null),ao=me.useCallback(function(no){(0,Fe.mH)(et,no),(0,Fe.mH)(Ha,no)},[]);me.useEffect(function(){var no;function Da(lo){var Do=lo,Fi=Do.currentTarget,Zo=Do.deltaX;Zo&&(ur({currentTarget:Fi,scrollLeft:Fi.scrollLeft+Zo}),lo.preventDefault())}return(no=Ha.current)===null||no===void 0||no.addEventListener("wheel",Da),function(){var lo;(lo=Ha.current)===null||lo===void 0||lo.removeEventListener("wheel",Da)}},[]);var Yr=me.useMemo(function(){return Zt.every(function(no){return no.width})},[Zt]),da=Zt[Zt.length-1],na={fixed:da?da.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Wr,"-cell-scrollbar")}}},Gr=(0,me.useMemo)(function(){return ua?[].concat((0,qr.Z)($t),[na]):$t},[ua,$t]),ia=(0,me.useMemo)(function(){return ua?[].concat((0,qr.Z)(Zt),[na]):Zt},[ua,Zt]),Qa=(0,me.useMemo)(function(){var no=dn.right,Da=dn.left;return(0,nt.Z)((0,nt.Z)({},dn),{},{left:Tn==="rtl"?[].concat((0,qr.Z)(Da.map(function(lo){return lo+ua})),[0]):Da,right:Tn==="rtl"?no:[].concat((0,qr.Z)(no.map(function(lo){return lo+ua})),[0]),isSticky:Ia})},[ua,dn,Ia]),Bo=Ii(mn,Sn);return me.createElement("div",{style:(0,nt.Z)({overflow:"hidden"},Ia?{top:kn,bottom:fr}:{}),ref:ao,className:ke()(Bt,(0,De.Z)({},or,!!or))},me.createElement("table",{style:{tableLayout:"fixed",visibility:It||Bo?null:"hidden"}},(!It||!Rr||Yr)&&me.createElement(co,{colWidths:Bo?[].concat((0,qr.Z)(Bo),[ua]):[],columCount:Sn+1,columns:ia}),Er((0,nt.Z)((0,nt.Z)({},Or),{},{stickyOffsets:Qa,columns:Gr,flattenColumns:ia}))))});ta.displayName="FixedHolder";var sn=me.memo(ta);function KA(Ye){var et=Ye.cells,Bt=Ye.stickyOffsets,It=Ye.flattenColumns,$t=Ye.rowComponent,Zt=Ye.cellComponent,mn=Ye.tdCellComponent,Sn=Ye.onHeaderRow,dn=Ye.index,Tn=de(_e,["prefixCls","direction"]),Gn=Tn.prefixCls,kn=Tn.direction,fr;Sn&&(fr=Sn(et.map(function(ur){return ur.column}),dn));var or=ft(et.map(function(ur){return ur.column}));return me.createElement($t,fr,et.map(function(ur,Rr){var Er=ur.column,Or=yt(ur.colStart,ur.colEnd,It,Bt,kn,Er),xr;return Er&&Er.onHeaderCell&&(xr=ur.column.onHeaderCell(Er)),me.createElement(Vn,(0,Ie.Z)({},ur,{scope:Er.title?ur.colSpan>1?"colgroup":"col":null,ellipsis:Er.ellipsis,align:Er.align,component:Er.title?Zt:mn,prefixCls:Gn,key:or[Rr]},Or,{additionalProps:xr,rowType:"header"}))}))}KA.displayName="HeaderRow";var mA=KA;function IA(Ye){var et=[];function Bt(mn,Sn){var dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[dn]=et[dn]||[];var Tn=Sn,Gn=mn.filter(Boolean).map(function(kn){var fr={key:kn.key,className:kn.className||"",children:kn.title,column:kn,colStart:Tn},or=1,ur=kn.children;return ur&&ur.length>0&&(or=Bt(ur,Tn,dn+1).reduce(function(Rr,Er){return Rr+Er},0),fr.hasSubColumns=!0),"colSpan"in kn&&(or=kn.colSpan),"rowSpan"in kn&&(fr.rowSpan=kn.rowSpan),fr.colSpan=or,fr.colEnd=fr.colStart+or-1,et[dn].push(fr),Tn+=or,or});return Gn}Bt(Ye,0);for(var It=et.length,$t=function(Sn){et[Sn].forEach(function(dn){!("rowSpan"in dn)&&!dn.hasSubColumns&&(dn.rowSpan=It-Sn)})},Zt=0;Zt<It;Zt+=1)$t(Zt);return et}function gs(Ye){var et=Ye.stickyOffsets,Bt=Ye.columns,It=Ye.flattenColumns,$t=Ye.onHeaderRow,Zt=de(_e,["prefixCls","getComponent"]),mn=Zt.prefixCls,Sn=Zt.getComponent,dn=me.useMemo(function(){return IA(Bt)},[Bt]),Tn=Sn(["header","wrapper"],"thead"),Gn=Sn(["header","row"],"tr"),kn=Sn(["header","cell"],"th"),fr=Sn(["header","cell"],"td");return me.createElement(Tn,{className:"".concat(mn,"-thead")},dn.map(function(or,ur){var Rr=me.createElement(mA,{key:ur,flattenColumns:It,cells:or,stickyOffsets:et,rowComponent:Gn,cellComponent:kn,tdCellComponent:fr,onHeaderRow:$t,index:ur});return Rr}))}var bi=ne(gs),zs=we(11592);function yA(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Ye*parseFloat(et)/100:null}function qi(Ye,et){return me.useMemo(function(){if(et&&et>0){var Bt=0,It=0;Ye.forEach(function(Tn){var Gn=yA(et,Tn.width);Gn?Bt+=Gn:It+=1});var $t=et-Bt,Zt=It,mn=$t/It,Sn=0,dn=Ye.map(function(Tn){var Gn=(0,nt.Z)({},Tn),kn=yA(et,Gn.width);if(kn)Gn.width=kn;else{var fr=Math.floor(mn);Gn.width=Zt===1?$t:fr,$t-=fr,Zt-=1}return Sn+=Gn.width,Gn});return[dn,Sn]}return[Ye,et]},[Ye,et])}var En=["children"],On=["fixed"];function vn(Ye){return(0,zs.Z)(Ye).filter(function(et){return me.isValidElement(et)}).map(function(et){var Bt=et.key,It=et.props,$t=It.children,Zt=(0,Kt.Z)(It,En),mn=(0,nt.Z)({key:Bt},Zt);return $t&&(mn.children=vn($t)),mn})}function Tr(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ye.filter(function(Bt){return Bt&&(0,Ve.Z)(Bt)==="object"}).reduce(function(Bt,It,$t){var Zt=It.fixed,mn=Zt===!0?"left":Zt,Sn="".concat(et,"-").concat($t),dn=It.children;return dn&&dn.length>0?[].concat((0,qr.Z)(Bt),(0,qr.Z)(Tr(dn,Sn).map(function(Tn){return(0,nt.Z)({fixed:mn},Tn)}))):[].concat((0,qr.Z)(Bt),[(0,nt.Z)((0,nt.Z)({key:Sn},It),{},{fixed:mn})])},[])}function Pa(Ye){for(var et=!0,Bt=0;Bt<Ye.length;Bt+=1){var It=Ye[Bt];if(et&&It.fixed!=="left")et=!1;else if(!et&&It.fixed==="left"){warning(!1,"Index ".concat(Bt-1," of `columns` missing `fixed='left'` prop."));break}}for(var $t=!0,Zt=Ye.length-1;Zt>=0;Zt-=1){var mn=Ye[Zt];if($t&&mn.fixed!=="right")$t=!1;else if(!$t&&mn.fixed==="right"){warning(!1,"Index ".concat(Zt+1," of `columns` missing `fixed='right'` prop."));break}}}function $r(Ye){return Ye.map(function(et){var Bt=et.fixed,It=(0,Kt.Z)(et,On),$t=Bt;return Bt==="left"?$t="right":Bt==="right"&&($t="left"),(0,nt.Z)({fixed:$t},It)})}function oi(Ye,et){var Bt=Ye.prefixCls,It=Ye.columns,$t=Ye.children,Zt=Ye.expandable,mn=Ye.expandedKeys,Sn=Ye.columnTitle,dn=Ye.getRowKey,Tn=Ye.onTriggerExpand,Gn=Ye.expandIcon,kn=Ye.rowExpandable,fr=Ye.expandIconColumnIndex,or=Ye.direction,ur=Ye.expandRowByClick,Rr=Ye.columnWidth,Er=Ye.fixed,Or=Ye.scrollWidth,xr=me.useMemo(function(){return It||vn($t)},[It,$t]),Wr=me.useMemo(function(){if(Zt){var da,na=xr.slice();if(!na.includes(Oe)){var Gr=fr||0;Gr>=0&&na.splice(Gr,0,Oe)}var ia=na.indexOf(Oe);na=na.filter(function(Da,lo){return Da!==Oe||lo===ia});var Qa=xr[ia],Bo;(Er==="left"||Er)&&!fr?Bo="left":(Er==="right"||Er)&&fr===xr.length?Bo="right":Bo=Qa?Qa.fixed:null;var no=(da={},(0,De.Z)(da,wr,{className:"".concat(Bt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,De.Z)(da,"title",Sn),(0,De.Z)(da,"fixed",Bo),(0,De.Z)(da,"className","".concat(Bt,"-row-expand-icon-cell")),(0,De.Z)(da,"width",Rr),(0,De.Z)(da,"render",function(lo,Do,Fi){var Zo=dn(Do,Fi),Mi=mn.has(Zo),nA=kn?kn(Do):!0,io=Gn({prefixCls:Bt,expanded:Mi,expandable:nA,record:Do,onExpand:Tn});return ur?me.createElement("span",{onClick:function(ei){return ei.stopPropagation()}},io):io}),da);return na.map(function(Da){return Da===Oe?no:Da})}return xr.filter(function(Da){return Da!==Oe})},[Zt,xr,dn,mn,Gn,or]),wa=me.useMemo(function(){var da=Wr;return et&&(da=et(da)),da.length||(da=[{render:function(){return null}}]),da},[et,Wr,or]),Ia=me.useMemo(function(){return or==="rtl"?$r(Tr(wa)):Tr(wa)},[wa,or,Or]),ua=qi(Ia,Or),Ha=(0,ze.Z)(ua,2),ao=Ha[0],Yr=Ha[1];return[wa,ao,Yr]}var vo=oi;function Go(Ye){var et,Bt=Ye.prefixCls,It=Ye.record,$t=Ye.onExpand,Zt=Ye.expanded,mn=Ye.expandable,Sn="".concat(Bt,"-row-expand-icon");if(!mn)return me.createElement("span",{className:ke()(Sn,"".concat(Bt,"-row-spaced"))});var dn=function(Gn){$t(It,Gn),Gn.stopPropagation()};return me.createElement("span",{className:ke()(Sn,(et={},(0,De.Z)(et,"".concat(Bt,"-row-expanded"),Zt),(0,De.Z)(et,"".concat(Bt,"-row-collapsed"),!Zt),et)),onClick:dn})}function Uo(Ye,et,Bt){var It=[];function $t(Zt){(Zt||[]).forEach(function(mn,Sn){It.push(et(mn,Sn)),$t(mn[Bt])})}return $t(Ye),It}function wA(Ye,et,Bt){var It=Qr(Ye),$t=It.expandIcon,Zt=It.expandedRowKeys,mn=It.defaultExpandedRowKeys,Sn=It.defaultExpandAllRows,dn=It.expandedRowRender,Tn=It.onExpand,Gn=It.onExpandedRowsChange,kn=It.childrenColumnName,fr=$t||Go,or=kn||"children",ur=me.useMemo(function(){return dn?"row":Ye.expandable&&Ye.internalHooks===be&&Ye.expandable.__PARENT_RENDER_ICON__||et.some(function(Ia){return Ia&&(0,Ve.Z)(Ia)==="object"&&Ia[or]})?"nest":!1},[!!dn,et]),Rr=me.useState(function(){return mn||(Sn?Uo(et,Bt,or):[])}),Er=(0,ze.Z)(Rr,2),Or=Er[0],xr=Er[1],Wr=me.useMemo(function(){return new Set(Zt||Or||[])},[Zt,Or]),wa=me.useCallback(function(Ia){var ua=Bt(Ia,et.indexOf(Ia)),Ha,ao=Wr.has(ua);ao?(Wr.delete(ua),Ha=(0,qr.Z)(Wr)):Ha=[].concat((0,qr.Z)(Wr),[ua]),xr(Ha),Tn&&Tn(!ao,Ia),Gn&&Gn(Ha)},[Bt,Wr,et,Tn,Gn]);return[It,ur,Wr,fr,or,wa]}function gr(Ye,et,Bt,It){var $t=Ye.map(function(Zt,mn){return yt(mn,mn,Ye,et,Bt,It==null?void 0:It[mn])});return(0,Ot.Z)(function(){return $t},[$t],function(Zt,mn){return!(0,je.Z)(Zt,mn)})}function Qo(Ye){var et=(0,me.useRef)(Ye),Bt=(0,me.useState)({}),It=(0,ze.Z)(Bt,2),$t=It[1],Zt=(0,me.useRef)(null),mn=(0,me.useRef)([]);function Sn(dn){mn.current.push(dn);var Tn=Promise.resolve();Zt.current=Tn,Tn.then(function(){if(Zt.current===Tn){var Gn=mn.current,kn=et.current;mn.current=[],Gn.forEach(function(fr){et.current=fr(et.current)}),Zt.current=null,kn!==et.current&&$t({})}})}return(0,me.useEffect)(function(){return function(){Zt.current=null}},[]),[et.current,Sn]}function Qi(Ye){var et=(0,me.useRef)(Ye||null),Bt=(0,me.useRef)();function It(){window.clearTimeout(Bt.current)}function $t(mn){et.current=mn,It(),Bt.current=window.setTimeout(function(){et.current=null,Bt.current=void 0},100)}function Zt(){return et.current}return(0,me.useEffect)(function(){return It},[]),[$t,Zt]}function ci(){var Ye=me.useState(-1),et=(0,ze.Z)(Ye,2),Bt=et[0],It=et[1],$t=me.useState(-1),Zt=(0,ze.Z)($t,2),mn=Zt[0],Sn=Zt[1],dn=me.useCallback(function(Tn,Gn){It(Tn),Sn(Gn)},[]);return[Bt,mn,dn]}var Bi=we(47273),To=(0,Bi.Z)()?window:null;function pA(Ye,et){var Bt=(0,Ve.Z)(Ye)==="object"?Ye:{},It=Bt.offsetHeader,$t=It===void 0?0:It,Zt=Bt.offsetSummary,mn=Zt===void 0?0:Zt,Sn=Bt.offsetScroll,dn=Sn===void 0?0:Sn,Tn=Bt.getContainer,Gn=Tn===void 0?function(){return To}:Tn,kn=Gn()||To;return me.useMemo(function(){var fr=!!Ye;return{isSticky:fr,stickyClassName:fr?"".concat(et,"-sticky-holder"):"",offsetHeader:$t,offsetSummary:mn,offsetScroll:dn,container:kn}},[dn,$t,mn,et,kn])}function jA(Ye,et,Bt){var It=(0,me.useMemo)(function(){for(var $t=[],Zt=[],mn=0,Sn=0,dn=0;dn<et;dn+=1)if(Bt==="rtl"){Zt[dn]=Sn,Sn+=Ye[dn]||0;var Tn=et-dn-1;$t[Tn]=mn,mn+=Ye[Tn]||0}else{$t[dn]=mn,mn+=Ye[dn]||0;var Gn=et-dn-1;Zt[Gn]=Sn,Sn+=Ye[Gn]||0}return{left:$t,right:Zt}},[Ye,et,Bt]);return It}var zA=jA;function Ns(Ye){var et=Ye.className,Bt=Ye.children;return me.createElement("div",{className:et},Bt)}var GA=Ns,yi=we(8224),fs=we(55468),Fl=function(et,Bt){var It,$t,Zt=et.scrollBodyRef,mn=et.onScroll,Sn=et.offsetScroll,dn=et.container,Tn=de(_e,"prefixCls"),Gn=((It=Zt.current)===null||It===void 0?void 0:It.scrollWidth)||0,kn=(($t=Zt.current)===null||$t===void 0?void 0:$t.clientWidth)||0,fr=Gn&&kn*(kn/Gn),or=me.useRef(),ur=Qo({scrollLeft:0,isHiddenScrollBar:!1}),Rr=(0,ze.Z)(ur,2),Er=Rr[0],Or=Rr[1],xr=me.useRef({delta:0,x:0}),Wr=me.useState(!1),wa=(0,ze.Z)(Wr,2),Ia=wa[0],ua=wa[1],Ha=function(){ua(!1)},ao=function(ia){ia.persist(),xr.current.delta=ia.pageX-Er.scrollLeft,xr.current.x=0,ua(!0),ia.preventDefault()},Yr=function(ia){var Qa,Bo=ia||((Qa=window)===null||Qa===void 0?void 0:Qa.event),no=Bo.buttons;if(!Ia||no===0){Ia&&ua(!1);return}var Da=xr.current.x+ia.pageX-xr.current.x-xr.current.delta;Da<=0&&(Da=0),Da+fr>=kn&&(Da=kn-fr),mn({scrollLeft:Da/kn*(Gn+2)}),xr.current.x=ia.pageX},da=function(){if(Zt.current){var ia=(0,fs.os)(Zt.current).top,Qa=ia+Zt.current.offsetHeight,Bo=dn===window?document.documentElement.scrollTop+window.innerHeight:(0,fs.os)(dn).top+dn.clientHeight;Qa-(0,kt.Z)()<=Bo||ia>=Bo-Sn?Or(function(no){return(0,nt.Z)((0,nt.Z)({},no),{},{isHiddenScrollBar:!0})}):Or(function(no){return(0,nt.Z)((0,nt.Z)({},no),{},{isHiddenScrollBar:!1})})}},na=function(ia){Or(function(Qa){return(0,nt.Z)((0,nt.Z)({},Qa),{},{scrollLeft:ia/Gn*kn||0})})};return me.useImperativeHandle(Bt,function(){return{setScrollLeft:na}}),me.useEffect(function(){var Gr=(0,yi.Z)(document.body,"mouseup",Ha,!1),ia=(0,yi.Z)(document.body,"mousemove",Yr,!1);return da(),function(){Gr.remove(),ia.remove()}},[fr,Ia]),me.useEffect(function(){var Gr=(0,yi.Z)(dn,"scroll",da,!1),ia=(0,yi.Z)(window,"resize",da,!1);return function(){Gr.remove(),ia.remove()}},[dn]),me.useEffect(function(){Er.isHiddenScrollBar||Or(function(Gr){var ia=Zt.current;return ia?(0,nt.Z)((0,nt.Z)({},Gr),{},{scrollLeft:ia.scrollLeft/ia.scrollWidth*ia.clientWidth}):Gr})},[Er.isHiddenScrollBar]),Gn<=kn||!fr||Er.isHiddenScrollBar?null:me.createElement("div",{style:{height:(0,kt.Z)(),width:kn,bottom:Sn},className:"".concat(Tn,"-sticky-scroll")},me.createElement("div",{onMouseDown:ao,ref:or,className:ke()("".concat(Tn,"-sticky-scroll-bar"),(0,De.Z)({},"".concat(Tn,"-sticky-scroll-bar-active"),Ia)),style:{width:"".concat(fr,"px"),transform:"translate3d(".concat(Er.scrollLeft,"px, 0, 0)")}}))},$A=me.forwardRef(Fl);function Cr(Ye){return null}var Dc=Cr;function Su(Ye){return null}var Ou=Su,el="rc-table",kr=[],Ua={};function Fo(){return"No Data"}function Ea(Ye){var et,Bt=(0,nt.Z)({rowKey:"key",prefixCls:el,emptyText:Fo},Ye),It=Bt.prefixCls,$t=Bt.className,Zt=Bt.rowClassName,mn=Bt.style,Sn=Bt.data,dn=Bt.rowKey,Tn=Bt.scroll,Gn=Bt.tableLayout,kn=Bt.direction,fr=Bt.title,or=Bt.footer,ur=Bt.summary,Rr=Bt.caption,Er=Bt.id,Or=Bt.showHeader,xr=Bt.components,Wr=Bt.emptyText,wa=Bt.onRow,Ia=Bt.onHeaderRow,ua=Bt.internalHooks,Ha=Bt.transformColumns,ao=Bt.internalRefs,Yr=Bt.tailor,da=Bt.sticky,na=Sn||kr,Gr=!!na.length,ia=ua===be,Qa=me.useCallback(function(si,Ri){return(0,it.Z)(xr,si)||Ri},[xr]),Bo=me.useMemo(function(){return typeof dn=="function"?dn:function(si){var Ri=si&&si[dn];return Ri}},[dn]),no=Qa(["body"]),Da=ci(),lo=(0,ze.Z)(Da,3),Do=lo[0],Fi=lo[1],Zo=lo[2],Mi=wA(Bt,na,Bo),nA=(0,ze.Z)(Mi,6),io=nA[0],EA=nA[1],ei=nA[2],xi=nA[3],Ui=nA[4],Gs=nA[5],aa=Tn==null?void 0:Tn.x,Ra=me.useState(0),Ta=(0,ze.Z)(Ra,2),va=Ta[0],ti=Ta[1],Sa=vo((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Bt),io),{},{expandable:!!io.expandedRowRender,columnTitle:io.columnTitle,expandedKeys:ei,getRowKey:Bo,onTriggerExpand:Gs,expandIcon:xi,expandIconColumnIndex:io.expandIconColumnIndex,direction:kn,scrollWidth:ia&&Yr&&typeof aa=="number"?aa:null}),ia?Ha:null),Ja=(0,ze.Z)(Sa,3),ko=Ja[0],jo=Ja[1],Es=Ja[2],SA=Es!=null?Es:aa,kl=me.useMemo(function(){return{columns:ko,flattenColumns:jo}},[ko,jo]),BA=me.useRef(),Al=me.useRef(),Kr=me.useRef(),Ts=me.useRef(),gc=me.useRef(),ni=me.useState(!1),Oo=(0,ze.Z)(ni,2),Xi=Oo[0],QA=Oo[1],ki=me.useState(!1),yo=(0,ze.Z)(ki,2),Fs=yo[0],Ss=yo[1],$s=Qo(new Map),ks=(0,ze.Z)($s,2),Rs=ks[0],vl=ks[1],bu=ft(jo),Sl=bu.map(function(si){return Rs.get(si)}),rA=me.useMemo(function(){return Sl},[Sl.join("_")]),As=zA(rA,jo.length,kn),FA=Tn&&an(Tn.y),Yi=Tn&&an(SA)||!!io.fixed,Xl=Yi&&jo.some(function(si){var Ri=si.fixed;return Ri}),fu=me.useRef(),Cu=pA(da,It),Yl=Cu.isSticky,pd=Cu.offsetHeader,Zd=Cu.offsetSummary,Mo=Cu.offsetScroll,Ni=Cu.stickyClassName,ss=Cu.container,$i=me.useMemo(function(){return ur==null?void 0:ur(na)},[ur,na]),ls=(FA||Yl)&&me.isValidElement($i)&&$i.type===ye&&$i.props.fixed,Bs,aA,Jl;FA&&(aA={overflowY:"scroll",maxHeight:Tn.y}),Yi&&(Bs={overflowX:"auto"},FA||(aA={overflowY:"hidden"}),Jl={width:SA===!0?"auto":SA,minWidth:"100%"});var vd=me.useCallback(function(si,Ri){(0,ct.Z)(BA.current)&&vl(function(Rl){if(Rl.get(si)!==Ri){var $u=new Map(Rl);return $u.set(si,Ri),$u}return Rl})},[]),Sd=Qi(null),Wd=(0,ze.Z)(Sd,2),Fg=Wd[0],xg=Wd[1];function Zc(si,Ri){Ri&&(typeof Ri=="function"?Ri(si):Ri.scrollLeft!==si&&(Ri.scrollLeft=si,Ri.scrollLeft!==si&&setTimeout(function(){Ri.scrollLeft=si},0)))}var ql=(0,at.Z)(function(si){var Ri=si.currentTarget,Rl=si.scrollLeft,$u=kn==="rtl",Zu=typeof Rl=="number"?Rl:Ri.scrollLeft,Ef=Ri||Ua;if(!xg()||xg()===Ef){var Og;Fg(Ef),Zc(Zu,Al.current),Zc(Zu,Kr.current),Zc(Zu,gc.current),Zc(Zu,(Og=fu.current)===null||Og===void 0?void 0:Og.setScrollLeft)}var Qg=Ri||Al.current;if(Qg){var Tg=Qg.scrollWidth,kg=Qg.clientWidth;if(Tg===kg){QA(!1),Ss(!1);return}$u?(QA(-Zu<Tg-kg),Ss(-Zu>0)):(QA(Zu>0),Ss(Zu<Tg-kg))}}),fc=function(){Yi&&Kr.current?ql({currentTarget:Kr.current}):(QA(!1),Ss(!1))},_g=function(Ri){var Rl=Ri.width;Rl!==va&&(fc(),ti(BA.current?BA.current.offsetWidth:Rl))},Vd=me.useRef(!1);me.useEffect(function(){Vd.current&&fc()},[Yi,Sn,ko.length]),me.useEffect(function(){Vd.current=!0},[]);var Lg=me.useState(0),Xd=(0,ze.Z)(Lg,2),hc=Xd[0],Yd=Xd[1],yf=me.useState(!0),Ig=(0,ze.Z)(yf,2),di=Ig[0],Jd=Ig[1];me.useEffect(function(){(!Yr||!ia)&&(Kr.current instanceof Element?Yd((0,kt.o)(Kr.current).width):Yd((0,kt.o)(Ts.current).width)),Jd((0,ot.G)("position","sticky"))},[]),me.useEffect(function(){ia&&ao&&(ao.body.current=Kr.current)});var wf=me.useCallback(function(si){return me.createElement(me.Fragment,null,me.createElement(bi,si),ls==="top"&&me.createElement(gt,si,$i))},[ls,$i]),ah=me.useCallback(function(si){return me.createElement(gt,si,$i)},[$i]),bf=Qa(["table"],"table"),Ug=me.useMemo(function(){return Gn||(Xl?SA==="max-content"?"auto":"fixed":FA||Yl||jo.some(function(si){var Ri=si.ellipsis;return Ri})?"fixed":"auto")},[FA,Xl,jo,Gn,Yl]),Ng,qd={colWidths:rA,columCount:jo.length,stickyOffsets:As,onHeaderRow:Ia,fixHeader:FA,scroll:Tn},Cf=me.useMemo(function(){return Gr?null:typeof Wr=="function"?Wr():Wr},[Gr,Wr]),Gu=me.createElement(Aa,{data:na,measureColumnWidth:FA||Yi||Yl}),Dg=me.createElement(co,{colWidths:jo.map(function(si){var Ri=si.width;return Ri}),columns:jo}),eg=Rr!=null?me.createElement("caption",{className:"".concat(It,"-caption")},Rr):void 0,Pf=(0,_n.Z)(Bt,{data:!0}),Bd=(0,_n.Z)(Bt,{aria:!0});if(FA||Yl){var tg;typeof no=="function"?(tg=no(na,{scrollbarSize:hc,ref:Kr,onScroll:ql}),qd.colWidths=jo.map(function(si,Ri){var Rl=si.width,$u=Ri===jo.length-1?Rl-hc:Rl;return typeof $u=="number"&&!Number.isNaN($u)?$u:0})):tg=me.createElement("div",{style:(0,nt.Z)((0,nt.Z)({},Bs),aA),onScroll:ql,ref:Kr,className:ke()("".concat(It,"-body"))},me.createElement(bf,(0,Ie.Z)({style:(0,nt.Z)((0,nt.Z)({},Jl),{},{tableLayout:Ug})},Bd),eg,Dg,Gu,!ls&&$i&&me.createElement(gt,{stickyOffsets:As,flattenColumns:jo,columns:ko},$i)));var us=(0,nt.Z)((0,nt.Z)((0,nt.Z)({noData:!na.length,maxContentScroll:Yi&&SA==="max-content"},qd),kl),{},{direction:kn,stickyClassName:Ni,onScroll:ql});Ng=me.createElement(me.Fragment,null,Or!==!1&&me.createElement(sn,(0,Ie.Z)({},us,{stickyTopOffset:pd,className:"".concat(It,"-header"),ref:Al}),wf),tg,ls&&ls!=="top"&&me.createElement(sn,(0,Ie.Z)({},us,{stickyBottomOffset:Zd,className:"".concat(It,"-summary"),ref:gc}),ah),Yl&&me.createElement($A,{ref:fu,offsetScroll:Mo,scrollBodyRef:Kr,onScroll:ql,container:ss}))}else Ng=me.createElement("div",{style:(0,nt.Z)((0,nt.Z)({},Bs),aA),className:ke()("".concat(It,"-content")),onScroll:ql,ref:Kr},me.createElement(bf,(0,Ie.Z)({style:(0,nt.Z)((0,nt.Z)({},Jl),{},{tableLayout:Ug})},Bd),eg,Dg,Or!==!1&&me.createElement(bi,(0,Ie.Z)({},qd,kl)),Gu,$i&&me.createElement(gt,{stickyOffsets:As,flattenColumns:jo,columns:ko},$i)));var Pu=me.createElement("div",(0,Ie.Z)({className:ke()(It,$t,(et={},(0,De.Z)(et,"".concat(It,"-rtl"),kn==="rtl"),(0,De.Z)(et,"".concat(It,"-ping-left"),Xi),(0,De.Z)(et,"".concat(It,"-ping-right"),Fs),(0,De.Z)(et,"".concat(It,"-layout-fixed"),Gn==="fixed"),(0,De.Z)(et,"".concat(It,"-fixed-header"),FA),(0,De.Z)(et,"".concat(It,"-fixed-column"),Xl),(0,De.Z)(et,"".concat(It,"-scroll-horizontal"),Yi),(0,De.Z)(et,"".concat(It,"-has-fix-left"),jo[0]&&jo[0].fixed),(0,De.Z)(et,"".concat(It,"-has-fix-right"),jo[jo.length-1]&&jo[jo.length-1].fixed==="right"),et)),style:mn,id:Er,ref:BA},Pf),fr&&me.createElement(GA,{className:"".concat(It,"-title")},fr(na)),me.createElement("div",{ref:Ts,className:"".concat(It,"-container")},Ng),or&&me.createElement(GA,{className:"".concat(It,"-footer")},or(na)));Yi&&(Pu=me.createElement(Pt.Z,{onResize:_g},Pu));var ng=gr(jo,As,kn,ko),oh=me.useMemo(function(){return{scrollX:SA,prefixCls:It,getComponent:Qa,scrollbarSize:hc,direction:kn,fixedInfoList:ng,isSticky:Yl,supportSticky:di,componentWidth:va,fixHeader:FA,fixColumn:Xl,horizonScroll:Yi,tableLayout:Ug,rowClassName:Zt,expandedRowClassName:io.expandedRowClassName,expandIcon:xi,expandableType:EA,expandRowByClick:io.expandRowByClick,expandedRowRender:io.expandedRowRender,onTriggerExpand:Gs,expandIconColumnIndex:io.expandIconColumnIndex,indentSize:io.indentSize,allColumnsFixedLeft:jo.every(function(si){return si.fixed==="left"}),emptyNode:Cf,columns:ko,flattenColumns:jo,onColumnResize:vd,hoverStartRow:Do,hoverEndRow:Fi,onHover:Zo,rowExpandable:io.rowExpandable,onRow:wa,getRowKey:Bo,expandedKeys:ei,childrenColumnName:Ui}},[SA,It,Qa,hc,kn,ng,Yl,di,va,FA,Xl,Yi,Ug,Zt,io.expandedRowClassName,xi,EA,io.expandRowByClick,io.expandedRowRender,Gs,io.expandIconColumnIndex,io.indentSize,Cf,ko,jo,vd,Do,Fi,Zo,io.rowExpandable,wa,Bo,ei,Ui]);return me.createElement(_e.Provider,{value:oh},Pu)}function za(Ye){return te(Ea,Ye)}var mi=za();mi.EXPAND_COLUMN=Oe,mi.INTERNAL_HOOKS=be,mi.Column=Dc,mi.ColumnGroup=Ou,mi.Summary=Me;var pa=mi,ns=we(48911),rs=Le(null),Bu=Le(null);function Ds(Ye,et,Bt){var It=et||1;return Bt[Ye+It]-(Bt[Ye]||0)}function Oc(Ye){var et=Ye.rowInfo,Bt=Ye.column,It=Ye.colIndex,$t=Ye.indent,Zt=Ye.index,mn=Ye.renderIndex,Sn=Ye.record,dn=Ye.style,Tn=Ye.className,Gn=Ye.inverse,kn=Ye.getHeight,fr=Bt.render,or=Bt.dataIndex,ur=Bt.className,Rr=Bt.width,Er=de(Bu,["columnsOffset"]),Or=Er.columnsOffset,xr=Jn(et,Bt,It,$t,Zt),Wr=xr.key,wa=xr.fixedInfo,Ia=xr.appendCellNode,ua=xr.additionalCellProps,Ha=ua.style,ao=ua.colSpan,Yr=ao===void 0?1:ao,da=ua.rowSpan,na=da===void 0?1:da,Gr=It-1,ia=Ds(Gr,Yr,Or),Qa=Yr>1?Rr-ia:0,Bo=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Ha),dn),{},{flex:"0 0 ".concat(ia,"px"),width:"".concat(ia,"px"),marginRight:Qa,pointerEvents:"auto"}),no=me.useMemo(function(){return Gn?na<=1:Yr===0||na===0||na>1},[na,Yr,Gn]);no?Bo.visibility="hidden":Gn&&(Bo.height=kn==null?void 0:kn(na));var Da=no?function(){return null}:fr,lo={};return(na===0||Yr===0)&&(lo.rowSpan=1,lo.colSpan=1),me.createElement(Vn,(0,Ie.Z)({className:ke()(ur,Tn),ellipsis:Bt.ellipsis,align:Bt.align,scope:Bt.rowScope,component:"div",prefixCls:et.prefixCls,key:Wr,record:Sn,index:Zt,renderIndex:mn,dataIndex:or,render:Da,shouldCellUpdate:Bt.shouldCellUpdate},wa,{appendNode:Ia,additionalProps:(0,nt.Z)((0,nt.Z)({},ua),{},{style:Bo},lo)}))}var Qc=Oc,xl=["data","index","className","rowKey","style","extra","getHeight"],_l=me.forwardRef(function(Ye,et){var Bt=Ye.data,It=Ye.index,$t=Ye.className,Zt=Ye.rowKey,mn=Ye.style,Sn=Ye.extra,dn=Ye.getHeight,Tn=(0,Kt.Z)(Ye,xl),Gn=Bt.record,kn=Bt.indent,fr=Bt.index,or=de(_e,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ur=or.scrollX,Rr=or.flattenColumns,Er=or.prefixCls,Or=or.fixColumn,xr=or.componentWidth,Wr=Yt(Gn,Zt,It,kn),wa=Wr.rowSupportExpand,Ia=Wr.expanded,ua=Wr.rowProps,Ha=Wr.expandedRowRender,ao=Wr.expandedRowClassName,Yr;if(wa&&Ia){var da=Ha(Gn,It,kn+1,Ia),na=ao==null?void 0:ao(Gn,It,kn),Gr={};Or&&(Gr={style:(0,De.Z)({},"--virtual-width","".concat(xr,"px"))});var ia="".concat(Er,"-expanded-row-cell");Yr=me.createElement("div",{className:ke()("".concat(Er,"-expanded-row"),"".concat(Er,"-expanded-row-level-").concat(kn+1),na)},me.createElement(Vn,{component:"div",prefixCls:Er,className:ke()(ia,(0,De.Z)({},"".concat(ia,"-fixed"),Or)),additionalProps:Gr},da))}var Qa=(0,nt.Z)((0,nt.Z)({},mn),{},{width:ur});Sn&&(Qa.position="absolute",Qa.pointerEvents="none");var Bo=me.createElement("div",(0,Ie.Z)({},ua,Tn,{ref:wa?null:et,className:ke()($t,"".concat(Er,"-row"),ua==null?void 0:ua.className,(0,De.Z)({},"".concat(Er,"-row-extra"),Sn)),style:(0,nt.Z)((0,nt.Z)({},Qa),ua==null?void 0:ua.style)}),Rr.map(function(no,Da){return me.createElement(Qc,{key:Da,rowInfo:Wr,column:no,colIndex:Da,indent:kn,index:It,renderIndex:fr,record:Gn,inverse:Sn,getHeight:dn})}));return wa?me.createElement("div",{ref:et},Bo,Yr):Bo}),Tc=ne(_l),Qu=Tc,Tu=me.forwardRef(function(Ye,et){var Bt=Ye.data,It=Ye.onScroll,$t=de(_e,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Zt=$t.flattenColumns,mn=$t.onColumnResize,Sn=$t.getRowKey,dn=$t.expandedKeys,Tn=$t.prefixCls,Gn=$t.childrenColumnName,kn=$t.emptyNode,fr=$t.scrollX,or=de(rs),ur=or.scrollY,Rr=or.listItemHeight,Er=me.useRef(),Or=rn(Bt,Gn,dn,Sn),xr=me.useMemo(function(){var Yr=0;return Zt.map(function(da){var na=da.width,Gr=da.key;return Yr+=na,[Gr,na,Yr]})},[Zt]),Wr=me.useMemo(function(){return xr.map(function(Yr){return Yr[2]})},[xr]);me.useEffect(function(){xr.forEach(function(Yr){var da=(0,ze.Z)(Yr,2),na=da[0],Gr=da[1];mn(na,Gr)})},[xr]),me.useImperativeHandle(et,function(){var Yr={};return Object.defineProperty(Yr,"scrollLeft",{get:function(){var na;return((na=Er.current)===null||na===void 0?void 0:na.getScrollInfo().x)||0},set:function(na){var Gr;(Gr=Er.current)===null||Gr===void 0||Gr.scrollTo({left:na})}}),Yr});var wa=function(da,na){var Gr,ia=(Gr=Or[na])===null||Gr===void 0?void 0:Gr.record,Qa=da.onCell;if(Qa){var Bo,no=Qa(ia,na);return(Bo=no==null?void 0:no.rowSpan)!==null&&Bo!==void 0?Bo:1}return 1},Ia=function(da){var na=da.start,Gr=da.end,ia=da.getSize,Qa=da.offsetY;if(Gr<0)return null;for(var Bo=Zt.filter(function(aa){return wa(aa,na)===0}),no=na,Da=function(Ra){if(Bo=Bo.filter(function(Ta){return wa(Ta,Ra)===0}),!Bo.length)return no=Ra,"break"},lo=na;lo>=0;lo-=1){var Do=Da(lo);if(Do==="break")break}for(var Fi=Zt.filter(function(aa){return wa(aa,Gr)!==1}),Zo=Gr,Mi=function(Ra){if(Fi=Fi.filter(function(Ta){return wa(Ta,Ra)!==1}),!Fi.length)return Zo=Math.max(Ra-1,Gr),"break"},nA=Gr;nA<Or.length;nA+=1){var io=Mi(nA);if(io==="break")break}for(var EA=[],ei=function(Ra){var Ta=Or[Ra];if(!Ta)return"continue";Zt.some(function(va){return wa(va,Ra)>1})&&EA.push(Ra)},xi=no;xi<=Zo;xi+=1)var Ui=ei(xi);var Gs=EA.map(function(aa){var Ra=Or[aa],Ta=Sn(Ra.record,aa),va=function(Ja){var ko=aa+Ja-1,jo=Sn(Or[ko].record,ko),Es=ia(Ta,jo);return Es.bottom-Es.top},ti=ia(Ta);return me.createElement(Qu,{key:aa,data:Ra,rowKey:Ta,index:aa,style:{top:-Qa+ti.top},extra:!0,getHeight:va})});return Gs},ua=me.useMemo(function(){return{columnsOffset:Wr}},[Wr]),Ha="".concat(Tn,"-tbody"),ao;return Or.length?ao=me.createElement(ns.Z,{fullHeight:!1,ref:Er,className:ke()(Ha,"".concat(Ha,"-virtual")),height:ur,itemHeight:Rr||24,data:Or,itemKey:function(da){return Sn(da.record)},scrollWidth:fr,onVirtualScroll:function(da){var na=da.x;It({scrollLeft:na})},extraRender:Ia},function(Yr,da,na){var Gr=Sn(Yr.record,da);return me.createElement(Qu,(0,Ie.Z)({data:Yr,rowKey:Gr,index:da},na))}):ao=me.createElement("div",{className:ke()("".concat(Tn,"-placeholder"))},me.createElement(Vn,{component:"div",prefixCls:Tn},kn)),me.createElement(Bu.Provider,{value:ua},ao)}),Au=ne(Tu),gl=Au,ku=function(et,Bt){var It=Bt.ref,$t=Bt.onScroll;return me.createElement(gl,{ref:It,data:et,onScroll:$t})},An=100;function kc(Ye){var et=Ye.columns,Bt=Ye.scroll,It=Ye.prefixCls,$t=It===void 0?el:It,Zt=Ye.className,mn=Ye.listItemHeight,Sn=Bt||{},dn=Sn.x,Tn=Sn.y;typeof dn!="number"&&(dn=((et||[]).length+1)*An),typeof Tn!="number"&&(Tn=500);var Gn=me.useMemo(function(){return{scrollY:Tn,listItemHeight:mn}},[Tn,mn]);return me.createElement(rs.Provider,{value:Gn},me.createElement(pa,(0,Ie.Z)({},Ye,{className:ke()(Zt,"".concat($t,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},Bt),{},{x:dn}),components:{body:ku},columns:et,internalHooks:be,tailor:!0})))}function Ru(Ye){return te(kc,Ye)}var gd=Ru(),su=null;function hs(Ye){return null}var lu=hs;function as(Ye){return null}var UA=as,ic=we(2738),zl=we(68031),bA=we(36355),ZA=we(93891),Rc=we(19716),uu=we(8628),jc=we(31724),wn=we(58421),Dt=we(71418),tn=we(88088);function Qn(Ye){return function(Bt){let{prefixCls:It,onExpand:$t,record:Zt,expanded:mn,expandable:Sn}=Bt;const dn=`${It}-row-expand-icon`;return me.createElement("button",{type:"button",onClick:Tn=>{$t(Zt,Tn),Tn.stopPropagation()},className:ke()(dn,{[`${dn}-spaced`]:!Sn,[`${dn}-expanded`]:Sn&&mn,[`${dn}-collapsed`]:Sn&&!mn}),"aria-label":mn?Ye.collapse:Ye.expand,"aria-expanded":mn})}}var Ar=Qn;function Xr(Ye,et){return"key"in Ye&&Ye.key!==void 0&&Ye.key!==null?Ye.key:Ye.dataIndex?Array.isArray(Ye.dataIndex)?Ye.dataIndex.join("."):Ye.dataIndex:et}function Lr(Ye,et){return et?`${et}-${Ye}`:`${Ye}`}function mr(Ye,et){return typeof Ye=="function"?Ye(et):Ye}function Fr(Ye,et){const Bt=mr(Ye,et);return Object.prototype.toString.call(Bt)==="[object Object]"?"":Bt}var ca={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Ma=ca,Ro=we(7657),la=function(et,Bt){return me.createElement(Ro.Z,(0,Ie.Z)({},et,{ref:Bt,icon:Ma}))},Wi=me.forwardRef(la),ii=Wi,pi=we(56762);function ha(Ye){const et=me.useRef(Ye),Bt=(0,pi.Z)();return[()=>et.current,It=>{et.current=It,Bt()}]}var Na=we(3113),ja=we(24905),_a=we(38854),xo=we(64165),So=we(20834),WA=we(40875),fl=we(5112),sA=we(17574),VA=we(47472),tl=we(92832);function nl(Ye){let{value:et,onChange:Bt,filterSearch:It,tablePrefixCls:$t,locale:Zt}=Ye;return It?me.createElement("div",{className:`${$t}-filter-dropdown-search`},me.createElement(tl.default,{prefix:me.createElement(VA.Z,null),placeholder:Zt.filterSearchPlaceholder,onChange:Bt,value:et,htmlSize:1,className:`${$t}-filter-dropdown-search-input`})):null}var rl=nl,Pn=we(10228);const In=Ye=>{const{keyCode:et}=Ye;et===Pn.Z.ENTER&&Ye.stopPropagation()};var Zr=me.forwardRef((Ye,et)=>me.createElement("div",{className:Ye.className,onClick:Bt=>Bt.stopPropagation(),onKeyDown:In,ref:et},Ye.children));function Fa(Ye){let et=[];return(Ye||[]).forEach(Bt=>{let{value:It,children:$t}=Bt;et.push(It),$t&&(et=[].concat((0,qr.Z)(et),(0,qr.Z)(Fa($t))))}),et}function No(Ye){return Ye.some(et=>{let{children:Bt}=et;return Bt})}function Ei(Ye,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Ye.trim().toLowerCase()):!1}function to(Ye){let{filters:et,prefixCls:Bt,filteredKeys:It,filterMultiple:$t,searchValue:Zt,filterSearch:mn}=Ye;return et.map((Sn,dn)=>{const Tn=String(Sn.value);if(Sn.children)return{key:Tn||dn,label:Sn.text,popupClassName:`${Bt}-dropdown-submenu`,children:to({filters:Sn.children,prefixCls:Bt,filteredKeys:It,filterMultiple:$t,searchValue:Zt,filterSearch:mn})};const Gn=$t?ja.default:fl.ZP,kn={key:Sn.value!==void 0?Tn:dn,label:me.createElement(me.Fragment,null,me.createElement(Gn,{checked:It.includes(Tn)}),me.createElement("span",null,Sn.text))};return Zt.trim()?typeof mn=="function"?mn(Zt,Sn)?kn:null:Ei(Zt,Sn.text)?kn:null:kn})}function eA(Ye){var et,Bt;const{tablePrefixCls:It,prefixCls:$t,column:Zt,dropdownPrefixCls:mn,columnKey:Sn,filterMultiple:dn,filterMode:Tn="menu",filterSearch:Gn=!1,filterState:kn,triggerFilter:fr,locale:or,children:ur,getPopupContainer:Rr}=Ye,{filterDropdownOpen:Er,onFilterDropdownOpenChange:Or,filterResetToDefaultFilteredValue:xr,defaultFilteredValue:Wr,filterDropdownVisible:wa,onFilterDropdownVisibleChange:Ia}=Zt,[ua,Ha]=me.useState(!1),ao=!!(kn&&(!((et=kn.filteredKeys)===null||et===void 0)&&et.length||kn.forceFiltered)),Yr=Sa=>{Ha(Sa),Or==null||Or(Sa),Ia==null||Ia(Sa)},da=(Bt=Er!=null?Er:wa)!==null&&Bt!==void 0?Bt:ua,na=kn==null?void 0:kn.filteredKeys,[Gr,ia]=ha(na||[]),Qa=Sa=>{let{selectedKeys:Ja}=Sa;ia(Ja)},Bo=(Sa,Ja)=>{let{node:ko,checked:jo}=Ja;Qa(dn?{selectedKeys:Sa}:{selectedKeys:jo&&ko.key?[ko.key]:[]})};me.useEffect(()=>{ua&&Qa({selectedKeys:na||[]})},[na]);const[no,Da]=me.useState([]),lo=Sa=>{Da(Sa)},[Do,Fi]=me.useState(""),Zo=Sa=>{const{value:Ja}=Sa.target;Fi(Ja)};me.useEffect(()=>{ua||Fi("")},[ua]);const Mi=Sa=>{const Ja=Sa&&Sa.length?Sa:null;if(Ja===null&&(!kn||!kn.filteredKeys)||(0,je.Z)(Ja,kn==null?void 0:kn.filteredKeys,!0))return null;fr({column:Zt,key:Sn,filteredKeys:Ja})},nA=()=>{Yr(!1),Mi(Gr())},io=function(){let{confirm:Sa,closeDropdown:Ja}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Sa&&Mi([]),Ja&&Yr(!1),Fi(""),ia(xr?(Wr||[]).map(ko=>String(ko)):[])},EA=function(){let{closeDropdown:Sa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Sa&&Yr(!1),Mi(Gr())},ei=Sa=>{Sa&&na!==void 0&&ia(na||[]),Yr(Sa),!Sa&&!Zt.filterDropdown&&nA()},xi=ke()({[`${mn}-menu-without-submenu`]:!No(Zt.filters||[])}),Ui=Sa=>{if(Sa.target.checked){const Ja=Fa(Zt==null?void 0:Zt.filters).map(ko=>String(ko));ia(Ja)}else ia([])},Gs=Sa=>{let{filters:Ja}=Sa;return(Ja||[]).map((ko,jo)=>{const Es=String(ko.value),SA={title:ko.text,key:ko.value!==void 0?Es:jo};return ko.children&&(SA.children=Gs({filters:ko.children})),SA})},aa=Sa=>{var Ja;return Object.assign(Object.assign({},Sa),{text:Sa.title,value:Sa.key,children:((Ja=Sa.children)===null||Ja===void 0?void 0:Ja.map(ko=>aa(ko)))||[]})};let Ra;if(typeof Zt.filterDropdown=="function")Ra=Zt.filterDropdown({prefixCls:`${mn}-custom`,setSelectedKeys:Sa=>Qa({selectedKeys:Sa}),selectedKeys:Gr(),confirm:EA,clearFilters:io,filters:Zt.filters,visible:da,close:()=>{Yr(!1)}});else if(Zt.filterDropdown)Ra=Zt.filterDropdown;else{const Sa=Gr()||[],Ja=()=>(Zt.filters||[]).length===0?me.createElement(xo.Z,{image:xo.Z.PRESENTED_IMAGE_SIMPLE,description:or.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Tn==="tree"?me.createElement(me.Fragment,null,me.createElement(rl,{filterSearch:Gn,value:Do,onChange:Zo,tablePrefixCls:It,locale:or}),me.createElement("div",{className:`${It}-filter-dropdown-tree`},dn?me.createElement(ja.default,{checked:Sa.length===Fa(Zt.filters).length,indeterminate:Sa.length>0&&Sa.length<Fa(Zt.filters).length,className:`${It}-filter-dropdown-checkall`,onChange:Ui},or.filterCheckall):null,me.createElement(sA.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:dn,checkStrictly:!dn,className:`${mn}-menu`,onCheck:Bo,checkedKeys:Sa,selectedKeys:Sa,showIcon:!1,treeData:Gs({filters:Zt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Do.trim()?jo=>typeof Gn=="function"?Gn(Do,aa(jo)):Ei(Do,jo.title):void 0}))):me.createElement(me.Fragment,null,me.createElement(rl,{filterSearch:Gn,value:Do,onChange:Zo,tablePrefixCls:It,locale:or}),me.createElement(So.default,{selectable:!0,multiple:dn,prefixCls:`${mn}-menu`,className:xi,onSelect:Qa,onDeselect:Qa,selectedKeys:Sa,getPopupContainer:Rr,openKeys:no,onOpenChange:lo,items:to({filters:Zt.filters||[],filterSearch:Gn,prefixCls:$t,filteredKeys:Gr(),filterMultiple:dn,searchValue:Do})})),ko=()=>xr?(0,je.Z)((Wr||[]).map(jo=>String(jo)),Sa,!0):Sa.length===0;Ra=me.createElement(me.Fragment,null,Ja(),me.createElement("div",{className:`${$t}-dropdown-btns`},me.createElement(Na.ZP,{type:"link",size:"small",disabled:ko(),onClick:()=>io()},or.filterReset),me.createElement(Na.ZP,{type:"primary",size:"small",onClick:nA},or.filterConfirm)))}Zt.filterDropdown&&(Ra=me.createElement(WA.J,{selectable:void 0},Ra));const Ta=()=>me.createElement(Zr,{className:`${$t}-dropdown`},Ra);let va;typeof Zt.filterIcon=="function"?va=Zt.filterIcon(ao):Zt.filterIcon?va=Zt.filterIcon:va=me.createElement(ii,null);const{direction:ti}=me.useContext(bA.E_);return me.createElement("div",{className:`${$t}-column`},me.createElement("span",{className:`${It}-column-title`},ur),me.createElement(_a.Z,{dropdownRender:Ta,trigger:["click"],open:da,onOpenChange:ei,getPopupContainer:Rr,placement:ti==="rtl"?"bottomLeft":"bottomRight"},me.createElement("span",{role:"button",tabIndex:-1,className:ke()(`${$t}-trigger`,{active:ao}),onClick:Sa=>{Sa.stopPropagation()}},va)))}var ju=eA;function cu(Ye,et,Bt){let It=[];return(Ye||[]).forEach(($t,Zt)=>{var mn;const Sn=Lr(Zt,Bt);if($t.filters||"filterDropdown"in $t||"onFilter"in $t)if("filteredValue"in $t){let dn=$t.filteredValue;"filterDropdown"in $t||(dn=(mn=dn==null?void 0:dn.map(String))!==null&&mn!==void 0?mn:dn),It.push({column:$t,key:Xr($t,Sn),filteredKeys:dn,forceFiltered:$t.filtered})}else It.push({column:$t,key:Xr($t,Sn),filteredKeys:et&&$t.defaultFilteredValue?$t.defaultFilteredValue:void 0,forceFiltered:$t.filtered});"children"in $t&&(It=[].concat((0,qr.Z)(It),(0,qr.Z)(cu($t.children,et,Sn))))}),It}function Ll(Ye,et,Bt,It,$t,Zt,mn,Sn){return Bt.map((dn,Tn)=>{const Gn=Lr(Tn,Sn),{filterMultiple:kn=!0,filterMode:fr,filterSearch:or}=dn;let ur=dn;if(ur.filters||ur.filterDropdown){const Rr=Xr(ur,Gn),Er=It.find(Or=>{let{key:xr}=Or;return Rr===xr});ur=Object.assign(Object.assign({},ur),{title:Or=>me.createElement(ju,{tablePrefixCls:Ye,prefixCls:`${Ye}-filter`,dropdownPrefixCls:et,column:ur,columnKey:Rr,filterState:Er,filterMultiple:kn,filterMode:fr,filterSearch:or,triggerFilter:Zt,locale:$t,getPopupContainer:mn},mr(dn.title,Or))})}return"children"in ur&&(ur=Object.assign(Object.assign({},ur),{children:Ll(Ye,et,ur.children,It,$t,Zt,mn,Gn)})),ur})}function ol(Ye){const et={};return Ye.forEach(Bt=>{let{key:It,filteredKeys:$t,column:Zt}=Bt;const{filters:mn,filterDropdown:Sn}=Zt;if(Sn)et[It]=$t||null;else if(Array.isArray($t)){const dn=Fa(mn);et[It]=dn.filter(Tn=>$t.includes(String(Tn)))}else et[It]=null}),et}function Gd(Ye,et){return et.reduce((Bt,It)=>{const{column:{onFilter:$t,filters:Zt},filteredKeys:mn}=It;return $t&&mn&&mn.length?Bt.filter(Sn=>mn.some(dn=>{const Tn=Fa(Zt),Gn=Tn.findIndex(fr=>String(fr)===String(dn)),kn=Gn!==-1?Tn[Gn]:dn;return $t(kn,Sn)})):Bt},Ye)}const Il=Ye=>Ye.flatMap(et=>"children"in et?[et].concat((0,qr.Z)(Il(et.children||[]))):[et]);function lA(Ye){let{prefixCls:et,dropdownPrefixCls:Bt,mergedColumns:It,onFilterChange:$t,getPopupContainer:Zt,locale:mn}=Ye;const Sn=me.useMemo(()=>Il(It||[]),[It]),[dn,Tn]=me.useState(()=>cu(Sn,!0)),Gn=me.useMemo(()=>{const ur=cu(Sn,!1);if(ur.length===0)return ur;let Rr=!0,Er=!0;if(ur.forEach(Or=>{let{filteredKeys:xr}=Or;xr!==void 0?Rr=!1:Er=!1}),Rr){const Or=(Sn||[]).map((xr,Wr)=>Xr(xr,Lr(Wr)));return dn.filter(xr=>{let{key:Wr}=xr;return Or.includes(Wr)}).map(xr=>{const Wr=Sn[Or.findIndex(wa=>wa===xr.key)];return Object.assign(Object.assign({},xr),{column:Object.assign(Object.assign({},xr.column),Wr),forceFiltered:Wr.filtered})})}return ur},[Sn,dn]),kn=me.useMemo(()=>ol(Gn),[Gn]),fr=ur=>{const Rr=Gn.filter(Er=>{let{key:Or}=Er;return Or!==ur.key});Rr.push(ur),Tn(Rr),$t(ol(Rr),Rr)};return[ur=>Ll(et,Bt,ur,Gn,mn,fr,Zt),Gn,kn]}var Ac=lA;function NA(Ye,et,Bt){const It=me.useRef({});function $t(Zt){if(!It.current||It.current.data!==Ye||It.current.childrenColumnName!==et||It.current.getRowKey!==Bt){let Sn=function(dn){dn.forEach((Tn,Gn)=>{const kn=Bt(Tn,Gn);mn.set(kn,Tn),Tn&&typeof Tn=="object"&&et in Tn&&Sn(Tn[et]||[])})};const mn=new Map;Sn(Ye),It.current={data:Ye,childrenColumnName:et,kvMap:mn,getRowKey:Bt}}return It.current.kvMap.get(Zt)}return[$t]}var Mu=we(50371),hl=function(Ye,et){var Bt={};for(var It in Ye)Object.prototype.hasOwnProperty.call(Ye,It)&&et.indexOf(It)<0&&(Bt[It]=Ye[It]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,It=Object.getOwnPropertySymbols(Ye);$t<It.length;$t++)et.indexOf(It[$t])<0&&Object.prototype.propertyIsEnumerable.call(Ye,It[$t])&&(Bt[It[$t]]=Ye[It[$t]]);return Bt};const Ul=10;function qo(Ye,et){const Bt={current:Ye.current,pageSize:Ye.pageSize};return Object.keys(et&&typeof et=="object"?et:{}).forEach($t=>{const Zt=Ye[$t];typeof Zt!="function"&&(Bt[$t]=Zt)}),Bt}function yu(Ye,et,Bt){const It=Bt&&typeof Bt=="object"?Bt:{},{total:$t=0}=It,Zt=hl(It,["total"]),[mn,Sn]=(0,me.useState)(()=>({current:"defaultCurrent"in Zt?Zt.defaultCurrent:1,pageSize:"defaultPageSize"in Zt?Zt.defaultPageSize:Ul})),dn=(0,Mu.Z)(mn,Zt,{total:$t>0?$t:Ye}),Tn=Math.ceil(($t||Ye)/dn.pageSize);dn.current>Tn&&(dn.current=Tn||1);const Gn=(fr,or)=>{Sn({current:fr!=null?fr:1,pageSize:or||dn.pageSize})},kn=(fr,or)=>{var ur;Bt&&((ur=Bt.onChange)===null||ur===void 0||ur.call(Bt,fr,or)),Gn(fr,or),et(fr,or||(dn==null?void 0:dn.pageSize))};return Bt===!1?[{},()=>{}]:[Object.assign(Object.assign({},dn),{onChange:kn}),Gn]}var sc=yu,fd=we(84105),vA=we(35654),Os=we(90782),Nl=we(71430),Gl=we(18929);const Ci={},Cs="SELECT_ALL",DA="SELECT_INVERT",uA="SELECT_NONE",cA=[],Dl=(Ye,et)=>{let Bt=[];return(et||[]).forEach(It=>{Bt.push(It),It&&typeof It=="object"&&Ye in It&&(Bt=[].concat((0,qr.Z)(Bt),(0,qr.Z)(Dl(Ye,It[Ye]))))}),Bt};var XA=(Ye,et)=>{const{preserveSelectedRowKeys:Bt,selectedRowKeys:It,defaultSelectedRowKeys:$t,getCheckboxProps:Zt,onChange:mn,onSelect:Sn,onSelectAll:dn,onSelectInvert:Tn,onSelectNone:Gn,onSelectMultiple:kn,columnWidth:fr,type:or,selections:ur,fixed:Rr,renderCell:Er,hideSelectAll:Or,checkStrictly:xr=!0}=et||{},{prefixCls:Wr,data:wa,pageData:Ia,getRecordByKey:ua,getRowKey:Ha,expandType:ao,childrenColumnName:Yr,locale:da,getPopupContainer:na}=Ye,[Gr,ia]=(0,Gl.Z)(It||$t||cA,{value:It}),Qa=me.useRef(new Map),Bo=(0,me.useCallback)(aa=>{if(Bt){const Ra=new Map;aa.forEach(Ta=>{let va=ua(Ta);!va&&Qa.current.has(Ta)&&(va=Qa.current.get(Ta)),Ra.set(Ta,va)}),Qa.current=Ra}},[ua,Bt]);me.useEffect(()=>{Bo(Gr)},[Gr]);const{keyEntities:no}=(0,me.useMemo)(()=>{if(xr)return{keyEntities:null};let aa=wa;if(Bt){const Ra=new Set(wa.map((va,ti)=>Ha(va,ti))),Ta=Array.from(Qa.current).reduce((va,ti)=>{let[Sa,Ja]=ti;return Ra.has(Sa)?va:va.concat(Ja)},[]);aa=[].concat((0,qr.Z)(aa),(0,qr.Z)(Ta))}return(0,Nl.I8)(aa,{externalGetKey:Ha,childrenPropName:Yr})},[wa,Ha,xr,Yr,Bt]),Da=(0,me.useMemo)(()=>Dl(Yr,Ia),[Yr,Ia]),lo=(0,me.useMemo)(()=>{const aa=new Map;return Da.forEach((Ra,Ta)=>{const va=Ha(Ra,Ta),ti=(Zt?Zt(Ra):null)||{};aa.set(va,ti)}),aa},[Da,Ha,Zt]),Do=(0,me.useCallback)(aa=>{var Ra;return!!(!((Ra=lo.get(Ha(aa)))===null||Ra===void 0)&&Ra.disabled)},[lo,Ha]),[Fi,Zo]=(0,me.useMemo)(()=>{if(xr)return[Gr||[],[]];const{checkedKeys:aa,halfCheckedKeys:Ra}=(0,Os.S)(Gr,!0,no,Do);return[aa||[],Ra]},[Gr,xr,no,Do]),Mi=(0,me.useMemo)(()=>{const aa=or==="radio"?Fi.slice(0,1):Fi;return new Set(aa)},[Fi,or]),nA=(0,me.useMemo)(()=>or==="radio"?new Set:new Set(Zo),[Zo,or]),[io,EA]=(0,me.useState)(null);me.useEffect(()=>{et||ia(cA)},[!!et]);const ei=(0,me.useCallback)((aa,Ra)=>{let Ta,va;Bo(aa),Bt?(Ta=aa,va=aa.map(ti=>Qa.current.get(ti))):(Ta=[],va=[],aa.forEach(ti=>{const Sa=ua(ti);Sa!==void 0&&(Ta.push(ti),va.push(Sa))})),ia(Ta),mn==null||mn(Ta,va,{type:Ra})},[ia,ua,mn,Bt]),xi=(0,me.useCallback)((aa,Ra,Ta,va)=>{if(Sn){const ti=Ta.map(Sa=>ua(Sa));Sn(ua(aa),Ra,ti,va)}ei(Ta,"single")},[Sn,ua,ei]),Ui=(0,me.useMemo)(()=>!ur||Or?null:(ur===!0?[Cs,DA,uA]:ur).map(Ra=>Ra===Cs?{key:"all",text:da.selectionAll,onSelect(){ei(wa.map((Ta,va)=>Ha(Ta,va)).filter(Ta=>{const va=lo.get(Ta);return!(va!=null&&va.disabled)||Mi.has(Ta)}),"all")}}:Ra===DA?{key:"invert",text:da.selectInvert,onSelect(){const Ta=new Set(Mi);Ia.forEach((ti,Sa)=>{const Ja=Ha(ti,Sa),ko=lo.get(Ja);ko!=null&&ko.disabled||(Ta.has(Ja)?Ta.delete(Ja):Ta.add(Ja))});const va=Array.from(Ta);Tn&&Tn(va),ei(va,"invert")}}:Ra===uA?{key:"none",text:da.selectNone,onSelect(){Gn==null||Gn(),ei(Array.from(Mi).filter(Ta=>{const va=lo.get(Ta);return va==null?void 0:va.disabled}),"none")}}:Ra).map(Ra=>Object.assign(Object.assign({},Ra),{onSelect:function(){for(var Ta,va,ti=arguments.length,Sa=new Array(ti),Ja=0;Ja<ti;Ja++)Sa[Ja]=arguments[Ja];(va=Ra.onSelect)===null||va===void 0||(Ta=va).call.apply(Ta,[Ra].concat(Sa)),EA(null)}})),[ur,Mi,Ia,Ha,Tn,ei]);return[(0,me.useCallback)(aa=>{var Ra;if(!et)return aa.filter(ni=>ni!==Ci);let Ta=(0,qr.Z)(aa);const va=new Set(Mi),ti=Da.map(Ha).filter(ni=>!lo.get(ni).disabled),Sa=ti.every(ni=>va.has(ni)),Ja=ti.some(ni=>va.has(ni)),ko=()=>{const ni=[];Sa?ti.forEach(Xi=>{va.delete(Xi),ni.push(Xi)}):ti.forEach(Xi=>{va.has(Xi)||(va.add(Xi),ni.push(Xi))});const Oo=Array.from(va);dn==null||dn(!Sa,Oo.map(Xi=>ua(Xi)),ni.map(Xi=>ua(Xi))),ei(Oo,"all"),EA(null)};let jo;if(or!=="radio"){let ni;if(Ui){const yo={getPopupContainer:na,items:Ui.map((Fs,Ss)=>{const{key:$s,text:ks,onSelect:Rs}=Fs;return{key:$s!=null?$s:Ss,onClick:()=>{Rs==null||Rs(ti)},label:ks}})};ni=me.createElement("div",{className:`${Wr}-selection-extra`},me.createElement(_a.Z,{menu:yo,getPopupContainer:na},me.createElement("span",null,me.createElement(fd.Z,null))))}const Oo=Da.map((yo,Fs)=>{const Ss=Ha(yo,Fs),$s=lo.get(Ss)||{};return Object.assign({checked:va.has(Ss)},$s)}).filter(yo=>{let{disabled:Fs}=yo;return Fs}),Xi=!!Oo.length&&Oo.length===Da.length,QA=Xi&&Oo.every(yo=>{let{checked:Fs}=yo;return Fs}),ki=Xi&&Oo.some(yo=>{let{checked:Fs}=yo;return Fs});jo=!Or&&me.createElement("div",{className:`${Wr}-selection`},me.createElement(ja.default,{checked:Xi?QA:!!Da.length&&Sa,indeterminate:Xi?!QA&&ki:!Sa&&Ja,onChange:ko,disabled:Da.length===0||Xi,"aria-label":ni?"Custom selection":"Select all",skipGroup:!0}),ni)}let Es;or==="radio"?Es=(ni,Oo,Xi)=>{const QA=Ha(Oo,Xi),ki=va.has(QA);return{node:me.createElement(fl.ZP,Object.assign({},lo.get(QA),{checked:ki,onClick:yo=>yo.stopPropagation(),onChange:yo=>{va.has(QA)||xi(QA,!0,[QA],yo.nativeEvent)}})),checked:ki}}:Es=(ni,Oo,Xi)=>{var QA;const ki=Ha(Oo,Xi),yo=va.has(ki),Fs=nA.has(ki),Ss=lo.get(ki);let $s;return ao==="nest"?$s=Fs:$s=(QA=Ss==null?void 0:Ss.indeterminate)!==null&&QA!==void 0?QA:Fs,{node:me.createElement(ja.default,Object.assign({},Ss,{indeterminate:$s,checked:yo,skipGroup:!0,onClick:ks=>ks.stopPropagation(),onChange:ks=>{let{nativeEvent:Rs}=ks;const{shiftKey:vl}=Rs;let bu=-1,Sl=-1;if(vl&&xr){const rA=new Set([io,ki]);ti.some((As,FA)=>{if(rA.has(As))if(bu===-1)bu=FA;else return Sl=FA,!0;return!1})}if(Sl!==-1&&bu!==Sl&&xr){const rA=ti.slice(bu,Sl+1),As=[];yo?rA.forEach(Yi=>{va.has(Yi)&&(As.push(Yi),va.delete(Yi))}):rA.forEach(Yi=>{va.has(Yi)||(As.push(Yi),va.add(Yi))});const FA=Array.from(va);kn==null||kn(!yo,FA.map(Yi=>ua(Yi)),As.map(Yi=>ua(Yi))),ei(FA,"multiple")}else{const rA=Fi;if(xr){const As=yo?(0,vA._5)(rA,ki):(0,vA.L0)(rA,ki);xi(ki,!yo,As,Rs)}else{const As=(0,Os.S)([].concat((0,qr.Z)(rA),[ki]),!0,no,Do),{checkedKeys:FA,halfCheckedKeys:Yi}=As;let Xl=FA;if(yo){const fu=new Set(FA);fu.delete(ki),Xl=(0,Os.S)(Array.from(fu),{checked:!1,halfCheckedKeys:Yi},no,Do).checkedKeys}xi(ki,!yo,Xl,Rs)}}EA(yo?null:ki)}})),checked:yo}};const SA=(ni,Oo,Xi)=>{const{node:QA,checked:ki}=Es(ni,Oo,Xi);return Er?Er(ki,Oo,Xi,QA):QA};if(!Ta.includes(Ci))if(Ta.findIndex(ni=>{var Oo;return((Oo=ni[wr])===null||Oo===void 0?void 0:Oo.columnType)==="EXPAND_COLUMN"})===0){const[ni,...Oo]=Ta;Ta=[ni,Ci].concat((0,qr.Z)(Oo))}else Ta=[Ci].concat((0,qr.Z)(Ta));const kl=Ta.indexOf(Ci);Ta=Ta.filter((ni,Oo)=>ni!==Ci||Oo===kl);const BA=Ta[kl-1],Al=Ta[kl+1];let Kr=Rr;Kr===void 0&&((Al==null?void 0:Al.fixed)!==void 0?Kr=Al.fixed:(BA==null?void 0:BA.fixed)!==void 0&&(Kr=BA.fixed)),Kr&&BA&&((Ra=BA[wr])===null||Ra===void 0?void 0:Ra.columnType)==="EXPAND_COLUMN"&&BA.fixed===void 0&&(BA.fixed=Kr);const Ts=ke()(`${Wr}-selection-col`,{[`${Wr}-selection-col-with-dropdown`]:ur&&or==="checkbox"}),gc={fixed:Kr,width:fr,className:`${Wr}-selection-column`,title:et.columnTitle||jo,render:SA,onCell:et.onCell,[wr]:{className:Ts}};return Ta.map(ni=>ni===Ci?gc:ni)},[Ha,Da,et,Fi,Mi,nA,fr,Ui,ao,io,lo,kn,xi,Do]),Mi]},Hu=we(89489),CA=we(59477),Ol=we(6848);const tA="ascend",lc="descend";function du(Ye){return typeof Ye.sorter=="object"&&typeof Ye.sorter.multiple=="number"?Ye.sorter.multiple:!1}function gu(Ye){return typeof Ye=="function"?Ye:Ye&&typeof Ye=="object"&&Ye.compare?Ye.compare:!1}function Hc(Ye,et){return et?Ye[Ye.indexOf(et)+1]:Ye[0]}function $l(Ye,et,Bt){let It=[];function $t(Zt,mn){It.push({column:Zt,key:Xr(Zt,mn),multiplePriority:du(Zt),sortOrder:Zt.sortOrder})}return(Ye||[]).forEach((Zt,mn)=>{const Sn=Lr(mn,Bt);Zt.children?("sortOrder"in Zt&&$t(Zt,Sn),It=[].concat((0,qr.Z)(It),(0,qr.Z)($l(Zt.children,et,Sn)))):Zt.sorter&&("sortOrder"in Zt?$t(Zt,Sn):et&&Zt.defaultSortOrder&&It.push({column:Zt,key:Xr(Zt,Sn),multiplePriority:du(Zt),sortOrder:Zt.defaultSortOrder}))}),It}function Pr(Ye,et,Bt,It,$t,Zt,mn,Sn){return(et||[]).map((dn,Tn)=>{const Gn=Lr(Tn,Sn);let kn=dn;if(kn.sorter){const fr=kn.sortDirections||$t,or=kn.showSorterTooltip===void 0?mn:kn.showSorterTooltip,ur=Xr(kn,Gn),Rr=Bt.find(ao=>{let{key:Yr}=ao;return Yr===ur}),Er=Rr?Rr.sortOrder:null,Or=Hc(fr,Er);let xr;if(dn.sortIcon)xr=dn.sortIcon({sortOrder:Er});else{const ao=fr.includes(tA)&&me.createElement(CA.Z,{className:ke()(`${Ye}-column-sorter-up`,{active:Er===tA})}),Yr=fr.includes(lc)&&me.createElement(Hu.Z,{className:ke()(`${Ye}-column-sorter-down`,{active:Er===lc})});xr=me.createElement("span",{className:ke()(`${Ye}-column-sorter`,{[`${Ye}-column-sorter-full`]:!!(ao&&Yr)})},me.createElement("span",{className:`${Ye}-column-sorter-inner`,"aria-hidden":"true"},ao,Yr))}const{cancelSort:Wr,triggerAsc:wa,triggerDesc:Ia}=Zt||{};let ua=Wr;Or===lc?ua=Ia:Or===tA&&(ua=wa);const Ha=typeof or=="object"?or:{title:ua};kn=Object.assign(Object.assign({},kn),{className:ke()(kn.className,{[`${Ye}-column-sort`]:Er}),title:ao=>{const Yr=me.createElement("div",{className:`${Ye}-column-sorters`},me.createElement("span",{className:`${Ye}-column-title`},mr(dn.title,ao)),xr);return or?me.createElement(Ol.Z,Object.assign({},Ha),Yr):Yr},onHeaderCell:ao=>{const Yr=dn.onHeaderCell&&dn.onHeaderCell(ao)||{},da=Yr.onClick,na=Yr.onKeyDown;Yr.onClick=Qa=>{It({column:dn,key:ur,sortOrder:Or,multiplePriority:du(dn)}),da==null||da(Qa)},Yr.onKeyDown=Qa=>{Qa.keyCode===Pn.Z.ENTER&&(It({column:dn,key:ur,sortOrder:Or,multiplePriority:du(dn)}),na==null||na(Qa))};const Gr=Fr(dn.title,{}),ia=Gr==null?void 0:Gr.toString();return Er?Yr["aria-sort"]=Er==="ascend"?"ascending":"descending":Yr["aria-label"]=ia||"",Yr.className=ke()(Yr.className,`${Ye}-column-has-sorters`),Yr.tabIndex=0,dn.ellipsis&&(Yr.title=(Gr!=null?Gr:"").toString()),Yr}})}return"children"in kn&&(kn=Object.assign(Object.assign({},kn),{children:Pr(Ye,kn.children,Bt,It,$t,Zt,mn,Gn)})),kn})}function La(Ye){const{column:et,sortOrder:Bt}=Ye;return{column:et,order:Bt,field:et.dataIndex,columnKey:et.key}}function sr(Ye){const et=Ye.filter(Bt=>{let{sortOrder:It}=Bt;return It}).map(La);return et.length===0&&Ye.length?Object.assign(Object.assign({},La(Ye[Ye.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function Ga(Ye,et,Bt){const It=et.slice().sort((mn,Sn)=>Sn.multiplePriority-mn.multiplePriority),$t=Ye.slice(),Zt=It.filter(mn=>{let{column:{sorter:Sn},sortOrder:dn}=mn;return gu(Sn)&&dn});return Zt.length?$t.sort((mn,Sn)=>{for(let dn=0;dn<Zt.length;dn+=1){const Tn=Zt[dn],{column:{sorter:Gn},sortOrder:kn}=Tn,fr=gu(Gn);if(fr&&kn){const or=fr(mn,Sn,kn);if(or!==0)return kn===tA?or:-or}}return 0}).map(mn=>{const Sn=mn[Bt];return Sn?Object.assign(Object.assign({},mn),{[Bt]:Ga(Sn,et,Bt)}):mn}):$t}function Co(Ye){let{prefixCls:et,mergedColumns:Bt,onSorterChange:It,sortDirections:$t,tableLocale:Zt,showSorterTooltip:mn}=Ye;const[Sn,dn]=me.useState($l(Bt,!0)),Tn=me.useMemo(()=>{let ur=!0;const Rr=$l(Bt,!1);if(!Rr.length)return Sn;const Er=[];function Or(Wr){ur?Er.push(Wr):Er.push(Object.assign(Object.assign({},Wr),{sortOrder:null}))}let xr=null;return Rr.forEach(Wr=>{xr===null?(Or(Wr),Wr.sortOrder&&(Wr.multiplePriority===!1?ur=!1:xr=!0)):(xr&&Wr.multiplePriority!==!1||(ur=!1),Or(Wr))}),Er},[Bt,Sn]),Gn=me.useMemo(()=>{const ur=Tn.map(Rr=>{let{column:Er,sortOrder:Or}=Rr;return{column:Er,order:Or}});return{sortColumns:ur,sortColumn:ur[0]&&ur[0].column,sortOrder:ur[0]&&ur[0].order}},[Tn]);function kn(ur){let Rr;ur.multiplePriority===!1||!Tn.length||Tn[0].multiplePriority===!1?Rr=[ur]:Rr=[].concat((0,qr.Z)(Tn.filter(Er=>{let{key:Or}=Er;return Or!==ur.key})),[ur]),dn(Rr),It(sr(Rr),Rr)}return[ur=>Pr(et,ur,Tn,kn,$t,Zt,mn),Tn,Gn,()=>sr(Tn)]}function dA(Ye,et){return Ye.map(Bt=>{const It=Object.assign({},Bt);return It.title=mr(Bt.title,et),"children"in It&&(It.children=dA(It.children,et)),It})}function Qs(Ye){return[me.useCallback(Bt=>dA(Bt,Ye),[Ye])]}var YA=za((Ye,et)=>{const{_renderTimes:Bt}=Ye,{_renderTimes:It}=et;return Bt!==It}),Zl=Ru((Ye,et)=>{const{_renderTimes:Bt}=Ye,{_renderTimes:It}=et;return Bt!==It}),il=we(64993),Ps=we(17313),Ai=we(83116),ml=we(37613),os=Ye=>{const{componentCls:et}=Ye,Bt=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=($t,Zt,mn)=>({[`&${et}-${$t}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Zt}px -${mn+Ye.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:Bt,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:Bt,borderTop:Bt,[`
> ${et}-content,
> ${et}-header,
> ${et}-body,
> ${et}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Bt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Bt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:Bt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Ye.tablePaddingVertical}px -${Ye.tablePaddingHorizontal+Ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ye.lineWidth,bottom:0,borderInlineEnd:Bt,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[`
> tr${et}-expanded-row,
> tr${et}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},It("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle)),It("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:Bt,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ye.lineWidth}px 0 ${Ye.lineWidth}px ${Ye.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:Bt}}}},Vi=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},Ps.vS),{wordBreak:"keep-all",[`
&${et}-cell-fix-left-last,
&${et}-cell-fix-right-first
`]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Wl=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ye.colorBgContainer}}}}},is=we(15969),MA=Ye=>{const{componentCls:et,antCls:Bt,controlInteractiveSize:It,motionDurationSlow:$t,lineWidth:Zt,paddingXS:mn,lineType:Sn,tableBorderColor:dn,tableExpandIconBg:Tn,tableExpandColumnWidth:Gn,borderRadius:kn,fontSize:fr,fontSizeSM:or,lineHeight:ur,tablePaddingVertical:Rr,tablePaddingHorizontal:Er,tableExpandedRowBg:Or,paddingXXS:xr}=Ye,Wr=It/2-Zt,wa=Wr*2+Zt*3,Ia=`${Zt}px ${Sn} ${dn}`,ua=xr-Zt;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:Gn},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,is.N)(Ye)),{position:"relative",float:"left",boxSizing:"border-box",width:wa,height:wa,padding:0,color:"inherit",lineHeight:`${wa}px`,background:Tn,border:Ia,borderRadius:kn,transform:`scale(${It/wa})`,transition:`all ${$t}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${$t} ease-out`,content:'""'},"&::before":{top:Wr,insetInlineEnd:ua,insetInlineStart:ua,height:Zt},"&::after":{top:ua,bottom:ua,insetInlineStart:Wr,width:Zt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(fr*ur-Zt*3)/2-Math.ceil((or*1.4-Zt*3)/2),marginInlineEnd:mn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Or}},[`${Bt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${Rr}px -${Er}px`,padding:`${Rr}px ${Er}px`}}}},ps=Ye=>{const{componentCls:et,antCls:Bt,iconCls:It,tableFilterDropdownWidth:$t,tableFilterDropdownSearchWidth:Zt,paddingXXS:mn,paddingXS:Sn,colorText:dn,lineWidth:Tn,lineType:Gn,tableBorderColor:kn,tableHeaderIconColor:fr,fontSizeSM:or,tablePaddingHorizontal:ur,borderRadius:Rr,motionDurationSlow:Er,colorTextDescription:Or,colorPrimary:xr,tableHeaderFilterActiveBg:Wr,colorTextDisabled:wa,tableFilterDropdownBg:Ia,tableFilterDropdownHeight:ua,controlItemBgHover:Ha,controlItemBgActive:ao,boxShadowSecondary:Yr,filterDropdownMenuBg:da}=Ye,na=`${Bt}-dropdown`,Gr=`${et}-filter-dropdown`,ia=`${Bt}-tree`,Qa=`${Tn}px ${Gn} ${kn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-mn,marginInline:`${mn}px ${-ur/2}px`,padding:`0 ${mn}px`,color:fr,fontSize:or,borderRadius:Rr,cursor:"pointer",transition:`all ${Er}`,"&:hover":{color:Or,background:Wr},"&.active":{color:xr}}}},{[`${Bt}-dropdown`]:{[Gr]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{minWidth:$t,backgroundColor:Ia,borderRadius:Rr,boxShadow:Yr,overflow:"hidden",[`${na}-menu`]:{maxHeight:ua,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:da,"&:empty::after":{display:"block",padding:`${Sn}px 0`,color:wa,fontSize:or,textAlign:"center",content:'"Not Found"'}},[`${Gr}-tree`]:{paddingBlock:`${Sn}px 0`,paddingInline:Sn,[ia]:{padding:0},[`${ia}-treenode ${ia}-node-content-wrapper:hover`]:{backgroundColor:Ha},[`${ia}-treenode-checkbox-checked ${ia}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ao}}},[`${Gr}-search`]:{padding:Sn,borderBottom:Qa,"&-input":{input:{minWidth:Zt},[It]:{color:wa}}},[`${Gr}-checkall`]:{width:"100%",marginBottom:mn,marginInlineStart:mn},[`${Gr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Sn-Tn}px ${Sn}px`,overflow:"hidden",borderTop:Qa}})}},{[`${Bt}-dropdown ${Gr}, ${Gr}-submenu`]:{[`${Bt}-checkbox-wrapper + span`]:{paddingInlineStart:Sn,color:dn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ql=Ye=>{const{componentCls:et,lineWidth:Bt,colorSplit:It,motionDurationSlow:$t,zIndexTableFixed:Zt,tableBg:mn,zIndexTableSticky:Sn}=Ye,dn=It;return{[`${et}-wrapper`]:{[`
${et}-cell-fix-left,
${et}-cell-fix-right
`]:{position:"sticky !important",zIndex:Zt,background:mn},[`
${et}-cell-fix-left-first::after,
${et}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Bt,width:30,transform:"translateX(100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[`
${et}-cell-fix-right-first::after,
${et}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Bt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Sn+1,width:30,transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${dn}`}},[`
${et}-cell-fix-left-first::after,
${et}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${dn}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${dn}`}},[`
${et}-cell-fix-right-first::after,
${et}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${dn}`}}}}},OA=Ye=>{const{componentCls:et,antCls:Bt}=Ye;return{[`${et}-wrapper`]:{[`${et}-pagination${Bt}-pagination`]:{margin:`${Ye.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},cc=Ye=>{const{componentCls:et,tableRadius:Bt}=Ye;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${Bt}px ${Bt}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Bt,borderStartEndRadius:Bt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Bt},"> *:last-child":{borderStartEndRadius:Bt}}},"&-footer":{borderRadius:`0 0 ${Bt}px ${Bt}px`}}}}},eh=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},vf=Ye=>{const{componentCls:et,antCls:Bt,iconCls:It,fontSizeIcon:$t,padding:Zt,paddingXS:mn,tableHeaderIconColor:Sn,tableHeaderIconColorHover:dn,tableSelectionColumnWidth:Tn}=Ye;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Tn,[`&${et}-selection-col-with-dropdown`]:{width:Tn+$t+Zt/4}},[`${et}-bordered ${et}-selection-col`]:{width:Tn+mn*2,[`&${et}-selection-col-with-dropdown`]:{width:Tn+$t+Zt/4+mn*2}},[`
table tr th${et}-selection-column,
table tr td${et}-selection-column
`]:{paddingInlineEnd:Ye.paddingXS,paddingInlineStart:Ye.paddingXS,textAlign:"center",[`${Bt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Ye.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ye.tablePaddingHorizontal/4}px`,[It]:{color:Sn,fontSize:$t,verticalAlign:"baseline","&:hover":{color:dn}}}}}},$d=Ye=>{const{componentCls:et}=Ye,Bt=(It,$t,Zt,mn)=>({[`${et}${et}-${It}`]:{fontSize:mn,[`
${et}-title,
${et}-footer,
${et}-cell,
${et}-thead > tr > th,
${et}-tbody > tr > th,
${et}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${$t}px ${Zt}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${Zt/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${$t}px -${Zt}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${$t}px`,marginInline:`${Ye.tableExpandColumnWidth-Zt}px -${Zt}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${Zt/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},Bt("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle,Ye.tableFontSizeMiddle)),Bt("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall,Ye.tableFontSizeSmall))}},zu=Ye=>{const{componentCls:et,marginXXS:Bt,fontSizeIcon:It,tableHeaderIconColor:$t,tableHeaderIconColorHover:Zt}=Ye;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,"&:hover":{background:Ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ye.colorPrimary},[`
&${et}-cell-fix-left:hover,
&${et}-cell-fix-right:hover
`]:{background:Ye.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Ye.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:Bt,color:$t,fontSize:0,transition:`color ${Ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:It,"&.active":{color:Ye.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:Zt}}}},pl=Ye=>{const{componentCls:et,opacityLoading:Bt,tableScrollThumbBg:It,tableScrollThumbBgHover:$t,tableScrollThumbSize:Zt,tableScrollBg:mn,zIndexTableSticky:Sn,stickyScrollBarBorderRadius:dn}=Ye,Tn=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:Sn,background:Ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Zt}px !important`,zIndex:Sn,display:"flex",alignItems:"center",background:mn,borderTop:Tn,opacity:Bt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Zt,backgroundColor:It,borderRadius:dn,transition:`all ${Ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$t}}}}}}},zc=Ye=>{const{componentCls:et,lineWidth:Bt,tableBorderColor:It}=Ye,$t=`${Bt}px ${Ye.lineType} ${It}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Ye.zIndexTableFixed,background:Ye.tableBg,"> tr":{"> th, > td":{borderBottom:$t}}},[`div${et}-summary`]:{boxShadow:`0 -${Bt}px 0 ${It}`}}}},Bf=Ye=>{const{componentCls:et}=Ye,Bt=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:Bt},[`${et}-expanded-row`]:{[`${It}${It}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Bt,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:Bt,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ye.lineWidth,borderInlineStart:Bt}}}}}}};const Gc=Ye=>{const{componentCls:et,fontWeightStrong:Bt,tablePaddingVertical:It,tablePaddingHorizontal:$t,lineWidth:Zt,lineType:mn,tableBorderColor:Sn,tableFontSize:dn,tableBg:Tn,tableRadius:Gn,tableHeaderTextColor:kn,motionDurationMid:fr,tableHeaderBg:or,tableHeaderCellSplitColor:ur,tableRowHoverBg:Rr,tableSelectedRowBg:Er,tableSelectedRowHoverBg:Or,tableFooterTextColor:xr,tableFooterBg:Wr,paddingContentVerticalLG:wa}=Ye,Ia=`${Zt}px ${mn} ${Sn}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ps.dF)()),{[et]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{fontSize:dn,background:Tn,borderRadius:`${Gn}px ${Gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Gn}px ${Gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${et}-cell,
${et}-thead > tr > th,
${et}-tbody > tr > th,
${et}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${wa}px ${$t}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${It}px ${$t}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:kn,fontWeight:Bt,textAlign:"start",background:or,borderBottom:Ia,transition:`background ${fr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ur,transform:"translateY(-50%)",transition:`background-color ${fr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${fr}, border-color ${fr}`,borderBottom:Ia,[`
> ${et}-wrapper:only-child,
> ${et}-expanded-row-fixed > ${et}-wrapper:only-child
`]:{[et]:{marginBlock:`-${It}px`,marginInline:`${Ye.tableExpandColumnWidth-$t}px -${$t}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:kn,fontWeight:Bt,textAlign:"start",background:or,borderBottom:Ia,transition:`background ${fr} ease`},[`
&${et}-row:hover > th,
&${et}-row:hover > td,
> th${et}-cell-row-hover,
> td${et}-cell-row-hover
`]:{background:Rr},[`&${et}-row-selected`]:{"> th, > td":{background:Er},"&:hover > th, &:hover > td":{background:Or}}}},[`${et}-footer`]:{padding:`${It}px ${$t}px`,color:xr,background:Wr}})}};var hd=(0,Ai.Z)("Table",Ye=>{const{colorTextHeading:et,colorSplit:Bt,colorIcon:It,colorIconHover:$t,opacityLoading:Zt,colorBgContainer:mn,controlInteractiveSize:Sn,headerBg:dn,headerColor:Tn,headerSortActiveBg:Gn,headerSortHoverBg:kn,bodySortBg:fr,rowHoverBg:or,rowSelectedBg:ur,rowSelectedHoverBg:Rr,rowExpandedBg:Er,cellPaddingBlock:Or,cellPaddingInline:xr,cellPaddingBlockMD:Wr,cellPaddingInlineMD:wa,cellPaddingBlockSM:Ia,cellPaddingInlineSM:ua,borderColor:Ha,footerBg:ao,footerColor:Yr,headerBorderRadius:da,cellFontSize:na,cellFontSizeMD:Gr,cellFontSizeSM:ia,headerSplitColor:Qa,fixedHeaderSortActiveBg:Bo,headerFilterHoverBg:no,filterDropdownBg:Da,expandIconBg:lo,selectionColumnWidth:Do,stickyScrollBarBg:Fi}=Ye,Zo=new il.C(It),Mi=new il.C($t),nA=2,io=(0,ml.TS)(Ye,{tableFontSize:na,tableBg:mn,tableRadius:da,tablePaddingVertical:Or,tablePaddingHorizontal:xr,tablePaddingVerticalMiddle:Wr,tablePaddingHorizontalMiddle:wa,tablePaddingVerticalSmall:Ia,tablePaddingHorizontalSmall:ua,tableBorderColor:Ha,tableHeaderTextColor:Tn,tableHeaderBg:dn,tableFooterTextColor:Yr,tableFooterBg:ao,tableHeaderCellSplitColor:Qa,tableHeaderSortBg:Gn,tableHeaderSortHoverBg:kn,tableHeaderIconColor:Zo.clone().setAlpha(Zo.getAlpha()*Zt).toRgbString(),tableHeaderIconColorHover:Mi.clone().setAlpha(Mi.getAlpha()*Zt).toRgbString(),tableBodySortBg:fr,tableFixedHeaderSortActiveBg:Bo,tableHeaderFilterActiveBg:no,tableFilterDropdownBg:Da,tableRowHoverBg:or,tableSelectedRowBg:ur,tableSelectedRowHoverBg:Rr,zIndexTableFixed:nA,zIndexTableSticky:nA+1,tableFontSizeMiddle:Gr,tableFontSizeSmall:ia,tableSelectionColumnWidth:Do,tableExpandIconBg:lo,tableExpandColumnWidth:Sn+2*Ye.padding,tableExpandedRowBg:Er,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Fi,tableScrollThumbBgHover:et,tableScrollBg:Bt});return[Gc(io),OA(io),zc(io),zu(io),ps(io),os(io),cc(io),MA(io),zc(io),Wl(io),vf(io),Ql(io),pl(io),Vi(io),$d(io),eh(io),Bf(io)]},Ye=>{const{colorFillAlter:et,colorBgContainer:Bt,colorTextHeading:It,colorFillSecondary:$t,colorFillContent:Zt,controlItemBgActive:mn,controlItemBgActiveHover:Sn,padding:dn,paddingSM:Tn,paddingXS:Gn,colorBorderSecondary:kn,borderRadiusLG:fr,fontSize:or,controlHeight:ur,colorTextPlaceholder:Rr}=Ye,Er=new il.C($t).onBackground(Bt).toHexShortString(),Or=new il.C(Zt).onBackground(Bt).toHexShortString(),xr=new il.C(et).onBackground(Bt).toHexShortString();return{headerBg:xr,headerColor:It,headerSortActiveBg:Er,headerSortHoverBg:Or,bodySortBg:xr,rowHoverBg:xr,rowSelectedBg:mn,rowSelectedHoverBg:Sn,rowExpandedBg:et,cellPaddingBlock:dn,cellPaddingInline:dn,cellPaddingBlockMD:Tn,cellPaddingInlineMD:Gn,cellPaddingBlockSM:Gn,cellPaddingInlineSM:Gn,borderColor:kn,headerBorderRadius:fr,footerBg:xr,footerColor:It,cellFontSize:or,cellFontSizeMD:or,cellFontSizeSM:or,headerSplitColor:kn,fixedHeaderSortActiveBg:Er,headerFilterHoverBg:Zt,filterDropdownMenuBg:Bt,filterDropdownBg:Bt,expandIconBg:Bt,selectionColumnWidth:ur,stickyScrollBarBg:Rr,stickyScrollBarBorderRadius:100}});const Eg=[],$c=(Ye,et)=>{const{prefixCls:Bt,className:It,rootClassName:$t,style:Zt,size:mn,bordered:Sn,dropdownPrefixCls:dn,dataSource:Tn,pagination:Gn,rowSelection:kn,rowKey:fr="key",rowClassName:or,columns:ur,children:Rr,childrenColumnName:Er,onChange:Or,getPopupContainer:xr,loading:Wr,expandIcon:wa,expandable:Ia,expandedRowRender:ua,expandIconColumnIndex:Ha,indentSize:ao,scroll:Yr,sortDirections:da,locale:na,showSorterTooltip:Gr=!0,virtual:ia}=Ye,Qa=me.useMemo(()=>ur||vn(Rr),[ur,Rr]),Bo=me.useMemo(()=>Qa.some(Mo=>Mo.responsive),[Qa]),no=(0,uu.Z)(Bo),Da=me.useMemo(()=>{const Mo=new Set(Object.keys(no).filter(Ni=>no[Ni]));return Qa.filter(Ni=>!Ni.responsive||Ni.responsive.some(ss=>Mo.has(ss)))},[Qa,no]),lo=(0,ic.Z)(Ye,["className","style","columns"]),{locale:Do=jc.Z,direction:Fi,table:Zo,renderEmpty:Mi,getPrefixCls:nA,getPopupContainer:io}=me.useContext(bA.E_),EA=(0,Rc.Z)(mn),ei=Object.assign(Object.assign({},Do.Table),na),xi=Tn||Eg,Ui=nA("table",Bt),Gs=nA("dropdown",dn),aa=Object.assign({childrenColumnName:Er,expandIconColumnIndex:Ha},Ia),{childrenColumnName:Ra="children"}=aa,Ta=me.useMemo(()=>xi.some(Mo=>Mo==null?void 0:Mo[Ra])?"nest":ua||Ia&&Ia.expandedRowRender?"row":null,[xi]),va={body:me.useRef()},ti=me.useMemo(()=>typeof fr=="function"?fr:Mo=>Mo==null?void 0:Mo[fr],[fr]),[Sa]=NA(xi,Ra,ti),Ja={},ko=function(Mo,Ni){let ss=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var $i,ls,Bs;const aA=Object.assign(Object.assign({},Ja),Mo);ss&&(($i=Ja.resetPagination)===null||$i===void 0||$i.call(Ja),!((ls=aA.pagination)===null||ls===void 0)&&ls.current&&(aA.pagination.current=1),Gn&&Gn.onChange&&Gn.onChange(1,(Bs=aA.pagination)===null||Bs===void 0?void 0:Bs.pageSize)),Yr&&Yr.scrollToFirstRowOnChange!==!1&&va.body.current&&(0,zl.Z)(0,{getContainer:()=>va.body.current}),Or==null||Or(aA.pagination,aA.filters,aA.sorter,{currentDataSource:Gd(Ga(xi,aA.sorterStates,Ra),aA.filterStates),action:Ni})},jo=(Mo,Ni)=>{ko({sorter:Mo,sorterStates:Ni},"sort",!1)},[Es,SA,kl,BA]=Co({prefixCls:Ui,mergedColumns:Da,onSorterChange:jo,sortDirections:da||["ascend","descend"],tableLocale:ei,showSorterTooltip:Gr}),Al=me.useMemo(()=>Ga(xi,SA,Ra),[xi,SA]);Ja.sorter=BA(),Ja.sorterStates=SA;const Kr=(Mo,Ni)=>{ko({filters:Mo,filterStates:Ni},"filter",!0)},[Ts,gc,ni]=Ac({prefixCls:Ui,locale:ei,dropdownPrefixCls:Gs,mergedColumns:Da,onFilterChange:Kr,getPopupContainer:xr||io}),Oo=Gd(Al,gc);Ja.filters=ni,Ja.filterStates=gc;const Xi=me.useMemo(()=>{const Mo={};return Object.keys(ni).forEach(Ni=>{ni[Ni]!==null&&(Mo[Ni]=ni[Ni])}),Object.assign(Object.assign({},kl),{filters:Mo})},[kl,ni]),[QA]=Qs(Xi),ki=(Mo,Ni)=>{ko({pagination:Object.assign(Object.assign({},Ja.pagination),{current:Mo,pageSize:Ni})},"paginate")},[yo,Fs]=sc(Oo.length,ki,Gn);Ja.pagination=Gn===!1?{}:qo(yo,Gn),Ja.resetPagination=Fs;const Ss=me.useMemo(()=>{if(Gn===!1||!yo.pageSize)return Oo;const{current:Mo=1,total:Ni,pageSize:ss=Ul}=yo;return Oo.length<Ni?Oo.length>ss?Oo.slice((Mo-1)*ss,Mo*ss):Oo:Oo.slice((Mo-1)*ss,Mo*ss)},[!!Gn,Oo,yo&&yo.current,yo&&yo.pageSize,yo&&yo.total]),[$s,ks]=XA({prefixCls:Ui,data:Oo,pageData:Ss,getRowKey:ti,getRecordByKey:Sa,expandType:Ta,childrenColumnName:Ra,locale:ei,getPopupContainer:xr||io},kn),Rs=(Mo,Ni,ss)=>{let $i;return typeof or=="function"?$i=ke()(or(Mo,Ni,ss)):$i=ke()(or),ke()({[`${Ui}-row-selected`]:ks.has(ti(Mo,Ni))},$i)};aa.__PARENT_RENDER_ICON__=aa.expandIcon,aa.expandIcon=aa.expandIcon||wa||Ar(ei),Ta==="nest"&&aa.expandIconColumnIndex===void 0?aa.expandIconColumnIndex=kn?1:0:aa.expandIconColumnIndex>0&&kn&&(aa.expandIconColumnIndex-=1),typeof aa.indentSize!="number"&&(aa.indentSize=typeof ao=="number"?ao:15);const vl=me.useCallback(Mo=>QA($s(Ts(Es(Mo)))),[Es,Ts,$s]);let bu,Sl;if(Gn!==!1&&(yo!=null&&yo.total)){let Mo;yo.size?Mo=yo.size:Mo=EA==="small"||EA==="middle"?"small":void 0;const Ni=ls=>me.createElement(wn.Z,Object.assign({},yo,{className:ke()(`${Ui}-pagination ${Ui}-pagination-${ls}`,yo.className),size:Mo})),ss=Fi==="rtl"?"left":"right",{position:$i}=yo;if($i!==null&&Array.isArray($i)){const ls=$i.find(Jl=>Jl.includes("top")),Bs=$i.find(Jl=>Jl.includes("bottom")),aA=$i.every(Jl=>`${Jl}`=="none");!ls&&!Bs&&!aA&&(Sl=Ni(ss)),ls&&(bu=Ni(ls.toLowerCase().replace("top",""))),Bs&&(Sl=Ni(Bs.toLowerCase().replace("bottom","")))}else Sl=Ni(ss)}let rA;typeof Wr=="boolean"?rA={spinning:Wr}:typeof Wr=="object"&&(rA=Object.assign({spinning:!0},Wr));const[As,FA]=hd(Ui),[,Yi]=(0,tn.Z)(),Xl=ke()(`${Ui}-wrapper`,Zo==null?void 0:Zo.className,{[`${Ui}-wrapper-rtl`]:Fi==="rtl"},It,$t,FA),fu=Object.assign(Object.assign({},Zo==null?void 0:Zo.style),Zt),Cu=na&&na.emptyText||(Mi==null?void 0:Mi("Table"))||me.createElement(ZA.Z,{componentName:"Table"}),Yl=ia?Zl:YA,pd={},Zd=me.useMemo(()=>{const{fontSize:Mo,lineHeight:Ni,padding:ss,paddingXS:$i,paddingSM:ls}=Yi,Bs=Math.floor(Mo*Ni);switch(EA){case"large":return ss*2+Bs;case"small":return $i*2+Bs;default:return ls*2+Bs}},[Yi,EA]);return ia&&(pd.listItemHeight=Zd),As(me.createElement("div",{ref:et,className:Xl,style:fu},me.createElement(Dt.Z,Object.assign({spinning:!1},rA),bu,me.createElement(Yl,Object.assign({},pd,lo,{columns:Da,direction:Fi,expandable:aa,prefixCls:Ui,className:ke()({[`${Ui}-middle`]:EA==="middle",[`${Ui}-small`]:EA==="small",[`${Ui}-bordered`]:Sn,[`${Ui}-empty`]:xi.length===0}),data:Ss,rowKey:ti,rowClassName:Rs,emptyText:Cu,internalHooks:be,internalRefs:va,transformColumns:vl})),Sl)))};var th=me.forwardRef($c);const nh=(Ye,et)=>{const Bt=me.useRef(0);return Bt.current+=1,me.createElement(th,Object.assign({},Ye,{ref:et,_renderTimes:Bt.current}))},vs=me.forwardRef(nh);vs.SELECTION_COLUMN=Ci,vs.EXPAND_COLUMN=Oe,vs.SELECTION_ALL=Cs,vs.SELECTION_INVERT=DA,vs.SELECTION_NONE=uA,vs.Column=lu,vs.ColumnGroup=UA,vs.Summary=Me;var md=vs,rh=md},17574:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return pt}});var Oe=we(60091),be=we(94480),ze=we(52671),at=we(8657),Ge=we(54476),je=we(59301),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Se=me,Le=we(7657),de=function(ft,an){return je.createElement(Le.Z,(0,Ge.Z)({},ft,{ref:an,icon:Se}))},Ie=je.forwardRef(de),Fe=Ie,Ce=we(92310),ie=we.n(Ce),y=we(35654),a=we(71430),ee=we(36355),E=we(56082),te=we(62892),ne=we(20648);const oe=4;function he(st){const{dropPosition:ft,dropLevelOffset:an,prefixCls:fn,indent:Et,direction:qt="ltr"}=st,Ln=qt==="ltr"?"left":"right",Hn=qt==="ltr"?"right":"left",un={[Ln]:-an*Et+oe,[Hn]:0};switch(ft){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Ln]=Et+oe;break}return je.createElement("div",{style:un,className:`${fn}-drop-indicator`})}var _e=we(71997),Qe=je.forwardRef((st,ft)=>{const{getPrefixCls:an,direction:fn,virtual:Et,tree:qt}=je.useContext(ee.E_),{prefixCls:Ln,className:Hn,showIcon:un=!1,showLine:Vn,switcherIcon:yt,blockNode:Kn=!1,children:er,checkable:Re=!1,selectable:Kt=!0,draggable:Te,motion:pe,style:ce}=st,ye=an("tree",Ln),qe=an(),gt=pe!=null?pe:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},st),{checkable:Re,selectable:Kt,showIcon:un,motion:gt,blockNode:Kn,showLine:!!Vn,dropIndicatorRender:he}),[Xe,Pt]=(0,ne.ZP)(ye),ct=je.useMemo(()=>{if(!Te)return!1;let kt={};switch(typeof Te){case"function":kt.nodeDraggable=Te;break;case"object":kt=Object.assign({},Te);break;default:break}return kt.icon!==!1&&(kt.icon=kt.icon||je.createElement(E.Z,null)),kt},[Te]),ot=kt=>je.createElement(_e.Z,{prefixCls:ye,switcherIcon:yt,treeNodeProps:kt,showLine:Vn});return Xe(je.createElement(Oe.Z,Object.assign({itemHeight:20,ref:ft,virtual:Et},Me,{style:Object.assign(Object.assign({},qt==null?void 0:qt.style),ce),prefixCls:ye,className:ie()({[`${ye}-icon-hide`]:!un,[`${ye}-block-node`]:Kn,[`${ye}-unselectable`]:!Kt,[`${ye}-rtl`]:fn==="rtl"},qt==null?void 0:qt.className,Hn,Pt),direction:fn,checkable:Re&&je.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:Kt,switcherIcon:ot,draggable:ct}),er))}),Ze;(function(st){st[st.None=0]="None",st[st.Start=1]="Start",st[st.End=2]="End"})(Ze||(Ze={}));function Ve(st,ft){function an(fn){const{key:Et,children:qt}=fn;ft(Et,fn)!==!1&&Ve(qt||[],ft)}st.forEach(an)}function nt(st){let{treeData:ft,expandedKeys:an,startKey:fn,endKey:Et}=st;const qt=[];let Ln=Ze.None;if(fn&&fn===Et)return[fn];if(!fn||!Et)return[];function Hn(un){return un===fn||un===Et}return Ve(ft,un=>{if(Ln===Ze.End)return!1;if(Hn(un)){if(qt.push(un),Ln===Ze.None)Ln=Ze.Start;else if(Ln===Ze.Start)return Ln=Ze.End,!1}else Ln===Ze.Start&&qt.push(un);return an.includes(un)}),qt}function De(st,ft){const an=(0,be.Z)(ft),fn=[];return Ve(st,(Et,qt)=>{const Ln=an.indexOf(Et);return Ln!==-1&&(fn.push(qt),an.splice(Ln,1)),!!an.length}),fn}var St=function(st,ft){var an={};for(var fn in st)Object.prototype.hasOwnProperty.call(st,fn)&&ft.indexOf(fn)<0&&(an[fn]=st[fn]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,fn=Object.getOwnPropertySymbols(st);Et<fn.length;Et++)ft.indexOf(fn[Et])<0&&Object.prototype.propertyIsEnumerable.call(st,fn[Et])&&(an[fn[Et]]=st[fn[Et]]);return an};function ke(st){const{isLeaf:ft,expanded:an}=st;return ft?je.createElement(ze.Z,null):an?je.createElement(at.Z,null):je.createElement(Fe,null)}function Ot(st){let{treeData:ft,children:an}=st;return ft||(0,a.zn)(an)}const it=(st,ft)=>{var{defaultExpandAll:an,defaultExpandParent:fn,defaultExpandedKeys:Et}=st,qt=St(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ln=je.useRef(),Hn=je.useRef(),un=()=>{const{keyEntities:ct}=(0,a.I8)(Ot(qt));let ot;return an?ot=Object.keys(ct):fn?ot=(0,y.r7)(qt.expandedKeys||Et||[],ct):ot=qt.expandedKeys||Et,ot},[Vn,yt]=je.useState(qt.selectedKeys||qt.defaultSelectedKeys||[]),[Kn,er]=je.useState(()=>un());je.useEffect(()=>{"selectedKeys"in qt&&yt(qt.selectedKeys)},[qt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in qt&&er(qt.expandedKeys)},[qt.expandedKeys]);const Re=(ct,ot)=>{var kt;return"expandedKeys"in qt||er(ct),(kt=qt.onExpand)===null||kt===void 0?void 0:kt.call(qt,ct,ot)},Kt=(ct,ot)=>{var kt;const{multiple:_n}=qt,{node:_t,nativeEvent:rn}=ot,{key:Nt=""}=_t,yn=Ot(qt),Yt=Object.assign(Object.assign({},ot),{selected:!0}),Jn=(rn==null?void 0:rn.ctrlKey)||(rn==null?void 0:rn.metaKey),hr=rn==null?void 0:rn.shiftKey;let tr;_n&&Jn?(tr=ct,Ln.current=Nt,Hn.current=tr,Yt.selectedNodes=De(yn,tr)):_n&&hr?(tr=Array.from(new Set([].concat((0,be.Z)(Hn.current||[]),(0,be.Z)(nt({treeData:yn,expandedKeys:Kn,startKey:Nt,endKey:Ln.current}))))),Yt.selectedNodes=De(yn,tr)):(tr=[Nt],Ln.current=Nt,Hn.current=tr,Yt.selectedNodes=De(yn,tr)),(kt=qt.onSelect)===null||kt===void 0||kt.call(qt,tr,Yt),"selectedKeys"in qt||yt(tr)},{getPrefixCls:Te,direction:pe}=je.useContext(ee.E_),{prefixCls:ce,className:ye,showIcon:qe=!0,expandAction:gt="click"}=qt,Me=St(qt,["prefixCls","className","showIcon","expandAction"]),Xe=Te("tree",ce),Pt=ie()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:pe==="rtl"},ye);return je.createElement(Qe,Object.assign({icon:ke,ref:ft,blockNode:!0},Me,{showIcon:qe,expandAction:gt,prefixCls:Xe,className:Pt,expandedKeys:Kn,selectedKeys:Vn,onSelect:Kt,onExpand:Re}))};var wt=je.forwardRef(it);const dt=Qe;dt.DirectoryTree=wt,dt.TreeNode=Oe.O;var pt=dt},20648:function(on,Ut,we){"use strict";we.d(Ut,{TM:function(){return Ce},Yk:function(){return Fe}});var Oe=we(36237),be=we(98447),ze=we(17313),at=we(8378),Ge=we(37613),je=we(83116);const me=new Oe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Le=(ie,y)=>({[`.${ie}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),de=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:oe}=y,he=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,ze.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,ze.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:me,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,ze.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Se(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:he},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:te,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:oe},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},Le(ie,y)),[`${ee}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ee}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${te/2}px !important`}}}}})}},Ie=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:E,directoryNodeSelectedColor:te}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ee,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},Fe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,E=y.paddingXS/2,te=(0,Ge.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[de(ie,te),Ie(te)]},Ce=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Ut.ZP=(0,je.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,be.C2)(`${a}-checkbox`,ie)},Fe(a,ie),(0,at.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ce(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ee}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},at=ze,Ge=we(7657),je=function(te,ne){return be.createElement(Ge.Z,(0,Oe.Z)({},te,{ref:ne,icon:at}))},me=be.forwardRef(je),Se=me,Le=we(52671),de=we(58617),Ie=we(15075),Fe=we(43531),Ce=we(92310),ie=we.n(Ce),y=we(92343),ee=E=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:oe,showLine:he}=E,{isLeaf:_e,expanded:Pe,loading:Qe}=oe;if(Qe)return be.createElement(de.Z,{className:`${te}-switcher-loading-icon`});let Ze;if(he&&typeof he=="object"&&(Ze=he.showLeafIcon),_e){if(!he)return null;if(typeof Ze!="boolean"&&Ze){const De=typeof Ze=="function"?Ze(oe):Ze,St=`${te}-switcher-line-custom-icon`;return(0,y.l$)(De)?(0,y.Tm)(De,{className:ie()(De.props.className||"",St)}):De}return Ze?be.createElement(Le.Z,{className:`${te}-switcher-line-icon`}):be.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ve=`${te}-switcher-icon`,nt=typeof ne=="function"?ne(oe):ne;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:ie()(nt.props.className||"",Ve)}):nt!==void 0?nt:he?Pe?be.createElement(Ie.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Fe.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Se,{className:Ve})}},86251:function(on,Ut){"use strict";Ut.byteLength=me,Ut.toByteArray=Le,Ut.fromByteArray=Fe;for(var we=[],Oe=[],be=typeof Uint8Array!="undefined"?Uint8Array:Array,ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",at=0,Ge=ze.length;at<Ge;++at)we[at]=ze[at],Oe[ze.charCodeAt(at)]=at;Oe[45]=62,Oe[95]=63;function je(Ce){var ie=Ce.length;if(ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ce.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function me(Ce){var ie=je(Ce),y=ie[0],a=ie[1];return(y+a)*3/4-a}function Se(Ce,ie,y){return(ie+y)*3/4-y}function Le(Ce){var ie,y=je(Ce),a=y[0],ee=y[1],E=new be(Se(Ce,a,ee)),te=0,ne=ee>0?a-4:a,oe;for(oe=0;oe<ne;oe+=4)ie=Oe[Ce.charCodeAt(oe)]<<18|Oe[Ce.charCodeAt(oe+1)]<<12|Oe[Ce.charCodeAt(oe+2)]<<6|Oe[Ce.charCodeAt(oe+3)],E[te++]=ie>>16&255,E[te++]=ie>>8&255,E[te++]=ie&255;return ee===2&&(ie=Oe[Ce.charCodeAt(oe)]<<2|Oe[Ce.charCodeAt(oe+1)]>>4,E[te++]=ie&255),ee===1&&(ie=Oe[Ce.charCodeAt(oe)]<<10|Oe[Ce.charCodeAt(oe+1)]<<4|Oe[Ce.charCodeAt(oe+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function de(Ce){return we[Ce>>18&63]+we[Ce>>12&63]+we[Ce>>6&63]+we[Ce&63]}function Ie(Ce,ie,y){for(var a,ee=[],E=ie;E<y;E+=3)a=(Ce[E]<<16&16711680)+(Ce[E+1]<<8&65280)+(Ce[E+2]&255),ee.push(de(a));return ee.join("")}function Fe(Ce){for(var ie,y=Ce.length,a=y%3,ee=[],E=16383,te=0,ne=y-a;te<ne;te+=E)ee.push(Ie(Ce,te,te+E>ne?ne:te+E));return a===1?(ie=Ce[y-1],ee.push(we[ie>>2]+we[ie<<4&63]+"==")):a===2&&(ie=(Ce[y-2]<<8)+Ce[y-1],ee.push(we[ie>>10]+we[ie>>4&63]+we[ie<<2&63]+"=")),ee.join("")}},19208:function(on,Ut,we){"use strict";var Oe;var be=we(86251),ze=we(67467),at=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=Se,Oe=te,Ut.h2=50;var Ge=2147483647;Oe=Ge,Se.TYPED_ARRAY_SUPPORT=je(),!Se.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function je(){try{var Te=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Te,pe),Te.foo()===42}catch(ce){return!1}}Object.defineProperty(Se.prototype,"parent",{enumerable:!0,get:function(){if(Se.isBuffer(this))return this.buffer}}),Object.defineProperty(Se.prototype,"offset",{enumerable:!0,get:function(){if(Se.isBuffer(this))return this.byteOffset}});function me(Te){if(Te>Ge)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var pe=new Uint8Array(Te);return Object.setPrototypeOf(pe,Se.prototype),pe}function Se(Te,pe,ce){if(typeof Te=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Fe(Te)}return Le(Te,pe,ce)}Se.poolSize=8192;function Le(Te,pe,ce){if(typeof Te=="string")return Ce(Te,pe);if(ArrayBuffer.isView(Te))return y(Te);if(Te==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(er(Te,ArrayBuffer)||Te&&er(Te.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(er(Te,SharedArrayBuffer)||Te&&er(Te.buffer,SharedArrayBuffer)))return a(Te,pe,ce);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Te.valueOf&&Te.valueOf();if(ye!=null&&ye!==Te)return Se.from(ye,pe,ce);var qe=ee(Te);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return Se.from(Te[Symbol.toPrimitive]("string"),pe,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}Se.from=function(Te,pe,ce){return Le(Te,pe,ce)},Object.setPrototypeOf(Se.prototype,Uint8Array.prototype),Object.setPrototypeOf(Se,Uint8Array);function de(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function Ie(Te,pe,ce){return de(Te),Te<=0?me(Te):pe!==void 0?typeof ce=="string"?me(Te).fill(pe,ce):me(Te).fill(pe):me(Te)}Se.alloc=function(Te,pe,ce){return Ie(Te,pe,ce)};function Fe(Te){return de(Te),me(Te<0?0:E(Te)|0)}Se.allocUnsafe=function(Te){return Fe(Te)},Se.allocUnsafeSlow=function(Te){return Fe(Te)};function Ce(Te,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!Se.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);var ce=ne(Te,pe)|0,ye=me(ce),qe=ye.write(Te,pe);return qe!==ce&&(ye=ye.slice(0,qe)),ye}function ie(Te){for(var pe=Te.length<0?0:E(Te.length)|0,ce=me(pe),ye=0;ye<pe;ye+=1)ce[ye]=Te[ye]&255;return ce}function y(Te){if(er(Te,Uint8Array)){var pe=new Uint8Array(Te);return a(pe.buffer,pe.byteOffset,pe.byteLength)}return ie(Te)}function a(Te,pe,ce){if(pe<0||Te.byteLength<pe)throw new RangeError('"offset" is outside of buffer bounds');if(Te.byteLength<pe+(ce||0))throw new RangeError('"length" is outside of buffer bounds');var ye;return pe===void 0&&ce===void 0?ye=new Uint8Array(Te):ce===void 0?ye=new Uint8Array(Te,pe):ye=new Uint8Array(Te,pe,ce),Object.setPrototypeOf(ye,Se.prototype),ye}function ee(Te){if(Se.isBuffer(Te)){var pe=E(Te.length)|0,ce=me(pe);return ce.length===0||Te.copy(ce,0,0,pe),ce}if(Te.length!==void 0)return typeof Te.length!="number"||Re(Te.length)?me(0):ie(Te);if(Te.type==="Buffer"&&Array.isArray(Te.data))return ie(Te.data)}function E(Te){if(Te>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return Te|0}function te(Te){return+Te!=Te&&(Te=0),Se.alloc(+Te)}Se.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==Se.prototype},Se.compare=function(pe,ce){if(er(pe,Uint8Array)&&(pe=Se.from(pe,pe.offset,pe.byteLength)),er(ce,Uint8Array)&&(ce=Se.from(ce,ce.offset,ce.byteLength)),!Se.isBuffer(pe)||!Se.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===ce)return 0;for(var ye=pe.length,qe=ce.length,gt=0,Me=Math.min(ye,qe);gt<Me;++gt)if(pe[gt]!==ce[gt]){ye=pe[gt],qe=ce[gt];break}return ye<qe?-1:qe<ye?1:0},Se.isEncoding=function(pe){switch(String(pe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Se.concat=function(pe,ce){if(!Array.isArray(pe))throw new TypeError('"list" argument must be an Array of Buffers');if(pe.length===0)return Se.alloc(0);var ye;if(ce===void 0)for(ce=0,ye=0;ye<pe.length;++ye)ce+=pe[ye].length;var qe=Se.allocUnsafe(ce),gt=0;for(ye=0;ye<pe.length;++ye){var Me=pe[ye];if(er(Me,Uint8Array))gt+Me.length>qe.length?Se.from(Me).copy(qe,gt):Uint8Array.prototype.set.call(qe,Me,gt);else if(Se.isBuffer(Me))Me.copy(qe,gt);else throw new TypeError('"list" argument must be an Array of Buffers');gt+=Me.length}return qe};function ne(Te,pe){if(Se.isBuffer(Te))return Te.length;if(ArrayBuffer.isView(Te)||er(Te,ArrayBuffer))return Te.byteLength;if(typeof Te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Te);var ce=Te.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&ce===0)return 0;for(var qe=!1;;)switch(pe){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Hn(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return yt(Te).length;default:if(qe)return ye?-1:Hn(Te).length;pe=(""+pe).toLowerCase(),qe=!0}}Se.byteLength=ne;function oe(Te,pe,ce){var ye=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,pe>>>=0,ce<=pe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return dt(this,pe,ce);case"utf8":case"utf-8":return ke(this,pe,ce);case"ascii":return rt(this,pe,ce);case"latin1":case"binary":return wt(this,pe,ce);case"base64":return St(this,pe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,pe,ce);default:if(ye)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),ye=!0}}Se.prototype._isBuffer=!0;function he(Te,pe,ce){var ye=Te[pe];Te[pe]=Te[ce],Te[ce]=ye}Se.prototype.swap16=function(){var pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;ce<pe;ce+=2)he(this,ce,ce+1);return this},Se.prototype.swap32=function(){var pe=this.length;if(pe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ce=0;ce<pe;ce+=4)he(this,ce,ce+3),he(this,ce+1,ce+2);return this},Se.prototype.swap64=function(){var pe=this.length;if(pe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ce=0;ce<pe;ce+=8)he(this,ce,ce+7),he(this,ce+1,ce+6),he(this,ce+2,ce+5),he(this,ce+3,ce+4);return this},Se.prototype.toString=function(){var pe=this.length;return pe===0?"":arguments.length===0?ke(this,0,pe):oe.apply(this,arguments)},Se.prototype.toLocaleString=Se.prototype.toString,Se.prototype.equals=function(pe){if(!Se.isBuffer(pe))throw new TypeError("Argument must be a Buffer");return this===pe?!0:Se.compare(this,pe)===0},Se.prototype.inspect=function(){var pe="",ce=Ut.h2;return pe=this.toString("hex",0,ce).replace(/(.{2})/g,"$1 ").trim(),this.length>ce&&(pe+=" ... "),"<Buffer "+pe+">"},at&&(Se.prototype[at]=Se.prototype.inspect),Se.prototype.compare=function(pe,ce,ye,qe,gt){if(er(pe,Uint8Array)&&(pe=Se.from(pe,pe.offset,pe.byteLength)),!Se.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ce===void 0&&(ce=0),ye===void 0&&(ye=pe?pe.length:0),qe===void 0&&(qe=0),gt===void 0&&(gt=this.length),ce<0||ye>pe.length||qe<0||gt>this.length)throw new RangeError("out of range index");if(qe>=gt&&ce>=ye)return 0;if(qe>=gt)return-1;if(ce>=ye)return 1;if(ce>>>=0,ye>>>=0,qe>>>=0,gt>>>=0,this===pe)return 0;for(var Me=gt-qe,Xe=ye-ce,Pt=Math.min(Me,Xe),ct=this.slice(qe,gt),ot=pe.slice(ce,ye),kt=0;kt<Pt;++kt)if(ct[kt]!==ot[kt]){Me=ct[kt],Xe=ot[kt];break}return Me<Xe?-1:Xe<Me?1:0};function _e(Te,pe,ce,ye,qe){if(Te.length===0)return-1;if(typeof ce=="string"?(ye=ce,ce=0):ce>2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,Re(ce)&&(ce=qe?0:Te.length-1),ce<0&&(ce=Te.length+ce),ce>=Te.length){if(qe)return-1;ce=Te.length-1}else if(ce<0)if(qe)ce=0;else return-1;if(typeof pe=="string"&&(pe=Se.from(pe,ye)),Se.isBuffer(pe))return pe.length===0?-1:Pe(Te,pe,ce,ye,qe);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Te,pe,ce):Uint8Array.prototype.lastIndexOf.call(Te,pe,ce):Pe(Te,[pe],ce,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Te,pe,ce,ye,qe){var gt=1,Me=Te.length,Xe=pe.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Te.length<2||pe.length<2)return-1;gt=2,Me/=2,Xe/=2,ce/=2}function Pt(_t,rn){return gt===1?_t[rn]:_t.readUInt16BE(rn*gt)}var ct;if(qe){var ot=-1;for(ct=ce;ct<Me;ct++)if(Pt(Te,ct)===Pt(pe,ot===-1?0:ct-ot)){if(ot===-1&&(ot=ct),ct-ot+1===Xe)return ot*gt}else ot!==-1&&(ct-=ct-ot),ot=-1}else for(ce+Xe>Me&&(ce=Me-Xe),ct=ce;ct>=0;ct--){for(var kt=!0,_n=0;_n<Xe;_n++)if(Pt(Te,ct+_n)!==Pt(pe,_n)){kt=!1;break}if(kt)return ct}return-1}Se.prototype.includes=function(pe,ce,ye){return this.indexOf(pe,ce,ye)!==-1},Se.prototype.indexOf=function(pe,ce,ye){return _e(this,pe,ce,ye,!0)},Se.prototype.lastIndexOf=function(pe,ce,ye){return _e(this,pe,ce,ye,!1)};function Qe(Te,pe,ce,ye){ce=Number(ce)||0;var qe=Te.length-ce;ye?(ye=Number(ye),ye>qe&&(ye=qe)):ye=qe;var gt=pe.length;ye>gt/2&&(ye=gt/2);for(var Me=0;Me<ye;++Me){var Xe=parseInt(pe.substr(Me*2,2),16);if(Re(Xe))return Me;Te[ce+Me]=Xe}return Me}function Ze(Te,pe,ce,ye){return Kn(Hn(pe,Te.length-ce),Te,ce,ye)}function Ve(Te,pe,ce,ye){return Kn(un(pe),Te,ce,ye)}function nt(Te,pe,ce,ye){return Kn(yt(pe),Te,ce,ye)}function De(Te,pe,ce,ye){return Kn(Vn(pe,Te.length-ce),Te,ce,ye)}Se.prototype.write=function(pe,ce,ye,qe){if(ce===void 0)qe="utf8",ye=this.length,ce=0;else if(ye===void 0&&typeof ce=="string")qe=ce,ye=this.length,ce=0;else if(isFinite(ce))ce=ce>>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var gt=this.length-ce;if((ye===void 0||ye>gt)&&(ye=gt),pe.length>0&&(ye<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Me=!1;;)switch(qe){case"hex":return Qe(this,pe,ce,ye);case"utf8":case"utf-8":return Ze(this,pe,ce,ye);case"ascii":case"latin1":case"binary":return Ve(this,pe,ce,ye);case"base64":return nt(this,pe,ce,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De(this,pe,ce,ye);default:if(Me)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Me=!0}},Se.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function St(Te,pe,ce){return pe===0&&ce===Te.length?be.fromByteArray(Te):be.fromByteArray(Te.slice(pe,ce))}function ke(Te,pe,ce){ce=Math.min(Te.length,ce);for(var ye=[],qe=pe;qe<ce;){var gt=Te[qe],Me=null,Xe=gt>239?4:gt>223?3:gt>191?2:1;if(qe+Xe<=ce){var Pt,ct,ot,kt;switch(Xe){case 1:gt<128&&(Me=gt);break;case 2:Pt=Te[qe+1],(Pt&192)===128&&(kt=(gt&31)<<6|Pt&63,kt>127&&(Me=kt));break;case 3:Pt=Te[qe+1],ct=Te[qe+2],(Pt&192)===128&&(ct&192)===128&&(kt=(gt&15)<<12|(Pt&63)<<6|ct&63,kt>2047&&(kt<55296||kt>57343)&&(Me=kt));break;case 4:Pt=Te[qe+1],ct=Te[qe+2],ot=Te[qe+3],(Pt&192)===128&&(ct&192)===128&&(ot&192)===128&&(kt=(gt&15)<<18|(Pt&63)<<12|(ct&63)<<6|ot&63,kt>65535&&kt<1114112&&(Me=kt))}}Me===null?(Me=65533,Xe=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Xe}return it(ye)}var Ot=4096;function it(Te){var pe=Te.length;if(pe<=Ot)return String.fromCharCode.apply(String,Te);for(var ce="",ye=0;ye<pe;)ce+=String.fromCharCode.apply(String,Te.slice(ye,ye+=Ot));return ce}function rt(Te,pe,ce){var ye="";ce=Math.min(Te.length,ce);for(var qe=pe;qe<ce;++qe)ye+=String.fromCharCode(Te[qe]&127);return ye}function wt(Te,pe,ce){var ye="";ce=Math.min(Te.length,ce);for(var qe=pe;qe<ce;++qe)ye+=String.fromCharCode(Te[qe]);return ye}function dt(Te,pe,ce){var ye=Te.length;(!pe||pe<0)&&(pe=0),(!ce||ce<0||ce>ye)&&(ce=ye);for(var qe="",gt=pe;gt<ce;++gt)qe+=Kt[Te[gt]];return qe}function pt(Te,pe,ce){for(var ye=Te.slice(pe,ce),qe="",gt=0;gt<ye.length-1;gt+=2)qe+=String.fromCharCode(ye[gt]+ye[gt+1]*256);return qe}Se.prototype.slice=function(pe,ce){var ye=this.length;pe=~~pe,ce=ce===void 0?ye:~~ce,pe<0?(pe+=ye,pe<0&&(pe=0)):pe>ye&&(pe=ye),ce<0?(ce+=ye,ce<0&&(ce=0)):ce>ye&&(ce=ye),ce<pe&&(ce=pe);var qe=this.subarray(pe,ce);return Object.setPrototypeOf(qe,Se.prototype),qe};function st(Te,pe,ce){if(Te%1!==0||Te<0)throw new RangeError("offset is not uint");if(Te+pe>ce)throw new RangeError("Trying to access beyond buffer length")}Se.prototype.readUintLE=Se.prototype.readUIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me<ce&&(gt*=256);)qe+=this[pe+Me]*gt;return qe},Se.prototype.readUintBE=Se.prototype.readUIntBE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe+--ce],gt=1;ce>0&&(gt*=256);)qe+=this[pe+--ce]*gt;return qe},Se.prototype.readUint8=Se.prototype.readUInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]},Se.prototype.readUint16LE=Se.prototype.readUInt16LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]|this[pe+1]<<8},Se.prototype.readUint16BE=Se.prototype.readUInt16BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]<<8|this[pe+1]},Se.prototype.readUint32LE=Se.prototype.readUInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},Se.prototype.readUint32BE=Se.prototype.readUInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},Se.prototype.readIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me<ce&&(gt*=256);)qe+=this[pe+Me]*gt;return gt*=128,qe>=gt&&(qe-=Math.pow(2,8*ce)),qe},Se.prototype.readIntBE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=ce,gt=1,Me=this[pe+--qe];qe>0&&(gt*=256);)Me+=this[pe+--qe]*gt;return gt*=128,Me>=gt&&(Me-=Math.pow(2,8*ce)),Me},Se.prototype.readInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},Se.prototype.readInt16LE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe]|this[pe+1]<<8;return ye&32768?ye|4294901760:ye},Se.prototype.readInt16BE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe+1]|this[pe]<<8;return ye&32768?ye|4294901760:ye},Se.prototype.readInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},Se.prototype.readInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},Se.prototype.readFloatLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!0,23,4)},Se.prototype.readFloatBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!1,23,4)},Se.prototype.readDoubleLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!0,52,8)},Se.prototype.readDoubleBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!1,52,8)};function ft(Te,pe,ce,ye,qe,gt){if(!Se.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>qe||pe<gt)throw new RangeError('"value" argument is out of bounds');if(ce+ye>Te.length)throw new RangeError("Index out of range")}Se.prototype.writeUintLE=Se.prototype.writeUIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=1,Xe=0;for(this[ce]=pe&255;++Xe<ye&&(Me*=256);)this[ce+Xe]=pe/Me&255;return ce+ye},Se.prototype.writeUintBE=Se.prototype.writeUIntBE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=ye-1,Xe=1;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)this[ce+Me]=pe/Xe&255;return ce+ye},Se.prototype.writeUint8=Se.prototype.writeUInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,255,0),this[ce]=pe&255,ce+1},Se.prototype.writeUint16LE=Se.prototype.writeUInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Se.prototype.writeUint16BE=Se.prototype.writeUInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Se.prototype.writeUint32LE=Se.prototype.writeUInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce+3]=pe>>>24,this[ce+2]=pe>>>16,this[ce+1]=pe>>>8,this[ce]=pe&255,ce+4},Se.prototype.writeUint32BE=Se.prototype.writeUInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4},Se.prototype.writeIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=0,Xe=1,Pt=0;for(this[ce]=pe&255;++Me<ye&&(Xe*=256);)pe<0&&Pt===0&&this[ce+Me-1]!==0&&(Pt=1),this[ce+Me]=(pe/Xe>>0)-Pt&255;return ce+ye},Se.prototype.writeIntBE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=ye-1,Xe=1,Pt=0;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)pe<0&&Pt===0&&this[ce+Me+1]!==0&&(Pt=1),this[ce+Me]=(pe/Xe>>0)-Pt&255;return ce+ye},Se.prototype.writeInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,127,-128),pe<0&&(pe=255+pe+1),this[ce]=pe&255,ce+1},Se.prototype.writeInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Se.prototype.writeInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Se.prototype.writeInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),this[ce]=pe&255,this[ce+1]=pe>>>8,this[ce+2]=pe>>>16,this[ce+3]=pe>>>24,ce+4},Se.prototype.writeInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4};function an(Te,pe,ce,ye,qe,gt){if(ce+ye>Te.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function fn(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||an(Te,pe,ce,4,34028234663852886e22,-34028234663852886e22),ze.write(Te,pe,ce,ye,23,4),ce+4}Se.prototype.writeFloatLE=function(pe,ce,ye){return fn(this,pe,ce,!0,ye)},Se.prototype.writeFloatBE=function(pe,ce,ye){return fn(this,pe,ce,!1,ye)};function Et(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||an(Te,pe,ce,8,17976931348623157e292,-17976931348623157e292),ze.write(Te,pe,ce,ye,52,8),ce+8}Se.prototype.writeDoubleLE=function(pe,ce,ye){return Et(this,pe,ce,!0,ye)},Se.prototype.writeDoubleBE=function(pe,ce,ye){return Et(this,pe,ce,!1,ye)},Se.prototype.copy=function(pe,ce,ye,qe){if(!Se.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),ce>=pe.length&&(ce=pe.length),ce||(ce=0),qe>0&&qe<ye&&(qe=ye),qe===ye||pe.length===0||this.length===0)return 0;if(ce<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),pe.length-ce<qe-ye&&(qe=pe.length-ce+ye);var gt=qe-ye;return this===pe&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(ce,ye,qe):Uint8Array.prototype.set.call(pe,this.subarray(ye,qe),ce),gt},Se.prototype.fill=function(pe,ce,ye,qe){if(typeof pe=="string"){if(typeof ce=="string"?(qe=ce,ce=0,ye=this.length):typeof ye=="string"&&(qe=ye,ye=this.length),qe!==void 0&&typeof qe!="string")throw new TypeError("encoding must be a string");if(typeof qe=="string"&&!Se.isEncoding(qe))throw new TypeError("Unknown encoding: "+qe);if(pe.length===1){var gt=pe.charCodeAt(0);(qe==="utf8"&&gt<128||qe==="latin1")&&(pe=gt)}}else typeof pe=="number"?pe=pe&255:typeof pe=="boolean"&&(pe=Number(pe));if(ce<0||this.length<ce||this.length<ye)throw new RangeError("Out of range index");if(ye<=ce)return this;ce=ce>>>0,ye=ye===void 0?this.length:ye>>>0,pe||(pe=0);var Me;if(typeof pe=="number")for(Me=ce;Me<ye;++Me)this[Me]=pe;else{var Xe=Se.isBuffer(pe)?pe:Se.from(pe,qe),Pt=Xe.length;if(Pt===0)throw new TypeError('The value "'+pe+'" is invalid for argument "value"');for(Me=0;Me<ye-ce;++Me)this[Me+ce]=Xe[Me%Pt]}return this};var qt=/[^+/0-9A-Za-z-_]/g;function Ln(Te){if(Te=Te.split("=")[0],Te=Te.trim().replace(qt,""),Te.length<2)return"";for(;Te.length%4!==0;)Te=Te+"=";return Te}function Hn(Te,pe){pe=pe||1/0;for(var ce,ye=Te.length,qe=null,gt=[],Me=0;Me<ye;++Me){if(ce=Te.charCodeAt(Me),ce>55295&&ce<57344){if(!qe){if(ce>56319){(pe-=3)>-1&&gt.push(239,191,189);continue}else if(Me+1===ye){(pe-=3)>-1&&gt.push(239,191,189);continue}qe=ce;continue}if(ce<56320){(pe-=3)>-1&&gt.push(239,191,189),qe=ce;continue}ce=(qe-55296<<10|ce-56320)+65536}else qe&&(pe-=3)>-1&&gt.push(239,191,189);if(qe=null,ce<128){if((pe-=1)<0)break;gt.push(ce)}else if(ce<2048){if((pe-=2)<0)break;gt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((pe-=3)<0)break;gt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((pe-=4)<0)break;gt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return gt}function un(Te){for(var pe=[],ce=0;ce<Te.length;++ce)pe.push(Te.charCodeAt(ce)&255);return pe}function Vn(Te,pe){for(var ce,ye,qe,gt=[],Me=0;Me<Te.length&&!((pe-=2)<0);++Me)ce=Te.charCodeAt(Me),ye=ce>>8,qe=ce%256,gt.push(qe),gt.push(ye);return gt}function yt(Te){return be.toByteArray(Ln(Te))}function Kn(Te,pe,ce,ye){for(var qe=0;qe<ye&&!(qe+ce>=pe.length||qe>=Te.length);++qe)pe[qe+ce]=Te[qe];return qe}function er(Te,pe){return Te instanceof pe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===pe.name}function Re(Te){return Te!==Te}var Kt=function(){for(var Te="0123456789abcdef",pe=new Array(256),ce=0;ce<16;++ce)for(var ye=ce*16,qe=0;qe<16;++qe)pe[ye+qe]=Te[ce]+Te[qe];return pe}()},14625:function(on){function Ut(Oe){var be,ze,at="";if(typeof Oe=="string"||typeof Oe=="number")at+=Oe;else if(typeof Oe=="object")if(Array.isArray(Oe)){var Ge=Oe.length;for(be=0;be<Ge;be++)Oe[be]&&(ze=Ut(Oe[be]))&&(at&&(at+=" "),at+=ze)}else for(ze in Oe)Oe[ze]&&(at&&(at+=" "),at+=ze);return at}function we(){for(var Oe,be,ze=0,at="",Ge=arguments.length;ze<Ge;ze++)(Oe=arguments[ze])&&(be=Ut(Oe))&&(at&&(at+=" "),at+=be);return at}on.exports=we,on.exports.clsx=we},97774:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var Oe=Object.assign||function(a){for(var ee=1;ee<arguments.length;ee++){var E=arguments[ee];for(var te in E)Object.prototype.hasOwnProperty.call(E,te)&&(a[te]=E[te])}return a},be=function(){function a(ee,E){for(var te=0;te<E.length;te++){var ne=E[te];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}return function(ee,E,te){return E&&a(ee.prototype,E),te&&a(ee,te),ee}}(),ze=we(59301),at=Ie(ze),Ge=we(12708),je=Ie(Ge),me=we(53291),Se=Ie(me),Le=we(47242),de=we(65429);function Ie(a){return a&&a.__esModule?a:{default:a}}function Fe(a,ee){if(!(a instanceof ee))throw new TypeError("Cannot call a class as a function")}function Ce(a,ee){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:a}function ie(a,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);a.prototype=Object.create(ee&&ee.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(a,ee):a.__proto__=ee)}var y=function(a){ie(ee,a);function ee(E){Fe(this,ee);var te=Ce(this,(ee.__proto__||Object.getPrototypeOf(ee)).call(this,E));return te.getEchartsInstance=function(){return te.echartsLib.getInstanceByDom(te.echartsElement)||te.echartsLib.init(te.echartsElement,te.props.theme,te.props.opts)},te.dispose=function(){if(te.echartsElement){try{(0,Le.clear)(te.echartsElement)}catch(ne){console.warn(ne)}te.echartsLib.dispose(te.echartsElement)}},te.rerender=function(){var ne=te.props,oe=ne.onEvents,he=ne.onChartReady,_e=te.renderEchartDom();te.bindEvents(_e,oe||{}),typeof he=="function"&&te.props.onChartReady(_e),te.echartsElement&&(0,Le.bind)(te.echartsElement,function(){try{_e.resize()}catch(Pe){console.warn(Pe)}})},te.bindEvents=function(ne,oe){var he=function(Qe,Ze){typeof Qe=="string"&&typeof Ze=="function"&&ne.on(Qe,function(Ve){Ze(Ve,ne)})};for(var _e in oe)Object.prototype.hasOwnProperty.call(oe,_e)&&he(_e,oe[_e])},te.renderEchartDom=function(){var ne=te.getEchartsInstance();return ne.setOption(te.props.option,te.props.notMerge||!1,te.props.lazyUpdate||!1),te.props.showLoading?ne.showLoading(te.props.loadingOption||null):ne.hideLoading(),ne},te.echartsLib=E.echarts,te.echartsElement=null,te}return be(ee,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(te){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(te,this.props))){if(!(0,Se.default)(te.theme,this.props.theme)||!(0,Se.default)(te.opts,this.props.opts)||!(0,Se.default)(te.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var ne=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,Se.default)((0,de.pick)(this.props,ne),(0,de.pick)(te,ne))){var oe=this.renderEchartDom();if(!(0,Se.default)(te.style,this.props.style)||!(0,Se.default)(te.className,this.props.className))try{oe.resize()}catch(he){console.warn(he)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var te=this,ne=this.props,oe=ne.style,he=ne.className,_e=Oe({height:300},oe);return at.default.createElement("div",{ref:function(Qe){te.echartsElement=Qe},style:_e,className:"echarts-for-react "+he})}}]),ee}(ze.Component);Ut.default=y,y.propTypes={option:je.default.object.isRequired,echarts:je.default.object,notMerge:je.default.bool,lazyUpdate:je.default.bool,style:je.default.object,className:je.default.string,theme:je.default.oneOfType([je.default.string,je.default.object]),onChartReady:je.default.func,showLoading:je.default.bool,loadingOption:je.default.object,onEvents:je.default.object,opts:je.default.shape({devicePixelRatio:je.default.number,renderer:je.default.oneOf(["canvas","svg"]),width:je.default.oneOfType([je.default.number,je.default.oneOf([null,void 0,"auto"])]),height:je.default.oneOfType([je.default.number,je.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:je.default.func},y.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(on,Ut,we){"use strict";var Oe;Oe={value:!0},Ut.Z=void 0;var be=we(76411),ze=je(be),at=we(97774),Ge=je(at);function je(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function me(Ie,Fe){if(!(Ie instanceof Fe))throw new TypeError("Cannot call a class as a function")}function Se(Ie,Fe){if(!Ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Fe&&(typeof Fe=="object"||typeof Fe=="function")?Fe:Ie}function Le(Ie,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Fe);Ie.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:Ie,enumerable:!1,writable:!0,configurable:!0}}),Fe&&(Object.setPrototypeOf?Object.setPrototypeOf(Ie,Fe):Ie.__proto__=Fe)}var de=function(Ie){Le(Fe,Ie);function Fe(Ce){me(this,Fe);var ie=Se(this,(Fe.__proto__||Object.getPrototypeOf(Fe)).call(this,Ce));return ie.echartsLib=ze.default,ie}return Fe}(Ge.default);Ut.Z=de},65429:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});var we=Ut.pick=function(be,ze){var at={};return ze.forEach(function(Ge){at[Ge]=be[Ge]}),at}},53291:function(on){"use strict";var Ut=Array.isArray,we=Object.keys,Oe=Object.prototype.hasOwnProperty;on.exports=function be(ze,at){if(ze===at)return!0;if(ze&&at&&typeof ze=="object"&&typeof at=="object"){var Ge=Ut(ze),je=Ut(at),me,Se,Le;if(Ge&&je){if(Se=ze.length,Se!=at.length)return!1;for(me=Se;me--!==0;)if(!be(ze[me],at[me]))return!1;return!0}if(Ge!=je)return!1;var de=ze instanceof Date,Ie=at instanceof Date;if(de!=Ie)return!1;if(de&&Ie)return ze.getTime()==at.getTime();var Fe=ze instanceof RegExp,Ce=at instanceof RegExp;if(Fe!=Ce)return!1;if(Fe&&Ce)return ze.toString()==at.toString();var ie=we(ze);if(Se=ie.length,Se!==we(at).length)return!1;for(me=Se;me--!==0;)if(!Oe.call(at,ie[me]))return!1;for(me=Se;me--!==0;)if(Le=ie[me],!be(ze[Le],at[Le]))return!1;return!0}return ze!==ze&&at!==at}},64270:function(on){(function(Ut,we){on.exports=we()})(this,function(){"use strict";var Ut=function(ue,Ae){return Ut=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ge){fe.__proto__=ge}||function(fe,ge){for(var He in ge)Object.prototype.hasOwnProperty.call(ge,He)&&(fe[He]=ge[He])},Ut(ue,Ae)};function we(ue,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Class extends value "+String(Ae)+" is not a constructor or null");Ut(ue,Ae);function fe(){this.constructor=ue}ue.prototype=Ae===null?Object.create(Ae):(fe.prototype=Ae.prototype,new fe)}var Oe=function(){return Oe=Object.assign||function(Ae){for(var fe,ge=1,He=arguments.length;ge<He;ge++){fe=arguments[ge];for(var tt in fe)Object.prototype.hasOwnProperty.call(fe,tt)&&(Ae[tt]=fe[tt])}return Ae},Oe.apply(this,arguments)};function be(ue,Ae,fe,ge){function He(tt){return tt instanceof fe?tt:new fe(function(ht){ht(tt)})}return new(fe||(fe=Promise))(function(tt,ht){function jt(Un){try{Cn(ge.next(Un))}catch(Rn){ht(Rn)}}function Rt(Un){try{Cn(ge.throw(Un))}catch(Rn){ht(Rn)}}function Cn(Un){Un.done?tt(Un.value):He(Un.value).then(jt,Rt)}Cn((ge=ge.apply(ue,Ae||[])).next())})}function ze(ue,Ae){var fe={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},ge,He,tt,ht;return ht={next:jt(0),throw:jt(1),return:jt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function jt(Cn){return function(Un){return Rt([Cn,Un])}}function Rt(Cn){if(ge)throw new TypeError("Generator is already executing.");for(;fe;)try{if(ge=1,He&&(tt=Cn[0]&2?He.return:Cn[0]?He.throw||((tt=He.return)&&tt.call(He),0):He.next)&&!(tt=tt.call(He,Cn[1])).done)return tt;switch(He=0,tt&&(Cn=[Cn[0]&2,tt.value]),Cn[0]){case 0:case 1:tt=Cn;break;case 4:return fe.label++,{value:Cn[1],done:!1};case 5:fe.label++,He=Cn[1],Cn=[0];continue;case 7:Cn=fe.ops.pop(),fe.trys.pop();continue;default:if(tt=fe.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(Cn[0]===6||Cn[0]===2)){fe=0;continue}if(Cn[0]===3&&(!tt||Cn[1]>tt[0]&&Cn[1]<tt[3])){fe.label=Cn[1];break}if(Cn[0]===6&&fe.label<tt[1]){fe.label=tt[1],tt=Cn;break}if(tt&&fe.label<tt[2]){fe.label=tt[2],fe.ops.push(Cn);break}tt[2]&&fe.ops.pop(),fe.trys.pop();continue}Cn=Ae.call(ue,fe)}catch(Un){Cn=[6,Un],He=0}finally{ge=tt=0}if(Cn[0]&5)throw Cn[1];return{value:Cn[0]?Cn[1]:void 0,done:!0}}}function at(ue,Ae,fe){if(fe||arguments.length===2)for(var ge=0,He=Ae.length,tt;ge<He;ge++)(tt||!(ge in Ae))&&(tt||(tt=Array.prototype.slice.call(Ae,0,ge)),tt[ge]=Ae[ge]);return ue.concat(tt||Ae)}for(var Ge=function(){function ue(Ae,fe,ge,He){this.left=Ae,this.top=fe,this.width=ge,this.height=He}return ue.prototype.add=function(Ae,fe,ge,He){return new ue(this.left+Ae,this.top+fe,this.width+ge,this.height+He)},ue.fromClientRect=function(Ae,fe){return new ue(fe.left+Ae.windowBounds.left,fe.top+Ae.windowBounds.top,fe.width,fe.height)},ue.fromDOMRectList=function(Ae,fe){var ge=Array.from(fe).find(function(He){return He.width!==0});return ge?new ue(ge.left+Ae.windowBounds.left,ge.top+Ae.windowBounds.top,ge.width,ge.height):ue.EMPTY},ue.EMPTY=new ue(0,0,0,0),ue}(),je=function(ue,Ae){return Ge.fromClientRect(ue,Ae.getBoundingClientRect())},me=function(ue){var Ae=ue.body,fe=ue.documentElement;if(!Ae||!fe)throw new Error("Unable to get document size");var ge=Math.max(Math.max(Ae.scrollWidth,fe.scrollWidth),Math.max(Ae.offsetWidth,fe.offsetWidth),Math.max(Ae.clientWidth,fe.clientWidth)),He=Math.max(Math.max(Ae.scrollHeight,fe.scrollHeight),Math.max(Ae.offsetHeight,fe.offsetHeight),Math.max(Ae.clientHeight,fe.clientHeight));return new Ge(0,0,ge,He)},Se=function(ue){for(var Ae=[],fe=0,ge=ue.length;fe<ge;){var He=ue.charCodeAt(fe++);if(He>=55296&&He<=56319&&fe<ge){var tt=ue.charCodeAt(fe++);(tt&64512)===56320?Ae.push(((He&1023)<<10)+(tt&1023)+65536):(Ae.push(He),fe--)}else Ae.push(He)}return Ae},Le=function(){for(var ue=[],Ae=0;Ae<arguments.length;Ae++)ue[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var fe=ue.length;if(!fe)return"";for(var ge=[],He=-1,tt="";++He<fe;){var ht=ue[He];ht<=65535?ge.push(ht):(ht-=65536,ge.push((ht>>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Fe=0;Fe<de.length;Fe++)Ie[de.charCodeAt(Fe)]=Fe;for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),y=0;y<Ce.length;y++)ie[Ce.charCodeAt(y)]=y;for(var a=function(ue){var Ae=ue.length*.75,fe=ue.length,ge,He=0,tt,ht,jt,Rt;ue[ue.length-1]==="="&&(Ae--,ue[ue.length-2]==="="&&Ae--);var Cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Un=Array.isArray(Cn)?Cn:new Uint8Array(Cn);for(ge=0;ge<fe;ge+=4)tt=ie[ue.charCodeAt(ge)],ht=ie[ue.charCodeAt(ge+1)],jt=ie[ue.charCodeAt(ge+2)],Rt=ie[ue.charCodeAt(ge+3)],Un[He++]=tt<<2|ht>>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return Cn},ee=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=2)fe.push(ue[ge+1]<<8|ue[ge]);return fe},E=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=4)fe.push(ue[ge+3]<<24|ue[ge+2]<<16|ue[ge+1]<<8|ue[ge]);return fe},te=5,ne=11,oe=2,he=ne-te,_e=65536>>te,Pe=1<<te,Qe=Pe-1,Ze=1024>>te,Ve=_e+Ze,nt=Ve,De=32,St=nt+De,ke=65536>>ne,Ot=1<<he,it=Ot-1,rt=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint16Array(Array.prototype.slice.call(ue,Ae,fe))},wt=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint32Array(Array.prototype.slice.call(ue,Ae,fe))},dt=function(ue,Ae){var fe=a(ue),ge=Array.isArray(fe)?E(fe):new Uint32Array(fe),He=Array.isArray(fe)?ee(fe):new Uint16Array(fe),tt=24,ht=rt(He,tt/2,ge[4]/2),jt=ge[5]===2?rt(He,(tt+ge[4])/2):wt(ge,Math.ceil((tt+ge[4])/4));return new pt(ge[0],ge[1],ge[2],ge[3],ht,jt)},pt=function(){function ue(Ae,fe,ge,He,tt,ht){this.initialValue=Ae,this.errorValue=fe,this.highStart=ge,this.highValueIndex=He,this.index=tt,this.data=ht}return ue.prototype.get=function(Ae){var fe;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>te],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<=65535)return fe=this.index[_e+(Ae-55296>>te)],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<this.highStart)return fe=St-ke+(Ae>>ne),fe=this.index[fe],fe+=Ae>>te&it,fe=this.index[fe],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ue}(),st="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),an=0;an<st.length;an++)ft[st.charCodeAt(an)]=an;var fn="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Et=50,qt=1,Ln=2,Hn=3,un=4,Vn=5,yt=7,Kn=8,er=9,Re=10,Kt=11,Te=12,pe=13,ce=14,ye=15,qe=16,gt=17,Me=18,Xe=19,Pt=20,ct=21,ot=22,kt=23,_n=24,_t=25,rn=26,Nt=27,yn=28,Yt=29,Jn=30,hr=31,tr=32,Nr=33,Dr=34,sa=35,Aa=36,Hr=37,wr=38,Qr=39,ea=40,xa=41,co=42,qr=43,hi=[9001,65288],Ii="!",ta="\xD7",sn="\xF7",KA=dt(fn),mA=[Jn,Aa],IA=[qt,Ln,Hn,Vn],gs=[Re,Kn],bi=[Nt,rn],zs=IA.concat(gs),yA=[wr,Qr,ea,Dr,sa],qi=[ye,pe],En=function(ue,Ae){Ae===void 0&&(Ae="strict");var fe=[],ge=[],He=[];return ue.forEach(function(tt,ht){var jt=KA.get(tt);if(jt>Et?(He.push(!0),jt-=Et):He.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(tt)!==-1)return ge.push(ht),fe.push(qe);if(jt===un||jt===Kt){if(ht===0)return ge.push(ht),fe.push(Jn);var Rt=fe[ht-1];return zs.indexOf(Rt)===-1?(ge.push(ge[ht-1]),fe.push(Rt)):(ge.push(ht),fe.push(Jn))}if(ge.push(ht),jt===hr)return fe.push(Ae==="strict"?ct:Hr);if(jt===co||jt===Yt)return fe.push(Jn);if(jt===qr)return tt>=131072&&tt<=196605||tt>=196608&&tt<=262141?fe.push(Hr):fe.push(Jn);fe.push(jt)}),[ge,fe,He]},On=function(ue,Ae,fe,ge){var He=ge[fe];if(Array.isArray(ue)?ue.indexOf(He)!==-1:ue===He)for(var tt=fe;tt<=ge.length;){tt++;var ht=ge[tt];if(ht===Ae)return!0;if(ht!==Re)break}if(He===Re)for(var tt=fe;tt>0;){tt--;var jt=ge[tt];if(Array.isArray(ue)?ue.indexOf(jt)!==-1:ue===jt)for(var Rt=fe;Rt<=ge.length;){Rt++;var ht=ge[Rt];if(ht===Ae)return!0;if(ht!==Re)break}if(jt!==Re)break}return!1},vn=function(ue,Ae){for(var fe=ue;fe>=0;){var ge=Ae[fe];if(ge===Re)fe--;else return ge}return 0},Tr=function(ue,Ae,fe,ge,He){if(fe[ge]===0)return ta;var tt=ge-1;if(Array.isArray(He)&&He[tt]===!0)return ta;var ht=tt-1,jt=tt+1,Rt=Ae[tt],Cn=ht>=0?Ae[ht]:0,Un=Ae[jt];if(Rt===Ln&&Un===Hn)return ta;if(IA.indexOf(Rt)!==-1)return Ii;if(IA.indexOf(Un)!==-1||gs.indexOf(Un)!==-1)return ta;if(vn(tt,Ae)===Kn)return sn;if(KA.get(ue[tt])===Kt||(Rt===tr||Rt===Nr)&&KA.get(ue[jt])===Kt||Rt===yt||Un===yt||Rt===er||[Re,pe,ye].indexOf(Rt)===-1&&Un===er||[gt,Me,Xe,_n,yn].indexOf(Un)!==-1||vn(tt,Ae)===ot||On(kt,ot,tt,Ae)||On([gt,Me],ct,tt,Ae)||On(Te,Te,tt,Ae))return ta;if(Rt===Re)return sn;if(Rt===kt||Un===kt)return ta;if(Un===qe||Rt===qe)return sn;if([pe,ye,ct].indexOf(Un)!==-1||Rt===ce||Cn===Aa&&qi.indexOf(Rt)!==-1||Rt===yn&&Un===Aa||Un===Pt||mA.indexOf(Un)!==-1&&Rt===_t||mA.indexOf(Rt)!==-1&&Un===_t||Rt===Nt&&[Hr,tr,Nr].indexOf(Un)!==-1||[Hr,tr,Nr].indexOf(Rt)!==-1&&Un===rn||mA.indexOf(Rt)!==-1&&bi.indexOf(Un)!==-1||bi.indexOf(Rt)!==-1&&mA.indexOf(Un)!==-1||[Nt,rn].indexOf(Rt)!==-1&&(Un===_t||[ot,ye].indexOf(Un)!==-1&&Ae[jt+1]===_t)||[ot,ye].indexOf(Rt)!==-1&&Un===_t||Rt===_t&&[_t,yn,_n].indexOf(Un)!==-1)return ta;if([_t,yn,_n,gt,Me].indexOf(Un)!==-1)for(var Rn=tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return ta;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if([Nt,rn].indexOf(Un)!==-1)for(var Rn=[gt,Me].indexOf(Rt)!==-1?ht:tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return ta;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if(wr===Rt&&[wr,Qr,Dr,sa].indexOf(Un)!==-1||[Qr,Dr].indexOf(Rt)!==-1&&[Qr,ea].indexOf(Un)!==-1||[ea,sa].indexOf(Rt)!==-1&&Un===ea||yA.indexOf(Rt)!==-1&&[Pt,rn].indexOf(Un)!==-1||yA.indexOf(Un)!==-1&&Rt===Nt||mA.indexOf(Rt)!==-1&&mA.indexOf(Un)!==-1||Rt===_n&&mA.indexOf(Un)!==-1||mA.concat(_t).indexOf(Rt)!==-1&&Un===ot&&hi.indexOf(ue[jt])===-1||mA.concat(_t).indexOf(Un)!==-1&&Rt===Me)return ta;if(Rt===xa&&Un===xa){for(var Ca=fe[tt],jr=1;Ca>0&&(Ca--,Ae[Ca]===xa);)jr++;if(jr%2!==0)return ta}return Rt===tr&&Un===Nr?ta:sn},Pa=function(ue,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var fe=En(ue,Ae.lineBreak),ge=fe[0],He=fe[1],tt=fe[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(He=He.map(function(jt){return[_t,Jn,co].indexOf(jt)!==-1?Hr:jt}));var ht=Ae.wordBreak==="keep-all"?tt.map(function(jt,Rt){return jt&&ue[Rt]>=19968&&ue[Rt]<=40959}):void 0;return[ge,He,ht]},$r=function(){function ue(Ae,fe,ge,He){this.codePoints=Ae,this.required=fe===Ii,this.start=ge,this.end=He}return ue.prototype.slice=function(){return Le.apply(void 0,this.codePoints.slice(this.start,this.end))},ue}(),oi=function(ue,Ae){var fe=Se(ue),ge=Pa(fe,Ae),He=ge[0],tt=ge[1],ht=ge[2],jt=fe.length,Rt=0,Cn=0;return{next:function(){if(Cn>=jt)return{done:!0,value:null};for(var Un=ta;Cn<jt&&(Un=Tr(fe,tt,He,++Cn,ht))===ta;);if(Un!==ta||Cn===jt){var Rn=new $r(fe,Un,Rt,Cn);return Rt=Cn,{value:Rn,done:!1}}return{done:!0,value:null}}}},vo=1,Go=2,Uo=4,wA=8,gr=10,Qo=47,Qi=92,ci=9,Bi=32,To=34,pA=61,jA=35,zA=36,Ns=37,GA=39,yi=40,fs=41,Fl=95,$A=45,Cr=33,Dc=60,Su=62,Ou=64,el=91,kr=93,Ua=61,Fo=123,Ea=63,za=125,mi=124,pa=126,ns=128,rs=65533,Bu=42,Ds=43,Oc=44,Qc=58,xl=59,_l=46,Tc=0,Qu=8,Tu=11,Au=14,gl=31,ku=127,An=-1,kc=48,Ru=97,gd=101,su=102,hs=117,lu=122,as=65,UA=69,ic=70,zl=85,bA=90,ZA=function(ue){return ue>=kc&&ue<=57},Rc=function(ue){return ue>=55296&&ue<=57343},uu=function(ue){return ZA(ue)||ue>=as&&ue<=ic||ue>=Ru&&ue<=su},jc=function(ue){return ue>=Ru&&ue<=lu},wn=function(ue){return ue>=as&&ue<=bA},Dt=function(ue){return jc(ue)||wn(ue)},tn=function(ue){return ue>=ns},Qn=function(ue){return ue===gr||ue===ci||ue===Bi},Ar=function(ue){return Dt(ue)||tn(ue)||ue===Fl},Xr=function(ue){return Ar(ue)||ZA(ue)||ue===$A},Lr=function(ue){return ue>=Tc&&ue<=Qu||ue===Tu||ue>=Au&&ue<=gl||ue===ku},mr=function(ue,Ae){return ue!==Qi?!1:Ae!==gr},Fr=function(ue,Ae,fe){return ue===$A?Ar(Ae)||mr(Ae,fe):Ar(ue)?!0:!!(ue===Qi&&mr(ue,Ae))},ca=function(ue,Ae,fe){return ue===Ds||ue===$A?ZA(Ae)?!0:Ae===_l&&ZA(fe):ZA(ue===_l?Ae:ue)},Ma=function(ue){var Ae=0,fe=1;(ue[Ae]===Ds||ue[Ae]===$A)&&(ue[Ae]===$A&&(fe=-1),Ae++);for(var ge=[];ZA(ue[Ae]);)ge.push(ue[Ae++]);var He=ge.length?parseInt(Le.apply(void 0,ge),10):0;ue[Ae]===_l&&Ae++;for(var tt=[];ZA(ue[Ae]);)tt.push(ue[Ae++]);var ht=tt.length,jt=ht?parseInt(Le.apply(void 0,tt),10):0;(ue[Ae]===UA||ue[Ae]===gd)&&Ae++;var Rt=1;(ue[Ae]===Ds||ue[Ae]===$A)&&(ue[Ae]===$A&&(Rt=-1),Ae++);for(var Cn=[];ZA(ue[Ae]);)Cn.push(ue[Ae++]);var Un=Cn.length?parseInt(Le.apply(void 0,Cn),10):0;return fe*(He+jt*Math.pow(10,-ht))*Math.pow(10,Rt*Un)},Ro={type:2},la={type:3},Wi={type:4},ii={type:13},pi={type:8},ha={type:21},Na={type:9},ja={type:10},_a={type:11},xo={type:12},So={type:14},WA={type:23},fl={type:1},sA={type:25},VA={type:24},tl={type:26},nl={type:27},rl={type:28},Pn={type:29},In={type:31},al={type:32},Zr=function(){function ue(){this._value=[]}return ue.prototype.write=function(Ae){this._value=this._value.concat(Se(Ae))},ue.prototype.read=function(){for(var Ae=[],fe=this.consumeToken();fe!==al;)Ae.push(fe),fe=this.consumeToken();return Ae},ue.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case To:return this.consumeStringToken(To);case jA:var fe=this.peekCodePoint(0),ge=this.peekCodePoint(1),He=this.peekCodePoint(2);if(Xr(fe)||mr(ge,He)){var tt=Fr(fe,ge,He)?Go:vo,ht=this.consumeName();return{type:5,value:ht,flags:tt}}break;case zA:if(this.peekCodePoint(0)===pA)return this.consumeCodePoint(),ii;break;case GA:return this.consumeStringToken(GA);case yi:return Ro;case fs:return la;case Bu:if(this.peekCodePoint(0)===pA)return this.consumeCodePoint(),So;break;case Ds:if(ca(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Oc:return Wi;case $A:var jt=Ae,Rt=this.peekCodePoint(0),Cn=this.peekCodePoint(1);if(ca(jt,Rt,Cn))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(Fr(jt,Rt,Cn))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(Rt===$A&&Cn===Su)return this.consumeCodePoint(),this.consumeCodePoint(),VA;break;case _l:if(ca(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Qo:if(this.peekCodePoint(0)===Bu)for(this.consumeCodePoint();;){var Un=this.consumeCodePoint();if(Un===Bu&&(Un=this.consumeCodePoint(),Un===Qo))return this.consumeToken();if(Un===An)return this.consumeToken()}break;case Qc:return tl;case xl:return nl;case Dc:if(this.peekCodePoint(0)===Cr&&this.peekCodePoint(1)===$A&&this.peekCodePoint(2)===$A)return this.consumeCodePoint(),this.consumeCodePoint(),sA;break;case Ou:var Rn=this.peekCodePoint(0),dr=this.peekCodePoint(1),Ca=this.peekCodePoint(2);if(Fr(Rn,dr,Ca)){var ht=this.consumeName();return{type:7,value:ht}}break;case el:return rl;case Qi:if(mr(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case kr:return Pn;case Ua:if(this.peekCodePoint(0)===pA)return this.consumeCodePoint(),pi;break;case Fo:return _a;case za:return xo;case hs:case zl:var jr=this.peekCodePoint(0),oa=this.peekCodePoint(1);return jr===Ds&&(uu(oa)||oa===Ea)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case mi:if(this.peekCodePoint(0)===pA)return this.consumeCodePoint(),Na;if(this.peekCodePoint(0)===mi)return this.consumeCodePoint(),ha;break;case pa:if(this.peekCodePoint(0)===pA)return this.consumeCodePoint(),ja;break;case An:return al}return Qn(Ae)?(this.consumeWhiteSpace(),In):ZA(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):Ar(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:Le(Ae)}},ue.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},ue.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},ue.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},ue.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],fe=this.consumeCodePoint();uu(fe)&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint();for(var ge=!1;fe===Ea&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint(),ge=!0;if(ge){var He=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Ea?kc:Rt})),16),tt=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Ea?ic:Rt})),16);return{type:30,start:He,end:tt}}var ht=parseInt(Le.apply(void 0,Ae),16);if(this.peekCodePoint(0)===$A&&uu(this.peekCodePoint(1))){this.consumeCodePoint(),fe=this.consumeCodePoint();for(var jt=[];uu(fe)&&jt.length<6;)jt.push(fe),fe=this.consumeCodePoint();var tt=parseInt(Le.apply(void 0,jt),16);return{type:30,start:ht,end:tt}}else return{type:30,start:ht,end:ht}},ue.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===yi?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===yi?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},ue.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===An)return{type:22,value:""};var fe=this.peekCodePoint(0);if(fe===GA||fe===To){var ge=this.consumeStringToken(this.consumeCodePoint());return ge.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===fs)?(this.consumeCodePoint(),{type:22,value:ge.value}):(this.consumeBadUrlRemnants(),WA)}for(;;){var He=this.consumeCodePoint();if(He===An||He===fs)return{type:22,value:Le.apply(void 0,Ae)};if(Qn(He))return this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===fs?(this.consumeCodePoint(),{type:22,value:Le.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),WA);if(He===To||He===GA||He===yi||Lr(He))return this.consumeBadUrlRemnants(),WA;if(He===Qi)if(mr(He,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),WA;else Ae.push(He)}},ue.prototype.consumeWhiteSpace=function(){for(;Qn(this.peekCodePoint(0));)this.consumeCodePoint()},ue.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===fs||Ae===An)return;mr(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ue.prototype.consumeStringSlice=function(Ae){for(var fe=5e4,ge="";Ae>0;){var He=Math.min(fe,Ae);ge+=Le.apply(void 0,this._value.splice(0,He)),Ae-=He}return this._value.shift(),ge},ue.prototype.consumeStringToken=function(Ae){var fe="",ge=0;do{var He=this._value[ge];if(He===An||He===void 0||He===Ae)return fe+=this.consumeStringSlice(ge),{type:0,value:fe};if(He===gr)return this._value.splice(0,ge),fl;if(He===Qi){var tt=this._value[ge+1];tt!==An&&tt!==void 0&&(tt===gr?(fe+=this.consumeStringSlice(ge),ge=-1,this._value.shift()):mr(He,tt)&&(fe+=this.consumeStringSlice(ge),fe+=Le(this.consumeEscapedCodePoint()),ge=-1))}ge++}while(!0)},ue.prototype.consumeNumber=function(){var Ae=[],fe=Uo,ge=this.peekCodePoint(0);for((ge===Ds||ge===$A)&&Ae.push(this.consumeCodePoint());ZA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0);var He=this.peekCodePoint(1);if(ge===_l&&ZA(He))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=wA;ZA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0),He=this.peekCodePoint(1);var tt=this.peekCodePoint(2);if((ge===UA||ge===gd)&&((He===Ds||He===$A)&&ZA(tt)||ZA(He)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=wA;ZA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Ma(Ae),fe]},ue.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),fe=Ae[0],ge=Ae[1],He=this.peekCodePoint(0),tt=this.peekCodePoint(1),ht=this.peekCodePoint(2);if(Fr(He,tt,ht)){var jt=this.consumeName();return{type:15,number:fe,flags:ge,unit:jt}}return He===Ns?(this.consumeCodePoint(),{type:16,number:fe,flags:ge}):{type:17,number:fe,flags:ge}},ue.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(uu(Ae)){for(var fe=Le(Ae);uu(this.peekCodePoint(0))&&fe.length<6;)fe+=Le(this.consumeCodePoint());Qn(this.peekCodePoint(0))&&this.consumeCodePoint();var ge=parseInt(fe,16);return ge===0||Rc(ge)||ge>1114111?rs:ge}return Ae===An?rs:Ae},ue.prototype.consumeName=function(){for(var Ae="";;){var fe=this.consumeCodePoint();if(Xr(fe))Ae+=Le(fe);else if(mr(fe,this.peekCodePoint(0)))Ae+=Le(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(fe),Ae}},ue}(),Fa=function(){function ue(Ae){this._tokens=Ae}return ue.create=function(Ae){var fe=new Zr;return fe.write(Ae),new ue(fe.read())},ue.parseValue=function(Ae){return ue.create(Ae).parseComponentValue()},ue.parseValues=function(Ae){return ue.create(Ae).parseComponentValues()},ue.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var fe=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ue.prototype.parseComponentValues=function(){for(var Ae=[];;){var fe=this.consumeComponentValue();if(fe.type===32)return Ae;Ae.push(fe),Ae.push()}},ue.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},ue.prototype.consumeSimpleBlock=function(Ae){for(var fe={type:Ae,values:[]},ge=this.consumeToken();;){if(ge.type===32||Gd(ge,Ae))return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue()),ge=this.consumeToken()}},ue.prototype.consumeFunction=function(Ae){for(var fe={name:Ae.value,values:[],type:18};;){var ge=this.consumeToken();if(ge.type===32||ge.type===3)return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue())}},ue.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?al:Ae},ue.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},ue}(),No=function(ue){return ue.type===15},Ei=function(ue){return ue.type===17},to=function(ue){return ue.type===20},eA=function(ue){return ue.type===0},ju=function(ue,Ae){return to(ue)&&ue.value===Ae},cu=function(ue){return ue.type!==31},Ll=function(ue){return ue.type!==31&&ue.type!==4},ol=function(ue){var Ae=[],fe=[];return ue.forEach(function(ge){if(ge.type===4){if(fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(fe),fe=[];return}ge.type!==31&&fe.push(ge)}),fe.length&&Ae.push(fe),Ae},Gd=function(ue,Ae){return Ae===11&&ue.type===12||Ae===28&&ue.type===29?!0:Ae===2&&ue.type===3},Il=function(ue){return ue.type===17||ue.type===15},lA=function(ue){return ue.type===16||Il(ue)},Ac=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},NA={type:17,number:0,flags:Uo},Mu={type:16,number:50,flags:Uo},hl={type:16,number:100,flags:Uo},Ul=function(ue,Ae,fe){var ge=ue[0],He=ue[1];return[qo(ge,Ae),qo(typeof He!="undefined"?He:ge,fe)]},qo=function(ue,Ae){if(ue.type===16)return ue.number/100*Ae;if(No(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},yu="deg",sc="grad",fd="rad",vA="turn",Os={name:"angle",parse:function(ue,Ae){if(Ae.type===15)switch(Ae.unit){case yu:return Math.PI*Ae.number/180;case sc:return Math.PI/200*Ae.number;case fd:return Ae.number;case vA:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},Nl=function(ue){return ue.type===15&&(ue.unit===yu||ue.unit===sc||ue.unit===fd||ue.unit===vA)},Gl=function(ue){var Ae=ue.filter(to).map(function(fe){return fe.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[NA,NA];case"to top":case"bottom":return Ci(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[NA,hl];case"to right":case"left":return Ci(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[hl,hl];case"to bottom":case"top":return Ci(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[hl,NA];case"to left":case"right":return Ci(270)}return 0},Ci=function(ue){return Math.PI*ue/180},Cs={name:"color",parse:function(ue,Ae){if(Ae.type===18){var fe=CA[Ae.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return fe(ue,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3);return cA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),1)}if(Ae.value.length===4){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3),ht=Ae.value.substring(3,4);return cA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),parseInt(ht+ht,16)/255)}if(Ae.value.length===6){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6);return cA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),1)}if(Ae.value.length===8){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6),ht=Ae.value.substring(6,8);return cA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),parseInt(ht,16)/255)}}if(Ae.type===20){var jt=tA[Ae.value.toUpperCase()];if(typeof jt!="undefined")return jt}return tA.TRANSPARENT}},DA=function(ue){return(255&ue)===0},uA=function(ue){var Ae=255&ue,fe=255&ue>>8,ge=255&ue>>16,He=255&ue>>24;return Ae<255?"rgba("+He+","+ge+","+fe+","+Ae/255+")":"rgb("+He+","+ge+","+fe+")"},cA=function(ue,Ae,fe,ge){return(ue<<24|Ae<<16|fe<<8|Math.round(ge*255)<<0)>>>0},Dl=function(ue,Ae){if(ue.type===17)return ue.number;if(ue.type===16){var fe=Ae===3?1:255;return Ae===3?ue.number/100*fe:Math.round(ue.number/100*fe)}return 0},Mc=function(ue,Ae){var fe=Ae.filter(Ll);if(fe.length===3){var ge=fe.map(Dl),He=ge[0],tt=ge[1],ht=ge[2];return cA(He,tt,ht,1)}if(fe.length===4){var jt=fe.map(Dl),He=jt[0],tt=jt[1],ht=jt[2],Rt=jt[3];return cA(He,tt,ht,Rt)}return 0};function XA(ue,Ae,fe){return fe<0&&(fe+=1),fe>=1&&(fe-=1),fe<1/6?(Ae-ue)*fe*6+ue:fe<1/2?Ae:fe<2/3?(Ae-ue)*6*(2/3-fe)+ue:ue}var Hu=function(ue,Ae){var fe=Ae.filter(Ll),ge=fe[0],He=fe[1],tt=fe[2],ht=fe[3],jt=(ge.type===17?Ci(ge.number):Os.parse(ue,ge))/(Math.PI*2),Rt=lA(He)?He.number/100:0,Cn=lA(tt)?tt.number/100:0,Un=typeof ht!="undefined"&&lA(ht)?qo(ht,1):1;if(Rt===0)return cA(Cn*255,Cn*255,Cn*255,1);var Rn=Cn<=.5?Cn*(Rt+1):Cn+Rt-Cn*Rt,dr=Cn*2-Rn,Ca=XA(dr,Rn,jt+1/3),jr=XA(dr,Rn,jt),oa=XA(dr,Rn,jt-1/3);return cA(Ca*255,jr*255,oa*255,Un)},CA={hsl:Hu,hsla:Hu,rgb:Mc,rgba:Mc},Ol=function(ue,Ae){return Cs.parse(ue,Fa.create(Ae).parseComponentValue())},tA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},lc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(to(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},du={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gu=function(ue,Ae){var fe=Cs.parse(ue,Ae[0]),ge=Ae[1];return ge&&lA(ge)?{color:fe,stop:ge}:{color:fe,stop:null}},Hc=function(ue,Ae){var fe=ue[0],ge=ue[ue.length-1];fe.stop===null&&(fe.stop=NA),ge.stop===null&&(ge.stop=hl);for(var He=[],tt=0,ht=0;ht<ue.length;ht++){var jt=ue[ht].stop;if(jt!==null){var Rt=qo(jt,Ae);Rt>tt?He.push(Rt):He.push(tt),tt=Rt}else He.push(null)}for(var Cn=null,ht=0;ht<He.length;ht++){var Un=He[ht];if(Un===null)Cn===null&&(Cn=ht);else if(Cn!==null){for(var Rn=ht-Cn,dr=He[Cn-1],Ca=(Un-dr)/(Rn+1),jr=1;jr<=Rn;jr++)He[Cn+jr-1]=Ca*jr;Cn=null}}return ue.map(function(oa,Lo){var ka=oa.color;return{color:ka,stop:Math.max(Math.min(1,He[Lo]/Ae),0)}})},$l=function(ue,Ae,fe){var ge=Ae/2,He=fe/2,tt=qo(ue[0],Ae)-ge,ht=He-qo(ue[1],fe);return(Math.atan2(ht,tt)+Math.PI*2)%(Math.PI*2)},Pr=function(ue,Ae,fe){var ge=typeof ue=="number"?ue:$l(ue,Ae,fe),He=Math.abs(Ae*Math.sin(ge))+Math.abs(fe*Math.cos(ge)),tt=Ae/2,ht=fe/2,jt=He/2,Rt=Math.sin(ge-Math.PI/2)*jt,Cn=Math.cos(ge-Math.PI/2)*jt;return[He,tt-Cn,tt+Cn,ht-Rt,ht+Rt]},La=function(ue,Ae){return Math.sqrt(ue*ue+Ae*Ae)},sr=function(ue,Ae,fe,ge,He){var tt=[[0,0],[0,Ae],[ue,0],[ue,Ae]];return tt.reduce(function(ht,jt){var Rt=jt[0],Cn=jt[1],Un=La(fe-Rt,ge-Cn);return(He?Un<ht.optimumDistance:Un>ht.optimumDistance)?{optimumCorner:jt,optimumDistance:Un}:ht},{optimumDistance:He?1/0:-1/0,optimumCorner:null}).optimumCorner},Ga=function(ue,Ae,fe,ge,He){var tt=0,ht=0;switch(ue.size){case 0:ue.shape===0?tt=ht=Math.min(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.min(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.min(Math.abs(fe),Math.abs(fe-He)));break;case 2:if(ue.shape===0)tt=ht=Math.min(La(Ae,fe),La(Ae,fe-He),La(Ae-ge,fe),La(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.min(Math.abs(fe),Math.abs(fe-He))/Math.min(Math.abs(Ae),Math.abs(Ae-ge)),Rt=sr(ge,He,Ae,fe,!0),Cn=Rt[0],Un=Rt[1];tt=La(Cn-Ae,(Un-fe)/jt),ht=jt*tt}break;case 1:ue.shape===0?tt=ht=Math.max(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.max(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.max(Math.abs(fe),Math.abs(fe-He)));break;case 3:if(ue.shape===0)tt=ht=Math.max(La(Ae,fe),La(Ae,fe-He),La(Ae-ge,fe),La(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.max(Math.abs(fe),Math.abs(fe-He))/Math.max(Math.abs(Ae),Math.abs(Ae-ge)),Rn=sr(ge,He,Ae,fe,!1),Cn=Rn[0],Un=Rn[1];tt=La(Cn-Ae,(Un-fe)/jt),ht=jt*tt}break}return Array.isArray(ue.size)&&(tt=qo(ue.size[0],ge),ht=ue.size.length===2?qo(ue.size[1],He):tt),[tt,ht]},Co=function(ue,Ae){var fe=Ci(180),ge=[];return ol(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&ht.value==="to"){fe=Gl(He);return}else if(Nl(ht)){fe=Os.parse(ue,ht);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},dA=function(ue,Ae){var fe=Ci(180),ge=[];return ol(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&["top","left","right","bottom"].indexOf(ht.value)!==-1){fe=Gl(He);return}else if(Nl(ht)){fe=(Os.parse(ue,ht)+Ci(270))%Ci(360);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},Qs=function(ue,Ae){var fe=Ci(180),ge=[],He=1,tt=0,ht=3,jt=[];return ol(Ae).forEach(function(Rt,Cn){var Un=Rt[0];if(Cn===0){if(to(Un)&&Un.value==="linear"){He=1;return}else if(to(Un)&&Un.value==="radial"){He=2;return}}if(Un.type===18){if(Un.name==="from"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:NA,color:Rn})}else if(Un.name==="to"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:hl,color:Rn})}else if(Un.name==="color-stop"){var dr=Un.values.filter(Ll);if(dr.length===2){var Rn=Cs.parse(ue,dr[1]),Ca=dr[0];Ei(Ca)&&ge.push({stop:{type:16,number:Ca.number*100,flags:Ca.flags},color:Rn})}}}}),He===1?{angle:(fe+Ci(180))%Ci(360),stops:ge,type:He}:{size:ht,shape:tt,stops:ge,position:jt,type:He}},YA="closest-side",Zl="farthest-side",il="closest-corner",Ps="farthest-corner",Ai="circle",ml="ellipse",Wo="cover",os="contain",Ya=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return ol(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0){var Cn=!1;Rt=ht.reduce(function(Rn,dr){if(Cn)if(to(dr))switch(dr.value){case"center":return tt.push(Mu),Rn;case"top":case"left":return tt.push(NA),Rn;case"right":case"bottom":return tt.push(hl),Rn}else(lA(dr)||Il(dr))&&tt.push(dr);else if(to(dr))switch(dr.value){case Ai:return fe=0,!1;case ml:return fe=1,!1;case"at":return Cn=!0,!1;case YA:return ge=0,!1;case Wo:case Zl:return ge=1,!1;case os:case il:return ge=2,!1;case Ps:return ge=3,!1}else if(Il(dr)||lA(dr))return Array.isArray(ge)||(ge=[]),ge.push(dr),!1;return Rn},Rt)}if(Rt){var Un=gu(ue,ht);He.push(Un)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Vi=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return ol(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0?Rt=ht.reduce(function(Un,Rn){if(to(Rn))switch(Rn.value){case"center":return tt.push(Mu),!1;case"top":case"left":return tt.push(NA),!1;case"right":case"bottom":return tt.push(hl),!1}else if(lA(Rn)||Il(Rn))return tt.push(Rn),!1;return Un},Rt):jt===1&&(Rt=ht.reduce(function(Un,Rn){if(to(Rn))switch(Rn.value){case Ai:return fe=0,!1;case ml:return fe=1,!1;case os:case YA:return ge=0,!1;case Zl:return ge=1,!1;case il:return ge=2,!1;case Wo:case Ps:return ge=3,!1}else if(Il(Rn)||lA(Rn))return Array.isArray(ge)||(ge=[]),ge.push(Rn),!1;return Un},Rt)),Rt){var Cn=gu(ue,ht);He.push(Cn)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Ti=function(ue){return ue.type===1},Wl=function(ue){return ue.type===2},is={name:"image",parse:function(ue,Ae){if(Ae.type===22){var fe={url:Ae.value,type:0};return ue.cache.addImage(Ae.value),fe}if(Ae.type===18){var ge=MA[Ae.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return ge(ue,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function PA(ue){return!(ue.type===20&&ue.value==="none")&&(ue.type!==18||!!MA[ue.name])}var MA={"linear-gradient":Co,"-moz-linear-gradient":dA,"-ms-linear-gradient":dA,"-o-linear-gradient":dA,"-webkit-linear-gradient":dA,"radial-gradient":Ya,"-moz-radial-gradient":Vi,"-ms-radial-gradient":Vi,"-o-radial-gradient":Vi,"-webkit-radial-gradient":Vi,"-webkit-gradient":Qs},ms={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){if(Ae.length===0)return[];var fe=Ae[0];return fe.type===20&&fe.value==="none"?[]:Ae.filter(function(ge){return Ll(ge)&&PA(ge)}).map(function(ge){return is.parse(ue,ge)})}},ps={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(to(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},uc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,Ae){return ol(Ae).map(function(fe){return fe.filter(lA)}).map(Ac)}},Ql={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,Ae){return ol(Ae).map(function(fe){return fe.filter(to).map(function(ge){return ge.value}).join(" ")}).map(Vl)}},Vl=function(ue){switch(ue){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},OA;(function(ue){ue.AUTO="auto",ue.CONTAIN="contain",ue.COVER="cover"})(OA||(OA={}));var wu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,Ae){return ol(Ae).map(function(fe){return fe.filter(cc)})}},cc=function(ue){return to(ue)||lA(ue)},Ku=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},eh=Ku("top"),Kc=Ku("right"),vf=Ku("bottom"),dc=Ku("left"),$d=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,fe){return Ac(fe.filter(lA))}}},Sm=$d("top-left"),zu=$d("top-right"),Tl=$d("bottom-right"),pl=$d("bottom-left"),Pi=function(ue){return{name:"border-"+ue+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,fe){switch(fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},zc=Pi("top"),Sf=Pi("right"),Bf=Pi("bottom"),Gc=Pi("left"),hd=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,fe){return No(fe)?fe.number:0}}},Eg=hd("top"),$c=hd("right"),th=hd("bottom"),nh=hd("left"),vs={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},md={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},rh={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(to).reduce(function(fe,ge){return fe|Ye(ge.value)},0)}},Ye=function(ue){switch(ue){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},et={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Bt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},It;(function(ue){ue.NORMAL="normal",ue.STRICT="strict"})(It||(It={}));var $t={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"strict":return It.STRICT;case"normal":default:return It.NORMAL}}},Zt={name:"line-height",initialValue:"normal",prefix:!1,type:4},mn=function(ue,Ae){return to(ue)&&ue.value==="normal"?1.2*Ae:ue.type===17?Ae*ue.number:lA(ue)?qo(ue,Ae):Ae},Sn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="none"?null:is.parse(ue,Ae)}},dn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},Tn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Gn=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},kn=Gn("top"),fr=Gn("right"),or=Gn("bottom"),ur=Gn("left"),Rr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(to).map(function(fe){switch(fe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Er={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Or=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},xr=Or("top"),Wr=Or("right"),wa=Or("bottom"),Ia=Or("left"),ua={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ha={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ao={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.length===1&&ju(Ae[0],"none")?[]:ol(Ae).map(function(fe){for(var ge={color:tA.TRANSPARENT,offsetX:NA,offsetY:NA,blur:NA},He=0,tt=0;tt<fe.length;tt++){var ht=fe[tt];Il(ht)?(He===0?ge.offsetX=ht:He===1?ge.offsetY=ht:ge.blur=ht,He++):ge.color=Cs.parse(ue,ht)}return ge})}},Yr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},da={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ue,Ae){if(Ae.type===20&&Ae.value==="none")return null;if(Ae.type===18){var fe=ia[Ae.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ae.name+'"');return fe(Ae.values)}return null}},na=function(ue){var Ae=ue.filter(function(fe){return fe.type===17}).map(function(fe){return fe.number});return Ae.length===6?Ae:null},Gr=function(ue){var Ae=ue.filter(function(Rt){return Rt.type===17}).map(function(Rt){return Rt.number}),fe=Ae[0],ge=Ae[1];Ae[2],Ae[3];var He=Ae[4],tt=Ae[5];Ae[6],Ae[7],Ae[8],Ae[9],Ae[10],Ae[11];var ht=Ae[12],jt=Ae[13];return Ae[14],Ae[15],Ae.length===16?[fe,ge,He,tt,ht,jt]:null},ia={matrix:na,matrix3d:Gr},Qa={type:16,number:50,flags:Uo},Bo=[Qa,Qa],no={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ue,Ae){var fe=Ae.filter(lA);return fe.length!==2?Bo:[fe[0],fe[1]]}},Da={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},lo;(function(ue){ue.NORMAL="normal",ue.BREAK_ALL="break-all",ue.KEEP_ALL="keep-all"})(lo||(lo={}));for(var Do={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"break-all":return lo.BREAK_ALL;case"keep-all":return lo.KEEP_ALL;case"normal":default:return lo.NORMAL}}},Fi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ue,Ae){if(Ae.type===20)return{auto:!0,order:0};if(Ei(Ae))return{auto:!1,order:Ae.number};throw new Error("Invalid z-index number parsed")}},Zo={name:"time",parse:function(ue,Ae){if(Ae.type===15)switch(Ae.unit.toLowerCase()){case"s":return 1e3*Ae.number;case"ms":return Ae.number}throw new Error("Unsupported time type")}},Mi={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ue,Ae){return Ei(Ae)?Ae.number:1}},nA={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},io={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(to).map(function(fe){switch(fe.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(fe){return fe!==0})}},EA={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ue,Ae){var fe=[],ge=[];return Ae.forEach(function(He){switch(He.type){case 20:case 0:fe.push(He.value);break;case 17:fe.push(He.number.toString());break;case 4:ge.push(fe.join(" ")),fe.length=0;break}}),fe.length&&ge.push(fe.join(" ")),ge.map(function(He){return He.indexOf(" ")===-1?He:"'"+He+"'"})}},ei={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},xi={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ue,Ae){if(Ei(Ae))return Ae.number;if(to(Ae))switch(Ae.value){case"bold":return 700;case"normal":default:return 400}return 400}},Ui={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.filter(to).map(function(fe){return fe.value})}},Gs={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},aa=function(ue,Ae){return(ue&Ae)!==0},Ra={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){if(Ae.length===0)return[];var fe=Ae[0];return fe.type===20&&fe.value==="none"?[]:Ae}},Ta={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return null;var fe=Ae[0];if(fe.type===20&&fe.value==="none")return null;for(var ge=[],He=Ae.filter(cu),tt=0;tt<He.length;tt++){var ht=He[tt],jt=He[tt+1];if(ht.type===20){var Rt=jt&&Ei(jt)?jt.number:1;ge.push({counter:ht.value,increment:Rt})}}return ge}},va={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return[];for(var fe=[],ge=Ae.filter(cu),He=0;He<ge.length;He++){var tt=ge[He],ht=ge[He+1];if(to(tt)&&tt.value!=="none"){var jt=ht&&Ei(ht)?ht.number:0;fe.push({counter:tt.value,reset:jt})}}return fe}},ti={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(No).map(function(fe){return Zo.parse(ue,fe)})}},Sa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return null;var fe=Ae[0];if(fe.type===20&&fe.value==="none")return null;var ge=[],He=Ae.filter(eA);if(He.length%2!==0)return null;for(var tt=0;tt<He.length;tt+=2){var ht=He[tt].value,jt=He[tt+1].value;ge.push({open:ht,close:jt})}return ge}},Ja=function(ue,Ae,fe){if(!ue)return"";var ge=ue[Math.min(Ae,ue.length-1)];return ge?fe?ge.open:ge.close:""},ko={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.length===1&&ju(Ae[0],"none")?[]:ol(Ae).map(function(fe){for(var ge={color:255,offsetX:NA,offsetY:NA,blur:NA,spread:NA,inset:!1},He=0,tt=0;tt<fe.length;tt++){var ht=fe[tt];ju(ht,"inset")?ge.inset=!0:Il(ht)?(He===0?ge.offsetX=ht:He===1?ge.offsetY=ht:He===2?ge.blur=ht:ge.spread=ht,He++):ge.color=Cs.parse(ue,ht)}return ge})}},jo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ue,Ae){var fe=[0,1,2],ge=[];return Ae.filter(to).forEach(function(He){switch(He.value){case"stroke":ge.push(1);break;case"fill":ge.push(0);break;case"markers":ge.push(2);break}}),fe.forEach(function(He){ge.indexOf(He)===-1&&ge.push(He)}),ge}},Es={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},SA={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ue,Ae){return No(Ae)?Ae.number:0}},kl=function(){function ue(Ae,fe){var ge,He;this.animationDuration=Kr(Ae,ti,fe.animationDuration),this.backgroundClip=Kr(Ae,lc,fe.backgroundClip),this.backgroundColor=Kr(Ae,du,fe.backgroundColor),this.backgroundImage=Kr(Ae,ms,fe.backgroundImage),this.backgroundOrigin=Kr(Ae,ps,fe.backgroundOrigin),this.backgroundPosition=Kr(Ae,uc,fe.backgroundPosition),this.backgroundRepeat=Kr(Ae,Ql,fe.backgroundRepeat),this.backgroundSize=Kr(Ae,wu,fe.backgroundSize),this.borderTopColor=Kr(Ae,eh,fe.borderTopColor),this.borderRightColor=Kr(Ae,Kc,fe.borderRightColor),this.borderBottomColor=Kr(Ae,vf,fe.borderBottomColor),this.borderLeftColor=Kr(Ae,dc,fe.borderLeftColor),this.borderTopLeftRadius=Kr(Ae,Sm,fe.borderTopLeftRadius),this.borderTopRightRadius=Kr(Ae,zu,fe.borderTopRightRadius),this.borderBottomRightRadius=Kr(Ae,Tl,fe.borderBottomRightRadius),this.borderBottomLeftRadius=Kr(Ae,pl,fe.borderBottomLeftRadius),this.borderTopStyle=Kr(Ae,zc,fe.borderTopStyle),this.borderRightStyle=Kr(Ae,Sf,fe.borderRightStyle),this.borderBottomStyle=Kr(Ae,Bf,fe.borderBottomStyle),this.borderLeftStyle=Kr(Ae,Gc,fe.borderLeftStyle),this.borderTopWidth=Kr(Ae,Eg,fe.borderTopWidth),this.borderRightWidth=Kr(Ae,$c,fe.borderRightWidth),this.borderBottomWidth=Kr(Ae,th,fe.borderBottomWidth),this.borderLeftWidth=Kr(Ae,nh,fe.borderLeftWidth),this.boxShadow=Kr(Ae,ko,fe.boxShadow),this.color=Kr(Ae,vs,fe.color),this.direction=Kr(Ae,md,fe.direction),this.display=Kr(Ae,rh,fe.display),this.float=Kr(Ae,et,fe.cssFloat),this.fontFamily=Kr(Ae,EA,fe.fontFamily),this.fontSize=Kr(Ae,ei,fe.fontSize),this.fontStyle=Kr(Ae,Gs,fe.fontStyle),this.fontVariant=Kr(Ae,Ui,fe.fontVariant),this.fontWeight=Kr(Ae,xi,fe.fontWeight),this.letterSpacing=Kr(Ae,Bt,fe.letterSpacing),this.lineBreak=Kr(Ae,$t,fe.lineBreak),this.lineHeight=Kr(Ae,Zt,fe.lineHeight),this.listStyleImage=Kr(Ae,Sn,fe.listStyleImage),this.listStylePosition=Kr(Ae,dn,fe.listStylePosition),this.listStyleType=Kr(Ae,Tn,fe.listStyleType),this.marginTop=Kr(Ae,kn,fe.marginTop),this.marginRight=Kr(Ae,fr,fe.marginRight),this.marginBottom=Kr(Ae,or,fe.marginBottom),this.marginLeft=Kr(Ae,ur,fe.marginLeft),this.opacity=Kr(Ae,Mi,fe.opacity);var tt=Kr(Ae,Rr,fe.overflow);this.overflowX=tt[0],this.overflowY=tt[tt.length>1?1:0],this.overflowWrap=Kr(Ae,Er,fe.overflowWrap),this.paddingTop=Kr(Ae,xr,fe.paddingTop),this.paddingRight=Kr(Ae,Wr,fe.paddingRight),this.paddingBottom=Kr(Ae,wa,fe.paddingBottom),this.paddingLeft=Kr(Ae,Ia,fe.paddingLeft),this.paintOrder=Kr(Ae,jo,fe.paintOrder),this.position=Kr(Ae,Ha,fe.position),this.textAlign=Kr(Ae,ua,fe.textAlign),this.textDecorationColor=Kr(Ae,nA,(ge=fe.textDecorationColor)!==null&&ge!==void 0?ge:fe.color),this.textDecorationLine=Kr(Ae,io,(He=fe.textDecorationLine)!==null&&He!==void 0?He:fe.textDecoration),this.textShadow=Kr(Ae,ao,fe.textShadow),this.textTransform=Kr(Ae,Yr,fe.textTransform),this.transform=Kr(Ae,da,fe.transform),this.transformOrigin=Kr(Ae,no,fe.transformOrigin),this.visibility=Kr(Ae,Da,fe.visibility),this.webkitTextStrokeColor=Kr(Ae,Es,fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Kr(Ae,SA,fe.webkitTextStrokeWidth),this.wordBreak=Kr(Ae,Do,fe.wordBreak),this.zIndex=Kr(Ae,Fi,fe.zIndex)}return ue.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ue.prototype.isTransparent=function(){return DA(this.backgroundColor)},ue.prototype.isTransformed=function(){return this.transform!==null},ue.prototype.isPositioned=function(){return this.position!==0},ue.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ue.prototype.isFloating=function(){return this.float!==0},ue.prototype.isInlineLevel=function(){return aa(this.display,4)||aa(this.display,33554432)||aa(this.display,268435456)||aa(this.display,536870912)||aa(this.display,67108864)||aa(this.display,134217728)},ue}(),BA=function(){function ue(Ae,fe){this.content=Kr(Ae,Ra,fe.content),this.quotes=Kr(Ae,Sa,fe.quotes)}return ue}(),Al=function(){function ue(Ae,fe){this.counterIncrement=Kr(Ae,Ta,fe.counterIncrement),this.counterReset=Kr(Ae,va,fe.counterReset)}return ue}(),Kr=function(ue,Ae,fe){var ge=new Zr,He=fe!==null&&typeof fe!="undefined"?fe.toString():Ae.initialValue;ge.write(He);var tt=new Fa(ge.read());switch(Ae.type){case 2:var ht=tt.parseComponentValue();return Ae.parse(ue,to(ht)?ht.value:Ae.initialValue);case 0:return Ae.parse(ue,tt.parseComponentValue());case 1:return Ae.parse(ue,tt.parseComponentValues());case 4:return tt.parseComponentValue();case 3:switch(Ae.format){case"angle":return Os.parse(ue,tt.parseComponentValue());case"color":return Cs.parse(ue,tt.parseComponentValue());case"image":return is.parse(ue,tt.parseComponentValue());case"length":var jt=tt.parseComponentValue();return Il(jt)?jt:NA;case"length-percentage":var Rt=tt.parseComponentValue();return lA(Rt)?Rt:NA;case"time":return Zo.parse(ue,tt.parseComponentValue())}break}},Ts="data-html2canvas-debug",gc=function(ue){var Ae=ue.getAttribute(Ts);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ni=function(ue,Ae){var fe=gc(ue);return fe===1||Ae===fe},Oo=function(){function ue(Ae,fe){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,ni(fe,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(fe,null)),sh(fe)&&(this.styles.animationDuration.some(function(ge){return ge>0})&&(fe.style.animationDuration="0s"),this.styles.transform!==null&&(fe.style.transform="none")),this.bounds=je(this.context,fe),ni(fe,4)&&(this.flags|=16)}return ue}(),Xi="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",QA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ki=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),yo=0;yo<QA.length;yo++)ki[QA.charCodeAt(yo)]=yo;for(var Fs=function(ue){var Ae=ue.length*.75,fe=ue.length,ge,He=0,tt,ht,jt,Rt;ue[ue.length-1]==="="&&(Ae--,ue[ue.length-2]==="="&&Ae--);var Cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Un=Array.isArray(Cn)?Cn:new Uint8Array(Cn);for(ge=0;ge<fe;ge+=4)tt=ki[ue.charCodeAt(ge)],ht=ki[ue.charCodeAt(ge+1)],jt=ki[ue.charCodeAt(ge+2)],Rt=ki[ue.charCodeAt(ge+3)],Un[He++]=tt<<2|ht>>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return Cn},Ss=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=2)fe.push(ue[ge+1]<<8|ue[ge]);return fe},$s=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=4)fe.push(ue[ge+3]<<24|ue[ge+2]<<16|ue[ge+1]<<8|ue[ge]);return fe},ks=5,Rs=11,vl=2,bu=Rs-ks,Sl=65536>>ks,rA=1<<ks,As=rA-1,FA=1024>>ks,Yi=Sl+FA,Xl=Yi,fu=32,Cu=Xl+fu,Yl=65536>>Rs,pd=1<<bu,Zd=pd-1,Mo=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint16Array(Array.prototype.slice.call(ue,Ae,fe))},Ni=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint32Array(Array.prototype.slice.call(ue,Ae,fe))},ss=function(ue,Ae){var fe=Fs(ue),ge=Array.isArray(fe)?$s(fe):new Uint32Array(fe),He=Array.isArray(fe)?Ss(fe):new Uint16Array(fe),tt=24,ht=Mo(He,tt/2,ge[4]/2),jt=ge[5]===2?Mo(He,(tt+ge[4])/2):Ni(ge,Math.ceil((tt+ge[4])/4));return new $i(ge[0],ge[1],ge[2],ge[3],ht,jt)},$i=function(){function ue(Ae,fe,ge,He,tt,ht){this.initialValue=Ae,this.errorValue=fe,this.highStart=ge,this.highValueIndex=He,this.index=tt,this.data=ht}return ue.prototype.get=function(Ae){var fe;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>ks],fe=(fe<<vl)+(Ae&As),this.data[fe];if(Ae<=65535)return fe=this.index[Sl+(Ae-55296>>ks)],fe=(fe<<vl)+(Ae&As),this.data[fe];if(Ae<this.highStart)return fe=Cu-Yl+(Ae>>Rs),fe=this.index[fe],fe+=Ae>>ks&Zd,fe=this.index[fe],fe=(fe<<vl)+(Ae&As),this.data[fe];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ue}(),ls="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),aA=0;aA<ls.length;aA++)Bs[ls.charCodeAt(aA)]=aA;var Jl=1,vd=2,Sd=3,Wd=4,Fg=5,xg=7,Zc=8,ql=9,fc=10,_g=11,Vd=12,Lg=13,Xd=14,hc=15,Yd=function(ue){for(var Ae=[],fe=0,ge=ue.length;fe<ge;){var He=ue.charCodeAt(fe++);if(He>=55296&&He<=56319&&fe<ge){var tt=ue.charCodeAt(fe++);(tt&64512)===56320?Ae.push(((He&1023)<<10)+(tt&1023)+65536):(Ae.push(He),fe--)}else Ae.push(He)}return Ae},yf=function(){for(var ue=[],Ae=0;Ae<arguments.length;Ae++)ue[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var fe=ue.length;if(!fe)return"";for(var ge=[],He=-1,tt="";++He<fe;){var ht=ue[He];ht<=65535?ge.push(ht):(ht-=65536,ge.push((ht>>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},Ig=ss(Xi),di="\xD7",Jd="\xF7",wf=function(ue){return Ig.get(ue)},ah=function(ue,Ae,fe){var ge=fe-2,He=Ae[ge],tt=Ae[fe-1],ht=Ae[fe];if(tt===vd&&ht===Sd)return di;if(tt===vd||tt===Sd||tt===Wd||ht===vd||ht===Sd||ht===Wd)return Jd;if(tt===Zc&&[Zc,ql,_g,Vd].indexOf(ht)!==-1||(tt===_g||tt===ql)&&(ht===ql||ht===fc)||(tt===Vd||tt===fc)&&ht===fc||ht===Lg||ht===Fg||ht===xg||tt===Jl)return di;if(tt===Lg&&ht===Xd){for(;He===Fg;)He=Ae[--ge];if(He===Xd)return di}if(tt===hc&&ht===hc){for(var jt=0;He===hc;)jt++,He=Ae[--ge];if(jt%2===0)return di}return Jd},bf=function(ue){var Ae=Yd(ue),fe=Ae.length,ge=0,He=0,tt=Ae.map(wf);return{next:function(){if(ge>=fe)return{done:!0,value:null};for(var ht=di;ge<fe&&(ht=ah(Ae,tt,++ge))===di;);if(ht!==di||ge===fe){var jt=yf.apply(null,Ae.slice(He,ge));return He=ge,{value:jt,done:!1}}return{done:!0,value:null}}}},Ug=function(ue){for(var Ae=bf(ue),fe=[],ge;!(ge=Ae.next()).done;)ge.value&&fe.push(ge.value.slice());return fe},Ng=function(ue){var Ae=123;if(ue.createRange){var fe=ue.createRange();if(fe.getBoundingClientRect){var ge=ue.createElement("boundtest");ge.style.height=Ae+"px",ge.style.display="block",ue.body.appendChild(ge),fe.selectNode(ge);var He=fe.getBoundingClientRect(),tt=Math.round(He.height);if(ue.body.removeChild(ge),tt===Ae)return!0}}return!1},qd=function(ue){var Ae=ue.createElement("boundtest");Ae.style.width="50px",Ae.style.display="block",Ae.style.fontSize="12px",Ae.style.letterSpacing="0px",Ae.style.wordSpacing="0px",ue.body.appendChild(Ae);var fe=ue.createRange();Ae.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var ge=Ae.firstChild,He=Se(ge.data).map(function(Rt){return Le(Rt)}),tt=0,ht={},jt=He.every(function(Rt,Cn){fe.setStart(ge,tt),fe.setEnd(ge,tt+Rt.length);var Un=fe.getBoundingClientRect();tt+=Rt.length;var Rn=Un.x>ht.x||Un.y>ht.y;return ht=Un,Cn===0?!0:Rn});return ue.body.removeChild(Ae),jt},Cf=function(){return typeof new Image().crossOrigin!="undefined"},Gu=function(){return typeof new XMLHttpRequest().responseType=="string"},Dg=function(ue){var Ae=new Image,fe=ue.createElement("canvas"),ge=fe.getContext("2d");if(!ge)return!1;Ae.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{ge.drawImage(Ae,0,0),fe.toDataURL()}catch(He){return!1}return!0},eg=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},Pf=function(ue){var Ae=ue.createElement("canvas"),fe=100;Ae.width=fe,Ae.height=fe;var ge=Ae.getContext("2d");if(!ge)return Promise.reject(!1);ge.fillStyle="rgb(0, 255, 0)",ge.fillRect(0,0,fe,fe);var He=new Image,tt=Ae.toDataURL();He.src=tt;var ht=Bd(fe,fe,0,0,He);return ge.fillStyle="red",ge.fillRect(0,0,fe,fe),tg(ht).then(function(jt){ge.drawImage(jt,0,0);var Rt=ge.getImageData(0,0,fe,fe).data;ge.fillStyle="red",ge.fillRect(0,0,fe,fe);var Cn=ue.createElement("div");return Cn.style.backgroundImage="url("+tt+")",Cn.style.height=fe+"px",eg(Rt)?tg(Bd(fe,fe,0,0,Cn)):Promise.reject(!1)}).then(function(jt){return ge.drawImage(jt,0,0),eg(ge.getImageData(0,0,fe,fe).data)}).catch(function(){return!1})},Bd=function(ue,Ae,fe,ge,He){var tt="http://www.w3.org/2000/svg",ht=document.createElementNS(tt,"svg"),jt=document.createElementNS(tt,"foreignObject");return ht.setAttributeNS(null,"width",ue.toString()),ht.setAttributeNS(null,"height",Ae.toString()),jt.setAttributeNS(null,"width","100%"),jt.setAttributeNS(null,"height","100%"),jt.setAttributeNS(null,"x",fe.toString()),jt.setAttributeNS(null,"y",ge.toString()),jt.setAttributeNS(null,"externalResourcesRequired","true"),ht.appendChild(jt),jt.appendChild(He),ht},tg=function(ue){return new Promise(function(Ae,fe){var ge=new Image;ge.onload=function(){return Ae(ge)},ge.onerror=fe,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},us={get SUPPORT_RANGE_BOUNDS(){var ue=Ng(document);return Object.defineProperty(us,"SUPPORT_RANGE_BOUNDS",{value:ue}),ue},get SUPPORT_WORD_BREAKING(){var ue=us.SUPPORT_RANGE_BOUNDS&&qd(document);return Object.defineProperty(us,"SUPPORT_WORD_BREAKING",{value:ue}),ue},get SUPPORT_SVG_DRAWING(){var ue=Dg(document);return Object.defineProperty(us,"SUPPORT_SVG_DRAWING",{value:ue}),ue},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ue=typeof Array.from=="function"&&typeof window.fetch=="function"?Pf(document):Promise.resolve(!1);return Object.defineProperty(us,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ue}),ue},get SUPPORT_CORS_IMAGES(){var ue=Cf();return Object.defineProperty(us,"SUPPORT_CORS_IMAGES",{value:ue}),ue},get SUPPORT_RESPONSE_TYPE(){var ue=Gu();return Object.defineProperty(us,"SUPPORT_RESPONSE_TYPE",{value:ue}),ue},get SUPPORT_CORS_XHR(){var ue="withCredentials"in new XMLHttpRequest;return Object.defineProperty(us,"SUPPORT_CORS_XHR",{value:ue}),ue},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ue=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(us,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ue}),ue}},Pu=function(){function ue(Ae,fe){this.text=Ae,this.bounds=fe}return ue}(),ng=function(ue,Ae,fe,ge){var He=$u(Ae,fe),tt=[],ht=0;return He.forEach(function(jt){if(fe.textDecorationLine.length||jt.trim().length>0)if(us.SUPPORT_RANGE_BOUNDS){var Rt=si(ge,ht,jt.length).getClientRects();if(Rt.length>1){var Cn=Ri(jt),Un=0;Cn.forEach(function(dr){tt.push(new Pu(dr,Ge.fromDOMRectList(ue,si(ge,Un+ht,dr.length).getClientRects()))),Un+=dr.length})}else tt.push(new Pu(jt,Ge.fromDOMRectList(ue,Rt)))}else{var Rn=ge.splitText(jt.length);tt.push(new Pu(jt,oh(ue,ge))),ge=Rn}else us.SUPPORT_RANGE_BOUNDS||(ge=ge.splitText(jt.length));ht+=jt.length}),tt},oh=function(ue,Ae){var fe=Ae.ownerDocument;if(fe){var ge=fe.createElement("html2canvaswrapper");ge.appendChild(Ae.cloneNode(!0));var He=Ae.parentNode;if(He){He.replaceChild(ge,Ae);var tt=je(ue,ge);return ge.firstChild&&He.replaceChild(ge.firstChild,ge),tt}}return Ge.EMPTY},si=function(ue,Ae,fe){var ge=ue.ownerDocument;if(!ge)throw new Error("Node has no owner document");var He=ge.createRange();return He.setStart(ue,Ae),He.setEnd(ue,Ae+fe),He},Ri=function(ue){if(us.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(ue)).map(function(fe){return fe.segment})}return Ug(ue)},Rl=function(ue,Ae){if(us.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(fe.segment(ue)).map(function(ge){return ge.segment})}return Ef(ue,Ae)},$u=function(ue,Ae){return Ae.letterSpacing!==0?Ri(ue):Rl(ue,Ae)},Zu=[32,160,4961,65792,65793,4153,4241],Ef=function(ue,Ae){for(var fe=oi(ue,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),ge=[],He,tt=function(){if(He.value){var ht=He.value.slice(),jt=Se(ht),Rt="";jt.forEach(function(Cn){Zu.indexOf(Cn)===-1?Rt+=Le(Cn):(Rt.length&&ge.push(Rt),ge.push(Le(Cn)),Rt="")}),Rt.length&&ge.push(Rt)}};!(He=fe.next()).done;)tt();return ge},Og=function(){function ue(Ae,fe,ge){this.text=Qg(fe.data,ge.textTransform),this.textBounds=ng(Ae,this.text,ge,fe)}return ue}(),Qg=function(ue,Ae){switch(Ae){case 1:return ue.toLowerCase();case 3:return ue.replace(Tg,kg);case 2:return ue.toUpperCase();default:return ue}},Tg=/(^|\s|:|-|\(|\))([a-z])/g,kg=function(ue,Ae,fe){return ue.length>0?Ae+fe.toUpperCase():ue},e0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.src=ge.currentSrc||ge.src,He.intrinsicWidth=ge.naturalWidth,He.intrinsicHeight=ge.naturalHeight,He.context.cache.addImage(He.src),He}return Ae}(Oo),t0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.canvas=ge,He.intrinsicWidth=ge.width,He.intrinsicHeight=ge.height,He}return Ae}(Oo),n0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this,tt=new XMLSerializer,ht=je(fe,ge);return ge.setAttribute("width",ht.width+"px"),ge.setAttribute("height",ht.height+"px"),He.svg="data:image/svg+xml,"+encodeURIComponent(tt.serializeToString(ge)),He.intrinsicWidth=ge.width.baseVal.value,He.intrinsicHeight=ge.height.baseVal.value,He.context.cache.addImage(He.svg),He}return Ae}(Oo),r0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.value=ge.value,He}return Ae}(Oo),ih=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.start=ge.start,He.reversed=typeof ge.reversed=="boolean"&&ge.reversed===!0,He}return Ae}(Oo),mc=[{type:15,flags:0,unit:"px",number:3}],Bm=[{type:16,flags:0,number:50}],ym=function(ue){return ue.width>ue.height?new Ge(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width<ue.height?new Ge(ue.left,ue.top+(ue.height-ue.width)/2,ue.width,ue.width):ue},a0=function(ue){var Ae=ue.type===Rg?new Array(ue.value.length+1).join("\u2022"):ue.value;return Ae.length===0?ue.placeholder||"":Ae},Ff="checkbox",xf="radio",Rg="password",_f=707406591,jg=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;switch(He.type=ge.type.toLowerCase(),He.checked=ge.checked,He.value=a0(ge),(He.type===Ff||He.type===xf)&&(He.styles.backgroundColor=3739148031,He.styles.borderTopColor=He.styles.borderRightColor=He.styles.borderBottomColor=He.styles.borderLeftColor=2779096575,He.styles.borderTopWidth=He.styles.borderRightWidth=He.styles.borderBottomWidth=He.styles.borderLeftWidth=1,He.styles.borderTopStyle=He.styles.borderRightStyle=He.styles.borderBottomStyle=He.styles.borderLeftStyle=1,He.styles.backgroundClip=[0],He.styles.backgroundOrigin=[0],He.bounds=ym(He.bounds)),He.type){case Ff:He.styles.borderTopRightRadius=He.styles.borderTopLeftRadius=He.styles.borderBottomRightRadius=He.styles.borderBottomLeftRadius=mc;break;case xf:He.styles.borderTopRightRadius=He.styles.borderTopLeftRadius=He.styles.borderBottomRightRadius=He.styles.borderBottomLeftRadius=Bm;break}return He}return Ae}(Oo),o0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this,tt=ge.options[ge.selectedIndex||0];return He.value=tt&&tt.text||"",He}return Ae}(Oo),Ah=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.value=ge.value,He}return Ae}(Oo),i0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;He.src=ge.src,He.width=parseInt(ge.width,10)||0,He.height=parseInt(ge.height,10)||0,He.backgroundColor=He.styles.backgroundColor;try{if(ge.contentWindow&&ge.contentWindow.document&&ge.contentWindow.document.documentElement){He.tree=s0(fe,ge.contentWindow.document.documentElement);var tt=ge.contentWindow.document.documentElement?Ol(fe,getComputedStyle(ge.contentWindow.document.documentElement).backgroundColor):tA.TRANSPARENT,ht=ge.contentWindow.document.body?Ol(fe,getComputedStyle(ge.contentWindow.document.body).backgroundColor):tA.TRANSPARENT;He.backgroundColor=DA(tt)?DA(ht)?He.styles.backgroundColor:ht:tt}}catch(jt){}return He}return Ae}(Oo),Mg=["OL","UL","MENU"],rg=function(ue,Ae,fe,ge){for(var He=Ae.firstChild,tt=void 0;He;He=tt)if(tt=He.nextSibling,l0(He)&&He.data.trim().length>0)fe.textNodes.push(new Og(ue,He,fe.styles));else if(ag(He))if(h0(He)&&He.assignedNodes)He.assignedNodes().forEach(function(jt){return rg(ue,jt,fe,ge)});else{var ht=A0(ue,He);ht.styles.isVisible()&&(wm(He,ht,ge)?ht.flags|=4:bm(ht.styles)&&(ht.flags|=2),Mg.indexOf(He.tagName)!==-1&&(ht.flags|=8),fe.elements.push(ht),He.slot,He.shadowRoot?rg(ue,He.shadowRoot,ht,ge):!Hg(He)&&!u0(He)&&!If(He)&&rg(ue,He,ht,ge))}},A0=function(ue,Ae){return uh(Ae)?new e0(ue,Ae):c0(Ae)?new t0(ue,Ae):u0(Ae)?new n0(ue,Ae):Cm(Ae)?new r0(ue,Ae):Pm(Ae)?new ih(ue,Ae):Em(Ae)?new jg(ue,Ae):If(Ae)?new o0(ue,Ae):Hg(Ae)?new Ah(ue,Ae):g0(Ae)?new i0(ue,Ae):new Oo(ue,Ae)},s0=function(ue,Ae){var fe=A0(ue,Ae);return fe.flags|=4,rg(ue,Ae,fe,fe),fe},wm=function(ue,Ae,fe){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||lh(ue)&&fe.styles.isTransparent()},bm=function(ue){return ue.isPositioned()||ue.isFloating()},l0=function(ue){return ue.nodeType===Node.TEXT_NODE},ag=function(ue){return ue.nodeType===Node.ELEMENT_NODE},sh=function(ue){return ag(ue)&&typeof ue.style!="undefined"&&!Lf(ue)},Lf=function(ue){return typeof ue.className=="object"},Cm=function(ue){return ue.tagName==="LI"},Pm=function(ue){return ue.tagName==="OL"},Em=function(ue){return ue.tagName==="INPUT"},Fm=function(ue){return ue.tagName==="HTML"},u0=function(ue){return ue.tagName==="svg"},lh=function(ue){return ue.tagName==="BODY"},c0=function(ue){return ue.tagName==="CANVAS"},d0=function(ue){return ue.tagName==="VIDEO"},uh=function(ue){return ue.tagName==="IMG"},g0=function(ue){return ue.tagName==="IFRAME"},f0=function(ue){return ue.tagName==="STYLE"},ch=function(ue){return ue.tagName==="SCRIPT"},Hg=function(ue){return ue.tagName==="TEXTAREA"},If=function(ue){return ue.tagName==="SELECT"},h0=function(ue){return ue.tagName==="SLOT"},m0=function(ue){return ue.tagName.indexOf("-")>0},Pp=function(){function ue(){this.counters={}}return ue.prototype.getCounterValue=function(Ae){var fe=this.counters[Ae];return fe&&fe.length?fe[fe.length-1]:1},ue.prototype.getCounterValues=function(Ae){var fe=this.counters[Ae];return fe||[]},ue.prototype.pop=function(Ae){var fe=this;Ae.forEach(function(ge){return fe.counters[ge].pop()})},ue.prototype.parse=function(Ae){var fe=this,ge=Ae.counterIncrement,He=Ae.counterReset,tt=!0;ge!==null&&ge.forEach(function(jt){var Rt=fe.counters[jt.counter];Rt&&jt.increment!==0&&(tt=!1,Rt.length||Rt.push(1),Rt[Math.max(0,Rt.length-1)]+=jt.increment)});var ht=[];return tt&&He.forEach(function(jt){var Rt=fe.counters[jt.counter];ht.push(jt.counter),Rt||(Rt=fe.counters[jt.counter]=[]),Rt.push(jt.reset)}),ht},ue}(),dh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},gh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},xm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},p0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},yd=function(ue,Ae,fe,ge,He,tt){return ue<Ae||ue>fe?zg(ue,He,tt.length>0):ge.integers.reduce(function(ht,jt,Rt){for(;ue>=jt;)ue-=jt,ht+=ge.values[Rt];return ht},"")+tt},_m=function(ue,Ae,fe,ge){var He="";do fe||ue--,He=ge(ue)+He,ue/=Ae;while(ue*Ae>=Ae);return He},JA=function(ue,Ae,fe,ge,He){var tt=fe-Ae+1;return(ue<0?"-":"")+(_m(Math.abs(ue),tt,ge,function(ht){return Le(Math.floor(ht%tt)+Ae)})+He)},Wc=function(ue,Ae,fe){fe===void 0&&(fe=". ");var ge=Ae.length;return _m(Math.abs(ue),ge,!1,function(He){return Ae[Math.floor(He%ge)]})+fe},wd=1,pc=2,vc=4,Kg=8,Sc=function(ue,Ae,fe,ge,He,tt){if(ue<-9999||ue>9999)return zg(ue,4,He.length>0);var ht=Math.abs(ue),jt=He;if(ht===0)return Ae[0]+jt;for(var Rt=0;ht>0&&Rt<=4;Rt++){var Cn=ht%10;Cn===0&&aa(tt,wd)&&jt!==""?jt=Ae[Cn]+jt:Cn>1||Cn===1&&Rt===0||Cn===1&&Rt===1&&aa(tt,pc)||Cn===1&&Rt===1&&aa(tt,vc)&&ue>100||Cn===1&&Rt>1&&aa(tt,Kg)?jt=Ae[Cn]+(Rt>0?fe[Rt-1]:"")+jt:Cn===1&&Rt>0&&(jt=fe[Rt-1]+jt),ht=Math.floor(ht/10)}return(ue<0?ge:"")+jt},v0="\u5341\u767E\u5343\u842C",Lm="\u62FE\u4F70\u4EDF\u842C",S0="\u30DE\u30A4\u30CA\u30B9",fh="\uB9C8\uC774\uB108\uC2A4",zg=function(ue,Ae,fe){var ge=fe?". ":"",He=fe?"\u3001":"",tt=fe?", ":"",ht=fe?" ":"";switch(Ae){case 0:return"\u2022"+ht;case 1:return"\u25E6"+ht;case 2:return"\u25FE"+ht;case 5:var jt=JA(ue,48,57,!0,ge);return jt.length<4?"0"+jt:jt;case 4:return Wc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",He);case 6:return yd(ue,1,3999,dh,3,ge).toLowerCase();case 7:return yd(ue,1,3999,dh,3,ge);case 8:return JA(ue,945,969,!1,ge);case 9:return JA(ue,97,122,!1,ge);case 10:return JA(ue,65,90,!1,ge);case 11:return JA(ue,1632,1641,!0,ge);case 12:case 49:return yd(ue,1,9999,gh,3,ge);case 35:return yd(ue,1,9999,gh,3,ge).toLowerCase();case 13:return JA(ue,2534,2543,!0,ge);case 14:case 30:return JA(ue,6112,6121,!0,ge);case 15:return Wc(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",He);case 16:return Wc(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",He);case 17:case 48:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",v0,"\u8CA0",He,pc|vc|Kg);case 47:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Lm,"\u8CA0",He,wd|pc|vc|Kg);case 42:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",v0,"\u8D1F",He,pc|vc|Kg);case 41:return Sc(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Lm,"\u8D1F",He,wd|pc|vc|Kg);case 26:return Sc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",S0,He,0);case 25:return Sc(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",S0,He,wd|pc|vc);case 31:return Sc(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",fh,tt,wd|pc|vc);case 33:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",fh,tt,0);case 32:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",fh,tt,wd|pc|vc);case 18:return JA(ue,2406,2415,!0,ge);case 20:return yd(ue,1,19999,p0,3,ge);case 21:return JA(ue,2790,2799,!0,ge);case 22:return JA(ue,2662,2671,!0,ge);case 22:return yd(ue,1,10999,xm,3,ge);case 23:return Wc(ue,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Wc(ue,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return JA(ue,3302,3311,!0,ge);case 28:return Wc(ue,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",He);case 29:return Wc(ue,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",He);case 34:return JA(ue,3792,3801,!0,ge);case 37:return JA(ue,6160,6169,!0,ge);case 38:return JA(ue,4160,4169,!0,ge);case 39:return JA(ue,2918,2927,!0,ge);case 40:return JA(ue,1776,1785,!0,ge);case 43:return JA(ue,3046,3055,!0,ge);case 44:return JA(ue,3174,3183,!0,ge);case 45:return JA(ue,3664,3673,!0,ge);case 46:return JA(ue,3872,3881,!0,ge);case 3:default:return JA(ue,48,57,!0,ge)}},B0="data-html2canvas-ignore",Im=function(){function ue(Ae,fe,ge){if(this.context=Ae,this.options=ge,this.scrolledElements=[],this.referenceElement=fe,this.counters=new Pp,this.quoteDepth=0,!fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(fe.ownerDocument.documentElement,!1)}return ue.prototype.toIFrame=function(Ae,fe){var ge=this,He=Um(Ae,fe);if(!He.contentWindow)return Promise.reject("Unable to find iframe window");var tt=Ae.defaultView.pageXOffset,ht=Ae.defaultView.pageYOffset,jt=He.contentWindow,Rt=jt.document,Cn=$g(He).then(function(){return be(ge,void 0,void 0,function(){var Un,Rn;return ze(this,function(dr){switch(dr.label){case 0:return this.scrolledElements.forEach(b0),jt&&(jt.scrollTo(fe.left,fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jt.scrollY!==fe.top||jt.scrollX!==fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jt.scrollX-fe.left,jt.scrollY-fe.top,0,0))),Un=this.options.onclone,Rn=this.clonedReferenceElement,typeof Rn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rt.fonts&&Rt.fonts.ready?[4,Rt.fonts.ready]:[3,2];case 1:dr.sent(),dr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Nm(Rt)]:[3,4];case 3:dr.sent(),dr.label=4;case 4:return typeof Un=="function"?[2,Promise.resolve().then(function(){return Un(Rt,Rn)}).then(function(){return He})]:[2,He]}})})});return Rt.open(),Rt.write(Dm(document.doctype)+"<html></html>"),w0(this.referenceElement.ownerDocument,tt,ht),Rt.replaceChild(Rt.adoptNode(this.documentElement),Rt.documentElement),Rt.close(),Cn},ue.prototype.createElementClone=function(Ae){if(ni(Ae,2))debugger;if(c0(Ae))return this.createCanvasClone(Ae);if(d0(Ae))return this.createVideoClone(Ae);if(f0(Ae))return this.createStyleClone(Ae);var fe=Ae.cloneNode(!1);return uh(fe)&&(uh(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(fe.src=Ae.currentSrc,fe.srcset=""),fe.loading==="lazy"&&(fe.loading="eager")),m0(fe)?this.createCustomElementClone(fe):fe},ue.prototype.createCustomElementClone=function(Ae){var fe=document.createElement("html2canvascustomelement");return Uf(Ae.style,fe),fe},ue.prototype.createStyleClone=function(Ae){try{var fe=Ae.sheet;if(fe&&fe.cssRules){var ge=[].slice.call(fe.cssRules,0).reduce(function(tt,ht){return ht&&typeof ht.cssText=="string"?tt+ht.cssText:tt},""),He=Ae.cloneNode(!1);return He.textContent=ge,He}}catch(tt){if(this.context.logger.error("Unable to access cssRules property",tt),tt.name!=="SecurityError")throw tt}return Ae.cloneNode(!1)},ue.prototype.createCanvasClone=function(Ae){var fe;if(this.options.inlineImages&&Ae.ownerDocument){var ge=Ae.ownerDocument.createElement("img");try{return ge.src=Ae.toDataURL(),ge}catch(Cn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var He=Ae.cloneNode(!1);try{He.width=Ae.width,He.height=Ae.height;var tt=Ae.getContext("2d"),ht=He.getContext("2d");if(ht)if(!this.options.allowTaint&&tt)ht.putImageData(tt.getImageData(0,0,Ae.width,Ae.height),0,0);else{var jt=(fe=Ae.getContext("webgl2"))!==null&&fe!==void 0?fe:Ae.getContext("webgl");if(jt){var Rt=jt.getContextAttributes();(Rt==null?void 0:Rt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}ht.drawImage(Ae,0,0)}return He}catch(Cn){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return He},ue.prototype.createVideoClone=function(Ae){var fe=Ae.ownerDocument.createElement("canvas");fe.width=Ae.offsetWidth,fe.height=Ae.offsetHeight;var ge=fe.getContext("2d");try{return ge&&(ge.drawImage(Ae,0,0,fe.width,fe.height),this.options.allowTaint||ge.getImageData(0,0,fe.width,fe.height)),fe}catch(tt){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var He=Ae.ownerDocument.createElement("canvas");return He.width=Ae.offsetWidth,He.height=Ae.offsetHeight,He},ue.prototype.appendChildNode=function(Ae,fe,ge){(!ag(fe)||!ch(fe)&&!fe.hasAttribute(B0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(fe)))&&(!this.options.copyStyles||!ag(fe)||!f0(fe))&&Ae.appendChild(this.cloneNode(fe,ge))},ue.prototype.cloneChildNodes=function(Ae,fe,ge){for(var He=this,tt=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;tt;tt=tt.nextSibling)if(ag(tt)&&h0(tt)&&typeof tt.assignedNodes=="function"){var ht=tt.assignedNodes();ht.length&&ht.forEach(function(jt){return He.appendChildNode(fe,jt,ge)})}else this.appendChildNode(fe,tt,ge)},ue.prototype.cloneNode=function(Ae,fe){if(l0(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var ge=Ae.ownerDocument.defaultView;if(ge&&ag(Ae)&&(sh(Ae)||Lf(Ae))){var He=this.createElementClone(Ae);He.style.transitionProperty="none";var tt=ge.getComputedStyle(Ae),ht=ge.getComputedStyle(Ae,":before"),jt=ge.getComputedStyle(Ae,":after");this.referenceElement===Ae&&sh(He)&&(this.clonedReferenceElement=He),lh(He)&&Fp(He);var Rt=this.counters.parse(new Al(this.context,tt)),Cn=this.resolvePseudoContent(Ae,He,ht,Gg.BEFORE);m0(Ae)&&(fe=!0),d0(Ae)||this.cloneChildNodes(Ae,He,fe),Cn&&He.insertBefore(Cn,He.firstChild);var Un=this.resolvePseudoContent(Ae,He,jt,Gg.AFTER);return Un&&He.appendChild(Un),this.counters.pop(Rt),(tt&&(this.options.copyStyles||Lf(Ae))&&!g0(Ae)||fe)&&Uf(tt,He),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([He,Ae.scrollLeft,Ae.scrollTop]),(Hg(Ae)||If(Ae))&&(Hg(He)||If(He))&&(He.value=Ae.value),He}return Ae.cloneNode(!1)},ue.prototype.resolvePseudoContent=function(Ae,fe,ge,He){var tt=this;if(ge){var ht=ge.content,jt=fe.ownerDocument;if(!(!jt||!ht||ht==="none"||ht==="-moz-alt-content"||ge.display==="none")){this.counters.parse(new Al(this.context,ge));var Rt=new BA(this.context,ge),Cn=jt.createElement("html2canvaspseudoelement");Uf(ge,Cn),Rt.content.forEach(function(Rn){if(Rn.type===0)Cn.appendChild(jt.createTextNode(Rn.value));else if(Rn.type===22){var dr=jt.createElement("img");dr.src=Rn.value,dr.style.opacity="1",Cn.appendChild(dr)}else if(Rn.type===18){if(Rn.name==="attr"){var Ca=Rn.values.filter(to);Ca.length&&Cn.appendChild(jt.createTextNode(Ae.getAttribute(Ca[0].value)||""))}else if(Rn.name==="counter"){var jr=Rn.values.filter(Ll),oa=jr[0],Lo=jr[1];if(oa&&to(oa)){var ka=tt.counters.getCounterValue(oa.value),Oa=Lo&&to(Lo)?Tn.parse(tt.context,Lo.value):3;Cn.appendChild(jt.createTextNode(zg(ka,Oa,!1)))}}else if(Rn.name==="counters"){var ho=Rn.values.filter(Ll),oa=ho[0],Ko=ho[1],Lo=ho[2];if(oa&&to(oa)){var Ao=tt.counters.getCounterValues(oa.value),fa=Lo&&to(Lo)?Tn.parse(tt.context,Lo.value):3,gi=Ko&&Ko.type===0?Ko.value:"",Vo=Ao.map(function(Ml){return zg(Ml,fa,!1)}).join(gi);Cn.appendChild(jt.createTextNode(Vo))}}}else if(Rn.type===20)switch(Rn.value){case"open-quote":Cn.appendChild(jt.createTextNode(Ja(Rt.quotes,tt.quoteDepth++,!0)));break;case"close-quote":Cn.appendChild(jt.createTextNode(Ja(Rt.quotes,--tt.quoteDepth,!1)));break;default:Cn.appendChild(jt.createTextNode(Rn.value))}}),Cn.className=hh+" "+Nf;var Un=He===Gg.BEFORE?" "+hh:" "+Nf;return Lf(fe)?fe.className.baseValue+=Un:fe.className+=Un,Cn}}},ue.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},ue}(),Gg;(function(ue){ue[ue.BEFORE=0]="BEFORE",ue[ue.AFTER=1]="AFTER"})(Gg||(Gg={}));var Um=function(ue,Ae){var fe=ue.createElement("iframe");return fe.className="html2canvas-container",fe.style.visibility="hidden",fe.style.position="fixed",fe.style.left="-10000px",fe.style.top="0px",fe.style.border="0",fe.width=Ae.width.toString(),fe.height=Ae.height.toString(),fe.scrolling="no",fe.setAttribute(B0,"true"),ue.body.appendChild(fe),fe},y0=function(ue){return new Promise(function(Ae){if(ue.complete){Ae();return}if(!ue.src){Ae();return}ue.onload=Ae,ue.onerror=Ae})},Nm=function(ue){return Promise.all([].slice.call(ue.images,0).map(y0))},$g=function(ue){return new Promise(function(Ae,fe){var ge=ue.contentWindow;if(!ge)return fe("No window assigned for iframe");var He=ge.document;ge.onload=ue.onload=function(){ge.onload=ue.onload=null;var tt=setInterval(function(){He.body.childNodes.length>0&&He.readyState==="complete"&&(clearInterval(tt),Ae(ue))},50)}})},Ep=["all","d","content"],Uf=function(ue,Ae){for(var fe=ue.length-1;fe>=0;fe--){var ge=ue.item(fe);Ep.indexOf(ge)===-1&&Ae.style.setProperty(ge,ue.getPropertyValue(ge))}return Ae},Dm=function(ue){var Ae="";return ue&&(Ae+="<!DOCTYPE ",ue.name&&(Ae+=ue.name),ue.internalSubset&&(Ae+=ue.internalSubset),ue.publicId&&(Ae+='"'+ue.publicId+'"'),ue.systemId&&(Ae+='"'+ue.systemId+'"'),Ae+=">"),Ae},w0=function(ue,Ae,fe){ue&&ue.defaultView&&(Ae!==ue.defaultView.pageXOffset||fe!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(Ae,fe)},b0=function(ue){var Ae=ue[0],fe=ue[1],ge=ue[2];Ae.scrollLeft=fe,Ae.scrollTop=ge},C0=":before",P0=":after",hh="___html2canvas___pseudoelement_before",Nf="___html2canvas___pseudoelement_after",E0=`{
content: "" !important;
display: none !important;
}`,Fp=function(ue){F0(ue,"."+hh+C0+E0+`
.`+Nf+P0+E0)},F0=function(ue,Ae){var fe=ue.ownerDocument;if(fe){var ge=fe.createElement("style");ge.textContent=Ae,ue.appendChild(ge)}},x0=function(){function ue(){}return ue.getOrigin=function(Ae){var fe=ue._link;return fe?(fe.href=Ae,fe.href=fe.href,fe.protocol+fe.hostname+fe.port):"about:blank"},ue.isSameOrigin=function(Ae){return ue.getOrigin(Ae)===ue._origin},ue.setContext=function(Ae){ue._link=Ae.document.createElement("a"),ue._origin=ue.getOrigin(Ae.location.href)},ue._origin="about:blank",ue}(),eu=function(){function ue(Ae,fe){this.context=Ae,this._options=fe,this._cache={}}return ue.prototype.addImage=function(Ae){var fe=Promise.resolve();return this.has(Ae)||(vh(Ae)||Df(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),fe},ue.prototype.match=function(Ae){return this._cache[Ae]},ue.prototype.loadImage=function(Ae){return be(this,void 0,void 0,function(){var fe,ge,He,tt,ht=this;return ze(this,function(jt){switch(jt.label){case 0:return fe=x0.isSameOrigin(Ae),ge=!Zg(Ae)&&this._options.useCORS===!0&&us.SUPPORT_CORS_IMAGES&&!fe,He=!Zg(Ae)&&!fe&&!vh(Ae)&&typeof this._options.proxy=="string"&&us.SUPPORT_CORS_XHR&&!ge,!fe&&this._options.allowTaint===!1&&!Zg(Ae)&&!vh(Ae)&&!He&&!ge?[2]:(tt=Ae,He?[4,this.proxy(tt)]:[3,2]);case 1:tt=jt.sent(),jt.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(Rt,Cn){var Un=new Image;Un.onload=function(){return Rt(Un)},Un.onerror=Cn,(Om(tt)||ge)&&(Un.crossOrigin="anonymous"),Un.src=tt,Un.complete===!0&&setTimeout(function(){return Rt(Un)},500),ht._options.imageTimeout>0&&setTimeout(function(){return Cn("Timed out ("+ht._options.imageTimeout+"ms) loading image")},ht._options.imageTimeout)})];case 3:return[2,jt.sent()]}})})},ue.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},ue.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ue.prototype.proxy=function(Ae){var fe=this,ge=this._options.proxy;if(!ge)throw new Error("No proxy defined");var He=Ae.substring(0,256);return new Promise(function(tt,ht){var jt=us.SUPPORT_RESPONSE_TYPE?"blob":"text",Rt=new XMLHttpRequest;Rt.onload=function(){if(Rt.status===200)if(jt==="text")tt(Rt.response);else{var Rn=new FileReader;Rn.addEventListener("load",function(){return tt(Rn.result)},!1),Rn.addEventListener("error",function(dr){return ht(dr)},!1),Rn.readAsDataURL(Rt.response)}else ht("Failed to proxy resource "+He+" with status code "+Rt.status)},Rt.onerror=ht;var Cn=ge.indexOf("?")>-1?"&":"?";if(Rt.open("GET",""+ge+Cn+"url="+encodeURIComponent(Ae)+"&responseType="+jt),jt!=="text"&&Rt instanceof XMLHttpRequest&&(Rt.responseType=jt),fe._options.imageTimeout){var Un=fe._options.imageTimeout;Rt.timeout=Un,Rt.ontimeout=function(){return ht("Timed out ("+Un+"ms) proxying "+He)}}Rt.send()})},ue}(),mh=/^data:image\/svg\+xml/i,_0=/^data:image\/.*;base64,/i,ph=/^data:image\/.*/i,Df=function(ue){return us.SUPPORT_SVG_DRAWING||!Qm(ue)},Zg=function(ue){return ph.test(ue)},Om=function(ue){return _0.test(ue)},vh=function(ue){return ue.substr(0,4)==="blob"},Qm=function(ue){return ue.substr(-3).toLowerCase()==="svg"||mh.test(ue)},ba=function(){function ue(Ae,fe){this.type=0,this.x=Ae,this.y=fe}return ue.prototype.add=function(Ae,fe){return new ue(this.x+Ae,this.y+fe)},ue}(),bd=function(ue,Ae,fe){return new ba(ue.x+(Ae.x-ue.x)*fe,ue.y+(Ae.y-ue.y)*fe)},Of=function(){function ue(Ae,fe,ge,He){this.type=1,this.start=Ae,this.startControl=fe,this.endControl=ge,this.end=He}return ue.prototype.subdivide=function(Ae,fe){var ge=bd(this.start,this.startControl,Ae),He=bd(this.startControl,this.endControl,Ae),tt=bd(this.endControl,this.end,Ae),ht=bd(ge,He,Ae),jt=bd(He,tt,Ae),Rt=bd(ht,jt,Ae);return fe?new ue(this.start,ge,ht,Rt):new ue(Rt,jt,tt,this.end)},ue.prototype.add=function(Ae,fe){return new ue(this.start.add(Ae,fe),this.startControl.add(Ae,fe),this.endControl.add(Ae,fe),this.end.add(Ae,fe))},ue.prototype.reverse=function(){return new ue(this.end,this.endControl,this.startControl,this.start)},ue}(),hu=function(ue){return ue.type===1},Tm=function(){function ue(Ae){var fe=Ae.styles,ge=Ae.bounds,He=Ul(fe.borderTopLeftRadius,ge.width,ge.height),tt=He[0],ht=He[1],jt=Ul(fe.borderTopRightRadius,ge.width,ge.height),Rt=jt[0],Cn=jt[1],Un=Ul(fe.borderBottomRightRadius,ge.width,ge.height),Rn=Un[0],dr=Un[1],Ca=Ul(fe.borderBottomLeftRadius,ge.width,ge.height),jr=Ca[0],oa=Ca[1],Lo=[];Lo.push((tt+Rt)/ge.width),Lo.push((jr+Rn)/ge.width),Lo.push((ht+oa)/ge.height),Lo.push((Cn+dr)/ge.height);var ka=Math.max.apply(Math,Lo);ka>1&&(tt/=ka,ht/=ka,Rt/=ka,Cn/=ka,Rn/=ka,dr/=ka,jr/=ka,oa/=ka);var Oa=ge.width-Rt,ho=ge.height-dr,Ko=ge.width-Rn,Ao=ge.height-oa,fa=fe.borderTopWidth,gi=fe.borderRightWidth,Vo=fe.borderBottomWidth,mo=fe.borderLeftWidth,ra=qo(fe.paddingTop,Ae.bounds.width),Ml=qo(fe.paddingRight,Ae.bounds.width),nu=qo(fe.paddingBottom,Ae.bounds.width),Ji=qo(fe.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=tt>0||ht>0?xA(ge.left+mo/3,ge.top+fa/3,tt-mo/3,ht-fa/3,Zi.TOP_LEFT):new ba(ge.left+mo/3,ge.top+fa/3),this.topRightBorderDoubleOuterBox=tt>0||ht>0?xA(ge.left+Oa,ge.top+fa/3,Rt-gi/3,Cn-fa/3,Zi.TOP_RIGHT):new ba(ge.left+ge.width-gi/3,ge.top+fa/3),this.bottomRightBorderDoubleOuterBox=Rn>0||dr>0?xA(ge.left+Ko,ge.top+ho,Rn-gi/3,dr-Vo/3,Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width-gi/3,ge.top+ge.height-Vo/3),this.bottomLeftBorderDoubleOuterBox=jr>0||oa>0?xA(ge.left+mo/3,ge.top+Ao,jr-mo/3,oa-Vo/3,Zi.BOTTOM_LEFT):new ba(ge.left+mo/3,ge.top+ge.height-Vo/3),this.topLeftBorderDoubleInnerBox=tt>0||ht>0?xA(ge.left+mo*2/3,ge.top+fa*2/3,tt-mo*2/3,ht-fa*2/3,Zi.TOP_LEFT):new ba(ge.left+mo*2/3,ge.top+fa*2/3),this.topRightBorderDoubleInnerBox=tt>0||ht>0?xA(ge.left+Oa,ge.top+fa*2/3,Rt-gi*2/3,Cn-fa*2/3,Zi.TOP_RIGHT):new ba(ge.left+ge.width-gi*2/3,ge.top+fa*2/3),this.bottomRightBorderDoubleInnerBox=Rn>0||dr>0?xA(ge.left+Ko,ge.top+ho,Rn-gi*2/3,dr-Vo*2/3,Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width-gi*2/3,ge.top+ge.height-Vo*2/3),this.bottomLeftBorderDoubleInnerBox=jr>0||oa>0?xA(ge.left+mo*2/3,ge.top+Ao,jr-mo*2/3,oa-Vo*2/3,Zi.BOTTOM_LEFT):new ba(ge.left+mo*2/3,ge.top+ge.height-Vo*2/3),this.topLeftBorderStroke=tt>0||ht>0?xA(ge.left+mo/2,ge.top+fa/2,tt-mo/2,ht-fa/2,Zi.TOP_LEFT):new ba(ge.left+mo/2,ge.top+fa/2),this.topRightBorderStroke=tt>0||ht>0?xA(ge.left+Oa,ge.top+fa/2,Rt-gi/2,Cn-fa/2,Zi.TOP_RIGHT):new ba(ge.left+ge.width-gi/2,ge.top+fa/2),this.bottomRightBorderStroke=Rn>0||dr>0?xA(ge.left+Ko,ge.top+ho,Rn-gi/2,dr-Vo/2,Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width-gi/2,ge.top+ge.height-Vo/2),this.bottomLeftBorderStroke=jr>0||oa>0?xA(ge.left+mo/2,ge.top+Ao,jr-mo/2,oa-Vo/2,Zi.BOTTOM_LEFT):new ba(ge.left+mo/2,ge.top+ge.height-Vo/2),this.topLeftBorderBox=tt>0||ht>0?xA(ge.left,ge.top,tt,ht,Zi.TOP_LEFT):new ba(ge.left,ge.top),this.topRightBorderBox=Rt>0||Cn>0?xA(ge.left+Oa,ge.top,Rt,Cn,Zi.TOP_RIGHT):new ba(ge.left+ge.width,ge.top),this.bottomRightBorderBox=Rn>0||dr>0?xA(ge.left+Ko,ge.top+ho,Rn,dr,Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width,ge.top+ge.height),this.bottomLeftBorderBox=jr>0||oa>0?xA(ge.left,ge.top+Ao,jr,oa,Zi.BOTTOM_LEFT):new ba(ge.left,ge.top+ge.height),this.topLeftPaddingBox=tt>0||ht>0?xA(ge.left+mo,ge.top+fa,Math.max(0,tt-mo),Math.max(0,ht-fa),Zi.TOP_LEFT):new ba(ge.left+mo,ge.top+fa),this.topRightPaddingBox=Rt>0||Cn>0?xA(ge.left+Math.min(Oa,ge.width-gi),ge.top+fa,Oa>ge.width+gi?0:Math.max(0,Rt-gi),Math.max(0,Cn-fa),Zi.TOP_RIGHT):new ba(ge.left+ge.width-gi,ge.top+fa),this.bottomRightPaddingBox=Rn>0||dr>0?xA(ge.left+Math.min(Ko,ge.width-mo),ge.top+Math.min(ho,ge.height-Vo),Math.max(0,Rn-gi),Math.max(0,dr-Vo),Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width-gi,ge.top+ge.height-Vo),this.bottomLeftPaddingBox=jr>0||oa>0?xA(ge.left+mo,ge.top+Math.min(Ao,ge.height-Vo),Math.max(0,jr-mo),Math.max(0,oa-Vo),Zi.BOTTOM_LEFT):new ba(ge.left+mo,ge.top+ge.height-Vo),this.topLeftContentBox=tt>0||ht>0?xA(ge.left+mo+Ji,ge.top+fa+ra,Math.max(0,tt-(mo+Ji)),Math.max(0,ht-(fa+ra)),Zi.TOP_LEFT):new ba(ge.left+mo+Ji,ge.top+fa+ra),this.topRightContentBox=Rt>0||Cn>0?xA(ge.left+Math.min(Oa,ge.width+mo+Ji),ge.top+fa+ra,Oa>ge.width+mo+Ji?0:Rt-mo+Ji,Cn-(fa+ra),Zi.TOP_RIGHT):new ba(ge.left+ge.width-(gi+Ml),ge.top+fa+ra),this.bottomRightContentBox=Rn>0||dr>0?xA(ge.left+Math.min(Ko,ge.width-(mo+Ji)),ge.top+Math.min(ho,ge.height+fa+ra),Math.max(0,Rn-(gi+Ml)),dr-(Vo+nu),Zi.BOTTOM_RIGHT):new ba(ge.left+ge.width-(gi+Ml),ge.top+ge.height-(Vo+nu)),this.bottomLeftContentBox=jr>0||oa>0?xA(ge.left+mo+Ji,ge.top+Ao,Math.max(0,jr-(mo+Ji)),oa-(Vo+nu),Zi.BOTTOM_LEFT):new ba(ge.left+mo+Ji,ge.top+ge.height-(Vo+nu))}return ue}(),Zi;(function(ue){ue[ue.TOP_LEFT=0]="TOP_LEFT",ue[ue.TOP_RIGHT=1]="TOP_RIGHT",ue[ue.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ue[ue.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Zi||(Zi={}));var xA=function(ue,Ae,fe,ge,He){var tt=4*((Math.sqrt(2)-1)/3),ht=fe*tt,jt=ge*tt,Rt=ue+fe,Cn=Ae+ge;switch(He){case Zi.TOP_LEFT:return new Of(new ba(ue,Cn),new ba(ue,Cn-jt),new ba(Rt-ht,Ae),new ba(Rt,Ae));case Zi.TOP_RIGHT:return new Of(new ba(ue,Ae),new ba(ue+ht,Ae),new ba(Rt,Cn-jt),new ba(Rt,Cn));case Zi.BOTTOM_RIGHT:return new Of(new ba(Rt,Ae),new ba(Rt,Ae+jt),new ba(ue+ht,Cn),new ba(ue,Cn));case Zi.BOTTOM_LEFT:default:return new Of(new ba(Rt,Cn),new ba(Rt-ht,Cn),new ba(ue,Ae+jt),new ba(ue,Ae))}},Qf=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},xp=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},Sh=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},_o=function(){function ue(Ae,fe,ge){this.offsetX=Ae,this.offsetY=fe,this.matrix=ge,this.type=0,this.target=6}return ue}(),og=function(){function ue(Ae,fe){this.path=Ae,this.target=fe,this.type=1}return ue}(),gA=function(){function ue(Ae){this.opacity=Ae,this.type=2,this.target=6}return ue}(),Bh=function(ue){return ue.type===0},yh=function(ue){return ue.type===1},Tf=function(ue){return ue.type===2},Vc=function(ue,Ae){return ue.length===Ae.length?ue.some(function(fe,ge){return fe===Ae[ge]}):!1},L0=function(ue,Ae,fe,ge,He){return ue.map(function(tt,ht){switch(ht){case 0:return tt.add(Ae,fe);case 1:return tt.add(Ae+ge,fe);case 2:return tt.add(Ae+ge,fe+He);case 3:return tt.add(Ae,fe+He)}return tt})},Wg=function(){function ue(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ue}(),wh=function(){function ue(Ae,fe){if(this.container=Ae,this.parent=fe,this.effects=[],this.curves=new Tm(this.container),this.container.styles.opacity<1&&this.effects.push(new gA(this.container.styles.opacity)),this.container.styles.transform!==null){var ge=this.container.bounds.left+this.container.styles.transformOrigin[0].number,He=this.container.bounds.top+this.container.styles.transformOrigin[1].number,tt=this.container.styles.transform;this.effects.push(new _o(ge,He,tt))}if(this.container.styles.overflowX!==0){var ht=Qf(this.curves),jt=Sh(this.curves);Vc(ht,jt)?this.effects.push(new og(ht,6)):(this.effects.push(new og(ht,2)),this.effects.push(new og(jt,4)))}}return ue.prototype.getEffects=function(Ae){for(var fe=[2,3].indexOf(this.container.styles.position)===-1,ge=this.parent,He=this.effects.slice(0);ge;){var tt=ge.effects.filter(function(Rt){return!yh(Rt)});if(fe||ge.container.styles.position!==0||!ge.parent){if(He.unshift.apply(He,tt),fe=[2,3].indexOf(ge.container.styles.position)===-1,ge.container.styles.overflowX!==0){var ht=Qf(ge.curves),jt=Sh(ge.curves);Vc(ht,jt)||He.unshift(new og(jt,6))}}else He.unshift.apply(He,tt);ge=ge.parent}return He.filter(function(Rt){return aa(Rt.target,Ae)})},ue}(),Vg=function(ue,Ae,fe,ge){ue.container.elements.forEach(function(He){var tt=aa(He.flags,4),ht=aa(He.flags,2),jt=new wh(He,ue);aa(He.styles.display,2048)&&ge.push(jt);var Rt=aa(He.flags,8)?[]:ge;if(tt||ht){var Cn=tt||He.styles.isPositioned()?fe:Ae,Un=new Wg(jt);if(He.styles.isPositioned()||He.styles.opacity<1||He.styles.isTransformed()){var Rn=He.styles.zIndex.order;if(Rn<0){var dr=0;Cn.negativeZIndex.some(function(jr,oa){return Rn>jr.element.container.styles.zIndex.order?(dr=oa,!1):dr>0}),Cn.negativeZIndex.splice(dr,0,Un)}else if(Rn>0){var Ca=0;Cn.positiveZIndex.some(function(jr,oa){return Rn>=jr.element.container.styles.zIndex.order?(Ca=oa+1,!1):Ca>0}),Cn.positiveZIndex.splice(Ca,0,Un)}else Cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Un)}else He.styles.isFloating()?Cn.nonPositionedFloats.push(Un):Cn.nonPositionedInlineLevel.push(Un);Vg(jt,Un,tt?Un:fe,Rt)}else He.styles.isInlineLevel()?Ae.inlineLevel.push(jt):Ae.nonInlineLevel.push(jt),Vg(jt,Ae,fe,Rt);aa(He.flags,8)&&Xg(He,Rt)})},Xg=function(ue,Ae){for(var fe=ue instanceof ih?ue.start:1,ge=ue instanceof ih?ue.reversed:!1,He=0;He<Ae.length;He++){var tt=Ae[He];tt.container instanceof r0&&typeof tt.container.value=="number"&&tt.container.value!==0&&(fe=tt.container.value),tt.listValue=zg(fe,tt.container.styles.listStyleType,!0),fe+=ge?-1:1}},sl=function(ue){var Ae=new wh(ue,null),fe=new Wg(Ae),ge=[];return Vg(Ae,fe,fe,ge),Xg(Ae.container,ge),fe},Zs=function(ue,Ae){switch(Ae){case 0:return tu(ue.topLeftBorderBox,ue.topLeftPaddingBox,ue.topRightBorderBox,ue.topRightPaddingBox);case 1:return tu(ue.topRightBorderBox,ue.topRightPaddingBox,ue.bottomRightBorderBox,ue.bottomRightPaddingBox);case 2:return tu(ue.bottomRightBorderBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox);case 3:default:return tu(ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox,ue.topLeftBorderBox,ue.topLeftPaddingBox)}},ll=function(ue,Ae){switch(Ae){case 0:return tu(ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox,ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox);case 1:return tu(ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox,ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox);case 2:return tu(ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox,ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox);case 3:default:return tu(ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox,ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox)}},ul=function(ue,Ae){switch(Ae){case 0:return tu(ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox,ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox);case 1:return tu(ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox,ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox);case 2:return tu(ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox);case 3:default:return tu(ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox,ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox)}},I0=function(ue,Ae){switch(Ae){case 0:return kf(ue.topLeftBorderStroke,ue.topRightBorderStroke);case 1:return kf(ue.topRightBorderStroke,ue.bottomRightBorderStroke);case 2:return kf(ue.bottomRightBorderStroke,ue.bottomLeftBorderStroke);case 3:default:return kf(ue.bottomLeftBorderStroke,ue.topLeftBorderStroke)}},kf=function(ue,Ae){var fe=[];return hu(ue)?fe.push(ue.subdivide(.5,!1)):fe.push(ue),hu(Ae)?fe.push(Ae.subdivide(.5,!0)):fe.push(Ae),fe},tu=function(ue,Ae,fe,ge){var He=[];return hu(ue)?He.push(ue.subdivide(.5,!1)):He.push(ue),hu(fe)?He.push(fe.subdivide(.5,!0)):He.push(fe),hu(ge)?He.push(ge.subdivide(.5,!0).reverse()):He.push(ge),hu(Ae)?He.push(Ae.subdivide(.5,!1).reverse()):He.push(Ae),He},U0=function(ue){var Ae=ue.bounds,fe=ue.styles;return Ae.add(fe.borderLeftWidth,fe.borderTopWidth,-(fe.borderRightWidth+fe.borderLeftWidth),-(fe.borderTopWidth+fe.borderBottomWidth))},Rf=function(ue){var Ae=ue.styles,fe=ue.bounds,ge=qo(Ae.paddingLeft,fe.width),He=qo(Ae.paddingRight,fe.width),tt=qo(Ae.paddingTop,fe.width),ht=qo(Ae.paddingBottom,fe.width);return fe.add(ge+Ae.borderLeftWidth,tt+Ae.borderTopWidth,-(Ae.borderRightWidth+Ae.borderLeftWidth+ge+He),-(Ae.borderTopWidth+Ae.borderBottomWidth+tt+ht))},bh=function(ue,Ae){return ue===0?Ae.bounds:ue===2?Rf(Ae):U0(Ae)},km=function(ue,Ae){return ue===0?Ae.bounds:ue===2?Rf(Ae):U0(Ae)},Wu=function(ue,Ae,fe){var ge=bh(Eu(ue.styles.backgroundOrigin,Ae),ue),He=km(Eu(ue.styles.backgroundClip,Ae),ue),tt=ig(Eu(ue.styles.backgroundSize,Ae),fe,ge),ht=tt[0],jt=tt[1],Rt=Ul(Eu(ue.styles.backgroundPosition,Ae),ge.width-ht,ge.height-jt),Cn=N0(Eu(ue.styles.backgroundRepeat,Ae),Rt,tt,ge,He),Un=Math.round(ge.left+Rt[0]),Rn=Math.round(ge.top+Rt[1]);return[Cn,Un,Rn,ht,jt]},Xc=function(ue){return to(ue)&&ue.value===OA.AUTO},Yg=function(ue){return typeof ue=="number"},ig=function(ue,Ae,fe){var ge=Ae[0],He=Ae[1],tt=Ae[2],ht=ue[0],jt=ue[1];if(!ht)return[0,0];if(lA(ht)&&jt&&lA(jt))return[qo(ht,fe.width),qo(jt,fe.height)];var Rt=Yg(tt);if(to(ht)&&(ht.value===OA.CONTAIN||ht.value===OA.COVER)){if(Yg(tt)){var Cn=fe.width/fe.height;return Cn<tt!=(ht.value===OA.COVER)?[fe.width,fe.width/tt]:[fe.height*tt,fe.height]}return[fe.width,fe.height]}var Un=Yg(ge),Rn=Yg(He),dr=Un||Rn;if(Xc(ht)&&(!jt||Xc(jt))){if(Un&&Rn)return[ge,He];if(!Rt&&!dr)return[fe.width,fe.height];if(dr&&Rt){var Ca=Un?ge:He*tt,jr=Rn?He:ge/tt;return[Ca,jr]}var oa=Un?ge:fe.width,Lo=Rn?He:fe.height;return[oa,Lo]}if(Rt){var ka=0,Oa=0;return lA(ht)?ka=qo(ht,fe.width):lA(jt)&&(Oa=qo(jt,fe.height)),Xc(ht)?ka=Oa*tt:(!jt||Xc(jt))&&(Oa=ka/tt),[ka,Oa]}var ho=null,Ko=null;if(lA(ht)?ho=qo(ht,fe.width):jt&&lA(jt)&&(Ko=qo(jt,fe.height)),ho!==null&&(!jt||Xc(jt))&&(Ko=Un&&Rn?ho/ge*He:fe.height),Ko!==null&&Xc(ht)&&(ho=Un&&Rn?Ko/He*ge:fe.width),ho!==null&&Ko!==null)return[ho,Ko];throw new Error("Unable to calculate background-size for element")},Eu=function(ue,Ae){var fe=ue[Ae];return typeof fe=="undefined"?ue[0]:fe},N0=function(ue,Ae,fe,ge,He){var tt=Ae[0],ht=Ae[1],jt=fe[0],Rt=fe[1];switch(ue){case 2:return[new ba(Math.round(ge.left),Math.round(ge.top+ht)),new ba(Math.round(ge.left+ge.width),Math.round(ge.top+ht)),new ba(Math.round(ge.left+ge.width),Math.round(Rt+ge.top+ht)),new ba(Math.round(ge.left),Math.round(Rt+ge.top+ht))];case 3:return[new ba(Math.round(ge.left+tt),Math.round(ge.top)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.height+ge.top)),new ba(Math.round(ge.left+tt),Math.round(ge.height+ge.top))];case 1:return[new ba(Math.round(ge.left+tt),Math.round(ge.top+ht)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top+ht)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top+ht+Rt)),new ba(Math.round(ge.left+tt),Math.round(ge.top+ht+Rt))];default:return[new ba(Math.round(He.left),Math.round(He.top)),new ba(Math.round(He.left+He.width),Math.round(He.top)),new ba(Math.round(He.left+He.width),Math.round(He.height+He.top)),new ba(Math.round(He.left),Math.round(He.height+He.top))]}},Jg="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ch="Hidden Text",Yc=function(){function ue(Ae){this._data={},this._document=Ae}return ue.prototype.parseMetrics=function(Ae,fe){var ge=this._document.createElement("div"),He=this._document.createElement("img"),tt=this._document.createElement("span"),ht=this._document.body;ge.style.visibility="hidden",ge.style.fontFamily=Ae,ge.style.fontSize=fe,ge.style.margin="0",ge.style.padding="0",ge.style.whiteSpace="nowrap",ht.appendChild(ge),He.src=Jg,He.width=1,He.height=1,He.style.margin="0",He.style.padding="0",He.style.verticalAlign="baseline",tt.style.fontFamily=Ae,tt.style.fontSize=fe,tt.style.margin="0",tt.style.padding="0",tt.appendChild(this._document.createTextNode(Ch)),ge.appendChild(tt),ge.appendChild(He);var jt=He.offsetTop-tt.offsetTop+2;ge.removeChild(tt),ge.appendChild(this._document.createTextNode(Ch)),ge.style.lineHeight="normal",He.style.verticalAlign="super";var Rt=He.offsetTop-ge.offsetTop+2;return ht.removeChild(ge),{baseline:jt,middle:Rt}},ue.prototype.getMetrics=function(Ae,fe){var ge=Ae+" "+fe;return typeof this._data[ge]=="undefined"&&(this._data[ge]=this.parseMetrics(Ae,fe)),this._data[ge]},ue}(),Jc=function(){function ue(Ae,fe){this.context=Ae,this.options=fe}return ue}(),Wa=1e4,qA=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He._activeEffects=[],He.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),He.ctx=He.canvas.getContext("2d"),ge.canvas||(He.canvas.width=Math.floor(ge.width*ge.scale),He.canvas.height=Math.floor(ge.height*ge.scale),He.canvas.style.width=ge.width+"px",He.canvas.style.height=ge.height+"px"),He.fontMetrics=new Yc(document),He.ctx.scale(He.options.scale,He.options.scale),He.ctx.translate(-ge.x,-ge.y),He.ctx.textBaseline="bottom",He._activeEffects=[],He.context.logger.debug("Canvas renderer initialized ("+ge.width+"x"+ge.height+") with scale "+ge.scale),He}return Ae.prototype.applyEffects=function(fe){for(var ge=this;this._activeEffects.length;)this.popEffect();fe.forEach(function(He){return ge.applyEffect(He)})},Ae.prototype.applyEffect=function(fe){this.ctx.save(),Tf(fe)&&(this.ctx.globalAlpha=fe.opacity),Bh(fe)&&(this.ctx.translate(fe.offsetX,fe.offsetY),this.ctx.transform(fe.matrix[0],fe.matrix[1],fe.matrix[2],fe.matrix[3],fe.matrix[4],fe.matrix[5]),this.ctx.translate(-fe.offsetX,-fe.offsetY)),yh(fe)&&(this.path(fe.path),this.ctx.clip()),this._activeEffects.push(fe)},Ae.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Ae.prototype.renderStack=function(fe){return be(this,void 0,void 0,function(){var ge;return ze(this,function(He){switch(He.label){case 0:return ge=fe.element.container.styles,ge.isVisible()?[4,this.renderStackContent(fe)]:[3,2];case 1:He.sent(),He.label=2;case 2:return[2]}})})},Ae.prototype.renderNode=function(fe){return be(this,void 0,void 0,function(){return ze(this,function(ge){switch(ge.label){case 0:if(aa(fe.container.flags,16))debugger;return fe.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(fe)]:[3,3];case 1:return ge.sent(),[4,this.renderNodeContent(fe)];case 2:ge.sent(),ge.label=3;case 3:return[2]}})})},Ae.prototype.renderTextWithLetterSpacing=function(fe,ge,He){var tt=this;if(ge===0)this.ctx.fillText(fe.text,fe.bounds.left,fe.bounds.top+He);else{var ht=Ri(fe.text);ht.reduce(function(jt,Rt){return tt.ctx.fillText(Rt,jt,fe.bounds.top+He),jt+tt.ctx.measureText(Rt).width},fe.bounds.left)}},Ae.prototype.createFontStyle=function(fe){var ge=fe.fontVariant.filter(function(ht){return ht==="normal"||ht==="small-caps"}).join(""),He=qc(fe.fontFamily).join(", "),tt=No(fe.fontSize)?""+fe.fontSize.number+fe.fontSize.unit:fe.fontSize.number+"px";return[[fe.fontStyle,ge,fe.fontWeight,tt,He].join(" "),He,tt]},Ae.prototype.renderTextNode=function(fe,ge){return be(this,void 0,void 0,function(){var He,tt,ht,jt,Rt,Cn,Un,Rn,dr=this;return ze(this,function(Ca){return He=this.createFontStyle(ge),tt=He[0],ht=He[1],jt=He[2],this.ctx.font=tt,this.ctx.direction=ge.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Rt=this.fontMetrics.getMetrics(ht,jt),Cn=Rt.baseline,Un=Rt.middle,Rn=ge.paintOrder,fe.textBounds.forEach(function(jr){Rn.forEach(function(oa){switch(oa){case 0:dr.ctx.fillStyle=uA(ge.color),dr.renderTextWithLetterSpacing(jr,ge.letterSpacing,Cn);var Lo=ge.textShadow;Lo.length&&jr.text.trim().length&&(Lo.slice(0).reverse().forEach(function(ka){dr.ctx.shadowColor=uA(ka.color),dr.ctx.shadowOffsetX=ka.offsetX.number*dr.options.scale,dr.ctx.shadowOffsetY=ka.offsetY.number*dr.options.scale,dr.ctx.shadowBlur=ka.blur.number,dr.renderTextWithLetterSpacing(jr,ge.letterSpacing,Cn)}),dr.ctx.shadowColor="",dr.ctx.shadowOffsetX=0,dr.ctx.shadowOffsetY=0,dr.ctx.shadowBlur=0),ge.textDecorationLine.length&&(dr.ctx.fillStyle=uA(ge.textDecorationColor||ge.color),ge.textDecorationLine.forEach(function(ka){switch(ka){case 1:dr.ctx.fillRect(jr.bounds.left,Math.round(jr.bounds.top+Cn),jr.bounds.width,1);break;case 2:dr.ctx.fillRect(jr.bounds.left,Math.round(jr.bounds.top),jr.bounds.width,1);break;case 3:dr.ctx.fillRect(jr.bounds.left,Math.ceil(jr.bounds.top+Un),jr.bounds.width,1);break}}));break;case 1:ge.webkitTextStrokeWidth&&jr.text.trim().length&&(dr.ctx.strokeStyle=uA(ge.webkitTextStrokeColor),dr.ctx.lineWidth=ge.webkitTextStrokeWidth,dr.ctx.lineJoin=window.chrome?"miter":"round",dr.ctx.strokeText(jr.text,jr.bounds.left,jr.bounds.top+Cn)),dr.ctx.strokeStyle="",dr.ctx.lineWidth=0,dr.ctx.lineJoin="miter";break}})}),[2]})})},Ae.prototype.renderReplacedElement=function(fe,ge,He){if(He&&fe.intrinsicWidth>0&&fe.intrinsicHeight>0){var tt=Rf(fe),ht=Sh(ge);this.path(ht),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(He,0,0,fe.intrinsicWidth,fe.intrinsicHeight,tt.left,tt.top,tt.width,tt.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt,Oa,Oa,Cn,Un,Rn,dr,Ko,Ca,jr,Ao,oa,Lo,ka,Oa,ho,Ko,Ao;return ze(this,function(fa){switch(fa.label){case 0:this.applyEffects(fe.getEffects(4)),ge=fe.container,He=fe.curves,tt=ge.styles,ht=0,jt=ge.textNodes,fa.label=1;case 1:return ht<jt.length?(Rt=jt[ht],[4,this.renderTextNode(Rt,tt)]):[3,4];case 2:fa.sent(),fa.label=3;case 3:return ht++,[3,1];case 4:if(!(ge instanceof e0))return[3,8];fa.label=5;case 5:return fa.trys.push([5,7,,8]),[4,this.context.cache.match(ge.src)];case 6:return Oa=fa.sent(),this.renderReplacedElement(ge,He,Oa),[3,8];case 7:return fa.sent(),this.context.logger.error("Error loading image "+ge.src),[3,8];case 8:if(ge instanceof t0&&this.renderReplacedElement(ge,He,ge.canvas),!(ge instanceof n0))return[3,12];fa.label=9;case 9:return fa.trys.push([9,11,,12]),[4,this.context.cache.match(ge.svg)];case 10:return Oa=fa.sent(),this.renderReplacedElement(ge,He,Oa),[3,12];case 11:return fa.sent(),this.context.logger.error("Error loading svg "+ge.svg.substring(0,255)),[3,12];case 12:return ge instanceof i0&&ge.tree?(Cn=new Ae(this.context,{scale:this.options.scale,backgroundColor:ge.backgroundColor,x:0,y:0,width:ge.width,height:ge.height}),[4,Cn.render(ge.tree)]):[3,14];case 13:Un=fa.sent(),ge.width&&ge.height&&this.ctx.drawImage(Un,0,0,ge.width,ge.height,ge.bounds.left,ge.bounds.top,ge.bounds.width,ge.bounds.height),fa.label=14;case 14:if(ge instanceof jg&&(Rn=Math.min(ge.bounds.width,ge.bounds.height),ge.type===Ff?ge.checked&&(this.ctx.save(),this.path([new ba(ge.bounds.left+Rn*.39363,ge.bounds.top+Rn*.79),new ba(ge.bounds.left+Rn*.16,ge.bounds.top+Rn*.5549),new ba(ge.bounds.left+Rn*.27347,ge.bounds.top+Rn*.44071),new ba(ge.bounds.left+Rn*.39694,ge.bounds.top+Rn*.5649),new ba(ge.bounds.left+Rn*.72983,ge.bounds.top+Rn*.23),new ba(ge.bounds.left+Rn*.84,ge.bounds.top+Rn*.34085),new ba(ge.bounds.left+Rn*.39363,ge.bounds.top+Rn*.79)]),this.ctx.fillStyle=uA(_f),this.ctx.fill(),this.ctx.restore()):ge.type===xf&&ge.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ge.bounds.left+Rn/2,ge.bounds.top+Rn/2,Rn/4,0,Math.PI*2,!0),this.ctx.fillStyle=uA(_f),this.ctx.fill(),this.ctx.restore())),Ph(ge)&&ge.value.length){switch(dr=this.createFontStyle(tt),Ko=dr[0],Ca=dr[1],jr=this.fontMetrics.getMetrics(Ko,Ca).baseline,this.ctx.font=Ko,this.ctx.fillStyle=uA(tt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ag(ge.styles.textAlign),Ao=Rf(ge),oa=0,ge.styles.textAlign){case 1:oa+=Ao.width/2;break;case 2:oa+=Ao.width;break}Lo=Ao.add(oa,0,0,-Ao.height/2+1),this.ctx.save(),this.path([new ba(Ao.left,Ao.top),new ba(Ao.left+Ao.width,Ao.top),new ba(Ao.left+Ao.width,Ao.top+Ao.height),new ba(Ao.left,Ao.top+Ao.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Pu(ge.value,Lo),tt.letterSpacing,jr),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!aa(ge.styles.display,2048))return[3,20];if(ge.styles.listStyleImage===null)return[3,19];if(ka=ge.styles.listStyleImage,ka.type!==0)return[3,18];Oa=void 0,ho=ka.url,fa.label=15;case 15:return fa.trys.push([15,17,,18]),[4,this.context.cache.match(ho)];case 16:return Oa=fa.sent(),this.ctx.drawImage(Oa,ge.bounds.left-(Oa.width+10),ge.bounds.top),[3,18];case 17:return fa.sent(),this.context.logger.error("Error loading list-style-image "+ho),[3,18];case 18:return[3,20];case 19:fe.listValue&&ge.styles.listStyleType!==-1&&(Ko=this.createFontStyle(tt)[0],this.ctx.font=Ko,this.ctx.fillStyle=uA(tt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ao=new Ge(ge.bounds.left,ge.bounds.top+qo(ge.styles.paddingTop,ge.bounds.width),ge.bounds.width,mn(tt.lineHeight,tt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Pu(fe.listValue,Ao),tt.letterSpacing,mn(tt.lineHeight,tt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),fa.label=20;case 20:return[2]}})})},Ae.prototype.renderStackContent=function(fe){return be(this,void 0,void 0,function(){var ge,He,ka,tt,ht,ka,jt,Rt,ka,Cn,Un,ka,Rn,dr,ka,Ca,jr,ka,oa,Lo,ka;return ze(this,function(Oa){switch(Oa.label){case 0:if(aa(fe.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(fe.element)];case 1:Oa.sent(),ge=0,He=fe.negativeZIndex,Oa.label=2;case 2:return ge<He.length?(ka=He[ge],[4,this.renderStack(ka)]):[3,5];case 3:Oa.sent(),Oa.label=4;case 4:return ge++,[3,2];case 5:return[4,this.renderNodeContent(fe.element)];case 6:Oa.sent(),tt=0,ht=fe.nonInlineLevel,Oa.label=7;case 7:return tt<ht.length?(ka=ht[tt],[4,this.renderNode(ka)]):[3,10];case 8:Oa.sent(),Oa.label=9;case 9:return tt++,[3,7];case 10:jt=0,Rt=fe.nonPositionedFloats,Oa.label=11;case 11:return jt<Rt.length?(ka=Rt[jt],[4,this.renderStack(ka)]):[3,14];case 12:Oa.sent(),Oa.label=13;case 13:return jt++,[3,11];case 14:Cn=0,Un=fe.nonPositionedInlineLevel,Oa.label=15;case 15:return Cn<Un.length?(ka=Un[Cn],[4,this.renderStack(ka)]):[3,18];case 16:Oa.sent(),Oa.label=17;case 17:return Cn++,[3,15];case 18:Rn=0,dr=fe.inlineLevel,Oa.label=19;case 19:return Rn<dr.length?(ka=dr[Rn],[4,this.renderNode(ka)]):[3,22];case 20:Oa.sent(),Oa.label=21;case 21:return Rn++,[3,19];case 22:Ca=0,jr=fe.zeroOrAutoZIndexOrTransformedOrOpacity,Oa.label=23;case 23:return Ca<jr.length?(ka=jr[Ca],[4,this.renderStack(ka)]):[3,26];case 24:Oa.sent(),Oa.label=25;case 25:return Ca++,[3,23];case 26:oa=0,Lo=fe.positiveZIndex,Oa.label=27;case 27:return oa<Lo.length?(ka=Lo[oa],[4,this.renderStack(ka)]):[3,30];case 28:Oa.sent(),Oa.label=29;case 29:return oa++,[3,27];case 30:return[2]}})})},Ae.prototype.mask=function(fe){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(fe.slice(0).reverse()),this.ctx.closePath()},Ae.prototype.path=function(fe){this.ctx.beginPath(),this.formatPath(fe),this.ctx.closePath()},Ae.prototype.formatPath=function(fe){var ge=this;fe.forEach(function(He,tt){var ht=hu(He)?He.start:He;tt===0?ge.ctx.moveTo(ht.x,ht.y):ge.ctx.lineTo(ht.x,ht.y),hu(He)&&ge.ctx.bezierCurveTo(He.startControl.x,He.startControl.y,He.endControl.x,He.endControl.y,He.end.x,He.end.y)})},Ae.prototype.renderRepeat=function(fe,ge,He,tt){this.path(fe),this.ctx.fillStyle=ge,this.ctx.translate(He,tt),this.ctx.fill(),this.ctx.translate(-He,-tt)},Ae.prototype.resizeImage=function(fe,ge,He){var tt;if(fe.width===ge&&fe.height===He)return fe;var ht=(tt=this.canvas.ownerDocument)!==null&&tt!==void 0?tt:document,jt=ht.createElement("canvas");jt.width=Math.max(1,ge),jt.height=Math.max(1,He);var Rt=jt.getContext("2d");return Rt.drawImage(fe,0,0,fe.width,fe.height,0,0,ge,He),jt},Ae.prototype.renderBackgroundImage=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt;return ze(this,function(Cn){switch(Cn.label){case 0:ge=fe.styles.backgroundImage.length-1,He=function(Un){var Rn,dr,Ca,ra,cl,Bl,Ji,js,Vo,jr,ra,cl,Bl,Ji,js,oa,Lo,ka,Oa,ho,Ko,Ao,fa,gi,Vo,mo,ra,Ml,nu,Ji,js,Bc,cl,Bl,Pd,mu,yc,Ed,ed,Xu,td,wc;return ze(this,function(sg){switch(sg.label){case 0:if(Un.type!==0)return[3,5];Rn=void 0,dr=Un.url,sg.label=1;case 1:return sg.trys.push([1,3,,4]),[4,tt.context.cache.match(dr)];case 2:return Rn=sg.sent(),[3,4];case 3:return sg.sent(),tt.context.logger.error("Error loading background-image "+dr),[3,4];case 4:return Rn&&(Ca=Wu(fe,ge,[Rn.width,Rn.height,Rn.width/Rn.height]),ra=Ca[0],cl=Ca[1],Bl=Ca[2],Ji=Ca[3],js=Ca[4],Vo=tt.ctx.createPattern(tt.resizeImage(Rn,Ji,js),"repeat"),tt.renderRepeat(ra,Vo,cl,Bl)),[3,6];case 5:Ti(Un)?(jr=Wu(fe,ge,[null,null,null]),ra=jr[0],cl=jr[1],Bl=jr[2],Ji=jr[3],js=jr[4],oa=Pr(Un.angle,Ji,js),Lo=oa[0],ka=oa[1],Oa=oa[2],ho=oa[3],Ko=oa[4],Ao=document.createElement("canvas"),Ao.width=Ji,Ao.height=js,fa=Ao.getContext("2d"),gi=fa.createLinearGradient(ka,ho,Oa,Ko),Hc(Un.stops,Lo).forEach(function(nd){return gi.addColorStop(nd.stop,uA(nd.color))}),fa.fillStyle=gi,fa.fillRect(0,0,Ji,js),Ji>0&&js>0&&(Vo=tt.ctx.createPattern(Ao,"repeat"),tt.renderRepeat(ra,Vo,cl,Bl))):Wl(Un)&&(mo=Wu(fe,ge,[null,null,null]),ra=mo[0],Ml=mo[1],nu=mo[2],Ji=mo[3],js=mo[4],Bc=Un.position.length===0?[Mu]:Un.position,cl=qo(Bc[0],Ji),Bl=qo(Bc[Bc.length-1],js),Pd=Ga(Un,cl,Bl,Ji,js),mu=Pd[0],yc=Pd[1],mu>0&&yc>0&&(Ed=tt.ctx.createRadialGradient(Ml+cl,nu+Bl,0,Ml+cl,nu+Bl,mu),Hc(Un.stops,mu*2).forEach(function(nd){return Ed.addColorStop(nd.stop,uA(nd.color))}),tt.path(ra),tt.ctx.fillStyle=Ed,mu!==yc?(ed=fe.bounds.left+.5*fe.bounds.width,Xu=fe.bounds.top+.5*fe.bounds.height,td=yc/mu,wc=1/td,tt.ctx.save(),tt.ctx.translate(ed,Xu),tt.ctx.transform(1,0,0,td,0,0),tt.ctx.translate(-ed,-Xu),tt.ctx.fillRect(Ml,wc*(nu-Xu)+Xu,Ji,js*wc),tt.ctx.restore()):tt.ctx.fill())),sg.label=6;case 6:return ge--,[2]}})},tt=this,ht=0,jt=fe.styles.backgroundImage.slice(0).reverse(),Cn.label=1;case 1:return ht<jt.length?(Rt=jt[ht],[5,He(Rt)]):[3,4];case 2:Cn.sent(),Cn.label=3;case 3:return ht++,[3,1];case 4:return[2]}})})},Ae.prototype.renderSolidBorder=function(fe,ge,He){return be(this,void 0,void 0,function(){return ze(this,function(tt){return this.path(Zs(He,ge)),this.ctx.fillStyle=uA(fe),this.ctx.fill(),[2]})})},Ae.prototype.renderDoubleBorder=function(fe,ge,He,tt){return be(this,void 0,void 0,function(){var ht,jt;return ze(this,function(Rt){switch(Rt.label){case 0:return ge<3?[4,this.renderSolidBorder(fe,He,tt)]:[3,2];case 1:return Rt.sent(),[2];case 2:return ht=ll(tt,He),this.path(ht),this.ctx.fillStyle=uA(fe),this.ctx.fill(),jt=ul(tt,He),this.path(jt),this.ctx.fill(),[2]}})})},Ae.prototype.renderNodeBackgroundAndBorders=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt,Cn,Un,Rn=this;return ze(this,function(dr){switch(dr.label){case 0:return this.applyEffects(fe.getEffects(2)),ge=fe.container.styles,He=!DA(ge.backgroundColor)||ge.backgroundImage.length,tt=[{style:ge.borderTopStyle,color:ge.borderTopColor,width:ge.borderTopWidth},{style:ge.borderRightStyle,color:ge.borderRightColor,width:ge.borderRightWidth},{style:ge.borderBottomStyle,color:ge.borderBottomColor,width:ge.borderBottomWidth},{style:ge.borderLeftStyle,color:ge.borderLeftColor,width:ge.borderLeftWidth}],ht=Cd(Eu(ge.backgroundClip,0),fe.curves),He||ge.boxShadow.length?(this.ctx.save(),this.path(ht),this.ctx.clip(),DA(ge.backgroundColor)||(this.ctx.fillStyle=uA(ge.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(fe.container)]):[3,2];case 1:dr.sent(),this.ctx.restore(),ge.boxShadow.slice(0).reverse().forEach(function(Ca){Rn.ctx.save();var jr=Qf(fe.curves),oa=Ca.inset?0:Wa,Lo=L0(jr,-oa+(Ca.inset?1:-1)*Ca.spread.number,(Ca.inset?1:-1)*Ca.spread.number,Ca.spread.number*(Ca.inset?-2:2),Ca.spread.number*(Ca.inset?-2:2));Ca.inset?(Rn.path(jr),Rn.ctx.clip(),Rn.mask(Lo)):(Rn.mask(jr),Rn.ctx.clip(),Rn.path(Lo)),Rn.ctx.shadowOffsetX=Ca.offsetX.number+oa,Rn.ctx.shadowOffsetY=Ca.offsetY.number,Rn.ctx.shadowColor=uA(Ca.color),Rn.ctx.shadowBlur=Ca.blur.number,Rn.ctx.fillStyle=Ca.inset?uA(Ca.color):"rgba(0,0,0,1)",Rn.ctx.fill(),Rn.ctx.restore()}),dr.label=2;case 2:jt=0,Rt=0,Cn=tt,dr.label=3;case 3:return Rt<Cn.length?(Un=Cn[Rt],Un.style!==0&&!DA(Un.color)&&Un.width>0?Un.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,2)]:[3,11]):[3,13];case 4:return dr.sent(),[3,11];case 5:return Un.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,3)];case 6:return dr.sent(),[3,11];case 7:return Un.style!==4?[3,9]:[4,this.renderDoubleBorder(Un.color,Un.width,jt,fe.curves)];case 8:return dr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Un.color,jt,fe.curves)];case 10:dr.sent(),dr.label=11;case 11:jt++,dr.label=12;case 12:return Rt++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(fe,ge,He,tt,ht){return be(this,void 0,void 0,function(){var jt,Rt,Cn,Un,Rn,dr,Ca,jr,oa,Lo,ka,Oa,ho,Ko,Ao,fa,Ao,fa;return ze(this,function(gi){return this.ctx.save(),jt=I0(tt,He),Rt=Zs(tt,He),ht===2&&(this.path(Rt),this.ctx.clip()),hu(Rt[0])?(Cn=Rt[0].start.x,Un=Rt[0].start.y):(Cn=Rt[0].x,Un=Rt[0].y),hu(Rt[1])?(Rn=Rt[1].end.x,dr=Rt[1].end.y):(Rn=Rt[1].x,dr=Rt[1].y),He===0||He===2?Ca=Math.abs(Cn-Rn):Ca=Math.abs(Un-dr),this.ctx.beginPath(),ht===3?this.formatPath(jt):this.formatPath(Rt.slice(0,2)),jr=ge<3?ge*3:ge*2,oa=ge<3?ge*2:ge,ht===3&&(jr=ge,oa=ge),Lo=!0,Ca<=jr*2?Lo=!1:Ca<=jr*2+oa?(ka=Ca/(2*jr+oa),jr*=ka,oa*=ka):(Oa=Math.floor((Ca+oa)/(jr+oa)),ho=(Ca-Oa*jr)/(Oa-1),Ko=(Ca-(Oa+1)*jr)/Oa,oa=Ko<=0||Math.abs(oa-ho)<Math.abs(oa-Ko)?ho:Ko),Lo&&(ht===3?this.ctx.setLineDash([0,jr+oa]):this.ctx.setLineDash([jr,oa])),ht===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ge):this.ctx.lineWidth=ge*2+1.1,this.ctx.strokeStyle=uA(fe),this.ctx.stroke(),this.ctx.setLineDash([]),ht===2&&(hu(Rt[0])&&(Ao=Rt[3],fa=Rt[0],this.ctx.beginPath(),this.formatPath([new ba(Ao.end.x,Ao.end.y),new ba(fa.start.x,fa.start.y)]),this.ctx.stroke()),hu(Rt[1])&&(Ao=Rt[1],fa=Rt[2],this.ctx.beginPath(),this.formatPath([new ba(Ao.end.x,Ao.end.y),new ba(fa.start.x,fa.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},Ae.prototype.render=function(fe){return be(this,void 0,void 0,function(){var ge;return ze(this,function(He){switch(He.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=uA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ge=sl(fe),[4,this.renderStack(ge)];case 1:return He.sent(),this.applyEffects([]),[2,this.canvas]}})})},Ae}(Jc),Ph=function(ue){return ue instanceof Ah||ue instanceof o0?!0:ue instanceof jg&&ue.type!==xf&&ue.type!==Ff},Cd=function(ue,Ae){switch(ue){case 0:return Qf(Ae);case 2:return xp(Ae);case 1:default:return Sh(Ae)}},Ag=function(ue){switch(ue){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Ho=["-apple-system","system-ui"],qc=function(ue){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ue.filter(function(Ae){return Ho.indexOf(Ae)===-1}):ue},jl=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),He.ctx=He.canvas.getContext("2d"),He.options=ge,He.canvas.width=Math.floor(ge.width*ge.scale),He.canvas.height=Math.floor(ge.height*ge.scale),He.canvas.style.width=ge.width+"px",He.canvas.style.height=ge.height+"px",He.ctx.scale(He.options.scale,He.options.scale),He.ctx.translate(-ge.x,-ge.y),He.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ge.width+"x"+ge.height+" at "+ge.x+","+ge.y+") with scale "+ge.scale),He}return Ae.prototype.render=function(fe){return be(this,void 0,void 0,function(){var ge,He;return ze(this,function(tt){switch(tt.label){case 0:return ge=Bd(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,fe),[4,D0(ge)];case 1:return He=tt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=uA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(He,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Ae}(Jc),D0=function(ue){return new Promise(function(Ae,fe){var ge=new Image;ge.onload=function(){Ae(ge)},ge.onerror=fe,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},Vu=function(){function ue(Ae){var fe=Ae.id,ge=Ae.enabled;this.id=fe,this.enabled=ge,this.start=Date.now()}return ue.prototype.debug=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.prototype.getTime=function(){return Date.now()-this.start},ue.prototype.info=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,at([this.id,this.getTime()+"ms"],Ae))},ue.prototype.warn=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.prototype.error=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.instances={},ue}(),Rm=function(){function ue(Ae,fe){var ge;this.windowBounds=fe,this.instanceName="#"+ue.instanceCount++,this.logger=new Vu({id:this.instanceName,enabled:Ae.logging}),this.cache=(ge=Ae.cache)!==null&&ge!==void 0?ge:new eu(this,Ae)}return ue.instanceCount=1,ue}(),jm=function(ue,Ae){return Ae===void 0&&(Ae={}),Mm(ue,Ae)};typeof window!="undefined"&&x0.setContext(window);var Mm=function(ue,Ae){return be(void 0,void 0,void 0,function(){var fe,ge,He,tt,ht,jt,Rt,Cn,Un,Rn,dr,Ca,jr,oa,Lo,ka,Oa,ho,Ko,Ao,gi,fa,gi,Vo,mo,ra,Ml,nu,Ji,js,Bc,cl,Bl,Pd,mu,yc,Ed,ed,Xu,td;return ze(this,function(wc){switch(wc.label){case 0:if(!ue||typeof ue!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(fe=ue.ownerDocument,!fe)throw new Error("Element is not attached to a Document");if(ge=fe.defaultView,!ge)throw new Error("Document is not attached to a Window");return He={allowTaint:(Vo=Ae.allowTaint)!==null&&Vo!==void 0?Vo:!1,imageTimeout:(mo=Ae.imageTimeout)!==null&&mo!==void 0?mo:15e3,proxy:Ae.proxy,useCORS:(ra=Ae.useCORS)!==null&&ra!==void 0?ra:!1},tt=Oe({logging:(Ml=Ae.logging)!==null&&Ml!==void 0?Ml:!0,cache:Ae.cache},He),ht={windowWidth:(nu=Ae.windowWidth)!==null&&nu!==void 0?nu:ge.innerWidth,windowHeight:(Ji=Ae.windowHeight)!==null&&Ji!==void 0?Ji:ge.innerHeight,scrollX:(js=Ae.scrollX)!==null&&js!==void 0?js:ge.pageXOffset,scrollY:(Bc=Ae.scrollY)!==null&&Bc!==void 0?Bc:ge.pageYOffset},jt=new Ge(ht.scrollX,ht.scrollY,ht.windowWidth,ht.windowHeight),Rt=new Rm(tt,jt),Cn=(cl=Ae.foreignObjectRendering)!==null&&cl!==void 0?cl:!1,Un={allowTaint:(Bl=Ae.allowTaint)!==null&&Bl!==void 0?Bl:!1,onclone:Ae.onclone,ignoreElements:Ae.ignoreElements,inlineImages:Cn,copyStyles:Cn},Rt.logger.debug("Starting document clone with size "+jt.width+"x"+jt.height+" scrolled to "+-jt.left+","+-jt.top),Rn=new Im(Rt,ue,Un),dr=Rn.clonedReferenceElement,dr?[4,Rn.toIFrame(fe,jt)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Ca=wc.sent(),jr=lh(dr)||Fm(dr)?me(dr.ownerDocument):je(Rt,dr),oa=jr.width,Lo=jr.height,ka=jr.left,Oa=jr.top,ho=cs(Rt,dr,Ae.backgroundColor),Ko={canvas:Ae.canvas,backgroundColor:ho,scale:(mu=(Pd=Ae.scale)!==null&&Pd!==void 0?Pd:ge.devicePixelRatio)!==null&&mu!==void 0?mu:1,x:((yc=Ae.x)!==null&&yc!==void 0?yc:0)+ka,y:((Ed=Ae.y)!==null&&Ed!==void 0?Ed:0)+Oa,width:(ed=Ae.width)!==null&&ed!==void 0?ed:Math.ceil(oa),height:(Xu=Ae.height)!==null&&Xu!==void 0?Xu:Math.ceil(Lo)},Cn?(Rt.logger.debug("Document cloned, using foreign object rendering"),gi=new jl(Rt,Ko),[4,gi.render(dr)]):[3,3];case 2:return Ao=wc.sent(),[3,5];case 3:return Rt.logger.debug("Document cloned, element located at "+ka+","+Oa+" with size "+oa+"x"+Lo+" using computed rendering"),Rt.logger.debug("Starting DOM parsing"),fa=s0(Rt,dr),ho===fa.styles.backgroundColor&&(fa.styles.backgroundColor=tA.TRANSPARENT),Rt.logger.debug("Starting renderer for element at "+Ko.x+","+Ko.y+" with size "+Ko.width+"x"+Ko.height),gi=new qA(Rt,Ko),[4,gi.render(fa)];case 4:Ao=wc.sent(),wc.label=5;case 5:return(!((td=Ae.removeContainer)!==null&&td!==void 0)||td)&&(Im.destroy(Ca)||Rt.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Rt.logger.debug("Finished rendering"),[2,Ao]}})})},cs=function(ue,Ae,fe){var ge=Ae.ownerDocument,He=ge.documentElement?Ol(ue,getComputedStyle(ge.documentElement).backgroundColor):tA.TRANSPARENT,tt=ge.body?Ol(ue,getComputedStyle(ge.body).backgroundColor):tA.TRANSPARENT,ht=typeof fe=="string"?Ol(ue,fe):fe===null?tA.TRANSPARENT:4294967295;return Ae===ge.documentElement?DA(He)?DA(tt)?ht:tt:He:ht};return jm})},44164:function(on,Ut,we){var Oe=we(97671);(function(ze,at){on.exports=at(we(53307),we(64270))})(self,function(be,ze){return function(){var at={"./src/plugin/hyperlinks.js":function(Se,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.string.link.js"),ie=de.n(Ce),y=de("./src/worker.js"),a=de("./src/utils.js"),ee=[],E={toContainer:y.default.prototype.toContainer,toPdf:y.default.prototype.toPdf};y.default.prototype.toContainer=function(){return E.toContainer.call(this).then(function(){if(this.opt.enableLinks){var oe=this.prop.container,he=oe.querySelectorAll("a"),_e=(0,a.unitConvert)(oe.getBoundingClientRect(),this.prop.pageSize.k);ee=[],Array.prototype.forEach.call(he,function(Pe){for(var Qe=Pe.getClientRects(),Ze=0;Ze<Qe.length;Ze++){var Ve=(0,a.unitConvert)(Qe[Ze],this.prop.pageSize.k);Ve.left-=_e.left,Ve.top-=_e.top;var nt=Math.floor(Ve.top/this.prop.pageSize.inner.height)+1,De=this.opt.margin[0]+Ve.top%this.prop.pageSize.inner.height,St=this.opt.margin[1]+Ve.left;ee.push({page:nt,top:De,left:St,clientRect:Ve,link:Pe})}},this)}})},y.default.prototype.toPdf=function(){return E.toPdf.call(this).then(function(){if(this.opt.enableLinks){ee.forEach(function(he){this.prop.pdf.setPage(he.page),this.prop.pdf.link(he.left,he.top,he.clientRect.width,he.clientRect.height,{url:he.link.href})},this);var oe=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(oe)}})}},"./src/plugin/jspdf-plugin.js":function(Se,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.symbol.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.symbol.description.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.object.to-string.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.symbol.iterator.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.array.iterator.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.string.iterator.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Pe=de.n(_e),Qe=de("jspdf"),Ze=de.n(Qe);function Ve(nt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(St){return typeof St}:Ve=function(St){return St&&typeof Symbol=="function"&&St.constructor===Symbol&&St!==Symbol.prototype?"symbol":typeof St},Ve(nt)}Qe.jsPDF.getPageSize=function(nt,De,St){if(Ve(nt)==="object"){var ke=nt;nt=ke.orientation,De=ke.unit||De,St=ke.format||St}De=De||"mm",St=St||"a4",nt=(""+(nt||"P")).toLowerCase();var Ot=(""+St).toLowerCase(),it={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(De){case"pt":var rt=1;break;case"mm":var rt=72/25.4;break;case"cm":var rt=72/2.54;break;case"in":var rt=72;break;case"px":var rt=72/96;break;case"pc":var rt=12;break;case"em":var rt=12;break;case"ex":var rt=6;break;default:throw"Invalid unit: "+De}if(it.hasOwnProperty(Ot))var wt=it[Ot][1]/rt,dt=it[Ot][0]/rt;else try{var wt=St[1],dt=St[0]}catch(ft){throw new Error("Invalid format: "+St)}if(nt==="p"||nt==="portrait"){if(nt="p",dt>wt){var pt=dt;dt=wt,wt=pt}}else if(nt==="l"||nt==="landscape"){if(nt="l",wt>dt){var pt=dt;dt=wt,wt=pt}}else throw"Invalid orientation: "+nt;var st={width:dt,height:wt,unit:De,k:rt};return st},Le.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(Se,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.array.concat.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.slice.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.array.join.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.keys.js"),ne=de.n(te),oe=de("./src/worker.js"),he=de("./src/utils.js"),_e={toContainer:oe.default.prototype.toContainer};oe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},oe.default.prototype.toContainer=function(){return _e.toContainer.call(this).then(function(){var Ze=this.prop.container,Ve=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),De={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},St={},ke=this;["before","after","avoid"].forEach(function(rt){var wt=De.avoidAll&&rt==="avoid";St[rt]=wt?[]:[].concat(ke.opt.pagebreak[rt]||[]),St[rt].length>0&&(St[rt]=Array.prototype.slice.call(Ze.querySelectorAll(St[rt].join(", "))))});var Ot=Ze.querySelectorAll(".html2pdf__page-break");Ot=Array.prototype.slice.call(Ot);var it=Ze.querySelectorAll("*");Array.prototype.forEach.call(it,function(wt){var dt={before:!1,after:De.legacy&&Ot.indexOf(wt)!==-1,avoid:De.avoidAll};if(De.css){var pt=window.getComputedStyle(wt),st=["always","page","left","right"],ft=["avoid","avoid-page"];dt={before:dt.before||st.indexOf(pt.breakBefore||pt.pageBreakBefore)!==-1,after:dt.after||st.indexOf(pt.breakAfter||pt.pageBreakAfter)!==-1,avoid:dt.avoid||ft.indexOf(pt.breakInside||pt.pageBreakInside)!==-1}}Object.keys(dt).forEach(function(Hn){dt[Hn]=dt[Hn]||St[Hn].indexOf(wt)!==-1});var an=wt.getBoundingClientRect();if(dt.avoid&&!dt.before){var fn=Math.floor(an.top/Ve),Et=Math.floor(an.bottom/Ve),qt=Math.abs(an.bottom-an.top)/Ve;Et!==fn&&qt<=1&&(dt.before=!0)}if(dt.before){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-an.top%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt)}if(dt.after){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-an.bottom%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt.nextSibling)}})})}},"./src/utils.js":function(Se,Le,de){"use strict";de.r(Le),de.d(Le,{objType:function(){return nt},createElement:function(){return De},cloneNode:function(){return St},unitConvert:function(){return ke},toPx:function(){return Ot}});var Ie=de("./node_modules/core-js/modules/es.number.constructor.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.symbol.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.symbol.description.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.object.to-string.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.array.iterator.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.string.iterator.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=de.n(Qe);function Ve(it){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(wt){return typeof wt}:Ve=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},Ve(it)}var nt=function(rt){var wt=Ve(rt);return wt==="undefined"?"undefined":wt==="string"||rt instanceof String?"string":wt==="number"||rt instanceof Number?"number":wt==="function"||rt instanceof Function?"function":rt&&rt.constructor===Array?"array":rt&&rt.nodeType===1?"element":wt==="object"?"object":"unknown"},De=function(rt,wt){var dt=document.createElement(rt);if(wt.className&&(dt.className=wt.className),wt.innerHTML){dt.innerHTML=wt.innerHTML;for(var pt=dt.getElementsByTagName("script"),st=pt.length;st-- >0;null)pt[st].parentNode.removeChild(pt[st])}for(var ft in wt.style)dt.style[ft]=wt.style[ft];return dt},St=function it(rt,wt){for(var dt=rt.nodeType===3?document.createTextNode(rt.nodeValue):rt.cloneNode(!1),pt=rt.firstChild;pt;pt=pt.nextSibling)(wt===!0||pt.nodeType!==1||pt.nodeName!=="SCRIPT")&&dt.appendChild(it(pt,wt));return rt.nodeType===1&&(rt.nodeName==="CANVAS"?(dt.width=rt.width,dt.height=rt.height,dt.getContext("2d").drawImage(rt,0,0)):(rt.nodeName==="TEXTAREA"||rt.nodeName==="SELECT")&&(dt.value=rt.value),dt.addEventListener("load",function(){dt.scrollTop=rt.scrollTop,dt.scrollLeft=rt.scrollLeft},!0)),dt},ke=function(rt,wt){if(nt(rt)==="number")return rt*72/96/wt;var dt={};for(var pt in rt)dt[pt]=rt[pt]*72/96/wt;return dt},Ot=function(rt,wt){return Math.floor(rt*wt/72*96)}},"./src/worker.js":function(Se,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.object.assign.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.map.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.object.keys.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.array.concat.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.to-string.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.regexp.to-string.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.function.name.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=de.n(Qe),Ve=de("jspdf"),nt=de.n(Ve),De=de("html2canvas"),St=de.n(De),ke=de("./src/utils.js"),Ot=de("./node_modules/es6-promise/dist/es6-promise.js"),it=de.n(Ot),rt=it().Promise,wt=function dt(pt){var st=Object.assign(dt.convert(rt.resolve()),JSON.parse(JSON.stringify(dt.template))),ft=dt.convert(rt.resolve(),st);return ft=ft.setProgress(1,dt,1,[dt]),ft=ft.set(pt),ft};wt.prototype=Object.create(rt.prototype),wt.prototype.constructor=wt,wt.convert=function(pt,st){return pt.__proto__=st||wt.prototype,pt},wt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},wt.prototype.from=function(pt,st){function ft(an){switch((0,ke.objType)(an)){case"string":return"string";case"element":return an.nodeName.toLowerCase&&an.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(st=st||ft(pt),st){case"string":return this.set({src:(0,ke.createElement)("div",{innerHTML:pt})});case"element":return this.set({src:pt});case"canvas":return this.set({canvas:pt});case"img":return this.set({img:pt});default:return this.error("Unknown source type.")}})},wt.prototype.to=function(pt){switch(pt){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.")}},wt.prototype.toContainer=function(){var pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},an={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ft.opacity=0;var fn=(0,ke.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,ke.createElement)("div",{className:"html2pdf__overlay",style:ft}),this.prop.container=(0,ke.createElement)("div",{className:"html2pdf__container",style:an}),this.prop.container.appendChild(fn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},wt.prototype.toCanvas=function(){var pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(pt).then(function(){var ft=Object.assign({},this.opt.html2canvas);return delete ft.onrendered,De(this.prop.container,ft)}).then(function(ft){var an=this.opt.html2canvas.onrendered||function(){};an(ft),this.prop.canvas=ft,document.body.removeChild(this.prop.overlay)})},wt.prototype.toImg=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ft})},wt.prototype.toPdf=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas,an=this.opt,fn=ft.height,Et=Math.floor(ft.width*this.prop.pageSize.inner.ratio),qt=Math.ceil(fn/Et),Ln=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),un=Hn.getContext("2d");Hn.width=ft.width,Hn.height=Et,this.prop.pdf=this.prop.pdf||new Ve.jsPDF(an.jsPDF);for(var Vn=0;Vn<qt;Vn++){Vn===qt-1&&fn%Et!==0&&(Hn.height=fn%Et,Ln=Hn.height*this.prop.pageSize.inner.width/Hn.width);var yt=Hn.width,Kn=Hn.height;un.fillStyle="white",un.fillRect(0,0,yt,Kn),un.drawImage(ft,0,Vn*Et,yt,Kn,0,0,yt,Kn),Vn&&this.prop.pdf.addPage();var er=Hn.toDataURL("image/"+an.image.type,an.image.quality);this.prop.pdf.addImage(er,an.image.type,an.margin[1],an.margin[0],this.prop.pageSize.inner.width,Ln)}})},wt.prototype.output=function(pt,st,ft){return ft=ft||"pdf",ft.toLowerCase()==="img"||ft.toLowerCase()==="image"?this.outputImg(pt,st):this.outputPdf(pt,st)},wt.prototype.outputPdf=function(pt,st){var ft=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ft).then(function(){return this.prop.pdf.output(pt,st)})},wt.prototype.outputImg=function(pt,st){var ft=[function(){return this.prop.img||this.toImg()}];return this.thenList(ft).then(function(){switch(pt){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 "'+pt+'" is not supported.'}})},wt.prototype.save=function(pt){var st=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(st).set(pt?{filename:pt}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},wt.prototype.set=function(pt){if((0,ke.objType)(pt)!=="object")return this;var st=Object.keys(pt||{}).map(function(ft){switch(ft){case"margin":return this.setMargin.bind(this,pt.margin);case"jsPDF":return function(){return this.opt.jsPDF=pt.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,pt.pageSize);default:return ft in wt.template.prop?function(){this.prop[ft]=pt[ft]}:function(){this.opt[ft]=pt[ft]}}},this);return this.then(function(){return this.thenList(st)})},wt.prototype.get=function(pt,st){return this.then(function(){var an=pt in wt.template.prop?this.prop[pt]:this.opt[pt];return st?st(an):an})},wt.prototype.setMargin=function(pt){return this.then(function(){switch((0,ke.objType)(pt)){case"number":pt=[pt,pt,pt,pt];case"array":if(pt.length===2&&(pt=[pt[0],pt[1],pt[0],pt[1]]),pt.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=pt}).then(this.setPageSize)},wt.prototype.setPageSize=function(pt){return this.then(function(){pt=pt||Ve.jsPDF.getPageSize(this.opt.jsPDF),pt.hasOwnProperty("inner")||(pt.inner={width:pt.width-this.opt.margin[1]-this.opt.margin[3],height:pt.height-this.opt.margin[0]-this.opt.margin[2]},pt.inner.px={width:(0,ke.toPx)(pt.inner.width,pt.k),height:(0,ke.toPx)(pt.inner.height,pt.k)},pt.inner.ratio=pt.inner.height/pt.inner.width),this.prop.pageSize=pt})},wt.prototype.setProgress=function(pt,st,ft,an){return pt!=null&&(this.progress.val=pt),st!=null&&(this.progress.state=st),ft!=null&&(this.progress.n=ft),an!=null&&(this.progress.stack=an),this.progress.ratio=this.progress.val/this.progress.state,this},wt.prototype.updateProgress=function(pt,st,ft,an){return this.setProgress(pt?this.progress.val+pt:null,st||null,ft?this.progress.n+ft:null,an?this.progress.stack.concat(an):null)},wt.prototype.then=function(pt,st){var ft=this;return this.thenCore(pt,st,function(fn,Et){return ft.updateProgress(null,null,1,[fn]),rt.prototype.then.call(this,function(Ln){return ft.updateProgress(null,fn),Ln}).then(fn,Et).then(function(Ln){return ft.updateProgress(1),Ln})})},wt.prototype.thenCore=function(pt,st,ft){ft=ft||rt.prototype.then;var an=this;pt&&(pt=pt.bind(an)),st&&(st=st.bind(an));var fn=rt.toString().indexOf("[native code]")!==-1&&rt.name==="Promise",Et=fn?an:wt.convert(Object.assign({},an),rt.prototype),qt=ft.call(Et,pt,st);return wt.convert(qt,an.__proto__)},wt.prototype.thenExternal=function(pt,st){return rt.prototype.then.call(this,pt,st)},wt.prototype.thenList=function(pt){var st=this;return pt.forEach(function(an){st=st.thenCore(an)}),st},wt.prototype.catch=function(dt){dt&&(dt=dt.bind(this));var pt=rt.prototype.catch.call(this,dt);return wt.convert(pt,this)},wt.prototype.catchExternal=function(pt){return rt.prototype.catch.call(this,pt)},wt.prototype.error=function(pt){return this.then(function(){throw new Error(pt)})},wt.prototype.using=wt.prototype.set,wt.prototype.saveAs=wt.prototype.save,wt.prototype.export=wt.prototype.output,wt.prototype.run=wt.prototype.then,Le.default=wt},"./node_modules/core-js/internals/a-function.js":function(Se){Se.exports=function(Le){if(typeof Le!="function")throw TypeError(String(Le)+" is not a function");return Le}},"./node_modules/core-js/internals/a-possible-prototype.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Se.exports=function(Fe){if(!Ie(Fe)&&Fe!==null)throw TypeError("Can't set "+String(Fe)+" as a prototype");return Fe}},"./node_modules/core-js/internals/add-to-unscopables.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js"),Fe=de("./node_modules/core-js/internals/object-create.js"),Ce=de("./node_modules/core-js/internals/object-define-property.js"),ie=Ie("unscopables"),y=Array.prototype;y[ie]==null&&Ce.f(y,ie,{configurable:!0,value:Fe(null)}),Se.exports=function(a){y[ie][a]=!0}},"./node_modules/core-js/internals/an-object.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Se.exports=function(Fe){if(!Ie(Fe))throw TypeError(String(Fe)+" is not an object");return Fe}},"./node_modules/core-js/internals/array-for-each.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/array-iteration.js").forEach,Fe=de("./node_modules/core-js/internals/array-method-is-strict.js"),Ce=Fe("forEach");Se.exports=Ce?[].forEach:function(y){return Ie(this,y,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/to-length.js"),Ce=de("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,E){var te=Ie(a),ne=Fe(te.length),oe=Ce(E,ne),he;if(y&&ee!=ee){for(;ne>oe;)if(he=te[oe++],he!=he)return!0}else for(;ne>oe;oe++)if((y||oe in te)&&te[oe]===ee)return y||oe||0;return!y&&-1}};Se.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/function-bind-context.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-object.js"),ie=de("./node_modules/core-js/internals/to-length.js"),y=de("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,oe=E==3,he=E==4,_e=E==6,Pe=E==7,Qe=E==5||_e;return function(Ze,Ve,nt,De){for(var St=Ce(Ze),ke=Fe(St),Ot=Ie(Ve,nt,3),it=ie(ke.length),rt=0,wt=De||y,dt=te?wt(Ze,it):ne||Pe?wt(Ze,0):void 0,pt,st;it>rt;rt++)if((Qe||rt in ke)&&(pt=ke[rt],st=Ot(pt,rt,St),E))if(te)dt[rt]=st;else if(st)switch(E){case 3:return!0;case 5:return pt;case 6:return rt;case 2:a.call(dt,pt)}else switch(E){case 4:return!1;case 7:a.call(dt,pt)}return _e?-1:oe||he?he:dt}};Se.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/well-known-symbol.js"),Ce=de("./node_modules/core-js/internals/engine-v8-version.js"),ie=Fe("species");Se.exports=function(y){return Ce>=51||!Ie(function(){var a=[],ee=a.constructor={};return ee[ie]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js");Se.exports=function(Fe,Ce){var ie=[][Fe];return!!ie&&Ie(function(){ie.call(null,Ce||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-array.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("species");Se.exports=function(y){var a;return Fe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Fe(a.prototype))?a=void 0:Ie(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/array-species-constructor.js");Se.exports=function(Fe,Ce){return new(Ie(Fe))(Ce===0?0:Ce)}},"./node_modules/core-js/internals/classof-raw.js":function(Se){var Le={}.toString;Se.exports=function(de){return Le.call(de).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag"),y=Fe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};Se.exports=Ie?Fe:function(ee){var E,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(E=Object(ee),ie))=="string"?te:y?Fe(E):(ne=Fe(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/own-keys.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=de("./node_modules/core-js/internals/object-define-property.js");Se.exports=function(y,a){for(var ee=Fe(a),E=ie.f,te=Ce.f,ne=0;ne<ee.length;ne++){var oe=ee[ne];Ie(y,oe)||E(y,oe,te(a,oe))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Se.exports=!Ie(function(){function Fe(){}return Fe.prototype.constructor=null,Object.getPrototypeOf(new Fe)!==Fe.prototype})},"./node_modules/core-js/internals/create-html.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=/"/g;Se.exports=function(ie,y,a,ee){var E=Fe(Ie(ie)),te="<"+y;return a!==""&&(te+=" "+a+'="'+Fe(ee).replace(Ce,"&quot;")+'"'),te+">"+E+"</"+y+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Fe=de("./node_modules/core-js/internals/object-create.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/set-to-string-tag.js"),y=de("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Se.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=Fe(Ie,{next:Ce(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Se.exports=Ie?function(ie,y,a){return Fe.f(ie,y,Ce(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Se){Se.exports=function(Le,de){return{enumerable:!(Le&1),configurable:!(Le&2),writable:!(Le&4),value:de}}},"./node_modules/core-js/internals/create-property.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-property-key.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Se.exports=function(ie,y,a){var ee=Ie(y);ee in ie?Fe.f(ie,ee,Ce(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-iterator-constructor.js"),Ce=de("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=de("./node_modules/core-js/internals/object-set-prototype-of.js"),y=de("./node_modules/core-js/internals/set-to-string-tag.js"),a=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=de("./node_modules/core-js/internals/redefine.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/is-pure.js"),ne=de("./node_modules/core-js/internals/iterators.js"),oe=de("./node_modules/core-js/internals/iterators-core.js"),he=oe.IteratorPrototype,_e=oe.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Qe="keys",Ze="values",Ve="entries",nt=function(){return this};Se.exports=function(De,St,ke,Ot,it,rt,wt){Fe(ke,St,Ot);var dt=function(un){if(un===it&&fn)return fn;if(!_e&&un in ft)return ft[un];switch(un){case Qe:return function(){return new ke(this,un)};case Ze:return function(){return new ke(this,un)};case Ve:return function(){return new ke(this,un)}}return function(){return new ke(this)}},pt=St+" Iterator",st=!1,ft=De.prototype,an=ft[Pe]||ft["@@iterator"]||it&&ft[it],fn=!_e&&an||dt(it),Et=St=="Array"&&ft.entries||an,qt,Ln,Hn;if(Et&&(qt=Ce(Et.call(new De)),he!==Object.prototype&&qt.next&&(!te&&Ce(qt)!==he&&(ie?ie(qt,he):typeof qt[Pe]!="function"&&a(qt,Pe,nt)),y(qt,pt,!0,!0),te&&(ne[pt]=nt))),it==Ze&&an&&an.name!==Ze&&(st=!0,fn=function(){return an.call(this)}),(!te||wt)&&ft[Pe]!==fn&&a(ft,Pe,fn),ne[St]=fn,it)if(Ln={values:dt(Ze),keys:rt?fn:dt(Qe),entries:dt(Ve)},wt)for(Hn in Ln)(_e||st||!(Hn in ft))&&ee(ft,Hn,Ln[Hn]);else Ie({target:St,proto:!0,forced:_e||st},Ln);return Ln}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/path.js"),Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=de("./node_modules/core-js/internals/object-define-property.js").f;Se.exports=function(y){var a=Ie.Symbol||(Ie.Symbol={});Fe(a,y)||ie(a,y,{value:Ce.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Se.exports=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=Ie.document,ie=Fe(Ce)&&Fe(Ce.createElement);Se.exports=function(y){return ie?Ce.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Se){Se.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Se.exports=Ie("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/engine-user-agent.js"),Ce=Ie.process,ie=Ie.Deno,y=Ce&&Ce.versions||ie&&ie.version,a=y&&y.v8,ee,E;a?(ee=a.split("."),E=ee[0]<4?1:ee[0]+ee[1]):Fe&&(ee=Fe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=Fe.match(/Chrome\/(\d+)/),ee&&(E=ee[1]))),Se.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(Se){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/redefine.js"),y=de("./node_modules/core-js/internals/set-global.js"),a=de("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=de("./node_modules/core-js/internals/is-forced.js");Se.exports=function(E,te){var ne=E.target,oe=E.global,he=E.stat,_e,Pe,Qe,Ze,Ve,nt;if(oe?Pe=Ie:he?Pe=Ie[ne]||y(ne,{}):Pe=(Ie[ne]||{}).prototype,Pe)for(Qe in te){if(Ve=te[Qe],E.noTargetGet?(nt=Fe(Pe,Qe),Ze=nt&&nt.value):Ze=Pe[Qe],_e=ee(oe?Qe:ne+(he?".":"#")+Qe,E.forced),!_e&&Ze!==void 0){if(typeof Ve==typeof Ze)continue;a(Ve,Ze)}(E.sham||Ze&&Ze.sham)&&Ce(Ve,"sham",!0),ie(Pe,Qe,Ve,E)}}},"./node_modules/core-js/internals/fails.js":function(Se){Se.exports=function(Le){try{return!!Le()}catch(de){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/a-function.js");Se.exports=function(Fe,Ce,ie){if(Ie(Fe),Ce===void 0)return Fe;switch(ie){case 0:return function(){return Fe.call(Ce)};case 1:return function(y){return Fe.call(Ce,y)};case 2:return function(y,a){return Fe.call(Ce,y,a)};case 3:return function(y,a,ee){return Fe.call(Ce,y,a,ee)}}return function(){return Fe.apply(Ce,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=function(Ce){return typeof Ce=="function"?Ce:void 0};Se.exports=function(Ce,ie){return arguments.length<2?Fe(Ie[Ce]):Ie[Ce]&&Ie[Ce][ie]}},"./node_modules/core-js/internals/global.js":function(Se){var Le=function(de){return de&&de.Math==Math&&de};Se.exports=Le(typeof globalThis=="object"&&globalThis)||Le(typeof window=="object"&&window)||Le(typeof self=="object"&&self)||Le(typeof we.g=="object"&&we.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-object.js"),Fe={}.hasOwnProperty;Se.exports=Object.hasOwn||function(ie,y){return Fe.call(Ie(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Se){Se.exports={}},"./node_modules/core-js/internals/html.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Se.exports=Ie("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/document-create-element.js");Se.exports=!Ie&&!Fe(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce="".split;Se.exports=Ie(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return Fe(ie)=="String"?Ce.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/object-set-prototype-of.js");Se.exports=function(Ce,ie,y){var a,ee;return Fe&&typeof(a=ie.constructor)=="function"&&a!==y&&Ie(ee=a.prototype)&&ee!==y.prototype&&Fe(Ce,ee),Ce}},"./node_modules/core-js/internals/inspect-source.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/shared-store.js"),Fe=Function.toString;typeof Ie.inspectSource!="function"&&(Ie.inspectSource=function(Ce){return Fe.call(Ce)}),Se.exports=Ie.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/native-weak-map.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/is-object.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/has.js"),a=de("./node_modules/core-js/internals/shared-store.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=de("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=Fe.WeakMap,oe,he,_e,Pe=function(ke){return _e(ke)?he(ke):oe(ke,{})},Qe=function(ke){return function(Ot){var it;if(!Ce(Ot)||(it=he(Ot)).type!==ke)throw TypeError("Incompatible receiver, "+ke+" required");return it}};if(Ie||a.state){var Ze=a.state||(a.state=new ne),Ve=Ze.get,nt=Ze.has,De=Ze.set;oe=function(ke,Ot){if(nt.call(Ze,ke))throw new TypeError(te);return Ot.facade=ke,De.call(Ze,ke,Ot),Ot},he=function(ke){return Ve.call(Ze,ke)||{}},_e=function(ke){return nt.call(Ze,ke)}}else{var St=ee("state");E[St]=!0,oe=function(ke,Ot){if(y(ke,St))throw new TypeError(te);return Ot.facade=ke,ie(ke,St,Ot),Ot},he=function(ke){return y(ke,St)?ke[St]:{}},_e=function(ke){return y(ke,St)}}Se.exports={set:oe,get:he,has:_e,enforce:Pe,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/classof-raw.js");Se.exports=Array.isArray||function(Ce){return Ie(Ce)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=/#|\.prototype\./,Ce=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?Ie(te):!!te},ie=Ce.normalize=function(E){return String(E).replace(Fe,".").toLowerCase()},y=Ce.data={},a=Ce.NATIVE="N",ee=Ce.POLYFILL="P";Se.exports=Ce},"./node_modules/core-js/internals/is-object.js":function(Se){Se.exports=function(Le){return typeof Le=="object"?Le!==null:typeof Le=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Se){Se.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/use-symbol-as-uid.js");Se.exports=Fe?function(Ce){return typeof Ce=="symbol"}:function(Ce){var ie=Ie("Symbol");return typeof ie=="function"&&Object(Ce)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/object-get-prototype-of.js"),Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=de("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,oe,he;[].keys&&(he=[].keys(),"next"in he?(oe=Fe(Fe(he)),oe!==Object.prototype&&(ne=oe)):E=!0);var _e=ne==null||Ie(function(){var Pe={};return ne[ee].call(Pe)!==Pe});_e&&(ne={}),(!a||_e)&&!ie(ne,ee)&&Ce(ne,ee,te),Se.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(Se){Se.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/engine-v8-version.js"),Fe=de("./node_modules/core-js/internals/fails.js");Se.exports=!!Object.getOwnPropertySymbols&&!Fe(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&Ie&&Ie<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/inspect-source.js"),Ce=Ie.WeakMap;Se.exports=typeof Ce=="function"&&/native code/.test(Fe(Ce))},"./node_modules/core-js/internals/object-assign.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=de("./node_modules/core-js/internals/to-object.js"),ee=de("./node_modules/core-js/internals/indexed-object.js"),E=Object.assign,te=Object.defineProperty;Se.exports=!E||Fe(function(){if(Ie&&E({b:1},E(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},oe={},he=Symbol(),_e="abcdefghijklmnopqrst";return ne[he]=7,_e.split("").forEach(function(Pe){oe[Pe]=Pe}),E({},ne)[he]!=7||Ce(E({},oe)).join("")!=_e})?function(oe,he){for(var _e=a(oe),Pe=arguments.length,Qe=1,Ze=ie.f,Ve=y.f;Pe>Qe;)for(var nt=ee(arguments[Qe++]),De=Ze?Ce(nt).concat(Ze(nt)):Ce(nt),St=De.length,ke=0,Ot;St>ke;)Ot=De[ke++],(!Ie||Ve.call(nt,Ot))&&(_e[Ot]=nt[Ot]);return _e}:E},"./node_modules/core-js/internals/object-create.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/object-define-properties.js"),Ce=de("./node_modules/core-js/internals/enum-bug-keys.js"),ie=de("./node_modules/core-js/internals/hidden-keys.js"),y=de("./node_modules/core-js/internals/html.js"),a=de("./node_modules/core-js/internals/document-create-element.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",oe="script",he=ee("IE_PROTO"),_e=function(){},Pe=function(De){return te+oe+E+De+te+"/"+oe+E},Qe=function(De){De.write(Pe("")),De.close();var St=De.parentWindow.Object;return De=null,St},Ze=function(){var De=a("iframe"),St="java"+oe+":",ke;if(De.style)return De.style.display="none",y.appendChild(De),De.src=String(St),ke=De.contentWindow.document,ke.open(),ke.write(Pe("document.F=Object")),ke.close(),ke.F},Ve,nt=function(){try{Ve=new ActiveXObject("htmlfile")}catch(St){}nt=document.domain&&Ve?Qe(Ve):Ze()||Qe(Ve);for(var De=Ce.length;De--;)delete nt[ne][Ce[De]];return nt()};ie[he]=!0,Se.exports=Object.create||function(St,ke){var Ot;return St!==null?(_e[ne]=Ie(St),Ot=new _e,_e[ne]=null,Ot[he]=St):Ot=nt(),ke===void 0?Ot:Fe(Ot,ke)}},"./node_modules/core-js/internals/object-define-properties.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/object-keys.js");Se.exports=Ie?Object.defineProperties:function(a,ee){Ce(a);for(var E=ie(ee),te=E.length,ne=0,oe;te>ne;)Fe.f(a,oe=E[ne++],ee[oe]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/ie8-dom-define.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Le.f=Ie?y:function(ee,E,te){if(Ce(ee),E=ie(E),Ce(te),Fe)try{return y(ee,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[E]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/to-indexed-object.js"),y=de("./node_modules/core-js/internals/to-property-key.js"),a=de("./node_modules/core-js/internals/has.js"),ee=de("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;Le.f=Ie?E:function(ne,oe){if(ne=ie(ne),oe=y(oe),ee)try{return E(ne,oe)}catch(he){}if(a(ne,oe))return Ce(!Fe.f.call(ne,oe),ne[oe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ce={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Fe(a)}catch(ee){return ie.slice()}};Se.exports.f=function(ee){return ie&&Ce.call(ee)=="[object Window]"?y(ee):Fe(Ie(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js"),Ce=Fe.concat("length","prototype");Le.f=Object.getOwnPropertyNames||function(y){return Ie(y,Ce)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Se,Le){Le.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/shared-key.js"),ie=de("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ce("IE_PROTO"),a=Object.prototype;Se.exports=ie?Object.getPrototypeOf:function(ee){return ee=Fe(ee),Ie(ee,y)?ee[y]:typeof ee.constructor=="function"&&ee instanceof ee.constructor?ee.constructor.prototype:ee instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-indexed-object.js"),Ce=de("./node_modules/core-js/internals/array-includes.js").indexOf,ie=de("./node_modules/core-js/internals/hidden-keys.js");Se.exports=function(y,a){var ee=Fe(y),E=0,te=[],ne;for(ne in ee)!Ie(ie,ne)&&Ie(ee,ne)&&te.push(ne);for(;a.length>E;)Ie(ee,ne=a[E++])&&(~Ce(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js");Se.exports=Object.keys||function(ie){return Ie(ie,Fe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Se,Le){"use strict";var de={}.propertyIsEnumerable,Ie=Object.getOwnPropertyDescriptor,Fe=Ie&&!de.call({1:2},1);Le.f=Fe?function(ie){var y=Ie(this,ie);return!!y&&y.enumerable}:de},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/a-possible-prototype.js");Se.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ce=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ce=ie instanceof Array}catch(a){}return function(ee,E){return Ie(ee),Fe(E),Ce?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof.js");Se.exports=Ie?{}.toString:function(){return"[object "+Fe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Se.exports=function(Fe,Ce){var ie,y;if(Ce==="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe))||typeof(ie=Fe.valueOf)=="function"&&!Ie(y=ie.call(Fe))||Ce!=="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=de("./node_modules/core-js/internals/an-object.js");Se.exports=Ie("Reflect","ownKeys")||function(a){var ee=Fe.f(ie(a)),E=Ce.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Se.exports=Ie},"./node_modules/core-js/internals/redefine.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/set-global.js"),y=de("./node_modules/core-js/internals/inspect-source.js"),a=de("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(Se.exports=function(ne,oe,he,_e){var Pe=_e?!!_e.unsafe:!1,Qe=_e?!!_e.enumerable:!1,Ze=_e?!!_e.noTargetGet:!1,Ve;if(typeof he=="function"&&(typeof oe=="string"&&!Ce(he,"name")&&Fe(he,"name",oe),Ve=E(he),Ve.source||(Ve.source=te.join(typeof oe=="string"?oe:""))),ne===Ie){Qe?ne[oe]=he:ie(oe,he);return}else Pe?!Ze&&ne[oe]&&(Qe=!0):delete ne[oe];Qe?ne[oe]=he:Fe(ne,oe,he)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/an-object.js");Se.exports=function(){var Fe=Ie(this),Ce="";return Fe.global&&(Ce+="g"),Fe.ignoreCase&&(Ce+="i"),Fe.multiline&&(Ce+="m"),Fe.dotAll&&(Ce+="s"),Fe.unicode&&(Ce+="u"),Fe.sticky&&(Ce+="y"),Ce}},"./node_modules/core-js/internals/require-object-coercible.js":function(Se){Se.exports=function(Le){if(Le==null)throw TypeError("Can't call method on "+Le);return Le}},"./node_modules/core-js/internals/set-global.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Se.exports=function(Fe,Ce){try{Object.defineProperty(Ie,Fe,{value:Ce,configurable:!0,writable:!0})}catch(ie){Ie[Fe]=Ce}return Ce}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/object-define-property.js").f,Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag");Se.exports=function(y,a,ee){y&&!Fe(y=ee?y:y.prototype,ie)&&Ie(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/shared.js"),Fe=de("./node_modules/core-js/internals/uid.js"),Ce=Ie("keys");Se.exports=function(ie){return Ce[ie]||(Ce[ie]=Fe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/set-global.js"),Ce="__core-js_shared__",ie=Ie[Ce]||Fe(Ce,{});Se.exports=ie},"./node_modules/core-js/internals/shared.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-pure.js"),Fe=de("./node_modules/core-js/internals/shared-store.js");(Se.exports=function(Ce,ie){return Fe[Ce]||(Fe[Ce]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:Ie?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Se.exports=function(Fe){return Ie(function(){var Ce=""[Fe]('"');return Ce!==Ce.toLowerCase()||Ce.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=Fe(Ce(a)),te=Ie(ee),ne=E.length,oe,he;return te<0||te>=ne?y?"":void 0:(oe=E.charCodeAt(te),oe<55296||oe>56319||te+1===ne||(he=E.charCodeAt(te+1))<56320||he>57343?y?E.charAt(te):oe:y?E.slice(te,te+2):(oe-55296<<10)+(he-56320)+65536)}};Se.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ce+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(E){return function(te){var ne=Fe(Ie(te));return E&1&&(ne=ne.replace(y,"")),E&2&&(ne=ne.replace(a,"")),ne}};Se.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.max,Ce=Math.min;Se.exports=function(ie,y){var a=Ie(ie);return a<0?Fe(a+y,0):Ce(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/indexed-object.js"),Fe=de("./node_modules/core-js/internals/require-object-coercible.js");Se.exports=function(Ce){return Ie(Fe(Ce))}},"./node_modules/core-js/internals/to-integer.js":function(Se){var Le=Math.ceil,de=Math.floor;Se.exports=function(Ie){return isNaN(Ie=+Ie)?0:(Ie>0?de:Le)(Ie)}},"./node_modules/core-js/internals/to-length.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.min;Se.exports=function(Ce){return Ce>0?Fe(Ie(Ce),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js");Se.exports=function(Fe){return Object(Ie(Fe))}},"./node_modules/core-js/internals/to-primitive.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js"),Ce=de("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=de("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");Se.exports=function(a,ee){if(!Ie(a)||Fe(a))return a;var E=a[y],te;if(E!==void 0){if(ee===void 0&&(ee="default"),te=E.call(a,ee),!Ie(te)||Fe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),Ce(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-primitive.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js");Se.exports=function(Ce){var ie=Ie(Ce,"string");return Fe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js"),Fe=Ie("toStringTag"),Ce={};Ce[Fe]="z",Se.exports=String(Ce)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/is-symbol.js");Se.exports=function(Fe){if(Ie(Fe))throw TypeError("Cannot convert a Symbol value to a string");return String(Fe)}},"./node_modules/core-js/internals/uid.js":function(Se){var Le=0,de=Math.random();Se.exports=function(Ie){return"Symbol("+String(Ie===void 0?"":Ie)+")_"+(++Le+de).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/native-symbol.js");Se.exports=Ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js");Le.f=Ie},"./node_modules/core-js/internals/well-known-symbol.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/shared.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/uid.js"),y=de("./node_modules/core-js/internals/native-symbol.js"),a=de("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=Fe("wks"),E=Ie.Symbol,te=a?E:E&&E.withoutSetter||ie;Se.exports=function(ne){return(!Ce(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ce(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(Se){Se.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/is-object.js"),y=de("./node_modules/core-js/internals/to-object.js"),a=de("./node_modules/core-js/internals/to-length.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/array-species-create.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=de("./node_modules/core-js/internals/well-known-symbol.js"),oe=de("./node_modules/core-js/internals/engine-v8-version.js"),he=ne("isConcatSpreadable"),_e=9007199254740991,Pe="Maximum allowed index exceeded",Qe=oe>=51||!Fe(function(){var De=[];return De[he]=!1,De.concat()[0]!==De}),Ze=te("concat"),Ve=function(De){if(!ie(De))return!1;var St=De[he];return St!==void 0?!!St:Ce(De)},nt=!Qe||!Ze;Ie({target:"Array",proto:!0,forced:nt},{concat:function(St){var ke=y(this),Ot=E(ke,0),it=0,rt,wt,dt,pt,st;for(rt=-1,dt=arguments.length;rt<dt;rt++)if(st=rt===-1?ke:arguments[rt],Ve(st)){if(pt=a(st.length),it+pt>_e)throw TypeError(Pe);for(wt=0;wt<pt;wt++,it++)wt in st&&ee(Ot,it,st[wt])}else{if(it>=_e)throw TypeError(Pe);ee(Ot,it++,st)}return Ot.length=it,Ot}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/add-to-unscopables.js"),Ce=de("./node_modules/core-js/internals/iterators.js"),ie=de("./node_modules/core-js/internals/internal-state.js"),y=de("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,E=ie.getterFor(a);Se.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:Ie(te),index:0,kind:ne})},function(){var te=E(this),ne=te.target,oe=te.kind,he=te.index++;return!ne||he>=ne.length?(te.target=void 0,{value:void 0,done:!0}):oe=="keys"?{value:he,done:!1}:oe=="values"?{value:ne[he],done:!1}:{value:[he,ne[he]],done:!1}},"values"),Ce.Arguments=Ce.Array,Fe("keys"),Fe("values"),Fe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-indexed-object.js"),ie=de("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Fe!=Object,ee=ie("join",",");Ie({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(Ce(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/array-iteration.js").map,Ce=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ce("map");Ie({target:"Array",proto:!0,forced:!ie},{map:function(a){return Fe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/to-absolute-index.js"),y=de("./node_modules/core-js/internals/to-length.js"),a=de("./node_modules/core-js/internals/to-indexed-object.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),oe=E("species"),he=[].slice,_e=Math.max;Ie({target:"Array",proto:!0,forced:!ne},{slice:function(Qe,Ze){var Ve=a(this),nt=y(Ve.length),De=ie(Qe,nt),St=ie(Ze===void 0?nt:Ze,nt),ke,Ot,it;if(Ce(Ve)&&(ke=Ve.constructor,typeof ke=="function"&&(ke===Array||Ce(ke.prototype))?ke=void 0:Fe(ke)&&(ke=ke[oe],ke===null&&(ke=void 0)),ke===Array||ke===void 0))return he.call(Ve,De,St);for(Ot=new(ke===void 0?Array:ke)(_e(St-De,0)),it=0;De<St;De++,it++)De in Ve&&ee(Ot,it,Ve[De]);return Ot.length=it,Ot}})},"./node_modules/core-js/modules/es.function.name.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js").f,Ce=Function.prototype,ie=Ce.toString,y=/^\s*function ([^ (]*)/,a="name";Ie&&!(a in Ce)&&Fe(Ce,a,{configurable:!0,get:function(){try{return ie.call(this).match(y)[1]}catch(ee){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/is-forced.js"),ie=de("./node_modules/core-js/internals/redefine.js"),y=de("./node_modules/core-js/internals/has.js"),a=de("./node_modules/core-js/internals/classof-raw.js"),ee=de("./node_modules/core-js/internals/inherit-if-required.js"),E=de("./node_modules/core-js/internals/is-symbol.js"),te=de("./node_modules/core-js/internals/to-primitive.js"),ne=de("./node_modules/core-js/internals/fails.js"),oe=de("./node_modules/core-js/internals/object-create.js"),he=de("./node_modules/core-js/internals/object-get-own-property-names.js").f,_e=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Pe=de("./node_modules/core-js/internals/object-define-property.js").f,Qe=de("./node_modules/core-js/internals/string-trim.js").trim,Ze="Number",Ve=Fe[Ze],nt=Ve.prototype,De=a(oe(nt))==Ze,St=function(wt){if(E(wt))throw TypeError("Cannot convert a Symbol value to a number");var dt=te(wt,"number"),pt,st,ft,an,fn,Et,qt,Ln;if(typeof dt=="string"&&dt.length>2){if(dt=Qe(dt),pt=dt.charCodeAt(0),pt===43||pt===45){if(st=dt.charCodeAt(2),st===88||st===120)return NaN}else if(pt===48){switch(dt.charCodeAt(1)){case 66:case 98:ft=2,an=49;break;case 79:case 111:ft=8,an=55;break;default:return+dt}for(fn=dt.slice(2),Et=fn.length,qt=0;qt<Et;qt++)if(Ln=fn.charCodeAt(qt),Ln<48||Ln>an)return NaN;return parseInt(fn,ft)}}return+dt};if(Ce(Ze,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var ke=function(dt){var pt=arguments.length<1?0:dt,st=this;return st instanceof ke&&(De?ne(function(){nt.valueOf.call(st)}):a(st)!=Ze)?ee(new Ve(St(pt)),st,ke):St(pt)},Ot=Ie?he(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),it=0,rt;Ot.length>it;it++)y(Ve,rt=Ot[it])&&!y(ke,rt)&&Pe(ke,rt,_e(Ve,rt));ke.prototype=nt,nt.constructor=ke,ie(Fe,Ze,ke)}},"./node_modules/core-js/modules/es.object.assign.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/object-assign.js");Ie({target:"Object",stat:!0,forced:Object.assign!==Fe},{assign:Fe})},"./node_modules/core-js/modules/es.object.keys.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ce(1)});Ie({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ce(Fe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/redefine.js"),Ce=de("./node_modules/core-js/internals/object-to-string.js");Ie||Fe(Object.prototype,"toString",Ce,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/redefine.js"),Fe=de("./node_modules/core-js/internals/an-object.js"),Ce=de("./node_modules/core-js/internals/to-string.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=de("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,E=ee[a],te=ie(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ne=E.name!=a;(te||ne)&&Ie(RegExp.prototype,a,function(){var he=Fe(this),_e=Ce(he.source),Pe=he.flags,Qe=Ce(Pe===void 0&&he instanceof RegExp&&!("flags"in ee)?y.call(he):Pe);return"/"+_e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/string-multibyte.js").charAt,Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/internal-state.js"),ie=de("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ce.set,ee=Ce.getterFor(y);ie(String,"String",function(E){a(this,{type:y,string:Fe(E),index:0})},function(){var te=ee(this),ne=te.string,oe=te.index,he;return oe>=ne.length?{value:void 0,done:!0}:(he=Ie(ne,oe),te.index+=he.length,{value:he,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-html.js"),Ce=de("./node_modules/core-js/internals/string-html-forced.js");Ie({target:"String",proto:!0,forced:Ce("link")},{link:function(y){return Fe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/descriptors.js"),Ce=de("./node_modules/core-js/internals/global.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/is-object.js"),a=de("./node_modules/core-js/internals/object-define-property.js").f,ee=de("./node_modules/core-js/internals/copy-constructor-properties.js"),E=Ce.Symbol;if(Fe&&typeof E=="function"&&(!("description"in E.prototype)||E().description!==void 0)){var te={},ne=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ve=this instanceof ne?new E(Ze):Ze===void 0?E():E(Ze);return Ze===""&&(te[Ve]=!0),Ve};ee(ne,E);var oe=ne.prototype=E.prototype;oe.constructor=ne;var he=oe.toString,_e=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(oe,"description",{configurable:!0,get:function(){var Ze=y(this)?this.valueOf():this,Ve=he.call(Ze);if(ie(te,Ze))return"";var nt=_e?Ve.slice(7,-1):Ve.replace(Pe,"$1");return nt===""?void 0:nt}}),Ie({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/define-well-known-symbol.js");Ie("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Se,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/get-built-in.js"),ie=de("./node_modules/core-js/internals/is-pure.js"),y=de("./node_modules/core-js/internals/descriptors.js"),a=de("./node_modules/core-js/internals/native-symbol.js"),ee=de("./node_modules/core-js/internals/fails.js"),E=de("./node_modules/core-js/internals/has.js"),te=de("./node_modules/core-js/internals/is-array.js"),ne=de("./node_modules/core-js/internals/is-object.js"),oe=de("./node_modules/core-js/internals/is-symbol.js"),he=de("./node_modules/core-js/internals/an-object.js"),_e=de("./node_modules/core-js/internals/to-object.js"),Pe=de("./node_modules/core-js/internals/to-indexed-object.js"),Qe=de("./node_modules/core-js/internals/to-property-key.js"),Ze=de("./node_modules/core-js/internals/to-string.js"),Ve=de("./node_modules/core-js/internals/create-property-descriptor.js"),nt=de("./node_modules/core-js/internals/object-create.js"),De=de("./node_modules/core-js/internals/object-keys.js"),St=de("./node_modules/core-js/internals/object-get-own-property-names.js"),ke=de("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Ot=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),it=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),rt=de("./node_modules/core-js/internals/object-define-property.js"),wt=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),dt=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),pt=de("./node_modules/core-js/internals/redefine.js"),st=de("./node_modules/core-js/internals/shared.js"),ft=de("./node_modules/core-js/internals/shared-key.js"),an=de("./node_modules/core-js/internals/hidden-keys.js"),fn=de("./node_modules/core-js/internals/uid.js"),Et=de("./node_modules/core-js/internals/well-known-symbol.js"),qt=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ln=de("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=de("./node_modules/core-js/internals/set-to-string-tag.js"),un=de("./node_modules/core-js/internals/internal-state.js"),Vn=de("./node_modules/core-js/internals/array-iteration.js").forEach,yt=ft("hidden"),Kn="Symbol",er="prototype",Re=Et("toPrimitive"),Kt=un.set,Te=un.getterFor(Kn),pe=Object[er],ce=Fe.Symbol,ye=Ce("JSON","stringify"),qe=it.f,gt=rt.f,Me=ke.f,Xe=wt.f,Pt=st("symbols"),ct=st("op-symbols"),ot=st("string-to-symbol-registry"),kt=st("symbol-to-string-registry"),_n=st("wks"),_t=Fe.QObject,rn=!_t||!_t[er]||!_t[er].findChild,Nt=y&&ee(function(){return nt(gt({},"a",{get:function(){return gt(this,"a",{value:7}).a}})).a!=7})?function(Hr,wr,Qr){var ea=qe(pe,wr);ea&&delete pe[wr],gt(Hr,wr,Qr),ea&&Hr!==pe&&gt(pe,wr,ea)}:gt,yn=function(Hr,wr){var Qr=Pt[Hr]=nt(ce[er]);return Kt(Qr,{type:Kn,tag:Hr,description:wr}),y||(Qr.description=wr),Qr},Yt=function(wr,Qr,ea){wr===pe&&Yt(ct,Qr,ea),he(wr);var xa=Qe(Qr);return he(ea),E(Pt,xa)?(ea.enumerable?(E(wr,yt)&&wr[yt][xa]&&(wr[yt][xa]=!1),ea=nt(ea,{enumerable:Ve(0,!1)})):(E(wr,yt)||gt(wr,yt,Ve(1,{})),wr[yt][xa]=!0),Nt(wr,xa,ea)):gt(wr,xa,ea)},Jn=function(wr,Qr){he(wr);var ea=Pe(Qr),xa=De(ea).concat(sa(ea));return Vn(xa,function(co){(!y||tr.call(ea,co))&&Yt(wr,co,ea[co])}),wr},hr=function(wr,Qr){return Qr===void 0?nt(wr):Jn(nt(wr),Qr)},tr=function(wr){var Qr=Qe(wr),ea=Xe.call(this,Qr);return this===pe&&E(Pt,Qr)&&!E(ct,Qr)?!1:ea||!E(this,Qr)||!E(Pt,Qr)||E(this,yt)&&this[yt][Qr]?ea:!0},Nr=function(wr,Qr){var ea=Pe(wr),xa=Qe(Qr);if(!(ea===pe&&E(Pt,xa)&&!E(ct,xa))){var co=qe(ea,xa);return co&&E(Pt,xa)&&!(E(ea,yt)&&ea[yt][xa])&&(co.enumerable=!0),co}},Dr=function(wr){var Qr=Me(Pe(wr)),ea=[];return Vn(Qr,function(xa){!E(Pt,xa)&&!E(an,xa)&&ea.push(xa)}),ea},sa=function(wr){var Qr=wr===pe,ea=Me(Qr?ct:Pe(wr)),xa=[];return Vn(ea,function(co){E(Pt,co)&&(!Qr||E(pe,co))&&xa.push(Pt[co])}),xa};if(a||(ce=function(){if(this instanceof ce)throw TypeError("Symbol is not a constructor");var wr=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Qr=fn(wr),ea=function(xa){this===pe&&ea.call(ct,xa),E(this,yt)&&E(this[yt],Qr)&&(this[yt][Qr]=!1),Nt(this,Qr,Ve(1,xa))};return y&&rn&&Nt(pe,Qr,{configurable:!0,set:ea}),yn(Qr,wr)},pt(ce[er],"toString",function(){return Te(this).tag}),pt(ce,"withoutSetter",function(Hr){return yn(fn(Hr),Hr)}),wt.f=tr,rt.f=Yt,it.f=Nr,St.f=ke.f=Dr,Ot.f=sa,qt.f=function(Hr){return yn(Et(Hr),Hr)},y&&(gt(ce[er],"description",{configurable:!0,get:function(){return Te(this).description}}),ie||pt(pe,"propertyIsEnumerable",tr,{unsafe:!0}))),Ie({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ce}),Vn(De(_n),function(Hr){Ln(Hr)}),Ie({target:Kn,stat:!0,forced:!a},{for:function(Hr){var wr=Ze(Hr);if(E(ot,wr))return ot[wr];var Qr=ce(wr);return ot[wr]=Qr,kt[Qr]=wr,Qr},keyFor:function(wr){if(!oe(wr))throw TypeError(wr+" is not a symbol");if(E(kt,wr))return kt[wr]},useSetter:function(){rn=!0},useSimple:function(){rn=!1}}),Ie({target:"Object",stat:!0,forced:!a,sham:!y},{create:hr,defineProperty:Yt,defineProperties:Jn,getOwnPropertyDescriptor:Nr}),Ie({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Dr,getOwnPropertySymbols:sa}),Ie({target:"Object",stat:!0,forced:ee(function(){Ot.f(1)})},{getOwnPropertySymbols:function(wr){return Ot.f(_e(wr))}}),ye){var Aa=!a||ee(function(){var Hr=ce();return ye([Hr])!="[null]"||ye({a:Hr})!="{}"||ye(Object(Hr))!="{}"});Ie({target:"JSON",stat:!0,forced:Aa},{stringify:function(wr,Qr,ea){for(var xa=[wr],co=1,qr;arguments.length>co;)xa.push(arguments[co++]);if(qr=Qr,!(!ne(Qr)&&wr===void 0||oe(wr)))return te(Qr)||(Qr=function(hi,Ii){if(typeof qr=="function"&&(Ii=qr.call(this,hi,Ii)),!oe(Ii))return Ii}),xa[1]=Qr,ye.apply(null,xa)}})}ce[er][Re]||dt(ce[er],Re,ce[er].valueOf),Hn(ce,Kn),an[yt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/internals/array-for-each.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Fe){var a=Ie[y],ee=a&&a.prototype;if(ee&&ee.forEach!==Ce)try{ie(ee,"forEach",Ce)}catch(E){ee.forEach=Ce}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Se,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/modules/es.array.iterator.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),E=Ce.values;for(var te in Fe){var ne=Ie[te],oe=ne&&ne.prototype;if(oe){if(oe[a]!==E)try{ie(oe,a,E)}catch(_e){oe[a]=E}if(oe[ee]||ie(oe,ee,te),Fe[te]){for(var he in Ce)if(oe[he]!==Ce[he])try{ie(oe,he,Ce[he])}catch(_e){oe[he]=Ce[he]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Se){(function(Le,de){Se.exports=de()})(this,function(){"use strict";function Le(_t){var rn=typeof _t;return _t!==null&&(rn==="object"||rn==="function")}function de(_t){return typeof _t=="function"}var Ie=void 0;Array.isArray?Ie=Array.isArray:Ie=function(_t){return Object.prototype.toString.call(_t)==="[object Array]"};var Fe=Ie,Ce=0,ie=void 0,y=void 0,a=function(rn,Nt){De[Ce]=rn,De[Ce+1]=Nt,Ce+=2,Ce===2&&(y?y(St):Ot())};function ee(_t){y=_t}function E(_t){a=_t}var te=typeof window!="undefined"?window:void 0,ne=te||{},oe=ne.MutationObserver||ne.WebKitMutationObserver,he=typeof self=="undefined"&&typeof Oe!="undefined"&&{}.toString.call(Oe)==="[object process]",_e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return Oe.nextTick(St)}}function Qe(){return typeof ie!="undefined"?function(){ie(St)}:nt()}function Ze(){var _t=0,rn=new oe(St),Nt=document.createTextNode("");return rn.observe(Nt,{characterData:!0}),function(){Nt.data=_t=++_t%2}}function Ve(){var _t=new MessageChannel;return _t.port1.onmessage=St,function(){return _t.port2.postMessage(0)}}function nt(){var _t=setTimeout;return function(){return _t(St,1)}}var De=new Array(1e3);function St(){for(var _t=0;_t<Ce;_t+=2){var rn=De[_t],Nt=De[_t+1];rn(Nt),De[_t]=void 0,De[_t+1]=void 0}Ce=0}function ke(){try{var _t=Function("return this")().require("vertx");return ie=_t.runOnLoop||_t.runOnContext,Qe()}catch(rn){return nt()}}var Ot=void 0;he?Ot=Pe():oe?Ot=Ze():_e?Ot=Ve():te===void 0?Ot=ke():Ot=nt();function it(_t,rn){var Nt=this,yn=new this.constructor(dt);yn[wt]===void 0&&ye(yn);var Yt=Nt._state;if(Yt){var Jn=arguments[Yt-1];a(function(){return Kt(Yt,yn,Jn,Nt._result)})}else er(Nt,yn,_t,rn);return yn}function rt(_t){var rn=this;if(_t&&typeof _t=="object"&&_t.constructor===rn)return _t;var Nt=new rn(dt);return un(Nt,_t),Nt}var wt=Math.random().toString(36).substring(2);function dt(){}var pt=void 0,st=1,ft=2;function an(){return new TypeError("You cannot resolve a promise with itself")}function fn(){return new TypeError("A promises callback cannot return that same promise.")}function Et(_t,rn,Nt,yn){try{_t.call(rn,Nt,yn)}catch(Yt){return Yt}}function qt(_t,rn,Nt){a(function(yn){var Yt=!1,Jn=Et(Nt,rn,function(hr){Yt||(Yt=!0,rn!==hr?un(yn,hr):yt(yn,hr))},function(hr){Yt||(Yt=!0,Kn(yn,hr))},"Settle: "+(yn._label||" unknown promise"));!Yt&&Jn&&(Yt=!0,Kn(yn,Jn))},_t)}function Ln(_t,rn){rn._state===st?yt(_t,rn._result):rn._state===ft?Kn(_t,rn._result):er(rn,void 0,function(Nt){return un(_t,Nt)},function(Nt){return Kn(_t,Nt)})}function Hn(_t,rn,Nt){rn.constructor===_t.constructor&&Nt===it&&rn.constructor.resolve===rt?Ln(_t,rn):Nt===void 0?yt(_t,rn):de(Nt)?qt(_t,rn,Nt):yt(_t,rn)}function un(_t,rn){if(_t===rn)Kn(_t,an());else if(Le(rn)){var Nt=void 0;try{Nt=rn.then}catch(yn){Kn(_t,yn);return}Hn(_t,rn,Nt)}else yt(_t,rn)}function Vn(_t){_t._onerror&&_t._onerror(_t._result),Re(_t)}function yt(_t,rn){_t._state===pt&&(_t._result=rn,_t._state=st,_t._subscribers.length!==0&&a(Re,_t))}function Kn(_t,rn){_t._state===pt&&(_t._state=ft,_t._result=rn,a(Vn,_t))}function er(_t,rn,Nt,yn){var Yt=_t._subscribers,Jn=Yt.length;_t._onerror=null,Yt[Jn]=rn,Yt[Jn+st]=Nt,Yt[Jn+ft]=yn,Jn===0&&_t._state&&a(Re,_t)}function Re(_t){var rn=_t._subscribers,Nt=_t._state;if(rn.length!==0){for(var yn=void 0,Yt=void 0,Jn=_t._result,hr=0;hr<rn.length;hr+=3)yn=rn[hr],Yt=rn[hr+Nt],yn?Kt(Nt,yn,Yt,Jn):Yt(Jn);_t._subscribers.length=0}}function Kt(_t,rn,Nt,yn){var Yt=de(Nt),Jn=void 0,hr=void 0,tr=!0;if(Yt){try{Jn=Nt(yn)}catch(Nr){tr=!1,hr=Nr}if(rn===Jn){Kn(rn,fn());return}}else Jn=yn;rn._state!==pt||(Yt&&tr?un(rn,Jn):tr===!1?Kn(rn,hr):_t===st?yt(rn,Jn):_t===ft&&Kn(rn,Jn))}function Te(_t,rn){try{rn(function(yn){un(_t,yn)},function(yn){Kn(_t,yn)})}catch(Nt){Kn(_t,Nt)}}var pe=0;function ce(){return pe++}function ye(_t){_t[wt]=pe++,_t._state=void 0,_t._result=void 0,_t._subscribers=[]}function qe(){return new Error("Array Methods must be provided an Array")}var gt=function(){function _t(rn,Nt){this._instanceConstructor=rn,this.promise=new rn(dt),this.promise[wt]||ye(this.promise),Fe(Nt)?(this.length=Nt.length,this._remaining=Nt.length,this._result=new Array(this.length),this.length===0?yt(this.promise,this._result):(this.length=this.length||0,this._enumerate(Nt),this._remaining===0&&yt(this.promise,this._result))):Kn(this.promise,qe())}return _t.prototype._enumerate=function(Nt){for(var yn=0;this._state===pt&&yn<Nt.length;yn++)this._eachEntry(Nt[yn],yn)},_t.prototype._eachEntry=function(Nt,yn){var Yt=this._instanceConstructor,Jn=Yt.resolve;if(Jn===rt){var hr=void 0,tr=void 0,Nr=!1;try{hr=Nt.then}catch(sa){Nr=!0,tr=sa}if(hr===it&&Nt._state!==pt)this._settledAt(Nt._state,yn,Nt._result);else if(typeof hr!="function")this._remaining--,this._result[yn]=Nt;else if(Yt===kt){var Dr=new Yt(dt);Nr?Kn(Dr,tr):Hn(Dr,Nt,hr),this._willSettleAt(Dr,yn)}else this._willSettleAt(new Yt(function(sa){return sa(Nt)}),yn)}else this._willSettleAt(Jn(Nt),yn)},_t.prototype._settledAt=function(Nt,yn,Yt){var Jn=this.promise;Jn._state===pt&&(this._remaining--,Nt===ft?Kn(Jn,Yt):this._result[yn]=Yt),this._remaining===0&&yt(Jn,this._result)},_t.prototype._willSettleAt=function(Nt,yn){var Yt=this;er(Nt,void 0,function(Jn){return Yt._settledAt(st,yn,Jn)},function(Jn){return Yt._settledAt(ft,yn,Jn)})},_t}();function Me(_t){return new gt(this,_t).promise}function Xe(_t){var rn=this;return Fe(_t)?new rn(function(Nt,yn){for(var Yt=_t.length,Jn=0;Jn<Yt;Jn++)rn.resolve(_t[Jn]).then(Nt,yn)}):new rn(function(Nt,yn){return yn(new TypeError("You must pass an array to race."))})}function Pt(_t){var rn=this,Nt=new rn(dt);return Kn(Nt,_t),Nt}function ct(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ot(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var kt=function(){function _t(rn){this[wt]=ce(),this._result=this._state=void 0,this._subscribers=[],dt!==rn&&(typeof rn!="function"&&ct(),this instanceof _t?Te(this,rn):ot())}return _t.prototype.catch=function(Nt){return this.then(null,Nt)},_t.prototype.finally=function(Nt){var yn=this,Yt=yn.constructor;return de(Nt)?yn.then(function(Jn){return Yt.resolve(Nt()).then(function(){return Jn})},function(Jn){return Yt.resolve(Nt()).then(function(){throw Jn})}):yn.then(Nt,Nt)},_t}();kt.prototype.then=it,kt.all=Me,kt.race=Xe,kt.resolve=rt,kt.reject=Pt,kt._setScheduler=ee,kt._setAsap=E,kt._asap=a;function _n(){var _t=void 0;if(typeof we.g!="undefined")_t=we.g;else if(typeof self!="undefined")_t=self;else try{_t=Function("return this")()}catch(yn){throw new Error("polyfill failed because global object is unavailable in this environment")}var rn=_t.Promise;if(rn){var Nt=null;try{Nt=Object.prototype.toString.call(rn.resolve())}catch(yn){}if(Nt==="[object Promise]"&&!rn.cast)return}_t.Promise=kt}return kt.polyfill=_n,kt.Promise=kt,kt})},html2canvas:function(Se){"use strict";Se.exports=ze},jspdf:function(Se){"use strict";Se.exports=be}},Ge={};function je(Se){var Le=Ge[Se];if(Le!==void 0)return Le.exports;var de=Ge[Se]={exports:{}};return at[Se].call(de.exports,de,de.exports,je),de.exports}(function(){je.n=function(Se){var Le=Se&&Se.__esModule?function(){return Se.default}:function(){return Se};return je.d(Le,{a:Le}),Le}})(),function(){je.d=function(Se,Le){for(var de in Le)je.o(Le,de)&&!je.o(Se,de)&&Object.defineProperty(Se,de,{enumerable:!0,get:Le[de]})}}(),function(){je.o=function(Se,Le){return Object.prototype.hasOwnProperty.call(Se,Le)}}(),function(){je.r=function(Se){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Se,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Se,"__esModule",{value:!0})}}();var me={};return function(){"use strict";je.r(me);var Se=je("./src/worker.js"),Le=je("./src/plugin/jspdf-plugin.js"),de=je("./src/plugin/pagebreaks.js"),Ie=je("./src/plugin/hyperlinks.js"),Fe=function Ce(ie,y){var a=new Ce.Worker(y);return ie?a.from(ie).save():a};Fe.Worker=Se.default,me.default=Fe}(),me=me.default,me}()})},67467:function(on,Ut){Ut.read=function(we,Oe,be,ze,at){var Ge,je,me=at*8-ze-1,Se=(1<<me)-1,Le=Se>>1,de=-7,Ie=be?at-1:0,Fe=be?-1:1,Ce=we[Oe+Ie];for(Ie+=Fe,Ge=Ce&(1<<-de)-1,Ce>>=-de,de+=me;de>0;Ge=Ge*256+we[Oe+Ie],Ie+=Fe,de-=8);for(je=Ge&(1<<-de)-1,Ge>>=-de,de+=ze;de>0;je=je*256+we[Oe+Ie],Ie+=Fe,de-=8);if(Ge===0)Ge=1-Le;else{if(Ge===Se)return je?NaN:(Ce?-1:1)*(1/0);je=je+Math.pow(2,ze),Ge=Ge-Le}return(Ce?-1:1)*je*Math.pow(2,Ge-ze)},Ut.write=function(we,Oe,be,ze,at,Ge){var je,me,Se,Le=Ge*8-at-1,de=(1<<Le)-1,Ie=de>>1,Fe=at===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ce=ze?0:Ge-1,ie=ze?1:-1,y=Oe<0||Oe===0&&1/Oe<0?1:0;for(Oe=Math.abs(Oe),isNaN(Oe)||Oe===1/0?(me=isNaN(Oe)?1:0,je=de):(je=Math.floor(Math.log(Oe)/Math.LN2),Oe*(Se=Math.pow(2,-je))<1&&(je--,Se*=2),je+Ie>=1?Oe+=Fe/Se:Oe+=Fe*Math.pow(2,1-Ie),Oe*Se>=2&&(je++,Se/=2),je+Ie>=de?(me=0,je=de):je+Ie>=1?(me=(Oe*Se-1)*Math.pow(2,at),je=je+Ie):(me=Oe*Math.pow(2,Ie-1)*Math.pow(2,at),je=0));at>=8;we[be+Ce]=me&255,Ce+=ie,me/=256,at-=8);for(je=je<<at|me,Le+=at;Le>0;we[be+Ce]=je&255,Ce+=ie,je/=256,Le-=8);we[be+Ce-ie]|=y*128}},53307:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{AcroForm:function(){return nu},AcroFormAppearance:function(){return ra},AcroFormButton:function(){return ho},AcroFormCheckBox:function(){return gi},AcroFormChoiceField:function(){return oa},AcroFormComboBox:function(){return ka},AcroFormEditBox:function(){return Oa},AcroFormListBox:function(){return Lo},AcroFormPasswordField:function(){return mo},AcroFormPushButton:function(){return Ko},AcroFormRadioButton:function(){return Ao},AcroFormTextField:function(){return Vo},GState:function(){return Jg},ShadingPattern:function(){return Yc},TilingPattern:function(){return Jc},default:function(){return Wa},jsPDF:function(){return Wa}});var Oe=we(76190),be={},ze=function(b,z,x,re,ae){var se=new Worker(be[z]||(be[z]=URL.createObjectURL(new Blob([b+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return se.onmessage=function(Ee){var Be=Ee.data,xe=Be.$e$;if(xe){var Ne=new Error(xe[0]);Ne.code=xe[1],Ne.stack=xe[2],ae(Ne,null)}else ae(null,Be)},se.postMessage(x,re),se},at=Uint8Array,Ge=Uint16Array,je=Int32Array,me=new at([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]),Se=new at([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]),Le=new at([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),de=function(b,z){for(var x=new Ge(31),re=0;re<31;++re)x[re]=z+=1<<b[re-1];for(var ae=new je(x[30]),re=1;re<30;++re)for(var se=x[re];se<x[re+1];++se)ae[se]=se-x[re]<<5|re;return{b:x,r:ae}},Ie=de(me,2),Fe=Ie.b,Ce=Ie.r;Fe[28]=258,Ce[258]=28;for(var ie=de(Se,0),y=ie.b,a=ie.r,ee=new Ge(32768),E=0;E<32768;++E){var te=(E&43690)>>1|(E&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[E]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(b,z,x){for(var re=b.length,ae=0,se=new Ge(z);ae<re;++ae)b[ae]&&++se[b[ae]-1];var Ee=new Ge(z);for(ae=1;ae<z;++ae)Ee[ae]=Ee[ae-1]+se[ae-1]<<1;var Be;if(x){Be=new Ge(1<<z);var xe=15-z;for(ae=0;ae<re;++ae)if(b[ae])for(var Ne=ae<<4|b[ae],We=z-b[ae],At=Ee[b[ae]-1]++<<We,mt=At|(1<<We)-1;At<=mt;++At)Be[ee[At]>>xe]=Ne}else for(Be=new Ge(re),ae=0;ae<re;++ae)b[ae]&&(Be[ae]=ee[Ee[b[ae]-1]++]>>15-b[ae]);return Be},oe=new at(288),E=0;E<144;++E)oe[E]=8;for(var E=144;E<256;++E)oe[E]=9;for(var E=256;E<280;++E)oe[E]=7;for(var E=280;E<288;++E)oe[E]=8;for(var he=new at(32),E=0;E<32;++E)he[E]=5;var _e=ne(oe,9,0),Pe=null,Qe=ne(he,5,0),Ze=null,Ve=function(b){for(var z=b[0],x=1;x<b.length;++x)b[x]>z&&(z=b[x]);return z},nt=function(b,z,x){var re=z/8|0;return(b[re]|b[re+1]<<8)>>(z&7)&x},De=function(b,z){var x=z/8|0;return(b[x]|b[x+1]<<8|b[x+2]<<16)>>(z&7)},St=function(b){return(b+7)/8|0},ke=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new at(b.subarray(z,x))},Ot={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},it=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],rt=function(b,z,x){var re=new Error(z||it[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,rt),!x)throw re;return re},wt=function(b,z,x,re){var ae=b.length,se=re?re.length:0;if(!ae||z.f&&!z.l)return x||new at(0);var Ee=!x,Be=Ee||z.i!=2,xe=z.i;Ee&&(x=new at(ae*3));var Ne=function(Vr){var Ba=x.length;if(Vr>Ba){var ma=new at(Math.max(Ba*2,Vr));ma.set(x),x=ma}},We=z.f||0,At=z.p||0,mt=z.b||0,$e=z.l,Mt=z.d,Tt=z.m,Ht=z.n,xt=ae*8;do{if(!$e){We=nt(b,At,1);var Bn=nt(b,At+1,3);if(At+=3,Bn)if(Bn==1)$e=Pe,Mt=Ze,Tt=9,Ht=5;else if(Bn==2){var vr=nt(b,At,31)+257,rr=nt(b,At+10,15)+4,xn=vr+nt(b,At+5,31)+1;At+=14;for(var nn=new at(xn),Mn=new at(19),Ft=0;Ft<rr;++Ft)Mn[Le[Ft]]=nt(b,At+Ft*3,7);At+=rr*3;for(var zt=Ve(Mn),pn=(1<<zt)-1,gn=ne(Mn,zt,1),Ft=0;Ft<xn;){var qn=gn[nt(b,At,pn)];At+=qn&15;var cn=qn>>4;if(cn<16)nn[Ft++]=cn;else{var nr=0,ir=0;for(cn==16?(ir=3+nt(b,At,3),At+=2,nr=nn[Ft-1]):cn==17?(ir=3+nt(b,At,7),At+=3):cn==18&&(ir=11+nt(b,At,127),At+=7);ir--;)nn[Ft++]=nr}}var Wn=nn.subarray(0,vr),cr=nn.subarray(vr);Tt=Ve(Wn),Ht=Ve(cr),$e=ne(Wn,Tt,1),Mt=ne(cr,Ht,1)}else rt(1);else{var cn=St(At)+4,en=b[cn-4]|b[cn-3]<<8,Yn=cn+en;if(Yn>ae){xe&&rt(0);break}Be&&Ne(mt+en),x.set(b.subarray(cn,Yn),mt),z.b=mt+=en,z.p=At=Yn*8,z.f=We;continue}if(At>xt){xe&&rt(0);break}}Be&&Ne(mt+131072);for(var Jr=(1<<Tt)-1,_r=(1<<Ht)-1,Ct=At;;Ct=At){var nr=$e[De(b,At)&Jr],Jt=nr>>4;if(At+=nr&15,At>xt){xe&&rt(0);break}if(nr||rt(2),Jt<256)x[mt++]=Jt;else if(Jt==256){Ct=At,$e=null;break}else{var ln=Jt-254;if(Jt>264){var Ft=Jt-257,bn=me[Ft];ln=nt(b,At,(1<<bn)-1)+Fe[Ft],At+=bn}var Dn=Mt[De(b,At)&_r],$n=Dn>>4;Dn||rt(3),At+=Dn&15;var cr=y[$n];if($n>3){var bn=Se[$n];cr+=De(b,At)&(1<<bn)-1,At+=bn}if(At>xt){xe&&rt(0);break}Be&&Ne(mt+131072);var ar=mt+ln;if(mt<cr){var lr=se-cr,br=Math.min(cr,ar);for(lr+mt<0&&rt(3);mt<br;++mt)x[mt]=re[lr+mt]}for(;mt<ar;++mt)x[mt]=x[mt-cr]}}z.l=$e,z.p=Ct,z.b=mt,z.f=We,$e&&(We=1,z.m=Tt,z.d=Mt,z.n=Ht)}while(!We);return mt!=x.length&&Ee?ke(x,0,mt):x.subarray(0,mt)},dt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8},pt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8,b[re+2]|=x>>16},st=function(b,z){for(var x=[],re=0;re<b.length;++re)b[re]&&x.push({s:re,f:b[re]});var ae=x.length,se=x.slice();if(!ae)return{t:Hn,l:0};if(ae==1){var Ee=new at(x[0].s+1);return Ee[x[0].s]=1,{t:Ee,l:1}}x.sort(function(Yn,vr){return Yn.f-vr.f}),x.push({s:-1,f:25001});var Be=x[0],xe=x[1],Ne=0,We=1,At=2;for(x[0]={s:-1,f:Be.f+xe.f,l:Be,r:xe};We!=ae-1;)Be=x[x[Ne].f<x[At].f?Ne++:At++],xe=x[Ne!=We&&x[Ne].f<x[At].f?Ne++:At++],x[We++]={s:-1,f:Be.f+xe.f,l:Be,r:xe};for(var mt=se[0].s,re=1;re<ae;++re)se[re].s>mt&&(mt=se[re].s);var $e=new Ge(mt+1),Mt=ft(x[We-1],$e,0);if(Mt>z){var re=0,Tt=0,Ht=Mt-z,xt=1<<Ht;for(se.sort(function(vr,rr){return $e[rr.s]-$e[vr.s]||vr.f-rr.f});re<ae;++re){var Bn=se[re].s;if($e[Bn]>z)Tt+=xt-(1<<Mt-$e[Bn]),$e[Bn]=z;else break}for(Tt>>=Ht;Tt>0;){var cn=se[re].s;$e[cn]<z?Tt-=1<<z-$e[cn]++-1:++re}for(;re>=0&&Tt;--re){var en=se[re].s;$e[en]==z&&(--$e[en],++Tt)}Mt=z}return{t:new at($e),l:Mt}},ft=function(b,z,x){return b.s==-1?Math.max(ft(b.l,z,x+1),ft(b.r,z,x+1)):z[b.s]=x},an=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new Ge(++z),re=0,ae=b[0],se=1,Ee=function(xe){x[re++]=xe},Be=1;Be<=z;++Be)if(b[Be]==ae&&Be!=z)++se;else{if(!ae&&se>2){for(;se>138;se-=138)Ee(32754);se>2&&(Ee(se>10?se-11<<5|28690:se-3<<5|12305),se=0)}else if(se>3){for(Ee(ae),--se;se>6;se-=6)Ee(8304);se>2&&(Ee(se-3<<5|8208),se=0)}for(;se--;)Ee(ae);se=1,ae=b[Be]}return{c:x.subarray(0,re),n:z}},fn=function(b,z){for(var x=0,re=0;re<z.length;++re)x+=b[re]*z[re];return x},Et=function(b,z,x){var re=x.length,ae=St(z+2);b[ae]=re&255,b[ae+1]=re>>8,b[ae+2]=b[ae]^255,b[ae+3]=b[ae+1]^255;for(var se=0;se<re;++se)b[ae+se+4]=x[se];return(ae+4+re)*8},qt=function(b,z,x,re,ae,se,Ee,Be,xe,Ne,We){dt(z,We++,x),++ae[256];for(var At=st(ae,15),mt=At.t,$e=At.l,Mt=st(se,15),Tt=Mt.t,Ht=Mt.l,xt=an(mt),Bn=xt.c,cn=xt.n,en=an(Tt),Yn=en.c,vr=en.n,rr=new Ge(19),xn=0;xn<Bn.length;++xn)++rr[Bn[xn]&31];for(var xn=0;xn<Yn.length;++xn)++rr[Yn[xn]&31];for(var nn=st(rr,7),Mn=nn.t,Ft=nn.l,zt=19;zt>4&&!Mn[Le[zt-1]];--zt);var pn=Ne+5<<3,gn=fn(ae,oe)+fn(se,he)+Ee,qn=fn(ae,mt)+fn(se,Tt)+Ee+14+3*zt+fn(rr,Mn)+2*rr[16]+3*rr[17]+7*rr[18];if(xe>=0&&pn<=gn&&pn<=qn)return Et(z,We,b.subarray(xe,xe+Ne));var nr,ir,Wn,cr;if(dt(z,We,1+(qn<gn)),We+=2,qn<gn){nr=ne(mt,$e,0),ir=mt,Wn=ne(Tt,Ht,0),cr=Tt;var Jr=ne(Mn,Ft,0);dt(z,We,cn-257),dt(z,We+5,vr-1),dt(z,We+10,zt-4),We+=14;for(var xn=0;xn<zt;++xn)dt(z,We+3*xn,Mn[Le[xn]]);We+=3*zt;for(var _r=[Bn,Yn],Ct=0;Ct<2;++Ct)for(var Jt=_r[Ct],xn=0;xn<Jt.length;++xn){var ln=Jt[xn]&31;dt(z,We,Jr[ln]),We+=Mn[ln],ln>15&&(dt(z,We,Jt[xn]>>5&127),We+=Jt[xn]>>12)}}else nr=_e,ir=oe,Wn=Qe,cr=he;for(var xn=0;xn<Be;++xn){var bn=re[xn];if(bn>255){var ln=bn>>18&31;pt(z,We,nr[ln+257]),We+=ir[ln+257],ln>7&&(dt(z,We,bn>>23&31),We+=me[ln]);var Dn=bn&31;pt(z,We,Wn[Dn]),We+=cr[Dn],Dn>3&&(pt(z,We,bn>>5&8191),We+=Se[Dn])}else pt(z,We,nr[bn]),We+=ir[bn]}return pt(z,We,nr[256]),We+ir[256]},Ln=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new at(0),un=function(b,z,x,re,ae,se){var Ee=se.z||b.length,Be=new at(re+Ee+5*(1+Math.ceil(Ee/7e3))+ae),xe=Be.subarray(re,Be.length-ae),Ne=se.l,We=(se.r||0)&7;if(z){We&&(xe[0]=se.r>>3);for(var At=Ln[z-1],mt=At>>13,$e=At&8191,Mt=(1<<x)-1,Tt=se.p||new Ge(32768),Ht=se.h||new Ge(Mt+1),xt=Math.ceil(x/3),Bn=2*xt,cn=function(so){return(b[so]^b[so+1]<<xt^b[so+2]<<Bn)&Mt},en=new je(25e3),Yn=new Ge(288),vr=new Ge(32),rr=0,xn=0,nn=se.i||0,Mn=0,Ft=se.w||0,zt=0;nn+2<Ee;++nn){var pn=cn(nn),gn=nn&32767,qn=Ht[pn];if(Tt[gn]=qn,Ht[pn]=gn,Ft<=nn){var nr=Ee-nn;if((rr>7e3||Mn>24576)&&(nr>423||!Ne)){We=qt(b,xe,0,en,Yn,vr,xn,Mn,zt,nn-zt,We),Mn=rr=xn=0,zt=nn;for(var ir=0;ir<286;++ir)Yn[ir]=0;for(var ir=0;ir<30;++ir)vr[ir]=0}var Wn=2,cr=0,Jr=$e,_r=gn-qn&32767;if(nr>2&&pn==cn(nn-_r))for(var Ct=Math.min(mt,nr)-1,Jt=Math.min(32767,nn),ln=Math.min(258,nr);_r<=Jt&&--Jr&&gn!=qn;){if(b[nn+Wn]==b[nn+Wn-_r]){for(var bn=0;bn<ln&&b[nn+bn]==b[nn+bn-_r];++bn);if(bn>Wn){if(Wn=bn,cr=_r,bn>Ct)break;for(var Dn=Math.min(_r,bn-2),$n=0,ir=0;ir<Dn;++ir){var ar=nn-_r+ir&32767,lr=Tt[ar],br=ar-lr&32767;br>$n&&($n=br,qn=ar)}}}gn=qn,qn=Tt[gn],_r+=gn-qn&32767}if(cr){en[Mn++]=268435456|Ce[Wn]<<18|a[cr];var Vr=Ce[Wn]&31,Ba=a[cr]&31;xn+=me[Vr]+Se[Ba],++Yn[257+Vr],++vr[Ba],Ft=nn+Wn,++rr}else en[Mn++]=b[nn],++Yn[b[nn]]}}for(nn=Math.max(nn,Ft);nn<Ee;++nn)en[Mn++]=b[nn],++Yn[b[nn]];We=qt(b,xe,Ne,en,Yn,vr,xn,Mn,zt,nn-zt,We),Ne||(se.r=We&7|xe[We/8|0]<<3,We-=7,se.h=Ht,se.p=Tt,se.i=nn,se.w=Ft)}else{for(var nn=se.w||0;nn<Ee+Ne;nn+=65535){var ma=nn+65535;ma>=Ee&&(xe[We/8|0]=Ne,ma=Ee),We=Et(xe,We+1,b.subarray(nn,ma))}se.i=Ee}return ke(Be,0,re+St(We)+ae)},Vn=null,yt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re<z.length;++re)x=Vn[x&255^z[re]]^x>>>8;b=x},d:function(){return~b}}},Kn=function(){var b=1,z=0;return{p:function(x){for(var re=b,ae=z,se=x.length|0,Ee=0;Ee!=se;){for(var Be=Math.min(Ee+2655,se);Ee<Be;++Ee)ae+=re+=x[Ee];re=(re&65535)+15*(re>>16),ae=(ae&65535)+15*(ae>>16)}b=re,z=ae},d:function(){return b%=65521,z%=65521,(b&255)<<24|(b&65280)<<8|(z&255)<<8|z>>8}}},er=function(b,z,x,re,ae){if(!ae&&(ae={l:1},z.dictionary)){var se=z.dictionary.subarray(-32768),Ee=new at(se.length+b.length);Ee.set(se),Ee.set(b,se.length),b=Ee,ae.w=se.length}return un(b,z.level==null?6:z.level,z.mem==null?ae.l?Math.ceil(Math.max(8,Math.min(13,Math.log(b.length)))*1.5):20:12+z.mem,x,re,ae)},Re=function(b,z){var x={};for(var re in b)x[re]=b[re];for(var re in z)x[re]=z[re];return x},Kt=function(b,z,x){for(var re=b(),ae=b.toString(),se=ae.slice(ae.indexOf("[")+1,ae.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ee=0;Ee<re.length;++Ee){var Be=re[Ee],xe=se[Ee];if(typeof Be=="function"){z+=";"+xe+"=";var Ne=Be.toString();if(Be.prototype)if(Ne.indexOf("[native code]")!=-1){var We=Ne.indexOf(" ",8)+1;z+=Ne.slice(We,Ne.indexOf("(",We))}else{z+=Ne;for(var At in Be.prototype)z+=";"+xe+".prototype."+At+"="+Be.prototype[At].toString()}else z+=Ne}else x[xe]=Be}return z},Te=null,pe=function(b){var z=[];for(var x in b)b[x].buffer&&z.push((b[x]=new b[x].constructor(b[x])).buffer);return z},ce=function(b,z,x,re){if(!Te[x]){for(var ae="",se={},Ee=b.length-1,Be=0;Be<Ee;++Be)ae=Kt(b[Be],ae,se);Te[x]={c:Kt(b[Ee],ae,se),e:se}}var xe=Re({},Te[x].e);return ze(Te[x].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+z.toString()+"}",x,xe,pe(xe),re)},ye=function(){return[at,Ge,je,me,Se,Le,Fe,y,Pe,Ze,ee,it,ne,Ve,nt,De,St,ke,rt,wt,hi,ct,ot]},qe=function(){return[at,Ge,je,me,Se,Le,Ce,a,_e,oe,Qe,he,ee,Ln,Hn,ne,dt,pt,st,ft,an,fn,Et,qt,St,ke,un,er,ea,ct]},gt=function(){return[Jn,Nr,Yt,yt,Vn]},Me=function(){return[hr,tr]},Xe=function(){return[Dr,Yt,Kn]},Pt=function(){return[sa]},ct=function(b){return postMessage(b,[b.buffer])},ot=function(b){return b&&{out:b.size&&new at(b.size),dictionary:b.dictionary}},kt=function(b,z,x,re,ae,se){var Ee=ce(x,re,ae,function(Be,xe){Ee.terminate(),se(Be,xe)});return Ee.postMessage([b,z],z.consume?[b.buffer]:[]),function(){Ee.terminate()}},_n=function(b){return b.ondata=function(z,x){return postMessage([z,x],[z.buffer])},function(z){z.data.length?(b.push(z.data[0],z.data[1]),postMessage([z.data[0].length])):b.flush()}},_t=function(b,z,x,re,ae,se,Ee){var Be,xe=ce(b,re,ae,function(Ne,We){Ne?(xe.terminate(),z.ondata.call(z,Ne)):Array.isArray(We)?We.length==1?(z.queuedSize-=We[0],z.ondrain&&z.ondrain(We[0])):(We[1]&&xe.terminate(),z.ondata.call(z,Ne,We[0],We[1])):Ee(We)});xe.postMessage(x),z.queuedSize=0,z.push=function(Ne,We){z.ondata||rt(5),Be&&z.ondata(rt(4,0,1),null,!!We),z.queuedSize+=Ne.length,xe.postMessage([Ne,Be=We],[Ne.buffer])},z.terminate=function(){xe.terminate()},se&&(z.flush=function(){xe.postMessage([])})},rn=function(b,z){return b[z]|b[z+1]<<8},Nt=function(b,z){return(b[z]|b[z+1]<<8|b[z+2]<<16|b[z+3]<<24)>>>0},yn=function(b,z){return Nt(b,z)+Nt(b,z+4)*4294967296},Yt=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Jn=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&&Yt(b,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){b[3]=8;for(var re=0;re<=x.length;++re)b[re+10]=x.charCodeAt(re)}},hr=function(b){(b[0]!=31||b[1]!=139||b[2]!=8)&&rt(6,"invalid gzip data");var z=b[3],x=10;z&4&&(x+=(b[10]|b[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!b[x++]);return x+(z&2)},tr=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},Nr=function(b){return 10+(b.filename?b.filename.length+1:0)},Dr=function(b,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(b[0]=120,b[1]=re<<6|(z.dictionary&&32),b[1]|=31-(b[0]<<8|b[1])%31,z.dictionary){var ae=Kn();ae.p(z.dictionary),Yt(b,2,ae.d())}},sa=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&rt(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&rt(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function Aa(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var Hr=null,wr=null;function Qr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe],function(re){return ct(ea(re.data[0],re.data[1]))},0,x)}function ea(b,z){return er(b,z||{},0,0)}var xa=null,co=null;function qr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye],function(re){return ct(hi(re.data[0],ot(re.data[1])))},1,x)}function hi(b,z){return wt(b,{i:2},z&&z.out,z&&z.dictionary)}var Ii=null,ta=null;function sn(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,gt,function(){return[KA]}],function(re){return ct(KA(re.data[0],re.data[1]))},2,x)}function KA(b,z){z||(z={});var x=yt(),re=b.length;x.p(b);var ae=er(b,z,Nr(z),8),se=ae.length;return Jn(ae,z),Yt(ae,se-8,x.d()),Yt(ae,se-4,re),ae}var mA=null,IA=null;function gs(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Me,function(){return[bi]}],function(re){return ct(bi(re.data[0],re.data[1]))},3,x)}function bi(b,z){var x=hr(b);return x+8>b.length&&rt(6,"invalid gzip data"),wt(b.subarray(x,-8),{i:2},z&&z.out||new at(tr(b)),z&&z.dictionary)}var zs=null,yA=null;function qi(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,Xe,function(){return[En]}],function(re){return ct(En(re.data[0],re.data[1]))},4,x)}function En(b,z){z||(z={});var x=Kn();x.p(b);var re=er(b,z,z.dictionary?6:2,4);return Dr(re,z),Yt(re,re.length-4,x.d()),re}var On=null,vn=null;function Tr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Pt,function(){return[Pa]}],function(re){return ct(Pa(re.data[0],ot(re.data[1])))},5,x)}function Pa(b,z){return wt(b.subarray(sa(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var $r=null,oi=null;function vo(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),b[0]==31&&b[1]==139&&b[2]==8?gs(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?qr(b,z,x):Tr(b,z,x)}function Go(b,z){return b[0]==31&&b[1]==139&&b[2]==8?bi(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?hi(b,z):Pa(b,z)}var Uo=function(b,z,x,re){for(var ae in b){var se=b[ae],Ee=z+ae,Be=re;Array.isArray(se)&&(Be=Re(re,se[1]),se=se[0]),se instanceof at?x[Ee]=[se,Be]:(x[Ee+="/"]=[new at(0),Be],Uo(se,Ee,x,re))}},wA=typeof TextEncoder!="undefined"&&new TextEncoder,gr=typeof TextDecoder!="undefined"&&new TextDecoder,Qo=0;try{gr.decode(Hn,{stream:!0}),Qo=1}catch(b){}var Qi=function(b){for(var z="",x=0;;){var re=b[x++],ae=(re>127)+(re>223)+(re>239);if(x+ae>b.length)return{s:z,r:ke(b,x-1)};ae?ae==3?(re=((re&15)<<18|(b[x++]&63)<<12|(b[x++]&63)<<6|b[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ae&1?z+=String.fromCharCode((re&31)<<6|b[x++]&63):z+=String.fromCharCode((re&15)<<12|(b[x++]&63)<<6|b[x++]&63):z+=String.fromCharCode(re)}},ci=null,Bi=null;function To(b,z){if(z){for(var x=new at(b.length),re=0;re<b.length;++re)x[re]=b.charCodeAt(re);return x}if(wA)return wA.encode(b);for(var ae=b.length,se=new at(b.length+(b.length>>1)),Ee=0,Be=function(We){se[Ee++]=We},re=0;re<ae;++re){if(Ee+5>se.length){var xe=new at(Ee+8+(ae-re<<1));xe.set(se),se=xe}var Ne=b.charCodeAt(re);Ne<128||z?Be(Ne):Ne<2048?(Be(192|Ne>>6),Be(128|Ne&63)):Ne>55295&&Ne<57344?(Ne=65536+(Ne&1047552)|b.charCodeAt(++re)&1023,Be(240|Ne>>18),Be(128|Ne>>12&63),Be(128|Ne>>6&63),Be(128|Ne&63)):(Be(224|Ne>>12),Be(128|Ne>>6&63),Be(128|Ne&63))}return ke(se,0,Ee)}function pA(b,z){if(z){for(var x="",re=0;re<b.length;re+=16384)x+=String.fromCharCode.apply(null,b.subarray(re,re+16384));return x}else{if(gr)return gr.decode(b);var ae=Qi(b),se=ae.s,x=ae.r;return x.length&&rt(8),se}}var jA=function(b){return b==1?3:b<6?2:b==9?1:0},zA=function(b,z){return z+30+rn(b,z+26)+rn(b,z+28)},Ns=function(b,z,x){var re=rn(b,z+28),ae=pA(b.subarray(z+46,z+46+re),!(rn(b,z+8)&2048)),se=z+46+re,Ee=Nt(b,z+20),Be=x&&Ee==4294967295?GA(b,se):[Ee,Nt(b,z+24),Nt(b,z+42)],xe=Be[0],Ne=Be[1],We=Be[2];return[rn(b,z+10),xe,Ne,ae,se+rn(b,z+30)+rn(b,z+32),We]},GA=function(b,z){for(;rn(b,z)!=1;z+=4+rn(b,z+2));return[yn(b,z+12),yn(b,z+4),yn(b,z+20)]},yi=function(b){var z=0;if(b)for(var x in b){var re=b[x].length;re>65535&&rt(9),z+=re+4}return z},fs=function(b,z,x,re,ae,se,Ee,Be){var xe=re.length,Ne=x.extra,We=Be&&Be.length,At=yi(Ne);Yt(b,z,Ee!=null?33639248:67324752),z+=4,Ee!=null&&(b[z++]=20,b[z++]=x.os),b[z]=20,z+=2,b[z++]=x.flag<<1|(se<0&&8),b[z++]=ae&&8,b[z++]=x.compression&255,b[z++]=x.compression>>8;var mt=new Date(x.mtime==null?Date.now():x.mtime),$e=mt.getFullYear()-1980;if(($e<0||$e>119)&&rt(10),Yt(b,z,$e<<25|mt.getMonth()+1<<21|mt.getDate()<<16|mt.getHours()<<11|mt.getMinutes()<<5|mt.getSeconds()>>1),z+=4,se!=-1&&(Yt(b,z,x.crc),Yt(b,z+4,se<0?-se-2:se),Yt(b,z+8,x.size)),Yt(b,z+12,xe),Yt(b,z+14,At),z+=16,Ee!=null&&(Yt(b,z,We),Yt(b,z+6,x.attrs),Yt(b,z+10,Ee),z+=14),b.set(re,z),z+=xe,At)for(var Mt in Ne){var Tt=Ne[Mt],Ht=Tt.length;Yt(b,z,+Mt),Yt(b,z+2,Ht),b.set(Tt,z+4),z+=4+Ht}return We&&(b.set(Be,z),z+=We),z},Fl=function(b,z,x,re,ae){Yt(b,z,101010256),Yt(b,z+8,x),Yt(b,z+10,x),Yt(b,z+12,re),Yt(b,z+16,ae)},$A=null,Cr=null,Dc=null,Su=null;function Ou(b,z,x){x||(x=z,z={}),typeof x!="function"&&rt(7);var re={};Uo(b,"",re,z);var ae=Object.keys(re),se=ae.length,Ee=0,Be=0,xe=se,Ne=new Array(se),We=[],At=function(){for(var Ht=0;Ht<We.length;++Ht)We[Ht]()},mt=function(Ht,xt){za(function(){x(Ht,xt)})};za(function(){mt=x});var $e=function(){var Ht=new at(Be+22),xt=Ee,Bn=Be-Ee;Be=0;for(var cn=0;cn<xe;++cn){var en=Ne[cn];try{var Yn=en.c.length;fs(Ht,Be,en,en.f,en.u,Yn);var vr=30+en.f.length+yi(en.extra),rr=Be+vr;Ht.set(en.c,rr),fs(Ht,Ee,en,en.f,en.u,Yn,Be,en.m),Ee+=16+vr+(en.m?en.m.length:0),Be=rr+Yn}catch(xn){return mt(xn,null)}}Fl(Ht,Ee,Ne.length,Bn,xt),mt(null,Ht)};se||$e();for(var Mt=function(Ht){var xt=ae[Ht],Bn=re[xt],cn=Bn[0],en=Bn[1],Yn=yt(),vr=cn.length;Yn.p(cn);var rr=To(xt),xn=rr.length,nn=en.comment,Mn=nn&&To(nn),Ft=Mn&&Mn.length,zt=yi(en.extra),pn=en.level==0?0:8,gn=function(qn,nr){if(qn)At(),mt(qn,null);else{var ir=nr.length;Ne[Ht]=Re(en,{size:vr,crc:Yn.d(),c:nr,f:rr,m:Mn,u:xn!=xt.length||Mn&&nn.length!=Ft,compression:pn}),Ee+=30+xn+zt+ir,Be+=76+2*(xn+zt)+(Ft||0)+ir,--se||$e()}};if(xn>65535&&gn(rt(11,0,1),null),!pn)gn(null,cn);else if(vr<16e4)try{gn(null,ea(cn,en))}catch(qn){gn(qn,null)}else We.push(Qr(cn,en,gn))},Tt=0;Tt<xe;++Tt)Mt(Tt);return At}function el(b,z){z||(z={});var x={},re=[];Uo(b,"",x,z);var ae=0,se=0;for(var Ee in x){var Be=x[Ee],xe=Be[0],Ne=Be[1],We=Ne.level==0?0:8,At=To(Ee),mt=At.length,$e=Ne.comment,Mt=$e&&To($e),Tt=Mt&&Mt.length,Ht=yi(Ne.extra);mt>65535&&rt(11);var xt=We?ea(xe,Ne):xe,Bn=xt.length,cn=yt();cn.p(xe),re.push(Re(Ne,{size:xe.length,crc:cn.d(),c:xt,f:At,m:Mt,u:mt!=Ee.length||Mt&&$e.length!=Tt,o:ae,compression:We})),ae+=30+mt+Ht+Bn,se+=76+2*(mt+Ht)+(Tt||0)+Bn}for(var en=new at(se+22),Yn=ae,vr=se-ae,rr=0;rr<re.length;++rr){var At=re[rr];fs(en,At.o,At,At.f,At.u,At.c.length);var xn=30+At.f.length+yi(At.extra);en.set(At.c,At.o+xn),fs(en,ae,At,At.f,At.u,At.c.length,At.o,At.m),ae+=16+xn+(At.m?At.m.length:0)}return Fl(en,ae,re.length,vr,Yn),en}var kr=null,Ua=null,Fo=null,Ea=null,za=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(b){b()};function mi(b,z,x){x||(x=z,z={}),typeof x!="function"&&rt(7);var re=[],ae=function(){for(var Ht=0;Ht<re.length;++Ht)re[Ht]()},se={},Ee=function(Ht,xt){za(function(){x(Ht,xt)})};za(function(){Ee=x});for(var Be=b.length-22;Nt(b,Be)!=101010256;--Be)if(!Be||b.length-Be>65558)return Ee(rt(13,0,1),null),ae;var xe=rn(b,Be+8);if(xe){var Ne=xe,We=Nt(b,Be+16),At=We==4294967295||Ne==65535;if(At){var mt=Nt(b,Be-12);At=Nt(b,mt)==101075792,At&&(Ne=xe=Nt(b,mt+32),We=Nt(b,mt+48))}for(var $e=z&&z.filter,Mt=function(Ht){var xt=Ns(b,We,At),Bn=xt[0],cn=xt[1],en=xt[2],Yn=xt[3],vr=xt[4],rr=xt[5],xn=zA(b,rr);We=vr;var nn=function(Ft,zt){Ft?(ae(),Ee(Ft,null)):(zt&&(se[Yn]=zt),--xe||Ee(null,se))};if(!$e||$e({name:Yn,size:cn,originalSize:en,compression:Bn}))if(!Bn)nn(null,ke(b,xn,xn+cn));else if(Bn==8){var Mn=b.subarray(xn,xn+cn);if(en<524288||cn>.8*en)try{nn(null,hi(Mn,{out:new at(en)}))}catch(Ft){nn(Ft,null)}else re.push(qr(Mn,{size:en},nn))}else nn(rt(14,"unknown compression type "+Bn,1),null);else nn(null,null)},Tt=0;Tt<Ne;++Tt)Mt(Tt)}else Ee(null,{});return ae}function pa(b,z){for(var x={},re=b.length-22;Nt(b,re)!=101010256;--re)(!re||b.length-re>65558)&&rt(13);var ae=rn(b,re+8);if(!ae)return{};var se=Nt(b,re+16),Ee=se==4294967295||ae==65535;if(Ee){var Be=Nt(b,re-12);Ee=Nt(b,Be)==101075792,Ee&&(ae=Nt(b,Be+32),se=Nt(b,Be+48))}for(var xe=z&&z.filter,Ne=0;Ne<ae;++Ne){var We=Ns(b,se,Ee),At=We[0],mt=We[1],$e=We[2],Mt=We[3],Tt=We[4],Ht=We[5],xt=zA(b,Ht);se=Tt,(!xe||xe({name:Mt,size:mt,originalSize:$e,compression:At}))&&(At?At==8?x[Mt]=hi(b.subarray(xt,xt+mt),{out:new at($e)}):rt(14,"unknown compression type "+At):x[Mt]=ke(b,xt,xt+mt))}return x}var ns=we(42978);function rs(b,z="utf8"){return new TextDecoder(z).decode(b)}const Bu=new TextEncoder;function Ds(b){return Bu.encode(b)}const Oc=1024*8,Qc=(()=>{const b=new Uint8Array(4),z=new Uint32Array(b.buffer);return!((z[0]=1)&b[0])})(),xl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class _l{constructor(z=Oc,x={}){Gi(this,"buffer");Gi(this,"byteLength");Gi(this,"byteOffset");Gi(this,"length");Gi(this,"offset");Gi(this,"lastWrittenByte");Gi(this,"littleEndian");Gi(this,"_data");Gi(this,"_mark");Gi(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ae=x.offset?x.offset>>>0:0,se=z.byteLength-ae;let Ee=ae;(ArrayBuffer.isView(z)||z instanceof _l)&&(z.byteLength!==z.buffer.byteLength&&(Ee=z.byteOffset+ae),z=z.buffer),re?this.lastWrittenByte=se:this.lastWrittenByte=0,this.buffer=z,this.length=se,this.byteLength=se,this.byteOffset=Ee,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ee,se),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ae=new Uint8Array(re);ae.set(new Uint8Array(this.buffer)),this.buffer=ae.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,x){const re=xl[x].BYTES_PER_ELEMENT*z,ae=this.byteOffset+this.offset,se=this.buffer.slice(ae,ae+re);if(this.littleEndian===Qc&&x!=="uint8"&&x!=="int8"){const Be=new Uint8Array(this.buffer.slice(ae,ae+re));Be.reverse();const xe=new xl[x](Be.buffer);return this.offset+=re,xe.reverse(),xe}const Ee=new xl[x](se);return this.offset+=re,Ee}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let x="";for(let re=0;re<z;re++)x+=this.readChar();return x}readUtf8(z=1){return rs(this.readBytes(z))}decodeText(z=1,x="utf8"){return rs(this.readBytes(z),x)}writeBoolean(z){return this.writeUint8(z?255:0),this}writeInt8(z){return this.ensureAvailable(1),this._data.setInt8(this.offset++,z),this._updateLastWrittenByte(),this}writeUint8(z){return this.ensureAvailable(1),this._data.setUint8(this.offset++,z),this._updateLastWrittenByte(),this}writeByte(z){return this.writeUint8(z)}writeBytes(z){this.ensureAvailable(z.length);for(let x=0;x<z.length;x++)this._data.setUint8(this.offset++,z[x]);return this._updateLastWrittenByte(),this}writeInt16(z){return this.ensureAvailable(2),this._data.setInt16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(z){return this.ensureAvailable(2),this._data.setUint16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(z){return this.ensureAvailable(4),this._data.setInt32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(z){return this.ensureAvailable(4),this._data.setUint32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(z){return this.ensureAvailable(4),this._data.setFloat32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(z){return this.ensureAvailable(8),this._data.setFloat64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(z){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(z){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(z){return this.writeUint8(z.charCodeAt(0))}writeChars(z){for(let x=0;x<z.length;x++)this.writeUint8(z.charCodeAt(x));return this}writeUtf8(z){return this.writeBytes(Ds(z))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Tc=4,Qu=0,Tu=1,Au=2;function gl(b){let z=b.length;for(;--z>=0;)b[z]=0}const ku=0,An=1,kc=2,Ru=3,gd=258,su=29,hs=256,lu=hs+1+su,as=30,UA=19,ic=2*lu+1,zl=15,bA=16,ZA=7,Rc=256,uu=16,jc=17,wn=18,Dt=new Uint8Array([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]),tn=new Uint8Array([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]),Qn=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Ar=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Xr=512,Lr=new Array((lu+2)*2);gl(Lr);const mr=new Array(as*2);gl(mr);const Fr=new Array(Xr);gl(Fr);const ca=new Array(gd-Ru+1);gl(ca);const Ma=new Array(su);gl(Ma);const Ro=new Array(as);gl(Ro);function la(b,z,x,re,ae){this.static_tree=b,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=ae,this.has_stree=b&&b.length}let Wi,ii,pi;function ha(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const Na=b=>b<256?Fr[b]:Fr[256+(b>>>7)],ja=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},_a=(b,z,x)=>{b.bi_valid>bA-x?(b.bi_buf|=z<<b.bi_valid&65535,ja(b,b.bi_buf),b.bi_buf=z>>bA-b.bi_valid,b.bi_valid+=x-bA):(b.bi_buf|=z<<b.bi_valid&65535,b.bi_valid+=x)},xo=(b,z,x)=>{_a(b,x[z*2],x[z*2+1])},So=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},WA=b=>{b.bi_valid===16?(ja(b,b.bi_buf),b.bi_buf=0,b.bi_valid=0):b.bi_valid>=8&&(b.pending_buf[b.pending++]=b.bi_buf&255,b.bi_buf>>=8,b.bi_valid-=8)},fl=(b,z)=>{const x=z.dyn_tree,re=z.max_code,ae=z.stat_desc.static_tree,se=z.stat_desc.has_stree,Ee=z.stat_desc.extra_bits,Be=z.stat_desc.extra_base,xe=z.stat_desc.max_length;let Ne,We,At,mt,$e,Mt,Tt=0;for(mt=0;mt<=zl;mt++)b.bl_count[mt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Ne=b.heap_max+1;Ne<ic;Ne++)We=b.heap[Ne],mt=x[x[We*2+1]*2+1]+1,mt>xe&&(mt=xe,Tt++),x[We*2+1]=mt,!(We>re)&&(b.bl_count[mt]++,$e=0,We>=Be&&($e=Ee[We-Be]),Mt=x[We*2],b.opt_len+=Mt*(mt+$e),se&&(b.static_len+=Mt*(ae[We*2+1]+$e)));if(Tt!==0){do{for(mt=xe-1;b.bl_count[mt]===0;)mt--;b.bl_count[mt]--,b.bl_count[mt+1]+=2,b.bl_count[xe]--,Tt-=2}while(Tt>0);for(mt=xe;mt!==0;mt--)for(We=b.bl_count[mt];We!==0;)At=b.heap[--Ne],!(At>re)&&(x[At*2+1]!==mt&&(b.opt_len+=(mt-x[At*2+1])*x[At*2],x[At*2+1]=mt),We--)}},sA=(b,z,x)=>{const re=new Array(zl+1);let ae=0,se,Ee;for(se=1;se<=zl;se++)ae=ae+x[se-1]<<1,re[se]=ae;for(Ee=0;Ee<=z;Ee++){let Be=b[Ee*2+1];Be!==0&&(b[Ee*2]=So(re[Be]++,Be))}},VA=()=>{let b,z,x,re,ae;const se=new Array(zl+1);for(x=0,re=0;re<su-1;re++)for(Ma[re]=x,b=0;b<1<<Dt[re];b++)ca[x++]=re;for(ca[x-1]=re,ae=0,re=0;re<16;re++)for(Ro[re]=ae,b=0;b<1<<tn[re];b++)Fr[ae++]=re;for(ae>>=7;re<as;re++)for(Ro[re]=ae<<7,b=0;b<1<<tn[re]-7;b++)Fr[256+ae++]=re;for(z=0;z<=zl;z++)se[z]=0;for(b=0;b<=143;)Lr[b*2+1]=8,b++,se[8]++;for(;b<=255;)Lr[b*2+1]=9,b++,se[9]++;for(;b<=279;)Lr[b*2+1]=7,b++,se[7]++;for(;b<=287;)Lr[b*2+1]=8,b++,se[8]++;for(sA(Lr,lu+1,se),b=0;b<as;b++)mr[b*2+1]=5,mr[b*2]=So(b,5);Wi=new la(Lr,Dt,hs+1,lu,zl),ii=new la(mr,tn,0,as,zl),pi=new la(new Array(0),Qn,0,UA,ZA)},tl=b=>{let z;for(z=0;z<lu;z++)b.dyn_ltree[z*2]=0;for(z=0;z<as;z++)b.dyn_dtree[z*2]=0;for(z=0;z<UA;z++)b.bl_tree[z*2]=0;b.dyn_ltree[Rc*2]=1,b.opt_len=b.static_len=0,b.sym_next=b.matches=0},nl=b=>{b.bi_valid>8?ja(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},rl=(b,z,x,re)=>{const ae=z*2,se=x*2;return b[ae]<b[se]||b[ae]===b[se]&&re[z]<=re[x]},Pn=(b,z,x)=>{const re=b.heap[x];let ae=x<<1;for(;ae<=b.heap_len&&(ae<b.heap_len&&rl(z,b.heap[ae+1],b.heap[ae],b.depth)&&ae++,!rl(z,re,b.heap[ae],b.depth));)b.heap[x]=b.heap[ae],x=ae,ae<<=1;b.heap[x]=re},In=(b,z,x)=>{let re,ae,se=0,Ee,Be;if(b.sym_next!==0)do re=b.pending_buf[b.sym_buf+se++]&255,re+=(b.pending_buf[b.sym_buf+se++]&255)<<8,ae=b.pending_buf[b.sym_buf+se++],re===0?xo(b,ae,z):(Ee=ca[ae],xo(b,Ee+hs+1,z),Be=Dt[Ee],Be!==0&&(ae-=Ma[Ee],_a(b,ae,Be)),re--,Ee=Na(re),xo(b,Ee,x),Be=tn[Ee],Be!==0&&(re-=Ro[Ee],_a(b,re,Be)));while(se<b.sym_next);xo(b,Rc,z)},al=(b,z)=>{const x=z.dyn_tree,re=z.stat_desc.static_tree,ae=z.stat_desc.has_stree,se=z.stat_desc.elems;let Ee,Be,xe=-1,Ne;for(b.heap_len=0,b.heap_max=ic,Ee=0;Ee<se;Ee++)x[Ee*2]!==0?(b.heap[++b.heap_len]=xe=Ee,b.depth[Ee]=0):x[Ee*2+1]=0;for(;b.heap_len<2;)Ne=b.heap[++b.heap_len]=xe<2?++xe:0,x[Ne*2]=1,b.depth[Ne]=0,b.opt_len--,ae&&(b.static_len-=re[Ne*2+1]);for(z.max_code=xe,Ee=b.heap_len>>1;Ee>=1;Ee--)Pn(b,x,Ee);Ne=se;do Ee=b.heap[1],b.heap[1]=b.heap[b.heap_len--],Pn(b,x,1),Be=b.heap[1],b.heap[--b.heap_max]=Ee,b.heap[--b.heap_max]=Be,x[Ne*2]=x[Ee*2]+x[Be*2],b.depth[Ne]=(b.depth[Ee]>=b.depth[Be]?b.depth[Ee]:b.depth[Be])+1,x[Ee*2+1]=x[Be*2+1]=Ne,b.heap[1]=Ne++,Pn(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],fl(b,z),sA(x,xe,b.bl_count)},Zr=(b,z,x)=>{let re,ae=-1,se,Ee=z[0*2+1],Be=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)se=Ee,Ee=z[(re+1)*2+1],!(++Be<xe&&se===Ee)&&(Be<Ne?b.bl_tree[se*2]+=Be:se!==0?(se!==ae&&b.bl_tree[se*2]++,b.bl_tree[uu*2]++):Be<=10?b.bl_tree[jc*2]++:b.bl_tree[wn*2]++,Be=0,ae=se,Ee===0?(xe=138,Ne=3):se===Ee?(xe=6,Ne=3):(xe=7,Ne=4))},Fa=(b,z,x)=>{let re,ae=-1,se,Ee=z[0*2+1],Be=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),re=0;re<=x;re++)if(se=Ee,Ee=z[(re+1)*2+1],!(++Be<xe&&se===Ee)){if(Be<Ne)do xo(b,se,b.bl_tree);while(--Be!==0);else se!==0?(se!==ae&&(xo(b,se,b.bl_tree),Be--),xo(b,uu,b.bl_tree),_a(b,Be-3,2)):Be<=10?(xo(b,jc,b.bl_tree),_a(b,Be-3,3)):(xo(b,wn,b.bl_tree),_a(b,Be-11,7));Be=0,ae=se,Ee===0?(xe=138,Ne=3):se===Ee?(xe=6,Ne=3):(xe=7,Ne=4)}},No=b=>{let z;for(Zr(b,b.dyn_ltree,b.l_desc.max_code),Zr(b,b.dyn_dtree,b.d_desc.max_code),al(b,b.bl_desc),z=UA-1;z>=3&&b.bl_tree[Ar[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},Ei=(b,z,x,re)=>{let ae;for(_a(b,z-257,5),_a(b,x-1,5),_a(b,re-4,4),ae=0;ae<re;ae++)_a(b,b.bl_tree[Ar[ae]*2+1],3);Fa(b,b.dyn_ltree,z-1),Fa(b,b.dyn_dtree,x-1)},to=b=>{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&b.dyn_ltree[x*2]!==0)return Qu;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return Tu;for(x=32;x<hs;x++)if(b.dyn_ltree[x*2]!==0)return Tu;return Qu};let eA=!1;const ju=b=>{eA||(VA(),eA=!0),b.l_desc=new ha(b.dyn_ltree,Wi),b.d_desc=new ha(b.dyn_dtree,ii),b.bl_desc=new ha(b.bl_tree,pi),b.bi_buf=0,b.bi_valid=0,tl(b)},cu=(b,z,x,re)=>{_a(b,(ku<<1)+(re?1:0),3),nl(b),ja(b,x),ja(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},Ll=b=>{_a(b,An<<1,3),xo(b,Rc,Lr),WA(b)},ol=(b,z,x,re)=>{let ae,se,Ee=0;b.level>0?(b.strm.data_type===Au&&(b.strm.data_type=to(b)),al(b,b.l_desc),al(b,b.d_desc),Ee=No(b),ae=b.opt_len+3+7>>>3,se=b.static_len+3+7>>>3,se<=ae&&(ae=se)):ae=se=x+5,x+4<=ae&&z!==-1?cu(b,z,x,re):b.strategy===Tc||se===ae?(_a(b,(An<<1)+(re?1:0),3),In(b,Lr,mr)):(_a(b,(kc<<1)+(re?1:0),3),Ei(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ee+1),In(b,b.dyn_ltree,b.dyn_dtree)),tl(b),re&&nl(b)},Gd=(b,z,x)=>(b.pending_buf[b.sym_buf+b.sym_next++]=z,b.pending_buf[b.sym_buf+b.sym_next++]=z>>8,b.pending_buf[b.sym_buf+b.sym_next++]=x,z===0?b.dyn_ltree[x*2]++:(b.matches++,z--,b.dyn_ltree[(ca[x]+hs+1)*2]++,b.dyn_dtree[Na(z)*2]++),b.sym_next===b.sym_end);var Il=ju,lA=cu,Ac=ol,NA=Gd,Mu=Ll,hl={_tr_init:Il,_tr_stored_block:lA,_tr_flush_block:Ac,_tr_tally:NA,_tr_align:Mu},qo=(b,z,x,re)=>{let ae=b&65535|0,se=b>>>16&65535|0,Ee=0;for(;x!==0;){Ee=x>2e3?2e3:x,x-=Ee;do ae=ae+z[re++]|0,se=se+ae|0;while(--Ee);ae%=65521,se%=65521}return ae|se<<16|0};const yu=()=>{let b,z=[];for(var x=0;x<256;x++){b=x;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;z[x]=b}return z},sc=new Uint32Array(yu());var vA=(b,z,x,re)=>{const ae=sc,se=re+x;b^=-1;for(let Ee=re;Ee<se;Ee++)b=b>>>8^ae[(b^z[Ee])&255];return b^-1},Os={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Nl={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Gl,_tr_stored_block:Ci,_tr_flush_block:Cs,_tr_tally:DA,_tr_align:uA}=hl,{Z_NO_FLUSH:cA,Z_PARTIAL_FLUSH:Dl,Z_FULL_FLUSH:Mc,Z_FINISH:XA,Z_BLOCK:Hu,Z_OK:CA,Z_STREAM_END:Ol,Z_STREAM_ERROR:tA,Z_DATA_ERROR:lc,Z_BUF_ERROR:du,Z_DEFAULT_COMPRESSION:gu,Z_FILTERED:Hc,Z_HUFFMAN_ONLY:$l,Z_RLE:Pr,Z_FIXED:La,Z_DEFAULT_STRATEGY:sr,Z_UNKNOWN:Ga,Z_DEFLATED:Co}=Nl,dA=9,Qs=15,YA=8,Ps=256+1+29,Ai=30,ml=19,Wo=2*Ps+1,os=15,Ya=3,Vi=258,Ti=Vi+Ya+1,Wl=32,is=42,PA=57,MA=69,ms=73,ps=91,uc=103,Ql=113,Vl=666,OA=1,wu=2,cc=3,Ku=4,eh=3,Kc=(b,z)=>(b.msg=Os[z],z),vf=b=>b*2-(b>4?9:0),dc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},$d=b=>{let z,x,re,ae=b.w_size;z=b.hash_size,re=z;do x=b.head[--re],b.head[re]=x>=ae?x-ae:0;while(--z);z=ae,re=z;do x=b.prev[--re],b.prev[re]=x>=ae?x-ae:0;while(--z)};let zu=(b,z,x)=>(z<<b.hash_shift^x)&b.hash_mask;const Tl=b=>{const z=b.state;let x=z.pending;x>b.avail_out&&(x=b.avail_out),x!==0&&(b.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),b.next_out),b.next_out+=x,z.pending_out+=x,b.total_out+=x,b.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},pl=(b,z)=>{Cs(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,Tl(b.strm)},Pi=(b,z)=>{b.pending_buf[b.pending++]=z},zc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},Sf=(b,z,x,re)=>{let ae=b.avail_in;return ae>re&&(ae=re),ae===0?0:(b.avail_in-=ae,z.set(b.input.subarray(b.next_in,b.next_in+ae),x),b.state.wrap===1?b.adler=qo(b.adler,z,ae,x):b.state.wrap===2&&(b.adler=vA(b.adler,z,ae,x)),b.next_in+=ae,b.total_in+=ae,ae)},Bf=(b,z)=>{let x=b.max_chain_length,re=b.strstart,ae,se,Ee=b.prev_length,Be=b.nice_match;const xe=b.strstart>b.w_size-Ti?b.strstart-(b.w_size-Ti):0,Ne=b.window,We=b.w_mask,At=b.prev,mt=b.strstart+Vi;let $e=Ne[re+Ee-1],Mt=Ne[re+Ee];b.prev_length>=b.good_match&&(x>>=2),Be>b.lookahead&&(Be=b.lookahead);do if(ae=z,!(Ne[ae+Ee]!==Mt||Ne[ae+Ee-1]!==$e||Ne[ae]!==Ne[re]||Ne[++ae]!==Ne[re+1])){re+=2,ae++;do;while(Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&re<mt);if(se=Vi-(mt-re),re=mt-Vi,se>Ee){if(b.match_start=z,Ee=se,se>=Be)break;$e=Ne[re+Ee-1],Mt=Ne[re+Ee]}}while((z=At[z&We])>xe&&--x!==0);return Ee<=b.lookahead?Ee:b.lookahead},Gc=b=>{const z=b.w_size;let x,re,ae;do{if(re=b.window_size-b.lookahead-b.strstart,b.strstart>=z+(z-Ti)&&(b.window.set(b.window.subarray(z,z+z-re),0),b.match_start-=z,b.strstart-=z,b.block_start-=z,b.insert>b.strstart&&(b.insert=b.strstart),$d(b),re+=z),b.strm.avail_in===0)break;if(x=Sf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=Ya)for(ae=b.strstart-b.insert,b.ins_h=b.window[ae],b.ins_h=zu(b,b.ins_h,b.window[ae+1]);b.insert&&(b.ins_h=zu(b,b.ins_h,b.window[ae+Ya-1]),b.prev[ae&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=ae,ae++,b.insert--,!(b.lookahead+b.insert<Ya)););}while(b.lookahead<Ti&&b.strm.avail_in!==0)},hd=(b,z)=>{let x=b.pending_buf_size-5>b.w_size?b.w_size:b.pending_buf_size-5,re,ae,se,Ee=0,Be=b.strm.avail_in;do{if(re=65535,se=b.bi_valid+42>>3,b.strm.avail_out<se||(se=b.strm.avail_out-se,ae=b.strstart-b.block_start,re>ae+b.strm.avail_in&&(re=ae+b.strm.avail_in),re>se&&(re=se),re<x&&(re===0&&z!==XA||z===cA||re!==ae+b.strm.avail_in)))break;Ee=z===XA&&re===ae+b.strm.avail_in?1:0,Ci(b,0,0,Ee),b.pending_buf[b.pending-4]=re,b.pending_buf[b.pending-3]=re>>8,b.pending_buf[b.pending-2]=~re,b.pending_buf[b.pending-1]=~re>>8,Tl(b.strm),ae&&(ae>re&&(ae=re),b.strm.output.set(b.window.subarray(b.block_start,b.block_start+ae),b.strm.next_out),b.strm.next_out+=ae,b.strm.avail_out-=ae,b.strm.total_out+=ae,b.block_start+=ae,re-=ae),re&&(Sf(b.strm,b.strm.output,b.strm.next_out,re),b.strm.next_out+=re,b.strm.avail_out-=re,b.strm.total_out+=re)}while(Ee===0);return Be-=b.strm.avail_in,Be&&(Be>=b.w_size?(b.matches=2,b.window.set(b.strm.input.subarray(b.strm.next_in-b.w_size,b.strm.next_in),0),b.strstart=b.w_size,b.insert=b.strstart):(b.window_size-b.strstart<=Be&&(b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,b.insert>b.strstart&&(b.insert=b.strstart)),b.window.set(b.strm.input.subarray(b.strm.next_in-Be,b.strm.next_in),b.strstart),b.strstart+=Be,b.insert+=Be>b.w_size-b.insert?b.w_size-b.insert:Be),b.block_start=b.strstart),b.high_water<b.strstart&&(b.high_water=b.strstart),Ee?Ku:z!==cA&&z!==XA&&b.strm.avail_in===0&&b.strstart===b.block_start?wu:(se=b.window_size-b.strstart,b.strm.avail_in>se&&b.block_start>=b.w_size&&(b.block_start-=b.w_size,b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,se+=b.w_size,b.insert>b.strstart&&(b.insert=b.strstart)),se>b.strm.avail_in&&(se=b.strm.avail_in),se&&(Sf(b.strm,b.window,b.strstart,se),b.strstart+=se,b.insert+=se>b.w_size-b.insert?b.w_size-b.insert:se),b.high_water<b.strstart&&(b.high_water=b.strstart),se=b.bi_valid+42>>3,se=b.pending_buf_size-se>65535?65535:b.pending_buf_size-se,x=se>b.w_size?b.w_size:se,ae=b.strstart-b.block_start,(ae>=x||(ae||z===XA)&&z!==cA&&b.strm.avail_in===0&&ae<=se)&&(re=ae>se?se:ae,Ee=z===XA&&b.strm.avail_in===0&&re===ae?1:0,Ci(b,b.block_start,re,Ee),b.block_start+=re,Tl(b.strm)),Ee?cc:OA)},Eg=(b,z)=>{let x,re;for(;;){if(b.lookahead<Ti){if(Gc(b),b.lookahead<Ti&&z===cA)return OA;if(b.lookahead===0)break}if(x=0,b.lookahead>=Ya&&(b.ins_h=zu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),x!==0&&b.strstart-x<=b.w_size-Ti&&(b.match_length=Bf(b,x)),b.match_length>=Ya)if(re=DA(b,b.strstart-b.match_start,b.match_length-Ya),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Ya){b.match_length--;do b.strstart++,b.ins_h=zu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart;while(--b.match_length!==0);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=zu(b,b.ins_h,b.window[b.strstart+1]);else re=DA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(pl(b,!1),b.strm.avail_out===0))return OA}return b.insert=b.strstart<Ya-1?b.strstart:Ya-1,z===XA?(pl(b,!0),b.strm.avail_out===0?cc:Ku):b.sym_next&&(pl(b,!1),b.strm.avail_out===0)?OA:wu},$c=(b,z)=>{let x,re,ae;for(;;){if(b.lookahead<Ti){if(Gc(b),b.lookahead<Ti&&z===cA)return OA;if(b.lookahead===0)break}if(x=0,b.lookahead>=Ya&&(b.ins_h=zu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=Ya-1,x!==0&&b.prev_length<b.max_lazy_match&&b.strstart-x<=b.w_size-Ti&&(b.match_length=Bf(b,x),b.match_length<=5&&(b.strategy===Hc||b.match_length===Ya&&b.strstart-b.match_start>4096)&&(b.match_length=Ya-1)),b.prev_length>=Ya&&b.match_length<=b.prev_length){ae=b.strstart+b.lookahead-Ya,re=DA(b,b.strstart-1-b.prev_match,b.prev_length-Ya),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=ae&&(b.ins_h=zu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart);while(--b.prev_length!==0);if(b.match_available=0,b.match_length=Ya-1,b.strstart++,re&&(pl(b,!1),b.strm.avail_out===0))return OA}else if(b.match_available){if(re=DA(b,0,b.window[b.strstart-1]),re&&pl(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return OA}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=DA(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart<Ya-1?b.strstart:Ya-1,z===XA?(pl(b,!0),b.strm.avail_out===0?cc:Ku):b.sym_next&&(pl(b,!1),b.strm.avail_out===0)?OA:wu},th=(b,z)=>{let x,re,ae,se;const Ee=b.window;for(;;){if(b.lookahead<=Vi){if(Gc(b),b.lookahead<=Vi&&z===cA)return OA;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Ya&&b.strstart>0&&(ae=b.strstart-1,re=Ee[ae],re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae])){se=b.strstart+Vi;do;while(re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&ae<se);b.match_length=Vi-(se-ae),b.match_length>b.lookahead&&(b.match_length=b.lookahead)}if(b.match_length>=Ya?(x=DA(b,1,b.match_length-Ya),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=DA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(pl(b,!1),b.strm.avail_out===0))return OA}return b.insert=0,z===XA?(pl(b,!0),b.strm.avail_out===0?cc:Ku):b.sym_next&&(pl(b,!1),b.strm.avail_out===0)?OA:wu},nh=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Gc(b),b.lookahead===0)){if(z===cA)return OA;break}if(b.match_length=0,x=DA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(pl(b,!1),b.strm.avail_out===0))return OA}return b.insert=0,z===XA?(pl(b,!0),b.strm.avail_out===0?cc:Ku):b.sym_next&&(pl(b,!1),b.strm.avail_out===0)?OA:wu};function vs(b,z,x,re,ae){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=ae}const md=[new vs(0,0,0,0,hd),new vs(4,4,8,4,Eg),new vs(4,5,16,8,Eg),new vs(4,6,32,32,Eg),new vs(4,4,16,16,$c),new vs(8,16,32,32,$c),new vs(8,16,128,128,$c),new vs(8,32,128,256,$c),new vs(32,128,258,1024,$c),new vs(32,258,258,4096,$c)],rh=b=>{b.window_size=2*b.w_size,dc(b.head),b.max_lazy_match=md[b.level].max_lazy,b.good_match=md[b.level].good_length,b.nice_match=md[b.level].nice_length,b.max_chain_length=md[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Ya-1,b.match_available=0,b.ins_h=0};function Ye(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Co,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Wo*2),this.dyn_dtree=new Uint16Array((2*Ai+1)*2),this.bl_tree=new Uint16Array((2*ml+1)*2),dc(this.dyn_ltree),dc(this.dyn_dtree),dc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(os+1),this.heap=new Uint16Array(2*Ps+1),dc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ps+1),dc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const et=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.status!==is&&z.status!==PA&&z.status!==MA&&z.status!==ms&&z.status!==ps&&z.status!==uc&&z.status!==Ql&&z.status!==Vl?1:0},Bt=b=>{if(et(b))return Kc(b,tA);b.total_in=b.total_out=0,b.data_type=Ga;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?PA:z.wrap?is:Ql,b.adler=z.wrap===2?0:1,z.last_flush=-2,Gl(z),CA},It=b=>{const z=Bt(b);return z===CA&&rh(b.state),z},$t=(b,z)=>et(b)||b.state.wrap!==2?tA:(b.state.gzhead=z,CA),Zt=(b,z,x,re,ae,se)=>{if(!b)return tA;let Ee=1;if(z===gu&&(z=6),re<0?(Ee=0,re=-re):re>15&&(Ee=2,re-=16),ae<1||ae>dA||x!==Co||re<8||re>15||z<0||z>9||se<0||se>La||re===8&&Ee!==1)return Kc(b,tA);re===8&&(re=9);const Be=new Ye;return b.state=Be,Be.strm=b,Be.status=is,Be.wrap=Ee,Be.gzhead=null,Be.w_bits=re,Be.w_size=1<<Be.w_bits,Be.w_mask=Be.w_size-1,Be.hash_bits=ae+7,Be.hash_size=1<<Be.hash_bits,Be.hash_mask=Be.hash_size-1,Be.hash_shift=~~((Be.hash_bits+Ya-1)/Ya),Be.window=new Uint8Array(Be.w_size*2),Be.head=new Uint16Array(Be.hash_size),Be.prev=new Uint16Array(Be.w_size),Be.lit_bufsize=1<<ae+6,Be.pending_buf_size=Be.lit_bufsize*4,Be.pending_buf=new Uint8Array(Be.pending_buf_size),Be.sym_buf=Be.lit_bufsize,Be.sym_end=(Be.lit_bufsize-1)*3,Be.level=z,Be.strategy=se,Be.method=x,It(b)},mn=(b,z)=>Zt(b,z,Co,Qs,YA,sr),Sn=(b,z)=>{if(et(b)||z>Hu||z<0)return b?Kc(b,tA):tA;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===Vl&&z!==XA)return Kc(b,b.avail_out===0?du:tA);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(Tl(b),b.avail_out===0)return x.last_flush=-1,CA}else if(b.avail_in===0&&vf(z)<=vf(re)&&z!==XA)return Kc(b,du);if(x.status===Vl&&b.avail_in!==0)return Kc(b,du);if(x.status===is&&x.wrap===0&&(x.status=Ql),x.status===is){let ae=Co+(x.w_bits-8<<4)<<8,se=-1;if(x.strategy>=$l||x.level<2?se=0:x.level<6?se=1:x.level===6?se=2:se=3,ae|=se<<6,x.strstart!==0&&(ae|=Wl),ae+=31-ae%31,zc(x,ae),x.strstart!==0&&(zc(x,b.adler>>>16),zc(x,b.adler&65535)),b.adler=1,x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,CA}if(x.status===PA){if(b.adler=0,Pi(x,31),Pi(x,139),Pi(x,8),x.gzhead)Pi(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Pi(x,x.gzhead.time&255),Pi(x,x.gzhead.time>>8&255),Pi(x,x.gzhead.time>>16&255),Pi(x,x.gzhead.time>>24&255),Pi(x,x.level===9?2:x.strategy>=$l||x.level<2?4:0),Pi(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Pi(x,x.gzhead.extra.length&255),Pi(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=vA(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=MA;else if(Pi(x,0),Pi(x,0),Pi(x,0),Pi(x,0),Pi(x,0),Pi(x,x.level===9?2:x.strategy>=$l||x.level<2?4:0),Pi(x,eh),x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,CA}if(x.status===MA){if(x.gzhead.extra){let ae=x.pending,se=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+se>x.pending_buf_size;){let Be=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+Be),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex+=Be,Tl(b),x.pending!==0)return x.last_flush=-1,CA;ae=0,se-=Be}let Ee=new Uint8Array(x.gzhead.extra);x.pending_buf.set(Ee.subarray(x.gzindex,x.gzindex+se),x.pending),x.pending+=se,x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=ms}if(x.status===ms){if(x.gzhead.name){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,CA;ae=0}x.gzindex<x.gzhead.name.length?se=x.gzhead.name.charCodeAt(x.gzindex++)&255:se=0,Pi(x,se)}while(se!==0);x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=ps}if(x.status===ps){if(x.gzhead.comment){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,CA;ae=0}x.gzindex<x.gzhead.comment.length?se=x.gzhead.comment.charCodeAt(x.gzindex++)&255:se=0,Pi(x,se)}while(se!==0);x.gzhead.hcrc&&x.pending>ae&&(b.adler=vA(b.adler,x.pending_buf,x.pending-ae,ae))}x.status=uc}if(x.status===uc){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(Tl(b),x.pending!==0))return x.last_flush=-1,CA;Pi(x,b.adler&255),Pi(x,b.adler>>8&255),b.adler=0}if(x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,CA}if(b.avail_in!==0||x.lookahead!==0||z!==cA&&x.status!==Vl){let ae=x.level===0?hd(x,z):x.strategy===$l?nh(x,z):x.strategy===Pr?th(x,z):md[x.level].func(x,z);if((ae===cc||ae===Ku)&&(x.status=Vl),ae===OA||ae===cc)return b.avail_out===0&&(x.last_flush=-1),CA;if(ae===wu&&(z===Dl?uA(x):z!==Hu&&(Ci(x,0,0,!1),z===Mc&&(dc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),Tl(b),b.avail_out===0))return x.last_flush=-1,CA}return z!==XA?CA:x.wrap<=0?Ol:(x.wrap===2?(Pi(x,b.adler&255),Pi(x,b.adler>>8&255),Pi(x,b.adler>>16&255),Pi(x,b.adler>>24&255),Pi(x,b.total_in&255),Pi(x,b.total_in>>8&255),Pi(x,b.total_in>>16&255),Pi(x,b.total_in>>24&255)):(zc(x,b.adler>>>16),zc(x,b.adler&65535)),Tl(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?CA:Ol)},dn=b=>{if(et(b))return tA;const z=b.state.status;return b.state=null,z===Ql?Kc(b,lc):CA},Tn=(b,z)=>{let x=z.length;if(et(b))return tA;const re=b.state,ae=re.wrap;if(ae===2||ae===1&&re.status!==is||re.lookahead)return tA;if(ae===1&&(b.adler=qo(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){ae===0&&(dc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let xe=new Uint8Array(re.w_size);xe.set(z.subarray(x-re.w_size,x),0),z=xe,x=re.w_size}const se=b.avail_in,Ee=b.next_in,Be=b.input;for(b.avail_in=x,b.next_in=0,b.input=z,Gc(re);re.lookahead>=Ya;){let xe=re.strstart,Ne=re.lookahead-(Ya-1);do re.ins_h=zu(re,re.ins_h,re.window[xe+Ya-1]),re.prev[xe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=xe,xe++;while(--Ne);re.strstart=xe,re.lookahead=Ya-1,Gc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ya-1,re.match_available=0,b.next_in=Ee,b.input=Be,b.avail_in=se,re.wrap=ae,CA};var Gn=mn,kn=Zt,fr=It,or=Bt,ur=$t,Rr=Sn,Er=dn,Or=Tn,xr="pako deflate (from Nodeca project)",Wr={deflateInit:Gn,deflateInit2:kn,deflateReset:fr,deflateResetKeep:or,deflateSetHeader:ur,deflate:Rr,deflateEnd:Er,deflateSetDictionary:Or,deflateInfo:xr};const wa=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Ia=function(b){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)wa(x,re)&&(b[re]=x[re])}}return b},ua=b=>{let z=0;for(let re=0,ae=b.length;re<ae;re++)z+=b[re].length;const x=new Uint8Array(z);for(let re=0,ae=0,se=b.length;re<se;re++){let Ee=b[re];x.set(Ee,ae),ae+=Ee.length}return x},Ha={assign:Ia,flattenChunks:ua};let ao=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(b){ao=!1}const Yr=new Uint8Array(256);for(let b=0;b<256;b++)Yr[b]=b>=252?6:b>=248?5:b>=240?4:b>=224?3:b>=192?2:1;Yr[254]=Yr[254]=1;var da=b=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(b);let z,x,re,ae,se,Ee=b.length,Be=0;for(ae=0;ae<Ee;ae++)x=b.charCodeAt(ae),(x&64512)===55296&&ae+1<Ee&&(re=b.charCodeAt(ae+1),(re&64512)===56320&&(x=65536+(x-55296<<10)+(re-56320),ae++)),Be+=x<128?1:x<2048?2:x<65536?3:4;for(z=new Uint8Array(Be),se=0,ae=0;se<Be;ae++)x=b.charCodeAt(ae),(x&64512)===55296&&ae+1<Ee&&(re=b.charCodeAt(ae+1),(re&64512)===56320&&(x=65536+(x-55296<<10)+(re-56320),ae++)),x<128?z[se++]=x:x<2048?(z[se++]=192|x>>>6,z[se++]=128|x&63):x<65536?(z[se++]=224|x>>>12,z[se++]=128|x>>>6&63,z[se++]=128|x&63):(z[se++]=240|x>>>18,z[se++]=128|x>>>12&63,z[se++]=128|x>>>6&63,z[se++]=128|x&63);return z};const na=(b,z)=>{if(z<65534&&b.subarray&&ao)return String.fromCharCode.apply(null,b.length===z?b:b.subarray(0,z));let x="";for(let re=0;re<z;re++)x+=String.fromCharCode(b[re]);return x};var Gr=(b,z)=>{const x=z||b.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(b.subarray(0,z));let re,ae;const se=new Array(x*2);for(ae=0,re=0;re<x;){let Ee=b[re++];if(Ee<128){se[ae++]=Ee;continue}let Be=Yr[Ee];if(Be>4){se[ae++]=65533,re+=Be-1;continue}for(Ee&=Be===2?31:Be===3?15:7;Be>1&&re<x;)Ee=Ee<<6|b[re++]&63,Be--;if(Be>1){se[ae++]=65533;continue}Ee<65536?se[ae++]=Ee:(Ee-=65536,se[ae++]=55296|Ee>>10&1023,se[ae++]=56320|Ee&1023)}return na(se,ae)},ia=(b,z)=>{z=z||b.length,z>b.length&&(z=b.length);let x=z-1;for(;x>=0&&(b[x]&192)===128;)x--;return x<0||x===0?z:x+Yr[b[x]]>z?x:z},Qa={string2buf:da,buf2string:Gr,utf8border:ia};function Bo(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var no=Bo;const Da=Object.prototype.toString,{Z_NO_FLUSH:lo,Z_SYNC_FLUSH:Do,Z_FULL_FLUSH:Fi,Z_FINISH:Zo,Z_OK:Mi,Z_STREAM_END:nA,Z_DEFAULT_COMPRESSION:io,Z_DEFAULT_STRATEGY:EA,Z_DEFLATED:ei}=Nl;function xi(b){this.options=Ha.assign({level:io,method:ei,chunkSize:16384,windowBits:15,memLevel:8,strategy:EA},b||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new no,this.strm.avail_out=0;let x=Wr.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==Mi)throw new Error(Os[x]);if(z.header&&Wr.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Qa.string2buf(z.dictionary):Da.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=Wr.deflateSetDictionary(this.strm,re),x!==Mi)throw new Error(Os[x]);this._dict_set=!0}}xi.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize;let ae,se;if(this.ended)return!1;for(z===~~z?se=z:se=z===!0?Zo:lo,typeof b=="string"?x.input=Qa.string2buf(b):Da.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),(se===Do||se===Fi)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(ae=Wr.deflate(x,se),ae===nA)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),ae=Wr.deflateEnd(this.strm),this.onEnd(ae),this.ended=!0,ae===Mi;if(x.avail_out===0){this.onData(x.output);continue}if(se>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},xi.prototype.onData=function(b){this.chunks.push(b)},xi.prototype.onEnd=function(b){b===Mi&&(this.result=Ha.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Ui(b,z){const x=new xi(z);if(x.push(b,!0),x.err)throw x.msg||Os[x.err];return x.result}function Gs(b,z){return z=z||{},z.raw=!0,Ui(b,z)}function aa(b,z){return z=z||{},z.gzip=!0,Ui(b,z)}var Ra=xi,Ta=Ui,va=Gs,ti=aa,Sa=Nl,Ja={Deflate:Ra,deflate:Ta,deflateRaw:va,gzip:ti,constants:Sa};const ko=16209,jo=16191;var Es=function(z,x){let re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Bn,cn,en,Yn,vr,rr,xn,nn,Mn;const Ft=z.state;re=z.next_in,nn=z.input,ae=re+(z.avail_in-5),se=z.next_out,Mn=z.output,Ee=se-(x-z.avail_out),Be=se+(z.avail_out-257),xe=Ft.dmax,Ne=Ft.wsize,We=Ft.whave,At=Ft.wnext,mt=Ft.window,$e=Ft.hold,Mt=Ft.bits,Tt=Ft.lencode,Ht=Ft.distcode,xt=(1<<Ft.lenbits)-1,Bn=(1<<Ft.distbits)-1;e:do{Mt<15&&($e+=nn[re++]<<Mt,Mt+=8,$e+=nn[re++]<<Mt,Mt+=8),cn=Tt[$e&xt];t:for(;;){if(en=cn>>>24,$e>>>=en,Mt-=en,en=cn>>>16&255,en===0)Mn[se++]=cn&65535;else if(en&16){Yn=cn&65535,en&=15,en&&(Mt<en&&($e+=nn[re++]<<Mt,Mt+=8),Yn+=$e&(1<<en)-1,$e>>>=en,Mt-=en),Mt<15&&($e+=nn[re++]<<Mt,Mt+=8,$e+=nn[re++]<<Mt,Mt+=8),cn=Ht[$e&Bn];n:for(;;){if(en=cn>>>24,$e>>>=en,Mt-=en,en=cn>>>16&255,en&16){if(vr=cn&65535,en&=15,Mt<en&&($e+=nn[re++]<<Mt,Mt+=8,Mt<en&&($e+=nn[re++]<<Mt,Mt+=8)),vr+=$e&(1<<en)-1,vr>xe){z.msg="invalid distance too far back",Ft.mode=ko;break e}if($e>>>=en,Mt-=en,en=se-Ee,vr>en){if(en=vr-en,en>We&&Ft.sane){z.msg="invalid distance too far back",Ft.mode=ko;break e}if(rr=0,xn=mt,At===0){if(rr+=Ne-en,en<Yn){Yn-=en;do Mn[se++]=mt[rr++];while(--en);rr=se-vr,xn=Mn}}else if(At<en){if(rr+=Ne+At-en,en-=At,en<Yn){Yn-=en;do Mn[se++]=mt[rr++];while(--en);if(rr=0,At<Yn){en=At,Yn-=en;do Mn[se++]=mt[rr++];while(--en);rr=se-vr,xn=Mn}}}else if(rr+=At-en,en<Yn){Yn-=en;do Mn[se++]=mt[rr++];while(--en);rr=se-vr,xn=Mn}for(;Yn>2;)Mn[se++]=xn[rr++],Mn[se++]=xn[rr++],Mn[se++]=xn[rr++],Yn-=3;Yn&&(Mn[se++]=xn[rr++],Yn>1&&(Mn[se++]=xn[rr++]))}else{rr=se-vr;do Mn[se++]=Mn[rr++],Mn[se++]=Mn[rr++],Mn[se++]=Mn[rr++],Yn-=3;while(Yn>2);Yn&&(Mn[se++]=Mn[rr++],Yn>1&&(Mn[se++]=Mn[rr++]))}}else if(en&64){z.msg="invalid distance code",Ft.mode=ko;break e}else{cn=Ht[(cn&65535)+($e&(1<<en)-1)];continue n}break}}else if(en&64)if(en&32){Ft.mode=jo;break e}else{z.msg="invalid literal/length code",Ft.mode=ko;break e}else{cn=Tt[(cn&65535)+($e&(1<<en)-1)];continue t}break}}while(re<ae&&se<Be);Yn=Mt>>3,re-=Yn,Mt-=Yn<<3,$e&=(1<<Mt)-1,z.next_in=re,z.next_out=se,z.avail_in=re<ae?5+(ae-re):5-(re-ae),z.avail_out=se<Be?257+(Be-se):257-(se-Be),Ft.hold=$e,Ft.bits=Mt};const SA=15,kl=852,BA=592,Al=0,Kr=1,Ts=2,gc=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ni=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Oo=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Xi=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ki=(b,z,x,re,ae,se,Ee,Be)=>{const xe=Be.bits;let Ne=0,We=0,At=0,mt=0,$e=0,Mt=0,Tt=0,Ht=0,xt=0,Bn=0,cn,en,Yn,vr,rr,xn=null,nn;const Mn=new Uint16Array(SA+1),Ft=new Uint16Array(SA+1);let zt=null,pn,gn,qn;for(Ne=0;Ne<=SA;Ne++)Mn[Ne]=0;for(We=0;We<re;We++)Mn[z[x+We]]++;for($e=xe,mt=SA;mt>=1&&Mn[mt]===0;mt--);if($e>mt&&($e=mt),mt===0)return ae[se++]=1<<24|64<<16|0,ae[se++]=1<<24|64<<16|0,Be.bits=1,0;for(At=1;At<mt&&Mn[At]===0;At++);for($e<At&&($e=At),Ht=1,Ne=1;Ne<=SA;Ne++)if(Ht<<=1,Ht-=Mn[Ne],Ht<0)return-1;if(Ht>0&&(b===Al||mt!==1))return-1;for(Ft[1]=0,Ne=1;Ne<SA;Ne++)Ft[Ne+1]=Ft[Ne]+Mn[Ne];for(We=0;We<re;We++)z[x+We]!==0&&(Ee[Ft[z[x+We]]++]=We);if(b===Al?(xn=zt=Ee,nn=20):b===Kr?(xn=gc,zt=ni,nn=257):(xn=Oo,zt=Xi,nn=0),Bn=0,We=0,Ne=At,rr=se,Mt=$e,Tt=0,Yn=-1,xt=1<<$e,vr=xt-1,b===Kr&&xt>kl||b===Ts&&xt>BA)return 1;for(;;){pn=Ne-Tt,Ee[We]+1<nn?(gn=0,qn=Ee[We]):Ee[We]>=nn?(gn=zt[Ee[We]-nn],qn=xn[Ee[We]-nn]):(gn=96,qn=0),cn=1<<Ne-Tt,en=1<<Mt,At=en;do en-=cn,ae[rr+(Bn>>Tt)+en]=pn<<24|gn<<16|qn|0;while(en!==0);for(cn=1<<Ne-1;Bn&cn;)cn>>=1;if(cn!==0?(Bn&=cn-1,Bn+=cn):Bn=0,We++,--Mn[Ne]===0){if(Ne===mt)break;Ne=z[x+Ee[We]]}if(Ne>$e&&(Bn&vr)!==Yn){for(Tt===0&&(Tt=$e),rr+=At,Mt=Ne-Tt,Ht=1<<Mt;Mt+Tt<mt&&(Ht-=Mn[Mt+Tt],!(Ht<=0));)Mt++,Ht<<=1;if(xt+=1<<Mt,b===Kr&&xt>kl||b===Ts&&xt>BA)return 1;Yn=Bn&vr,ae[Yn]=$e<<24|Mt<<16|rr-se|0}}return Bn!==0&&(ae[rr+Bn]=Ne-Tt<<24|64<<16|0),Be.bits=$e,0};const yo=0,Fs=1,Ss=2,{Z_FINISH:$s,Z_BLOCK:ks,Z_TREES:Rs,Z_OK:vl,Z_STREAM_END:bu,Z_NEED_DICT:Sl,Z_STREAM_ERROR:rA,Z_DATA_ERROR:As,Z_MEM_ERROR:FA,Z_BUF_ERROR:Yi,Z_DEFLATED:Xl}=Nl,fu=16180,Cu=16181,Yl=16182,pd=16183,Zd=16184,Mo=16185,Ni=16186,ss=16187,$i=16188,ls=16189,Bs=16190,aA=16191,Jl=16192,vd=16193,Sd=16194,Wd=16195,Fg=16196,xg=16197,Zc=16198,ql=16199,fc=16200,_g=16201,Vd=16202,Lg=16203,Xd=16204,hc=16205,Yd=16206,yf=16207,Ig=16208,di=16209,Jd=16210,wf=16211,ah=852,bf=592,Ng=15,qd=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Cf(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Gu=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.mode<fu||z.mode>wf?1:0},Dg=b=>{if(Gu(b))return rA;const z=b.state;return b.total_in=b.total_out=z.total=0,b.msg="",z.wrap&&(b.adler=z.wrap&1),z.mode=fu,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(ah),z.distcode=z.distdyn=new Int32Array(bf),z.sane=1,z.back=-1,vl},eg=b=>{if(Gu(b))return rA;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,Dg(b)},Pf=(b,z)=>{let x;if(Gu(b))return rA;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?rA:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,eg(b))},Bd=(b,z)=>{if(!b)return rA;const x=new Cf;b.state=x,x.strm=b,x.window=null,x.mode=fu;const re=Pf(b,z);return re!==vl&&(b.state=null),re},tg=b=>Bd(b,Ng);let us=!0,Pu,ng;const oh=b=>{if(us){Pu=new Int32Array(512),ng=new Int32Array(32);let z=0;for(;z<144;)b.lens[z++]=8;for(;z<256;)b.lens[z++]=9;for(;z<280;)b.lens[z++]=7;for(;z<288;)b.lens[z++]=8;for(ki(Fs,b.lens,0,288,Pu,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;ki(Ss,b.lens,0,32,ng,0,b.work,{bits:5}),us=!1}b.lencode=Pu,b.lenbits=9,b.distcode=ng,b.distbits=5},si=(b,z,x,re)=>{let ae;const se=b.state;return se.window===null&&(se.wsize=1<<se.wbits,se.wnext=0,se.whave=0,se.window=new Uint8Array(se.wsize)),re>=se.wsize?(se.window.set(z.subarray(x-se.wsize,x),0),se.wnext=0,se.whave=se.wsize):(ae=se.wsize-se.wnext,ae>re&&(ae=re),se.window.set(z.subarray(x-re,x-re+ae),se.wnext),re-=ae,re?(se.window.set(z.subarray(x-re,x),0),se.wnext=re,se.whave=se.wsize):(se.wnext+=ae,se.wnext===se.wsize&&(se.wnext=0),se.whave<se.wsize&&(se.whave+=ae))),0},Ri=(b,z)=>{let x,re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht=0,xt,Bn,cn,en,Yn,vr,rr,xn;const nn=new Uint8Array(4);let Mn,Ft;const zt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Gu(b)||!b.output||!b.input&&b.avail_in!==0)return rA;x=b.state,x.mode===aA&&(x.mode=Jl),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Be=b.avail_in,Ne=x.hold,We=x.bits,At=Be,mt=xe,xn=vl;e:for(;;)switch(x.mode){case fu:if(x.wrap===0){x.mode=Jl;break}for(;We<16;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(x.wrap&2&&Ne===35615){x.wbits===0&&(x.wbits=15),x.check=0,nn[0]=Ne&255,nn[1]=Ne>>>8&255,x.check=vA(x.check,nn,2,0),Ne=0,We=0,x.mode=Cu;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Ne&255)<<8)+(Ne>>8))%31){b.msg="incorrect header check",x.mode=di;break}if((Ne&15)!==Xl){b.msg="unknown compression method",x.mode=di;break}if(Ne>>>=4,We-=4,rr=(Ne&15)+8,x.wbits===0&&(x.wbits=rr),rr>15||rr>x.wbits){b.msg="invalid window size",x.mode=di;break}x.dmax=1<<x.wbits,x.flags=0,b.adler=x.check=1,x.mode=Ne&512?ls:aA,Ne=0,We=0;break;case Cu:for(;We<16;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(x.flags=Ne,(x.flags&255)!==Xl){b.msg="unknown compression method",x.mode=di;break}if(x.flags&57344){b.msg="unknown header flags set",x.mode=di;break}x.head&&(x.head.text=Ne>>8&1),x.flags&512&&x.wrap&4&&(nn[0]=Ne&255,nn[1]=Ne>>>8&255,x.check=vA(x.check,nn,2,0)),Ne=0,We=0,x.mode=Yl;case Yl:for(;We<32;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.head&&(x.head.time=Ne),x.flags&512&&x.wrap&4&&(nn[0]=Ne&255,nn[1]=Ne>>>8&255,nn[2]=Ne>>>16&255,nn[3]=Ne>>>24&255,x.check=vA(x.check,nn,4,0)),Ne=0,We=0,x.mode=pd;case pd:for(;We<16;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.head&&(x.head.xflags=Ne&255,x.head.os=Ne>>8),x.flags&512&&x.wrap&4&&(nn[0]=Ne&255,nn[1]=Ne>>>8&255,x.check=vA(x.check,nn,2,0)),Ne=0,We=0,x.mode=Zd;case Zd:if(x.flags&1024){for(;We<16;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.length=Ne,x.head&&(x.head.extra_len=Ne),x.flags&512&&x.wrap&4&&(nn[0]=Ne&255,nn[1]=Ne>>>8&255,x.check=vA(x.check,nn,2,0)),Ne=0,We=0}else x.head&&(x.head.extra=null);x.mode=Mo;case Mo:if(x.flags&1024&&($e=x.length,$e>Be&&($e=Be),$e&&(x.head&&(rr=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(se,se+$e),rr)),x.flags&512&&x.wrap&4&&(x.check=vA(x.check,re,$e,se)),Be-=$e,se+=$e,x.length-=$e),x.length))break e;x.length=0,x.mode=Ni;case Ni:if(x.flags&2048){if(Be===0)break e;$e=0;do rr=re[se+$e++],x.head&&rr&&x.length<65536&&(x.head.name+=String.fromCharCode(rr));while(rr&&$e<Be);if(x.flags&512&&x.wrap&4&&(x.check=vA(x.check,re,$e,se)),Be-=$e,se+=$e,rr)break e}else x.head&&(x.head.name=null);x.length=0,x.mode=ss;case ss:if(x.flags&4096){if(Be===0)break e;$e=0;do rr=re[se+$e++],x.head&&rr&&x.length<65536&&(x.head.comment+=String.fromCharCode(rr));while(rr&&$e<Be);if(x.flags&512&&x.wrap&4&&(x.check=vA(x.check,re,$e,se)),Be-=$e,se+=$e,rr)break e}else x.head&&(x.head.comment=null);x.mode=$i;case $i:if(x.flags&512){for(;We<16;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(x.wrap&4&&Ne!==(x.check&65535)){b.msg="header crc mismatch",x.mode=di;break}Ne=0,We=0}x.head&&(x.head.hcrc=x.flags>>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=aA;break;case ls:for(;We<32;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}b.adler=x.check=qd(Ne),Ne=0,We=0,x.mode=Bs;case Bs:if(x.havedict===0)return b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Be,x.hold=Ne,x.bits=We,Sl;b.adler=x.check=1,x.mode=aA;case aA:if(z===ks||z===Rs)break e;case Jl:if(x.last){Ne>>>=We&7,We-=We&7,x.mode=Yd;break}for(;We<3;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}switch(x.last=Ne&1,Ne>>>=1,We-=1,Ne&3){case 0:x.mode=vd;break;case 1:if(oh(x),x.mode=ql,z===Rs){Ne>>>=2,We-=2;break e}break;case 2:x.mode=Fg;break;case 3:b.msg="invalid block type",x.mode=di}Ne>>>=2,We-=2;break;case vd:for(Ne>>>=We&7,We-=We&7;We<32;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if((Ne&65535)!==(Ne>>>16^65535)){b.msg="invalid stored block lengths",x.mode=di;break}if(x.length=Ne&65535,Ne=0,We=0,x.mode=Sd,z===Rs)break e;case Sd:x.mode=Wd;case Wd:if($e=x.length,$e){if($e>Be&&($e=Be),$e>xe&&($e=xe),$e===0)break e;ae.set(re.subarray(se,se+$e),Ee),Be-=$e,se+=$e,xe-=$e,Ee+=$e,x.length-=$e;break}x.mode=aA;break;case Fg:for(;We<14;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(x.nlen=(Ne&31)+257,Ne>>>=5,We-=5,x.ndist=(Ne&31)+1,Ne>>>=5,We-=5,x.ncode=(Ne&15)+4,Ne>>>=4,We-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=di;break}x.have=0,x.mode=xg;case xg:for(;x.have<x.ncode;){for(;We<3;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.lens[zt[x.have++]]=Ne&7,Ne>>>=3,We-=3}for(;x.have<19;)x.lens[zt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Mn={bits:x.lenbits},xn=ki(yo,x.lens,0,19,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid code lengths set",x.mode=di;break}x.have=0,x.mode=Zc;case Zc:for(;x.have<x.nlen+x.ndist;){for(;Ht=x.lencode[Ne&(1<<x.lenbits)-1],xt=Ht>>>24,Bn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(cn<16)Ne>>>=xt,We-=xt,x.lens[x.have++]=cn;else{if(cn===16){for(Ft=xt+2;We<Ft;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(Ne>>>=xt,We-=xt,x.have===0){b.msg="invalid bit length repeat",x.mode=di;break}rr=x.lens[x.have-1],$e=3+(Ne&3),Ne>>>=2,We-=2}else if(cn===17){for(Ft=xt+3;We<Ft;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}Ne>>>=xt,We-=xt,rr=0,$e=3+(Ne&7),Ne>>>=3,We-=3}else{for(Ft=xt+7;We<Ft;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}Ne>>>=xt,We-=xt,rr=0,$e=11+(Ne&127),Ne>>>=7,We-=7}if(x.have+$e>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=di;break}for(;$e--;)x.lens[x.have++]=rr}}if(x.mode===di)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=di;break}if(x.lenbits=9,Mn={bits:x.lenbits},xn=ki(Fs,x.lens,0,x.nlen,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid literal/lengths set",x.mode=di;break}if(x.distbits=6,x.distcode=x.distdyn,Mn={bits:x.distbits},xn=ki(Ss,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Mn),x.distbits=Mn.bits,xn){b.msg="invalid distances set",x.mode=di;break}if(x.mode=ql,z===Rs)break e;case ql:x.mode=fc;case fc:if(Be>=6&&xe>=258){b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Be,x.hold=Ne,x.bits=We,Es(b,mt),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Be=b.avail_in,Ne=x.hold,We=x.bits,x.mode===aA&&(x.back=-1);break}for(x.back=0;Ht=x.lencode[Ne&(1<<x.lenbits)-1],xt=Ht>>>24,Bn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(Bn&&!(Bn&240)){for(en=xt,Yn=Bn,vr=cn;Ht=x.lencode[vr+((Ne&(1<<en+Yn)-1)>>en)],xt=Ht>>>24,Bn=Ht>>>16&255,cn=Ht&65535,!(en+xt<=We);){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}Ne>>>=en,We-=en,x.back+=en}if(Ne>>>=xt,We-=xt,x.back+=xt,x.length=cn,Bn===0){x.mode=hc;break}if(Bn&32){x.back=-1,x.mode=aA;break}if(Bn&64){b.msg="invalid literal/length code",x.mode=di;break}x.extra=Bn&15,x.mode=_g;case _g:if(x.extra){for(Ft=x.extra;We<Ft;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.length+=Ne&(1<<x.extra)-1,Ne>>>=x.extra,We-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Vd;case Vd:for(;Ht=x.distcode[Ne&(1<<x.distbits)-1],xt=Ht>>>24,Bn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(!(Bn&240)){for(en=xt,Yn=Bn,vr=cn;Ht=x.distcode[vr+((Ne&(1<<en+Yn)-1)>>en)],xt=Ht>>>24,Bn=Ht>>>16&255,cn=Ht&65535,!(en+xt<=We);){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}Ne>>>=en,We-=en,x.back+=en}if(Ne>>>=xt,We-=xt,x.back+=xt,Bn&64){b.msg="invalid distance code",x.mode=di;break}x.offset=cn,x.extra=Bn&15,x.mode=Lg;case Lg:if(x.extra){for(Ft=x.extra;We<Ft;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}x.offset+=Ne&(1<<x.extra)-1,Ne>>>=x.extra,We-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){b.msg="invalid distance too far back",x.mode=di;break}x.mode=Xd;case Xd:if(xe===0)break e;if($e=mt-xe,x.offset>$e){if($e=x.offset-$e,$e>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=di;break}$e>x.wnext?($e-=x.wnext,Mt=x.wsize-$e):Mt=x.wnext-$e,$e>x.length&&($e=x.length),Tt=x.window}else Tt=ae,Mt=Ee-x.offset,$e=x.length;$e>xe&&($e=xe),xe-=$e,x.length-=$e;do ae[Ee++]=Tt[Mt++];while(--$e);x.length===0&&(x.mode=fc);break;case hc:if(xe===0)break e;ae[Ee++]=x.length,xe--,x.mode=fc;break;case Yd:if(x.wrap){for(;We<32;){if(Be===0)break e;Be--,Ne|=re[se++]<<We,We+=8}if(mt-=xe,b.total_out+=mt,x.total+=mt,x.wrap&4&&mt&&(b.adler=x.check=x.flags?vA(x.check,ae,mt,Ee-mt):qo(x.check,ae,mt,Ee-mt)),mt=xe,x.wrap&4&&(x.flags?Ne:qd(Ne))!==x.check){b.msg="incorrect data check",x.mode=di;break}Ne=0,We=0}x.mode=yf;case yf:if(x.wrap&&x.flags){for(;We<32;){if(Be===0)break e;Be--,Ne+=re[se++]<<We,We+=8}if(x.wrap&4&&Ne!==(x.total&4294967295)){b.msg="incorrect length check",x.mode=di;break}Ne=0,We=0}x.mode=Ig;case Ig:xn=bu;break e;case di:xn=As;break e;case Jd:return FA;case wf:default:return rA}return b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Be,x.hold=Ne,x.bits=We,(x.wsize||mt!==b.avail_out&&x.mode<di&&(x.mode<Yd||z!==$s))&&si(b,b.output,b.next_out,mt-b.avail_out),At-=b.avail_in,mt-=b.avail_out,b.total_in+=At,b.total_out+=mt,x.total+=mt,x.wrap&4&&mt&&(b.adler=x.check=x.flags?vA(x.check,ae,mt,b.next_out-mt):qo(x.check,ae,mt,b.next_out-mt)),b.data_type=x.bits+(x.last?64:0)+(x.mode===aA?128:0)+(x.mode===ql||x.mode===Sd?256:0),(At===0&&mt===0||z===$s)&&xn===vl&&(xn=Yi),xn},Rl=b=>{if(Gu(b))return rA;let z=b.state;return z.window&&(z.window=null),b.state=null,vl},$u=(b,z)=>{if(Gu(b))return rA;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,vl):rA},Zu=(b,z)=>{const x=z.length;let re,ae,se;return Gu(b)||(re=b.state,re.wrap!==0&&re.mode!==Bs)?rA:re.mode===Bs&&(ae=1,ae=qo(ae,z,x,0),ae!==re.check)?As:(se=si(b,z,x,x),se?(re.mode=Jd,FA):(re.havedict=1,vl))};var Ef=eg,Og=Pf,Qg=Dg,Tg=tg,kg=Bd,e0=Ri,t0=Rl,n0=$u,r0=Zu,ih="pako inflate (from Nodeca project)",mc={inflateReset:Ef,inflateReset2:Og,inflateResetKeep:Qg,inflateInit:Tg,inflateInit2:kg,inflate:e0,inflateEnd:t0,inflateGetHeader:n0,inflateSetDictionary:r0,inflateInfo:ih};function Bm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=Bm;const a0=Object.prototype.toString,{Z_NO_FLUSH:Ff,Z_FINISH:xf,Z_OK:Rg,Z_STREAM_END:_f,Z_NEED_DICT:jg,Z_STREAM_ERROR:o0,Z_DATA_ERROR:Ah,Z_MEM_ERROR:i0}=Nl;function Mg(b){this.options=Ha.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(b&&b.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new no,this.strm.avail_out=0;let x=mc.inflateInit2(this.strm,z.windowBits);if(x!==Rg)throw new Error(Os[x]);if(this.header=new ym,mc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Qa.string2buf(z.dictionary):a0.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=mc.inflateSetDictionary(this.strm,z.dictionary),x!==Rg)))throw new Error(Os[x])}Mg.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize,ae=this.options.dictionary;let se,Ee,Be;if(this.ended)return!1;for(z===~~z?Ee=z:Ee=z===!0?xf:Ff,a0.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),se=mc.inflate(x,Ee),se===jg&&ae&&(se=mc.inflateSetDictionary(x,ae),se===Rg?se=mc.inflate(x,Ee):se===Ah&&(se=jg));x.avail_in>0&&se===_f&&x.state.wrap>0&&b[x.next_in]!==0;)mc.inflateReset(x),se=mc.inflate(x,Ee);switch(se){case o0:case Ah:case jg:case i0:return this.onEnd(se),this.ended=!0,!1}if(Be=x.avail_out,x.next_out&&(x.avail_out===0||se===_f))if(this.options.to==="string"){let xe=Qa.utf8border(x.output,x.next_out),Ne=x.next_out-xe,We=Qa.buf2string(x.output,xe);x.next_out=Ne,x.avail_out=re-Ne,Ne&&x.output.set(x.output.subarray(xe,xe+Ne),0),this.onData(We)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(se===Rg&&Be===0)){if(se===_f)return se=mc.inflateEnd(this.strm),this.onEnd(se),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},Mg.prototype.onData=function(b){this.chunks.push(b)},Mg.prototype.onEnd=function(b){b===Rg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ha.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function rg(b,z){const x=new Mg(z);if(x.push(b),x.err)throw x.msg||Os[x.err];return x.result}function A0(b,z){return z=z||{},z.raw=!0,rg(b,z)}var s0=Mg,wm=rg,bm=A0,l0=rg,ag=Nl,sh={Inflate:s0,inflate:wm,inflateRaw:bm,ungzip:l0,constants:ag};const{Deflate:Lf,deflate:Cm,deflateRaw:Pm,gzip:Em}=Ja,{Inflate:Fm,inflate:u0,inflateRaw:lh,ungzip:c0}=sh;var d0=Lf,uh=Cm,g0=Pm,f0=Em,ch=Fm,Hg=u0,If=lh,h0=c0,m0=Nl,Pp={Deflate:d0,deflate:uh,deflateRaw:g0,gzip:f0,Inflate:ch,inflate:Hg,inflateRaw:If,ungzip:h0,constants:m0};const dh=[];for(let b=0;b<256;b++){let z=b;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;dh[b]=z}const gh=4294967295;function xm(b,z,x){let re=b;for(let ae=0;ae<x;ae++)re=dh[(re^z[ae])&255]^re>>>8;return re}function p0(b,z){return(xm(gh,b,z)^gh)>>>0}function yd(b,z,x){const re=b.readUint32(),ae=p0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z-4,z),z);if(ae!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${ae}`)}function _m(b,z){b.writeUint32(p0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z,z),z))}function JA(b,z,x){for(let re=0;re<x;re++)z[re]=b[re]}function Wc(b,z,x,re){let ae=0;for(;ae<re;ae++)z[ae]=b[ae];for(;ae<x;ae++)z[ae]=b[ae]+z[ae-re]&255}function wd(b,z,x,re){let ae=0;if(x.length===0)for(;ae<re;ae++)z[ae]=b[ae];else for(;ae<re;ae++)z[ae]=b[ae]+x[ae]&255}function pc(b,z,x,re,ae){let se=0;if(x.length===0){for(;se<ae;se++)z[se]=b[se];for(;se<re;se++)z[se]=b[se]+(z[se-ae]>>1)&255}else{for(;se<ae;se++)z[se]=b[se]+(x[se]>>1)&255;for(;se<re;se++)z[se]=b[se]+(z[se-ae]+x[se]>>1)&255}}function vc(b,z,x,re,ae){let se=0;if(x.length===0){for(;se<ae;se++)z[se]=b[se];for(;se<re;se++)z[se]=b[se]+z[se-ae]&255}else{for(;se<ae;se++)z[se]=b[se]+x[se]&255;for(;se<re;se++)z[se]=b[se]+Kg(z[se-ae],x[se],x[se-ae])&255}}function Kg(b,z,x){const re=b+z-x,ae=Math.abs(re-b),se=Math.abs(re-z),Ee=Math.abs(re-x);return ae<=se&&ae<=Ee?b:se<=Ee?z:x}function Sc(b,z,x,re,ae,se){switch(b){case 0:JA(z,x,ae);break;case 1:Wc(z,x,ae,se);break;case 2:wd(z,x,re,ae);break;case 3:pc(z,x,re,ae,se);break;case 4:vc(z,x,re,ae,se);break;default:throw new Error(`Unsupported filter: ${b}`)}}const v0=new Uint16Array([255]),S0=new Uint8Array(v0.buffer)[0]===255;function fh(b){const{data:z,width:x,height:re,channels:ae,depth:se}=b,Ee=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],Be=Math.ceil(se/8)*ae,xe=new Uint8Array(re*x*Be);let Ne=0;for(let We=0;We<7;We++){const At=Ee[We],mt=Math.ceil((x-At.x)/At.xStep),$e=Math.ceil((re-At.y)/At.yStep);if(mt<=0||$e<=0)continue;const Mt=mt*Be,Tt=new Uint8Array(Mt);for(let Ht=0;Ht<$e;Ht++){const xt=z[Ne++],Bn=z.subarray(Ne,Ne+Mt);Ne+=Mt;const cn=new Uint8Array(Mt);Sc(xt,Bn,cn,Tt,Mt,Be),Tt.set(cn);for(let en=0;en<mt;en++){const Yn=At.x+en*At.xStep,vr=At.y+Ht*At.yStep;if(!(Yn>=x||vr>=re))for(let rr=0;rr<Be;rr++)xe[(vr*x+Yn)*Be+rr]=cn[en*Be+rr]}}}if(se===16){const We=new Uint16Array(xe.buffer);if(S0)for(let At=0;At<We.length;At++)We[At]=zg(We[At]);return We}else return xe}function zg(b){return(b&255)<<8|b>>8&255}const B0=new Uint16Array([255]),Gg=new Uint8Array(B0.buffer)[0]===255,Um=new Uint8Array(0);function y0(b){const{data:z,width:x,height:re,channels:ae,depth:se}=b,Ee=Math.ceil(se/8)*ae,Be=Math.ceil(se/8*ae*x),xe=new Uint8Array(re*Be);let Ne=Um,We=0,At,mt;for(let $e=0;$e<re;$e++){switch(At=z.subarray(We+1,We+1+Be),mt=xe.subarray($e*Be,($e+1)*Be),z[We]){case 0:JA(At,mt,Be);break;case 1:Wc(At,mt,Be,Ee);break;case 2:wd(At,mt,Ne,Be);break;case 3:pc(At,mt,Ne,Be,Ee);break;case 4:vc(At,mt,Ne,Be,Ee);break;default:throw new Error(`Unsupported filter: ${z[We]}`)}Ne=mt,We+=Be+1}if(se===16){const $e=new Uint16Array(xe.buffer);if(Gg)for(let Mt=0;Mt<$e.length;Mt++)$e[Mt]=Nm($e[Mt]);return $e}else return xe}function Nm(b){return(b&255)<<8|b>>8&255}const $g=Uint8Array.of(137,80,78,71,13,10,26,10);function Ep(b){b.writeBytes($g)}function Uf(b){if(!Dm(b.readBytes($g.length)))throw new Error("wrong PNG signature")}function Dm(b){if(b.length<$g.length)return!1;for(let z=0;z<$g.length;z++)if(b[z]!==$g[z])return!1;return!0}const w0="tEXt",b0=0,C0=new TextDecoder("latin1");function P0(b){if(Nf(b),b.length===0||b.length>79)throw new Error("keyword length must be between 1 and 79")}const hh=/^[\u0000-\u00FF]*$/;function Nf(b){if(!hh.test(b))throw new Error("invalid latin1 text")}function E0(b,z,x){const re=F0(z);b[re]=x0(z,x-re.length-1)}function Fp(b,z,x){P0(z),Nf(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(w0),b.writeChars(z),b.writeByte(b0),b.writeChars(x),writeCrc(b,re+4)}function F0(b){for(b.mark();b.readByte()!==b0;);const z=b.offset;b.reset();const x=C0.decode(b.readBytes(z-b.offset-1));return b.skip(1),P0(x),x}function x0(b,z){return C0.decode(b.readBytes(z))}const eu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},mh={UNKNOWN:-1,DEFLATE:0},_0={UNKNOWN:-1,ADAPTIVE:0},ph={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Df={NONE:0,BACKGROUND:1,PREVIOUS:2},Zg={SOURCE:0,OVER:1};class Om extends _l{constructor(x,re={}){super(x);Gi(this,"_checkCrc");Gi(this,"_inflator");Gi(this,"_png");Gi(this,"_apng");Gi(this,"_end");Gi(this,"_hasPalette");Gi(this,"_palette");Gi(this,"_hasTransparency");Gi(this,"_transparency");Gi(this,"_compressionMethod");Gi(this,"_filterMethod");Gi(this,"_interlaceMethod");Gi(this,"_colorType");Gi(this,"_isAnimated");Gi(this,"_numberOfFrames");Gi(this,"_numberOfPlays");Gi(this,"_frames");Gi(this,"_writingDataChunks");const{checkCrc:ae=!1}=re;this._checkCrc=ae,this._inflator=new ch,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=mh.UNKNOWN,this._filterMethod=_0.UNKNOWN,this._interlaceMethod=ph.UNKNOWN,this._colorType=eu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(x,re)}return this.decodeApngImage(),this._apng}decodeChunk(x,re){const ae=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case w0:E0(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?yd(this,x+4,re):this.skip(4)}decodeApngChunk(x,re){const ae=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,re),this.offset=ae+x;break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?yd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=vh(this.readUint8());const re=this.readUint8();this._colorType=re;let ae;switch(re){case eu.GREYSCALE:ae=1;break;case eu.TRUECOLOUR:ae=3;break;case eu.INDEXED_COLOUR:ae=1;break;case eu.GREYSCALE_ALPHA:ae=2;break;case eu.TRUECOLOUR_ALPHA:ae=4;break;case eu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ae,this._compressionMethod=this.readUint8(),this._compressionMethod!==mh.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const re=x/3;this._hasPalette=!0;const ae=[];this._palette=ae;for(let se=0;se<re;se++)ae.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(x){this._writingDataChunks=!0;const re=x,ae=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,ae,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(x)}decodeFDAT(x){this._writingDataChunks=!0;let re=x,ae=this.offset+this.byteOffset;if(ae+=4,re-=4,this._inflator.push(new Uint8Array(this.buffer,ae,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(x)}decodetRNS(x){switch(this._colorType){case eu.GREYSCALE:case eu.TRUECOLOUR:{if(x%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${x}`);if(x/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let re=0;re<x/2;re++)this._transparency[re]=this.readUint16();break}case eu.INDEXED_COLOUR:{if(x>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let re=0;for(;re<x;re++){const ae=this.readByte();this._palette[re].push(ae)}for(;re<this._palette.length;re++)this._palette[re].push(255);break}case eu.UNKNOWN:case eu.GREYSCALE_ALPHA:case eu.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(x){const re=F0(this),ae=this.readUint8();if(ae!==mh.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${ae}`);const se=this.readBytes(x-re.length-2);this._png.iccEmbeddedProfile={name:re,profile:Hg(se)}}decodepHYs(){const x=this.readUint32(),re=this.readUint32(),ae=this.readByte();this._png.resolution={x,y:re,unit:ae}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let x=0;x<this._numberOfFrames;x++){const re={sequenceNumber:this._frames[x].sequenceNumber,delayNumber:this._frames[x].delayNumber,delayDenominator:this._frames[x].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},ae=this._frames.at(x);if(ae){if(ae.data=y0({data:ae.data,width:ae.width,height:ae.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),x===0||ae.xOffset===0&&ae.yOffset===0&&ae.width===this._png.width&&ae.height===this._png.height)re.data=ae.data;else{const se=this._apng.frames.at(x-1);this.disposeFrame(ae,se,re),this.addFrameDataToCanvas(re,ae)}this._apng.frames.push(re)}}return this._apng}disposeFrame(x,re,ae){switch(x.disposeOp){case Df.NONE:break;case Df.BACKGROUND:for(let se=0;se<this._png.height;se++)for(let Ee=0;Ee<this._png.width;Ee++){const Be=(se*x.width+Ee)*this._png.channels;for(let xe=0;xe<this._png.channels;xe++)ae.data[Be+xe]=0}break;case Df.PREVIOUS:ae.data.set(re.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(x,re){const ae=1<<this._png.depth,se=(Ee,Be)=>{const xe=((Ee+re.yOffset)*this._png.width+re.xOffset+Be)*this._png.channels,Ne=(Ee*re.width+Be)*this._png.channels;return{index:xe,frameIndex:Ne}};switch(re.blendOp){case Zg.SOURCE:for(let Ee=0;Ee<re.height;Ee++)for(let Be=0;Be<re.width;Be++){const{index:xe,frameIndex:Ne}=se(Ee,Be);for(let We=0;We<this._png.channels;We++)x.data[xe+We]=re.data[Ne+We]}break;case Zg.OVER:for(let Ee=0;Ee<re.height;Ee++)for(let Be=0;Be<re.width;Be++){const{index:xe,frameIndex:Ne}=se(Ee,Be);for(let We=0;We<this._png.channels;We++){const At=re.data[Ne+this._png.channels-1]/ae,mt=We%(this._png.channels-1)===0?1:re.data[Ne+We],$e=Math.floor(At*mt+(1-At)*x.data[xe+We]);x.data[xe+We]+=$e}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var re;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const x=this._isAnimated?((re=this._frames)==null?void 0:re.at(0)).data:this._inflator.result;if(this._filterMethod!==_0.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===ph.NO_INTERLACE)this._png.data=y0({data:x,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===ph.ADAM7)this._png.data=fh({data:x,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const x=this._inflator.result,re=this._frames.at(-1);re?re.data=x:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Df.NONE,blendOp:Zg.SOURCE,data:x}),this._inflator=new ch,this._writingDataChunks=!1}}function vh(b){if(b!==1&&b!==2&&b!==4&&b!==8&&b!==16)throw new Error(`invalid bit depth: ${b}`);return b}const Qm={level:3};class ba extends null{constructor(x,re={}){var ae;super();Gi(this,"_png");Gi(this,"_zlibOptions");Gi(this,"_colorType");Gi(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=Nc(Nc({},Qm),re.zlib),this._png=this._checkData(x),this._interlaceMethod=(ae=re.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?ae:InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if(writeSignature(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),this._png.palette[0].length===4&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[x,re]of Object.entries(this._png.text))encodetEXt(this,x,re);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(CompressionMethod.DEFLATE),this.writeByte(FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),writeCrc(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),writeCrc(this,4)}encodePLTE(){var re;const x=((re=this._png.palette)==null?void 0:re.length)*3;this.writeUint32(x),this.writeChars("PLTE");for(const ae of this._png.palette)this.writeByte(ae[0]),this.writeByte(ae[1]),this.writeByte(ae[2]);writeCrc(this,4+x)}encodeTRNS(){const x=this._png.palette.filter(re=>re.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const re of x)this.writeByte(re.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:re,channels:ae,depth:se,data:Ee}=this._png,Be=se<=8?Math.ceil(x*se/8)*ae:Math.ceil(x*se/8*ae/2),xe=new IOBuffer().setBigEndian();let Ne=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let mt=0;mt<re;mt++)xe.writeByte(0),se===16?Ne=Zi(Ee,xe,Be,Ne):Ne=hu(Ee,xe,Be,Ne);else this._interlaceMethod===InterlaceMethod.ADAM7&&(Ne=Tm(this._png,Ee,xe,Ne));const We=xe.toArray(),At=deflate(We,this._zlibOptions);this.encodeIDAT(At)}_checkData(x){const{colorType:re,channels:ae,depth:se}=Of(x,x.palette),Ee={width:bd(x.width,"width"),height:bd(x.height,"height"),channels:ae,data:x.data,depth:se,text:x.text,palette:x.palette};this._colorType=re;const Be=se<8?Math.ceil(Ee.width*se/8)*Ee.height*ae:Ee.width*Ee.height*ae;if(Ee.data.length!==Be)throw new RangeError(`wrong data size. Found ${Ee.data.length}, expected ${Be}`);return Ee}}function bd(b,z){if(Number.isInteger(b)&&b>0)return b;throw new TypeError(`${z} must be a positive integer`)}function Of(b,z){const{channels:x=4,depth:re=8}=b;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const ae={channels:x,depth:re,colorType:ColorType.UNKNOWN};switch(x){case 4:ae.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ae.colorType=ColorType.TRUECOLOUR;break;case 1:z?ae.colorType=ColorType.INDEXED_COLOUR:ae.colorType=ColorType.GREYSCALE;break;case 2:ae.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ae}function hu(b,z,x,re){for(let ae=0;ae<x;ae++)z.writeByte(b[re++]);return re}function Tm(b,z,x,re){const ae=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:se,height:Ee,channels:Be,depth:xe}=b;let Ne=0;xe===16?Ne=Be*xe/8/2:Ne=Be*xe/8;for(let We=0;We<7;We++){const At=ae[We],mt=Math.floor((se-At.x+At.xStep-1)/At.xStep),$e=Math.floor((Ee-At.y+At.yStep-1)/At.yStep);if(mt<=0||$e<=0)continue;const Mt=mt*Ne;for(let Tt=0;Tt<$e;Tt++){const Ht=At.y+Tt*At.yStep,xt=xe<=8?new Uint8Array(Mt):new Uint16Array(Mt);let Bn=0;for(let cn=0;cn<mt;cn++){const en=At.x+cn*At.xStep;if(en<se&&Ht<Ee){const Yn=(Ht*se+en)*Ne;for(let vr=0;vr<Ne;vr++)xt[Bn++]=z[Yn+vr]}}if(x.writeByte(0),xe===8)x.writeBytes(xt);else if(xe===16)for(const cn of xt)x.writeByte(cn>>8&255),x.writeByte(cn&255)}}return re}function Zi(b,z,x,re){for(let ae=0;ae<x;ae++)z.writeUint16(b[re++]);return re}var xA;(function(b){b[b.UNKNOWN=0]="UNKNOWN",b[b.METRE=1]="METRE"})(xA||(xA={}));function Qf(b,z){return new Om(b,z).decode()}function xp(b,z){return new PngEncoder(b,z).encode()}function Sh(b,z){return new PngDecoder(b,z).decodeApng()}var _o=function(){return typeof window!="undefined"?window:typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:this}();function og(){_o.console&&typeof _o.console.log=="function"&&_o.console.log.apply(_o.console,arguments)}var gA={log:og,warn:function(b){_o.console&&(typeof _o.console.warn=="function"?_o.console.warn.apply(_o.console,arguments):og.call(null,arguments))},error:function(b){_o.console&&(typeof _o.console.error=="function"?_o.console.error.apply(_o.console,arguments):og(b))}};function Bh(b,z,x){var re=new XMLHttpRequest;re.open("GET",b),re.responseType="blob",re.onload=function(){Vc(re.response,z,x)},re.onerror=function(){gA.error("could not download file")},re.send()}function yh(b){var z=new XMLHttpRequest;z.open("HEAD",b,!1);try{z.send()}catch(x){}return z.status>=200&&z.status<=299}function Tf(b){try{b.dispatchEvent(new MouseEvent("click"))}catch(x){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),b.dispatchEvent(z)}}var Vc=_o.saveAs||((typeof window=="undefined"?"undefined":(0,Oe.Z)(window))!=="object"||window!==_o?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=_o.URL||_o.webkitURL,ae=document.createElement("a");z=z||b.name||"download",ae.download=z,ae.rel="noopener",typeof b=="string"?(ae.href=b,ae.origin!==location.origin?yh(ae.href)?Bh(b,z,x):Tf(ae,ae.target="_blank"):Tf(ae)):(ae.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(ae.href)},4e4),setTimeout(function(){Tf(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(yh(b))Bh(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){Tf(re)})}else navigator.msSaveOrOpenBlob(function(ae,se){return se===void 0?se={autoBom:!1}:(0,Oe.Z)(se)!=="object"&&(gA.warn("Deprecated: Expected third argument to be a object"),se={autoBom:!se}),se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ae.type)?new Blob(["\uFEFF",ae],{type:ae.type}):ae}(b,x),z)}:function(b,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof b=="string")return Bh(b,z,x);var ae=b.type==="application/octet-stream",se=/constructor/i.test(_o.HTMLElement)||_o.safari,Ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ee||ae&&se)&&(typeof FileReader=="undefined"?"undefined":(0,Oe.Z)(FileReader))==="object"){var Be=new FileReader;Be.onloadend=function(){var We=Be.result;We=Ee?We:We.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=We:location=We,re=null},Be.readAsDataURL(b)}else{var xe=_o.URL||_o.webkitURL,Ne=xe.createObjectURL(b);re?re.location=Ne:location.href=Ne,re=null,setTimeout(function(){xe.revokeObjectURL(Ne)},4e4)}});function L0(b){var z;b=b||"",this.ok=!1,b.charAt(0)=="#"&&(b=b.substr(1,6)),b={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:"90ee90",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"}[b=(b=b.replace(/ /g,"")).toLowerCase()]||b;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Be){return[parseInt(Be[1]),parseInt(Be[2]),parseInt(Be[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Be){return[parseInt(Be[1],16),parseInt(Be[2],16),parseInt(Be[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Be){return[parseInt(Be[1]+Be[1],16),parseInt(Be[2]+Be[2],16),parseInt(Be[3]+Be[3],16)]}}],re=0;re<x.length;re++){var ae=x[re].re,se=x[re].process,Ee=ae.exec(b);Ee&&(z=se(Ee),this.r=z[0],this.g=z[1],this.b=z[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 Be=this.r.toString(16),xe=this.g.toString(16),Ne=this.b.toString(16);return Be.length==1&&(Be="0"+Be),xe.length==1&&(xe="0"+xe),Ne.length==1&&(Ne="0"+Ne),"#"+Be+xe+Ne}}var Wg=_o.atob.bind(_o),wh=_o.btoa.bind(_o);function Vg(b,z){var x=b[0],re=b[1],ae=b[2],se=b[3];x=sl(x,re,ae,se,z[0],7,-680876936),se=sl(se,x,re,ae,z[1],12,-389564586),ae=sl(ae,se,x,re,z[2],17,606105819),re=sl(re,ae,se,x,z[3],22,-1044525330),x=sl(x,re,ae,se,z[4],7,-176418897),se=sl(se,x,re,ae,z[5],12,1200080426),ae=sl(ae,se,x,re,z[6],17,-1473231341),re=sl(re,ae,se,x,z[7],22,-45705983),x=sl(x,re,ae,se,z[8],7,1770035416),se=sl(se,x,re,ae,z[9],12,-1958414417),ae=sl(ae,se,x,re,z[10],17,-42063),re=sl(re,ae,se,x,z[11],22,-1990404162),x=sl(x,re,ae,se,z[12],7,1804603682),se=sl(se,x,re,ae,z[13],12,-40341101),ae=sl(ae,se,x,re,z[14],17,-1502002290),x=Zs(x,re=sl(re,ae,se,x,z[15],22,1236535329),ae,se,z[1],5,-165796510),se=Zs(se,x,re,ae,z[6],9,-1069501632),ae=Zs(ae,se,x,re,z[11],14,643717713),re=Zs(re,ae,se,x,z[0],20,-373897302),x=Zs(x,re,ae,se,z[5],5,-701558691),se=Zs(se,x,re,ae,z[10],9,38016083),ae=Zs(ae,se,x,re,z[15],14,-660478335),re=Zs(re,ae,se,x,z[4],20,-405537848),x=Zs(x,re,ae,se,z[9],5,568446438),se=Zs(se,x,re,ae,z[14],9,-1019803690),ae=Zs(ae,se,x,re,z[3],14,-187363961),re=Zs(re,ae,se,x,z[8],20,1163531501),x=Zs(x,re,ae,se,z[13],5,-1444681467),se=Zs(se,x,re,ae,z[2],9,-51403784),ae=Zs(ae,se,x,re,z[7],14,1735328473),x=ll(x,re=Zs(re,ae,se,x,z[12],20,-1926607734),ae,se,z[5],4,-378558),se=ll(se,x,re,ae,z[8],11,-2022574463),ae=ll(ae,se,x,re,z[11],16,1839030562),re=ll(re,ae,se,x,z[14],23,-35309556),x=ll(x,re,ae,se,z[1],4,-1530992060),se=ll(se,x,re,ae,z[4],11,1272893353),ae=ll(ae,se,x,re,z[7],16,-155497632),re=ll(re,ae,se,x,z[10],23,-1094730640),x=ll(x,re,ae,se,z[13],4,681279174),se=ll(se,x,re,ae,z[0],11,-358537222),ae=ll(ae,se,x,re,z[3],16,-722521979),re=ll(re,ae,se,x,z[6],23,76029189),x=ll(x,re,ae,se,z[9],4,-640364487),se=ll(se,x,re,ae,z[12],11,-421815835),ae=ll(ae,se,x,re,z[15],16,530742520),x=ul(x,re=ll(re,ae,se,x,z[2],23,-995338651),ae,se,z[0],6,-198630844),se=ul(se,x,re,ae,z[7],10,1126891415),ae=ul(ae,se,x,re,z[14],15,-1416354905),re=ul(re,ae,se,x,z[5],21,-57434055),x=ul(x,re,ae,se,z[12],6,1700485571),se=ul(se,x,re,ae,z[3],10,-1894986606),ae=ul(ae,se,x,re,z[10],15,-1051523),re=ul(re,ae,se,x,z[1],21,-2054922799),x=ul(x,re,ae,se,z[8],6,1873313359),se=ul(se,x,re,ae,z[15],10,-30611744),ae=ul(ae,se,x,re,z[6],15,-1560198380),re=ul(re,ae,se,x,z[13],21,1309151649),x=ul(x,re,ae,se,z[4],6,-145523070),se=ul(se,x,re,ae,z[11],10,-1120210379),ae=ul(ae,se,x,re,z[2],15,718787259),re=ul(re,ae,se,x,z[9],21,-343485551),b[0]=Wu(x,b[0]),b[1]=Wu(re,b[1]),b[2]=Wu(ae,b[2]),b[3]=Wu(se,b[3])}function Xg(b,z,x,re,ae,se){return z=Wu(Wu(z,b),Wu(re,se)),Wu(z<<ae|z>>>32-ae,x)}function sl(b,z,x,re,ae,se,Ee){return Xg(z&x|~z&re,b,z,ae,se,Ee)}function Zs(b,z,x,re,ae,se,Ee){return Xg(z&re|x&~re,b,z,ae,se,Ee)}function ll(b,z,x,re,ae,se,Ee){return Xg(z^x^re,b,z,ae,se,Ee)}function ul(b,z,x,re,ae,se,Ee){return Xg(x^(z|~re),b,z,ae,se,Ee)}function I0(b){var z,x=b.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=b.length;z+=64)Vg(re,kf(b.substring(z-64,z)));b=b.substring(z-64);var ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z<b.length;z++)ae[z>>2]|=b.charCodeAt(z)<<(z%4<<3);if(ae[z>>2]|=128<<(z%4<<3),z>55)for(Vg(re,ae),z=0;z<16;z++)ae[z]=0;return ae[14]=8*x,Vg(re,ae),re}function kf(b){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=b.charCodeAt(z)+(b.charCodeAt(z+1)<<8)+(b.charCodeAt(z+2)<<16)+(b.charCodeAt(z+3)<<24);return x}var tu="0123456789abcdef".split("");function U0(b){for(var z="",x=0;x<4;x++)z+=tu[b>>8*x+4&15]+tu[b>>8*x&15];return z}function Rf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function bh(b){return I0(b).map(Rf).join("")}var km=function(b){for(var z=0;z<b.length;z++)b[z]=U0(b[z]);return b.join("")}(I0("hello"))!="5d41402abc4b2a76b9719d911017c592";function Wu(b,z){if(km){var x=(65535&b)+(65535&z);return(b>>16)+(z>>16)+(x>>16)<<16|65535&x}return b+z&4294967295}function Xc(b,z){var x,re,ae,se;if(b!==x){for(var Ee=(ae=b,se=1+(256/b.length|0),new Array(se+1).join(ae)),Be=[],xe=0;xe<256;xe++)Be[xe]=xe;var Ne=0;for(xe=0;xe<256;xe++){var We=Be[xe];Ne=(Ne+We+Ee.charCodeAt(xe))%256,Be[xe]=Be[Ne],Be[Ne]=We}x=b,re=Be}else Be=re;var At=z.length,mt=0,$e=0,Mt="";for(xe=0;xe<At;xe++)$e=($e+(We=Be[mt=(mt+1)%256]))%256,Be[mt]=Be[$e],Be[$e]=We,Ee=Be[(Be[mt]+Be[$e])%256],Mt+=String.fromCharCode(z.charCodeAt(xe)^Ee);return Mt}var Yg={print:4,modify:8,copy:16,"annot-forms":32};function ig(b,z,x,re){this.v=1,this.r=2;var ae=192;b.forEach(function(Be){if(Yg.perm!==void 0)throw new Error("Invalid permission: "+Be);ae+=Yg[Be]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var se=(z+this.padding).substr(0,32),Ee=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(se,Ee),this.P=-(1+(255^ae)),this.encryptionKey=bh(se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=Xc(this.encryptionKey,this.padding)}function Eu(b){if(/[^\u0000-\u00ff]/.test(b))throw new Error("Invalid PDF Name Object: "+b+", Only accept ASCII characters.");for(var z="",x=b.length,re=0;re<x;re++){var ae=b.charCodeAt(re);z+=ae<33||ae===35||ae===37||ae===40||ae===41||ae===47||ae===60||ae===62||ae===91||ae===93||ae===123||ae===125||ae>126?"#"+("0"+ae.toString(16)).slice(-2):b[re]}return z}function N0(b){if((0,Oe.Z)(b)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(x,re,ae){if(ae=ae||!1,typeof x!="string"||typeof re!="function"||typeof ae!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(x)||(z[x]={});var se=Math.random().toString(35);return z[x][se]=[re,!!ae],se},this.unsubscribe=function(x){for(var re in z)if(z[re][x])return delete z[re][x],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(x){if(z.hasOwnProperty(x)){var re=Array.prototype.slice.call(arguments,1),ae=[];for(var se in z[x]){var Ee=z[x][se];try{Ee[0].apply(b,re)}catch(Be){_o.console&&gA.error("jsPDF PubSub Error",Be.message,Be)}Ee[1]&&ae.push(se)}ae.length&&ae.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Jg(b){if(!(this instanceof Jg))return new Jg(b);var z="opacity,stroke-opacity".split(",");for(var x in b)b.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=b[x]);this.id="",this.objectNumber=-1}function Ch(b,z){this.gState=b,this.matrix=z,this.id="",this.objectNumber=-1}function Yc(b,z,x,re,ae){if(!(this instanceof Yc))return new Yc(b,z,x,re,ae);this.type=b==="axial"?2:3,this.coords=z,this.colors=x,Ch.call(this,re,ae)}function Jc(b,z,x,re,ae){if(!(this instanceof Jc))return new Jc(b,z,x,re,ae);this.boundingBox=b,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,Ch.call(this,re,ae)}function Wa(b){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ae=arguments[2],se=arguments[3],Ee=[],Be=1,xe=16,Ne="S",We=null;(0,Oe.Z)(b=b||{})==="object"&&(x=b.orientation,re=b.unit||re,ae=b.format||ae,se=b.compress||b.compressPdf||se,(We=b.encryption||null)!==null&&(We.userPassword=We.userPassword||"",We.ownerPassword=We.ownerPassword||"",We.userPermissions=We.userPermissions||[]),Be=typeof b.userUnit=="number"?Math.abs(b.userUnit):1,b.precision!==void 0&&(z=b.precision),b.floatPrecision!==void 0&&(xe=b.floatPrecision),Ne=b.defaultPathOperation||"S"),Ee=b.filters||(se===!0?["FlateEncode"]:Ee),re=re||"mm",x=(""+(x||"P")).toLowerCase();var At=b.putOnlyUsedFonts||!1,mt={},$e={internal:{},__private__:{}};$e.__private__.PubSub=N0;var Mt="1.3",Tt=$e.__private__.getPdfVersion=function(){return Mt};$e.__private__.setPdfVersion=function(Ue){Mt=Ue};var Ht={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]};$e.__private__.getPageFormats=function(){return Ht};var xt=$e.__private__.getPageFormat=function(Ue){return Ht[Ue]};ae=ae||"a4";var Bn="compat",cn="advanced",en=Bn;function Yn(){this.saveGraphicsState(),Gt(new Eo(ri,0,0,-ri,0,sf()*ri).toString()+" cm"),this.setFontSize(this.getFontSize()/ri),Ne="n",en=cn}function vr(){this.restoreGraphicsState(),Ne="S",en=Bn}var rr=$e.__private__.combineFontStyleAndFontWeight=function(Ue,lt){if(Ue=="bold"&&lt=="normal"||Ue=="bold"&&lt==400||Ue=="normal"&&lt=="italic"||Ue=="bold"&&lt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return lt&&(Ue=lt==400||lt==="normal"?Ue==="italic"?"italic":"normal":lt!=700&&lt!=="bold"||Ue!=="normal"?(lt==700?"bold":lt)+""+Ue:"bold"),Ue};$e.advancedAPI=function(Ue){var lt=en===Bn;return lt&&Yn.call(this),typeof Ue!="function"||(Ue(this),lt&&vr.call(this)),this},$e.compatAPI=function(Ue){var lt=en===cn;return lt&&vr.call(this),typeof Ue!="function"||(Ue(this),lt&&Yn.call(this)),this},$e.isAdvancedAPI=function(){return en===cn};var xn,nn=function(Ue){if(en!==cn)throw new Error(Ue+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Mn=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Ue,lt){var Xt=z||lt;if(isNaN(Ue)||isNaN(Xt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ue.toFixed(Xt).replace(/0+$/,"")};xn=$e.hpf=$e.__private__.hpf=typeof xe=="number"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,xe)}:xe==="smart"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,Ue>-1&&Ue<1?16:5)}:function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,16)};var Ft=$e.f2=$e.__private__.f2=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f2");return Mn(Ue,2)},zt=$e.__private__.f3=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f3");return Mn(Ue,3)},pn=$e.scale=$e.__private__.scale=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.scale");return en===Bn?Ue*ri:en===cn?Ue:void 0},gn=function(Ue){return pn(function(lt){return en===Bn?sf()-lt:en===cn?lt:void 0}(Ue))};$e.__private__.setPrecision=$e.setPrecision=function(Ue){typeof parseInt(Ue,10)=="number"&&(z=parseInt(Ue,10))};var qn,nr="00000000000000000000000000000000",ir=$e.__private__.getFileId=function(){return nr},Wn=$e.__private__.setFileId=function(Ue){return nr=Ue!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ue)?Ue.toUpperCase():nr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),We!==null&&(Ws=new ig(We.userPermissions,We.userPassword,We.ownerPassword,nr)),nr};$e.setFileId=function(Ue){return Wn(Ue),this},$e.getFileId=function(){return ir()};var cr=$e.__private__.convertDateToPDFDate=function(Ue){var lt=Ue.getTimezoneOffset(),Xt=lt<0?"+":"-",hn=Math.floor(Math.abs(lt/60)),jn=Math.abs(lt%60),Br=[Xt,ln(hn),"'",ln(jn),"'"].join("");return["D:",Ue.getFullYear(),ln(Ue.getMonth()+1),ln(Ue.getDate()),ln(Ue.getHours()),ln(Ue.getMinutes()),ln(Ue.getSeconds()),Br].join("")},Jr=$e.__private__.convertPDFDateToDate=function(Ue){var lt=parseInt(Ue.substr(2,4),10),Xt=parseInt(Ue.substr(6,2),10)-1,hn=parseInt(Ue.substr(8,2),10),jn=parseInt(Ue.substr(10,2),10),Br=parseInt(Ue.substr(12,2),10),Ir=parseInt(Ue.substr(14,2),10);return new Date(lt,Xt,hn,jn,Br,Ir,0)},_r=$e.__private__.setCreationDate=function(Ue){var lt;if(Ue===void 0&&(Ue=new Date),Ue instanceof Date)lt=cr(Ue);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(Ue))throw new Error("Invalid argument passed to jsPDF.setCreationDate");lt=Ue}return qn=lt},Ct=$e.__private__.getCreationDate=function(Ue){var lt=qn;return Ue==="jsDate"&&(lt=Jr(qn)),lt};$e.setCreationDate=function(Ue){return _r(Ue),this},$e.getCreationDate=function(Ue){return Ct(Ue)};var Jt,ln=$e.__private__.padd2=function(Ue){return("0"+parseInt(Ue)).slice(-2)},bn=$e.__private__.padd2Hex=function(Ue){return("00"+(Ue=Ue.toString())).substr(Ue.length)},Dn=0,$n=[],ar=[],lr=0,br=[],Vr=[],Ba=!1,ma=ar;$e.__private__.setCustomOutputDestination=function(Ue){Ba=!0,ma=Ue};var so=function(Ue){Ba||(ma=Ue)};$e.__private__.resetCustomOutputDestination=function(){Ba=!1,ma=ar};var Gt=$e.__private__.out=function(Ue){return Ue=Ue.toString(),lr+=Ue.length+1,ma.push(Ue),ma},ya=$e.__private__.write=function(Ue){return Gt(arguments.length===1?Ue.toString():Array.prototype.join.call(arguments," "))},fi=$e.__private__.getArrayBuffer=function(Ue){for(var lt=Ue.length,Xt=new ArrayBuffer(lt),hn=new Uint8Array(Xt);lt--;)hn[lt]=Ue.charCodeAt(lt);return Xt},wo=[["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]];$e.__private__.getStandardFonts=function(){return wo};var Mr=b.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Ue){return Mr=en===cn?Ue/ri:Ue,this};var bo,$a=$e.__private__.getFontSize=$e.getFontSize=function(){return en===Bn?Mr:Mr*ri},po=b.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Ue){return po=Ue,this},$e.__private__.getR2L=$e.getR2L=function(){return po};var uo,oA=$e.__private__.setZoomMode=function(Ue){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ue))bo=Ue;else if(isNaN(Ue)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ue)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ue+'" is not recognized.');bo=Ue}else bo=parseInt(Ue,10)};$e.__private__.getZoomMode=function(){return bo};var _i,Xo=$e.__private__.setPageMode=function(Ue){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ue)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ue+'" is not recognized.');uo=Ue};$e.__private__.getPageMode=function(){return uo};var Di=$e.__private__.setLayoutMode=function(Ue){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ue)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ue+'" is not recognized.');_i=Ue};$e.__private__.getLayoutMode=function(){return _i},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Ue,lt,Xt){return oA(Ue),Di(lt),Xo(Xt),this};var Li={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Ue){if(Object.keys(Li).indexOf(Ue)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Li[Ue]},$e.__private__.getDocumentProperties=function(){return Li},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Ue){for(var lt in Li)Li.hasOwnProperty(lt)&&Ue[lt]&&(Li[lt]=Ue[lt]);return this},$e.__private__.setDocumentProperty=function(Ue,lt){if(Object.keys(Li).indexOf(Ue)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Li[Ue]=lt};var qa,ri,oo,xs,Hi,vi={},Si={},es=[],fo={},TA={},Io={},Yo={},ts=null,wi=0,Po=[],iA=new N0($e),qg=b.hotfixes||[],Hl={},Fd={},ad=[],Eo=function Ue(lt,Xt,hn,jn,Br,Ir){if(!(this instanceof Ue))return new Ue(lt,Xt,hn,jn,Br,Ir);isNaN(lt)&&(lt=1),isNaN(Xt)&&(Xt=0),isNaN(hn)&&(hn=0),isNaN(jn)&&(jn=1),isNaN(Br)&&(Br=0),isNaN(Ir)&&(Ir=0),this._matrix=[lt,Xt,hn,jn,Br,Ir]};Object.defineProperty(Eo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Eo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Eo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Eo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Eo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Eo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Eo.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Eo.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Eo.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Eo.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Eo.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Eo.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Eo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Eo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Eo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Eo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Eo.prototype.join=function(Ue){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(xn).join(Ue)},Eo.prototype.multiply=function(Ue){var lt=Ue.sx*this.sx+Ue.shy*this.shx,Xt=Ue.sx*this.shy+Ue.shy*this.sy,hn=Ue.shx*this.sx+Ue.sy*this.shx,jn=Ue.shx*this.shy+Ue.sy*this.sy,Br=Ue.tx*this.sx+Ue.ty*this.shx+this.tx,Ir=Ue.tx*this.shy+Ue.ty*this.sy+this.ty;return new Eo(lt,Xt,hn,jn,Br,Ir)},Eo.prototype.decompose=function(){var Ue=this.sx,lt=this.shy,Xt=this.shx,hn=this.sy,jn=this.tx,Br=this.ty,Ir=Math.sqrt(Ue*Ue+lt*lt),Za=(Ue/=Ir)*Xt+(lt/=Ir)*hn;Xt-=Ue*Za,hn-=lt*Za;var eo=Math.sqrt(Xt*Xt+hn*hn);return Za/=eo,Ue*(hn/=eo)<lt*(Xt/=eo)&&(Ue=-Ue,lt=-lt,Za=-Za,Ir=-Ir),{scale:new Eo(Ir,0,0,eo,0,0),translate:new Eo(1,0,0,1,jn,Br),rotate:new Eo(Ue,lt,-lt,Ue,0,0),skew:new Eo(1,0,Za,1,0,0)}},Eo.prototype.toString=function(Ue){return this.join(" ")},Eo.prototype.inversed=function(){var Ue=this.sx,lt=this.shy,Xt=this.shx,hn=this.sy,jn=this.tx,Br=this.ty,Ir=1/(Ue*hn-lt*Xt),Za=hn*Ir,eo=-lt*Ir,zo=-Xt*Ir,ai=Ue*Ir;return new Eo(Za,eo,zo,ai,-Za*jn-zo*Br,-eo*jn-ai*Br)},Eo.prototype.applyToPoint=function(Ue){var lt=Ue.x*this.sx+Ue.y*this.shx+this.tx,Xt=Ue.x*this.shy+Ue.y*this.sy+this.ty;return new Dd(lt,Xt)},Eo.prototype.applyToRectangle=function(Ue){var lt=this.applyToPoint(Ue),Xt=this.applyToPoint(new Dd(Ue.x+Ue.w,Ue.y+Ue.h));return new Dh(lt.x,lt.y,Xt.x-lt.x,Xt.y-lt.y)},Eo.prototype.clone=function(){var Ue=this.sx,lt=this.shy,Xt=this.shx,hn=this.sy,jn=this.tx,Br=this.ty;return new Eo(Ue,lt,Xt,hn,jn,Br)},$e.Matrix=Eo;var xd=$e.matrixMult=function(Ue,lt){return lt.multiply(Ue)},_d=new Eo(1,0,0,1,0,0);$e.unitMatrix=$e.identityMatrix=_d;var Yu=function(Ue,lt){if(!TA[Ue]){var Xt=(lt instanceof Yc?"Sh":"P")+(Object.keys(fo).length+1).toString(10);lt.id=Xt,TA[Ue]=Xt,fo[Xt]=lt,iA.publish("addPattern",lt)}};$e.ShadingPattern=Yc,$e.TilingPattern=Jc,$e.addShadingPattern=function(Ue,lt){return nn("addShadingPattern()"),Yu(Ue,lt),this},$e.beginTilingPattern=function(Ue){nn("beginTilingPattern()"),Oh(Ue.boundingBox[0],Ue.boundingBox[1],Ue.boundingBox[2]-Ue.boundingBox[0],Ue.boundingBox[3]-Ue.boundingBox[1],Ue.matrix)},$e.endTilingPattern=function(Ue,lt){nn("endTilingPattern()"),lt.stream=Vr[Jt].join(`
`),Yu(Ue,lt),iA.publish("endTilingPattern",lt),ad.pop().restore()};var Ju,ys=$e.__private__.newObject=function(){var Ue=dl();return yl(Ue,!0),Ue},dl=$e.__private__.newObjectDeferred=function(){return Dn++,$n[Dn]=function(){return lr},Dn},yl=function(Ue,lt){return lt=typeof lt=="boolean"&&lt,$n[Ue]=lr,lt&&Gt(Ue+" 0 obj"),Ue},ef=$e.__private__.newAdditionalObject=function(){var Ue={objId:dl(),content:""};return br.push(Ue),Ue},ug=dl(),Pc=dl(),od=$e.__private__.decodeColorString=function(Ue){var lt=Ue.split(" ");if(lt.length!==2||lt[1]!=="g"&&lt[1]!=="G")lt.length!==5||lt[4]!=="k"&&lt[4]!=="K"||(lt=[(1-lt[0])*(1-lt[3]),(1-lt[1])*(1-lt[3]),(1-lt[2])*(1-lt[3]),"r"]);else{var Xt=parseFloat(lt[0]);lt=[Xt,Xt,Xt,"r"]}for(var hn="#",jn=0;jn<3;jn++)hn+=("0"+Math.floor(255*parseFloat(lt[jn])).toString(16)).slice(-2);return hn},Ec=$e.__private__.encodeColorString=function(Ue){var lt;typeof Ue=="string"&&(Ue={ch1:Ue});var Xt=Ue.ch1,hn=Ue.ch2,jn=Ue.ch3,Br=Ue.ch4,Ir=Ue.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Xt=="string"&&Xt.charAt(0)!=="#"){var Za=new L0(Xt);if(Za.ok)Xt=Za.toHex();else if(!/^\d*\.?\d*$/.test(Xt))throw new Error('Invalid color "'+Xt+'" passed to jsPDF.encodeColorString.')}if(typeof Xt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Xt)&&(Xt="#"+Xt[1]+Xt[1]+Xt[2]+Xt[2]+Xt[3]+Xt[3]),typeof Xt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Xt)){var eo=parseInt(Xt.substr(1),16);Xt=eo>>16&255,hn=eo>>8&255,jn=255&eo}if(hn===void 0||Br===void 0&&Xt===hn&&hn===jn)lt=typeof Xt=="string"?Xt+" "+Ir[0]:Ue.precision===2?Ft(Xt/255)+" "+Ir[0]:zt(Xt/255)+" "+Ir[0];else if(Br===void 0||(0,Oe.Z)(Br)==="object"){if(Br&&!isNaN(Br.a)&&Br.a===0)return["1.","1.","1.",Ir[1]].join(" ");lt=typeof Xt=="string"?[Xt,hn,jn,Ir[1]].join(" "):Ue.precision===2?[Ft(Xt/255),Ft(hn/255),Ft(jn/255),Ir[1]].join(" "):[zt(Xt/255),zt(hn/255),zt(jn/255),Ir[1]].join(" ")}else lt=typeof Xt=="string"?[Xt,hn,jn,Br,Ir[2]].join(" "):Ue.precision===2?[Ft(Xt),Ft(hn),Ft(jn),Ft(Br),Ir[2]].join(" "):[zt(Xt),zt(hn),zt(jn),zt(Br),Ir[2]].join(" ");return lt},Fc=$e.__private__.getFilters=function(){return Ee},qu=$e.__private__.putStream=function(Ue){var lt=(Ue=Ue||{}).data||"",Xt=Ue.filters||Fc(),hn=Ue.alreadyAppliedFilters||[],jn=Ue.addLength1||!1,Br=lt.length,Ir=Ue.objectId,Za=function(Vs){return Vs};if(We!==null&&Ir===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");We!==null&&(Za=Ws.encryptor(Ir,0));var eo={};Xt===!0&&(Xt=["FlateEncode"]);var zo=Ue.additionalKeyValues||[],ai=(eo=Wa.API.processDataByFilters!==void 0?Wa.API.processDataByFilters(lt,Xt):{data:lt,reverseChain:[]}).reverseChain+(Array.isArray(hn)?hn.join(" "):hn.toString());if(eo.data.length!==0&&(zo.push({key:"Length",value:eo.data.length}),jn===!0&&zo.push({key:"Length1",value:Br})),ai.length!=0)if(ai.split("/").length-1==1)zo.push({key:"Filter",value:ai});else{zo.push({key:"Filter",value:"["+ai+"]"});for(var Ki=0;Ki<zo.length;Ki+=1)if(zo[Ki].key==="DecodeParms"){for(var ds=[],Hs=0;Hs<eo.reverseChain.split("/").length-1;Hs+=1)ds.push("null");ds.push(zo[Ki].value),zo[Ki].value="["+ds.join(" ")+"]"}}Gt("<<");for(var kA=0;kA<zo.length;kA++)Gt("/"+zo[kA].key+" "+zo[kA].value);Gt(">>"),eo.data.length!==0&&(Gt("stream"),Gt(Za(eo.data)),Gt("endstream"))},tf=$e.__private__.putPage=function(Ue){var lt=Ue.number,Xt=Ue.data,hn=Ue.objId,jn=Ue.contentsObjId;yl(hn,!0),Gt("<</Type /Page"),Gt("/Parent "+Ue.rootDictionaryObjId+" 0 R"),Gt("/Resources "+Ue.resourceDictionaryObjId+" 0 R"),Gt("/MediaBox ["+parseFloat(xn(Ue.mediaBox.bottomLeftX))+" "+parseFloat(xn(Ue.mediaBox.bottomLeftY))+" "+xn(Ue.mediaBox.topRightX)+" "+xn(Ue.mediaBox.topRightY)+"]"),Ue.cropBox!==null&&Gt("/CropBox ["+xn(Ue.cropBox.bottomLeftX)+" "+xn(Ue.cropBox.bottomLeftY)+" "+xn(Ue.cropBox.topRightX)+" "+xn(Ue.cropBox.topRightY)+"]"),Ue.bleedBox!==null&&Gt("/BleedBox ["+xn(Ue.bleedBox.bottomLeftX)+" "+xn(Ue.bleedBox.bottomLeftY)+" "+xn(Ue.bleedBox.topRightX)+" "+xn(Ue.bleedBox.topRightY)+"]"),Ue.trimBox!==null&&Gt("/TrimBox ["+xn(Ue.trimBox.bottomLeftX)+" "+xn(Ue.trimBox.bottomLeftY)+" "+xn(Ue.trimBox.topRightX)+" "+xn(Ue.trimBox.topRightY)+"]"),Ue.artBox!==null&&Gt("/ArtBox ["+xn(Ue.artBox.bottomLeftX)+" "+xn(Ue.artBox.bottomLeftY)+" "+xn(Ue.artBox.topRightX)+" "+xn(Ue.artBox.topRightY)+"]"),typeof Ue.userUnit=="number"&&Ue.userUnit!==1&&Gt("/UserUnit "+Ue.userUnit),iA.publish("putPage",{objId:hn,pageContext:Po[lt],pageNumber:lt,page:Xt}),Gt("/Contents "+jn+" 0 R"),Gt(">>"),Gt("endobj");var Br=Xt.join(`
`);return en===cn&&(Br+=`
Q`),yl(jn,!0),qu({data:Br,filters:Fc(),objectId:jn}),Gt("endobj"),hn},id=$e.__private__.putPages=function(){var Ue,lt,Xt=[];for(Ue=1;Ue<=wi;Ue++)Po[Ue].objId=dl(),Po[Ue].contentsObjId=dl();for(Ue=1;Ue<=wi;Ue++)Xt.push(tf({number:Ue,data:Vr[Ue],objId:Po[Ue].objId,contentsObjId:Po[Ue].contentsObjId,mediaBox:Po[Ue].mediaBox,cropBox:Po[Ue].cropBox,bleedBox:Po[Ue].bleedBox,trimBox:Po[Ue].trimBox,artBox:Po[Ue].artBox,userUnit:Po[Ue].userUnit,rootDictionaryObjId:ug,resourceDictionaryObjId:Pc}));yl(ug,!0),Gt("<</Type /Pages");var hn="/Kids [";for(lt=0;lt<wi;lt++)hn+=Xt[lt]+" 0 R ";Gt(hn+"]"),Gt("/Count "+wi),Gt(">>"),Gt("endobj"),iA.publish("postPutPages")},nf=function(Ue){iA.publish("putFont",{font:Ue,out:Gt,newObject:ys,putStream:qu}),Ue.isAlreadyPutted!==!0&&(Ue.objectNumber=ys(),Gt("<<"),Gt("/Type /Font"),Gt("/BaseFont /"+Eu(Ue.postScriptName)),Gt("/Subtype /Type1"),typeof Ue.encoding=="string"&&Gt("/Encoding /"+Ue.encoding),Gt("/FirstChar 32"),Gt("/LastChar 255"),Gt(">>"),Gt("endobj"))},Mf=function(Ue){Ue.objectNumber=ys();var lt=[];lt.push({key:"Type",value:"/XObject"}),lt.push({key:"Subtype",value:"/Form"}),lt.push({key:"BBox",value:"["+[xn(Ue.x),xn(Ue.y),xn(Ue.x+Ue.width),xn(Ue.y+Ue.height)].join(" ")+"]"}),lt.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"});var Xt=Ue.pages[1].join(`
`);qu({data:Xt,additionalKeyValues:lt,objectId:Ue.objectNumber}),Gt("endobj")},Hf=function(Ue,lt){lt||(lt=21);var Xt=ys(),hn=function(Ir,Za){var eo,zo=[],ai=1/(Za-1);for(eo=0;eo<1;eo+=ai)zo.push(eo);if(zo.push(1),Ir[0].offset!=0){var Ki={offset:0,color:Ir[0].color};Ir.unshift(Ki)}if(Ir[Ir.length-1].offset!=1){var ds={offset:1,color:Ir[Ir.length-1].color};Ir.push(ds)}for(var Hs="",kA=0,Vs=0;Vs<zo.length;Vs++){for(eo=zo[Vs];eo>Ir[kA+1].offset;)kA++;var Ks=Ir[kA].offset,wl=(eo-Ks)/(Ir[kA+1].offset-Ks),Td=Ir[kA].color,_c=Ir[kA+1].color;Hs+=bn(Math.round((1-wl)*Td[0]+wl*_c[0]).toString(16))+bn(Math.round((1-wl)*Td[1]+wl*_c[1]).toString(16))+bn(Math.round((1-wl)*Td[2]+wl*_c[2]).toString(16))}return Hs.trim()}(Ue.colors,lt),jn=[];jn.push({key:"FunctionType",value:"0"}),jn.push({key:"Domain",value:"[0.0 1.0]"}),jn.push({key:"Size",value:"["+lt+"]"}),jn.push({key:"BitsPerSample",value:"8"}),jn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),jn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),qu({data:hn,additionalKeyValues:jn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Xt}),Gt("endobj"),Ue.objectNumber=ys(),Gt("<< /ShadingType "+Ue.type),Gt("/ColorSpace /DeviceRGB");var Br="/Coords ["+xn(parseFloat(Ue.coords[0]))+" "+xn(parseFloat(Ue.coords[1]))+" ";Ue.type===2?Br+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3])):Br+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3]))+" "+xn(parseFloat(Ue.coords[4]))+" "+xn(parseFloat(Ue.coords[5])),Gt(Br+="]"),Ue.matrix&&Gt("/Matrix ["+Ue.matrix.toString()+"]"),Gt("/Function "+Xt+" 0 R"),Gt("/Extend [true true]"),Gt(">>"),Gt("endobj")},Kf=function(Ue,lt){var Xt=dl(),hn=ys();lt.push({resourcesOid:Xt,objectOid:hn}),Ue.objectNumber=hn;var jn=[];jn.push({key:"Type",value:"/Pattern"}),jn.push({key:"PatternType",value:"1"}),jn.push({key:"PaintType",value:"1"}),jn.push({key:"TilingType",value:"1"}),jn.push({key:"BBox",value:"["+Ue.boundingBox.map(xn).join(" ")+"]"}),jn.push({key:"XStep",value:xn(Ue.xStep)}),jn.push({key:"YStep",value:xn(Ue.yStep)}),jn.push({key:"Resources",value:Xt+" 0 R"}),Ue.matrix&&jn.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"}),qu({data:Ue.stream,additionalKeyValues:jn,objectId:Ue.objectNumber}),Gt("endobj")},Gm=function(Ue){for(var lt in Ue.objectNumber=ys(),Gt("<<"),Ue)switch(lt){case"opacity":Gt("/ca "+Ft(Ue[lt]));break;case"stroke-opacity":Gt("/CA "+Ft(Ue[lt]))}Gt(">>"),Gt("endobj")},Eh=function(Ue){yl(Ue.resourcesOid,!0),Gt("<<"),Gt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var lt in Gt("/Font <<"),vi)vi.hasOwnProperty(lt)&&(At===!1||At===!0&&mt.hasOwnProperty(lt))&&Gt("/"+lt+" "+vi[lt].objectNumber+" 0 R");Gt(">>")}(),function(){if(Object.keys(fo).length>0){for(var lt in Gt("/Shading <<"),fo)fo.hasOwnProperty(lt)&&fo[lt]instanceof Yc&&fo[lt].objectNumber>=0&&Gt("/"+lt+" "+fo[lt].objectNumber+" 0 R");iA.publish("putShadingPatternDict"),Gt(">>")}}(),function(lt){if(Object.keys(fo).length>0){for(var Xt in Gt("/Pattern <<"),fo)fo.hasOwnProperty(Xt)&&fo[Xt]instanceof $e.TilingPattern&&fo[Xt].objectNumber>=0&&fo[Xt].objectNumber<lt&&Gt("/"+Xt+" "+fo[Xt].objectNumber+" 0 R");iA.publish("putTilingPatternDict"),Gt(">>")}}(Ue.objectOid),function(){if(Object.keys(Io).length>0){var lt;for(lt in Gt("/ExtGState <<"),Io)Io.hasOwnProperty(lt)&&Io[lt].objectNumber>=0&&Gt("/"+lt+" "+Io[lt].objectNumber+" 0 R");iA.publish("putGStateDict"),Gt(">>")}}(),function(){for(var lt in Gt("/XObject <<"),Hl)Hl.hasOwnProperty(lt)&&Hl[lt].objectNumber>=0&&Gt("/"+lt+" "+Hl[lt].objectNumber+" 0 R");iA.publish("putXobjectDict"),Gt(">>")}(),Gt(">>"),Gt("endobj")},Q0=function(Ue){Si[Ue.fontName]=Si[Ue.fontName]||{},Si[Ue.fontName][Ue.fontStyle]=Ue.id},T0=function(Ue,lt,Xt,hn,jn){var Br={id:"F"+(Object.keys(vi).length+1).toString(10),postScriptName:Ue,fontName:lt,fontStyle:Xt,encoding:hn,isStandardFont:jn||!1,metadata:{}};return iA.publish("addFont",{font:Br,instance:this}),vi[Br.id]=Br,Q0(Br),Br.id},ec=$e.__private__.pdfEscape=$e.pdfEscape=function(Ue,lt){return function(Xt,hn){var jn,Br,Ir,Za,eo,zo,ai,Ki,ds;if(Ir=(hn=hn||{}).sourceEncoding||"Unicode",eo=hn.outputEncoding,(hn.autoencode||eo)&&vi[qa].metadata&&vi[qa].metadata[Ir]&&vi[qa].metadata[Ir].encoding&&(Za=vi[qa].metadata[Ir].encoding,!eo&&vi[qa].encoding&&(eo=vi[qa].encoding),!eo&&Za.codePages&&(eo=Za.codePages[0]),typeof eo=="string"&&(eo=Za[eo]),eo)){for(ai=!1,zo=[],jn=0,Br=Xt.length;jn<Br;jn++)(Ki=eo[Xt.charCodeAt(jn)])?zo.push(String.fromCharCode(Ki)):zo.push(Xt[jn]),zo[jn].charCodeAt(0)>>8&&(ai=!0);Xt=zo.join("")}for(jn=Xt.length;ai===void 0&&jn!==0;)Xt.charCodeAt(jn-1)>>8&&(ai=!0),jn--;if(!ai)return Xt;for(zo=hn.noBOM?[]:[254,255],jn=0,Br=Xt.length;jn<Br;jn++){if((ds=(Ki=Xt.charCodeAt(jn))>>8)>>8)throw new Error("Character at position "+jn+" of string '"+Xt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");zo.push(ds),zo.push(Ki-(ds<<8))}return String.fromCharCode.apply(void 0,zo)}(Ue,lt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fh=$e.__private__.beginPage=function(Ue){Vr[++wi]=[],Po[wi]={objId:0,contentsObjId:0,userUnit:Number(Be),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ue[0]),topRightY:Number(Ue[1])}},R0(wi),so(Vr[Jt])},k0=function(Ue,lt){var Xt,hn,jn;switch(x=lt||x,typeof Ue=="string"&&(Xt=xt(Ue.toLowerCase()),Array.isArray(Xt)&&(hn=Xt[0],jn=Xt[1])),Array.isArray(Ue)&&(hn=Ue[0]*ri,jn=Ue[1]*ri),isNaN(hn)&&(hn=ae[0],jn=ae[1]),(hn>14400||jn>14400)&&(gA.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),hn=Math.min(14400,hn),jn=Math.min(14400,jn)),ae=[hn,jn],x.substr(0,1)){case"l":jn>hn&&(ae=[jn,hn]);break;case"p":hn>jn&&(ae=[jn,hn])}Fh(ae),$o(Lh),Gt(Zf),Uh!==0&&Gt(Uh+" J"),Nh!==0&&Gt(Nh+" j"),iA.publish("addPage",{pageNumber:wi})},xh=function(Ue){Ue>0&&Ue<=wi&&(Vr.splice(Ue,1),Po.splice(Ue,1),wi--,Jt>wi&&(Jt=wi),this.setPage(Jt))},R0=function(Ue){Ue>0&&Ue<=wi&&(Jt=Ue)},j0=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return Vr.length-1},M0=function(Ue,lt,Xt){var hn,jn=void 0;return Xt=Xt||{},Ue=Ue!==void 0?Ue:vi[qa].fontName,lt=lt!==void 0?lt:vi[qa].fontStyle,hn=Ue.toLowerCase(),Si[hn]!==void 0&&Si[hn][lt]!==void 0?jn=Si[hn][lt]:Si[Ue]!==void 0&&Si[Ue][lt]!==void 0?jn=Si[Ue][lt]:Xt.disableWarning===!1&&gA.warn("Unable to look up font label for font '"+Ue+"', '"+lt+"'. Refer to getFontList() for available fonts."),jn||Xt.noFallback||(jn=Si.times[lt])==null&&(jn=Si.times.normal),jn},Ad=$e.__private__.putInfo=function(){var Ue=ys(),lt=function(hn){return hn};for(var Xt in We!==null&&(lt=Ws.encryptor(Ue,0)),Gt("<<"),Gt("/Producer ("+ec(lt("jsPDF "+Wa.version))+")"),Li)Li.hasOwnProperty(Xt)&&Li[Xt]&&Gt("/"+Xt.substr(0,1).toUpperCase()+Xt.substr(1)+" ("+ec(lt(Li[Xt]))+")");Gt("/CreationDate ("+ec(lt(qn))+")"),Gt(">>"),Gt("endobj")},zf=$e.__private__.putCatalog=function(Ue){var lt=(Ue=Ue||{}).rootDictionaryObjId||ug;switch(ys(),Gt("<<"),Gt("/Type /Catalog"),Gt("/Pages "+lt+" 0 R"),bo||(bo="fullwidth"),bo){case"fullwidth":Gt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Gt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Gt("/OpenAction [3 0 R /Fit]");break;case"original":Gt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Xt=""+bo;Xt.substr(Xt.length-1)==="%"&&(bo=parseInt(bo)/100),typeof bo=="number"&&Gt("/OpenAction [3 0 R /XYZ null null "+Ft(bo)+"]")}switch(_i||(_i="continuous"),_i){case"continuous":Gt("/PageLayout /OneColumn");break;case"single":Gt("/PageLayout /SinglePage");break;case"two":case"twoleft":Gt("/PageLayout /TwoColumnLeft");break;case"tworight":Gt("/PageLayout /TwoColumnRight")}uo&&Gt("/PageMode /"+uo),iA.publish("putCatalog"),Gt(">>"),Gt("endobj")},$m=$e.__private__.putTrailer=function(){Gt("trailer"),Gt("<<"),Gt("/Size "+(Dn+1)),Gt("/Root "+Dn+" 0 R"),Gt("/Info "+(Dn-1)+" 0 R"),We!==null&&Gt("/Encrypt "+Ws.oid+" 0 R"),Gt("/ID [ <"+nr+"> <"+nr+"> ]"),Gt(">>")},Ms=$e.__private__.putHeader=function(){Gt("%PDF-"+Mt),Gt("%\xBA\xDF\xAC\xE0")},H0=$e.__private__.putXRef=function(){var Ue="0000000000";Gt("xref"),Gt("0 "+(Dn+1)),Gt("0000000000 65535 f ");for(var lt=1;lt<=Dn;lt++)typeof $n[lt]=="function"?Gt((Ue+$n[lt]()).slice(-10)+" 00000 n "):$n[lt]!==void 0?Gt((Ue+$n[lt]).slice(-10)+" 00000 n "):Gt("0000000000 00000 n ")},sd=$e.__private__.buildDocument=function(){var Ue;Dn=0,lr=0,ar=[],$n=[],br=[],ug=dl(),Pc=dl(),so(ar),iA.publish("buildDocument"),Ms(),id(),function(){iA.publish("putAdditionalObjects");for(var Xt=0;Xt<br.length;Xt++){var hn=br[Xt];yl(hn.objId,!0),Gt(hn.content),Gt("endobj")}iA.publish("postPutAdditionalObjects")}(),Ue=[],function(){for(var Xt in vi)vi.hasOwnProperty(Xt)&&(At===!1||At===!0&&mt.hasOwnProperty(Xt))&&nf(vi[Xt])}(),function(){var Xt;for(Xt in Io)Io.hasOwnProperty(Xt)&&Gm(Io[Xt])}(),function(){for(var Xt in Hl)Hl.hasOwnProperty(Xt)&&Mf(Hl[Xt])}(),function(Xt){var hn;for(hn in fo)fo.hasOwnProperty(hn)&&(fo[hn]instanceof Yc?Hf(fo[hn]):fo[hn]instanceof Jc&&Kf(fo[hn],Xt))}(Ue),iA.publish("putResources"),Ue.forEach(Eh),Eh({resourcesOid:Pc,objectOid:Number.MAX_SAFE_INTEGER}),iA.publish("postPutResources"),We!==null&&(Ws.oid=ys(),Gt("<<"),Gt("/Filter /Standard"),Gt("/V "+Ws.v),Gt("/R "+Ws.r),Gt("/U <"+Ws.toHexString(Ws.U)+">"),Gt("/O <"+Ws.toHexString(Ws.O)+">"),Gt("/P "+Ws.P),Gt(">>"),Gt("endobj")),Ad(),zf();var lt=lr;return H0(),$m(),Gt("startxref"),Gt(""+lt),Gt("%%EOF"),so(Vr[Jt]),ar.join(`
`)},Gf=$e.__private__.getBlob=function(Ue){return new Blob([fi(Ue)],{type:"application/pdf"})},K0=$e.output=$e.__private__.output=(Ju=function(Ue,lt){switch(typeof(lt=lt||{})=="string"?lt={filename:lt}:lt.filename=lt.filename||"generated.pdf",Ue){case void 0:return sd();case"save":$e.save(lt.filename);break;case"arraybuffer":return fi(sd());case"blob":return Gf(sd());case"bloburi":case"bloburl":if(_o.URL!==void 0&&typeof _o.URL.createObjectURL=="function")return _o.URL&&_o.URL.createObjectURL(Gf(sd()))||void 0;gA.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Xt="",hn=sd();try{Xt=wh(hn)}catch(Hs){Xt=wh(unescape(encodeURIComponent(hn)))}return"data:application/pdf;filename="+lt.filename+";base64,"+Xt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(_o)==="[object Window]"){var jn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Br=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';lt.pdfObjectUrl&&(jn=lt.pdfObjectUrl,Br="");var Ir='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+jn+'"'+Br+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(lt)+");<\/script></body></html>",Za=_o.open();return Za!==null&&Za.document.write(Ir),Za}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(_o)==="[object Window]"){var eo='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(lt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+lt.filename+'" width="500px" height="400px" /></body></html>',zo=_o.open();if(zo!==null){zo.document.write(eo);var ai=this;zo.document.documentElement.querySelector("#pdfViewer").onload=function(){zo.document.title=lt.filename,zo.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(ai.output("bloburl"))}}return zo}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(_o)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ki='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",lt)+'"></iframe></body></html>',ds=_o.open();if(ds!==null&&(ds.document.write(Ki),ds.document.title=lt.filename),ds||typeof safari=="undefined")return ds;break;case"datauri":case"dataurl":return _o.document.location.href=this.output("datauristring",lt);default:return null}},Ju.foo=function(){try{return Ju.apply(this,arguments)}catch(Xt){var Ue=Xt.stack||"";~Ue.indexOf(" at ")&&(Ue=Ue.split(" at ")[1]);var lt="Error in function "+Ue.split(`
`)[0].split("<")[0]+": "+Xt.message;if(!_o.console)throw new Error(lt);_o.console.error(lt,Xt),_o.alert&&alert(lt)}},Ju.foo.bar=Ju,Ju.foo),tc=function(Ue){return Array.isArray(qg)===!0&&qg.indexOf(Ue)>-1};switch(re){case"pt":ri=1;break;case"mm":ri=72/25.4;break;case"cm":ri=72/2.54;break;case"in":ri=72;break;case"px":ri=tc("px_scaling")==1?.75:96/72;break;case"pc":case"em":ri=12;break;case"ex":ri=6;break;default:if(typeof re!="number")throw new Error("Invalid unit: "+re);ri=re}var Ws=null;_r(),Wn();var Ld=$e.__private__.getPageInfo=$e.getPageInfo=function(Ue){if(isNaN(Ue)||Ue%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Po[Ue].objId,pageNumber:Ue,pageContext:Po[Ue]}},z0=$e.__private__.getPageInfoByObjId=function(Ue){if(isNaN(Ue)||Ue%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var lt in Po)if(Po[lt].objId===Ue)break;return Ld(lt)},Zm=$e.__private__.getCurrentPageInfo=$e.getCurrentPageInfo=function(){return{objId:Po[Jt].objId,pageNumber:Jt,pageContext:Po[Jt]}};$e.addPage=function(){return k0.apply(this,arguments),this},$e.setPage=function(){return R0.apply(this,arguments),so.call(this,Vr[Jt]),this},$e.insertPage=function(Ue){return this.addPage(),this.movePage(Jt,Ue),this},$e.movePage=function(Ue,lt){var Xt,hn;if(Ue>lt){Xt=Vr[Ue],hn=Po[Ue];for(var jn=Ue;jn>lt;jn--)Vr[jn]=Vr[jn-1],Po[jn]=Po[jn-1];Vr[lt]=Xt,Po[lt]=hn,this.setPage(lt)}else if(Ue<lt){Xt=Vr[Ue],hn=Po[Ue];for(var Br=Ue;Br<lt;Br++)Vr[Br]=Vr[Br+1],Po[Br]=Po[Br+1];Vr[lt]=Xt,Po[lt]=hn,this.setPage(lt)}return this},$e.deletePage=function(){return xh.apply(this,arguments),this},$e.__private__.text=$e.text=function(Ue,lt,Xt,hn,jn){var Br,Ir,Za,eo,zo,ai,Ki,ds,Hs,kA=(hn=hn||{}).scope||this;if(typeof Ue=="number"&&typeof lt=="number"&&(typeof Xt=="string"||Array.isArray(Xt))){var Vs=Xt;Xt=lt,lt=Ue,Ue=Vs}if(arguments[3]instanceof Eo==0?(Za=arguments[4],eo=arguments[5],(0,Oe.Z)(Ki=arguments[3])==="object"&&Ki!==null||(typeof Za=="string"&&(eo=Za,Za=null),typeof Ki=="string"&&(eo=Ki,Ki=null),typeof Ki=="number"&&(Za=Ki,Ki=null),hn={flags:Ki,angle:Za,align:eo})):(nn("The transform parameter of text() with a Matrix value"),Hs=jn),isNaN(lt)||isNaN(Xt)||Ue==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Ue.length===0)return kA;var Ks,wl="",Td=typeof hn.lineHeightFactor=="number"?hn.lineHeightFactor:af,_c=kA.internal.scaleFactor;function kd(AA){return AA=AA.split(" ").join(Array(hn.TabLen||9).join(" ")),ec(AA,Ki)}function Th(AA){for(var _A,Ls=AA.concat(),Xs=[],Md=Ls.length;Md--;)typeof(_A=Ls.shift())=="string"?Xs.push(_A):Array.isArray(AA)&&(_A.length===1||_A[1]===void 0&&_A[2]===void 0)?Xs.push(_A[0]):Xs.push([_A[0],_A[1],_A[2]]);return Xs}function Vf(AA,_A){var Ls;if(typeof AA=="string")Ls=_A(AA)[0];else if(Array.isArray(AA)){for(var Xs,Md,Zh=AA.concat(),Jf=[],tm=Zh.length;tm--;)typeof(Xs=Zh.shift())=="string"?Jf.push(_A(Xs)[0]):Array.isArray(Xs)&&typeof Xs[0]=="string"&&(Md=_A(Xs[0],Xs[1],Xs[2]),Jf.push([Md[0],Md[1],Md[2]]));Ls=Jf}return Ls}var cg=!1,lf=!0;if(typeof Ue=="string")cg=!0;else if(Array.isArray(Ue)){var uf=Ue.concat();Ir=[];for(var dg,bl=uf.length;bl--;)(typeof(dg=uf.shift())!="string"||Array.isArray(dg)&&typeof dg[0]!="string")&&(lf=!1);cg=lf}if(cg===!1)throw new Error('Type of text must be string or Array. "'+Ue+'" is not recognized.');typeof Ue=="string"&&(Ue=Ue.match(/[\r?\n]/)?Ue.split(/\r\n|\r|\n/g):[Ue]);var cf=Mr/kA.internal.scaleFactor,df=cf*(Td-1);switch(hn.baseline){case"bottom":Xt-=df;break;case"top":Xt+=cf-df;break;case"hanging":Xt+=cf-2*df;break;case"middle":Xt+=cf/2-df}if((ai=hn.maxWidth||0)>0&&(typeof Ue=="string"?Ue=kA.splitTextToSize(Ue,ai):Object.prototype.toString.call(Ue)==="[object Array]"&&(Ue=Ue.reduce(function(AA,_A){return AA.concat(kA.splitTextToSize(_A,ai))},[]))),Br={text:Ue,x:lt,y:Xt,options:hn,mutex:{pdfEscape:ec,activeFontKey:qa,fonts:vi,activeFontSize:Mr}},iA.publish("preProcessText",Br),Ue=Br.text,Za=(hn=Br.options).angle,Hs instanceof Eo==0&&Za&&typeof Za=="number"){Za*=Math.PI/180,hn.rotationDirection===0&&(Za=-Za),en===cn&&(Za=-Za);var kh=Math.cos(Za),Rh=Math.sin(Za);Hs=new Eo(kh,Rh,-Rh,kh,0,0)}else Za&&Za instanceof Eo&&(Hs=Za);en!==cn||Hs||(Hs=_d),(zo=hn.charSpace||Nd)!==void 0&&(wl+=xn(pn(zo))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(ds=hn.horizontalScale)!==void 0&&(wl+=xn(100*ds)+` Tz
`),hn.lang;var ru=-1,Rd=hn.renderingMode!==void 0?hn.renderingMode:hn.stroke,Xf=kA.internal.getCurrentPageInfo().pageContext;switch(Rd){case 0:case!1:case"fill":ru=0;break;case 1:case!0:case"stroke":ru=1;break;case 2:case"fillThenStroke":ru=2;break;case 3:case"invisible":ru=3;break;case 4:case"fillAndAddForClipping":ru=4;break;case 5:case"strokeAndAddPathForClipping":ru=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ru=6;break;case 7:case"addToPathForClipping":ru=7}var q0=Xf.usedRenderingMode!==void 0?Xf.usedRenderingMode:-1;ru!==-1?wl+=ru+` Tr
`:q0!==-1&&(wl+=`0 Tr
`),ru!==-1&&(Xf.usedRenderingMode=ru),eo=hn.align||"left";var nc,gf=Mr*Td,jh=kA.internal.pageSize.getWidth(),Mh=vi[qa];zo=hn.charSpace||Nd,ai=hn.maxWidth||0,Ki=Object.assign({autoencode:!0,noBOM:!0},hn.flags);var gg=[],ff=function(AA){return kA.getStringUnitWidth(AA,{font:Mh,charSpace:zo,fontSize:Mr,doKerning:!1})*Mr/_c};if(Object.prototype.toString.call(Ue)==="[object Array]"){var Fu;Ir=Th(Ue),eo!=="left"&&(nc=Ir.map(ff));var xu,fg=0;if(eo==="right"){lt-=nc[0],Ue=[],bl=Ir.length;for(var jd=0;jd<bl;jd++)jd===0?(xu=Id(lt),Fu=Ud(Xt)):(xu=pn(fg-nc[jd]),Fu=-gf),Ue.push([Ir[jd],xu,Fu]),fg=nc[jd]}else if(eo==="center"){lt-=nc[0]/2,Ue=[],bl=Ir.length;for(var hg=0;hg<bl;hg++)hg===0?(xu=Id(lt),Fu=Ud(Xt)):(xu=pn((fg-nc[hg])/2),Fu=-gf),Ue.push([Ir[hg],xu,Fu]),fg=nc[hg]}else if(eo==="left"){Ue=[],bl=Ir.length;for(var Hh=0;Hh<bl;Hh++)Ue.push(Ir[Hh])}else if(eo==="justify"&&Mh.encoding==="Identity-H"){Ue=[],bl=Ir.length,ai=ai!==0?ai:jh;for(var Yf=0,_s=0;_s<bl;_s++)if(Fu=_s===0?Ud(Xt):-gf,xu=_s===0?Id(lt):Yf,_s<bl-1){var em=pn((ai-nc[_s])/(Ir[_s].split(" ").length-1)),ud=Ir[_s].split(" ");Ue.push([ud[0]+" ",xu,Fu]),Yf=0;for(var cd=1;cd<ud.length;cd++){var Kh=(ff(ud[cd-1]+" "+ud[cd])-ff(ud[cd]))*_c+em;cd==ud.length-1?Ue.push([ud[cd],Kh,0]):Ue.push([ud[cd]+" ",Kh,0]),Yf-=Kh}}else Ue.push([Ir[_s],xu,Fu]);Ue.push(["",Yf,0])}else{if(eo!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(Ue=[],bl=Ir.length,ai=ai!==0?ai:jh,_s=0;_s<bl;_s++){Fu=_s===0?Ud(Xt):-gf,xu=_s===0?Id(lt):0;var zh=Ir[_s].split(" ").length-1,Gh=zh>0?(ai-nc[_s])/zh:0;_s<bl-1?gg.push(xn(pn(Gh))):gg.push(0),Ue.push([Ir[_s],xu,Fu])}}}(typeof hn.R2L=="boolean"?hn.R2L:po)===!0&&(Ue=Vf(Ue,function(AA,_A,Ls){return[AA.split("").reverse().join(""),_A,Ls]})),Br={text:Ue,x:lt,y:Xt,options:hn,mutex:{pdfEscape:ec,activeFontKey:qa,fonts:vi,activeFontSize:Mr}},iA.publish("postProcessText",Br),Ue=Br.text,Ks=Br.mutex.isHex||!1;var $h=vi[qa].encoding;$h!=="WinAnsiEncoding"&&$h!=="StandardEncoding"||(Ue=Vf(Ue,function(AA,_A,Ls){return[kd(AA),_A,Ls]})),Ir=Th(Ue),Ue=[];for(var mg,pg,vg,hf=Array.isArray(Ir[0])?1:0,Sg="",mf=function(AA,_A,Ls){var Xs="";return Ls instanceof Eo?(Ls=typeof hn.angle=="number"?xd(Ls,new Eo(1,0,0,1,AA,_A)):xd(new Eo(1,0,0,1,AA,_A),Ls),en===cn&&(Ls=xd(new Eo(1,0,0,-1,0,0),Ls)),Xs=Ls.join(" ")+` Tm
`):Xs=xn(AA)+" "+xn(_A)+` Td
`,Xs},rc=0;rc<Ir.length;rc++){switch(Sg="",hf){case 1:vg=(Ks?"<":"(")+Ir[rc][0]+(Ks?">":")"),mg=parseFloat(Ir[rc][1]),pg=parseFloat(Ir[rc][2]);break;case 0:vg=(Ks?"<":"(")+Ir[rc]+(Ks?">":")"),mg=Id(lt),pg=Ud(Xt)}gg!==void 0&&gg[rc]!==void 0&&(Sg=gg[rc]+` Tw
`),rc===0?Ue.push(Sg+mf(mg,pg,Hs)+vg):hf===0?Ue.push(Sg+vg):hf===1&&Ue.push(Sg+mf(mg,pg,Hs)+vg)}Ue=hf===0?Ue.join(` Tj
T* `):Ue.join(` Tj
`),Ue+=` Tj
`;var dd=`BT
/`;return dd+=qa+" "+Mr+` Tf
`,dd+=xn(Mr*Td)+` TL
`,dd+=of+`
`,dd+=wl,dd+=Ue,Gt(dd+="ET"),mt[qa]=!0,kA};var Wm=$e.__private__.clip=$e.clip=function(Ue){return Gt(Ue==="evenodd"?"W*":"W"),this};$e.clipEvenOdd=function(){return Wm("evenodd")},$e.__private__.discardPath=$e.discardPath=function(){return Gt("n"),this};var ld=$e.__private__.isValidStyle=function(Ue){var lt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Ue)!==-1&&(lt=!0),lt};$e.__private__.setDefaultPathOperation=$e.setDefaultPathOperation=function(Ue){return ld(Ue)&&(Ne=Ue),this};var G0=$e.__private__.getStyle=$e.getStyle=function(Ue){var lt=Ne;switch(Ue){case"D":case"S":lt="S";break;case"F":lt="f";break;case"FD":case"DF":lt="B";break;case"f":case"f*":case"B":case"B*":lt=Ue}return lt},$0=$e.close=function(){return Gt("h"),this};$e.stroke=function(){return Gt("S"),this},$e.fill=function(Ue){return $f("f",Ue),this},$e.fillEvenOdd=function(Ue){return $f("f*",Ue),this},$e.fillStroke=function(Ue){return $f("B",Ue),this},$e.fillStrokeEvenOdd=function(Ue){return $f("B*",Ue),this};var $f=function(Ue,lt){(0,Oe.Z)(lt)==="object"?Xm(lt,Ue):Gt(Ue)},rf=function(Ue){Ue===null||en===cn&&Ue===void 0||(Ue=G0(Ue),Gt(Ue))};function Vm(Ue,lt,Xt,hn,jn){var Br=new Jc(lt||this.boundingBox,Xt||this.xStep,hn||this.yStep,this.gState,jn||this.matrix);Br.stream=this.stream;var Ir=Ue+"$$"+this.cloneIndex+++"$$";return Yu(Ir,Br),Br}var Xm=function(Ue,lt){var Xt=TA[Ue.key],hn=fo[Xt];if(hn instanceof Yc)Gt("q"),Gt(Ym(lt)),hn.gState&&$e.setGState(hn.gState),Gt(Ue.matrix.toString()+" cm"),Gt("/"+Xt+" sh"),Gt("Q");else if(hn instanceof Jc){var jn=new Eo(1,0,0,-1,0,sf());Ue.matrix&&(jn=jn.multiply(Ue.matrix||_d),Xt=Vm.call(hn,Ue.key,Ue.boundingBox,Ue.xStep,Ue.yStep,jn).id),Gt("q"),Gt("/Pattern cs"),Gt("/"+Xt+" scn"),hn.gState&&$e.setGState(hn.gState),Gt(lt),Gt("Q")}},Ym=function(Ue){switch(Ue){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"}},_h=$e.moveTo=function(Ue,lt){return Gt(xn(pn(Ue))+" "+xn(gn(lt))+" m"),this},Z0=$e.lineTo=function(Ue,lt){return Gt(xn(pn(Ue))+" "+xn(gn(lt))+" l"),this},xc=$e.curveTo=function(Ue,lt,Xt,hn,jn,Br){return Gt([xn(pn(Ue)),xn(gn(lt)),xn(pn(Xt)),xn(gn(hn)),xn(pn(jn)),xn(gn(Br)),"c"].join(" ")),this};$e.__private__.line=$e.line=function(Ue,lt,Xt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||isNaN(hn)||!ld(jn))throw new Error("Invalid arguments passed to jsPDF.line");return en===Bn?this.lines([[Xt-Ue,hn-lt]],Ue,lt,[1,1],jn||"S"):this.lines([[Xt-Ue,hn-lt]],Ue,lt,[1,1]).stroke()},$e.__private__.lines=$e.lines=function(Ue,lt,Xt,hn,jn,Br){var Ir,Za,eo,zo,ai,Ki,ds,Hs,kA,Vs,Ks,wl;if(typeof Ue=="number"&&(wl=Xt,Xt=lt,lt=Ue,Ue=wl),hn=hn||[1,1],Br=Br||!1,isNaN(lt)||isNaN(Xt)||!Array.isArray(Ue)||!Array.isArray(hn)||!ld(jn)||typeof Br!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(_h(lt,Xt),Ir=hn[0],Za=hn[1],zo=Ue.length,Vs=lt,Ks=Xt,eo=0;eo<zo;eo++)(ai=Ue[eo]).length===2?(Vs=ai[0]*Ir+Vs,Ks=ai[1]*Za+Ks,Z0(Vs,Ks)):(Ki=ai[0]*Ir+Vs,ds=ai[1]*Za+Ks,Hs=ai[2]*Ir+Vs,kA=ai[3]*Za+Ks,Vs=ai[4]*Ir+Vs,Ks=ai[5]*Za+Ks,xc(Ki,ds,Hs,kA,Vs,Ks));return Br&&$0(),rf(jn),this},$e.path=function(Ue){for(var lt=0;lt<Ue.length;lt++){var Xt=Ue[lt],hn=Xt.c;switch(Xt.op){case"m":_h(hn[0],hn[1]);break;case"l":Z0(hn[0],hn[1]);break;case"c":xc.apply(this,hn);break;case"h":$0()}}return this},$e.__private__.rect=$e.rect=function(Ue,lt,Xt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||isNaN(hn)||!ld(jn))throw new Error("Invalid arguments passed to jsPDF.rect");return en===Bn&&(hn=-hn),Gt([xn(pn(Ue)),xn(gn(lt)),xn(pn(Xt)),xn(pn(hn)),"re"].join(" ")),rf(jn),this},$e.__private__.triangle=$e.triangle=function(Ue,lt,Xt,hn,jn,Br,Ir){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||isNaN(hn)||isNaN(jn)||isNaN(Br)||!ld(Ir))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Xt-Ue,hn-lt],[jn-Xt,Br-hn],[Ue-jn,lt-Br]],Ue,lt,[1,1],Ir,!0),this},$e.__private__.roundedRect=$e.roundedRect=function(Ue,lt,Xt,hn,jn,Br,Ir){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||isNaN(hn)||isNaN(jn)||isNaN(Br)||!ld(Ir))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Za=4/3*(Math.SQRT2-1);return jn=Math.min(jn,.5*Xt),Br=Math.min(Br,.5*hn),this.lines([[Xt-2*jn,0],[jn*Za,0,jn,Br-Br*Za,jn,Br],[0,hn-2*Br],[0,Br*Za,-jn*Za,Br,-jn,Br],[2*jn-Xt,0],[-jn*Za,0,-jn,-Br*Za,-jn,-Br],[0,2*Br-hn],[0,-Br*Za,jn*Za,-Br,jn,-Br]],Ue+jn,lt,[1,1],Ir,!0),this},$e.__private__.ellipse=$e.ellipse=function(Ue,lt,Xt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||isNaN(hn)||!ld(jn))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Br=4/3*(Math.SQRT2-1)*Xt,Ir=4/3*(Math.SQRT2-1)*hn;return _h(Ue+Xt,lt),xc(Ue+Xt,lt-Ir,Ue+Br,lt-hn,Ue,lt-hn),xc(Ue-Br,lt-hn,Ue-Xt,lt-Ir,Ue-Xt,lt),xc(Ue-Xt,lt+Ir,Ue-Br,lt+hn,Ue,lt+hn),xc(Ue+Br,lt+hn,Ue+Xt,lt+Ir,Ue+Xt,lt),rf(jn),this},$e.__private__.circle=$e.circle=function(Ue,lt,Xt,hn){if(isNaN(Ue)||isNaN(lt)||isNaN(Xt)||!ld(hn))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Ue,lt,Xt,Xt,hn)},$e.setFont=function(Ue,lt,Xt){return Xt&&(lt=rr(lt,Xt)),qa=M0(Ue,lt,{disableWarning:!1}),this};var Jm=$e.__private__.getFont=$e.getFont=function(){return vi[M0.apply($e,arguments)]};$e.__private__.getFontList=$e.getFontList=function(){var Ue,lt,Xt={};for(Ue in Si)if(Si.hasOwnProperty(Ue))for(lt in Xt[Ue]=[],Si[Ue])Si[Ue].hasOwnProperty(lt)&&Xt[Ue].push(lt);return Xt},$e.addFont=function(Ue,lt,Xt,hn,jn){var Br=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Br.indexOf(arguments[3])!==-1?jn=arguments[3]:arguments[3]&&Br.indexOf(arguments[3])==-1&&(Xt=rr(Xt,hn)),T0.call(this,Ue,lt,Xt,jn=jn||"Identity-H")};var af,Lh=b.lineWidth||.200025,qm=$e.__private__.getLineWidth=$e.getLineWidth=function(){return Lh},$o=$e.__private__.setLineWidth=$e.setLineWidth=function(Ue){return Lh=Ue,Gt(xn(pn(Ue))+" w"),this};$e.__private__.setLineDash=Wa.API.setLineDash=Wa.API.setLineDashPattern=function(Ue,lt){if(Ue=Ue||[],lt=lt||0,isNaN(lt)||!Array.isArray(Ue))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Ue=Ue.map(function(Xt){return xn(pn(Xt))}).join(" "),lt=xn(pn(lt)),Gt("["+Ue+"] "+lt+" d"),this};var ep=$e.__private__.getLineHeight=$e.getLineHeight=function(){return Mr*af};$e.__private__.getLineHeight=$e.getLineHeight=function(){return Mr*af};var tp=$e.__private__.setLineHeightFactor=$e.setLineHeightFactor=function(Ue){return typeof(Ue=Ue||1.15)=="number"&&(af=Ue),this},np=$e.__private__.getLineHeightFactor=$e.getLineHeightFactor=function(){return af};tp(b.lineHeight);var Id=$e.__private__.getHorizontalCoordinate=function(Ue){return pn(Ue)},Ud=$e.__private__.getVerticalCoordinate=function(Ue){return en===cn?Ue:Po[Jt].mediaBox.topRightY-Po[Jt].mediaBox.bottomLeftY-pn(Ue)},rp=$e.__private__.getHorizontalCoordinateString=$e.getHorizontalCoordinateString=function(Ue){return xn(Id(Ue))},ap=$e.__private__.getVerticalCoordinateString=$e.getVerticalCoordinateString=function(Ue){return xn(Ud(Ue))},Zf=b.strokeColor||"0 G";$e.__private__.getStrokeColor=$e.getDrawColor=function(){return od(Zf)},$e.__private__.setStrokeColor=$e.setDrawColor=function(Ue,lt,Xt,hn){return Zf=Ec({ch1:Ue,ch2:lt,ch3:Xt,ch4:hn,pdfColorType:"draw",precision:2}),Gt(Zf),this};var Ih=b.fillColor||"0 g";$e.__private__.getFillColor=$e.getFillColor=function(){return od(Ih)},$e.__private__.setFillColor=$e.setFillColor=function(Ue,lt,Xt,hn){return Ih=Ec({ch1:Ue,ch2:lt,ch3:Xt,ch4:hn,pdfColorType:"fill",precision:2}),Gt(Ih),this};var of=b.textColor||"0 g",op=$e.__private__.getTextColor=$e.getTextColor=function(){return od(of)};$e.__private__.setTextColor=$e.setTextColor=function(Ue,lt,Xt,hn){return of=Ec({ch1:Ue,ch2:lt,ch3:Xt,ch4:hn,pdfColorType:"text",precision:3}),this};var Nd=b.charSpace,ip=$e.__private__.getCharSpace=$e.getCharSpace=function(){return parseFloat(Nd||0)};$e.__private__.setCharSpace=$e.setCharSpace=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Nd=Ue,this};var Uh=0;$e.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},$e.__private__.setLineCap=$e.setLineCap=function(Ue){var lt=$e.CapJoinStyles[Ue];if(lt===void 0)throw new Error("Line cap style of '"+Ue+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Uh=lt,Gt(lt+" J"),this};var Nh=0;$e.__private__.setLineJoin=$e.setLineJoin=function(Ue){var lt=$e.CapJoinStyles[Ue];if(lt===void 0)throw new Error("Line join style of '"+Ue+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Nh=lt,Gt(lt+" j"),this},$e.__private__.setLineMiterLimit=$e.__private__.setMiterLimit=$e.setLineMiterLimit=$e.setMiterLimit=function(Ue){if(Ue=Ue||0,isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Gt(xn(pn(Ue))+" M"),this},$e.GState=Jg,$e.setGState=function(Ue){(Ue=typeof Ue=="string"?Io[Yo[Ue]]:W0(null,Ue)).equals(ts)||(Gt("/"+Ue.id+" gs"),ts=Ue)};var W0=function(Ue,lt){if(!Ue||!Yo[Ue]){var Xt=!1;for(var hn in Io)if(Io.hasOwnProperty(hn)&&Io[hn].equals(lt)){Xt=!0;break}if(Xt)lt=Io[hn];else{var jn="GS"+(Object.keys(Io).length+1).toString(10);Io[jn]=lt,lt.id=jn}return Ue&&(Yo[Ue]=lt.id),iA.publish("addGState",lt),lt}};$e.addGState=function(Ue,lt){return W0(Ue,lt),this},$e.saveGraphicsState=function(){return Gt("q"),es.push({key:qa,size:Mr,color:of}),this},$e.restoreGraphicsState=function(){Gt("Q");var Ue=es.pop();return qa=Ue.key,Mr=Ue.size,of=Ue.color,ts=null,this},$e.setCurrentTransformationMatrix=function(Ue){return Gt(Ue.toString()+" cm"),this},$e.comment=function(Ue){return Gt("#"+Ue),this};var Dd=function(Ue,lt){var Xt=Ue||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Xt},set:function(Br){isNaN(Br)||(Xt=parseFloat(Br))}});var hn=lt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return hn},set:function(Br){isNaN(Br)||(hn=parseFloat(Br))}});var jn="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return jn},set:function(Br){jn=Br.toString()}}),this},Dh=function(Ue,lt,Xt,hn){Dd.call(this,Ue,lt),this.type="rect";var jn=Xt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return jn},set:function(Ir){isNaN(Ir)||(jn=parseFloat(Ir))}});var Br=hn||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Br},set:function(Ir){isNaN(Ir)||(Br=parseFloat(Ir))}}),this},Wf=function(){this.page=wi,this.currentPage=Jt,this.pages=Vr.slice(0),this.pagesContext=Po.slice(0),this.x=oo,this.y=xs,this.matrix=Hi,this.width=Qh(Jt),this.height=X0(Jt),this.outputDestination=ma,this.id="",this.objectNumber=-1};Wf.prototype.restore=function(){wi=this.page,Jt=this.currentPage,Po=this.pagesContext,Vr=this.pages,oo=this.x,xs=this.y,Hi=this.matrix,V0(Jt,this.width),Od(Jt,this.height),ma=this.outputDestination};var Oh=function(Ue,lt,Xt,hn,jn){ad.push(new Wf),wi=Jt=0,Vr=[],oo=Ue,xs=lt,Hi=jn,Fh([Xt,hn])};for(var Af in $e.beginFormObject=function(Ue,lt,Xt,hn,jn){return Oh(Ue,lt,Xt,hn,jn),this},$e.endFormObject=function(Ue){return function(lt){if(Fd[lt])ad.pop().restore();else{var Xt=new Wf,hn="Xo"+(Object.keys(Hl).length+1).toString(10);Xt.id=hn,Fd[lt]=hn,Hl[hn]=Xt,iA.publish("addFormObject",Xt),ad.pop().restore()}}(Ue),this},$e.doFormObject=function(Ue,lt){var Xt=Hl[Fd[Ue]];return Gt("q"),Gt(lt.toString()+" cm"),Gt("/"+Xt.id+" Do"),Gt("Q"),this},$e.getFormObject=function(Ue){var lt=Hl[Fd[Ue]];return{x:lt.x,y:lt.y,width:lt.width,height:lt.height,matrix:lt.matrix}},$e.save=function(Ue,lt){return Ue=Ue||"generated.pdf",(lt=lt||{}).returnPromise=lt.returnPromise||!1,lt.returnPromise===!1?(Vc(Gf(sd()),Ue),typeof Vc.unload=="function"&&_o.setTimeout&&setTimeout(Vc.unload,911),this):new Promise(function(Xt,hn){try{var jn=Vc(Gf(sd()),Ue);typeof Vc.unload=="function"&&_o.setTimeout&&setTimeout(Vc.unload,911),Xt(jn)}catch(Br){hn(Br.message)}})},Wa.API)Wa.API.hasOwnProperty(Af)&&(Af==="events"&&Wa.API.events.length?function(Ue,lt){var Xt,hn,jn;for(jn=lt.length-1;jn!==-1;jn--)Xt=lt[jn][0],hn=lt[jn][1],Ue.subscribe.apply(Ue,[Xt].concat(typeof hn=="function"?[hn]:hn))}(iA,Wa.API.events):$e[Af]=Wa.API[Af]);function Qh(Ue){return Po[Ue].mediaBox.topRightX-Po[Ue].mediaBox.bottomLeftX}function V0(Ue,lt){Po[Ue].mediaBox.topRightX=lt+Po[Ue].mediaBox.bottomLeftX}function X0(Ue){return Po[Ue].mediaBox.topRightY-Po[Ue].mediaBox.bottomLeftY}function Od(Ue,lt){Po[Ue].mediaBox.topRightY=lt+Po[Ue].mediaBox.bottomLeftY}var Qd=$e.getPageWidth=function(Ue){return Qh(Ue=Ue||Jt)/ri},Y0=$e.setPageWidth=function(Ue,lt){V0(Ue,lt*ri)},sf=$e.getPageHeight=function(Ue){return X0(Ue=Ue||Jt)/ri},J0=$e.setPageHeight=function(Ue,lt){Od(Ue,lt*ri)};return $e.internal={pdfEscape:ec,getStyle:G0,getFont:Jm,getFontSize:$a,getCharSpace:ip,getTextColor:op,getLineHeight:ep,getLineHeightFactor:np,getLineWidth:qm,write:ya,getHorizontalCoordinate:Id,getVerticalCoordinate:Ud,getCoordinateString:rp,getVerticalCoordinateString:ap,collections:{},newObject:ys,newAdditionalObject:ef,newObjectDeferred:dl,newObjectDeferredBegin:yl,getFilters:Fc,putStream:qu,events:iA,scaleFactor:ri,pageSize:{getWidth:function(){return Qd(Jt)},setWidth:function(Ue){Y0(Jt,Ue)},getHeight:function(){return sf(Jt)},setHeight:function(Ue){J0(Jt,Ue)}},encryptionOptions:We,encryption:Ws,getEncryptor:function(Ue){return We!==null?Ws.encryptor(Ue,0):function(lt){return lt}},output:K0,getNumberOfPages:j0,get pages(){return Vr},out:Gt,f2:Ft,f3:zt,getPageInfo:Ld,getPageInfoByObjId:z0,getCurrentPageInfo:Zm,getPDFVersion:Tt,Point:Dd,Rectangle:Dh,Matrix:Eo,hasHotfix:tc},Object.defineProperty($e.internal.pageSize,"width",{get:function(){return Qd(Jt)},set:function(Ue){Y0(Jt,Ue)},enumerable:!0,configurable:!0}),Object.defineProperty($e.internal.pageSize,"height",{get:function(){return sf(Jt)},set:function(Ue){J0(Jt,Ue)},enumerable:!0,configurable:!0}),function(Ue){for(var lt=0,Xt=wo.length;lt<Xt;lt++){var hn=T0.call(this,Ue[lt][0],Ue[lt][1],Ue[lt][2],wo[lt][3],!0);At===!1&&(mt[hn]=!0);var jn=Ue[lt][0].split("-");Q0({id:hn,fontName:jn[0],fontStyle:jn[1]||""})}iA.publish("addFonts",{fonts:vi,dictionary:Si})}.call($e,wo),qa="F1",k0(ae,x),iA.publish("initialized"),$e}ig.prototype.lsbFirstWord=function(b){return String.fromCharCode(255&b,b>>8&255,b>>16&255,b>>24&255)},ig.prototype.toHexString=function(b){return b.split("").map(function(z){return("0"+(255&z.charCodeAt(0)).toString(16)).slice(-2)}).join("")},ig.prototype.hexToBytes=function(b){for(var z=[],x=0;x<b.length;x+=2)z.push(String.fromCharCode(parseInt(b.substr(x,2),16)));return z.join("")},ig.prototype.processOwnerPassword=function(b,z){return Xc(bh(z).substr(0,5),b)},ig.prototype.encryptor=function(b,z){var x=bh(this.encryptionKey+String.fromCharCode(255&b,b>>8&255,b>>16&255,255&z,z>>8&255)).substr(0,10);return function(re){return Xc(x,re)}},Jg.prototype.equals=function(b){var z,x="id,objectNumber,equals";if(!b||(0,Oe.Z)(b)!==(0,Oe.Z)(this))return!1;var re=0;for(z in this)if(!(x.indexOf(z)>=0)){if(this.hasOwnProperty(z)&&!b.hasOwnProperty(z)||this[z]!==b[z])return!1;re++}for(z in b)b.hasOwnProperty(z)&&x.indexOf(z)<0&&re--;return re===0},Wa.API={events:[]},Wa.version="3.0.4";var qA=Wa.API,Ph=1,Cd=function(b){return b.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ag=function(b){return b.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ho=function(b){return b.toFixed(2)},qc=function(b){return b.toFixed(5)};qA.__acroform__={};var jl=function(b,z){b.prototype=Object.create(z.prototype),b.prototype.constructor=b},D0=function(b){return b*Ph},Vu=function(b){var z=new dr,x=ra.internal.getHeight(b)||0,re=ra.internal.getWidth(b)||0;return z.BBox=[0,0,Number(Ho(re)),Number(Ho(x))],z},Rm=qA.__acroform__.setBit=function(b,z){if(b=b||0,z=z||0,isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return b|1<<z},jm=qA.__acroform__.clearBit=function(b,z){if(b=b||0,z=z||0,isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return b&~(1<<z)},Mm=qA.__acroform__.getBit=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return b&1<<z?1:0},cs=qA.__acroform__.getBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Mm(b,z-1)},ue=qA.__acroform__.setBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Rm(b,z-1)},Ae=qA.__acroform__.clearBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return jm(b,z-1)},fe=qA.__acroform__.calculateCoordinates=function(b,z){var x=z.internal.getHorizontalCoordinate,re=z.internal.getVerticalCoordinate,ae=b[0],se=b[1],Ee=b[2],Be=b[3],xe={};return xe.lowerLeft_X=x(ae)||0,xe.lowerLeft_Y=re(se+Be)||0,xe.upperRight_X=x(ae+Ee)||0,xe.upperRight_Y=re(se)||0,[Number(Ho(xe.lowerLeft_X)),Number(Ho(xe.lowerLeft_Y)),Number(Ho(xe.upperRight_X)),Number(Ho(xe.upperRight_Y))]},ge=function(b){if(b.appearanceStreamContent)return b.appearanceStreamContent;if(b.V||b.DV){var z=[],x=b._V||b.DV,re=He(b,x),ae=b.scope.internal.getFont(b.fontName,b.fontStyle).id;z.push("/Tx BMC"),z.push("q"),z.push("BT"),z.push(b.scope.__private__.encodeColorString(b.color)),z.push("/"+ae+" "+Ho(re.fontSize)+" Tf"),z.push("1 0 0 1 0 0 Tm"),z.push(re.text),z.push("ET"),z.push("Q"),z.push("EMC");var se=Vu(b);return se.scope=b.scope,se.stream=z.join(`
`),se}},He=function(b,z){var x=b.fontSize===0?b.maxFontSize:b.fontSize,re={text:"",fontSize:""},ae=(z=(z=z.substr(0,1)=="("?z.substr(1):z).substr(z.length-1)==")"?z.substr(0,z.length-1):z).split(" ");ae=b.multiline?ae.map(function(Ft){return Ft.split(`
`)}):ae.map(function(Ft){return[Ft]});var se=x,Ee=ra.internal.getHeight(b)||0;Ee=Ee<0?-Ee:Ee;var Be=ra.internal.getWidth(b)||0;Be=Be<0?-Be:Be;var xe=function(Ft,zt,pn){if(Ft+1<ae.length){var gn=zt+" "+ae[Ft+1][0];return tt(gn,b,pn).width<=Be-4}return!1};se++;e:for(;se>0;){z="",se--;var Ne,We,At=tt("3",b,se).height,mt=b.multiline?Ee-se:(Ee-At)/2,$e=mt+=2,Mt=0,Tt=0,Ht=0;if(se<=0){z=`(...) Tj
`,z+="% Width of Text: "+tt(z,b,se=12).width+", FieldWidth:"+Be+`
`;break}for(var xt="",Bn=0,cn=0;cn<ae.length;cn++)if(ae.hasOwnProperty(cn)){var en=!1;if(ae[cn].length!==1&&Ht!==ae[cn].length-1){if((At+2)*(Bn+2)+2>Ee)continue e;xt+=ae[cn][Ht],en=!0,Tt=cn,cn--}else{xt=(xt+=ae[cn][Ht]+" ").substr(xt.length-1)==" "?xt.substr(0,xt.length-1):xt;var Yn=parseInt(cn),vr=xe(Yn,xt,se),rr=cn>=ae.length-1;if(vr&&!rr){xt+=" ",Ht=0;continue}if(vr||rr){if(rr)Tt=Yn;else if(b.multiline&&(At+2)*(Bn+2)+2>Ee)continue e}else{if(!b.multiline||(At+2)*(Bn+2)+2>Ee)continue e;Tt=Yn}}for(var xn="",nn=Mt;nn<=Tt;nn++){var Mn=ae[nn];if(b.multiline){if(nn===Tt){xn+=Mn[Ht]+" ",Ht=(Ht+1)%Mn.length;continue}if(nn===Mt){xn+=Mn[Mn.length-1]+" ";continue}}xn+=Mn[0]+" "}switch(xn=xn.substr(xn.length-1)==" "?xn.substr(0,xn.length-1):xn,We=tt(xn,b,se).width,b.textAlign){case"right":Ne=Be-We-2;break;case"center":Ne=(Be-We)/2;break;default:Ne=2}z+=Ho(Ne)+" "+Ho($e)+` Td
`,z+="("+Cd(xn)+`) Tj
`,z+=-Ho(Ne)+` 0 Td
`,$e=-(se+2),We=0,Mt=en?Tt:Tt+1,Bn++,xt=""}break}return re.text=z,re.fontSize=se,re},tt=function(b,z,x){var re=z.scope.internal.getFont(z.fontName,z.fontStyle),ae=z.scope.getStringUnitWidth(b,{font:re,fontSize:parseFloat(x),charSpace:0})*parseFloat(x);return{height:z.scope.getStringUnitWidth("3",{font:re,fontSize:parseFloat(x),charSpace:0})*parseFloat(x)*1.5,width:ae}},ht={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},jt=function(b,z){var x={type:"reference",object:b};z.internal.getPageInfo(b.page).pageContext.annotations.find(function(re){return re.type===x.type&&re.object===x.object})===void 0&&z.internal.getPageInfo(b.page).pageContext.annotations.push(x)},Rt=function(b,z){if(z.scope=b,b.internal!==void 0&&(b.internal.acroformPlugin===void 0||b.internal.acroformPlugin.isInitialized===!1)){if(jr.FieldNum=0,b.internal.acroformPlugin=JSON.parse(JSON.stringify(ht)),b.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Ph=b.internal.scaleFactor,b.internal.acroformPlugin.acroFormDictionaryRoot=new Ca,b.internal.acroformPlugin.acroFormDictionaryRoot.scope=b,b.internal.acroformPlugin.acroFormDictionaryRoot._eventID=b.internal.events.subscribe("postPutResources",function(){(function(x){x.internal.events.unsubscribe(x.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete x.internal.acroformPlugin.acroFormDictionaryRoot._eventID,x.internal.acroformPlugin.printedOut=!0})(b)}),b.internal.events.subscribe("buildDocument",function(){(function(x){x.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var re=x.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ae in re)if(re.hasOwnProperty(ae)){var se=re[ae];se.objId=void 0,se.hasAnnotation&&jt(se,x)}})(b)}),b.internal.events.subscribe("putCatalog",function(){(function(x){if(x.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");x.internal.write("/AcroForm "+x.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(b)}),b.internal.events.subscribe("postPutPages",function(x){(function(re,ae){var se=!re;for(var Ee in re||(ae.internal.newObjectDeferredBegin(ae.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ae.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),re=re||ae.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(re.hasOwnProperty(Ee)){var Be=re[Ee],xe=[],Ne=Be.Rect;if(Be.Rect&&(Be.Rect=fe(Be.Rect,ae)),ae.internal.newObjectDeferredBegin(Be.objId,!0),Be.DA=ra.createDefaultAppearanceStream(Be),(0,Oe.Z)(Be)==="object"&&typeof Be.getKeyValueListForStream=="function"&&(xe=Be.getKeyValueListForStream()),Be.Rect=Ne,Be.hasAppearanceStream&&!Be.appearanceStreamContent){var We=ge(Be);xe.push({key:"AP",value:"<</N "+We+">>"}),ae.internal.acroformPlugin.xForms.push(We)}if(Be.appearanceStreamContent){var At="";for(var mt in Be.appearanceStreamContent)if(Be.appearanceStreamContent.hasOwnProperty(mt)){var $e=Be.appearanceStreamContent[mt];if(At+="/"+mt+" ",At+="<<",Object.keys($e).length>=1||Array.isArray($e)){for(var Ee in $e)if($e.hasOwnProperty(Ee)){var Mt=$e[Ee];typeof Mt=="function"&&(Mt=Mt.call(ae,Be)),At+="/"+Ee+" "+Mt+" ",ae.internal.acroformPlugin.xForms.indexOf(Mt)>=0||ae.internal.acroformPlugin.xForms.push(Mt)}}else typeof(Mt=$e)=="function"&&(Mt=Mt.call(ae,Be)),At+="/"+Ee+" "+Mt,ae.internal.acroformPlugin.xForms.indexOf(Mt)>=0||ae.internal.acroformPlugin.xForms.push(Mt);At+=">>"}xe.push({key:"AP",value:`<<
`+At+">>"})}ae.internal.putStream({additionalKeyValues:xe,objectId:Be.objId}),ae.internal.out("endobj")}se&&function(Tt,Ht){for(var xt in Tt)if(Tt.hasOwnProperty(xt)){var Bn=xt,cn=Tt[xt];Ht.internal.newObjectDeferredBegin(cn.objId,!0),(0,Oe.Z)(cn)==="object"&&typeof cn.putStream=="function"&&cn.putStream(),delete Tt[Bn]}}(ae.internal.acroformPlugin.xForms,ae)})(x,b)}),b.internal.acroformPlugin.isInitialized=!0}},Cn=qA.__acroform__.arrayToPdfArray=function(b,z,x){var re=function(Ee){return Ee};if(Array.isArray(b)){for(var ae="[",se=0;se<b.length;se++)switch(se!==0&&(ae+=" "),(0,Oe.Z)(b[se])){case"boolean":case"number":case"object":ae+=b[se].toString();break;case"string":b[se].substr(0,1)!=="/"?(z!==void 0&&x&&(re=x.internal.getEncryptor(z)),ae+="("+Cd(re(b[se].toString()))+")"):ae+=b[se].toString()}return ae+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Un=function(b,z,x){var re=function(ae){return ae};return z!==void 0&&x&&(re=x.internal.getEncryptor(z)),(b=b||"").toString(),"("+Cd(re(b))+")"},Rn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(b){this._objId=b}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Rn.prototype.toString=function(){return this.objId+" 0 R"},Rn.prototype.putStream=function(){var b=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:b,objectId:this.objId}),this.scope.internal.out("endobj")},Rn.prototype.getKeyValueListForStream=function(){var b=[],z=Object.getOwnPropertyNames(this).filter(function(se){return se!="content"&&se!="appearanceStreamContent"&&se!="scope"&&se!="objId"&&se.substring(0,1)!="_"});for(var x in z)if(Object.getOwnPropertyDescriptor(this,z[x]).configurable===!1){var re=z[x],ae=this[re];ae&&(Array.isArray(ae)?b.push({key:re,value:Cn(ae,this.objId,this.scope)}):ae instanceof Rn?(ae.scope=this.scope,b.push({key:re,value:ae.objId+" 0 R"})):typeof ae!="function"&&b.push({key:re,value:ae}))}return b};var dr=function(){Rn.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 b,z=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return z},set:function(x){z=x}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(x){b=x.trim()},get:function(){return b||null}})};jl(dr,Rn);var Ca=function(){Rn.call(this);var b,z=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return z.length>0?z:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return z}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(b){var x=function(re){return re};return this.scope&&(x=this.scope.internal.getEncryptor(this.objId)),"("+Cd(x(b))+")"}},set:function(x){b=x}})};jl(Ca,Rn);var jr=function b(){Rn.call(this);var z=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return z},set:function(xt){if(isNaN(xt))throw new Error('Invalid value "'+xt+'" for attribute F supplied.');z=xt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!cs(z,3)},set:function(xt){xt?this.F=ue(z,3):this.F=Ae(z,3)}});var x=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return x},set:function(xt){if(isNaN(xt))throw new Error('Invalid value "'+xt+'" for attribute Ff supplied.');x=xt}});var re=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(re.length!==0)return re},set:function(xt){re=xt!==void 0?xt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[0])?0:re[0]},set:function(xt){re[0]=xt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[1])?0:re[1]},set:function(xt){re[1]=xt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[2])?0:re[2]},set:function(xt){re[2]=xt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[3])?0:re[3]},set:function(xt){re[3]=xt}});var ae="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return ae},set:function(xt){switch(xt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":ae=xt;break;default:throw new Error('Invalid value "'+xt+'" for attribute FT supplied.')}}});var se=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!se||se.length<1){if(this instanceof fa)return;se="FieldObject"+b.FieldNum++}var xt=function(Bn){return Bn};return this.scope&&(xt=this.scope.internal.getEncryptor(this.objId)),"("+Cd(xt(se))+")"},set:function(xt){se=xt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return se},set:function(xt){se=xt}});var Ee="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ee},set:function(xt){Ee=xt}});var Be="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Be},set:function(xt){Be=xt}});var xe=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return xe},set:function(xt){xe=xt}});var Ne=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ne===void 0?50/Ph:Ne},set:function(xt){Ne=xt}});var We="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return We},set:function(xt){We=xt}});var At="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!At||this instanceof fa||this instanceof Vo))return Un(At,this.objId,this.scope)},set:function(xt){xt=xt.toString(),At=xt}});var mt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(mt)return this instanceof ho==0?Un(mt,this.objId,this.scope):mt},set:function(xt){xt=xt.toString(),mt=this instanceof ho==0?xt.substr(0,1)==="("?Ag(xt.substr(1,xt.length-2)):Ag(xt):xt}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ho==1?Ag(mt.substr(1,mt.length-1)):mt},set:function(xt){xt=xt.toString(),mt=this instanceof ho==1?"/"+xt:xt}});var $e=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if($e)return $e},set:function(xt){this.V=xt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if($e)return this instanceof ho==0?Un($e,this.objId,this.scope):$e},set:function(xt){xt=xt.toString(),$e=this instanceof ho==0?xt.substr(0,1)==="("?Ag(xt.substr(1,xt.length-2)):Ag(xt):xt}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ho==1?Ag($e.substr(1,$e.length-1)):$e},set:function(xt){xt=xt.toString(),$e=this instanceof ho==1?"/"+xt:xt}}),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 Mt,Tt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Tt},set:function(xt){xt=!!xt,Tt=xt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Mt)return Mt},set:function(xt){Mt=xt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,1)},set:function(xt){xt?this.Ff=ue(this.Ff,1):this.Ff=Ae(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,2)},set:function(xt){xt?this.Ff=ue(this.Ff,2):this.Ff=Ae(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,3)},set:function(xt){xt?this.Ff=ue(this.Ff,3):this.Ff=Ae(this.Ff,3)}});var Ht=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Ht!==null)return Ht},set:function(xt){if([0,1,2].indexOf(xt)===-1)throw new Error('Invalid value "'+xt+'" for attribute Q supplied.');Ht=xt}}),Object.defineProperty(this,"textAlign",{get:function(){var xt;switch(Ht){case 0:default:xt="left";break;case 1:xt="center";break;case 2:xt="right"}return xt},configurable:!0,enumerable:!0,set:function(xt){switch(xt){case"right":case 2:Ht=2;break;case"center":case 1:Ht=1;break;default:Ht=0}}})};jl(jr,Rn);var oa=function(){jr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var b=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return b},set:function(x){b=x}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return b},set:function(x){b=x}});var z=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Cn(z,this.objId,this.scope)},set:function(x){var re,ae;ae=[],typeof(re=x)=="string"&&(ae=function(se,Ee,Be){Be||(Be=1);for(var xe,Ne=[];xe=Ee.exec(se);)Ne.push(xe[Be]);return Ne}(re,/\((.*?)\)/g)),z=ae}}),this.getOptions=function(){return z},this.setOptions=function(x){z=x,this.sort&&z.sort()},this.addOption=function(x){x=(x=x||"").toString(),z.push(x),this.sort&&z.sort()},this.removeOption=function(x,re){for(re=re||!1,x=(x=x||"").toString();z.indexOf(x)!==-1&&(z.splice(z.indexOf(x),1),re!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,18)},set:function(x){x?this.Ff=ue(this.Ff,18):this.Ff=Ae(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,19)},set:function(x){this.combo===!0&&(x?this.Ff=ue(this.Ff,19):this.Ff=Ae(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,20)},set:function(x){x?(this.Ff=ue(this.Ff,20),z.sort()):this.Ff=Ae(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,22)},set:function(x){x?this.Ff=ue(this.Ff,22):this.Ff=Ae(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,23)},set:function(x){x?this.Ff=ue(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,27)},set:function(x){x?this.Ff=ue(this.Ff,27):this.Ff=Ae(this.Ff,27)}}),this.hasAppearanceStream=!1};jl(oa,jr);var Lo=function(){oa.call(this),this.fontName="helvetica",this.combo=!1};jl(Lo,oa);var ka=function(){Lo.call(this),this.combo=!0};jl(ka,Lo);var Oa=function(){ka.call(this),this.edit=!0};jl(Oa,ka);var ho=function(){jr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,15)},set:function(x){x?this.Ff=ue(this.Ff,15):this.Ff=Ae(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,16)},set:function(x){x?this.Ff=ue(this.Ff,16):this.Ff=Ae(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,17)},set:function(x){x?this.Ff=ue(this.Ff,17):this.Ff=Ae(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,26)},set:function(x){x?this.Ff=ue(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var b,z={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var x=function(se){return se};if(this.scope&&(x=this.scope.internal.getEncryptor(this.objId)),Object.keys(z).length!==0){var re,ae=[];for(re in ae.push("<<"),z)ae.push("/"+re+" ("+Cd(x(z[re]))+")");return ae.push(">>"),ae.join(`
`)}},set:function(x){(0,Oe.Z)(x)==="object"&&(z=x)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return z.CA||""},set:function(x){typeof x=="string"&&(z.CA=x)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return b},set:function(x){b=x}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return b.substr(1,b.length-1)},set:function(x){b="/"+x}})};jl(ho,jr);var Ko=function(){ho.call(this),this.pushButton=!0};jl(Ko,ho);var Ao=function(){ho.call(this),this.radio=!0,this.pushButton=!1;var b=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return b},set:function(z){b=z!==void 0?z:[]}})};jl(Ao,ho);var fa=function(){var b,z;jr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return b},set:function(ae){b=ae}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(ae){z=ae}});var x,re={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ae=function(Be){return Be};this.scope&&(ae=this.scope.internal.getEncryptor(this.objId));var se,Ee=[];for(se in Ee.push("<<"),re)Ee.push("/"+se+" ("+Cd(ae(re[se]))+")");return Ee.push(">>"),Ee.join(`
`)},set:function(ae){(0,Oe.Z)(ae)==="object"&&(re=ae)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return re.CA||""},set:function(ae){typeof ae=="string"&&(re.CA=ae)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return x},set:function(ae){x=ae}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return x.substr(1,x.length-1)},set:function(ae){x="/"+ae}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ra.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};jl(fa,jr),Ao.prototype.setAppearance=function(b){if(!("createAppearanceStream"in b)||!("getCA"in b))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var z in this.Kids)if(this.Kids.hasOwnProperty(z)){var x=this.Kids[z];x.appearanceStreamContent=b.createAppearanceStream(x.optionName),x.caption=b.getCA()}},Ao.prototype.createOption=function(b){var z=new fa;return z.Parent=this,z.optionName=b,this.Kids.push(z),Ml.call(this.scope,z),z};var gi=function(){ho.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ra.CheckBox.createAppearanceStream()};jl(gi,ho);var Vo=function(){jr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,13)},set:function(z){z?this.Ff=ue(this.Ff,13):this.Ff=Ae(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,21)},set:function(z){z?this.Ff=ue(this.Ff,21):this.Ff=Ae(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,23)},set:function(z){z?this.Ff=ue(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,24)},set:function(z){z?this.Ff=ue(this.Ff,24):this.Ff=Ae(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,25)},set:function(z){z?this.Ff=ue(this.Ff,25):this.Ff=Ae(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,26)},set:function(z){z?this.Ff=ue(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var b=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return b},set:function(z){b=z}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return b},set:function(z){Number.isInteger(z)&&(b=z)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};jl(Vo,jr);var mo=function(){Vo.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!cs(this.Ff,14)},set:function(b){b?this.Ff=ue(this.Ff,14):this.Ff=Ae(this.Ff,14)}}),this.password=!0};jl(mo,Vo);var ra={CheckBox:{createAppearanceStream:function(){return{N:{On:ra.CheckBox.YesNormal},D:{On:ra.CheckBox.YesPushDown,Off:ra.CheckBox.OffPushDown}}},YesPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=[],re=b.scope.internal.getFont(b.fontName,b.fontStyle).id,ae=b.scope.__private__.encodeColorString(b.color),se=He(b,b.caption);return x.push("0.749023 g"),x.push("0 0 "+Ho(ra.internal.getWidth(b))+" "+Ho(ra.internal.getHeight(b))+" re"),x.push("f"),x.push("BMC"),x.push("q"),x.push("0 0 1 rg"),x.push("/"+re+" "+Ho(se.fontSize)+" Tf "+ae),x.push("BT"),x.push(se.text),x.push("ET"),x.push("Q"),x.push("EMC"),z.stream=x.join(`
`),z},YesNormal:function(b){var z=Vu(b);z.scope=b.scope;var x=b.scope.internal.getFont(b.fontName,b.fontStyle).id,re=b.scope.__private__.encodeColorString(b.color),ae=[],se=ra.internal.getHeight(b),Ee=ra.internal.getWidth(b),Be=He(b,b.caption);return ae.push("1 g"),ae.push("0 0 "+Ho(Ee)+" "+Ho(se)+" re"),ae.push("f"),ae.push("q"),ae.push("0 0 1 rg"),ae.push("0 0 "+Ho(Ee-1)+" "+Ho(se-1)+" re"),ae.push("W"),ae.push("n"),ae.push("0 g"),ae.push("BT"),ae.push("/"+x+" "+Ho(Be.fontSize)+" Tf "+re),ae.push(Be.text),ae.push("ET"),ae.push("Q"),z.stream=ae.join(`
`),z},OffPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=[];return x.push("0.749023 g"),x.push("0 0 "+Ho(ra.internal.getWidth(b))+" "+Ho(ra.internal.getHeight(b))+" re"),x.push("f"),z.stream=x.join(`
`),z}},RadioButton:{Circle:{createAppearanceStream:function(b){var z={D:{Off:ra.RadioButton.Circle.OffPushDown},N:{}};return z.N[b]=ra.RadioButton.Circle.YesNormal,z.D[b]=ra.RadioButton.Circle.YesPushDown,z},getCA:function(){return"l"},YesNormal:function(b){var z=Vu(b);z.scope=b.scope;var x=[],re=ra.internal.getWidth(b)<=ra.internal.getHeight(b)?ra.internal.getWidth(b)/4:ra.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=ra.internal.Bezier_C,se=Number((re*ae).toFixed(5));return x.push("q"),x.push("1 0 0 1 "+qc(ra.internal.getWidth(b)/2)+" "+qc(ra.internal.getHeight(b)/2)+" cm"),x.push(re+" 0 m"),x.push(re+" "+se+" "+se+" "+re+" 0 "+re+" c"),x.push("-"+se+" "+re+" -"+re+" "+se+" -"+re+" 0 c"),x.push("-"+re+" -"+se+" -"+se+" -"+re+" 0 -"+re+" c"),x.push(se+" -"+re+" "+re+" -"+se+" "+re+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
`),z},YesPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=[],re=ra.internal.getWidth(b)<=ra.internal.getHeight(b)?ra.internal.getWidth(b)/4:ra.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=Number((2*re).toFixed(5)),se=Number((ae*ra.internal.Bezier_C).toFixed(5)),Ee=Number((re*ra.internal.Bezier_C).toFixed(5));return x.push("0.749023 g"),x.push("q"),x.push("1 0 0 1 "+qc(ra.internal.getWidth(b)/2)+" "+qc(ra.internal.getHeight(b)/2)+" cm"),x.push(ae+" 0 m"),x.push(ae+" "+se+" "+se+" "+ae+" 0 "+ae+" c"),x.push("-"+se+" "+ae+" -"+ae+" "+se+" -"+ae+" 0 c"),x.push("-"+ae+" -"+se+" -"+se+" -"+ae+" 0 -"+ae+" c"),x.push(se+" -"+ae+" "+ae+" -"+se+" "+ae+" 0 c"),x.push("f"),x.push("Q"),x.push("0 g"),x.push("q"),x.push("1 0 0 1 "+qc(ra.internal.getWidth(b)/2)+" "+qc(ra.internal.getHeight(b)/2)+" cm"),x.push(re+" 0 m"),x.push(re+" "+Ee+" "+Ee+" "+re+" 0 "+re+" c"),x.push("-"+Ee+" "+re+" -"+re+" "+Ee+" -"+re+" 0 c"),x.push("-"+re+" -"+Ee+" -"+Ee+" -"+re+" 0 -"+re+" c"),x.push(Ee+" -"+re+" "+re+" -"+Ee+" "+re+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
`),z},OffPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=[],re=ra.internal.getWidth(b)<=ra.internal.getHeight(b)?ra.internal.getWidth(b)/4:ra.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=Number((2*re).toFixed(5)),se=Number((ae*ra.internal.Bezier_C).toFixed(5));return x.push("0.749023 g"),x.push("q"),x.push("1 0 0 1 "+qc(ra.internal.getWidth(b)/2)+" "+qc(ra.internal.getHeight(b)/2)+" cm"),x.push(ae+" 0 m"),x.push(ae+" "+se+" "+se+" "+ae+" 0 "+ae+" c"),x.push("-"+se+" "+ae+" -"+ae+" "+se+" -"+ae+" 0 c"),x.push("-"+ae+" -"+se+" -"+se+" -"+ae+" 0 -"+ae+" c"),x.push(se+" -"+ae+" "+ae+" -"+se+" "+ae+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
`),z}},Cross:{createAppearanceStream:function(b){var z={D:{Off:ra.RadioButton.Cross.OffPushDown},N:{}};return z.N[b]=ra.RadioButton.Cross.YesNormal,z.D[b]=ra.RadioButton.Cross.YesPushDown,z},getCA:function(){return"8"},YesNormal:function(b){var z=Vu(b);z.scope=b.scope;var x=[],re=ra.internal.calculateCross(b);return x.push("q"),x.push("1 1 "+Ho(ra.internal.getWidth(b)-2)+" "+Ho(ra.internal.getHeight(b)-2)+" re"),x.push("W"),x.push("n"),x.push(Ho(re.x1.x)+" "+Ho(re.x1.y)+" m"),x.push(Ho(re.x2.x)+" "+Ho(re.x2.y)+" l"),x.push(Ho(re.x4.x)+" "+Ho(re.x4.y)+" m"),x.push(Ho(re.x3.x)+" "+Ho(re.x3.y)+" l"),x.push("s"),x.push("Q"),z.stream=x.join(`
`),z},YesPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=ra.internal.calculateCross(b),re=[];return re.push("0.749023 g"),re.push("0 0 "+Ho(ra.internal.getWidth(b))+" "+Ho(ra.internal.getHeight(b))+" re"),re.push("f"),re.push("q"),re.push("1 1 "+Ho(ra.internal.getWidth(b)-2)+" "+Ho(ra.internal.getHeight(b)-2)+" re"),re.push("W"),re.push("n"),re.push(Ho(x.x1.x)+" "+Ho(x.x1.y)+" m"),re.push(Ho(x.x2.x)+" "+Ho(x.x2.y)+" l"),re.push(Ho(x.x4.x)+" "+Ho(x.x4.y)+" m"),re.push(Ho(x.x3.x)+" "+Ho(x.x3.y)+" l"),re.push("s"),re.push("Q"),z.stream=re.join(`
`),z},OffPushDown:function(b){var z=Vu(b);z.scope=b.scope;var x=[];return x.push("0.749023 g"),x.push("0 0 "+Ho(ra.internal.getWidth(b))+" "+Ho(ra.internal.getHeight(b))+" re"),x.push("f"),z.stream=x.join(`
`),z}}},createDefaultAppearanceStream:function(b){var z=b.scope.internal.getFont(b.fontName,b.fontStyle).id,x=b.scope.__private__.encodeColorString(b.color);return"/"+z+" "+b.fontSize+" Tf "+x}};ra.internal={Bezier_C:.551915024494,calculateCross:function(b){var z=ra.internal.getWidth(b),x=ra.internal.getHeight(b),re=Math.min(z,x);return{x1:{x:(z-re)/2,y:(x-re)/2+re},x2:{x:(z-re)/2+re,y:(x-re)/2},x3:{x:(z-re)/2,y:(x-re)/2},x4:{x:(z-re)/2+re,y:(x-re)/2+re}}}},ra.internal.getWidth=function(b){var z=0;return(0,Oe.Z)(b)==="object"&&(z=D0(b.Rect[2])),z},ra.internal.getHeight=function(b){var z=0;return(0,Oe.Z)(b)==="object"&&(z=D0(b.Rect[3])),z};var Ml=qA.addField=function(b){if(Rt(this,b),!(b instanceof jr))throw new Error("Invalid argument passed to jsPDF.addField.");var z;return(z=b).scope.internal.acroformPlugin.printedOut&&(z.scope.internal.acroformPlugin.printedOut=!1,z.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),z.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(z),b.page=b.scope.internal.getCurrentPageInfo().pageNumber,this};qA.AcroFormChoiceField=oa,qA.AcroFormListBox=Lo,qA.AcroFormComboBox=ka,qA.AcroFormEditBox=Oa,qA.AcroFormButton=ho,qA.AcroFormPushButton=Ko,qA.AcroFormRadioButton=Ao,qA.AcroFormCheckBox=gi,qA.AcroFormTextField=Vo,qA.AcroFormPasswordField=mo,qA.AcroFormAppearance=ra,qA.AcroForm={ChoiceField:oa,ListBox:Lo,ComboBox:ka,EditBox:Oa,Button:ho,PushButton:Ko,RadioButton:Ao,CheckBox:gi,TextField:Vo,PasswordField:mo,Appearance:ra},Wa.AcroForm={ChoiceField:oa,ListBox:Lo,ComboBox:ka,EditBox:Oa,Button:ho,PushButton:Ko,RadioButton:Ao,CheckBox:gi,TextField:Vo,PasswordField:mo,Appearance:ra};var nu=Wa.AcroForm;function Ji(b){return b.reduce(function(z,x,re){return z[x]=re,z},{})}(function(b){var z="addImage_";b.__addimage__={};var x="UNKNOWN",re={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]]},ae=b.__addimage__.getImageFileTypeByImageData=function(Ft,zt){var pn,gn,qn,nr,ir,Wn=x;if((zt=zt||x)==="RGBA"||Ft.data!==void 0&&Ft.data instanceof Uint8ClampedArray&&"height"in Ft&&"width"in Ft)return"RGBA";if(vr(Ft))for(ir in re)for(qn=re[ir],pn=0;pn<qn.length;pn+=1){for(nr=!0,gn=0;gn<qn[pn].length;gn+=1)if(qn[pn][gn]!==void 0&&qn[pn][gn]!==Ft[gn]){nr=!1;break}if(nr===!0){Wn=ir;break}}else for(ir in re)for(qn=re[ir],pn=0;pn<qn.length;pn+=1){for(nr=!0,gn=0;gn<qn[pn].length;gn+=1)if(qn[pn][gn]!==void 0&&qn[pn][gn]!==Ft.charCodeAt(gn)){nr=!1;break}if(nr===!0){Wn=ir;break}}return Wn===x&&zt!==x&&(Wn=zt),Wn},se=function Ft(zt){for(var pn=this.internal.write,gn=this.internal.putStream,qn=(0,this.internal.getFilters)();qn.indexOf("FlateEncode")!==-1;)qn.splice(qn.indexOf("FlateEncode"),1);zt.objectId=this.internal.newObject();var nr=[];if(nr.push({key:"Type",value:"/XObject"}),nr.push({key:"Subtype",value:"/Image"}),nr.push({key:"Width",value:zt.width}),nr.push({key:"Height",value:zt.height}),zt.colorSpace===xt.INDEXED?nr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(zt.palette.length/3-1)+" "+("sMask"in zt&&zt.sMask!==void 0?zt.objectId+2:zt.objectId+1)+" 0 R]"}):(nr.push({key:"ColorSpace",value:"/"+zt.colorSpace}),zt.colorSpace===xt.DEVICE_CMYK&&nr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),nr.push({key:"BitsPerComponent",value:zt.bitsPerComponent}),"decodeParameters"in zt&&zt.decodeParameters!==void 0&&nr.push({key:"DecodeParms",value:"<<"+zt.decodeParameters+">>"}),"transparency"in zt&&Array.isArray(zt.transparency)&&zt.transparency.length>0){for(var ir="",Wn=0,cr=zt.transparency.length;Wn<cr;Wn++)ir+=zt.transparency[Wn]+" "+zt.transparency[Wn]+" ";nr.push({key:"Mask",value:"["+ir+"]"})}zt.sMask!==void 0&&nr.push({key:"SMask",value:zt.objectId+1+" 0 R"});var Jr=zt.filter!==void 0?["/"+zt.filter]:void 0;if(gn({data:zt.data,additionalKeyValues:nr,alreadyAppliedFilters:Jr,objectId:zt.objectId}),pn("endobj"),"sMask"in zt&&zt.sMask!==void 0){var _r,Ct=(_r=zt.sMaskBitsPerComponent)!==null&&_r!==void 0?_r:zt.bitsPerComponent,Jt={width:zt.width,height:zt.height,colorSpace:"DeviceGray",bitsPerComponent:Ct,data:zt.sMask};"filter"in zt&&(Jt.decodeParameters="/Predictor ".concat(zt.predictor," /Colors 1 /BitsPerComponent ").concat(Ct," /Columns ").concat(zt.width),Jt.filter=zt.filter),Ft.call(this,Jt)}if(zt.colorSpace===xt.INDEXED){var ln=this.internal.newObject();gn({data:xn(new Uint8Array(zt.palette)),objectId:ln}),pn("endobj")}},Ee=function(){var Ft=this.internal.collections[z+"images"];for(var zt in Ft)se.call(this,Ft[zt])},Be=function(){var Ft,zt=this.internal.collections[z+"images"],pn=this.internal.write;for(var gn in zt)pn("/I"+(Ft=zt[gn]).index,Ft.objectId,"0","R")},xe=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ee),this.internal.events.subscribe("putXobjectDict",Be))},Ne=function(){var Ft=this.internal.collections[z+"images"];return xe.call(this),Ft},We=function(){return Object.keys(this.internal.collections[z+"images"]).length},At=function(Ft){return typeof b["process"+Ft.toUpperCase()]=="function"},mt=function(Ft){return(0,Oe.Z)(Ft)==="object"&&Ft.nodeType===1},$e=function(Ft,zt){if(Ft.nodeName==="IMG"&&Ft.hasAttribute("src")){var pn=""+Ft.getAttribute("src");if(pn.indexOf("data:image/")===0)return Wg(unescape(pn).split("base64,").pop());var gn=b.loadFile(pn,!0);if(gn!==void 0)return gn}if(Ft.nodeName==="CANVAS"){if(Ft.width===0||Ft.height===0)throw new Error("Given canvas must have data. Canvas width: "+Ft.width+", height: "+Ft.height);var qn;switch(zt){case"PNG":qn="image/png";break;case"WEBP":qn="image/webp";break;default:qn="image/jpeg"}return Wg(Ft.toDataURL(qn,1).split("base64,").pop())}},Mt=function(Ft){var zt=this.internal.collections[z+"images"];if(zt){for(var pn in zt)if(Ft===zt[pn].alias)return zt[pn]}},Tt=function(Ft,zt,pn){return Ft||zt||(Ft=-96,zt=-96),Ft<0&&(Ft=-1*pn.width*72/Ft/this.internal.scaleFactor),zt<0&&(zt=-1*pn.height*72/zt/this.internal.scaleFactor),Ft===0&&(Ft=zt*pn.width/pn.height),zt===0&&(zt=Ft*pn.height/pn.width),[Ft,zt]},Ht=function(Ft,zt,pn,gn,qn,nr){var ir=Tt.call(this,pn,gn,qn),Wn=this.internal.getCoordinateString,cr=this.internal.getVerticalCoordinateString,Jr=Ne.call(this);if(pn=ir[0],gn=ir[1],Jr[qn.index]=qn,nr){nr*=Math.PI/180;var _r=Math.cos(nr),Ct=Math.sin(nr),Jt=function(bn){return bn.toFixed(4)},ln=[Jt(_r),Jt(Ct),Jt(-1*Ct),Jt(_r),0,0,"cm"]}this.internal.write("q"),nr?(this.internal.write([1,"0","0",1,Wn(Ft),cr(zt+gn),"cm"].join(" ")),this.internal.write(ln.join(" ")),this.internal.write([Wn(pn),"0","0",Wn(gn),"0","0","cm"].join(" "))):this.internal.write([Wn(pn),"0","0",Wn(gn),Wn(Ft),cr(zt+gn),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qn.index+" Do"),this.internal.write("Q")},xt=b.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"};b.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 Bn=b.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},cn=b.__addimage__.sHashCode=function(Ft){var zt,pn,gn=0;if(typeof Ft=="string")for(pn=Ft.length,zt=0;zt<pn;zt++)gn=(gn<<5)-gn+Ft.charCodeAt(zt),gn|=0;else if(vr(Ft))for(pn=Ft.byteLength/2,zt=0;zt<pn;zt++)gn=(gn<<5)-gn+Ft[zt],gn|=0;return gn},en=b.__addimage__.validateStringAsBase64=function(Ft){(Ft=Ft||"").toString().trim();var zt=!0;return Ft.length===0&&(zt=!1),Ft.length%4!=0&&(zt=!1),/^[A-Za-z0-9+/]+$/.test(Ft.substr(0,Ft.length-2))===!1&&(zt=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Ft.substr(-2))===!1&&(zt=!1),zt},Yn=b.__addimage__.extractImageFromDataUrl=function(Ft){if(Ft==null||!(Ft=Ft.trim()).startsWith("data:"))return null;var zt=Ft.indexOf(",");return zt<0?null:Ft.substring(0,zt).trim().endsWith("base64")?Ft.substring(zt+1):null};b.__addimage__.isArrayBuffer=function(Ft){return Ft instanceof ArrayBuffer};var vr=b.__addimage__.isArrayBufferView=function(Ft){return Ft instanceof Int8Array||Ft instanceof Uint8Array||Ft instanceof Uint8ClampedArray||Ft instanceof Int16Array||Ft instanceof Uint16Array||Ft instanceof Int32Array||Ft instanceof Uint32Array||Ft instanceof Float32Array||Ft instanceof Float64Array},rr=b.__addimage__.binaryStringToUint8Array=function(Ft){for(var zt=Ft.length,pn=new Uint8Array(zt),gn=0;gn<zt;gn++)pn[gn]=Ft.charCodeAt(gn);return pn},xn=b.__addimage__.arrayBufferToBinaryString=function(Ft){for(var zt="",pn=vr(Ft)?Ft:new Uint8Array(Ft),gn=0;gn<pn.length;gn+=8192)zt+=String.fromCharCode.apply(null,pn.subarray(gn,gn+8192));return zt};b.addImage=function(){var Ft,zt,pn,gn,qn,nr,ir,Wn,cr;if(typeof arguments[1]=="number"?(zt=x,pn=arguments[1],gn=arguments[2],qn=arguments[3],nr=arguments[4],ir=arguments[5],Wn=arguments[6],cr=arguments[7]):(zt=arguments[1],pn=arguments[2],gn=arguments[3],qn=arguments[4],nr=arguments[5],ir=arguments[6],Wn=arguments[7],cr=arguments[8]),(0,Oe.Z)(Ft=arguments[0])==="object"&&!mt(Ft)&&"imageData"in Ft){var Jr=Ft;Ft=Jr.imageData,zt=Jr.format||zt||x,pn=Jr.x||pn||0,gn=Jr.y||gn||0,qn=Jr.w||Jr.width||qn,nr=Jr.h||Jr.height||nr,ir=Jr.alias||ir,Wn=Jr.compression||Wn,cr=Jr.rotation||Jr.angle||cr}var _r=this.internal.getFilters();if(Wn===void 0&&_r.indexOf("FlateEncode")!==-1&&(Wn="SLOW"),isNaN(pn)||isNaN(gn))throw new Error("Invalid coordinates passed to jsPDF.addImage");xe.call(this);var Ct=nn.call(this,Ft,zt,ir,Wn);return Ht.call(this,pn,gn,qn,nr,Ct,cr),this};var nn=function(Ft,zt,pn,gn){var qn,nr,ir;if(typeof Ft=="string"&&ae(Ft)===x){Ft=unescape(Ft);var Wn=Mn(Ft,!1);(Wn!==""||(Wn=b.loadFile(Ft,!0))!==void 0)&&(Ft=Wn)}if(mt(Ft)&&(Ft=$e(Ft,zt)),zt=ae(Ft,zt),!At(zt))throw new Error("addImage does not support files of type '"+zt+"', please ensure that a plugin for '"+zt+"' support is added.");if(((ir=pn)==null||ir.length===0)&&(pn=function(cr){return typeof cr=="string"||vr(cr)?cn(cr):vr(cr.data)?cn(cr.data):null}(Ft)),(qn=Mt.call(this,pn))||(Ft instanceof Uint8Array||zt==="RGBA"||(nr=Ft,Ft=rr(Ft)),qn=this["process"+zt.toUpperCase()](Ft,We.call(this),pn,function(cr){return cr&&typeof cr=="string"&&(cr=cr.toUpperCase()),cr in b.image_compression?cr:Bn.NONE}(gn),nr)),!qn)throw new Error("An unknown error occurred whilst processing the image.");return qn},Mn=b.__addimage__.convertBase64ToBinaryString=function(Ft,zt){zt=typeof zt!="boolean"||zt;var pn,gn="";if(typeof Ft=="string"){var qn;pn=(qn=Yn(Ft))!==null&&qn!==void 0?qn:Ft;try{gn=Wg(pn)}catch(nr){if(zt)throw en(pn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+nr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return gn};b.getImageProperties=function(Ft){var zt,pn,gn="";if(mt(Ft)&&(Ft=$e(Ft)),typeof Ft=="string"&&ae(Ft)===x&&((gn=Mn(Ft,!1))===""&&(gn=b.loadFile(Ft)||""),Ft=gn),pn=ae(Ft),!At(pn))throw new Error("addImage does not support files of type '"+pn+"', please ensure that a plugin for '"+pn+"' support is added.");if(Ft instanceof Uint8Array||(Ft=rr(Ft)),!(zt=this["process"+pn.toUpperCase()](Ft)))throw new Error("An unknown error occurred whilst processing the image");return zt.fileType=pn,zt}})(Wa.API),function(b){var z=function(x){if(x!==void 0&&x!="")return!0};Wa.API.events.push(["addPage",function(x){this.internal.getPageInfo(x.pageNumber).pageContext.annotations=[]}]),b.events.push(["putPage",function(x){for(var re,ae,se,Ee=this.internal.getCoordinateString,Be=this.internal.getVerticalCoordinateString,xe=this.internal.getPageInfoByObjId(x.objId),Ne=x.pageContext.annotations,We=!1,At=0;At<Ne.length&&!We;At++)switch((re=Ne[At]).type){case"link":(z(re.options.url)||z(re.options.pageNumber))&&(We=!0);break;case"reference":case"text":case"freetext":We=!0}if(We!=0){this.internal.write("/Annots [");for(var mt=0;mt<Ne.length;mt++){re=Ne[mt];var $e=this.internal.pdfEscape,Mt=this.internal.getEncryptor(x.objId);switch(re.type){case"reference":this.internal.write(" "+re.object.objId+" 0 R ");break;case"text":var Tt=this.internal.newAdditionalObject(),Ht=this.internal.newAdditionalObject(),xt=this.internal.getEncryptor(Tt.objId),Bn=re.title||"Note";se="<</Type /Annot /Subtype /Text "+(ae="/Rect ["+Ee(re.bounds.x)+" "+Be(re.bounds.y+re.bounds.h)+" "+Ee(re.bounds.x+re.bounds.w)+" "+Be(re.bounds.y)+"] ")+"/Contents ("+$e(xt(re.contents))+")",se+=" /Popup "+Ht.objId+" 0 R",se+=" /P "+xe.objId+" 0 R",se+=" /T ("+$e(xt(Bn))+") >>",Tt.content=se;var cn=Tt.objId+" 0 R";se="<</Type /Annot /Subtype /Popup "+(ae="/Rect ["+Ee(re.bounds.x+30)+" "+Be(re.bounds.y+re.bounds.h)+" "+Ee(re.bounds.x+re.bounds.w+30)+" "+Be(re.bounds.y)+"] ")+" /Parent "+cn,re.open&&(se+=" /Open true"),se+=" >>",Ht.content=se,this.internal.write(Tt.objId,"0 R",Ht.objId,"0 R");break;case"freetext":ae="/Rect ["+Ee(re.bounds.x)+" "+Be(re.bounds.y)+" "+Ee(re.bounds.x+re.bounds.w)+" "+Be(re.bounds.y+re.bounds.h)+"] ";var en=re.color||"#000000";se="<</Type /Annot /Subtype /FreeText "+ae+"/Contents ("+$e(Mt(re.contents))+")",se+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+en+")",se+=" /Border [0 0 0]",se+=" >>",this.internal.write(se);break;case"link":if(re.options.name){var Yn=this.annotations._nameMap[re.options.name];re.options.pageNumber=Yn.page,re.options.top=Yn.y}else re.options.top||(re.options.top=0);if(ae="/Rect ["+re.finalBounds.x+" "+re.finalBounds.y+" "+re.finalBounds.w+" "+re.finalBounds.h+"] ",se="",re.options.url)se="<</Type /Annot /Subtype /Link "+ae+"/Border [0 0 0] /A <</S /URI /URI ("+$e(Mt(re.options.url))+") >>";else if(re.options.pageNumber)switch(se="<</Type /Annot /Subtype /Link "+ae+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(re.options.pageNumber).objId+" 0 R",re.options.magFactor=re.options.magFactor||"XYZ",re.options.magFactor){case"Fit":se+=" /Fit]";break;case"FitH":se+=" /FitH "+re.options.top+"]";break;case"FitV":re.options.left=re.options.left||0,se+=" /FitV "+re.options.left+"]";break;default:var vr=Be(re.options.top);re.options.left=re.options.left||0,re.options.zoom===void 0&&(re.options.zoom=0),se+=" /XYZ "+re.options.left+" "+vr+" "+re.options.zoom+"]"}se!=""&&(se+=" >>",this.internal.write(se))}}this.internal.write("]")}}]),b.createAnnotation=function(x){var re=this.internal.getCurrentPageInfo();switch(x.type){case"link":this.link(x.bounds.x,x.bounds.y,x.bounds.w,x.bounds.h,x);break;case"text":case"freetext":re.pageContext.annotations.push(x)}},b.link=function(x,re,ae,se,Ee){var Be=this.internal.getCurrentPageInfo(),xe=this.internal.getCoordinateString,Ne=this.internal.getVerticalCoordinateString;Be.pageContext.annotations.push({finalBounds:{x:xe(x),y:Ne(re),w:xe(x+ae),h:Ne(re+se)},options:Ee,type:"link"})},b.textWithLink=function(x,re,ae,se){var Ee,Be,xe=this.getTextWidth(x),Ne=this.internal.getLineHeight()/this.internal.scaleFactor;if(se.maxWidth!==void 0){Be=se.maxWidth;var We=this.splitTextToSize(x,Be).length;Ee=Math.ceil(Ne*We)}else Be=xe,Ee=Ne;return this.text(x,re,ae,se),ae+=.2*Ne,se.align==="center"&&(re-=xe/2),se.align==="right"&&(re-=xe),this.link(re,ae-Ne,Be,Ee,se),xe},b.getTextWidth=function(x){var re=this.internal.getFontSize();return this.getStringUnitWidth(x)*re/this.internal.scaleFactor}}(Wa.API),function(b){var z={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},x={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}},re={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ae=[1570,1571,1573,1575];b.__arabicParser__={};var se=b.__arabicParser__.isInArabicSubstitutionA=function(Tt){return z[Tt.charCodeAt(0)]!==void 0},Ee=b.__arabicParser__.isArabicLetter=function(Tt){return typeof Tt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Tt)},Be=b.__arabicParser__.isArabicEndLetter=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length<=2},xe=b.__arabicParser__.isArabicAlfLetter=function(Tt){return Ee(Tt)&&ae.indexOf(Tt.charCodeAt(0))>=0};b.__arabicParser__.arabicLetterHasIsolatedForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=1};var Ne=b.__arabicParser__.arabicLetterHasFinalForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=2};b.__arabicParser__.arabicLetterHasInitialForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=3};var We=b.__arabicParser__.arabicLetterHasMedialForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length==4},At=b.__arabicParser__.resolveLigatures=function(Tt){var Ht=0,xt=x,Bn="",cn=0;for(Ht=0;Ht<Tt.length;Ht+=1)xt[Tt.charCodeAt(Ht)]!==void 0?(cn++,typeof(xt=xt[Tt.charCodeAt(Ht)])=="number"&&(Bn+=String.fromCharCode(xt),xt=x,cn=0),Ht===Tt.length-1&&(xt=x,Bn+=Tt.charAt(Ht-(cn-1)),Ht-=cn-1,cn=0)):(xt=x,Bn+=Tt.charAt(Ht-cn),Ht-=cn,cn=0);return Bn};b.__arabicParser__.isArabicDiacritic=function(Tt){return Tt!==void 0&&re[Tt.charCodeAt(0)]!==void 0};var mt=b.__arabicParser__.getCorrectForm=function(Tt,Ht,xt){return Ee(Tt)?se(Tt)===!1?-1:!Ne(Tt)||!Ee(Ht)&&!Ee(xt)||!Ee(xt)&&Be(Ht)||Be(Tt)&&!Ee(Ht)||Be(Tt)&&xe(Ht)||Be(Tt)&&Be(Ht)?0:We(Tt)&&Ee(Ht)&&!Be(Ht)&&Ee(xt)&&Ne(xt)?3:Be(Tt)||!Ee(xt)?1:2:-1},$e=function(Tt){var Ht=0,xt=0,Bn=0,cn="",en="",Yn="",vr=(Tt=Tt||"").split("\\s+"),rr=[];for(Ht=0;Ht<vr.length;Ht+=1){for(rr.push(""),xt=0;xt<vr[Ht].length;xt+=1)cn=vr[Ht][xt],en=vr[Ht][xt-1],Yn=vr[Ht][xt+1],Ee(cn)?(Bn=mt(cn,en,Yn),rr[Ht]+=Bn!==-1?String.fromCharCode(z[cn.charCodeAt(0)][Bn]):cn):rr[Ht]+=cn;rr[Ht]=At(rr[Ht])}return rr.join(" ")},Mt=b.__arabicParser__.processArabic=b.processArabic=function(){var Tt,Ht=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,xt=[];if(Array.isArray(Ht)){var Bn=0;for(xt=[],Bn=0;Bn<Ht.length;Bn+=1)Array.isArray(Ht[Bn])?xt.push([$e(Ht[Bn][0]),Ht[Bn][1],Ht[Bn][2]]):xt.push([$e(Ht[Bn])]);Tt=xt}else Tt=$e(Ht);return typeof arguments[0]=="string"?Tt:(arguments[0].text=Tt,arguments[0])};b.events.push(["preProcessText",Mt])}(Wa.API),Wa.API.autoPrint=function(b){var z;return(b=b||{}).variant=b.variant||"non-conform",b.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){z=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 "+z+" 0 R")})),this},function(b){var z=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(Be){x=Be}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Be){re=isNaN(Be)||Number.isInteger(Be)===!1||Be<0?150:Be,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var ae=300;Object.defineProperty(this,"height",{get:function(){return ae},set:function(Be){ae=isNaN(Be)||Number.isInteger(Be)===!1||Be<0?300:Be,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ae+1)}});var se=[];Object.defineProperty(this,"childNodes",{get:function(){return se},set:function(Be){se=Be}});var Ee={};Object.defineProperty(this,"style",{get:function(){return Ee},set:function(Be){Ee=Be}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(x,re){var ae;if((x=x||"2d")!=="2d")return null;for(ae in re)this.pdf.context2d.hasOwnProperty(ae)&&(this.pdf.context2d[ae]=re[ae]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},b.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(Wa.API),function(b){var z={left:0,top:0,bottom:0,right:0},x=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),ae.call(this))},ae=function(){this.internal.__cell__.lastCell=new se,this.internal.__cell__.pages=1},se=function(){var xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return xe},set:function(Tt){xe=Tt}});var Ne=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ne},set:function(Tt){Ne=Tt}});var We=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return We},set:function(Tt){We=Tt}});var At=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return At},set:function(Tt){At=Tt}});var mt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return mt},set:function(Tt){mt=Tt}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(Tt){$e=Tt}});var Mt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Mt},set:function(Tt){Mt=Tt}}),this};se.prototype.clone=function(){return new se(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},se.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},b.setHeaderFunction=function(xe){return re.call(this),this.internal.__cell__.headerFunction=typeof xe=="function"?xe:void 0,this},b.getTextDimensions=function(xe,Ne){re.call(this);var We=(Ne=Ne||{}).fontSize||this.getFontSize(),At=Ne.font||this.getFont(),mt=Ne.scaleFactor||this.internal.scaleFactor,$e=0,Mt=0,Tt=0,Ht=this;if(!Array.isArray(xe)&&typeof xe!="string"){if(typeof xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");xe=String(xe)}var xt=Ne.maxWidth;xt>0?typeof xe=="string"?xe=this.splitTextToSize(xe,xt):Object.prototype.toString.call(xe)==="[object Array]"&&(xe=xe.reduce(function(cn,en){return cn.concat(Ht.splitTextToSize(en,xt))},[])):xe=Array.isArray(xe)?xe:[xe];for(var Bn=0;Bn<xe.length;Bn++)$e<(Tt=this.getStringUnitWidth(xe[Bn],{font:At})*We)&&($e=Tt);return $e!==0&&(Mt=xe.length),{w:$e/=mt,h:Math.max((Mt*We*this.getLineHeightFactor()-We*(this.getLineHeightFactor()-1))/mt,0)}},b.cellAddPage=function(){re.call(this),this.addPage();var xe=this.internal.__cell__.margins||z;return this.internal.__cell__.lastCell=new se(xe.left,xe.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ee=b.cell=function(){var xe;xe=arguments[0]instanceof se?arguments[0]:new se(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),re.call(this);var Ne=this.internal.__cell__.lastCell,We=this.internal.__cell__.padding,At=this.internal.__cell__.margins||z,mt=this.internal.__cell__.tableHeaderRow,$e=this.internal.__cell__.printHeaders;return Ne.lineNumber!==void 0&&(Ne.lineNumber===xe.lineNumber?(xe.x=(Ne.x||0)+(Ne.width||0),xe.y=Ne.y||0):Ne.y+Ne.height+xe.height+At.bottom>this.getPageHeight()?(this.cellAddPage(),xe.y=At.top,$e&&mt&&(this.printHeaderRow(xe.lineNumber,!0),xe.y+=mt[0].height)):xe.y=Ne.y+Ne.height||xe.y),xe.text[0]!==void 0&&(this.rect(xe.x,xe.y,xe.width,xe.height,x===!0?"FD":void 0),xe.align==="right"?this.text(xe.text,xe.x+xe.width-We,xe.y+We,{align:"right",baseline:"top"}):xe.align==="center"?this.text(xe.text,xe.x+xe.width/2,xe.y+We,{align:"center",baseline:"top",maxWidth:xe.width-We-We}):this.text(xe.text,xe.x+We,xe.y+We,{align:"left",baseline:"top",maxWidth:xe.width-We-We})),this.internal.__cell__.lastCell=xe,this};b.table=function(xe,Ne,We,At,mt){if(re.call(this),!We)throw new Error("No data for PDF table.");var $e,Mt,Tt,Ht,xt=[],Bn=[],cn=[],en={},Yn={},vr=[],rr=[],xn=(mt=mt||{}).autoSize||!1,nn=mt.printHeaders!==!1,Mn=mt.css&&mt.css["font-size"]!==void 0?16*mt.css["font-size"]:mt.fontSize||12,Ft=mt.margins||Object.assign({width:this.getPageWidth()},z),zt=typeof mt.padding=="number"?mt.padding:3,pn=mt.headerBackgroundColor||"#c8c8c8",gn=mt.headerTextColor||"#000";if(ae.call(this),this.internal.__cell__.printHeaders=nn,this.internal.__cell__.margins=Ft,this.internal.__cell__.table_font_size=Mn,this.internal.__cell__.padding=zt,this.internal.__cell__.headerBackgroundColor=pn,this.internal.__cell__.headerTextColor=gn,this.setFontSize(Mn),At==null)Bn=xt=Object.keys(We[0]),cn=xt.map(function(){return"left"});else if(Array.isArray(At)&&(0,Oe.Z)(At[0])==="object")for(xt=At.map(function(Jr){return Jr.name}),Bn=At.map(function(Jr){return Jr.prompt||Jr.name||""}),cn=At.map(function(Jr){return Jr.align||"left"}),$e=0;$e<At.length;$e+=1)Yn[At[$e].name]=.7499990551181103*At[$e].width;else Array.isArray(At)&&typeof At[0]=="string"&&(Bn=xt=At,cn=xt.map(function(){return"left"}));if(xn||Array.isArray(At)&&typeof At[0]=="string")for($e=0;$e<xt.length;$e+=1){for(en[Ht=xt[$e]]=We.map(function(Jr){return Jr[Ht]}),this.setFont(void 0,"bold"),vr.push(this.getTextDimensions(Bn[$e],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Mt=en[Ht],this.setFont(void 0,"normal"),Tt=0;Tt<Mt.length;Tt+=1)vr.push(this.getTextDimensions(Mt[Tt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Yn[Ht]=Math.max.apply(null,vr)+zt+zt,vr=[]}if(nn){var qn={};for($e=0;$e<xt.length;$e+=1)qn[xt[$e]]={},qn[xt[$e]].text=Bn[$e],qn[xt[$e]].align=cn[$e];var nr=Be.call(this,qn,Yn);rr=xt.map(function(Jr){return new se(xe,Ne,Yn[Jr],nr,qn[Jr].text,void 0,qn[Jr].align)}),this.setTableHeaderRow(rr),this.printHeaderRow(1,!1)}var ir=At.reduce(function(Jr,_r){return Jr[_r.name]=_r.align,Jr},{});for($e=0;$e<We.length;$e+=1){"rowStart"in mt&&mt.rowStart instanceof Function&&mt.rowStart({row:$e,data:We[$e]},this);var Wn=Be.call(this,We[$e],Yn);for(Tt=0;Tt<xt.length;Tt+=1){var cr=We[$e][xt[Tt]];"cellStart"in mt&&mt.cellStart instanceof Function&&mt.cellStart({row:$e,col:Tt,data:cr},this),Ee.call(this,new se(xe,Ne,Yn[xt[Tt]],Wn,cr,$e+2,ir[xt[Tt]]))}}return this.internal.__cell__.table_x=xe,this.internal.__cell__.table_y=Ne,this};var Be=function(xe,Ne){var We=this.internal.__cell__.padding,At=this.internal.__cell__.table_font_size,mt=this.internal.scaleFactor;return Object.keys(xe).map(function($e){var Mt=xe[$e];return this.splitTextToSize(Mt.hasOwnProperty("text")?Mt.text:Mt,Ne[$e]-We-We)},this).map(function($e){return this.getLineHeightFactor()*$e.length*At/mt+We+We},this).reduce(function($e,Mt){return Math.max($e,Mt)},0)};b.setTableHeaderRow=function(xe){re.call(this),this.internal.__cell__.tableHeaderRow=xe},b.printHeaderRow=function(xe,Ne){if(re.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var We;if(x=!0,typeof this.internal.__cell__.headerFunction=="function"){var At=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new se(At[0],At[1],At[2],At[3],void 0,-1)}this.setFont(void 0,"bold");for(var mt=[],$e=0;$e<this.internal.__cell__.tableHeaderRow.length;$e+=1){We=this.internal.__cell__.tableHeaderRow[$e].clone(),Ne&&(We.y=this.internal.__cell__.margins.top||0,mt.push(We)),We.lineNumber=xe;var Mt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ee.call(this,We),this.setTextColor(Mt)}mt.length>0&&this.setTableHeaderRow(mt),this.setFont(void 0,"normal"),x=!1}}(Wa.API);var js={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Bc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],cl=Ji(Bc),Bl=[100,200,300,400,500,600,700,800,900],Pd=Ji(Bl);function mu(b){var z=b.family.replace(/"|'/g,"").toLowerCase(),x=function(se){return js[se=se||"normal"]?se:"normal"}(b.style),re=function(se){return se?typeof se=="number"?se>=100&&se<=900&&se%100==0?se:400:/^\d00$/.test(se)?parseInt(se):se==="bold"?700:400:400}(b.weight),ae=function(se){return typeof cl[se=se||"normal"]=="number"?se:"normal"}(b.stretch);return{family:z,style:x,weight:re,stretch:ae,src:b.src||[],ref:b.ref||{name:z,style:[ae,x,re].join(" ")}}}function yc(b,z,x,re){var ae;for(ae=x;ae>=0&&ae<z.length;ae+=re)if(b[z[ae]])return b[z[ae]];for(ae=x;ae>=0&&ae<z.length;ae-=re)if(b[z[ae]])return b[z[ae]]}var Ed={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},ed={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Xu(b){return[b.stretch,b.style,b.weight,b.family].join(" ")}function td(b){return b.trimLeft()}function wc(b,z){for(var x=0;x<b.length;){if(b.charAt(x)===z)return[b.substring(0,x),b.substring(x+1)];x+=1}return null}function sg(b){var z=b.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return z===null?null:[z[0],b.substring(z[0].length)]}var nd,_p,Lp,jf,O0,Ip,Up,Np,Hm=["times"];function Dp(b,z,x,re,ae){var se=4,Ee=Qp;switch(ae){case Wa.API.image_compression.FAST:se=1,Ee=Op;break;case Wa.API.image_compression.MEDIUM:se=6,Ee=Tp;break;case Wa.API.image_compression.SLOW:se=9,Ee=kp}b=function(xe,Ne,We,At){for(var mt,$e=xe.length/Ne,Mt=new Uint8Array(xe.length+$e),Tt=[Nv,Op,Qp,Tp,kp],Ht=0;Ht<$e;Ht+=1){var xt=Ht*Ne,Bn=xe.subarray(xt,xt+Ne);if(At)Mt.set(At(Bn,We,mt),xt+Ht);else{for(var cn=Tt.length,en=[],Yn=0;Yn<cn;Yn+=1)en[Yn]=Tt[Yn](Bn,We,mt);var vr=Ov(en.concat());Mt.set(en[vr],xt+Ht)}mt=Bn}return Mt}(b,z,Math.ceil(x*re/8),Ee);var Be=En(b,{level:se});return Wa.API.__addimage__.arrayBufferToBinaryString(Be)}function Nv(b){var z=Array.apply([],b);return z.unshift(0),z}function Op(b,z){var x=b.length,re=[];re[0]=1;for(var ae=0;ae<x;ae+=1){var se=b[ae-z]||0;re[ae+1]=b[ae]-se+256&255}return re}function Qp(b,z,x){var re=b.length,ae=[];ae[0]=2;for(var se=0;se<re;se+=1){var Ee=x&&x[se]||0;ae[se+1]=b[se]-Ee+256&255}return ae}function Tp(b,z,x){var re=b.length,ae=[];ae[0]=3;for(var se=0;se<re;se+=1){var Ee=b[se-z]||0,Be=x&&x[se]||0;ae[se+1]=b[se]+256-(Ee+Be>>>1)&255}return ae}function kp(b,z,x){var re=b.length,ae=[];ae[0]=4;for(var se=0;se<re;se+=1){var Ee=Dv(b[se-z]||0,x&&x[se]||0,x&&x[se-z]||0);ae[se+1]=b[se]-Ee+256&255}return ae}function Dv(b,z,x){if(b===z&&z===x)return b;var re=Math.abs(z-x),ae=Math.abs(b-x),se=Math.abs(b+z-x-x);return re<=ae&&re<=se?b:ae<=se?z:x}function Ov(b){var z=b.map(function(x){return x.reduce(function(re,ae){return re+Math.abs(ae)},0)});return z.indexOf(Math.min.apply(null,z))}function Km(b,z,x){var re=z*x,ae=Math.floor(re/8),se=16-(re-8*ae+x),Ee=(1<<x)-1;return jp(b,ae)>>se&Ee}function Rp(b,z,x,re){var ae=x*re,se=Math.floor(ae/8),Ee=16-(ae-8*se+re),Be=(1<<re)-1,xe=(z&Be)<<Ee;(function(Ne,We,At){if(We+1<Ne.byteLength)Ne.setUint16(We,At,!1);else{var mt=At>>8&255;Ne.setUint8(We,mt)}})(b,se,jp(b,se)&~(Be<<Ee)&65535|xe)}function jp(b,z){return z+1<b.byteLength?b.getUint16(z,!1):b.getUint8(z)<<8}function Qv(b){var z=0;if(b[z++]!==71||b[z++]!==73||b[z++]!==70||b[z++]!==56||(b[z++]+1&253)!=56||b[z++]!==97)throw new Error("Invalid GIF 87a/89a header.");var x=b[z++]|b[z++]<<8,re=b[z++]|b[z++]<<8,ae=b[z++],se=ae>>7,Ee=1<<1+(7&ae);b[z++],b[z++];var Be=null,xe=null;se&&(Be=z,xe=Ee,z+=3*Ee);var Ne=!0,We=[],At=0,mt=null,$e=0,Mt=null;for(this.width=x,this.height=re;Ne&&z<b.length;)switch(b[z++]){case 33:switch(b[z++]){case 255:if(b[z]!==11||b[z+1]==78&&b[z+2]==69&&b[z+3]==84&&b[z+4]==83&&b[z+5]==67&&b[z+6]==65&&b[z+7]==80&&b[z+8]==69&&b[z+9]==50&&b[z+10]==46&&b[z+11]==48&&b[z+12]==3&&b[z+13]==1&&b[z+16]==0)z+=14,Mt=b[z++]|b[z++]<<8,z++;else for(z+=12;;){if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}break;case 249:if(b[z++]!==4||b[z+4]!==0)throw new Error("Invalid graphics extension block.");var Tt=b[z++];At=b[z++]|b[z++]<<8,mt=b[z++],1&Tt||(mt=null),$e=Tt>>2&7,z++;break;case 254:for(;;){if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}break;default:throw new Error("Unknown graphic control label: 0x"+b[z-1].toString(16))}break;case 44:var Ht=b[z++]|b[z++]<<8,xt=b[z++]|b[z++]<<8,Bn=b[z++]|b[z++]<<8,cn=b[z++]|b[z++]<<8,en=b[z++],Yn=en>>6&1,vr=1<<1+(7&en),rr=Be,xn=xe,nn=!1;en>>7&&(nn=!0,rr=z,xn=vr,z+=3*vr);var Mn=z;for(z++;;){var Ft;if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}We.push({x:Ht,y:xt,width:Bn,height:cn,has_local_palette:nn,palette_offset:rr,palette_size:xn,data_offset:Mn,data_length:z-Mn,transparent_index:mt,interlaced:!!Yn,delay:At,disposal:$e});break;case 59:Ne=!1;break;default:throw new Error("Unknown gif block: 0x"+b[z-1].toString(16))}this.numFrames=function(){return We.length},this.loopCount=function(){return Mt},this.frameInfo=function(zt){if(zt<0||zt>=We.length)throw new Error("Frame index out of range.");return We[zt]},this.decodeAndBlitFrameBGRA=function(zt,pn){var gn=this.frameInfo(zt),qn=gn.width*gn.height,nr=new Uint8Array(qn);Mp(b,gn.data_offset,nr,qn);var ir=gn.palette_offset,Wn=gn.transparent_index;Wn===null&&(Wn=256);var cr=gn.width,Jr=x-cr,_r=cr,Ct=4*(gn.y*x+gn.x),Jt=4*((gn.y+gn.height)*x+gn.x),ln=Ct,bn=4*Jr;gn.interlaced===!0&&(bn+=4*x*7);for(var Dn=8,$n=0,ar=nr.length;$n<ar;++$n){var lr=nr[$n];if(_r===0&&(_r=cr,(ln+=bn)>=Jt&&(bn=4*Jr+4*x*(Dn-1),ln=Ct+(cr+Jr)*(Dn<<1),Dn>>=1)),lr===Wn)ln+=4;else{var br=b[ir+3*lr],Vr=b[ir+3*lr+1],Ba=b[ir+3*lr+2];pn[ln++]=Ba,pn[ln++]=Vr,pn[ln++]=br,pn[ln++]=255}--_r}},this.decodeAndBlitFrameRGBA=function(zt,pn){var gn=this.frameInfo(zt),qn=gn.width*gn.height,nr=new Uint8Array(qn);Mp(b,gn.data_offset,nr,qn);var ir=gn.palette_offset,Wn=gn.transparent_index;Wn===null&&(Wn=256);var cr=gn.width,Jr=x-cr,_r=cr,Ct=4*(gn.y*x+gn.x),Jt=4*((gn.y+gn.height)*x+gn.x),ln=Ct,bn=4*Jr;gn.interlaced===!0&&(bn+=4*x*7);for(var Dn=8,$n=0,ar=nr.length;$n<ar;++$n){var lr=nr[$n];if(_r===0&&(_r=cr,(ln+=bn)>=Jt&&(bn=4*Jr+4*x*(Dn-1),ln=Ct+(cr+Jr)*(Dn<<1),Dn>>=1)),lr===Wn)ln+=4;else{var br=b[ir+3*lr],Vr=b[ir+3*lr+1],Ba=b[ir+3*lr+2];pn[ln++]=br,pn[ln++]=Vr,pn[ln++]=Ba,pn[ln++]=255}--_r}}}function Mp(b,z,x,re){for(var ae=b[z++],se=1<<ae,Ee=se+1,Be=Ee+1,xe=ae+1,Ne=(1<<xe)-1,We=0,At=0,mt=0,$e=b[z++],Mt=new Int32Array(4096),Tt=null;;){for(;We<16&&$e!==0;)At|=b[z++]<<We,We+=8,$e===1?$e=b[z++]:--$e;if(We<xe)break;var Ht=At&Ne;if(At>>=xe,We-=xe,Ht!==se){if(Ht===Ee)break;for(var xt=Ht<Be?Ht:Tt,Bn=0,cn=xt;cn>se;)cn=Mt[cn]>>8,++Bn;var en=cn;if(mt+Bn+(xt!==Ht?1:0)>re)return void gA.log("Warning, gif stream longer than expected.");x[mt++]=en;var Yn=mt+=Bn;for(xt!==Ht&&(x[mt++]=en),cn=xt;Bn--;)cn=Mt[cn],x[--Yn]=255&cn,cn>>=8;Tt!==null&&Be<4096&&(Mt[Be++]=Tt<<8|en,Be>=Ne+1&&xe<12&&(++xe,Ne=Ne<<1|1)),Tt=Ht}else Be=Ee+1,Ne=(1<<(xe=ae+1))-1,Tt=null}return mt!==re&&gA.log("Warning, gif stream shorter than expected."),x}function zm(b){var z,x,re,ae,se,Ee=Math.floor,Be=new Array(64),xe=new Array(64),Ne=new Array(64),We=new Array(64),At=new Array(65535),mt=new Array(65535),$e=new Array(64),Mt=new Array(64),Tt=[],Ht=0,xt=7,Bn=new Array(64),cn=new Array(64),en=new Array(64),Yn=new Array(256),vr=new Array(2048),rr=[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],xn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],nn=[0,1,2,3,4,5,6,7,8,9,10,11],Mn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ft=[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],zt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pn=[0,1,2,3,4,5,6,7,8,9,10,11],gn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],qn=[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 nr(Ct,Jt){for(var ln=0,bn=0,Dn=new Array,$n=1;$n<=16;$n++){for(var ar=1;ar<=Ct[$n];ar++)Dn[Jt[bn]]=[],Dn[Jt[bn]][0]=ln,Dn[Jt[bn]][1]=$n,bn++,ln++;ln*=2}return Dn}function ir(Ct){for(var Jt=Ct[0],ln=Ct[1]-1;ln>=0;)Jt&1<<ln&&(Ht|=1<<xt),ln--,--xt<0&&(Ht==255?(Wn(255),Wn(0)):Wn(Ht),xt=7,Ht=0)}function Wn(Ct){Tt.push(Ct)}function cr(Ct){Wn(Ct>>8&255),Wn(255&Ct)}function Jr(Ct,Jt,ln,bn,Dn){for(var $n,ar=Dn[0],lr=Dn[240],br=function(Mr,bo){var $a,po,uo,oA,_i,Xo,Di,Li,qa,ri,oo=0;for(qa=0;qa<8;++qa){$a=Mr[oo],po=Mr[oo+1],uo=Mr[oo+2],oA=Mr[oo+3],_i=Mr[oo+4],Xo=Mr[oo+5],Di=Mr[oo+6];var xs=$a+(Li=Mr[oo+7]),Hi=$a-Li,vi=po+Di,Si=po-Di,es=uo+Xo,fo=uo-Xo,TA=oA+_i,Io=oA-_i,Yo=xs+TA,ts=xs-TA,wi=vi+es,Po=vi-es;Mr[oo]=Yo+wi,Mr[oo+4]=Yo-wi;var iA=.707106781*(Po+ts);Mr[oo+2]=ts+iA,Mr[oo+6]=ts-iA;var qg=.382683433*((Yo=Io+fo)-(Po=Si+Hi)),Hl=.5411961*Yo+qg,Fd=1.306562965*Po+qg,ad=.707106781*(wi=fo+Si),Eo=Hi+ad,xd=Hi-ad;Mr[oo+5]=xd+Hl,Mr[oo+3]=xd-Hl,Mr[oo+1]=Eo+Fd,Mr[oo+7]=Eo-Fd,oo+=8}for(oo=0,qa=0;qa<8;++qa){$a=Mr[oo],po=Mr[oo+8],uo=Mr[oo+16],oA=Mr[oo+24],_i=Mr[oo+32],Xo=Mr[oo+40],Di=Mr[oo+48];var _d=$a+(Li=Mr[oo+56]),Yu=$a-Li,Ju=po+Di,ys=po-Di,dl=uo+Xo,yl=uo-Xo,ef=oA+_i,ug=oA-_i,Pc=_d+ef,od=_d-ef,Ec=Ju+dl,Fc=Ju-dl;Mr[oo]=Pc+Ec,Mr[oo+32]=Pc-Ec;var qu=.707106781*(Fc+od);Mr[oo+16]=od+qu,Mr[oo+48]=od-qu;var tf=.382683433*((Pc=ug+yl)-(Fc=ys+Yu)),id=.5411961*Pc+tf,nf=1.306562965*Fc+tf,Mf=.707106781*(Ec=yl+ys),Hf=Yu+Mf,Kf=Yu-Mf;Mr[oo+40]=Kf+id,Mr[oo+24]=Kf-id,Mr[oo+8]=Hf+nf,Mr[oo+56]=Hf-nf,oo++}for(qa=0;qa<64;++qa)ri=Mr[qa]*bo[qa],$e[qa]=ri>0?ri+.5|0:ri-.5|0;return $e}(Ct,Jt),Vr=0;Vr<64;++Vr)Mt[rr[Vr]]=br[Vr];var Ba=Mt[0]-ln;ln=Mt[0],Ba==0?ir(bn[0]):(ir(bn[mt[$n=32767+Ba]]),ir(At[$n]));for(var ma=63;ma>0&&Mt[ma]==0;)ma--;if(ma==0)return ir(ar),ln;for(var so,Gt=1;Gt<=ma;){for(var ya=Gt;Mt[Gt]==0&&Gt<=ma;)++Gt;var fi=Gt-ya;if(fi>=16){so=fi>>4;for(var wo=1;wo<=so;++wo)ir(lr);fi&=15}$n=32767+Mt[Gt],ir(Dn[(fi<<4)+mt[$n]]),ir(At[$n]),Gt++}return ma!=63&&ir(ar),ln}function _r(Ct){Ct=Math.min(Math.max(Ct,1),100),se!=Ct&&(function(Jt){for(var ln=[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],bn=0;bn<64;bn++){var Dn=Ee((ln[bn]*Jt+50)/100);Dn=Math.min(Math.max(Dn,1),255),Be[rr[bn]]=Dn}for(var $n=[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],ar=0;ar<64;ar++){var lr=Ee(($n[ar]*Jt+50)/100);lr=Math.min(Math.max(lr,1),255),xe[rr[ar]]=lr}for(var br=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vr=0,Ba=0;Ba<8;Ba++)for(var ma=0;ma<8;ma++)Ne[Vr]=1/(Be[rr[Vr]]*br[Ba]*br[ma]*8),We[Vr]=1/(xe[rr[Vr]]*br[Ba]*br[ma]*8),Vr++}(Ct<50?Math.floor(5e3/Ct):Math.floor(200-2*Ct)),se=Ct)}this.encode=function(Ct,Jt){Jt&&_r(Jt),Tt=new Array,Ht=0,xt=7,cr(65496),cr(65504),cr(16),Wn(74),Wn(70),Wn(73),Wn(70),Wn(0),Wn(1),Wn(1),Wn(0),cr(1),cr(1),Wn(0),Wn(0),function(){cr(65499),cr(132),Wn(0);for(var po=0;po<64;po++)Wn(Be[po]);Wn(1);for(var uo=0;uo<64;uo++)Wn(xe[uo])}(),function(po,uo){cr(65472),cr(17),Wn(8),cr(uo),cr(po),Wn(3),Wn(1),Wn(17),Wn(0),Wn(2),Wn(17),Wn(1),Wn(3),Wn(17),Wn(1)}(Ct.width,Ct.height),function(){cr(65476),cr(418),Wn(0);for(var po=0;po<16;po++)Wn(xn[po+1]);for(var uo=0;uo<=11;uo++)Wn(nn[uo]);Wn(16);for(var oA=0;oA<16;oA++)Wn(Mn[oA+1]);for(var _i=0;_i<=161;_i++)Wn(Ft[_i]);Wn(1);for(var Xo=0;Xo<16;Xo++)Wn(zt[Xo+1]);for(var Di=0;Di<=11;Di++)Wn(pn[Di]);Wn(17);for(var Li=0;Li<16;Li++)Wn(gn[Li+1]);for(var qa=0;qa<=161;qa++)Wn(qn[qa])}(),cr(65498),cr(12),Wn(3),Wn(1),Wn(0),Wn(2),Wn(17),Wn(3),Wn(17),Wn(0),Wn(63),Wn(0);var ln=0,bn=0,Dn=0;Ht=0,xt=7,this.encode.displayName="_encode_";for(var $n,ar,lr,br,Vr,Ba,ma,so,Gt,ya=Ct.data,fi=Ct.width,wo=Ct.height,Mr=4*fi,bo=0;bo<wo;){for($n=0;$n<Mr;){for(Vr=Mr*bo+$n,ma=-1,so=0,Gt=0;Gt<64;Gt++)Ba=Vr+(so=Gt>>3)*Mr+(ma=4*(7&Gt)),bo+so>=wo&&(Ba-=Mr*(bo+1+so-wo)),$n+ma>=Mr&&(Ba-=$n+ma-Mr+4),ar=ya[Ba++],lr=ya[Ba++],br=ya[Ba++],Bn[Gt]=(vr[ar]+vr[lr+256|0]+vr[br+512|0]>>16)-128,cn[Gt]=(vr[ar+768|0]+vr[lr+1024|0]+vr[br+1280|0]>>16)-128,en[Gt]=(vr[ar+1280|0]+vr[lr+1536|0]+vr[br+1792|0]>>16)-128;ln=Jr(Bn,Ne,ln,z,re),bn=Jr(cn,We,bn,x,ae),Dn=Jr(en,We,Dn,x,ae),$n+=32}bo+=8}if(xt>=0){var $a=[];$a[1]=xt+1,$a[0]=(1<<xt+1)-1,ir($a)}return cr(65497),new Uint8Array(Tt)},b=b||50,function(){for(var Ct=String.fromCharCode,Jt=0;Jt<256;Jt++)Yn[Jt]=Ct(Jt)}(),z=nr(xn,nn),x=nr(zt,pn),re=nr(Mn,Ft),ae=nr(gn,qn),function(){for(var Ct=1,Jt=2,ln=1;ln<=15;ln++){for(var bn=Ct;bn<Jt;bn++)mt[32767+bn]=ln,At[32767+bn]=[],At[32767+bn][1]=ln,At[32767+bn][0]=bn;for(var Dn=-(Jt-1);Dn<=-Ct;Dn++)mt[32767+Dn]=ln,At[32767+Dn]=[],At[32767+Dn][1]=ln,At[32767+Dn][0]=Jt-1+Dn;Ct<<=1,Jt<<=1}}(),function(){for(var Ct=0;Ct<256;Ct++)vr[Ct]=19595*Ct,vr[Ct+256|0]=38470*Ct,vr[Ct+512|0]=7471*Ct+32768,vr[Ct+768|0]=-11059*Ct,vr[Ct+1024|0]=-21709*Ct,vr[Ct+1280|0]=32768*Ct+8421375,vr[Ct+1536|0]=-27439*Ct,vr[Ct+1792|0]=-5329*Ct}(),_r(b)}function bc(b,z){if(this.pos=0,this.buffer=b,this.datav=new DataView(b.buffer),this.is_with_alpha=!!z,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Hp(b){function z(nn){if(!nn)throw Error("assert :P")}function x(nn,Mn,Ft){for(var zt=0;4>zt;zt++)if(nn[Mn+zt]!=Ft.charCodeAt(zt))return!0;return!1}function re(nn,Mn,Ft,zt,pn){for(var gn=0;gn<pn;gn++)nn[Mn+gn]=Ft[zt+gn]}function ae(nn,Mn,Ft,zt){for(var pn=0;pn<zt;pn++)nn[Mn+pn]=Ft}function se(nn){return new Int32Array(nn)}function Ee(nn,Mn){for(var Ft=[],zt=0;zt<nn;zt++)Ft.push(new Mn);return Ft}function Be(nn,Mn){var Ft=[];return function zt(pn,gn,qn){for(var nr=qn[gn],ir=0;ir<nr&&(pn.push(qn.length>gn+1?[]:new Mn),!(qn.length<gn+1));ir++)zt(pn[ir],gn+1,qn)}(Ft,0,nn),Ft}var xe=function(){var nn=this;function Mn(le,ve){for(var Ke=1<<ve-1>>>0;le&Ke;)Ke>>>=1;return Ke?(le&Ke-1)+Ke:le}function Ft(le,ve,Ke,Je,ut){z(!(Je%Ke));do le[ve+(Je-=Ke)]=ut;while(0<Je)}function zt(le,ve,Ke,Je,ut){if(z(2328>=ut),512>=ut)var vt=se(512);else if((vt=se(ut))==null)return 0;return function(bt,Lt,Qt,Wt,Fn,Xn){var Vt,Nn,zn=Lt,pr=1<<Qt,Zn=se(16),Sr=se(16);for(z(Fn!=0),z(Wt!=null),z(bt!=null),z(0<Qt),Nn=0;Nn<Fn;++Nn){if(15<Wt[Nn])return 0;++Zn[Wt[Nn]]}if(Zn[0]==Fn)return 0;for(Sr[1]=0,Vt=1;15>Vt;++Vt){if(Zn[Vt]>1<<Vt)return 0;Sr[Vt+1]=Sr[Vt]+Zn[Vt]}for(Nn=0;Nn<Fn;++Nn)Vt=Wt[Nn],0<Wt[Nn]&&(Xn[Sr[Vt]++]=Nn);if(Sr[15]==1)return(Wt=new pn).g=0,Wt.value=Xn[0],Ft(bt,zn,1,pr,Wt),pr;var yr,zr=-1,Ur=pr-1,ro=0,Ka=1,li=1,Va=1<<Qt;for(Nn=0,Vt=1,Fn=2;Vt<=Qt;++Vt,Fn<<=1){if(Ka+=li<<=1,0>(li-=Zn[Vt]))return 0;for(;0<Zn[Vt];--Zn[Vt])(Wt=new pn).g=Vt,Wt.value=Xn[Nn++],Ft(bt,zn+ro,Fn,Va,Wt),ro=Mn(ro,Vt)}for(Vt=Qt+1,Fn=2;15>=Vt;++Vt,Fn<<=1){if(Ka+=li<<=1,0>(li-=Zn[Vt]))return 0;for(;0<Zn[Vt];--Zn[Vt]){if(Wt=new pn,(ro&Ur)!=zr){for(zn+=Va,yr=1<<(zr=Vt)-Qt;15>zr&&!(0>=(yr-=Zn[zr]));)++zr,yr<<=1;pr+=Va=1<<(yr=zr-Qt),bt[Lt+(zr=ro&Ur)].g=yr+Qt,bt[Lt+zr].value=zn-Lt-zr}Wt.g=Vt-Qt,Wt.value=Xn[Nn++],Ft(bt,zn+(ro>>Qt),Fn,Va,Wt),ro=Mn(ro,Vt)}}return Ka!=2*Sr[15]-1?0:pr}(le,ve,Ke,Je,ut,vt)}function pn(){this.value=this.g=0}function gn(){this.value=this.g=0}function qn(){this.G=Ee(5,pn),this.H=se(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ee(ff,gn)}function nr(le,ve,Ke,Je){z(le!=null),z(ve!=null),z(2147483648>Je),le.Ca=254,le.I=0,le.b=-8,le.Ka=0,le.oa=ve,le.pa=Ke,le.Jd=ve,le.Yc=Ke+Je,le.Zc=4<=Je?Ke+Je-4+1:Ke,ar(le)}function ir(le,ve){for(var Ke=0;0<ve--;)Ke|=br(le,128)<<ve;return Ke}function Wn(le,ve){var Ke=ir(le,ve);return lr(le)?-Ke:Ke}function cr(le,ve,Ke,Je){var ut,vt=0;for(z(le!=null),z(ve!=null),z(4294967288>Je),le.Sb=Je,le.Ra=0,le.u=0,le.h=0,4<Je&&(Je=4),ut=0;ut<Je;++ut)vt+=ve[Ke+ut]<<8*ut;le.Ra=vt,le.bb=Je,le.oa=ve,le.pa=Ke}function Jr(le){for(;8<=le.u&&le.bb<le.Sb;)le.Ra>>>=8,le.Ra+=le.oa[le.pa+le.bb]<<fg-8>>>0,++le.bb,le.u-=8;bn(le)&&(le.h=1,le.u=0)}function _r(le,ve){if(z(0<=ve),!le.h&&ve<=xu){var Ke=ln(le)&Fu[ve];return le.u+=ve,Jr(le),Ke}return le.h=1,le.u=0}function Ct(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Jt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ln(le){return le.Ra>>>(le.u&fg-1)>>>0}function bn(le){return z(le.bb<=le.Sb),le.h||le.bb==le.Sb&&le.u>fg}function Dn(le,ve){le.u=ve,le.h=bn(le)}function $n(le){le.u>=jd&&(z(le.u>=jd),Jr(le))}function ar(le){z(le!=null&&le.oa!=null),le.pa<le.Zc?(le.I=(le.oa[le.pa++]|le.I<<8)>>>0,le.b+=8):(z(le!=null&&le.oa!=null),le.pa<le.Yc?(le.b+=8,le.I=le.oa[le.pa++]|le.I<<8):le.Ka?le.b=0:(le.I<<=8,le.b+=8,le.Ka=1))}function lr(le){return ir(le,1)}function br(le,ve){var Ke=le.Ca;0>le.b&&ar(le);var Je=le.b,ut=Ke*ve>>>8,vt=(le.I>>>Je>ut)+0;for(vt?(Ke-=ut,le.I-=ut+1<<Je>>>0):Ke=ut+1,Je=Ke,ut=0;256<=Je;)ut+=8,Je>>=8;return Je=7^ut+hg[Je],le.b-=Je,le.Ca=(Ke<<Je)-1,vt}function Vr(le,ve,Ke){le[ve+0]=Ke>>24&255,le[ve+1]=Ke>>16&255,le[ve+2]=Ke>>8&255,le[ve+3]=255&Ke}function Ba(le,ve){return le[ve+0]|le[ve+1]<<8}function ma(le,ve){return Ba(le,ve)|le[ve+2]<<16}function so(le,ve){return Ba(le,ve)|Ba(le,ve+2)<<16}function Gt(le,ve){var Ke=1<<ve;return z(le!=null),z(0<ve),le.X=se(Ke),le.X==null?0:(le.Mb=32-ve,le.Xa=ve,1)}function ya(le,ve){z(le!=null),z(ve!=null),z(le.Xa==ve.Xa),re(ve.X,0,le.X,0,1<<ve.Xa)}function fi(){this.X=[],this.Xa=this.Mb=0}function wo(le,ve,Ke,Je){z(Ke!=null),z(Je!=null);var ut=Ke[0],vt=Je[0];return ut==0&&(ut=(le*vt+ve/2)/ve),vt==0&&(vt=(ve*ut+le/2)/le),0>=ut||0>=vt?0:(Ke[0]=ut,Je[0]=vt,1)}function Mr(le,ve){return le+(1<<ve)-1>>>ve}function bo(le,ve){return((4278255360&le)+(4278255360&ve)>>>0&4278255360)+((16711935&le)+(16711935&ve)>>>0&16711935)>>>0}function $a(le,ve){nn[ve]=function(Ke,Je,ut,vt,bt,Lt,Qt){var Wt;for(Wt=0;Wt<bt;++Wt){var Fn=nn[le](Lt[Qt+Wt-1],ut,vt+Wt);Lt[Qt+Wt]=bo(Ke[Je+Wt],Fn)}}}function po(){this.ud=this.hd=this.jd=0}function uo(le,ve){return((4278124286&(le^ve))>>>1)+(le&ve)>>>0}function oA(le){return 0<=le&&256>le?le:0>le?0:255<le?255:void 0}function _i(le,ve){return oA(le+(le-ve+.5>>1))}function Xo(le,ve,Ke){return Math.abs(ve-Ke)-Math.abs(le-Ke)}function Di(le,ve,Ke,Je,ut,vt,bt){for(Je=vt[bt-1],Ke=0;Ke<ut;++Ke)vt[bt+Ke]=Je=bo(le[ve+Ke],Je)}function Li(le,ve,Ke,Je,ut){var vt;for(vt=0;vt<Ke;++vt){var bt=le[ve+vt],Lt=bt>>8&255,Qt=16711935&(Qt=(Qt=16711935&bt)+((Lt<<16)+Lt));Je[ut+vt]=(4278255360&bt)+Qt>>>0}}function qa(le,ve){ve.jd=255&le,ve.hd=le>>8&255,ve.ud=le>>16&255}function ri(le,ve,Ke,Je,ut,vt){var bt;for(bt=0;bt<Je;++bt){var Lt=ve[Ke+bt],Qt=Lt>>>8,Wt=Lt,Fn=255&(Fn=(Fn=Lt>>>16)+((le.jd<<24>>24)*(Qt<<24>>24)>>>5));Wt=255&(Wt=(Wt+=(le.hd<<24>>24)*(Qt<<24>>24)>>>5)+((le.ud<<24>>24)*(Fn<<24>>24)>>>5)),ut[vt+bt]=(4278255360&Lt)+(Fn<<16)+Wt}}function oo(le,ve,Ke,Je,ut){nn[ve]=function(vt,bt,Lt,Qt,Wt,Fn,Xn,Vt,Nn){for(Qt=Xn;Qt<Vt;++Qt)for(Xn=0;Xn<Nn;++Xn)Wt[Fn++]=ut(Lt[Je(vt[bt++])])},nn[le]=function(vt,bt,Lt,Qt,Wt,Fn,Xn){var Vt=8>>vt.b,Nn=vt.Ea,zn=vt.K[0],pr=vt.w;if(8>Vt)for(vt=(1<<vt.b)-1,pr=(1<<Vt)-1;bt<Lt;++bt){var Zn,Sr=0;for(Zn=0;Zn<Nn;++Zn)Zn&vt||(Sr=Je(Qt[Wt++])),Fn[Xn++]=ut(zn[Sr&pr]),Sr>>=Vt}else nn["VP8LMapColor"+Ke](Qt,Wt,zn,pr,Fn,Xn,bt,Lt,Nn)}}function xs(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=vt>>16&255,Je[ut++]=vt>>8&255,Je[ut++]=255&vt}}function Hi(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=vt>>16&255,Je[ut++]=vt>>8&255,Je[ut++]=255&vt,Je[ut++]=vt>>24&255}}function vi(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=(bt=le[ve++])>>16&240|bt>>12&15,bt=240&bt|bt>>28&15;Je[ut++]=vt,Je[ut++]=bt}}function Si(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=(bt=le[ve++])>>16&248|bt>>13&7,bt=bt>>5&224|bt>>3&31;Je[ut++]=vt,Je[ut++]=bt}}function es(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=255&vt,Je[ut++]=vt>>8&255,Je[ut++]=vt>>16&255}}function fo(le,ve,Ke,Je,ut,vt){if(vt==0)for(Ke=ve+Ke;ve<Ke;)Vr(Je,((vt=le[ve++])[0]>>24|vt[1]>>8&65280|vt[2]<<8&16711680|vt[3]<<24)>>>0),ut+=32;else re(Je,ut,le,ve,Ke)}function TA(le,ve){nn[ve][0]=nn[le+"0"],nn[ve][1]=nn[le+"1"],nn[ve][2]=nn[le+"2"],nn[ve][3]=nn[le+"3"],nn[ve][4]=nn[le+"4"],nn[ve][5]=nn[le+"5"],nn[ve][6]=nn[le+"6"],nn[ve][7]=nn[le+"7"],nn[ve][8]=nn[le+"8"],nn[ve][9]=nn[le+"9"],nn[ve][10]=nn[le+"10"],nn[ve][11]=nn[le+"11"],nn[ve][12]=nn[le+"12"],nn[ve][13]=nn[le+"13"],nn[ve][14]=nn[le+"0"],nn[ve][15]=nn[le+"0"]}function Io(le){return le==lp||le==up||le==Am||le==cp}function Yo(){this.eb=[],this.size=this.A=this.fb=0}function ts(){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 wi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Yo,this.f.kb=new ts,this.sd=null}function Po(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function iA(){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 qg(le){return alert("todo:WebPSamplerProcessPlane"),le.T}function Hl(le,ve){var Ke=le.T,Je=ve.ba.f.RGBA,ut=Je.eb,vt=Je.fb+le.ka*Je.A,bt=oc[ve.ba.S],Lt=le.y,Qt=le.O,Wt=le.f,Fn=le.N,Xn=le.ea,Vt=le.W,Nn=ve.cc,zn=ve.dc,pr=ve.Mc,Zn=ve.Nc,Sr=le.ka,yr=le.ka+le.T,zr=le.U,Ur=zr+1>>1;for(Sr==0?bt(Lt,Qt,null,null,Wt,Fn,Xn,Vt,Wt,Fn,Xn,Vt,ut,vt,null,null,zr):(bt(ve.ec,ve.fc,Lt,Qt,Nn,zn,pr,Zn,Wt,Fn,Xn,Vt,ut,vt-Je.A,ut,vt,zr),++Ke);Sr+2<yr;Sr+=2)Nn=Wt,zn=Fn,pr=Xn,Zn=Vt,Fn+=le.Rc,Vt+=le.Rc,vt+=2*Je.A,bt(Lt,(Qt+=2*le.fa)-le.fa,Lt,Qt,Nn,zn,pr,Zn,Wt,Fn,Xn,Vt,ut,vt-Je.A,ut,vt,zr);return Qt+=le.fa,le.j+yr<le.o?(re(ve.ec,ve.fc,Lt,Qt,zr),re(ve.cc,ve.dc,Wt,Fn,Ur),re(ve.Mc,ve.Nc,Xn,Vt,Ur),Ke--):1&yr||bt(Lt,Qt,null,null,Wt,Fn,Xn,Vt,Wt,Fn,Xn,Vt,ut,vt+Je.A,null,null,zr),Ke}function Fd(le,ve,Ke){var Je=le.F,ut=[le.J];if(Je!=null){var vt=le.U,bt=ve.ba.S,Lt=bt==im||bt==Am;ve=ve.ba.f.RGBA;var Qt=[0],Wt=le.ka;Qt[0]=le.T,le.Kb&&(Wt==0?--Qt[0]:(--Wt,ut[0]-=le.width),le.j+le.ka+le.T==le.o&&(Qt[0]=le.o-le.j-Wt));var Fn=ve.eb;Wt=ve.fb+Wt*ve.A,le=qp(Je,ut[0],le.width,vt,Qt,Fn,Wt+(Lt?0:3),ve.A),z(Ke==Qt),le&&Io(bt)&&Wh(Fn,Wt,Lt,vt,Qt,ve.A)}return 0}function ad(le){var ve=le.ma,Ke=ve.ba.S,Je=11>Ke,ut=Ke==am||Ke==om||Ke==im||Ke==sp||Ke==12||Io(Ke);if(ve.memory=null,ve.Ib=null,ve.Jb=null,ve.Nd=null,!jh(ve.Oa,le,ut?11:12))return 0;if(ut&&Io(Ke)&&Th(),le.da)alert("todo:use_scaling");else{if(Je){if(ve.Ib=qg,le.Kb){if(Ke=le.U+1>>1,ve.memory=se(le.U+2*Ke),ve.memory==null)return 0;ve.ec=ve.memory,ve.fc=0,ve.cc=ve.ec,ve.dc=ve.fc+le.U,ve.Mc=ve.cc,ve.Nc=ve.dc+Ke,ve.Ib=Hl,Th()}}else alert("todo:EmitYUV");ut&&(ve.Jb=Fd,Je&&_c())}if(Je&&!mv){for(le=0;256>le;++le)m1[le]=89858*(le-128)+lm>>sm,S1[le]=-22014*(le-128)+lm,v1[le]=-45773*(le-128),p1[le]=113618*(le-128)+lm>>sm;for(le=Xh;le<fp;++le)ve=76283*(le-16)+lm>>sm,B1[le-Xh]=Ad(ve,255),y1[le-Xh]=Ad(ve+8>>4,15);mv=1}return 1}function Eo(le){var ve=le.ma,Ke=le.U,Je=le.T;return z(!(1&le.ka)),0>=Ke||0>=Je?0:(Ke=ve.Ib(le,ve),ve.Jb!=null&&ve.Jb(le,ve,Ke),ve.Dc+=Ke,1)}function xd(le){le.ma.memory=null}function _d(le,ve,Ke,Je){return _r(le,8)!=47?0:(ve[0]=_r(le,14)+1,Ke[0]=_r(le,14)+1,Je[0]=_r(le,1),_r(le,3)!=0?0:!le.h)}function Yu(le,ve){if(4>le)return le+1;var Ke=le-2>>1;return(2+(1&le)<<Ke)+_r(ve,Ke)+1}function Ju(le,ve){return 120<ve?ve-120:1<=(Ke=((Ke=n1[ve-1])>>4)*le+(8-(15&Ke)))?Ke:1;var Ke}function ys(le,ve,Ke){var Je=ln(Ke),ut=le[ve+=255&Je].g-8;return 0<ut&&(Dn(Ke,Ke.u+8),Je=ln(Ke),ve+=le[ve].value,ve+=Je&(1<<ut)-1),Dn(Ke,Ke.u+le[ve].g),le[ve].value}function dl(le,ve,Ke){return Ke.g+=le.g,Ke.value+=le.value<<ve>>>0,z(8>=Ke.g),le.g}function yl(le,ve,Ke){var Je=le.xc;return z((ve=Je==0?0:le.vc[le.md*(Ke>>Je)+(ve>>Je)])<le.Wb),le.Ya[ve]}function ef(le,ve,Ke,Je){var ut=le.ab,vt=le.c*ve,bt=le.C;ve=bt+ve;var Lt=Ke,Qt=Je;for(Je=le.Ta,Ke=le.Ua;0<ut--;){var Wt=le.gc[ut],Fn=bt,Xn=ve,Vt=Lt,Nn=Qt,zn=(Qt=Je,Lt=Ke,Wt.Ea);switch(z(Fn<Xn),z(Xn<=Wt.nc),Wt.hc){case 2:_s(Vt,Nn,(Xn-Fn)*zn,Qt,Lt);break;case 0:var pr=Fn,Zn=Xn,Sr=Qt,yr=Lt,zr=(Va=Wt).Ea;pr==0&&(Hh(Vt,Nn,null,null,1,Sr,yr),Di(Vt,Nn+1,0,0,zr-1,Sr,yr+1),Nn+=zr,yr+=zr,++pr);for(var Ur=1<<Va.b,ro=Ur-1,Ka=Mr(zr,Va.b),li=Va.K,Va=Va.w+(pr>>Va.b)*Ka;pr<Zn;){var Oi=li,Ys=Va,ui=1;for(Yf(Vt,Nn,Sr,yr-zr,1,Sr,yr);ui<zr;){var Xa=(ui&~ro)+Ur;Xa>zr&&(Xa=zr),(0,zh[Oi[Ys++]>>8&15])(Vt,Nn+ +ui,Sr,yr+ui-zr,Xa-ui,Sr,yr+ui),ui=Xa}Nn+=zr,yr+=zr,++pr&ro||(Va+=Ka)}Xn!=Wt.nc&&re(Qt,Lt-zn,Qt,Lt+(Xn-Fn-1)*zn,zn);break;case 1:for(zn=Vt,Zn=Nn,zr=(Vt=Wt.Ea)-(yr=Vt&~(Sr=(Nn=1<<Wt.b)-1)),pr=Mr(Vt,Wt.b),Ur=Wt.K,Wt=Wt.w+(Fn>>Wt.b)*pr;Fn<Xn;){for(ro=Ur,Ka=Wt,li=new po,Va=Zn+yr,Oi=Zn+Vt;Zn<Va;)qa(ro[Ka++],li),Gh(li,zn,Zn,Nn,Qt,Lt),Zn+=Nn,Lt+=Nn;Zn<Oi&&(qa(ro[Ka++],li),Gh(li,zn,Zn,zr,Qt,Lt),Zn+=zr,Lt+=zr),++Fn&Sr||(Wt+=pr)}break;case 3:if(Vt==Qt&&Nn==Lt&&0<Wt.b){for(Zn=Qt,Vt=zn=Lt+(Xn-Fn)*zn-(yr=(Xn-Fn)*Mr(Wt.Ea,Wt.b)),Nn=Qt,Sr=Lt,pr=[],yr=(zr=yr)-1;0<=yr;--yr)pr[yr]=Nn[Sr+yr];for(yr=zr-1;0<=yr;--yr)Zn[Vt+yr]=pr[yr];em(Wt,Fn,Xn,Qt,zn,Qt,Lt)}else em(Wt,Fn,Xn,Vt,Nn,Qt,Lt)}Lt=Je,Qt=Ke}Qt!=Ke&&re(Je,Ke,Lt,Qt,vt)}function ug(le,ve){var Ke=le.V,Je=le.Ba+le.c*le.C,ut=ve-le.C;if(z(ve<=le.l.o),z(16>=ut),0<ut){var vt=le.l,bt=le.Ta,Lt=le.Ua,Qt=vt.width;if(ef(le,ut,Ke,Je),ut=Lt=[Lt],z((Ke=le.C)<(Je=ve)),z(vt.v<vt.va),Je>vt.o&&(Je=vt.o),Ke<vt.j){var Wt=vt.j-Ke;Ke=vt.j,ut[0]+=Wt*Qt}if(Ke>=Je?Ke=0:(ut[0]+=4*vt.v,vt.ka=Ke-vt.j,vt.U=vt.va-vt.v,vt.T=Je-Ke,Ke=1),Ke){if(Lt=Lt[0],11>(Ke=le.ca).S){var Fn=Ke.f.RGBA,Xn=(Je=Ke.S,ut=vt.U,vt=vt.T,Wt=Fn.eb,Fn.A),Vt=vt;for(Fn=Fn.fb+le.Ma*Fn.A;0<Vt--;){var Nn=bt,zn=Lt,pr=ut,Zn=Wt,Sr=Fn;switch(Je){case rm:$h(Nn,zn,pr,Zn,Sr);break;case am:mg(Nn,zn,pr,Zn,Sr);break;case lp:mg(Nn,zn,pr,Zn,Sr),Wh(Zn,Sr,0,pr,1,0);break;case iv:hf(Nn,zn,pr,Zn,Sr);break;case om:fo(Nn,zn,pr,Zn,Sr,1);break;case up:fo(Nn,zn,pr,Zn,Sr,1),Wh(Zn,Sr,0,pr,1,0);break;case im:fo(Nn,zn,pr,Zn,Sr,0);break;case Am:fo(Nn,zn,pr,Zn,Sr,0),Wh(Zn,Sr,1,pr,1,0);break;case sp:pg(Nn,zn,pr,Zn,Sr);break;case cp:pg(Nn,zn,pr,Zn,Sr),Jp(Zn,Sr,pr,1,0);break;case Av:vg(Nn,zn,pr,Zn,Sr);break;default:z(0)}Lt+=Qt,Fn+=Xn}le.Ma+=vt}else alert("todo:EmitRescaledRowsYUVA");z(le.Ma<=Ke.height)}}le.C=ve,z(le.C<=le.i)}function Pc(le){var ve;if(0<le.ua)return 0;for(ve=0;ve<le.Wb;++ve){var Ke=le.Ya[ve].G,Je=le.Ya[ve].H;if(0<Ke[1][Je[1]+0].g||0<Ke[2][Je[2]+0].g||0<Ke[3][Je[3]+0].g)return 0}return 1}function od(le,ve,Ke,Je,ut,vt){if(le.Z!=0){var bt=le.qd,Lt=le.rd;for(z(yg[le.Z]!=null);ve<Ke;++ve)yg[le.Z](bt,Lt,Je,ut,Je,ut,vt),bt=Je,Lt=ut,ut+=vt;le.qd=bt,le.rd=Lt}}function Ec(le,ve){var Ke=le.l.ma,Je=Ke.Z==0||Ke.Z==1?le.l.j:le.C;if(Je=le.C<Je?Je:le.C,z(ve<=le.l.o),ve>Je){var ut=le.l.width,vt=Ke.ca,bt=Ke.tb+ut*Je,Lt=le.V,Qt=le.Ba+le.c*Je,Wt=le.gc;z(le.ab==1),z(Wt[0].hc==3),cd(Wt[0],Je,ve,Lt,Qt,vt,bt),od(Ke,Je,ve,vt,bt,ut)}le.C=le.Ma=ve}function Fc(le,ve,Ke,Je,ut,vt,bt){var Lt=le.$/Je,Qt=le.$%Je,Wt=le.m,Fn=le.s,Xn=Ke+le.$,Vt=Xn;ut=Ke+Je*ut;var Nn=Ke+Je*vt,zn=280+Fn.ua,pr=le.Pb?Lt:16777216,Zn=0<Fn.ua?Fn.Wa:null,Sr=Fn.wc,yr=Xn<Nn?yl(Fn,Qt,Lt):null;z(le.C<vt),z(Nn<=ut);var zr=!1;e:for(;;){for(;zr||Xn<Nn;){var Ur=0;if(Lt>=pr){var ro=Xn-Ke;z((pr=le).Pb),pr.wd=pr.m,pr.xd=ro,0<pr.s.ua&&ya(pr.s.Wa,pr.s.vb),pr=Lt+a1}if(Qt&Sr||(yr=yl(Fn,Qt,Lt)),z(yr!=null),yr.Qb&&(ve[Xn]=yr.qb,zr=!0),!zr)if($n(Wt),yr.jc){Ur=Wt,ro=ve;var Ka=Xn,li=yr.pd[ln(Ur)&ff-1];z(yr.jc),256>li.g?(Dn(Ur,Ur.u+li.g),ro[Ka]=li.value,Ur=0):(Dn(Ur,Ur.u+li.g-256),z(256<=li.value),Ur=li.value),Ur==0&&(zr=!0)}else Ur=ys(yr.G[0],yr.H[0],Wt);if(Wt.h)break;if(zr||256>Ur){if(!zr)if(yr.nd)ve[Xn]=(yr.qb|Ur<<8)>>>0;else{if($n(Wt),zr=ys(yr.G[1],yr.H[1],Wt),$n(Wt),ro=ys(yr.G[2],yr.H[2],Wt),Ka=ys(yr.G[3],yr.H[3],Wt),Wt.h)break;ve[Xn]=(Ka<<24|zr<<16|Ur<<8|ro)>>>0}if(zr=!1,++Xn,++Qt>=Je&&(Qt=0,++Lt,bt!=null&&Lt<=vt&&!(Lt%16)&&bt(le,Lt),Zn!=null))for(;Vt<Xn;)Ur=ve[Vt++],Zn.X[(506832829*Ur&4294967295)>>>Zn.Mb]=Ur}else if(280>Ur){if(Ur=Yu(Ur-256,Wt),ro=ys(yr.G[4],yr.H[4],Wt),$n(Wt),ro=Ju(Je,ro=Yu(ro,Wt)),Wt.h)break;if(Xn-Ke<ro||ut-Xn<Ur)break e;for(Ka=0;Ka<Ur;++Ka)ve[Xn+Ka]=ve[Xn+Ka-ro];for(Xn+=Ur,Qt+=Ur;Qt>=Je;)Qt-=Je,++Lt,bt!=null&&Lt<=vt&&!(Lt%16)&&bt(le,Lt);if(z(Xn<=ut),Qt&Sr&&(yr=yl(Fn,Qt,Lt)),Zn!=null)for(;Vt<Xn;)Ur=ve[Vt++],Zn.X[(506832829*Ur&4294967295)>>>Zn.Mb]=Ur}else{if(!(Ur<zn))break e;for(zr=Ur-280,z(Zn!=null);Vt<Xn;)Ur=ve[Vt++],Zn.X[(506832829*Ur&4294967295)>>>Zn.Mb]=Ur;Ur=Xn,z(!(zr>>>(ro=Zn).Xa)),ve[Ur]=ro.X[zr],zr=!0}zr||z(Wt.h==bn(Wt))}if(le.Pb&&Wt.h&&Xn<ut)z(le.m.h),le.a=5,le.m=le.wd,le.$=le.xd,0<le.s.ua&&ya(le.s.vb,le.s.Wa);else{if(Wt.h)break e;bt!=null&&bt(le,Lt>vt?vt:Lt),le.a=0,le.$=Xn-Ke}return 1}return le.a=3,0}function qu(le){z(le!=null),le.vc=null,le.yc=null,le.Ya=null;var ve=le.Wa;ve!=null&&(ve.X=null),le.vb=null,z(le!=null)}function tf(){var le=new zo;return le==null?null:(le.a=0,le.xb=uv,TA("Predictor","VP8LPredictors"),TA("Predictor","VP8LPredictors_C"),TA("PredictorAdd","VP8LPredictorsAdd"),TA("PredictorAdd","VP8LPredictorsAdd_C"),_s=Li,Gh=ri,$h=xs,mg=Hi,pg=vi,vg=Si,hf=es,nn.VP8LMapColor32b=ud,nn.VP8LMapColor8b=Kh,le)}function id(le,ve,Ke,Je,ut){var vt=1,bt=[le],Lt=[ve],Qt=Je.m,Wt=Je.s,Fn=null,Xn=0;e:for(;;){if(Ke)for(;vt&&_r(Qt,1);){var Vt=bt,Nn=Lt,zn=Je,pr=1,Zn=zn.m,Sr=zn.gc[zn.ab],yr=_r(Zn,2);if(zn.Oc&1<<yr)vt=0;else{switch(zn.Oc|=1<<yr,Sr.hc=yr,Sr.Ea=Vt[0],Sr.nc=Nn[0],Sr.K=[null],++zn.ab,z(4>=zn.ab),yr){case 0:case 1:Sr.b=_r(Zn,3)+2,pr=id(Mr(Sr.Ea,Sr.b),Mr(Sr.nc,Sr.b),0,zn,Sr.K),Sr.K=Sr.K[0];break;case 3:var zr,Ur=_r(Zn,8)+1,ro=16<Ur?0:4<Ur?1:2<Ur?2:3;if(Vt[0]=Mr(Sr.Ea,ro),Sr.b=ro,zr=pr=id(Ur,1,0,zn,Sr.K)){var Ka,li=Ur,Va=Sr,Oi=1<<(8>>Va.b),Ys=se(Oi);if(Ys==null)zr=0;else{var ui=Va.K[0],Xa=Va.w;for(Ys[0]=Va.K[0][0],Ka=1;Ka<1*li;++Ka)Ys[Ka]=bo(ui[Xa+Ka],Ys[Ka-1]);for(;Ka<4*Oi;++Ka)Ys[Ka]=0;Va.K[0]=null,Va.K[0]=Ys,zr=1}}pr=zr;break;case 2:break;default:z(0)}vt=pr}}if(bt=bt[0],Lt=Lt[0],vt&&_r(Qt,1)&&!(vt=1<=(Xn=_r(Qt,4))&&11>=Xn)){Je.a=3;break e}var ga;if(ga=vt)t:{var Is,Jo,ji,HA=Je,Cl=bt,au=Lt,ws=Xn,Kl=Ke,ou=HA.m,Js=HA.s,zi=[null],fA=1,bs=0,hA=r1[ws];n:for(;;){if(Kl&&_r(ou,1)){var Pl=_r(ou,3)+2,Ic=Mr(Cl,Pl),Us=Mr(au,Pl),pu=Ic*Us;if(!id(Ic,Us,0,HA,zi))break n;for(zi=zi[0],Js.xc=Pl,Is=0;Is<pu;++Is){var LA=zi[Is]>>8&65535;zi[Is]=LA,LA>=fA&&(fA=LA+1)}}if(ou.h)break n;for(Jo=0;5>Jo;++Jo){var qs=sv[Jo];!Jo&&0<ws&&(qs+=1<<ws),bs<qs&&(bs=qs)}var Lu=Ee(fA*hA,pn),iu=fA,Iu=Ee(iu,qn);if(Iu==null)var Uu=null;else z(65536>=iu),Uu=Iu;var vu=se(bs);if(Uu==null||vu==null||Lu==null){HA.a=1;break n}var Nu=Lu;for(Is=ji=0;Is<fA;++Is){var RA=Uu[Is],Du=RA.G,Uc=RA.H,pf=0,Kd=1,El=0;for(Jo=0;5>Jo;++Jo){qs=sv[Jo],Du[Jo]=Nu,Uc[Jo]=ji,!Jo&&0<ws&&(qs+=1<<ws);a:{var cm,hp=qs,dm=HA,Yh=vu,C1=Nu,P1=ji,mp=0,wg=dm.m,E1=_r(wg,1);if(ae(Yh,0,0,hp),E1){var F1=_r(wg,1)+1,x1=_r(wg,1),Sv=_r(wg,x1==0?1:8);Yh[Sv]=1,F1==2&&(Yh[Sv=_r(wg,8)]=1);var gm=1}else{var Bv=se(19),yv=_r(wg,4)+4;if(19<yv){dm.a=3;var fm=0;break a}for(cm=0;cm<yv;++cm)Bv[t1[cm]]=_r(wg,3);var pp=void 0,Jh=void 0,wv=dm,_1=Bv,hm=hp,bv=Yh,vp=0,bg=wv.m,Cv=8,Pv=Ee(128,pn);r:for(;zt(Pv,0,7,_1,19);){if(_r(bg,1)){var L1=2+2*_r(bg,3);if((pp=2+_r(bg,L1))>hm)break r}else pp=hm;for(Jh=0;Jh<hm&&pp--;){$n(bg);var Ev=Pv[0+(127&ln(bg))];Dn(bg,bg.u+Ev.g);var qf=Ev.value;if(16>qf)bv[Jh++]=qf,qf!=0&&(Cv=qf);else{var I1=qf==16,Fv=qf-16,U1=qv[Fv],xv=_r(bg,Jv[Fv])+U1;if(Jh+xv>hm)break r;for(var N1=I1?Cv:0;0<xv--;)bv[Jh++]=N1}}vp=1;break r}vp||(wv.a=3),gm=vp}(gm=gm&&!wg.h)&&(mp=zt(C1,P1,8,Yh,hp)),gm&&mp!=0?fm=mp:(dm.a=3,fm=0)}if(fm==0)break n;if(Kd&&e1[Jo]==1&&(Kd=Nu[ji].g==0),pf+=Nu[ji].g,ji+=fm,3>=Jo){var qh,Sp=vu[0];for(qh=1;qh<qs;++qh)vu[qh]>Sp&&(Sp=vu[qh]);El+=Sp}}if(RA.nd=Kd,RA.Qb=0,Kd&&(RA.qb=(Du[3][Uc[3]+0].value<<24|Du[1][Uc[1]+0].value<<16|Du[2][Uc[2]+0].value)>>>0,pf==0&&256>Du[0][Uc[0]+0].value&&(RA.Qb=1,RA.qb+=Du[0][Uc[0]+0].value<<8)),RA.jc=!RA.Qb&&6>El,RA.jc){var mm,zd=RA;for(mm=0;mm<ff;++mm){var Cg=mm,Pg=zd.pd[Cg],pm=zd.G[0][zd.H[0]+Cg];256<=pm.value?(Pg.g=pm.g+256,Pg.value=pm.value):(Pg.g=0,Pg.value=0,Cg>>=dl(pm,8,Pg),Cg>>=dl(zd.G[1][zd.H[1]+Cg],16,Pg),Cg>>=dl(zd.G[2][zd.H[2]+Cg],0,Pg),dl(zd.G[3][zd.H[3]+Cg],24,Pg))}}}Js.vc=zi,Js.Wb=fA,Js.Ya=Uu,Js.yc=Lu,ga=1;break t}ga=0}if(!(vt=ga)){Je.a=3;break e}if(0<Xn){if(Wt.ua=1<<Xn,!Gt(Wt.Wa,Xn)){Je.a=1,vt=0;break e}}else Wt.ua=0;var Bp=Je,_v=bt,D1=Lt,yp=Bp.s,wp=yp.xc;if(Bp.c=_v,Bp.i=D1,yp.md=Mr(_v,wp),yp.wc=wp==0?-1:(1<<wp)-1,Ke){Je.xb=c1;break e}if((Fn=se(bt*Lt))==null){Je.a=1,vt=0;break e}vt=(vt=Fc(Je,Fn,0,bt,Lt,Lt,null))&&!Qt.h;break e}return vt?(ut!=null?ut[0]=Fn:(z(Fn==null),z(Ke)),Je.$=0,Ke||qu(Wt)):qu(Wt),vt}function nf(le,ve){var Ke=le.c*le.i,Je=Ke+ve+16*ve;return z(le.c<=ve),le.V=se(Je),le.V==null?(le.Ta=null,le.Ua=0,le.a=1,0):(le.Ta=le.V,le.Ua=le.Ba+Ke+ve,1)}function Mf(le,ve){var Ke=le.C,Je=ve-Ke,ut=le.V,vt=le.Ba+le.c*Ke;for(z(ve<=le.l.o);0<Je;){var bt=16<Je?16:Je,Lt=le.l.ma,Qt=le.l.width,Wt=Qt*bt,Fn=Lt.ca,Xn=Lt.tb+Qt*Ke,Vt=le.Ta,Nn=le.Ua;ef(le,bt,ut,vt),ev(Vt,Nn,Fn,Xn,Wt),od(Lt,Ke,Ke+bt,Fn,Xn,Qt),Je-=bt,ut+=bt*le.c,Ke+=bt}z(Ke==ve),le.C=le.Ma=ve}function Hf(){this.ub=this.yd=this.td=this.Rb=0}function Kf(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Gm(){this.Fb=this.Bb=this.Cb=0,this.Zb=se(4),this.Lb=se(4)}function Eh(){this.Yb=function(){var le=[];return function ve(Ke,Je,ut){for(var vt=ut[Je],bt=0;bt<vt&&(Ke.push(ut.length>Je+1?[]:0),!(ut.length<Je+1));bt++)ve(Ke[bt],Je+1,ut)}(le,0,[3,11]),le}()}function Q0(){this.jb=se(3),this.Wc=Be([4,8],Eh),this.Xc=Be([4,17],Eh)}function T0(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new se(4),this.od=new se(4)}function ec(){this.ld=this.La=this.dd=this.tc=0}function Fh(){this.Na=this.la=0}function k0(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function xh(){this.ad=se(384),this.Za=0,this.Ob=se(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function R0(){this.uc=this.M=this.Nb=0,this.wa=Array(new ec),this.Y=0,this.ya=Array(new xh),this.aa=0,this.l=new zf}function j0(){this.y=se(16),this.f=se(8),this.ea=se(8)}function M0(){this.cb=this.a=0,this.sc="",this.m=new Ct,this.Od=new Hf,this.Kc=new Kf,this.ed=new T0,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new R0,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ee(8,Ct),this.ia=0,this.pb=Ee(4,k0),this.Pa=new Q0,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new j0),this.Hd=0,this.rb=Array(new Fh),this.sb=0,this.wa=Array(new ec),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 xh),this.L=this.aa=0,this.gd=Be([4,2],ec),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 Ad(le,ve){return 0>le?0:le>ve?ve:le}function zf(){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 $m(){var le=new M0;return le!=null&&(le.a=0,le.sc="OK",le.cb=0,le.Xb=0,Vh||(Vh=Gf)),le}function Ms(le,ve,Ke){return le.a==0&&(le.a=ve,le.sc=Ke,le.cb=0),0}function H0(le,ve,Ke){return 3<=Ke&&le[ve+0]==157&&le[ve+1]==1&&le[ve+2]==42}function sd(le,ve){if(le==null)return 0;if(le.a=0,le.sc="OK",ve==null)return Ms(le,2,"null VP8Io passed to VP8GetHeaders()");var Ke=ve.data,Je=ve.w,ut=ve.ha;if(4>ut)return Ms(le,7,"Truncated header.");var vt=Ke[Je+0]|Ke[Je+1]<<8|Ke[Je+2]<<16,bt=le.Od;if(bt.Rb=!(1&vt),bt.td=vt>>1&7,bt.yd=vt>>4&1,bt.ub=vt>>5,3<bt.td)return Ms(le,3,"Incorrect keyframe parameters.");if(!bt.yd)return Ms(le,4,"Frame not displayable.");Je+=3,ut-=3;var Lt=le.Kc;if(bt.Rb){if(7>ut)return Ms(le,7,"cannot parse picture header");if(!H0(Ke,Je,ut))return Ms(le,3,"Bad code word");Lt.c=16383&(Ke[Je+4]<<8|Ke[Je+3]),Lt.Td=Ke[Je+4]>>6,Lt.i=16383&(Ke[Je+6]<<8|Ke[Je+5]),Lt.Ud=Ke[Je+6]>>6,Je+=7,ut-=7,le.za=Lt.c+15>>4,le.Ub=Lt.i+15>>4,ve.width=Lt.c,ve.height=Lt.i,ve.Da=0,ve.j=0,ve.v=0,ve.va=ve.width,ve.o=ve.height,ve.da=0,ve.ib=ve.width,ve.hb=ve.height,ve.U=ve.width,ve.T=ve.height,ae((vt=le.Pa).jb,0,255,vt.jb.length),z((vt=le.Qa)!=null),vt.Cb=0,vt.Bb=0,vt.Fb=1,ae(vt.Zb,0,0,vt.Zb.length),ae(vt.Lb,0,0,vt.Lb)}if(bt.ub>ut)return Ms(le,7,"bad partition length");nr(vt=le.m,Ke,Je,bt.ub),Je+=bt.ub,ut-=bt.ub,bt.Rb&&(Lt.Ld=lr(vt),Lt.Kd=lr(vt)),Lt=le.Qa;var Qt,Wt=le.Pa;if(z(vt!=null),z(Lt!=null),Lt.Cb=lr(vt),Lt.Cb){if(Lt.Bb=lr(vt),lr(vt)){for(Lt.Fb=lr(vt),Qt=0;4>Qt;++Qt)Lt.Zb[Qt]=lr(vt)?Wn(vt,7):0;for(Qt=0;4>Qt;++Qt)Lt.Lb[Qt]=lr(vt)?Wn(vt,6):0}if(Lt.Bb)for(Qt=0;3>Qt;++Qt)Wt.jb[Qt]=lr(vt)?ir(vt,8):255}else Lt.Bb=0;if(vt.Ka)return Ms(le,3,"cannot parse segment header");if((Lt=le.ed).zd=lr(vt),Lt.Tb=ir(vt,6),Lt.wb=ir(vt,3),Lt.Pc=lr(vt),Lt.Pc&&lr(vt)){for(Wt=0;4>Wt;++Wt)lr(vt)&&(Lt.vd[Wt]=Wn(vt,6));for(Wt=0;4>Wt;++Wt)lr(vt)&&(Lt.od[Wt]=Wn(vt,6))}if(le.L=Lt.Tb==0?0:Lt.zd?1:2,vt.Ka)return Ms(le,3,"cannot parse filter header");var Fn=ut;if(ut=Qt=Je,Je=Qt+Fn,Lt=Fn,le.Xb=(1<<ir(le.m,2))-1,Fn<3*(Wt=le.Xb))Ke=7;else{for(Qt+=3*Wt,Lt-=3*Wt,Fn=0;Fn<Wt;++Fn){var Xn=Ke[ut+0]|Ke[ut+1]<<8|Ke[ut+2]<<16;Xn>Lt&&(Xn=Lt),nr(le.Jc[+Fn],Ke,Qt,Xn),Qt+=Xn,Lt-=Xn,ut+=3}nr(le.Jc[+Wt],Ke,Qt,Lt),Ke=Qt<Je?0:5}if(Ke!=0)return Ms(le,Ke,"cannot parse partitions");for(Ke=ir(Qt=le.m,7),ut=lr(Qt)?Wn(Qt,4):0,Je=lr(Qt)?Wn(Qt,4):0,Lt=lr(Qt)?Wn(Qt,4):0,Wt=lr(Qt)?Wn(Qt,4):0,Qt=lr(Qt)?Wn(Qt,4):0,Fn=le.Qa,Xn=0;4>Xn;++Xn){if(Fn.Cb){var Vt=Fn.Zb[Xn];Fn.Fb||(Vt+=Ke)}else{if(0<Xn){le.pb[Xn]=le.pb[0];continue}Vt=Ke}var Nn=le.pb[Xn];Nn.Sc[0]=dp[Ad(Vt+ut,127)],Nn.Sc[1]=gp[Ad(Vt+0,127)],Nn.Eb[0]=2*dp[Ad(Vt+Je,127)],Nn.Eb[1]=101581*gp[Ad(Vt+Lt,127)]>>16,8>Nn.Eb[1]&&(Nn.Eb[1]=8),Nn.Qc[0]=dp[Ad(Vt+Wt,117)],Nn.Qc[1]=gp[Ad(Vt+Qt,127)],Nn.lc=Vt+Qt}if(!bt.Rb)return Ms(le,4,"Not a key frame.");for(lr(vt),bt=le.Pa,Ke=0;4>Ke;++Ke){for(ut=0;8>ut;++ut)for(Je=0;3>Je;++Je)for(Lt=0;11>Lt;++Lt)Wt=br(vt,l1[Ke][ut][Je][Lt])?ir(vt,8):A1[Ke][ut][Je][Lt],bt.Wc[Ke][ut].Yb[Je][Lt]=Wt;for(ut=0;17>ut;++ut)bt.Xc[Ke][ut]=bt.Wc[Ke][u1[ut]]}return le.kc=lr(vt),le.kc&&(le.Bd=ir(vt,8)),le.cb=1}function Gf(le,ve,Ke,Je,ut,vt,bt){var Lt=ve[ut].Yb[Ke];for(Ke=0;16>ut;++ut){if(!br(le,Lt[Ke+0]))return ut;for(;!br(le,Lt[Ke+1]);)if(Lt=ve[++ut].Yb[0],Ke=0,ut==16)return 16;var Qt=ve[ut+1].Yb;if(br(le,Lt[Ke+2])){var Wt=le,Fn=0;if(br(Wt,(Vt=Lt)[(Xn=Ke)+3]))if(br(Wt,Vt[Xn+6])){for(Lt=0,Xn=2*(Fn=br(Wt,Vt[Xn+8]))+(Vt=br(Wt,Vt[Xn+9+Fn])),Fn=0,Vt=o1[Xn];Vt[Lt];++Lt)Fn+=Fn+br(Wt,Vt[Lt]);Fn+=3+(8<<Xn)}else br(Wt,Vt[Xn+7])?(Fn=7+2*br(Wt,165),Fn+=br(Wt,145)):Fn=5+br(Wt,159);else Fn=br(Wt,Vt[Xn+4])?3+br(Wt,Vt[Xn+5]):2;Lt=Qt[2]}else Fn=1,Lt=Qt[1];Qt=bt+i1[ut],0>(Wt=le).b&&ar(Wt);var Xn,Vt=Wt.b,Nn=(Xn=Wt.Ca>>1)-(Wt.I>>Vt)>>31;--Wt.b,Wt.Ca+=Nn,Wt.Ca|=1,Wt.I-=(Xn+1&Nn)<<Vt,vt[Qt]=((Fn^Nn)-Nn)*Je[(0<ut)+0]}return 16}function K0(le){var ve=le.rb[le.sb-1];ve.la=0,ve.Na=0,ae(le.zc,0,0,le.zc.length),le.ja=0}function tc(le,ve,Ke,Je,ut){ut=le[ve+Ke+32*Je]+(ut>>3),le[ve+Ke+32*Je]=-256&ut?0>ut?0:255:ut}function Ws(le,ve,Ke,Je,ut,vt){tc(le,ve,0,Ke,Je+ut),tc(le,ve,1,Ke,Je+vt),tc(le,ve,2,Ke,Je-vt),tc(le,ve,3,Ke,Je-ut)}function Ld(le){return(20091*le>>16)+le}function z0(le,ve,Ke,Je){var ut,vt=0,bt=se(16);for(ut=0;4>ut;++ut){var Lt=le[ve+0]+le[ve+8],Qt=le[ve+0]-le[ve+8],Wt=(35468*le[ve+4]>>16)-Ld(le[ve+12]),Fn=Ld(le[ve+4])+(35468*le[ve+12]>>16);bt[vt+0]=Lt+Fn,bt[vt+1]=Qt+Wt,bt[vt+2]=Qt-Wt,bt[vt+3]=Lt-Fn,vt+=4,ve++}for(ut=vt=0;4>ut;++ut)Lt=(le=bt[vt+0]+4)+bt[vt+8],Qt=le-bt[vt+8],Wt=(35468*bt[vt+4]>>16)-Ld(bt[vt+12]),tc(Ke,Je,0,0,Lt+(Fn=Ld(bt[vt+4])+(35468*bt[vt+12]>>16))),tc(Ke,Je,1,0,Qt+Wt),tc(Ke,Je,2,0,Qt-Wt),tc(Ke,Je,3,0,Lt-Fn),vt++,Je+=32}function Zm(le,ve,Ke,Je){var ut=le[ve+0]+4,vt=35468*le[ve+4]>>16,bt=Ld(le[ve+4]),Lt=35468*le[ve+1]>>16;Ws(Ke,Je,0,ut+bt,le=Ld(le[ve+1]),Lt),Ws(Ke,Je,1,ut+vt,le,Lt),Ws(Ke,Je,2,ut-vt,le,Lt),Ws(Ke,Je,3,ut-bt,le,Lt)}function Wm(le,ve,Ke,Je,ut){z0(le,ve,Ke,Je),ut&&z0(le,ve+16,Ke,Je+4)}function ld(le,ve,Ke,Je){mf(le,ve+0,Ke,Je,1),mf(le,ve+32,Ke,Je+128,1)}function G0(le,ve,Ke,Je){var ut;for(le=le[ve+0]+4,ut=0;4>ut;++ut)for(ve=0;4>ve;++ve)tc(Ke,Je,ve,ut,le)}function $0(le,ve,Ke,Je){le[ve+0]&&AA(le,ve+0,Ke,Je),le[ve+16]&&AA(le,ve+16,Ke,Je+4),le[ve+32]&&AA(le,ve+32,Ke,Je+128),le[ve+48]&&AA(le,ve+48,Ke,Je+128+4)}function $f(le,ve,Ke,Je){var ut,vt=se(16);for(ut=0;4>ut;++ut){var bt=le[ve+0+ut]+le[ve+12+ut],Lt=le[ve+4+ut]+le[ve+8+ut],Qt=le[ve+4+ut]-le[ve+8+ut],Wt=le[ve+0+ut]-le[ve+12+ut];vt[0+ut]=bt+Lt,vt[8+ut]=bt-Lt,vt[4+ut]=Wt+Qt,vt[12+ut]=Wt-Qt}for(ut=0;4>ut;++ut)bt=(le=vt[0+4*ut]+3)+vt[3+4*ut],Lt=vt[1+4*ut]+vt[2+4*ut],Qt=vt[1+4*ut]-vt[2+4*ut],Wt=le-vt[3+4*ut],Ke[Je+0]=bt+Lt>>3,Ke[Je+16]=Wt+Qt>>3,Ke[Je+32]=bt-Lt>>3,Ke[Je+48]=Wt-Qt>>3,Je+=64}function rf(le,ve,Ke){var Je,ut=ve-32,vt=_u,bt=255-le[ut-1];for(Je=0;Je<Ke;++Je){var Lt,Qt=vt,Wt=bt+le[ve-1];for(Lt=0;Lt<Ke;++Lt)le[ve+Lt]=Qt[Wt+le[ut+Lt]];ve+=32}}function Vm(le,ve){rf(le,ve,4)}function Xm(le,ve){rf(le,ve,8)}function Ym(le,ve){rf(le,ve,16)}function _h(le,ve){var Ke;for(Ke=0;16>Ke;++Ke)re(le,ve+32*Ke,le,ve-32,16)}function Z0(le,ve){var Ke;for(Ke=16;0<Ke;--Ke)ae(le,ve,le[ve-1],16),ve+=32}function xc(le,ve,Ke){var Je;for(Je=0;16>Je;++Je)ae(ve,Ke+32*Je,le,16)}function Jm(le,ve){var Ke,Je=16;for(Ke=0;16>Ke;++Ke)Je+=le[ve-1+32*Ke]+le[ve+Ke-32];xc(Je>>5,le,ve)}function af(le,ve){var Ke,Je=8;for(Ke=0;16>Ke;++Ke)Je+=le[ve-1+32*Ke];xc(Je>>4,le,ve)}function Lh(le,ve){var Ke,Je=8;for(Ke=0;16>Ke;++Ke)Je+=le[ve+Ke-32];xc(Je>>4,le,ve)}function qm(le,ve){xc(128,le,ve)}function $o(le,ve,Ke){return le+2*ve+Ke+2>>2}function ep(le,ve){var Ke,Je=ve-32;for(Je=new Uint8Array([$o(le[Je-1],le[Je+0],le[Je+1]),$o(le[Je+0],le[Je+1],le[Je+2]),$o(le[Je+1],le[Je+2],le[Je+3]),$o(le[Je+2],le[Je+3],le[Je+4])]),Ke=0;4>Ke;++Ke)re(le,ve+32*Ke,Je,0,Je.length)}function tp(le,ve){var Ke=le[ve-1],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96];Vr(le,ve+0,16843009*$o(le[ve-1-32],Ke,Je)),Vr(le,ve+32,16843009*$o(Ke,Je,ut)),Vr(le,ve+64,16843009*$o(Je,ut,vt)),Vr(le,ve+96,16843009*$o(ut,vt,vt))}function np(le,ve){var Ke,Je=4;for(Ke=0;4>Ke;++Ke)Je+=le[ve+Ke-32]+le[ve-1+32*Ke];for(Je>>=3,Ke=0;4>Ke;++Ke)ae(le,ve+32*Ke,Je,4)}function Id(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1-32],bt=le[ve+0-32],Lt=le[ve+1-32],Qt=le[ve+2-32],Wt=le[ve+3-32];le[ve+0+96]=$o(Je,ut,le[ve-1+96]),le[ve+1+96]=le[ve+0+64]=$o(Ke,Je,ut),le[ve+2+96]=le[ve+1+64]=le[ve+0+32]=$o(vt,Ke,Je),le[ve+3+96]=le[ve+2+64]=le[ve+1+32]=le[ve+0+0]=$o(bt,vt,Ke),le[ve+3+64]=le[ve+2+32]=le[ve+1+0]=$o(Lt,bt,vt),le[ve+3+32]=le[ve+2+0]=$o(Qt,Lt,bt),le[ve+3+0]=$o(Wt,Qt,Lt)}function Ud(le,ve){var Ke=le[ve+1-32],Je=le[ve+2-32],ut=le[ve+3-32],vt=le[ve+4-32],bt=le[ve+5-32],Lt=le[ve+6-32],Qt=le[ve+7-32];le[ve+0+0]=$o(le[ve+0-32],Ke,Je),le[ve+1+0]=le[ve+0+32]=$o(Ke,Je,ut),le[ve+2+0]=le[ve+1+32]=le[ve+0+64]=$o(Je,ut,vt),le[ve+3+0]=le[ve+2+32]=le[ve+1+64]=le[ve+0+96]=$o(ut,vt,bt),le[ve+3+32]=le[ve+2+64]=le[ve+1+96]=$o(vt,bt,Lt),le[ve+3+64]=le[ve+2+96]=$o(bt,Lt,Qt),le[ve+3+96]=$o(Lt,Qt,Qt)}function rp(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1-32],bt=le[ve+0-32],Lt=le[ve+1-32],Qt=le[ve+2-32],Wt=le[ve+3-32];le[ve+0+0]=le[ve+1+64]=vt+bt+1>>1,le[ve+1+0]=le[ve+2+64]=bt+Lt+1>>1,le[ve+2+0]=le[ve+3+64]=Lt+Qt+1>>1,le[ve+3+0]=Qt+Wt+1>>1,le[ve+0+96]=$o(ut,Je,Ke),le[ve+0+64]=$o(Je,Ke,vt),le[ve+0+32]=le[ve+1+96]=$o(Ke,vt,bt),le[ve+1+32]=le[ve+2+96]=$o(vt,bt,Lt),le[ve+2+32]=le[ve+3+96]=$o(bt,Lt,Qt),le[ve+3+32]=$o(Lt,Qt,Wt)}function ap(le,ve){var Ke=le[ve+0-32],Je=le[ve+1-32],ut=le[ve+2-32],vt=le[ve+3-32],bt=le[ve+4-32],Lt=le[ve+5-32],Qt=le[ve+6-32],Wt=le[ve+7-32];le[ve+0+0]=Ke+Je+1>>1,le[ve+1+0]=le[ve+0+64]=Je+ut+1>>1,le[ve+2+0]=le[ve+1+64]=ut+vt+1>>1,le[ve+3+0]=le[ve+2+64]=vt+bt+1>>1,le[ve+0+32]=$o(Ke,Je,ut),le[ve+1+32]=le[ve+0+96]=$o(Je,ut,vt),le[ve+2+32]=le[ve+1+96]=$o(ut,vt,bt),le[ve+3+32]=le[ve+2+96]=$o(vt,bt,Lt),le[ve+3+64]=$o(bt,Lt,Qt),le[ve+3+96]=$o(Lt,Qt,Wt)}function Zf(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96];le[ve+0+0]=Ke+Je+1>>1,le[ve+2+0]=le[ve+0+32]=Je+ut+1>>1,le[ve+2+32]=le[ve+0+64]=ut+vt+1>>1,le[ve+1+0]=$o(Ke,Je,ut),le[ve+3+0]=le[ve+1+32]=$o(Je,ut,vt),le[ve+3+32]=le[ve+1+64]=$o(ut,vt,vt),le[ve+3+64]=le[ve+2+64]=le[ve+0+96]=le[ve+1+96]=le[ve+2+96]=le[ve+3+96]=vt}function Ih(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96],bt=le[ve-1-32],Lt=le[ve+0-32],Qt=le[ve+1-32],Wt=le[ve+2-32];le[ve+0+0]=le[ve+2+32]=Ke+bt+1>>1,le[ve+0+32]=le[ve+2+64]=Je+Ke+1>>1,le[ve+0+64]=le[ve+2+96]=ut+Je+1>>1,le[ve+0+96]=vt+ut+1>>1,le[ve+3+0]=$o(Lt,Qt,Wt),le[ve+2+0]=$o(bt,Lt,Qt),le[ve+1+0]=le[ve+3+32]=$o(Ke,bt,Lt),le[ve+1+32]=le[ve+3+64]=$o(Je,Ke,bt),le[ve+1+64]=le[ve+3+96]=$o(ut,Je,Ke),le[ve+1+96]=$o(vt,ut,Je)}function of(le,ve){var Ke;for(Ke=0;8>Ke;++Ke)re(le,ve+32*Ke,le,ve-32,8)}function op(le,ve){var Ke;for(Ke=0;8>Ke;++Ke)ae(le,ve,le[ve-1],8),ve+=32}function Nd(le,ve,Ke){var Je;for(Je=0;8>Je;++Je)ae(ve,Ke+32*Je,le,8)}function ip(le,ve){var Ke,Je=8;for(Ke=0;8>Ke;++Ke)Je+=le[ve+Ke-32]+le[ve-1+32*Ke];Nd(Je>>4,le,ve)}function Uh(le,ve){var Ke,Je=4;for(Ke=0;8>Ke;++Ke)Je+=le[ve+Ke-32];Nd(Je>>3,le,ve)}function Nh(le,ve){var Ke,Je=4;for(Ke=0;8>Ke;++Ke)Je+=le[ve-1+32*Ke];Nd(Je>>3,le,ve)}function W0(le,ve){Nd(128,le,ve)}function Dd(le,ve,Ke){var Je=le[ve-Ke],ut=le[ve+0],vt=3*(ut-Je)+Ap[1020+le[ve-2*Ke]-le[ve+Ke]],bt=nm[112+(vt+4>>3)];le[ve-Ke]=_u[255+Je+nm[112+(vt+3>>3)]],le[ve+0]=_u[255+ut-bt]}function Dh(le,ve,Ke,Je){var ut=le[ve+0],vt=le[ve+Ke];return ac[255+le[ve-2*Ke]-le[ve-Ke]]>Je||ac[255+vt-ut]>Je}function Wf(le,ve,Ke,Je){return 4*ac[255+le[ve-Ke]-le[ve+0]]+ac[255+le[ve-2*Ke]-le[ve+Ke]]<=Je}function Oh(le,ve,Ke,Je,ut){var vt=le[ve-3*Ke],bt=le[ve-2*Ke],Lt=le[ve-Ke],Qt=le[ve+0],Wt=le[ve+Ke],Fn=le[ve+2*Ke],Xn=le[ve+3*Ke];return 4*ac[255+Lt-Qt]+ac[255+bt-Wt]>Je?0:ac[255+le[ve-4*Ke]-vt]<=ut&&ac[255+vt-bt]<=ut&&ac[255+bt-Lt]<=ut&&ac[255+Xn-Fn]<=ut&&ac[255+Fn-Wt]<=ut&&ac[255+Wt-Qt]<=ut}function Af(le,ve,Ke,Je){var ut=2*Je+1;for(Je=0;16>Je;++Je)Wf(le,ve+Je,Ke,ut)&&Dd(le,ve+Je,Ke)}function Qh(le,ve,Ke,Je){var ut=2*Je+1;for(Je=0;16>Je;++Je)Wf(le,ve+Je*Ke,1,ut)&&Dd(le,ve+Je*Ke,1)}function V0(le,ve,Ke,Je){var ut;for(ut=3;0<ut;--ut)Af(le,ve+=4*Ke,Ke,Je)}function X0(le,ve,Ke,Je){var ut;for(ut=3;0<ut;--ut)Qh(le,ve+=4,Ke,Je)}function Od(le,ve,Ke,Je,ut,vt,bt,Lt){for(vt=2*vt+1;0<ut--;){if(Oh(le,ve,Ke,vt,bt))if(Dh(le,ve,Ke,Lt))Dd(le,ve,Ke);else{var Qt=le,Wt=ve,Fn=Ke,Xn=Qt[Wt-2*Fn],Vt=Qt[Wt-Fn],Nn=Qt[Wt+0],zn=Qt[Wt+Fn],pr=Qt[Wt+2*Fn],Zn=27*(yr=Ap[1020+3*(Nn-Vt)+Ap[1020+Xn-zn]])+63>>7,Sr=18*yr+63>>7,yr=9*yr+63>>7;Qt[Wt-3*Fn]=_u[255+Qt[Wt-3*Fn]+yr],Qt[Wt-2*Fn]=_u[255+Xn+Sr],Qt[Wt-Fn]=_u[255+Vt+Zn],Qt[Wt+0]=_u[255+Nn-Zn],Qt[Wt+Fn]=_u[255+zn-Sr],Qt[Wt+2*Fn]=_u[255+pr-yr]}ve+=Je}}function Qd(le,ve,Ke,Je,ut,vt,bt,Lt){for(vt=2*vt+1;0<ut--;){if(Oh(le,ve,Ke,vt,bt))if(Dh(le,ve,Ke,Lt))Dd(le,ve,Ke);else{var Qt=le,Wt=ve,Fn=Ke,Xn=Qt[Wt-Fn],Vt=Qt[Wt+0],Nn=Qt[Wt+Fn],zn=nm[112+(4+(pr=3*(Vt-Xn))>>3)],pr=nm[112+(pr+3>>3)],Zn=zn+1>>1;Qt[Wt-2*Fn]=_u[255+Qt[Wt-2*Fn]+Zn],Qt[Wt-Fn]=_u[255+Xn+pr],Qt[Wt+0]=_u[255+Vt-zn],Qt[Wt+Fn]=_u[255+Nn-Zn]}ve+=Je}}function Y0(le,ve,Ke,Je,ut,vt){Od(le,ve,Ke,1,16,Je,ut,vt)}function sf(le,ve,Ke,Je,ut,vt){Od(le,ve,1,Ke,16,Je,ut,vt)}function J0(le,ve,Ke,Je,ut,vt){var bt;for(bt=3;0<bt;--bt)Qd(le,ve+=4*Ke,Ke,1,16,Je,ut,vt)}function Ue(le,ve,Ke,Je,ut,vt){var bt;for(bt=3;0<bt;--bt)Qd(le,ve+=4,1,Ke,16,Je,ut,vt)}function lt(le,ve,Ke,Je,ut,vt,bt,Lt){Od(le,ve,ut,1,8,vt,bt,Lt),Od(Ke,Je,ut,1,8,vt,bt,Lt)}function Xt(le,ve,Ke,Je,ut,vt,bt,Lt){Od(le,ve,1,ut,8,vt,bt,Lt),Od(Ke,Je,1,ut,8,vt,bt,Lt)}function hn(le,ve,Ke,Je,ut,vt,bt,Lt){Qd(le,ve+4*ut,ut,1,8,vt,bt,Lt),Qd(Ke,Je+4*ut,ut,1,8,vt,bt,Lt)}function jn(le,ve,Ke,Je,ut,vt,bt,Lt){Qd(le,ve+4,1,ut,8,vt,bt,Lt),Qd(Ke,Je+4,1,ut,8,vt,bt,Lt)}function Br(){this.ba=new wi,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new iA,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ir(){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 Za(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function eo(){this.ua=0,this.Wa=new fi,this.vb=new fi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new qn,this.yc=new pn}function zo(){this.xb=this.a=0,this.l=new zf,this.ca=new wi,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Jt,this.Pb=0,this.wd=new Jt,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new eo,this.ab=0,this.gc=Ee(4,Za),this.Oc=0}function ai(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new zf,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ki(le,ve,Ke,Je,ut,vt,bt){for(le=le==null?0:le[ve+0],ve=0;ve<bt;++ve)ut[vt+ve]=le+Ke[Je+ve]&255,le=ut[vt+ve]}function ds(le,ve,Ke,Je,ut,vt,bt){var Lt;if(le==null)Ki(null,null,Ke,Je,ut,vt,bt);else for(Lt=0;Lt<bt;++Lt)ut[vt+Lt]=le[ve+Lt]+Ke[Je+Lt]&255}function Hs(le,ve,Ke,Je,ut,vt,bt){if(le==null)Ki(null,null,Ke,Je,ut,vt,bt);else{var Lt,Qt=le[ve+0],Wt=Qt,Fn=Qt;for(Lt=0;Lt<bt;++Lt)Wt=Fn+(Qt=le[ve+Lt])-Wt,Fn=Ke[Je+Lt]+(-256&Wt?0>Wt?0:255:Wt)&255,Wt=Qt,ut[vt+Lt]=Fn}}function kA(le,ve,Ke,Je){var ut=ve.width,vt=ve.o;if(z(le!=null&&ve!=null),0>Ke||0>=Je||Ke+Je>vt)return null;if(!le.Cc){if(le.ga==null){var bt;if(le.ga=new ai,(bt=le.ga==null)||(bt=ve.width*ve.o,z(le.Gb.length==0),le.Gb=se(bt),le.Uc=0,le.Gb==null?bt=0:(le.mb=le.Gb,le.nb=le.Uc,le.rc=null,bt=1),bt=!bt),!bt){bt=le.ga;var Lt=le.Fa,Qt=le.P,Wt=le.qc,Fn=le.mb,Xn=le.nb,Vt=Qt+1,Nn=Wt-1,zn=bt.l;if(z(Lt!=null&&Fn!=null&&ve!=null),yg[0]=null,yg[1]=Ki,yg[2]=ds,yg[3]=Hs,bt.ca=Fn,bt.tb=Xn,bt.c=ve.width,bt.i=ve.height,z(0<bt.c&&0<bt.i),1>=Wt)ve=0;else if(bt.$a=3&Lt[Qt+0],bt.Z=Lt[Qt+0]>>2&3,bt.Lc=Lt[Qt+0]>>4&3,Qt=Lt[Qt+0]>>6&3,0>bt.$a||1<bt.$a||4<=bt.Z||1<bt.Lc||Qt)ve=0;else if(zn.put=Eo,zn.ac=ad,zn.bc=xd,zn.ma=bt,zn.width=ve.width,zn.height=ve.height,zn.Da=ve.Da,zn.v=ve.v,zn.va=ve.va,zn.j=ve.j,zn.o=ve.o,bt.$a)e:{z(bt.$a==1),ve=tf();t:for(;;){if(ve==null){ve=0;break e}if(z(bt!=null),bt.mc=ve,ve.c=bt.c,ve.i=bt.i,ve.l=bt.l,ve.l.ma=bt,ve.l.width=bt.c,ve.l.height=bt.i,ve.a=0,cr(ve.m,Lt,Vt,Nn),!id(bt.c,bt.i,1,ve,null)||(ve.ab==1&&ve.gc[0].hc==3&&Pc(ve.s)?(bt.ic=1,Lt=ve.c*ve.i,ve.Ta=null,ve.Ua=0,ve.V=se(Lt),ve.Ba=0,ve.V==null?(ve.a=1,ve=0):ve=1):(bt.ic=0,ve=nf(ve,bt.c)),!ve))break t;ve=1;break e}bt.mc=null,ve=0}else ve=Nn>=bt.c*bt.i;bt=!ve}if(bt)return null;le.ga.Lc!=1?le.Ga=0:Je=vt-Ke}z(le.ga!=null),z(Ke+Je<=vt);e:{if(ve=(Lt=le.ga).c,vt=Lt.l.o,Lt.$a==0){if(Vt=le.rc,Nn=le.Vc,zn=le.Fa,Qt=le.P+1+Ke*ve,Wt=le.mb,Fn=le.nb+Ke*ve,z(Qt<=le.P+le.qc),Lt.Z!=0)for(z(yg[Lt.Z]!=null),bt=0;bt<Je;++bt)yg[Lt.Z](Vt,Nn,zn,Qt,Wt,Fn,ve),Vt=Wt,Nn=Fn,Fn+=ve,Qt+=ve;else for(bt=0;bt<Je;++bt)re(Wt,Fn,zn,Qt,ve),Vt=Wt,Nn=Fn,Fn+=ve,Qt+=ve;le.rc=Vt,le.Vc=Nn}else{if(z(Lt.mc!=null),ve=Ke+Je,z((bt=Lt.mc)!=null),z(ve<=bt.i),bt.C>=ve)ve=1;else if(Lt.ic||_c(),Lt.ic){Lt=bt.V,Vt=bt.Ba,Nn=bt.c;var pr=bt.i,Zn=(zn=1,Qt=bt.$/Nn,Wt=bt.$%Nn,Fn=bt.m,Xn=bt.s,bt.$),Sr=Nn*pr,yr=Nn*ve,zr=Xn.wc,Ur=Zn<yr?yl(Xn,Wt,Qt):null;z(Zn<=Sr),z(ve<=pr),z(Pc(Xn));t:for(;;){for(;!Fn.h&&Zn<yr;){if(Wt&zr||(Ur=yl(Xn,Wt,Qt)),z(Ur!=null),$n(Fn),256>(pr=ys(Ur.G[0],Ur.H[0],Fn)))Lt[Vt+Zn]=pr,++Zn,++Wt>=Nn&&(Wt=0,++Qt<=ve&&!(Qt%16)&&Ec(bt,Qt));else{if(!(280>pr)){zn=0;break t}pr=Yu(pr-256,Fn);var ro,Ka=ys(Ur.G[4],Ur.H[4],Fn);if($n(Fn),!(Zn>=(Ka=Ju(Nn,Ka=Yu(Ka,Fn)))&&Sr-Zn>=pr)){zn=0;break t}for(ro=0;ro<pr;++ro)Lt[Vt+Zn+ro]=Lt[Vt+Zn+ro-Ka];for(Zn+=pr,Wt+=pr;Wt>=Nn;)Wt-=Nn,++Qt<=ve&&!(Qt%16)&&Ec(bt,Qt);Zn<yr&&Wt&zr&&(Ur=yl(Xn,Wt,Qt))}z(Fn.h==bn(Fn))}Ec(bt,Qt>ve?ve:Qt);break t}!zn||Fn.h&&Zn<Sr?(zn=0,bt.a=Fn.h?5:3):bt.$=Zn,ve=zn}else ve=Fc(bt,bt.V,bt.Ba,bt.c,bt.i,ve,Mf);if(!ve){Je=0;break e}}Ke+Je>=vt&&(le.Cc=1),Je=1}if(!Je)return null;if(le.Cc&&((Je=le.ga)!=null&&(Je.mc=null),le.ga=null,0<le.Ga))return alert("todo:WebPDequantizeLevels"),null}return le.nb+Ke*ut}function Vs(le,ve,Ke,Je,ut,vt){for(;0<ut--;){var bt,Lt=le,Qt=ve+(Ke?1:0),Wt=le,Fn=ve+(Ke?0:3);for(bt=0;bt<Je;++bt){var Xn=Wt[Fn+4*bt];Xn!=255&&(Xn*=32897,Lt[Qt+4*bt+0]=Lt[Qt+4*bt+0]*Xn>>23,Lt[Qt+4*bt+1]=Lt[Qt+4*bt+1]*Xn>>23,Lt[Qt+4*bt+2]=Lt[Qt+4*bt+2]*Xn>>23)}ve+=vt}}function Ks(le,ve,Ke,Je,ut){for(;0<Je--;){var vt;for(vt=0;vt<Ke;++vt){var bt=le[ve+2*vt+0],Lt=15&(Wt=le[ve+2*vt+1]),Qt=4369*Lt,Wt=(240&Wt|Wt>>4)*Qt>>16;le[ve+2*vt+0]=(240&bt|bt>>4)*Qt>>16&240|(15&bt|bt<<4)*Qt>>16>>4&15,le[ve+2*vt+1]=240&Wt|Lt}ve+=ut}}function wl(le,ve,Ke,Je,ut,vt,bt,Lt){var Qt,Wt,Fn=255;for(Wt=0;Wt<ut;++Wt){for(Qt=0;Qt<Je;++Qt){var Xn=le[ve+Qt];vt[bt+4*Qt]=Xn,Fn&=Xn}ve+=Ke,bt+=Lt}return Fn!=255}function Td(le,ve,Ke,Je,ut){var vt;for(vt=0;vt<ut;++vt)Ke[Je+vt]=le[ve+vt]>>8}function _c(){Wh=Vs,Jp=Ks,qp=wl,ev=Td}function kd(le,ve,Ke){nn[le]=function(Je,ut,vt,bt,Lt,Qt,Wt,Fn,Xn,Vt,Nn,zn,pr,Zn,Sr,yr,zr){var Ur,ro=zr-1>>1,Ka=Lt[Qt+0]|Wt[Fn+0]<<16,li=Xn[Vt+0]|Nn[zn+0]<<16;z(Je!=null);var Va=3*Ka+li+131074>>2;for(ve(Je[ut+0],255&Va,Va>>16,pr,Zn),vt!=null&&(Va=3*li+Ka+131074>>2,ve(vt[bt+0],255&Va,Va>>16,Sr,yr)),Ur=1;Ur<=ro;++Ur){var Oi=Lt[Qt+Ur]|Wt[Fn+Ur]<<16,Ys=Xn[Vt+Ur]|Nn[zn+Ur]<<16,ui=Ka+Oi+li+Ys+524296,Xa=ui+2*(Oi+li)>>3;Va=Xa+Ka>>1,Ka=(ui=ui+2*(Ka+Ys)>>3)+Oi>>1,ve(Je[ut+2*Ur-1],255&Va,Va>>16,pr,Zn+(2*Ur-1)*Ke),ve(Je[ut+2*Ur-0],255&Ka,Ka>>16,pr,Zn+(2*Ur-0)*Ke),vt!=null&&(Va=ui+li>>1,Ka=Xa+Ys>>1,ve(vt[bt+2*Ur-1],255&Va,Va>>16,Sr,yr+(2*Ur-1)*Ke),ve(vt[bt+2*Ur+0],255&Ka,Ka>>16,Sr,yr+(2*Ur+0)*Ke)),Ka=Oi,li=Ys}1&zr||(Va=3*Ka+li+131074>>2,ve(Je[ut+zr-1],255&Va,Va>>16,pr,Zn+(zr-1)*Ke),vt!=null&&(Va=3*li+Ka+131074>>2,ve(vt[bt+zr-1],255&Va,Va>>16,Sr,yr+(zr-1)*Ke)))}}function Th(){oc[rm]=d1,oc[am]=cv,oc[iv]=g1,oc[om]=dv,oc[im]=gv,oc[sp]=fv,oc[Av]=f1,oc[lp]=cv,oc[up]=dv,oc[Am]=gv,oc[cp]=fv}function Vf(le){return le&~h1?0>le?0:255:le>>hv}function cg(le,ve){return Vf((19077*le>>8)+(26149*ve>>8)-14234)}function lf(le,ve,Ke){return Vf((19077*le>>8)-(6419*ve>>8)-(13320*Ke>>8)+8708)}function uf(le,ve){return Vf((19077*le>>8)+(33050*ve>>8)-17685)}function dg(le,ve,Ke,Je,ut){Je[ut+0]=cg(le,Ke),Je[ut+1]=lf(le,ve,Ke),Je[ut+2]=uf(le,ve)}function bl(le,ve,Ke,Je,ut){Je[ut+0]=uf(le,ve),Je[ut+1]=lf(le,ve,Ke),Je[ut+2]=cg(le,Ke)}function cf(le,ve,Ke,Je,ut){var vt=lf(le,ve,Ke);ve=vt<<3&224|uf(le,ve)>>3,Je[ut+0]=248&cg(le,Ke)|vt>>5,Je[ut+1]=ve}function df(le,ve,Ke,Je,ut){var vt=240&uf(le,ve)|15;Je[ut+0]=240&cg(le,Ke)|lf(le,ve,Ke)>>4,Je[ut+1]=vt}function kh(le,ve,Ke,Je,ut){Je[ut+0]=255,dg(le,ve,Ke,Je,ut+1)}function Rh(le,ve,Ke,Je,ut){bl(le,ve,Ke,Je,ut),Je[ut+3]=255}function ru(le,ve,Ke,Je,ut){dg(le,ve,Ke,Je,ut),Je[ut+3]=255}function Rd(le,ve,Ke){nn[le]=function(Je,ut,vt,bt,Lt,Qt,Wt,Fn,Xn){for(var Vt=Fn+(-2&Xn)*Ke;Fn!=Vt;)ve(Je[ut+0],vt[bt+0],Lt[Qt+0],Wt,Fn),ve(Je[ut+1],vt[bt+0],Lt[Qt+0],Wt,Fn+Ke),ut+=2,++bt,++Qt,Fn+=2*Ke;1&Xn&&ve(Je[ut+0],vt[bt+0],Lt[Qt+0],Wt,Fn)}}function Xf(le,ve,Ke){return Ke==0?le==0?ve==0?6:5:ve==0?4:0:Ke}function q0(le,ve,Ke,Je,ut){switch(le>>>30){case 3:mf(ve,Ke,Je,ut,0);break;case 2:rc(ve,Ke,Je,ut);break;case 1:AA(ve,Ke,Je,ut)}}function nc(le,ve){var Ke,Je,ut=ve.M,vt=ve.Nb,bt=le.oc,Lt=le.pc+40,Qt=le.oc,Wt=le.pc+584,Fn=le.oc,Xn=le.pc+600;for(Ke=0;16>Ke;++Ke)bt[Lt+32*Ke-1]=129;for(Ke=0;8>Ke;++Ke)Qt[Wt+32*Ke-1]=129,Fn[Xn+32*Ke-1]=129;for(0<ut?bt[Lt-1-32]=Qt[Wt-1-32]=Fn[Xn-1-32]=129:(ae(bt,Lt-32-1,127,21),ae(Qt,Wt-32-1,127,9),ae(Fn,Xn-32-1,127,9)),Je=0;Je<le.za;++Je){var Vt=ve.ya[ve.aa+Je];if(0<Je){for(Ke=-1;16>Ke;++Ke)re(bt,Lt+32*Ke-4,bt,Lt+32*Ke+12,4);for(Ke=-1;8>Ke;++Ke)re(Qt,Wt+32*Ke-4,Qt,Wt+32*Ke+4,4),re(Fn,Xn+32*Ke-4,Fn,Xn+32*Ke+4,4)}var Nn=le.Gd,zn=le.Hd+Je,pr=Vt.ad,Zn=Vt.Hc;if(0<ut&&(re(bt,Lt-32,Nn[zn].y,0,16),re(Qt,Wt-32,Nn[zn].f,0,8),re(Fn,Xn-32,Nn[zn].ea,0,8)),Vt.Za){var Sr=bt,yr=Lt-32+16;for(0<ut&&(Je>=le.za-1?ae(Sr,yr,Nn[zn].y[15],4):re(Sr,yr,Nn[zn+1].y,0,4)),Ke=0;4>Ke;Ke++)Sr[yr+128+Ke]=Sr[yr+256+Ke]=Sr[yr+384+Ke]=Sr[yr+0+Ke];for(Ke=0;16>Ke;++Ke,Zn<<=2)Sr=bt,yr=Lt+pv[Ke],Lc[Vt.Ob[Ke]](Sr,yr),q0(Zn,pr,16*+Ke,Sr,yr)}else if(Sr=Xf(Je,ut,Vt.Ob[0]),Bg[Sr](bt,Lt),Zn!=0)for(Ke=0;16>Ke;++Ke,Zn<<=2)q0(Zn,pr,16*+Ke,bt,Lt+pv[Ke]);for(Ke=Vt.Gc,Sr=Xf(Je,ut,Vt.Dd),Hd[Sr](Qt,Wt),Hd[Sr](Fn,Xn),Zn=pr,Sr=Qt,yr=Wt,255&(Vt=0|Ke)&&(170&Vt?dd(Zn,256,Sr,yr):_A(Zn,256,Sr,yr)),Vt=Fn,Zn=Xn,255&(Ke>>=8)&&(170&Ke?dd(pr,320,Vt,Zn):_A(pr,320,Vt,Zn)),ut<le.Ub-1&&(re(Nn[zn].y,0,bt,Lt+480,16),re(Nn[zn].f,0,Qt,Wt+224,8),re(Nn[zn].ea,0,Fn,Xn+224,8)),Ke=8*vt*le.B,Nn=le.sa,zn=le.ta+16*Je+16*vt*le.R,pr=le.qa,Vt=le.ra+8*Je+Ke,Zn=le.Ha,Sr=le.Ia+8*Je+Ke,Ke=0;16>Ke;++Ke)re(Nn,zn+Ke*le.R,bt,Lt+32*Ke,16);for(Ke=0;8>Ke;++Ke)re(pr,Vt+Ke*le.B,Qt,Wt+32*Ke,8),re(Zn,Sr+Ke*le.B,Fn,Xn+32*Ke,8)}}function gf(le,ve,Ke,Je,ut,vt,bt,Lt,Qt){var Wt=[0],Fn=[0],Xn=0,Vt=Qt!=null?Qt.kd:0,Nn=Qt!=null?Qt:new Ir;if(le==null||12>Ke)return 7;Nn.data=le,Nn.w=ve,Nn.ha=Ke,ve=[ve],Ke=[Ke],Nn.gb=[Nn.gb];e:{var zn=ve,pr=Ke,Zn=Nn.gb;if(z(le!=null),z(pr!=null),z(Zn!=null),Zn[0]=0,12<=pr[0]&&!x(le,zn[0],"RIFF")){if(x(le,zn[0]+8,"WEBP")){Zn=3;break e}var Sr=so(le,zn[0]+4);if(12>Sr||4294967286<Sr){Zn=3;break e}if(Vt&&Sr>pr[0]-8){Zn=7;break e}Zn[0]=Sr,zn[0]+=12,pr[0]-=12}Zn=0}if(Zn!=0)return Zn;for(Sr=0<Nn.gb[0],Ke=Ke[0];;){e:{var yr=le;pr=ve,Zn=Ke;var zr=Wt,Ur=Fn,ro=zn=[0];if((Va=Xn=[Xn])[0]=0,8>Zn[0])Zn=7;else{if(!x(yr,pr[0],"VP8X")){if(so(yr,pr[0]+4)!=10){Zn=3;break e}if(18>Zn[0]){Zn=7;break e}var Ka=so(yr,pr[0]+8),li=1+ma(yr,pr[0]+12);if(2147483648<=li*(yr=1+ma(yr,pr[0]+15))){Zn=3;break e}ro!=null&&(ro[0]=Ka),zr!=null&&(zr[0]=li),Ur!=null&&(Ur[0]=yr),pr[0]+=18,Zn[0]-=18,Va[0]=1}Zn=0}}if(Xn=Xn[0],zn=zn[0],Zn!=0)return Zn;if(pr=!!(2&zn),!Sr&&Xn)return 3;if(vt!=null&&(vt[0]=!!(16&zn)),bt!=null&&(bt[0]=pr),Lt!=null&&(Lt[0]=0),bt=Wt[0],zn=Fn[0],Xn&&pr&&Qt==null){Zn=0;break}if(4>Ke){Zn=7;break}if(Sr&&Xn||!Sr&&!Xn&&!x(le,ve[0],"ALPH")){Ke=[Ke],Nn.na=[Nn.na],Nn.P=[Nn.P],Nn.Sa=[Nn.Sa];e:{Ka=le,Zn=ve,Sr=Ke;var Va=Nn.gb;zr=Nn.na,Ur=Nn.P,ro=Nn.Sa,li=22,z(Ka!=null),z(Sr!=null),yr=Zn[0];var Oi=Sr[0];for(z(zr!=null),z(ro!=null),zr[0]=null,Ur[0]=null,ro[0]=0;;){if(Zn[0]=yr,Sr[0]=Oi,8>Oi){Zn=7;break e}var Ys=so(Ka,yr+4);if(4294967286<Ys){Zn=3;break e}var ui=8+Ys+1&-2;if(li+=ui,0<Va&&li>Va){Zn=3;break e}if(!x(Ka,yr,"VP8 ")||!x(Ka,yr,"VP8L")){Zn=0;break e}if(Oi[0]<ui){Zn=7;break e}x(Ka,yr,"ALPH")||(zr[0]=Ka,Ur[0]=yr+8,ro[0]=Ys),yr+=ui,Oi-=ui}}if(Ke=Ke[0],Nn.na=Nn.na[0],Nn.P=Nn.P[0],Nn.Sa=Nn.Sa[0],Zn!=0)break}Ke=[Ke],Nn.Ja=[Nn.Ja],Nn.xa=[Nn.xa];e:if(Va=le,Zn=ve,Sr=Ke,zr=Nn.gb[0],Ur=Nn.Ja,ro=Nn.xa,Ka=Zn[0],yr=!x(Va,Ka,"VP8 "),li=!x(Va,Ka,"VP8L"),z(Va!=null),z(Sr!=null),z(Ur!=null),z(ro!=null),8>Sr[0])Zn=7;else{if(yr||li){if(Va=so(Va,Ka+4),12<=zr&&Va>zr-12){Zn=3;break e}if(Vt&&Va>Sr[0]-8){Zn=7;break e}Ur[0]=Va,Zn[0]+=8,Sr[0]-=8,ro[0]=li}else ro[0]=5<=Sr[0]&&Va[Ka+0]==47&&!(Va[Ka+4]>>5),Ur[0]=Sr[0];Zn=0}if(Ke=Ke[0],Nn.Ja=Nn.Ja[0],Nn.xa=Nn.xa[0],ve=ve[0],Zn!=0)break;if(4294967286<Nn.Ja)return 3;if(Lt==null||pr||(Lt[0]=Nn.xa?2:1),bt=[bt],zn=[zn],Nn.xa){if(5>Ke){Zn=7;break}Lt=bt,Vt=zn,pr=vt,le==null||5>Ke?le=0:5<=Ke&&le[ve+0]==47&&!(le[ve+4]>>5)?(Sr=[0],Va=[0],zr=[0],cr(Ur=new Jt,le,ve,Ke),_d(Ur,Sr,Va,zr)?(Lt!=null&&(Lt[0]=Sr[0]),Vt!=null&&(Vt[0]=Va[0]),pr!=null&&(pr[0]=zr[0]),le=1):le=0):le=0}else{if(10>Ke){Zn=7;break}Lt=zn,le==null||10>Ke||!H0(le,ve+3,Ke-3)?le=0:(Vt=le[ve+0]|le[ve+1]<<8|le[ve+2]<<16,pr=16383&(le[ve+7]<<8|le[ve+6]),le=16383&(le[ve+9]<<8|le[ve+8]),1&Vt||3<(Vt>>1&7)||!(Vt>>4&1)||Vt>>5>=Nn.Ja||!pr||!le?le=0:(bt&&(bt[0]=pr),Lt&&(Lt[0]=le),le=1))}if(!le||(bt=bt[0],zn=zn[0],Xn&&(Wt[0]!=bt||Fn[0]!=zn)))return 3;Qt!=null&&(Qt[0]=Nn,Qt.offset=ve-Qt.w,z(4294967286>ve-Qt.w),z(Qt.offset==Qt.ha-Ke));break}return Zn==0||Zn==7&&Xn&&Qt==null?(vt!=null&&(vt[0]|=Nn.na!=null&&0<Nn.na.length),Je!=null&&(Je[0]=bt),ut!=null&&(ut[0]=zn),0):Zn}function jh(le,ve,Ke){var Je=ve.width,ut=ve.height,vt=0,bt=0,Lt=Je,Qt=ut;if(ve.Da=le!=null&&0<le.Da,ve.Da&&(Lt=le.cd,Qt=le.bd,vt=le.v,bt=le.j,11>Ke||(vt&=-2,bt&=-2),0>vt||0>bt||0>=Lt||0>=Qt||vt+Lt>Je||bt+Qt>ut))return 0;if(ve.v=vt,ve.j=bt,ve.va=vt+Lt,ve.o=bt+Qt,ve.U=Lt,ve.T=Qt,ve.da=le!=null&&0<le.da,ve.da){if(!wo(Lt,Qt,Ke=[le.ib],vt=[le.hb]))return 0;ve.ib=Ke[0],ve.hb=vt[0]}return ve.ob=le!=null&&le.ob,ve.Kb=le==null||!le.Sd,ve.da&&(ve.ob=ve.ib<3*Je/4&&ve.hb<3*ut/4,ve.Kb=0),1}function Mh(le){if(le==null)return 2;if(11>le.S){var ve=le.f.RGBA;ve.fb+=(le.height-1)*ve.A,ve.A=-ve.A}else ve=le.f.kb,le=le.height,ve.O+=(le-1)*ve.fa,ve.fa=-ve.fa,ve.N+=(le-1>>1)*ve.Ab,ve.Ab=-ve.Ab,ve.W+=(le-1>>1)*ve.Db,ve.Db=-ve.Db,ve.F!=null&&(ve.J+=(le-1)*ve.lb,ve.lb=-ve.lb);return 0}function gg(le,ve,Ke,Je){if(Je==null||0>=le||0>=ve)return 2;if(Ke!=null){if(Ke.Da){var ut=Ke.cd,vt=Ke.bd,bt=-2&Ke.v,Lt=-2&Ke.j;if(0>bt||0>Lt||0>=ut||0>=vt||bt+ut>le||Lt+vt>ve)return 2;le=ut,ve=vt}if(Ke.da){if(!wo(le,ve,ut=[Ke.ib],vt=[Ke.hb]))return 2;le=ut[0],ve=vt[0]}}Je.width=le,Je.height=ve;e:{var Qt=Je.width,Wt=Je.height;if(le=Je.S,0>=Qt||0>=Wt||!(le>=rm&&13>le))le=2;else{if(0>=Je.Rd&&Je.sd==null){bt=vt=ut=ve=0;var Fn=(Lt=Qt*vv[le])*Wt;if(11>le||(vt=(Wt+1)/2*(ve=(Qt+1)/2),le==12&&(bt=(ut=Qt)*Wt)),(Wt=se(Fn+2*vt+bt))==null){le=1;break e}Je.sd=Wt,11>le?((Qt=Je.f.RGBA).eb=Wt,Qt.fb=0,Qt.A=Lt,Qt.size=Fn):((Qt=Je.f.kb).y=Wt,Qt.O=0,Qt.fa=Lt,Qt.Fd=Fn,Qt.f=Wt,Qt.N=0+Fn,Qt.Ab=ve,Qt.Cd=vt,Qt.ea=Wt,Qt.W=0+Fn+vt,Qt.Db=ve,Qt.Ed=vt,le==12&&(Qt.F=Wt,Qt.J=0+Fn+2*vt),Qt.Tc=bt,Qt.lb=ut)}if(ve=1,ut=Je.S,vt=Je.width,bt=Je.height,ut>=rm&&13>ut)if(11>ut)le=Je.f.RGBA,ve&=(Lt=Math.abs(le.A))*(bt-1)+vt<=le.size,ve&=Lt>=vt*vv[ut],ve&=le.eb!=null;else{le=Je.f.kb,Lt=(vt+1)/2,Fn=(bt+1)/2,Qt=Math.abs(le.fa),Wt=Math.abs(le.Ab);var Xn=Math.abs(le.Db),Vt=Math.abs(le.lb),Nn=Vt*(bt-1)+vt;ve&=Qt*(bt-1)+vt<=le.Fd,ve&=Wt*(Fn-1)+Lt<=le.Cd,ve=(ve&=Xn*(Fn-1)+Lt<=le.Ed)&Qt>=vt&Wt>=Lt&Xn>=Lt,ve&=le.y!=null,ve&=le.f!=null,ve&=le.ea!=null,ut==12&&(ve&=Vt>=vt,ve&=Nn<=le.Tc,ve&=le.F!=null)}else ve=0;le=ve?0:2}}return le!=0||Ke!=null&&Ke.fd&&(le=Mh(Je)),le}var ff=64,Fu=[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],xu=24,fg=32,jd=8,hg=[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];$a("Predictor0","PredictorAdd0"),nn.Predictor0=function(){return 4278190080},nn.Predictor1=function(le){return le},nn.Predictor2=function(le,ve,Ke){return ve[Ke+0]},nn.Predictor3=function(le,ve,Ke){return ve[Ke+1]},nn.Predictor4=function(le,ve,Ke){return ve[Ke-1]},nn.Predictor5=function(le,ve,Ke){return uo(uo(le,ve[Ke+1]),ve[Ke+0])},nn.Predictor6=function(le,ve,Ke){return uo(le,ve[Ke-1])},nn.Predictor7=function(le,ve,Ke){return uo(le,ve[Ke+0])},nn.Predictor8=function(le,ve,Ke){return uo(ve[Ke-1],ve[Ke+0])},nn.Predictor9=function(le,ve,Ke){return uo(ve[Ke+0],ve[Ke+1])},nn.Predictor10=function(le,ve,Ke){return uo(uo(le,ve[Ke-1]),uo(ve[Ke+0],ve[Ke+1]))},nn.Predictor11=function(le,ve,Ke){var Je=ve[Ke+0];return 0>=Xo(Je>>24&255,le>>24&255,(ve=ve[Ke-1])>>24&255)+Xo(Je>>16&255,le>>16&255,ve>>16&255)+Xo(Je>>8&255,le>>8&255,ve>>8&255)+Xo(255&Je,255&le,255&ve)?Je:le},nn.Predictor12=function(le,ve,Ke){var Je=ve[Ke+0];return(oA((le>>24&255)+(Je>>24&255)-((ve=ve[Ke-1])>>24&255))<<24|oA((le>>16&255)+(Je>>16&255)-(ve>>16&255))<<16|oA((le>>8&255)+(Je>>8&255)-(ve>>8&255))<<8|oA((255&le)+(255&Je)-(255&ve)))>>>0},nn.Predictor13=function(le,ve,Ke){var Je=ve[Ke-1];return(_i((le=uo(le,ve[Ke+0]))>>24&255,Je>>24&255)<<24|_i(le>>16&255,Je>>16&255)<<16|_i(le>>8&255,Je>>8&255)<<8|_i(255&le,255&Je))>>>0};var Hh=nn.PredictorAdd0;nn.PredictorAdd1=Di,$a("Predictor2","PredictorAdd2"),$a("Predictor3","PredictorAdd3"),$a("Predictor4","PredictorAdd4"),$a("Predictor5","PredictorAdd5"),$a("Predictor6","PredictorAdd6"),$a("Predictor7","PredictorAdd7"),$a("Predictor8","PredictorAdd8"),$a("Predictor9","PredictorAdd9"),$a("Predictor10","PredictorAdd10"),$a("Predictor11","PredictorAdd11"),$a("Predictor12","PredictorAdd12"),$a("Predictor13","PredictorAdd13");var Yf=nn.PredictorAdd2;oo("ColorIndexInverseTransform","MapARGB","32b",function(le){return le>>8&255},function(le){return le}),oo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(le){return le},function(le){return le>>8&255});var _s,em=nn.ColorIndexInverseTransform,ud=nn.MapARGB,cd=nn.VP8LColorIndexInverseTransformAlpha,Kh=nn.MapAlpha,zh=nn.VP8LPredictorsAdd=[];zh.length=16,(nn.VP8LPredictors=[]).length=16,(nn.VP8LPredictorsAdd_C=[]).length=16,(nn.VP8LPredictors_C=[]).length=16;var Gh,$h,mg,pg,vg,hf,Sg,mf,rc,dd,AA,_A,Ls,Xs,Md,Zh,Jf,tm,$p,Zp,Wp,Vp,Xp,Yp,Wh,Jp,qp,ev,tv=se(511),nv=se(2041),rv=se(225),av=se(767),ov=0,Ap=nv,nm=rv,_u=av,ac=tv,rm=0,am=1,iv=2,om=3,im=4,sp=5,Av=6,lp=7,up=8,Am=9,cp=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[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,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],a1=8,dp=[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],gp=[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],Vh=null,o1=[[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]],i1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],A1=[[[[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,255,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]]]],s1=[[[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]]],l1=[[[[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]]]],u1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Bg=[],Lc=[],Hd=[],c1=1,uv=2,yg=[],oc=[];kd("UpsampleRgbLinePair",dg,3),kd("UpsampleBgrLinePair",bl,3),kd("UpsampleRgbaLinePair",ru,4),kd("UpsampleBgraLinePair",Rh,4),kd("UpsampleArgbLinePair",kh,4),kd("UpsampleRgba4444LinePair",df,2),kd("UpsampleRgb565LinePair",cf,2);var d1=nn.UpsampleRgbLinePair,g1=nn.UpsampleBgrLinePair,cv=nn.UpsampleRgbaLinePair,dv=nn.UpsampleBgraLinePair,gv=nn.UpsampleArgbLinePair,fv=nn.UpsampleRgba4444LinePair,f1=nn.UpsampleRgb565LinePair,sm=16,lm=1<<sm-1,Xh=-227,fp=482,hv=6,h1=(256<<hv)-1,mv=0,m1=se(256),p1=se(256),v1=se(256),S1=se(256),B1=se(fp-Xh),y1=se(fp-Xh);Rd("YuvToRgbRow",dg,3),Rd("YuvToBgrRow",bl,3),Rd("YuvToRgbaRow",ru,4),Rd("YuvToBgraRow",Rh,4),Rd("YuvToArgbRow",kh,4),Rd("YuvToRgba4444Row",df,2),Rd("YuvToRgb565Row",cf,2);var pv=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],um=[0,2,8],w1=[8,7,6,4,4,2,2,2,1,1,1,1],b1=1;this.WebPDecodeRGBA=function(le,ve,Ke,Je,ut){var vt=am,bt=new Br,Lt=new wi;bt.ba=Lt,Lt.S=vt,Lt.width=[Lt.width],Lt.height=[Lt.height];var Qt=Lt.width,Wt=Lt.height,Fn=new Po;if(Fn==null||le==null)var Xn=2;else z(Fn!=null),Xn=gf(le,ve,Ke,Fn.width,Fn.height,Fn.Pd,Fn.Qd,Fn.format,null);if(Xn!=0?Qt=0:(Qt!=null&&(Qt[0]=Fn.width[0]),Wt!=null&&(Wt[0]=Fn.height[0]),Qt=1),Qt){Lt.width=Lt.width[0],Lt.height=Lt.height[0],Je!=null&&(Je[0]=Lt.width),ut!=null&&(ut[0]=Lt.height);e:{if(Je=new zf,(ut=new Ir).data=le,ut.w=ve,ut.ha=Ke,ut.kd=1,ve=[0],z(ut!=null),((le=gf(ut.data,ut.w,ut.ha,null,null,null,ve,null,ut))==0||le==7)&&ve[0]&&(le=4),(ve=le)==0){if(z(bt!=null),Je.data=ut.data,Je.w=ut.w+ut.offset,Je.ha=ut.ha-ut.offset,Je.put=Eo,Je.ac=ad,Je.bc=xd,Je.ma=bt,ut.xa){if((le=tf())==null){bt=1;break e}if(function(Vt,Nn){var zn=[0],pr=[0],Zn=[0];t:for(;;){if(Vt==null)return 0;if(Nn==null)return Vt.a=2,0;if(Vt.l=Nn,Vt.a=0,cr(Vt.m,Nn.data,Nn.w,Nn.ha),!_d(Vt.m,zn,pr,Zn)){Vt.a=3;break t}if(Vt.xb=uv,Nn.width=zn[0],Nn.height=pr[0],!id(zn[0],pr[0],1,Vt,null))break t;return 1}return z(Vt.a!=0),0}(le,Je)){if(Je=(ve=gg(Je.width,Je.height,bt.Oa,bt.ba))==0){t:{Je=le;n:for(;;){if(Je==null){Je=0;break t}if(z(Je.s.yc!=null),z(Je.s.Ya!=null),z(0<Je.s.Wb),z((Ke=Je.l)!=null),z((ut=Ke.ma)!=null),Je.xb!=0){if(Je.ca=ut.ba,Je.tb=ut.tb,z(Je.ca!=null),!jh(ut.Oa,Ke,om)){Je.a=2;break n}if(!nf(Je,Ke.width)||Ke.da)break n;if((Ke.da||Io(Je.ca.S))&&_c(),11>Je.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Je.ca.f.kb.F!=null&&_c()),Je.Pb&&0<Je.s.ua&&Je.s.vb.X==null&&!Gt(Je.s.vb,Je.s.Wa.Xa)){Je.a=1;break n}Je.xb=0}if(!Fc(Je,Je.V,Je.Ba,Je.c,Je.i,Ke.o,ug))break n;ut.Dc=Je.Ma,Je=1;break t}z(Je.a!=0),Je=0}Je=!Je}Je&&(ve=le.a)}else ve=le.a}else{if((le=new $m)==null){bt=1;break e}if(le.Fa=ut.na,le.P=ut.P,le.qc=ut.Sa,sd(le,Je)){if((ve=gg(Je.width,Je.height,bt.Oa,bt.ba))==0){if(le.Aa=0,Ke=bt.Oa,z((ut=le)!=null),Ke!=null){if(0<(Qt=0>(Qt=Ke.Md)?0:100<Qt?255:255*Qt/100)){for(Wt=Fn=0;4>Wt;++Wt)12>(Xn=ut.pb[Wt]).lc&&(Xn.ia=Qt*w1[0>Xn.lc?0:Xn.lc]>>3),Fn|=Xn.ia;Fn&&(alert("todo:VP8InitRandom"),ut.ia=1)}ut.Ga=Ke.Id,100<ut.Ga?ut.Ga=100:0>ut.Ga&&(ut.Ga=0)}(function(Vt,Nn){if(Vt==null)return 0;if(Nn==null)return Ms(Vt,2,"NULL VP8Io parameter in VP8Decode().");if(!Vt.cb&&!sd(Vt,Nn))return 0;if(z(Vt.cb),Nn.ac==null||Nn.ac(Nn)){Nn.ob&&(Vt.L=0);var zn=um[Vt.L];if(Vt.L==2?(Vt.yb=0,Vt.zb=0):(Vt.yb=Nn.v-zn>>4,Vt.zb=Nn.j-zn>>4,0>Vt.yb&&(Vt.yb=0),0>Vt.zb&&(Vt.zb=0)),Vt.Va=Nn.o+15+zn>>4,Vt.Hb=Nn.va+15+zn>>4,Vt.Hb>Vt.za&&(Vt.Hb=Vt.za),Vt.Va>Vt.Ub&&(Vt.Va=Vt.Ub),0<Vt.L){var pr=Vt.ed;for(zn=0;4>zn;++zn){var Zn;if(Vt.Qa.Cb){var Sr=Vt.Qa.Lb[zn];Vt.Qa.Fb||(Sr+=pr.Tb)}else Sr=pr.Tb;for(Zn=0;1>=Zn;++Zn){var yr=Vt.gd[zn][Zn],zr=Sr;if(pr.Pc&&(zr+=pr.vd[0],Zn&&(zr+=pr.od[0])),0<(zr=0>zr?0:63<zr?63:zr)){var Ur=zr;0<pr.wb&&(Ur=4<pr.wb?Ur>>2:Ur>>1)>9-pr.wb&&(Ur=9-pr.wb),1>Ur&&(Ur=1),yr.dd=Ur,yr.tc=2*zr+Ur,yr.ld=40<=zr?2:15<=zr?1:0}else yr.tc=0;yr.La=Zn}}}zn=0}else Ms(Vt,6,"Frame setup failed"),zn=Vt.a;if(zn=zn==0){if(zn){Vt.$c=0,0<Vt.Aa||(Vt.Ic=b1);t:{zn=Vt.Ic,pr=4*(Ur=Vt.za);var ro=32*Ur,Ka=Ur+1,li=0<Vt.L?Ur*(0<Vt.Aa?2:1):0,Va=(Vt.Aa==2?2:1)*Ur;if((yr=pr+832+(Zn=3*(16*zn+um[Vt.L])/2*ro)+(Sr=Vt.Fa!=null&&0<Vt.Fa.length?Vt.Kc.c*Vt.Kc.i:0))!=yr)zn=0;else{if(yr>Vt.Vb){if(Vt.Vb=0,Vt.Ec=se(yr),Vt.Fc=0,Vt.Ec==null){zn=Ms(Vt,1,"no memory during frame initialization.");break t}Vt.Vb=yr}yr=Vt.Ec,zr=Vt.Fc,Vt.Ac=yr,Vt.Bc=zr,zr+=pr,Vt.Gd=Ee(ro,j0),Vt.Hd=0,Vt.rb=Ee(Ka+1,Fh),Vt.sb=1,Vt.wa=li?Ee(li,ec):null,Vt.Y=0,Vt.D.Nb=0,Vt.D.wa=Vt.wa,Vt.D.Y=Vt.Y,0<Vt.Aa&&(Vt.D.Y+=Ur),z(!0),Vt.oc=yr,Vt.pc=zr,zr+=832,Vt.ya=Ee(Va,xh),Vt.aa=0,Vt.D.ya=Vt.ya,Vt.D.aa=Vt.aa,Vt.Aa==2&&(Vt.D.aa+=Ur),Vt.R=16*Ur,Vt.B=8*Ur,Ur=(ro=um[Vt.L])*Vt.R,ro=ro/2*Vt.B,Vt.sa=yr,Vt.ta=zr+Ur,Vt.qa=Vt.sa,Vt.ra=Vt.ta+16*zn*Vt.R+ro,Vt.Ha=Vt.qa,Vt.Ia=Vt.ra+8*zn*Vt.B+ro,Vt.$c=0,zr+=Zn,Vt.mb=Sr?yr:null,Vt.nb=Sr?zr:null,z(zr+Sr<=Vt.Fc+Vt.Vb),K0(Vt),ae(Vt.Ac,Vt.Bc,0,pr),zn=1}}if(zn){if(Nn.ka=0,Nn.y=Vt.sa,Nn.O=Vt.ta,Nn.f=Vt.qa,Nn.N=Vt.ra,Nn.ea=Vt.Ha,Nn.Vd=Vt.Ia,Nn.fa=Vt.R,Nn.Rc=Vt.B,Nn.F=null,Nn.J=0,!ov){for(zn=-255;255>=zn;++zn)tv[255+zn]=0>zn?-zn:zn;for(zn=-1020;1020>=zn;++zn)nv[1020+zn]=-128>zn?-128:127<zn?127:zn;for(zn=-112;112>=zn;++zn)rv[112+zn]=-16>zn?-16:15<zn?15:zn;for(zn=-255;510>=zn;++zn)av[255+zn]=0>zn?0:255<zn?255:zn;ov=1}Sg=$f,mf=Wm,dd=ld,AA=G0,_A=$0,rc=Zm,Ls=Y0,Xs=sf,Md=lt,Zh=Xt,Jf=J0,tm=Ue,$p=hn,Zp=jn,Wp=Af,Vp=Qh,Xp=V0,Yp=X0,Lc[0]=np,Lc[1]=Vm,Lc[2]=ep,Lc[3]=tp,Lc[4]=Id,Lc[5]=rp,Lc[6]=Ud,Lc[7]=ap,Lc[8]=Ih,Lc[9]=Zf,Bg[0]=Jm,Bg[1]=Ym,Bg[2]=_h,Bg[3]=Z0,Bg[4]=af,Bg[5]=Lh,Bg[6]=qm,Hd[0]=ip,Hd[1]=Xm,Hd[2]=of,Hd[3]=op,Hd[4]=Nh,Hd[5]=Uh,Hd[6]=W0,zn=1}else zn=0}zn&&(zn=function(Oi,Ys){for(Oi.M=0;Oi.M<Oi.Va;++Oi.M){var ui,Xa=Oi.Jc[Oi.M&Oi.Xb],ga=Oi.m,Is=Oi;for(ui=0;ui<Is.za;++ui){var Jo=ga,ji=Is,HA=ji.Ac,Cl=ji.Bc+4*ui,au=ji.zc,ws=ji.ya[ji.aa+ui];if(ji.Qa.Bb?ws.$b=br(Jo,ji.Pa.jb[0])?2+br(Jo,ji.Pa.jb[2]):br(Jo,ji.Pa.jb[1]):ws.$b=0,ji.kc&&(ws.Ad=br(Jo,ji.Bd)),ws.Za=!br(Jo,145)+0,ws.Za){var Kl=ws.Ob,ou=0;for(ji=0;4>ji;++ji){var Js,zi=au[0+ji];for(Js=0;4>Js;++Js){zi=s1[HA[Cl+Js]][zi];for(var fA=lv[br(Jo,zi[0])];0<fA;)fA=lv[2*fA+br(Jo,zi[fA])];zi=-fA,HA[Cl+Js]=zi}re(Kl,ou,HA,Cl,4),ou+=4,au[0+ji]=zi}}else zi=br(Jo,156)?br(Jo,128)?1:3:br(Jo,163)?2:0,ws.Ob[0]=zi,ae(HA,Cl,zi,4),ae(au,0,zi,4);ws.Dd=br(Jo,142)?br(Jo,114)?br(Jo,183)?1:3:2:0}if(Is.m.Ka)return Ms(Oi,7,"Premature end-of-partition0 encountered.");for(;Oi.ja<Oi.za;++Oi.ja){if(Is=Xa,Jo=(ga=Oi).rb[ga.sb-1],HA=ga.rb[ga.sb+ga.ja],ui=ga.ya[ga.aa+ga.ja],Cl=ga.kc?ui.Ad:0)Jo.la=HA.la=0,ui.Za||(Jo.Na=HA.Na=0),ui.Hc=0,ui.Gc=0,ui.ia=0;else{var bs,hA;if(Jo=HA,HA=Is,Cl=ga.Pa.Xc,au=ga.ya[ga.aa+ga.ja],ws=ga.pb[au.$b],ji=au.ad,Kl=0,ou=ga.rb[ga.sb-1],zi=Js=0,ae(ji,Kl,0,384),au.Za)var Pl=0,Ic=Cl[3];else{fA=se(16);var Us=Jo.Na+ou.Na;if(Us=Vh(HA,Cl[1],Us,ws.Eb,0,fA,0),Jo.Na=ou.Na=(0<Us)+0,1<Us)Sg(fA,0,ji,Kl);else{var pu=fA[0]+3>>3;for(fA=0;256>fA;fA+=16)ji[Kl+fA]=pu}Pl=1,Ic=Cl[0]}var LA=15&Jo.la,qs=15&ou.la;for(fA=0;4>fA;++fA){var Lu=1&qs;for(pu=hA=0;4>pu;++pu)LA=LA>>1|(Lu=(Us=Vh(HA,Ic,Us=Lu+(1&LA),ws.Sc,Pl,ji,Kl))>Pl)<<7,hA=hA<<2|(3<Us?3:1<Us?2:ji[Kl+0]!=0),Kl+=16;LA>>=4,qs=qs>>1|Lu<<7,Js=(Js<<8|hA)>>>0}for(Ic=LA,Pl=qs>>4,bs=0;4>bs;bs+=2){for(hA=0,LA=Jo.la>>4+bs,qs=ou.la>>4+bs,fA=0;2>fA;++fA){for(Lu=1&qs,pu=0;2>pu;++pu)Us=Lu+(1&LA),LA=LA>>1|(Lu=0<(Us=Vh(HA,Cl[2],Us,ws.Qc,0,ji,Kl)))<<3,hA=hA<<2|(3<Us?3:1<Us?2:ji[Kl+0]!=0),Kl+=16;LA>>=2,qs=qs>>1|Lu<<5}zi|=hA<<4*bs,Ic|=LA<<4<<bs,Pl|=(240&qs)<<bs}Jo.la=Ic,ou.la=Pl,au.Hc=Js,au.Gc=zi,au.ia=43690&zi?0:ws.ia,Cl=!(Js|zi)}if(0<ga.L&&(ga.wa[ga.Y+ga.ja]=ga.gd[ui.$b][ui.Za],ga.wa[ga.Y+ga.ja].La|=!Cl),Is.Ka)return Ms(Oi,7,"Premature end-of-file encountered.")}if(K0(Oi),ga=Ys,Is=1,ui=(Xa=Oi).D,Jo=0<Xa.L&&Xa.M>=Xa.zb&&Xa.M<=Xa.Va,Xa.Aa==0)t:{if(ui.M=Xa.M,ui.uc=Jo,nc(Xa,ui),Is=1,ui=(hA=Xa.D).Nb,Jo=(zi=um[Xa.L])*Xa.R,HA=zi/2*Xa.B,fA=16*ui*Xa.R,pu=8*ui*Xa.B,Cl=Xa.sa,au=Xa.ta-Jo+fA,ws=Xa.qa,ji=Xa.ra-HA+pu,Kl=Xa.Ha,ou=Xa.Ia-HA+pu,qs=(LA=hA.M)==0,Js=LA>=Xa.Va-1,Xa.Aa==2&&nc(Xa,hA),hA.uc)for(Lu=(Us=Xa).D.M,z(Us.D.uc),hA=Us.yb;hA<Us.Hb;++hA){Pl=hA,Ic=Lu;var iu=(Iu=(El=Us).D).Nb;bs=El.R;var Iu=Iu.wa[Iu.Y+Pl],Uu=El.sa,vu=El.ta+16*iu*bs+16*Pl,Nu=Iu.dd,RA=Iu.tc;if(RA!=0)if(z(3<=RA),El.L==1)0<Pl&&Vp(Uu,vu,bs,RA+4),Iu.La&&Yp(Uu,vu,bs,RA),0<Ic&&Wp(Uu,vu,bs,RA+4),Iu.La&&Xp(Uu,vu,bs,RA);else{var Du=El.B,Uc=El.qa,pf=El.ra+8*iu*Du+8*Pl,Kd=El.Ha,El=El.Ia+8*iu*Du+8*Pl;iu=Iu.ld,0<Pl&&(Xs(Uu,vu,bs,RA+4,Nu,iu),Zh(Uc,pf,Kd,El,Du,RA+4,Nu,iu)),Iu.La&&(tm(Uu,vu,bs,RA,Nu,iu),Zp(Uc,pf,Kd,El,Du,RA,Nu,iu)),0<Ic&&(Ls(Uu,vu,bs,RA+4,Nu,iu),Md(Uc,pf,Kd,El,Du,RA+4,Nu,iu)),Iu.La&&(Jf(Uu,vu,bs,RA,Nu,iu),$p(Uc,pf,Kd,El,Du,RA,Nu,iu))}}if(Xa.ia&&alert("todo:DitherRow"),ga.put!=null){if(hA=16*LA,LA=16*(LA+1),qs?(ga.y=Xa.sa,ga.O=Xa.ta+fA,ga.f=Xa.qa,ga.N=Xa.ra+pu,ga.ea=Xa.Ha,ga.W=Xa.Ia+pu):(hA-=zi,ga.y=Cl,ga.O=au,ga.f=ws,ga.N=ji,ga.ea=Kl,ga.W=ou),Js||(LA-=zi),LA>ga.o&&(LA=ga.o),ga.F=null,ga.J=null,Xa.Fa!=null&&0<Xa.Fa.length&&hA<LA&&(ga.J=kA(Xa,ga,hA,LA-hA),ga.F=Xa.mb,ga.F==null&&ga.F.length==0)){Is=Ms(Xa,3,"Could not decode alpha data.");break t}hA<ga.j&&(zi=ga.j-hA,hA=ga.j,z(!(1&zi)),ga.O+=Xa.R*zi,ga.N+=Xa.B*(zi>>1),ga.W+=Xa.B*(zi>>1),ga.F!=null&&(ga.J+=ga.width*zi)),hA<LA&&(ga.O+=ga.v,ga.N+=ga.v>>1,ga.W+=ga.v>>1,ga.F!=null&&(ga.J+=ga.v),ga.ka=hA-ga.j,ga.U=ga.va-ga.v,ga.T=LA-hA,Is=ga.put(ga))}ui+1!=Xa.Ic||Js||(re(Xa.sa,Xa.ta-Jo,Cl,au+16*Xa.R,Jo),re(Xa.qa,Xa.ra-HA,ws,ji+8*Xa.B,HA),re(Xa.Ha,Xa.Ia-HA,Kl,ou+8*Xa.B,HA))}if(!Is)return Ms(Oi,6,"Output aborted.")}return 1}(Vt,Nn)),Nn.bc!=null&&Nn.bc(Nn),zn&=1}return zn?(Vt.cb=0,zn):0})(le,Je)||(ve=le.a)}}else ve=le.a}ve==0&&bt.Oa!=null&&bt.Oa.fd&&(ve=Mh(bt.ba))}bt=ve}vt=bt!=0?null:11>vt?Lt.f.RGBA.eb:Lt.f.kb.y}else vt=null;return vt};var vv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ne(nn,Mn){for(var Ft="",zt=0;zt<4;zt++)Ft+=String.fromCharCode(nn[Mn++]);return Ft}function We(nn,Mn){return nn[Mn+0]|nn[Mn+1]<<8}function At(nn,Mn){return(nn[Mn+0]|nn[Mn+1]<<8|nn[Mn+2]<<16)>>>0}function mt(nn,Mn){return(nn[Mn+0]|nn[Mn+1]<<8|nn[Mn+2]<<16|nn[Mn+3]<<24)>>>0}new xe;var $e=[0],Mt=[0],Tt=[],Ht=new xe,xt=b,Bn=function(nn,Mn){var Ft={},zt=0,pn=!1,gn=0,qn=0;if(Ft.frames=[],!function(Ct,Jt){for(var ln=0;ln<4;ln++)if(Ct[Jt+ln]!="RIFF".charCodeAt(ln))return!0;return!1}(nn,Mn)){for(mt(nn,Mn+=4),Mn+=8;Mn<nn.length;){var nr=Ne(nn,Mn),ir=mt(nn,Mn+=4);Mn+=4;var Wn=ir+(1&ir);switch(nr){case"VP8 ":case"VP8L":Ft.frames[zt]===void 0&&(Ft.frames[zt]={}),(_r=Ft.frames[zt]).src_off=pn?qn:Mn-8,_r.src_size=gn+ir+8,zt++,pn&&(pn=!1,gn=0,qn=0);break;case"VP8X":(_r=Ft.header={}).feature_flags=nn[Mn];var cr=Mn+4;_r.canvas_width=1+At(nn,cr),cr+=3,_r.canvas_height=1+At(nn,cr),cr+=3;break;case"ALPH":pn=!0,gn=Wn+8,qn=Mn-8;break;case"ANIM":(_r=Ft.header).bgcolor=mt(nn,Mn),cr=Mn+4,_r.loop_count=We(nn,cr),cr+=2;break;case"ANMF":var Jr,_r;(_r=Ft.frames[zt]={}).offset_x=2*At(nn,Mn),Mn+=3,_r.offset_y=2*At(nn,Mn),Mn+=3,_r.width=1+At(nn,Mn),Mn+=3,_r.height=1+At(nn,Mn),Mn+=3,_r.duration=At(nn,Mn),Mn+=3,Jr=nn[Mn++],_r.dispose=1&Jr,_r.blend=Jr>>1&1}nr!="ANMF"&&(Mn+=Wn)}return Ft}}(xt,0);Bn.response=xt,Bn.rgbaoutput=!0,Bn.dataurl=!1;var cn=Bn.header?Bn.header:null,en=Bn.frames?Bn.frames:null;if(cn){cn.loop_counter=cn.loop_count,$e=[cn.canvas_height],Mt=[cn.canvas_width];for(var Yn=0;Yn<en.length&&en[Yn].blend!=0;Yn++);}var vr=en[0],rr=Ht.WebPDecodeRGBA(xt,vr.src_off,vr.src_size,Mt,$e);vr.rgba=rr,vr.imgwidth=Mt[0],vr.imgheight=$e[0];for(var xn=0;xn<Mt[0]*$e[0]*4;xn++)Tt[xn]=rr[xn];return this.width=Mt,this.height=$e,this.data=Tt,this}(function(b){var z,x,re,ae,se,Ee,Be,xe,Ne,We=function(Ct){return Ct=Ct||{},this.isStrokeTransparent=Ct.isStrokeTransparent||!1,this.strokeOpacity=Ct.strokeOpacity||1,this.strokeStyle=Ct.strokeStyle||"#000000",this.fillStyle=Ct.fillStyle||"#000000",this.isFillTransparent=Ct.isFillTransparent||!1,this.fillOpacity=Ct.fillOpacity||1,this.font=Ct.font||"10px sans-serif",this.textBaseline=Ct.textBaseline||"alphabetic",this.textAlign=Ct.textAlign||"left",this.lineWidth=Ct.lineWidth||1,this.lineJoin=Ct.lineJoin||"miter",this.lineCap=Ct.lineCap||"butt",this.path=Ct.path||[],this.transform=Ct.transform!==void 0?Ct.transform.clone():new xe,this.globalCompositeOperation=Ct.globalCompositeOperation||"normal",this.globalAlpha=Ct.globalAlpha||1,this.clip_path=Ct.clip_path||[],this.currentPoint=Ct.currentPoint||new Ee,this.miterLimit=Ct.miterLimit||10,this.lastPoint=Ct.lastPoint||new Ee,this.lineDashOffset=Ct.lineDashOffset||0,this.lineDash=Ct.lineDash||[],this.margin=Ct.margin||[0,0,0,0],this.prevPageLastElemOffset=Ct.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Ct.ignoreClearRect!="boolean"||Ct.ignoreClearRect,this};b.events.push(["initialized",function(){this.context2d=new At(this),z=this.internal.f2,x=this.internal.getCoordinateString,re=this.internal.getVerticalCoordinateString,ae=this.internal.getHorizontalCoordinate,se=this.internal.getVerticalCoordinate,Ee=this.internal.Point,Be=this.internal.Rectangle,xe=this.internal.Matrix,Ne=new We}]);var At=function(Ct){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Jt=Ct;Object.defineProperty(this,"pdf",{get:function(){return Jt}});var ln=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return ln},set:function(Gt){ln=!!Gt}});var bn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return bn},set:function(Gt){bn=!!Gt}});var Dn=0;Object.defineProperty(this,"posX",{get:function(){return Dn},set:function(Gt){isNaN(Gt)||(Dn=Gt)}});var $n=0;Object.defineProperty(this,"posY",{get:function(){return $n},set:function(Gt){isNaN(Gt)||($n=Gt)}}),Object.defineProperty(this,"margin",{get:function(){return Ne.margin},set:function(Gt){var ya;typeof Gt=="number"?ya=[Gt,Gt,Gt,Gt]:((ya=new Array(4))[0]=Gt[0],ya[1]=Gt.length>=2?Gt[1]:ya[0],ya[2]=Gt.length>=3?Gt[2]:ya[0],ya[3]=Gt.length>=4?Gt[3]:ya[1]),Ne.margin=ya}});var ar=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ar},set:function(Gt){ar=Gt}});var lr=0;Object.defineProperty(this,"lastBreak",{get:function(){return lr},set:function(Gt){lr=Gt}});var br=[];Object.defineProperty(this,"pageBreaks",{get:function(){return br},set:function(Gt){br=Gt}}),Object.defineProperty(this,"ctx",{get:function(){return Ne},set:function(Gt){Gt instanceof We&&(Ne=Gt)}}),Object.defineProperty(this,"path",{get:function(){return Ne.path},set:function(Gt){Ne.path=Gt}});var Vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Vr},set:function(Gt){Vr=Gt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Gt){var ya;ya=mt(Gt),this.ctx.fillStyle=ya.style,this.ctx.isFillTransparent=ya.a===0,this.ctx.fillOpacity=ya.a,this.pdf.setFillColor(ya.r,ya.g,ya.b,{a:ya.a}),this.pdf.setTextColor(ya.r,ya.g,ya.b,{a:ya.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Gt){var ya=mt(Gt);this.ctx.strokeStyle=ya.style,this.ctx.isStrokeTransparent=ya.a===0,this.ctx.strokeOpacity=ya.a,ya.a===0?this.pdf.setDrawColor(255,255,255):(ya.a,this.pdf.setDrawColor(ya.r,ya.g,ya.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Gt){["butt","round","square"].indexOf(Gt)!==-1&&(this.ctx.lineCap=Gt,this.pdf.setLineCap(Gt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Gt){isNaN(Gt)||(this.ctx.lineWidth=Gt,this.pdf.setLineWidth(Gt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Gt){["bevel","round","miter"].indexOf(Gt)!==-1&&(this.ctx.lineJoin=Gt,this.pdf.setLineJoin(Gt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Gt){isNaN(Gt)||(this.ctx.miterLimit=Gt,this.pdf.setMiterLimit(Gt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Gt){this.ctx.textBaseline=Gt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Gt){["right","end","center","left","start"].indexOf(Gt)!==-1&&(this.ctx.textAlign=Gt)}});var Ba=null,ma=null,so=null;Object.defineProperty(this,"fontFaces",{get:function(){return so},set:function(Gt){Ba=null,ma=null,so=Gt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Gt){var ya;if(this.ctx.font=Gt,(ya=/^\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-z0-9]+?)\s*$/i.exec(Gt))!==null){var fi=ya[1];ya[2];var wo=ya[3],Mr=ya[4];ya[5];var bo=ya[6],$a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Mr)[2];Mr=Math.floor($a==="px"?parseFloat(Mr)*this.pdf.internal.scaleFactor:$a==="em"?parseFloat(Mr)*this.pdf.getFontSize():parseFloat(Mr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Mr);var po=function(oo){var xs,Hi,vi=[],Si=oo.trim();if(Si==="")return Hm;if(Si in ed)return[ed[Si]];for(;Si!=="";){switch(Hi=null,xs=(Si=td(Si)).charAt(0)){case'"':case"'":Hi=wc(Si.substring(1),xs);break;default:Hi=sg(Si)}if(Hi===null||(vi.push(Hi[0]),(Si=td(Hi[1]))!==""&&Si.charAt(0)!==","))return Hm;Si=Si.replace(/^,/,"")}return vi}(bo);if(this.fontFaces){var uo=function(oo,xs){var Hi=oo.getFontList(),vi=JSON.stringify(Hi);if(Ba===null||ma!==vi){var Si=function(es){var fo=[];return Object.keys(es).forEach(function(TA){es[TA].forEach(function(Io){var Yo=null;switch(Io){case"bold":Yo={family:TA,weight:"bold"};break;case"italic":Yo={family:TA,style:"italic"};break;case"bolditalic":Yo={family:TA,weight:"bold",style:"italic"};break;case"":case"normal":Yo={family:TA}}Yo!==null&&(Yo.ref={name:TA,style:Io},fo.push(Yo))})}),fo}(Hi);Ba=function(es){for(var fo={},TA=0;TA<es.length;++TA){var Io=mu(es[TA]),Yo=Io.family,ts=Io.stretch,wi=Io.style,Po=Io.weight;fo[Yo]=fo[Yo]||{},fo[Yo][ts]=fo[Yo][ts]||{},fo[Yo][ts][wi]=fo[Yo][ts][wi]||{},fo[Yo][ts][wi][Po]=Io}return fo}(Si.concat(xs)),ma=vi}return Ba}(this.pdf,this.fontFaces),oA=po.map(function(oo){return{family:oo,stretch:"normal",weight:wo,style:fi}}),_i=function(oo,xs,Hi){for(var vi=(Hi=Hi||{}).defaultFontFamily||"times",Si=Object.assign({},Ed,Hi.genericFontFamilies||{}),es=null,fo=null,TA=0;TA<xs.length;++TA)if(Si[(es=mu(xs[TA])).family]&&(es.family=Si[es.family]),oo.hasOwnProperty(es.family)){fo=oo[es.family];break}if(!(fo=fo||oo[vi]))throw new Error("Could not find a font-family for the rule '"+Xu(es)+"' and default family '"+vi+"'.");if(fo=function(Io,Yo){if(Yo[Io])return Yo[Io];var ts=cl[Io],wi=ts<=cl.normal?-1:1,Po=yc(Yo,Bc,ts,wi);if(!Po)throw new Error("Could not find a matching font-stretch value for "+Io);return Po}(es.stretch,fo),fo=function(Io,Yo){if(Yo[Io])return Yo[Io];for(var ts=js[Io],wi=0;wi<ts.length;++wi)if(Yo[ts[wi]])return Yo[ts[wi]];throw new Error("Could not find a matching font-style for "+Io)}(es.style,fo),!(fo=function(Io,Yo){if(Yo[Io])return Yo[Io];if(Io===400&&Yo[500])return Yo[500];if(Io===500&&Yo[400])return Yo[400];var ts=Pd[Io],wi=yc(Yo,Bl,ts,Io<400?-1:1);if(!wi)throw new Error("Could not find a matching font-weight for value "+Io);return wi}(es.weight,fo)))throw new Error("Failed to resolve a font for the rule '"+Xu(es)+"'.");return fo}(uo,oA);this.pdf.setFont(_i.ref.name,_i.ref.style)}else{var Xo="";(wo==="bold"||parseInt(wo,10)>=700||fi==="bold")&&(Xo="bold"),fi==="italic"&&(Xo+="italic"),Xo.length===0&&(Xo="normal");for(var Di="",Li={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"},qa=0;qa<po.length;qa++){if(this.pdf.internal.getFont(po[qa],Xo,{noFallback:!0,disableWarning:!0})!==void 0){Di=po[qa];break}if(Xo==="bolditalic"&&this.pdf.internal.getFont(po[qa],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Di=po[qa],Xo="bold";else if(this.pdf.internal.getFont(po[qa],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Di=po[qa],Xo="normal";break}}if(Di===""){for(var ri=0;ri<po.length;ri++)if(Li[po[ri]]){Di=Li[po[ri]];break}}Di=Di===""?"Times":Di,this.pdf.setFont(Di,Xo)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Gt){this.ctx.globalCompositeOperation=Gt}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Gt){this.ctx.globalAlpha=Gt}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Gt){this.ctx.lineDashOffset=Gt,_r.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Gt){this.ctx.lineDash=Gt,_r.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Gt){this.ctx.ignoreClearRect=!!Gt}})};At.prototype.setLineDash=function(Ct){this.lineDash=Ct},At.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},At.prototype.fill=function(){en.call(this,"fill",!1)},At.prototype.stroke=function(){en.call(this,"stroke",!1)},At.prototype.beginPath=function(){this.path=[{type:"begin"}]},At.prototype.moveTo=function(Ct,Jt){if(isNaN(Ct)||isNaN(Jt))throw gA.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var ln=this.ctx.transform.applyToPoint(new Ee(Ct,Jt));this.path.push({type:"mt",x:ln.x,y:ln.y}),this.ctx.lastPoint=new Ee(Ct,Jt)},At.prototype.closePath=function(){var Ct=new Ee(0,0),Jt=0;for(Jt=this.path.length-1;Jt!==-1;Jt--)if(this.path[Jt].type==="begin"&&(0,Oe.Z)(this.path[Jt+1])==="object"&&typeof this.path[Jt+1].x=="number"){Ct=new Ee(this.path[Jt+1].x,this.path[Jt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Ee(Ct.x,Ct.y)},At.prototype.lineTo=function(Ct,Jt){if(isNaN(Ct)||isNaN(Jt))throw gA.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var ln=this.ctx.transform.applyToPoint(new Ee(Ct,Jt));this.path.push({type:"lt",x:ln.x,y:ln.y}),this.ctx.lastPoint=new Ee(ln.x,ln.y)},At.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),en.call(this,null,!0)},At.prototype.quadraticCurveTo=function(Ct,Jt,ln,bn){if(isNaN(ln)||isNaN(bn)||isNaN(Ct)||isNaN(Jt))throw gA.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Dn=this.ctx.transform.applyToPoint(new Ee(ln,bn)),$n=this.ctx.transform.applyToPoint(new Ee(Ct,Jt));this.path.push({type:"qct",x1:$n.x,y1:$n.y,x:Dn.x,y:Dn.y}),this.ctx.lastPoint=new Ee(Dn.x,Dn.y)},At.prototype.bezierCurveTo=function(Ct,Jt,ln,bn,Dn,$n){if(isNaN(Dn)||isNaN($n)||isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn))throw gA.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ar=this.ctx.transform.applyToPoint(new Ee(Dn,$n)),lr=this.ctx.transform.applyToPoint(new Ee(Ct,Jt)),br=this.ctx.transform.applyToPoint(new Ee(ln,bn));this.path.push({type:"bct",x1:lr.x,y1:lr.y,x2:br.x,y2:br.y,x:ar.x,y:ar.y}),this.ctx.lastPoint=new Ee(ar.x,ar.y)},At.prototype.arc=function(Ct,Jt,ln,bn,Dn,$n){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn)||isNaN(Dn))throw gA.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if($n=!!$n,!this.ctx.transform.isIdentity){var ar=this.ctx.transform.applyToPoint(new Ee(Ct,Jt));Ct=ar.x,Jt=ar.y;var lr=this.ctx.transform.applyToPoint(new Ee(0,ln)),br=this.ctx.transform.applyToPoint(new Ee(0,0));ln=Math.sqrt(Math.pow(lr.x-br.x,2)+Math.pow(lr.y-br.y,2))}Math.abs(Dn-bn)>=2*Math.PI&&(bn=0,Dn=2*Math.PI),this.path.push({type:"arc",x:Ct,y:Jt,radius:ln,startAngle:bn,endAngle:Dn,counterclockwise:$n})},At.prototype.arcTo=function(Ct,Jt,ln,bn,Dn){throw new Error("arcTo not implemented.")},At.prototype.rect=function(Ct,Jt,ln,bn){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn))throw gA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ct,Jt),this.lineTo(Ct+ln,Jt),this.lineTo(Ct+ln,Jt+bn),this.lineTo(Ct,Jt+bn),this.lineTo(Ct,Jt),this.lineTo(Ct+ln,Jt),this.lineTo(Ct,Jt)},At.prototype.fillRect=function(Ct,Jt,ln,bn){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn))throw gA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Dn={};this.lineCap!=="butt"&&(Dn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Dn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ct,Jt,ln,bn),this.fill(),Dn.hasOwnProperty("lineCap")&&(this.lineCap=Dn.lineCap),Dn.hasOwnProperty("lineJoin")&&(this.lineJoin=Dn.lineJoin)}},At.prototype.strokeRect=function(Ct,Jt,ln,bn){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn))throw gA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Mt.call(this)||(this.beginPath(),this.rect(Ct,Jt,ln,bn),this.stroke())},At.prototype.clearRect=function(Ct,Jt,ln,bn){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn))throw gA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ct,Jt,ln,bn))},At.prototype.save=function(Ct){Ct=typeof Ct!="boolean"||Ct;for(var Jt=this.pdf.internal.getCurrentPageInfo().pageNumber,ln=0;ln<this.pdf.internal.getNumberOfPages();ln++)this.pdf.setPage(ln+1),this.pdf.internal.out("q");if(this.pdf.setPage(Jt),Ct){this.ctx.fontSize=this.pdf.internal.getFontSize();var bn=new We(this.ctx);this.ctxStack.push(this.ctx),this.ctx=bn}},At.prototype.restore=function(Ct){Ct=typeof Ct!="boolean"||Ct;for(var Jt=this.pdf.internal.getCurrentPageInfo().pageNumber,ln=0;ln<this.pdf.internal.getNumberOfPages();ln++)this.pdf.setPage(ln+1),this.pdf.internal.out("Q");this.pdf.setPage(Jt),Ct&&this.ctxStack.length!==0&&(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)},At.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var mt=function(Ct){var Jt,ln,bn,Dn;if(Ct.isCanvasGradient===!0&&(Ct=Ct.getColor()),!Ct)return{r:0,g:0,b:0,a:0,style:Ct};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ct))Jt=0,ln=0,bn=0,Dn=0;else{var $n=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ct);if($n!==null)Jt=parseInt($n[1]),ln=parseInt($n[2]),bn=parseInt($n[3]),Dn=1;else if(($n=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ct))!==null)Jt=parseInt($n[1]),ln=parseInt($n[2]),bn=parseInt($n[3]),Dn=parseFloat($n[4]);else{if(Dn=1,typeof Ct=="string"&&Ct.charAt(0)!=="#"){var ar=new L0(Ct);Ct=ar.ok?ar.toHex():"#000000"}Ct.length===4?(Jt=Ct.substring(1,2),Jt+=Jt,ln=Ct.substring(2,3),ln+=ln,bn=Ct.substring(3,4),bn+=bn):(Jt=Ct.substring(1,3),ln=Ct.substring(3,5),bn=Ct.substring(5,7)),Jt=parseInt(Jt,16),ln=parseInt(ln,16),bn=parseInt(bn,16)}}return{r:Jt,g:ln,b:bn,a:Dn,style:Ct}},$e=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Mt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};At.prototype.fillText=function(Ct,Jt,ln,bn){if(isNaN(Jt)||isNaN(ln)||typeof Ct!="string")throw gA.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(bn=isNaN(bn)?void 0:bn,!$e.call(this)){var Dn=Wn(this.ctx.transform.rotation),$n=this.ctx.transform.scaleX;zt.call(this,{text:Ct,x:Jt,y:ln,scale:$n,angle:Dn,align:this.textAlign,maxWidth:bn})}},At.prototype.strokeText=function(Ct,Jt,ln,bn){if(isNaN(Jt)||isNaN(ln)||typeof Ct!="string")throw gA.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Mt.call(this)){bn=isNaN(bn)?void 0:bn;var Dn=Wn(this.ctx.transform.rotation),$n=this.ctx.transform.scaleX;zt.call(this,{text:Ct,x:Jt,y:ln,scale:$n,renderingMode:"stroke",angle:Dn,align:this.textAlign,maxWidth:bn})}},At.prototype.measureText=function(Ct){if(typeof Ct!="string")throw gA.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Jt=this.pdf,ln=this.pdf.internal.scaleFactor,bn=Jt.internal.getFontSize(),Dn=Jt.getStringUnitWidth(Ct)*bn/Jt.internal.scaleFactor;return new function($n){var ar=($n=$n||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ar}}),this}({width:Dn*=Math.round(96*ln/72*1e4)/1e4})},At.prototype.scale=function(Ct,Jt){if(isNaN(Ct)||isNaN(Jt))throw gA.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var ln=new xe(Ct,0,0,Jt,0,0);this.ctx.transform=this.ctx.transform.multiply(ln)},At.prototype.rotate=function(Ct){if(isNaN(Ct))throw gA.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Jt=new xe(Math.cos(Ct),Math.sin(Ct),-Math.sin(Ct),Math.cos(Ct),0,0);this.ctx.transform=this.ctx.transform.multiply(Jt)},At.prototype.translate=function(Ct,Jt){if(isNaN(Ct)||isNaN(Jt))throw gA.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var ln=new xe(1,0,0,1,Ct,Jt);this.ctx.transform=this.ctx.transform.multiply(ln)},At.prototype.transform=function(Ct,Jt,ln,bn,Dn,$n){if(isNaN(Ct)||isNaN(Jt)||isNaN(ln)||isNaN(bn)||isNaN(Dn)||isNaN($n))throw gA.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ar=new xe(Ct,Jt,ln,bn,Dn,$n);this.ctx.transform=this.ctx.transform.multiply(ar)},At.prototype.setTransform=function(Ct,Jt,ln,bn,Dn,$n){Ct=isNaN(Ct)?1:Ct,Jt=isNaN(Jt)?0:Jt,ln=isNaN(ln)?0:ln,bn=isNaN(bn)?1:bn,Dn=isNaN(Dn)?0:Dn,$n=isNaN($n)?0:$n,this.ctx.transform=new xe(Ct,Jt,ln,bn,Dn,$n)};var Tt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};At.prototype.drawImage=function(Ct,Jt,ln,bn,Dn,$n,ar,lr,br){var Vr=this.pdf.getImageProperties(Ct),Ba=1,ma=1,so=1,Gt=1;bn!==void 0&&lr!==void 0&&(so=lr/bn,Gt=br/Dn,Ba=Vr.width/bn*lr/bn,ma=Vr.height/Dn*br/Dn),$n===void 0&&($n=Jt,ar=ln,Jt=0,ln=0),bn!==void 0&&lr===void 0&&(lr=bn,br=Dn),bn===void 0&&lr===void 0&&(lr=Vr.width,br=Vr.height);var ya=this.ctx.transform.decompose(),fi=Wn(ya.rotate.shx),wo=new xe,Mr=(wo=(wo=(wo=wo.multiply(ya.translate)).multiply(ya.skew)).multiply(ya.scale)).applyToRectangle(new Be($n-Jt*so,ar-ln*Gt,bn*Ba,Dn*ma));if(this.autoPaging){for(var bo,$a=Ht.call(this,Mr),po=[],uo=0;uo<$a.length;uo+=1)po.indexOf($a[uo])===-1&&po.push($a[uo]);cn(po);for(var oA=po[0],_i=po[po.length-1],Xo=oA;Xo<_i+1;Xo++){this.pdf.setPage(Xo);var Di=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Li=Xo===1?this.posY+this.margin[0]:this.margin[0],qa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ri=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],oo=Xo===1?0:qa+(Xo-2)*ri;if(this.ctx.clip_path.length!==0){var xs=this.path;bo=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Bn(bo,this.posX+this.margin[3],-oo+Li+this.ctx.prevPageLastElemOffset),Yn.call(this,"fill",!0),this.path=xs}var Hi=JSON.parse(JSON.stringify(Mr));Hi=Bn([Hi],this.posX+this.margin[3],-oo+Li+this.ctx.prevPageLastElemOffset)[0];var vi=(Xo>oA||Xo<_i)&&Tt.call(this);vi&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Di,ri,null).clip().discardPath()),this.pdf.addImage(Ct,"JPEG",Hi.x,Hi.y,Hi.w,Hi.h,null,null,fi),vi&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(Ct,"JPEG",Mr.x,Mr.y,Mr.w,Mr.h,null,null,fi)};var Ht=function(Ct,Jt,ln){var bn=[];Jt=Jt||this.pdf.internal.pageSize.width,ln=ln||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Dn=this.posY+this.ctx.prevPageLastElemOffset;switch(Ct.type){default:case"mt":case"lt":bn.push(Math.floor((Ct.y+Dn)/ln)+1);break;case"arc":bn.push(Math.floor((Ct.y+Dn-Ct.radius)/ln)+1),bn.push(Math.floor((Ct.y+Dn+Ct.radius)/ln)+1);break;case"qct":var $n=cr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ct.x1,Ct.y1,Ct.x,Ct.y);bn.push(Math.floor(($n.y+Dn)/ln)+1),bn.push(Math.floor(($n.y+$n.h+Dn)/ln)+1);break;case"bct":var ar=Jr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ct.x1,Ct.y1,Ct.x2,Ct.y2,Ct.x,Ct.y);bn.push(Math.floor((ar.y+Dn)/ln)+1),bn.push(Math.floor((ar.y+ar.h+Dn)/ln)+1);break;case"rect":bn.push(Math.floor((Ct.y+Dn)/ln)+1),bn.push(Math.floor((Ct.y+Ct.h+Dn)/ln)+1)}for(var lr=0;lr<bn.length;lr+=1)for(;this.pdf.internal.getNumberOfPages()<bn[lr];)xt.call(this);return bn},xt=function(){var Ct=this.fillStyle,Jt=this.strokeStyle,ln=this.font,bn=this.lineCap,Dn=this.lineWidth,$n=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ct,this.strokeStyle=Jt,this.font=ln,this.lineCap=bn,this.lineWidth=Dn,this.lineJoin=$n},Bn=function(Ct,Jt,ln){for(var bn=0;bn<Ct.length;bn++)switch(Ct[bn].type){case"bct":Ct[bn].x2+=Jt,Ct[bn].y2+=ln;case"qct":Ct[bn].x1+=Jt,Ct[bn].y1+=ln;default:Ct[bn].x+=Jt,Ct[bn].y+=ln}return Ct},cn=function(Ct){return Ct.sort(function(Jt,ln){return Jt-ln})},en=function(Ct,Jt){var ln=this.fillStyle,bn=this.strokeStyle,Dn=this.lineCap,$n=this.lineWidth,ar=Math.abs($n*this.ctx.transform.scaleX),lr=this.lineJoin;if(this.autoPaging){for(var br,Vr,Ba=JSON.parse(JSON.stringify(this.path)),ma=JSON.parse(JSON.stringify(this.path)),so=[],Gt=0;Gt<ma.length;Gt++)if(ma[Gt].x!==void 0)for(var ya=Ht.call(this,ma[Gt]),fi=0;fi<ya.length;fi+=1)so.indexOf(ya[fi])===-1&&so.push(ya[fi]);for(var wo=0;wo<so.length;wo++)for(;this.pdf.internal.getNumberOfPages()<so[wo];)xt.call(this);cn(so);for(var Mr=so[0],bo=so[so.length-1],$a=Mr;$a<bo+1;$a++){this.pdf.setPage($a),this.fillStyle=ln,this.strokeStyle=bn,this.lineCap=Dn,this.lineWidth=ar,this.lineJoin=lr;var po=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],uo=$a===1?this.posY+this.margin[0]:this.margin[0],oA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_i=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Xo=$a===1?0:oA+($a-2)*_i;if(this.ctx.clip_path.length!==0){var Di=this.path;br=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Bn(br,this.posX+this.margin[3],-Xo+uo+this.ctx.prevPageLastElemOffset),Yn.call(this,Ct,!0),this.path=Di}if(Vr=JSON.parse(JSON.stringify(Ba)),this.path=Bn(Vr,this.posX+this.margin[3],-Xo+uo+this.ctx.prevPageLastElemOffset),Jt===!1||$a===0){var Li=($a>Mr||$a<bo)&&Tt.call(this);Li&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],po,_i,null).clip().discardPath()),Yn.call(this,Ct,Jt),Li&&this.pdf.restoreGraphicsState()}this.lineWidth=$n}this.path=Ba}else this.lineWidth=ar,Yn.call(this,Ct,Jt),this.lineWidth=$n},Yn=function(Ct,Jt){if((Ct!=="stroke"||Jt||!Mt.call(this))&&(Ct==="stroke"||Jt||!$e.call(this))){for(var ln,bn,Dn=[],$n=this.path,ar=0;ar<$n.length;ar++){var lr=$n[ar];switch(lr.type){case"begin":Dn.push({begin:!0});break;case"close":Dn.push({close:!0});break;case"mt":Dn.push({start:lr,deltas:[],abs:[]});break;case"lt":var br=Dn.length;if($n[ar-1]&&!isNaN($n[ar-1].x)&&(ln=[lr.x-$n[ar-1].x,lr.y-$n[ar-1].y],br>0)){for(;br>=0;br--)if(Dn[br-1].close!==!0&&Dn[br-1].begin!==!0){Dn[br-1].deltas.push(ln),Dn[br-1].abs.push(lr);break}}break;case"bct":ln=[lr.x1-$n[ar-1].x,lr.y1-$n[ar-1].y,lr.x2-$n[ar-1].x,lr.y2-$n[ar-1].y,lr.x-$n[ar-1].x,lr.y-$n[ar-1].y],Dn[Dn.length-1].deltas.push(ln);break;case"qct":var Vr=$n[ar-1].x+2/3*(lr.x1-$n[ar-1].x),Ba=$n[ar-1].y+2/3*(lr.y1-$n[ar-1].y),ma=lr.x+2/3*(lr.x1-lr.x),so=lr.y+2/3*(lr.y1-lr.y),Gt=lr.x,ya=lr.y;ln=[Vr-$n[ar-1].x,Ba-$n[ar-1].y,ma-$n[ar-1].x,so-$n[ar-1].y,Gt-$n[ar-1].x,ya-$n[ar-1].y],Dn[Dn.length-1].deltas.push(ln);break;case"arc":Dn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Dn[Dn.length-1].abs)&&Dn[Dn.length-1].abs.push(lr)}}bn=Jt?null:Ct==="stroke"?"stroke":"fill";for(var fi=!1,wo=0;wo<Dn.length;wo++)if(Dn[wo].arc)for(var Mr=Dn[wo].abs,bo=0;bo<Mr.length;bo++){var $a=Mr[bo];$a.type==="arc"?xn.call(this,$a.x,$a.y,$a.radius,$a.startAngle,$a.endAngle,$a.counterclockwise,void 0,Jt,!fi):pn.call(this,$a.x,$a.y),fi=!0}else if(Dn[wo].close===!0)this.pdf.internal.out("h"),fi=!1;else if(Dn[wo].begin!==!0){var po=Dn[wo].start.x,uo=Dn[wo].start.y;gn.call(this,Dn[wo].deltas,po,uo),fi=!0}bn&&nn.call(this,bn),Jt&&Mn.call(this)}},vr=function(Ct){var Jt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ln=Jt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ct-ln;case"top":return Ct+Jt-ln;case"hanging":return Ct+Jt-2*ln;case"middle":return Ct+Jt/2-ln;default:return Ct}},rr=function(Ct){return Ct+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};At.prototype.createLinearGradient=function(){var Ct=function(){};return Ct.colorStops=[],Ct.addColorStop=function(Jt,ln){this.colorStops.push([Jt,ln])},Ct.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Ct.isCanvasGradient=!0,Ct},At.prototype.createPattern=function(){return this.createLinearGradient()},At.prototype.createRadialGradient=function(){return this.createLinearGradient()};var xn=function(Ct,Jt,ln,bn,Dn,$n,ar,lr,br){for(var Vr=nr.call(this,ln,bn,Dn,$n),Ba=0;Ba<Vr.length;Ba++){var ma=Vr[Ba];Ba===0&&(br?Ft.call(this,ma.x1+Ct,ma.y1+Jt):pn.call(this,ma.x1+Ct,ma.y1+Jt)),qn.call(this,Ct,Jt,ma.x2,ma.y2,ma.x3,ma.y3,ma.x4,ma.y4)}lr?Mn.call(this):nn.call(this,ar)},nn=function(Ct){switch(Ct){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Mn=function(){this.pdf.clip(),this.pdf.discardPath()},Ft=function(Ct,Jt){this.pdf.internal.out(x(Ct)+" "+re(Jt)+" m")},zt=function(Ct){var Jt;switch(Ct.align){case"right":case"end":Jt="right";break;case"center":Jt="center";break;default:Jt="left"}var ln,bn,Dn,$n=this.pdf.getTextDimensions(Ct.text),ar=vr.call(this,Ct.y),lr=rr.call(this,ar)-$n.h,br=this.ctx.transform.applyToPoint(new Ee(Ct.x,ar));if(this.autoPaging){var Vr=this.ctx.transform.decompose(),Ba=new xe;Ba=(Ba=(Ba=Ba.multiply(Vr.translate)).multiply(Vr.skew)).multiply(Vr.scale);for(var ma=this.ctx.transform.applyToRectangle(new Be(Ct.x,ar,$n.w,$n.h)),so=Ba.applyToRectangle(new Be(Ct.x,lr,$n.w,$n.h)),Gt=Ht.call(this,so),ya=[],fi=0;fi<Gt.length;fi+=1)ya.indexOf(Gt[fi])===-1&&ya.push(Gt[fi]);cn(ya);for(var wo=ya[0],Mr=ya[ya.length-1],bo=wo;bo<Mr+1;bo++){this.pdf.setPage(bo);var $a=bo===1?this.posY+this.margin[0]:this.margin[0],po=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],uo=this.pdf.internal.pageSize.height-this.margin[2],oA=uo-this.margin[0],_i=this.pdf.internal.pageSize.width-this.margin[1],Xo=_i-this.margin[3],Di=bo===1?0:po+(bo-2)*oA;if(this.ctx.clip_path.length!==0){var Li=this.path;ln=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Bn(ln,this.posX+this.margin[3],-1*Di+$a),Yn.call(this,"fill",!0),this.path=Li}var qa=Bn([JSON.parse(JSON.stringify(so))],this.posX+this.margin[3],-Di+$a+this.ctx.prevPageLastElemOffset)[0];Ct.scale>=.01&&(bn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(bn*Ct.scale),Dn=this.lineWidth,this.lineWidth=Dn*Ct.scale);var ri=this.autoPaging!=="text";if(ri||qa.y+qa.h<=uo){if(ri||qa.y>=$a&&qa.x<=_i){var oo=ri?Ct.text:this.pdf.splitTextToSize(Ct.text,Ct.maxWidth||_i-qa.x)[0],xs=Bn([JSON.parse(JSON.stringify(ma))],this.posX+this.margin[3],-Di+$a+this.ctx.prevPageLastElemOffset)[0],Hi=ri&&(bo>wo||bo<Mr)&&Tt.call(this);Hi&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Xo,oA,null).clip().discardPath()),this.pdf.text(oo,xs.x,xs.y,{angle:Ct.angle,align:Jt,renderingMode:Ct.renderingMode}),Hi&&this.pdf.restoreGraphicsState()}}else qa.y<uo&&(this.ctx.prevPageLastElemOffset+=uo-qa.y);Ct.scale>=.01&&(this.pdf.setFontSize(bn),this.lineWidth=Dn)}}else Ct.scale>=.01&&(bn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(bn*Ct.scale),Dn=this.lineWidth,this.lineWidth=Dn*Ct.scale),this.pdf.text(Ct.text,br.x+this.posX,br.y+this.posY,{angle:Ct.angle,align:Jt,renderingMode:Ct.renderingMode,maxWidth:Ct.maxWidth}),Ct.scale>=.01&&(this.pdf.setFontSize(bn),this.lineWidth=Dn)},pn=function(Ct,Jt,ln,bn){ln=ln||0,bn=bn||0,this.pdf.internal.out(x(Ct+ln)+" "+re(Jt+bn)+" l")},gn=function(Ct,Jt,ln){return this.pdf.lines(Ct,Jt,ln,null,null)},qn=function(Ct,Jt,ln,bn,Dn,$n,ar,lr){this.pdf.internal.out([z(ae(ln+Ct)),z(se(bn+Jt)),z(ae(Dn+Ct)),z(se($n+Jt)),z(ae(ar+Ct)),z(se(lr+Jt)),"c"].join(" "))},nr=function(Ct,Jt,ln,bn){for(var Dn=2*Math.PI,$n=Math.PI/2;Jt>ln;)Jt-=Dn;var ar=Math.abs(ln-Jt);ar<Dn&&bn&&(ar=Dn-ar);for(var lr=[],br=bn?-1:1,Vr=Jt;ar>1e-5;){var Ba=Vr+br*Math.min(ar,$n);lr.push(ir.call(this,Ct,Vr,Ba)),ar-=Math.abs(Ba-Vr),Vr=Ba}return lr},ir=function(Ct,Jt,ln){var bn=(ln-Jt)/2,Dn=Ct*Math.cos(bn),$n=Ct*Math.sin(bn),ar=Dn,lr=-$n,br=ar*ar+lr*lr,Vr=br+ar*Dn+lr*$n,Ba=4/3*(Math.sqrt(2*br*Vr)-Vr)/(ar*$n-lr*Dn),ma=ar-Ba*lr,so=lr+Ba*ar,Gt=ma,ya=-so,fi=bn+Jt,wo=Math.cos(fi),Mr=Math.sin(fi);return{x1:Ct*Math.cos(Jt),y1:Ct*Math.sin(Jt),x2:ma*wo-so*Mr,y2:ma*Mr+so*wo,x3:Gt*wo-ya*Mr,y3:Gt*Mr+ya*wo,x4:Ct*Math.cos(ln),y4:Ct*Math.sin(ln)}},Wn=function(Ct){return 180*Ct/Math.PI},cr=function(Ct,Jt,ln,bn,Dn,$n){var ar=Ct+.5*(ln-Ct),lr=Jt+.5*(bn-Jt),br=Dn+.5*(ln-Dn),Vr=$n+.5*(bn-$n),Ba=Math.min(Ct,Dn,ar,br),ma=Math.max(Ct,Dn,ar,br),so=Math.min(Jt,$n,lr,Vr),Gt=Math.max(Jt,$n,lr,Vr);return new Be(Ba,so,ma-Ba,Gt-so)},Jr=function(Ct,Jt,ln,bn,Dn,$n,ar,lr){var br,Vr,Ba,ma,so,Gt,ya,fi,wo,Mr,bo,$a,po,uo,oA=ln-Ct,_i=bn-Jt,Xo=Dn-ln,Di=$n-bn,Li=ar-Dn,qa=lr-$n;for(Vr=0;Vr<41;Vr++)wo=(ya=(Ba=Ct+(br=Vr/40)*oA)+br*((so=ln+br*Xo)-Ba))+br*(so+br*(Dn+br*Li-so)-ya),Mr=(fi=(ma=Jt+br*_i)+br*((Gt=bn+br*Di)-ma))+br*(Gt+br*($n+br*qa-Gt)-fi),Vr==0?(bo=wo,$a=Mr,po=wo,uo=Mr):(bo=Math.min(bo,wo),$a=Math.min($a,Mr),po=Math.max(po,wo),uo=Math.max(uo,Mr));return new Be(Math.round(bo),Math.round($a),Math.round(po-bo),Math.round(uo-$a))},_r=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ct,Jt,ln=(Ct=this.ctx.lineDash,Jt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ct,lineDashOffset:Jt}));this.prevLineDash!==ln&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ln)}}})(Wa.API),function(b){var z=function(Ee){var Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht;for(/[^\x00-\xFF]/.test(Ee),xe=[],Ne=0,We=(Ee+=Be="\0\0\0\0".slice(Ee.length%4||4)).length;We>Ne;Ne+=4)(At=(Ee.charCodeAt(Ne)<<24)+(Ee.charCodeAt(Ne+1)<<16)+(Ee.charCodeAt(Ne+2)<<8)+Ee.charCodeAt(Ne+3))!==0?(mt=(At=((At=((At=((At=(At-(Ht=At%85))/85)-(Tt=At%85))/85)-(Mt=At%85))/85)-($e=At%85))/85)%85,xe.push(mt+33,$e+33,Mt+33,Tt+33,Ht+33)):xe.push(122);return function(xt,Bn){for(var cn=Bn;cn>0;cn--)xt.pop()}(xe,Be.length),String.fromCharCode.apply(String,xe)+"~>"},x=function(Ee){var Be,xe,Ne,We,At,mt=String,$e="length",Mt=255,Tt="charCodeAt",Ht="slice",xt="replace";for(Ee[Ht](-2),Ee=Ee[Ht](0,-2)[xt](/\s/g,"")[xt]("z","!!!!!"),Ne=[],We=0,At=(Ee+=Be="uuuuu"[Ht](Ee[$e]%5||5))[$e];At>We;We+=5)xe=52200625*(Ee[Tt](We)-33)+614125*(Ee[Tt](We+1)-33)+7225*(Ee[Tt](We+2)-33)+85*(Ee[Tt](We+3)-33)+(Ee[Tt](We+4)-33),Ne.push(Mt&xe>>24,Mt&xe>>16,Mt&xe>>8,Mt&xe);return function(Bn,cn){for(var en=cn;en>0;en--)Bn.pop()}(Ne,Be[$e]),mt.fromCharCode.apply(mt,Ne)},re=function(Ee){return Ee.split("").map(function(Be){return("0"+Be.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ae=function(Ee){var Be=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ee=Ee.replace(/\s/g,"")).indexOf(">")!==-1&&(Ee=Ee.substr(0,Ee.indexOf(">"))),Ee.length%2&&(Ee+="0"),Be.test(Ee)===!1)return"";for(var xe="",Ne=0;Ne<Ee.length;Ne+=2)xe+=String.fromCharCode("0x"+(Ee[Ne]+Ee[Ne+1]));return xe},se=function(Ee){for(var Be=new Uint8Array(Ee.length),xe=Ee.length;xe--;)Be[xe]=Ee.charCodeAt(xe);return(Be=En(Be)).reduce(function(Ne,We){return Ne+String.fromCharCode(We)},"")};b.processDataByFilters=function(Ee,Be){var xe=0,Ne=Ee||"",We=[];for(typeof(Be=Be||[])=="string"&&(Be=[Be]),xe=0;xe<Be.length;xe+=1)switch(Be[xe]){case"ASCII85Decode":case"/ASCII85Decode":Ne=x(Ne),We.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ne=z(Ne),We.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ne=ae(Ne),We.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ne=re(Ne),We.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ne=se(Ne),We.push("/FlateDecode");break;default:throw new Error('The filter: "'+Be[xe]+'" is not implemented')}return{data:Ne,reverseChain:We.reverse().join(" ")}}}(Wa.API),function(b){b.loadFile=function(z,x,re){return function(ae,se,Ee){se=se!==!1,Ee=typeof Ee=="function"?Ee:function(){};var Be=void 0;try{Be=function(xe,Ne,We){var At=new XMLHttpRequest,mt=0,$e=function(Mt){var Tt=Mt.length,Ht=[],xt=String.fromCharCode;for(mt=0;mt<Tt;mt+=1)Ht.push(xt(255&Mt.charCodeAt(mt)));return Ht.join("")};if(At.open("GET",xe,!Ne),At.overrideMimeType("text/plain; charset=x-user-defined"),Ne===!1&&(At.onload=function(){At.status===200?We($e(this.responseText)):We(void 0)}),At.send(null),Ne&&At.status===200)return $e(At.responseText)}(ae,se,Ee)}catch(xe){}return Be}(z,x,re)},b.loadImageFile=b.loadFile}(Wa.API),function(b){function z(){return(_o.html2canvas?Promise.resolve(_o.html2canvas):Promise.resolve().then(we.t.bind(we,64270,23))).catch(function(Be){return Promise.reject(new Error("Could not load html2canvas: "+Be))}).then(function(Be){return Be.default?Be.default:Be})}function x(){return(_o.DOMPurify?Promise.resolve(_o.DOMPurify):we.e(7573).then(we.bind(we,7573))).catch(function(Be){return Promise.reject(new Error("Could not load dompurify: "+Be))}).then(function(Be){return Be.default?Be.default:Be})}var re=function(Be){var xe=(0,Oe.Z)(Be);return xe==="undefined"?"undefined":xe==="string"||Be instanceof String?"string":xe==="number"||Be instanceof Number?"number":xe==="function"||Be instanceof Function?"function":Be&&Be.constructor===Array?"array":Be&&Be.nodeType===1?"element":xe==="object"?"object":"unknown"},ae=function(Be,xe){var Ne=document.createElement(Be);for(var We in xe.className&&(Ne.className=xe.className),xe.innerHTML&&xe.dompurify&&(Ne.innerHTML=xe.dompurify.sanitize(xe.innerHTML)),xe.style)Ne.style[We]=xe.style[We];return Ne},se=function Be(xe,Ne){for(var We=xe.nodeType===3?document.createTextNode(xe.nodeValue):xe.cloneNode(!1),At=xe.firstChild;At;At=At.nextSibling)Ne!==!0&&At.nodeType===1&&At.nodeName==="SCRIPT"||We.appendChild(Be(At,Ne));return xe.nodeType===1&&(xe.nodeName==="CANVAS"?(We.width=xe.width,We.height=xe.height,We.getContext("2d").drawImage(xe,0,0)):xe.nodeName!=="TEXTAREA"&&xe.nodeName!=="SELECT"||(We.value=xe.value),We.addEventListener("load",function(){We.scrollTop=xe.scrollTop,We.scrollLeft=xe.scrollLeft},!0)),We},Ee=function Be(xe){var Ne=Object.assign(Be.convert(Promise.resolve()),JSON.parse(JSON.stringify(Be.template))),We=Be.convert(Promise.resolve(),Ne);return(We=We.setProgress(1,Be,1,[Be])).set(xe)};(Ee.prototype=Object.create(Promise.prototype)).constructor=Ee,Ee.convert=function(Be,xe){return Be.__proto__=xe||Ee.prototype,Be},Ee.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"}},Ee.prototype.from=function(Be,xe){return this.then(function(){switch(xe=xe||function(Ne){switch(re(Ne)){case"string":return"string";case"element":return Ne.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Be),xe){case"string":return this.then(x).then(function(Ne){return this.set({src:ae("div",{innerHTML:Be,dompurify:Ne})})});case"element":return this.set({src:Be});case"canvas":return this.set({canvas:Be});case"img":return this.set({img:Be});default:return this.error("Unknown source type.")}})},Ee.prototype.to=function(Be){switch(Be){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.")}},Ee.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 Be={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||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},xe=se(this.prop.src,this.opt.html2canvas.javascriptEnabled);xe.tagName==="BODY"&&(Be.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=ae("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=ae("div",{className:"html2pdf__container",style:Be}),this.prop.container.appendChild(xe),this.prop.container.firstChild.appendChild(ae("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"})},Ee.prototype.toCanvas=function(){var Be=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Be).then(z).then(function(xe){var Ne=Object.assign({},this.opt.html2canvas);return delete Ne.onrendered,xe(this.prop.container,Ne)}).then(function(xe){(this.opt.html2canvas.onrendered||function(){})(xe),this.prop.canvas=xe,document.body.removeChild(this.prop.overlay)})},Ee.prototype.toContext2d=function(){var Be=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Be).then(z).then(function(xe){var Ne=this.opt.jsPDF,We=this.opt.fontFaces,At=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,mt=Object.assign({async:!0,allowTaint:!0,scale:At,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 mt.onrendered,Ne.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ne.context2d.posX=this.opt.x,Ne.context2d.posY=this.opt.y,Ne.context2d.margin=this.opt.margin,Ne.context2d.fontFaces=We,We)for(var $e=0;$e<We.length;++$e){var Mt=We[$e],Tt=Mt.src.find(function(Ht){return Ht.format==="truetype"});Tt&&Ne.addFont(Tt.url,Mt.ref.name,Mt.ref.style)}return mt.windowHeight=mt.windowHeight||0,mt.windowHeight=mt.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):mt.windowHeight,Ne.context2d.save(!0),xe(this.prop.container,mt)}).then(function(xe){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(xe),this.prop.canvas=xe,document.body.removeChild(this.prop.overlay)})},Ee.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Be=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Be})},Ee.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ee.prototype.output=function(Be,xe,Ne){return(Ne=Ne||"pdf").toLowerCase()==="img"||Ne.toLowerCase()==="image"?this.outputImg(Be,xe):this.outputPdf(Be,xe)},Ee.prototype.outputPdf=function(Be,xe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Be,xe)})},Ee.prototype.outputImg=function(Be){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Be){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 "'+Be+'" is not supported.'}})},Ee.prototype.save=function(Be){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Be?{filename:Be}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ee.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ee.prototype.set=function(Be){if(re(Be)!=="object")return this;var xe=Object.keys(Be||{}).map(function(Ne){if(Ne in Ee.template.prop)return function(){this.prop[Ne]=Be[Ne]};switch(Ne){case"margin":return this.setMargin.bind(this,Be.margin);case"jsPDF":return function(){return this.opt.jsPDF=Be.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Be.pageSize);default:return function(){this.opt[Ne]=Be[Ne]}}},this);return this.then(function(){return this.thenList(xe)})},Ee.prototype.get=function(Be,xe){return this.then(function(){var Ne=Be in Ee.template.prop?this.prop[Be]:this.opt[Be];return xe?xe(Ne):Ne})},Ee.prototype.setMargin=function(Be){return this.then(function(){switch(re(Be)){case"number":Be=[Be,Be,Be,Be];case"array":if(Be.length===2&&(Be=[Be[0],Be[1],Be[0],Be[1]]),Be.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Be}).then(this.setPageSize)},Ee.prototype.setPageSize=function(Be){function xe(Ne,We){return Math.floor(Ne*We/72*96)}return this.then(function(){(Be=Be||Wa.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Be.inner={width:Be.width-this.opt.margin[1]-this.opt.margin[3],height:Be.height-this.opt.margin[0]-this.opt.margin[2]},Be.inner.px={width:xe(Be.inner.width,Be.k),height:xe(Be.inner.height,Be.k)},Be.inner.ratio=Be.inner.height/Be.inner.width),this.prop.pageSize=Be})},Ee.prototype.setProgress=function(Be,xe,Ne,We){return Be!=null&&(this.progress.val=Be),xe!=null&&(this.progress.state=xe),Ne!=null&&(this.progress.n=Ne),We!=null&&(this.progress.stack=We),this.progress.ratio=this.progress.val/this.progress.state,this},Ee.prototype.updateProgress=function(Be,xe,Ne,We){return this.setProgress(Be?this.progress.val+Be:null,xe||null,Ne?this.progress.n+Ne:null,We?this.progress.stack.concat(We):null)},Ee.prototype.then=function(Be,xe){var Ne=this;return this.thenCore(Be,xe,function(We,At){return Ne.updateProgress(null,null,1,[We]),Promise.prototype.then.call(this,function(mt){return Ne.updateProgress(null,We),mt}).then(We,At).then(function(mt){return Ne.updateProgress(1),mt})})},Ee.prototype.thenCore=function(Be,xe,Ne){Ne=Ne||Promise.prototype.then;var We=this;Be&&(Be=Be.bind(We)),xe&&(xe=xe.bind(We));var At=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?We:Ee.convert(Object.assign({},We),Promise.prototype),mt=Ne.call(At,Be,xe);return Ee.convert(mt,We.__proto__)},Ee.prototype.thenExternal=function(Be,xe){return Promise.prototype.then.call(this,Be,xe)},Ee.prototype.thenList=function(Be){var xe=this;return Be.forEach(function(Ne){xe=xe.thenCore(Ne)}),xe},Ee.prototype.catch=function(Be){Be&&(Be=Be.bind(this));var xe=Promise.prototype.catch.call(this,Be);return Ee.convert(xe,this)},Ee.prototype.catchExternal=function(Be){return Promise.prototype.catch.call(this,Be)},Ee.prototype.error=function(Be){return this.then(function(){throw new Error(Be)})},Ee.prototype.using=Ee.prototype.set,Ee.prototype.saveAs=Ee.prototype.save,Ee.prototype.export=Ee.prototype.output,Ee.prototype.run=Ee.prototype.then,Wa.getPageSize=function(Be,xe,Ne){if((0,Oe.Z)(Be)==="object"){var We=Be;Be=We.orientation,xe=We.unit||xe,Ne=We.format||Ne}xe=xe||"mm",Ne=Ne||"a4",Be=(""+(Be||"P")).toLowerCase();var At,mt=(""+Ne).toLowerCase(),$e={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(xe){case"pt":At=1;break;case"mm":At=72/25.4;break;case"cm":At=72/2.54;break;case"in":At=72;break;case"px":At=.75;break;case"pc":case"em":At=12;break;case"ex":At=6;break;default:throw"Invalid unit: "+xe}var Mt,Tt=0,Ht=0;if($e.hasOwnProperty(mt))Tt=$e[mt][1]/At,Ht=$e[mt][0]/At;else try{Tt=Ne[1],Ht=Ne[0]}catch(xt){throw new Error("Invalid format: "+Ne)}if(Be==="p"||Be==="portrait")Be="p",Ht>Tt&&(Mt=Ht,Ht=Tt,Tt=Mt);else{if(Be!=="l"&&Be!=="landscape")throw"Invalid orientation: "+Be;Be="l",Tt>Ht&&(Mt=Ht,Ht=Tt,Tt=Mt)}return{width:Ht,height:Tt,unit:xe,k:At,orientation:Be}},b.html=function(Be,xe){(xe=xe||{}).callback=xe.callback||function(){},xe.html2canvas=xe.html2canvas||{},xe.html2canvas.canvas=xe.html2canvas.canvas||this.canvas,xe.jsPDF=xe.jsPDF||this,xe.fontFaces=xe.fontFaces?xe.fontFaces.map(mu):null;var Ne=new Ee(xe);return xe.worker?Ne:Ne.from(Be).doCallback()}}(Wa.API),Wa.API.addJS=function(b){return Lp=b,this.internal.events.subscribe("postPutResources",function(){nd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(nd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),_p=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){nd!==void 0&&_p!==void 0&&this.internal.out("/Names <</JavaScript "+nd+" 0 R>>")}),this},function(b){var z;b.events.push(["postPutResources",function(){var x=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ae=x.outline.render().split(/\r\n/),se=0;se<ae.length;se++){var Ee=ae[se],Be=re.exec(Ee);if(Be!=null){var xe=Be[1];x.internal.newObjectDeferredBegin(xe,!1)}x.internal.write(Ee)}if(this.outline.createNamedDestinations){var Ne=this.internal.pages.length,We=[];for(se=0;se<Ne;se++){var At=x.internal.newObject();We.push(At);var mt=x.internal.getPageInfo(se+1);x.internal.write("<< /D["+mt.objId+" 0 R /XYZ null null null]>> endobj")}var $e=x.internal.newObject();for(x.internal.write("<< /Names [ "),se=0;se<We.length;se++)x.internal.write("(page_"+(se+1)+")"+We[se]+" 0 R");x.internal.write(" ] >>","endobj"),z=x.internal.newObject(),x.internal.write("<< /Dests "+$e+" 0 R"),x.internal.write(">>","endobj")}}]),b.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+z+" 0 R"))}]),b.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(re,ae,se){var Ee={title:ae,options:se,children:[]};return re==null&&(re=this.root),re.children.push(Ee),Ee},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(re){re.id=x.internal.newObjectDeferred();for(var ae=0;ae<re.children.length;ae++)this.genIds_r(re.children[ae])},x.outline.renderRoot=function(re){this.objStart(re),this.line("/Type /Outlines"),re.children.length>0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},x.outline.renderItems=function(re){for(var ae=this.ctx.pdf.internal.getVerticalCoordinateString,se=0;se<re.children.length;se++){var Ee=re.children[se];this.objStart(Ee),this.line("/Title "+this.makeString(Ee.title)),this.line("/Parent "+this.makeRef(re)),se>0&&this.line("/Prev "+this.makeRef(re.children[se-1])),se<re.children.length-1&&this.line("/Next "+this.makeRef(re.children[se+1])),Ee.children.length>0&&(this.line("/First "+this.makeRef(Ee.children[0])),this.line("/Last "+this.makeRef(Ee.children[Ee.children.length-1])));var Be=this.count=this.count_r({count:0},Ee);if(Be>0&&this.line("/Count "+Be),Ee.options&&Ee.options.pageNumber){var xe=x.internal.getPageInfo(Ee.options.pageNumber);this.line("/Dest ["+xe.objId+" 0 R /XYZ 0 "+ae(0)+" 0]")}this.objEnd()}for(var Ne=0;Ne<re.children.length;Ne++)this.renderItems(re.children[Ne])},x.outline.line=function(re){this.ctx.val+=re+`\r
`},x.outline.makeRef=function(re){return re.id+" 0 R"},x.outline.makeString=function(re){return"("+x.internal.pdfEscape(re)+")"},x.outline.objStart=function(re){this.ctx.val+=`\r
`+re.id+` 0 obj\r
<<\r
`},x.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},x.outline.count_r=function(re,ae){for(var se=0;se<ae.children.length;se++)re.count++,this.count_r(re,ae.children[se]);return re.count}}])}(Wa.API),function(b){var z=[192,193,194,195,196,197,198,199];b.processJPEG=function(x,re,ae,se,Ee,Be){var xe,Ne=this.decode.DCT_DECODE,We=null;if(typeof x=="string"||this.__addimage__.isArrayBuffer(x)||this.__addimage__.isArrayBufferView(x)){switch(x=Ee||x,x=this.__addimage__.isArrayBuffer(x)?new Uint8Array(x):x,xe=function(At){for(var mt,$e=256*At.charCodeAt(4)+At.charCodeAt(5),Mt=At.length,Tt={width:0,height:0,numcomponents:1},Ht=4;Ht<Mt;Ht+=2){if(Ht+=$e,z.indexOf(At.charCodeAt(Ht+1))!==-1){mt=256*At.charCodeAt(Ht+5)+At.charCodeAt(Ht+6),Tt={width:256*At.charCodeAt(Ht+7)+At.charCodeAt(Ht+8),height:mt,numcomponents:At.charCodeAt(Ht+9)};break}$e=256*At.charCodeAt(Ht+2)+At.charCodeAt(Ht+3)}return Tt}(x=this.__addimage__.isArrayBufferView(x)?this.__addimage__.arrayBufferToBinaryString(x):x),xe.numcomponents){case 1:Be=this.color_spaces.DEVICE_GRAY;break;case 4:Be=this.color_spaces.DEVICE_CMYK;break;case 3:Be=this.color_spaces.DEVICE_RGB}We={data:x,width:xe.width,height:xe.height,colorSpace:Be,bitsPerComponent:8,filter:Ne,index:re,alias:ae}}return We}}(Wa.API),Wa.API.processPNG=function(b,z,x,re){if(this.__addimage__.isArrayBuffer(b)&&(b=new Uint8Array(b)),this.__addimage__.isArrayBufferView(b)){var ae,se=Qf(b,{checkCrc:!0}),Ee=se.width,Be=se.height,xe=se.channels,Ne=se.palette,We=se.depth;ae=Ne&&xe===1?function(xn){for(var nn=xn.width,Mn=xn.height,Ft=xn.data,zt=xn.palette,pn=xn.depth,gn=!1,qn=[],nr=[],ir=void 0,Wn=!1,cr=0,Jr=0;Jr<zt.length;Jr++){var _r=(0,ns.Z)(zt[Jr],4),Ct=_r[0],Jt=_r[1],ln=_r[2],bn=_r[3];qn.push(Ct,Jt,ln),bn!=null&&(bn===0?(cr++,nr.length<1&&nr.push(Jr)):bn<255&&(Wn=!0))}if(Wn||cr>1){gn=!0,nr=void 0;var Dn=nn*Mn;ir=new Uint8Array(Dn);for(var $n=new DataView(Ft.buffer),ar=0;ar<Dn;ar++){var lr=Km($n,ar,pn),br=(0,ns.Z)(zt[lr],4)[3];ir[ar]=br}}else cr===0&&(nr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:gn?8:void 0,colorBytes:Ft,alphaBytes:ir,needSMask:gn,palette:qn,mask:nr}}(se):xe===2||xe===4?function(xn){for(var nn=xn.data,Mn=xn.width,Ft=xn.height,zt=xn.channels,pn=xn.depth,gn=zt===2?"DeviceGray":"DeviceRGB",qn=zt-1,nr=Mn*Ft,ir=qn,Wn=nr*ir,cr=1*nr,Jr=Math.ceil(Wn*pn/8),_r=Math.ceil(cr*pn/8),Ct=new Uint8Array(Jr),Jt=new Uint8Array(_r),ln=new DataView(nn.buffer),bn=new DataView(Ct.buffer),Dn=new DataView(Jt.buffer),$n=!1,ar=0;ar<nr;ar++){for(var lr=ar*zt,br=0;br<ir;br++)Rp(bn,Km(ln,lr+br,pn),ar*ir+br,pn);var Vr=Km(ln,lr+ir,pn);Vr<(1<<pn)-1&&($n=!0),Rp(Dn,Vr,1*ar,pn)}return{colorSpace:gn,colorsPerPixel:qn,sMaskBitsPerComponent:$n?pn:void 0,colorBytes:Ct,alphaBytes:Jt,needSMask:$n}}(se):function(xn){var nn=xn.data,Mn=xn.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Mn,colorsPerPixel:Mn==="DeviceGray"?1:3,colorBytes:nn instanceof Uint16Array?function(Ft){for(var zt=Ft.length,pn=new Uint8Array(2*zt),gn=new DataView(pn.buffer,pn.byteOffset,pn.byteLength),qn=0;qn<zt;qn++)gn.setUint16(2*qn,Ft[qn],!1);return pn}(nn):nn,needSMask:!1}}(se);var At,mt,$e,Mt=ae,Tt=Mt.colorSpace,Ht=Mt.colorsPerPixel,xt=Mt.sMaskBitsPerComponent,Bn=Mt.colorBytes,cn=Mt.alphaBytes,en=Mt.needSMask,Yn=Mt.palette,vr=Mt.mask,rr=null;return re!==Wa.API.image_compression.NONE&&typeof En=="function"?(rr=function(xn){var nn;switch(xn){case Wa.API.image_compression.FAST:nn=11;break;case Wa.API.image_compression.MEDIUM:nn=13;break;case Wa.API.image_compression.SLOW:nn=14;break;default:nn=12}return nn}(re),At=this.decode.FLATE_DECODE,mt="/Predictor ".concat(rr," /Colors ").concat(Ht," /BitsPerComponent ").concat(We," /Columns ").concat(Ee),b=Dp(Bn,Math.ceil(Ee*Ht*We/8),Ht,We,re),en&&($e=Dp(cn,Math.ceil(Ee*xt/8),1,xt,re))):(At=void 0,mt=void 0,b=Bn,en&&($e=cn)),(this.__addimage__.isArrayBuffer(b)||this.__addimage__.isArrayBufferView(b))&&(b=this.__addimage__.arrayBufferToBinaryString(b)),($e&&this.__addimage__.isArrayBuffer($e)||this.__addimage__.isArrayBufferView($e))&&($e=this.__addimage__.arrayBufferToBinaryString($e)),{alias:x,data:b,index:z,filter:At,decodeParameters:mt,transparency:vr,palette:Yn,sMask:$e,predictor:rr,width:Ee,height:Be,bitsPerComponent:We,sMaskBitsPerComponent:xt,colorSpace:Tt}}},function(b){b.processGIF89A=function(z,x,re,ae){var se=new Qv(z),Ee=se.width,Be=se.height,xe=[];se.decodeAndBlitFrameRGBA(0,xe);var Ne={data:xe,width:Ee,height:Be},We=new zm(100).encode(Ne,100);return b.processJPEG.call(this,We,x,re,ae)},b.processGIF87A=b.processGIF89A}(Wa.API),bc.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,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var b=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(b);for(var z=0;z<b;z++){var x=this.datav.getUint8(this.pos++,!0),re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0);this.palette[z]={red:ae,green:re,blue:x,quad:se}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},bc.prototype.parseBGR=function(){this.pos=this.offset;try{var b="bit"+this.bitPP,z=this.width*this.height*4;this.data=new Uint8Array(z),this[b]()}catch(x){gA.log("bit decode error:"+x)}},bc.prototype.bit1=function(){var b,z=Math.ceil(this.width/8),x=z%4;for(b=this.height-1;b>=0;b--){for(var re=this.bottom_up?b:this.height-1-b,ae=0;ae<z;ae++)for(var se=this.datav.getUint8(this.pos++,!0),Ee=re*this.width*4+8*ae*4,Be=0;Be<8&&8*ae+Be<this.width;Be++){var xe=this.palette[se>>7-Be&1];this.data[Ee+4*Be]=xe.blue,this.data[Ee+4*Be+1]=xe.green,this.data[Ee+4*Be+2]=xe.red,this.data[Ee+4*Be+3]=255}x!==0&&(this.pos+=4-x)}},bc.prototype.bit4=function(){for(var b=Math.ceil(this.width/2),z=b%4,x=this.height-1;x>=0;x--){for(var re=this.bottom_up?x:this.height-1-x,ae=0;ae<b;ae++){var se=this.datav.getUint8(this.pos++,!0),Ee=re*this.width*4+2*ae*4,Be=se>>4,xe=15&se,Ne=this.palette[Be];if(this.data[Ee]=Ne.blue,this.data[Ee+1]=Ne.green,this.data[Ee+2]=Ne.red,this.data[Ee+3]=255,2*ae+1>=this.width)break;Ne=this.palette[xe],this.data[Ee+4]=Ne.blue,this.data[Ee+4+1]=Ne.green,this.data[Ee+4+2]=Ne.red,this.data[Ee+4+3]=255}z!==0&&(this.pos+=4-z)}},bc.prototype.bit8=function(){for(var b=this.width%4,z=this.height-1;z>=0;z--){for(var x=this.bottom_up?z:this.height-1-z,re=0;re<this.width;re++){var ae=this.datav.getUint8(this.pos++,!0),se=x*this.width*4+4*re;if(ae<this.palette.length){var Ee=this.palette[ae];this.data[se]=Ee.red,this.data[se+1]=Ee.green,this.data[se+2]=Ee.blue,this.data[se+3]=255}else this.data[se]=255,this.data[se+1]=255,this.data[se+2]=255,this.data[se+3]=255}b!==0&&(this.pos+=4-b)}},bc.prototype.bit15=function(){for(var b=this.width%3,z=parseInt("11111",2),x=this.height-1;x>=0;x--){for(var re=this.bottom_up?x:this.height-1-x,ae=0;ae<this.width;ae++){var se=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ee=(se&z)/z*255|0,Be=(se>>5&z)/z*255|0,xe=(se>>10&z)/z*255|0,Ne=se>>15?255:0,We=re*this.width*4+4*ae;this.data[We]=xe,this.data[We+1]=Be,this.data[We+2]=Ee,this.data[We+3]=Ne}this.pos+=b}},bc.prototype.bit16=function(){for(var b=this.width%3,z=parseInt("11111",2),x=parseInt("111111",2),re=this.height-1;re>=0;re--){for(var ae=this.bottom_up?re:this.height-1-re,se=0;se<this.width;se++){var Ee=this.datav.getUint16(this.pos,!0);this.pos+=2;var Be=(Ee&z)/z*255|0,xe=(Ee>>5&x)/x*255|0,Ne=(Ee>>11)/z*255|0,We=ae*this.width*4+4*se;this.data[We]=Ne,this.data[We+1]=xe,this.data[We+2]=Be,this.data[We+3]=255}this.pos+=b}},bc.prototype.bit24=function(){for(var b=this.height-1;b>=0;b--){for(var z=this.bottom_up?b:this.height-1-b,x=0;x<this.width;x++){var re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),Ee=z*this.width*4+4*x;this.data[Ee]=se,this.data[Ee+1]=ae,this.data[Ee+2]=re,this.data[Ee+3]=255}this.pos+=this.width%4}},bc.prototype.bit32=function(){for(var b=this.height-1;b>=0;b--)for(var z=this.bottom_up?b:this.height-1-b,x=0;x<this.width;x++){var re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),Ee=this.datav.getUint8(this.pos++,!0),Be=z*this.width*4+4*x;this.data[Be]=se,this.data[Be+1]=ae,this.data[Be+2]=re,this.data[Be+3]=Ee}},bc.prototype.getData=function(){return this.data},function(b){b.processBMP=function(z,x,re,ae){var se=new bc(z,!1),Ee=se.width,Be=se.height,xe={data:se.getData(),width:Ee,height:Be},Ne=new zm(100).encode(xe,100);return b.processJPEG.call(this,Ne,x,re,ae)}}(Wa.API),Hp.prototype.getData=function(){return this.data},function(b){b.processWEBP=function(z,x,re,ae){var se=new Hp(z),Ee=se.width,Be=se.height,xe={data:se.getData(),width:Ee,height:Be},Ne=new zm(100).encode(xe,100);return b.processJPEG.call(this,Ne,x,re,ae)}}(Wa.API),Wa.API.processRGBA=function(b,z,x){for(var re=b.data,ae=re.length,se=new Uint8Array(ae/4*3),Ee=new Uint8Array(ae/4),Be=0,xe=0,Ne=0;Ne<ae;Ne+=4){var We=re[Ne],At=re[Ne+1],mt=re[Ne+2],$e=re[Ne+3];se[Be++]=We,se[Be++]=At,se[Be++]=mt,Ee[xe++]=$e}var Mt=this.__addimage__.arrayBufferToBinaryString(se);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ee),data:Mt,index:z,alias:x,colorSpace:"DeviceRGB",bitsPerComponent:8,width:b.width,height:b.height}},Wa.API.setLanguage=function(b){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"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"}[b]!==void 0&&(this.internal.languageSettings.languageCode=b,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},jf=Wa.API,O0=jf.getCharWidthsArray=function(b,z){var x,re,ae=(z=z||{}).font||this.internal.getFont(),se=z.fontSize||this.internal.getFontSize(),Ee=z.charSpace||this.internal.getCharSpace(),Be=z.widths?z.widths:ae.metadata.Unicode.widths,xe=Be.fof?Be.fof:1,Ne=z.kerning?z.kerning:ae.metadata.Unicode.kerning,We=Ne.fof?Ne.fof:1,At=z.doKerning!==!1,mt=0,$e=b.length,Mt=0,Tt=Be[0]||xe,Ht=[];for(x=0;x<$e;x++)re=b.charCodeAt(x),typeof ae.metadata.widthOfString=="function"?Ht.push((ae.metadata.widthOfGlyph(ae.metadata.characterToGlyph(re))+Ee*(1e3/se)||0)/1e3):(mt=At&&(0,Oe.Z)(Ne[re])==="object"&&!isNaN(parseInt(Ne[re][Mt],10))?Ne[re][Mt]/We:0,Ht.push((Be[re]||Tt)/xe+mt)),Mt=re;return Ht},Ip=jf.getStringUnitWidth=function(b,z){var x=(z=z||{}).fontSize||this.internal.getFontSize(),re=z.font||this.internal.getFont(),ae=z.charSpace||this.internal.getCharSpace();return jf.processArabic&&(b=jf.processArabic(b)),typeof re.metadata.widthOfString=="function"?re.metadata.widthOfString(b,x,ae)/x:O0.apply(this,arguments).reduce(function(se,Ee){return se+Ee},0)},Up=function(b,z,x,re){for(var ae=[],se=0,Ee=b.length,Be=0;se!==Ee&&Be+z[se]<x;)Be+=z[se],se++;ae.push(b.slice(0,se));var xe=se;for(Be=0;se!==Ee;)Be+z[se]>re&&(ae.push(b.slice(xe,se)),Be=0,xe=se),Be+=z[se],se++;return xe!==se&&ae.push(b.slice(xe,se)),ae},Np=function(b,z,x){x||(x={});var re,ae,se,Ee,Be,xe,Ne,We=[],At=[We],mt=x.textIndent||0,$e=0,Mt=0,Tt=b.split(" "),Ht=O0.apply(this,[" ",x])[0];if(xe=x.lineIndent===-1?Tt[0].length+2:x.lineIndent||0){var xt=Array(xe).join(" "),Bn=[];Tt.map(function(en){(en=en.split(/\s*\n/)).length>1?Bn=Bn.concat(en.map(function(Yn,vr){return(vr&&Yn.length?`
`:"")+Yn})):Bn.push(en[0])}),Tt=Bn,xe=Ip.apply(this,[xt,x])}for(se=0,Ee=Tt.length;se<Ee;se++){var cn=0;if(re=Tt[se],xe&&re[0]==`
`&&(re=re.substr(1),cn=1),mt+$e+(Mt=(ae=O0.apply(this,[re,x])).reduce(function(en,Yn){return en+Yn},0))>z||cn){if(Mt>z){for(Be=Up.apply(this,[re,ae,z-(mt+$e),z]),We.push(Be.shift()),We=[Be.pop()];Be.length;)At.push([Be.shift()]);Mt=ae.slice(re.length-(We[0]?We[0].length:0)).reduce(function(en,Yn){return en+Yn},0)}else We=[re];At.push(We),mt=Mt+xe,$e=Ht}else We.push(re),mt+=$e+Mt,$e=Ht}return Ne=xe?function(en,Yn){return(Yn?xt:"")+en.join(" ")}:function(en){return en.join(" ")},At.map(Ne)},jf.splitTextToSize=function(b,z,x){var re,ae=(x=x||{}).fontSize||this.internal.getFontSize(),se=function(We){if(We.widths&&We.kerning)return{widths:We.widths,kerning:We.kerning};var At=this.internal.getFont(We.fontName,We.fontStyle),mt="Unicode";return At.metadata[mt]?{widths:At.metadata[mt].widths||{0:1},kerning:At.metadata[mt].kerning||{}}:{font:At.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,x);re=Array.isArray(b)?b:String(b).split(/\r?\n/);var Ee=1*this.internal.scaleFactor*z/ae;se.textIndent=x.textIndent?1*x.textIndent*this.internal.scaleFactor/ae:0,se.lineIndent=x.lineIndent;var Be,xe,Ne=[];for(Be=0,xe=re.length;Be<xe;Be++)Ne=Ne.concat(Np.apply(this,[re[Be],Ee,se]));return Ne},function(b){b.__fontmetrics__=b.__fontmetrics__||{};for(var z="0123456789abcdef",x="klmnopqrstuvwxyz",re={},ae={},se=0;se<16;se++)re[x[se]]=z[se],ae[z[se]]=x[se];var Ee=function(mt){return"0x"+parseInt(mt,10).toString(16)},Be=b.__fontmetrics__.compress=function(mt){var $e,Mt,Tt,Ht,xt=["{"];for(var Bn in mt){if($e=mt[Bn],isNaN(parseInt(Bn,10))?Mt="'"+Bn+"'":(Bn=parseInt(Bn,10),Mt=(Mt=Ee(Bn).slice(2)).slice(0,-1)+ae[Mt.slice(-1)]),typeof $e=="number")$e<0?(Tt=Ee($e).slice(3),Ht="-"):(Tt=Ee($e).slice(2),Ht=""),Tt=Ht+Tt.slice(0,-1)+ae[Tt.slice(-1)];else{if((0,Oe.Z)($e)!=="object")throw new Error("Don't know what to do with value type "+(0,Oe.Z)($e)+".");Tt=Be($e)}xt.push(Mt+Tt)}return xt.push("}"),xt.join("")},xe=b.__fontmetrics__.uncompress=function(mt){if(typeof mt!="string")throw new Error("Invalid argument passed to uncompress.");for(var $e,Mt,Tt,Ht,xt={},Bn=1,cn=xt,en=[],Yn="",vr="",rr=mt.length-1,xn=1;xn<rr;xn+=1)(Ht=mt[xn])=="'"?$e?(Tt=$e.join(""),$e=void 0):$e=[]:$e?$e.push(Ht):Ht=="{"?(en.push([cn,Tt]),cn={},Tt=void 0):Ht=="}"?((Mt=en.pop())[0][Mt[1]]=cn,Tt=void 0,cn=Mt[0]):Ht=="-"?Bn=-1:Tt===void 0?re.hasOwnProperty(Ht)?(Yn+=re[Ht],Tt=parseInt(Yn,16)*Bn,Bn=1,Yn=""):Yn+=Ht:re.hasOwnProperty(Ht)?(vr+=re[Ht],cn[Tt]=parseInt(vr,16)*Bn,Bn=1,Tt=void 0,vr=""):vr+=Ht;return xt},Ne={codePages:["WinAnsiEncoding"],WinAnsiEncoding:xe("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},We={Unicode:{Courier:Ne,"Courier-Bold":Ne,"Courier-BoldOblique":Ne,"Courier-Oblique":Ne,Helvetica:Ne,"Helvetica-Bold":Ne,"Helvetica-BoldOblique":Ne,"Helvetica-Oblique":Ne,"Times-Roman":Ne,"Times-Bold":Ne,"Times-BoldItalic":Ne,"Times-Italic":Ne}},At={Unicode:{"Courier-Oblique":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":xe("{'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":xe("{'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:xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":xe("{'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:xe("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:xe("{'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":xe("{'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:xe("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":xe("{'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":xe("{'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":xe("{'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}}}")}};b.events.push(["addFont",function(mt){var $e=mt.font,Mt=At.Unicode[$e.postScriptName];Mt&&($e.metadata.Unicode={},$e.metadata.Unicode.widths=Mt.widths,$e.metadata.Unicode.kerning=Mt.kerning);var Tt=We.Unicode[$e.postScriptName];Tt&&($e.metadata.Unicode.encoding=Tt,$e.encoding=Tt.codePages[0])}])}(Wa.API),function(b){var z=function(x){for(var re=x.length,ae=new Uint8Array(re),se=0;se<re;se++)ae[se]=x.charCodeAt(se);return ae};b.API.events.push(["addFont",function(x){var re=void 0,ae=x.font,se=x.instance;if(!ae.isStandardFont){if(se===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ae.postScriptName+"').");if(typeof(re=se.existsFileInVFS(ae.postScriptName)===!1?se.loadFile(ae.postScriptName):se.getFileFromVFS(ae.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ae.postScriptName+"').");(function(Ee,Be){Be=/^\x00\x01\x00\x00/.test(Be)?z(Be):z(Wg(Be)),Ee.metadata=b.API.TTFFont.open(Be),Ee.metadata.Unicode=Ee.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ee.metadata.glyIdsUsed=[0]})(ae,re)}}])}(Wa),Wa.API.addSvgAsImage=function(b,z,x,re,ae,se,Ee,Be){if(isNaN(z)||isNaN(x))throw gA.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(re)||isNaN(ae))throw gA.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var xe=document.createElement("canvas");xe.width=re,xe.height=ae;var Ne=xe.getContext("2d");Ne.fillStyle="#fff",Ne.fillRect(0,0,xe.width,xe.height);var We={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},At=this;return(_o.canvg?Promise.resolve(_o.canvg):we.e(3754).then(we.bind(we,63754))).catch(function(mt){return Promise.reject(new Error("Could not load canvg: "+mt))}).then(function(mt){return mt.default?mt.default:mt}).then(function(mt){return mt.fromString(Ne,b,We)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(mt){return mt.render(We)}).then(function(){At.addImage(xe.toDataURL("image/jpeg",1),z,x,re,ae,Ee,Be)})},Wa.API.putTotalPages=function(b){var z,x=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(z=new RegExp(b,"g"),x=this.internal.getNumberOfPages()):(z=new RegExp(this.pdfEscape16(b,this.internal.getFont()),"g"),x=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var re=1;re<=this.internal.getNumberOfPages();re++)for(var ae=0;ae<this.internal.pages[re].length;ae++)this.internal.pages[re][ae]=this.internal.pages[re][ae].replace(z,x);return this},Wa.API.viewerPreferences=function(b,z){var x;b=b||{},z=z||!1;var re,ae,se,Ee={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}},Be=Object.keys(Ee),xe=[],Ne=0,We=0,At=0;function mt(Mt,Tt){var Ht,xt=!1;for(Ht=0;Ht<Mt.length;Ht+=1)Mt[Ht]===Tt&&(xt=!0);return xt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ee)),this.internal.viewerpreferences.isSubscribed=!1),x=this.internal.viewerpreferences.configuration,b==="reset"||z===!0){var $e=Be.length;for(At=0;At<$e;At+=1)x[Be[At]].value=x[Be[At]].defaultValue,x[Be[At]].explicitSet=!1}if((0,Oe.Z)(b)==="object"){for(ae in b)if(se=b[ae],mt(Be,ae)&&se!==void 0){if(x[ae].type==="boolean"&&typeof se=="boolean")x[ae].value=se;else if(x[ae].type==="name"&&mt(x[ae].valueSet,se))x[ae].value=se;else if(x[ae].type==="integer"&&Number.isInteger(se))x[ae].value=se;else if(x[ae].type==="array"){for(Ne=0;Ne<se.length;Ne+=1)if(re=!0,se[Ne].length===1&&typeof se[Ne][0]=="number")xe.push(String(se[Ne]-1));else if(se[Ne].length>1){for(We=0;We<se[Ne].length;We+=1)typeof se[Ne][We]!="number"&&(re=!1);re===!0&&xe.push([se[Ne][0]-1,se[Ne][1]-1].join(" "))}x[ae].value="["+xe.join(" ")+"]"}else x[ae].value=x[ae].defaultValue;x[ae].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Mt,Tt=[];for(Mt in x)x[Mt].explicitSet===!0&&(x[Mt].type==="name"?Tt.push("/"+Mt+" /"+x[Mt].value):Tt.push("/"+Mt+" "+x[Mt].value));Tt.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Tt.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=x,this},function(b){var z=function(){var re='<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>',ae=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),se=unescape(encodeURIComponent(re)),Ee=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Be=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),xe=unescape(encodeURIComponent("</x:xmpmeta>")),Ne=se.length+Ee.length+Be.length+ae.length+xe.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ne+" >>"),this.internal.write("stream"),this.internal.write(ae+se+Ee+Be+xe),this.internal.write("endstream"),this.internal.write("endobj")},x=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};b.addMetadata=function(re,ae){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:re,namespaceuri:ae||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",x),this.internal.events.subscribe("postPutResources",z)),this}}(Wa.API),function(b){var z=b.API,x=z.pdfEscape16=function(se,Ee){for(var Be,xe=Ee.metadata.Unicode.widths,Ne=["","0","00","000","0000"],We=[""],At=0,mt=se.length;At<mt;++At){if(Be=Ee.metadata.characterToGlyph(se.charCodeAt(At)),Ee.metadata.glyIdsUsed.push(Be),Ee.metadata.toUnicode[Be]=se.charCodeAt(At),xe.indexOf(Be)==-1&&(xe.push(Be),xe.push([parseInt(Ee.metadata.widthOfGlyph(Be),10)])),Be=="0")return We.join("");Be=Be.toString(16),We.push(Ne[4-Be.length],Be)}return We.join("")},re=function(se){var Ee,Be,xe,Ne,We,At,mt;for(We=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,xe=[],At=0,mt=(Be=Object.keys(se).sort(function($e,Mt){return $e-Mt})).length;At<mt;At++)Ee=Be[At],xe.length>=100&&(We+=`
`+xe.length+` beginbfchar
`+xe.join(`
`)+`
endbfchar`,xe=[]),se[Ee]!==void 0&&se[Ee]!==null&&typeof se[Ee].toString=="function"&&(Ne=("0000"+se[Ee].toString(16)).slice(-4),Ee=("0000"+(+Ee).toString(16)).slice(-4),xe.push("<"+Ee+"><"+Ne+">"));return xe.length&&(We+=`
`+xe.length+` beginbfchar
`+xe.join(`
`)+`
endbfchar
`),We+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};z.events.push(["putFont",function(se){(function(Ee){var Be=Ee.font,xe=Ee.out,Ne=Ee.newObject,We=Ee.putStream;if(Be.metadata instanceof b.API.TTFFont&&Be.encoding==="Identity-H"){for(var At=Be.metadata.Unicode.widths,mt=Be.metadata.subset.encode(Be.metadata.glyIdsUsed,1),$e="",Mt=0;Mt<mt.length;Mt++)$e+=String.fromCharCode(mt[Mt]);var Tt=Ne();We({data:$e,addLength1:!0,objectId:Tt}),xe("endobj");var Ht=Ne();We({data:re(Be.metadata.toUnicode),addLength1:!0,objectId:Ht}),xe("endobj");var xt=Ne();xe("<<"),xe("/Type /FontDescriptor"),xe("/FontName /"+Eu(Be.fontName)),xe("/FontFile2 "+Tt+" 0 R"),xe("/FontBBox "+b.API.PDFObject.convert(Be.metadata.bbox)),xe("/Flags "+Be.metadata.flags),xe("/StemV "+Be.metadata.stemV),xe("/ItalicAngle "+Be.metadata.italicAngle),xe("/Ascent "+Be.metadata.ascender),xe("/Descent "+Be.metadata.decender),xe("/CapHeight "+Be.metadata.capHeight),xe(">>"),xe("endobj");var Bn=Ne();xe("<<"),xe("/Type /Font"),xe("/BaseFont /"+Eu(Be.fontName)),xe("/FontDescriptor "+xt+" 0 R"),xe("/W "+b.API.PDFObject.convert(At)),xe("/CIDToGIDMap /Identity"),xe("/DW 1000"),xe("/Subtype /CIDFontType2"),xe("/CIDSystemInfo"),xe("<<"),xe("/Supplement 0"),xe("/Registry (Adobe)"),xe("/Ordering ("+Be.encoding+")"),xe(">>"),xe(">>"),xe("endobj"),Be.objectNumber=Ne(),xe("<<"),xe("/Type /Font"),xe("/Subtype /Type0"),xe("/ToUnicode "+Ht+" 0 R"),xe("/BaseFont /"+Eu(Be.fontName)),xe("/Encoding /"+Be.encoding),xe("/DescendantFonts ["+Bn+" 0 R]"),xe(">>"),xe("endobj"),Be.isAlreadyPutted=!0}})(se)}]),z.events.push(["putFont",function(se){(function(Ee){var Be=Ee.font,xe=Ee.out,Ne=Ee.newObject,We=Ee.putStream;if(Be.metadata instanceof b.API.TTFFont&&Be.encoding==="WinAnsiEncoding"){for(var At=Be.metadata.rawData,mt="",$e=0;$e<At.length;$e++)mt+=String.fromCharCode(At[$e]);var Mt=Ne();We({data:mt,addLength1:!0,objectId:Mt}),xe("endobj");var Tt=Ne();We({data:re(Be.metadata.toUnicode),addLength1:!0,objectId:Tt}),xe("endobj");var Ht=Ne();xe("<<"),xe("/Descent "+Be.metadata.decender),xe("/CapHeight "+Be.metadata.capHeight),xe("/StemV "+Be.metadata.stemV),xe("/Type /FontDescriptor"),xe("/FontFile2 "+Mt+" 0 R"),xe("/Flags 96"),xe("/FontBBox "+b.API.PDFObject.convert(Be.metadata.bbox)),xe("/FontName /"+Eu(Be.fontName)),xe("/ItalicAngle "+Be.metadata.italicAngle),xe("/Ascent "+Be.metadata.ascender),xe(">>"),xe("endobj"),Be.objectNumber=Ne();for(var xt=0;xt<Be.metadata.hmtx.widths.length;xt++)Be.metadata.hmtx.widths[xt]=parseInt(Be.metadata.hmtx.widths[xt]*(1e3/Be.metadata.head.unitsPerEm));xe("<</Subtype/TrueType/Type/Font/ToUnicode "+Tt+" 0 R/BaseFont/"+Eu(Be.fontName)+"/FontDescriptor "+Ht+" 0 R/Encoding/"+Be.encoding+" /FirstChar 29 /LastChar 255 /Widths "+b.API.PDFObject.convert(Be.metadata.hmtx.widths)+">>"),xe("endobj"),Be.isAlreadyPutted=!0}})(se)}]);var ae=function(se){var Ee,Be=se.text||"",xe=se.x,Ne=se.y,We=se.options||{},At=se.mutex||{},mt=At.pdfEscape,$e=At.activeFontKey,Mt=At.fonts,Tt=$e,Ht="",xt=0,Bn="",cn=Mt[Tt].encoding;if(Mt[Tt].encoding!=="Identity-H")return{text:Be,x:xe,y:Ne,options:We,mutex:At};for(Bn=Be,Tt=$e,Array.isArray(Be)&&(Bn=Be[0]),xt=0;xt<Bn.length;xt+=1)Mt[Tt].metadata.hasOwnProperty("cmap")&&(Ee=Mt[Tt].metadata.cmap.unicode.codeMap[Bn[xt].charCodeAt(0)]),Ee||Bn[xt].charCodeAt(0)<256&&Mt[Tt].metadata.hasOwnProperty("Unicode")?Ht+=Bn[xt]:Ht+="";var en="";return parseInt(Tt.slice(1))<14||cn==="WinAnsiEncoding"?en=mt(Ht,Tt).split("").map(function(Yn){return Yn.charCodeAt(0).toString(16)}).join(""):cn==="Identity-H"&&(en=x(Ht,Mt[Tt])),At.isHex=!0,{text:en,x:xe,y:Ne,options:We,mutex:At}};z.events.push(["postProcessText",function(se){var Ee=se.text||"",Be=[],xe={text:Ee,x:se.x,y:se.y,options:se.options,mutex:se.mutex};if(Array.isArray(Ee)){var Ne=0;for(Ne=0;Ne<Ee.length;Ne+=1)Array.isArray(Ee[Ne])&&Ee[Ne].length===3?Be.push([ae(Object.assign({},xe,{text:Ee[Ne][0]})).text,Ee[Ne][1],Ee[Ne][2]]):Be.push(ae(Object.assign({},xe,{text:Ee[Ne]})).text);se.text=Be}else se.text=ae(Object.assign({},xe,{text:Ee})).text}])}(Wa),function(b){var z=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};b.existsFileInVFS=function(x){return z.call(this),this.internal.vFS[x]!==void 0},b.addFileToVFS=function(x,re){return z.call(this),this.internal.vFS[x]=re,this},b.getFileFromVFS=function(x){return z.call(this),this.internal.vFS[x]!==void 0?this.internal.vFS[x]:null}}(Wa.API),function(b){b.__bidiEngine__=b.prototype.__bidiEngine__=function(re){var ae,se,Ee,Be,xe,Ne,We,At=z,mt=[[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]],$e=[[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]],Mt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Tt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Ht=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],xt=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)$/),Bn=!1,cn=0;this.__bidiEngine__={};var en=function(Ft){var zt=Ft.charCodeAt(),pn=zt>>8,gn=Tt[pn];return gn!==void 0?At[256*gn+(255&zt)]:pn===252||pn===253?"AL":xt.test(pn)?"L":pn===8?"R":"N"},Yn=function(Ft){for(var zt,pn=0;pn<Ft.length;pn++){if((zt=en(Ft.charAt(pn)))==="L")return!1;if(zt==="R")return!0}return!1},vr=function(Ft,zt,pn,gn){var qn,nr,ir,Wn,cr=zt[gn];switch(cr){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Bn=!1;break;case"N":case"AN":break;case"EN":Bn&&(cr="AN");break;case"AL":Bn=!0,cr="R";break;case"WS":case"BN":cr="N";break;case"CS":gn<1||gn+1>=zt.length||(qn=pn[gn-1])!=="EN"&&qn!=="AN"||(nr=zt[gn+1])!=="EN"&&nr!=="AN"?cr="N":Bn&&(nr="AN"),cr=nr===qn?nr:"N";break;case"ES":cr=(qn=gn>0?pn[gn-1]:"B")==="EN"&&gn+1<zt.length&&zt[gn+1]==="EN"?"EN":"N";break;case"ET":if(gn>0&&pn[gn-1]==="EN"){cr="EN";break}if(Bn){cr="N";break}for(ir=gn+1,Wn=zt.length;ir<Wn&&zt[ir]==="ET";)ir++;cr=ir<Wn&&zt[ir]==="EN"?"EN":"N";break;case"NSM":if(Ee&&!Be){for(Wn=zt.length,ir=gn+1;ir<Wn&&zt[ir]==="NSM";)ir++;if(ir<Wn){var Jr=Ft[gn],_r=Jr>=1425&&Jr<=2303||Jr===64286;if(qn=zt[ir],_r&&(qn==="R"||qn==="AL")){cr="R";break}}}cr=gn<1||(qn=zt[gn-1])==="B"?"N":pn[gn-1];break;case"B":Bn=!1,ae=!0,cr=cn;break;case"S":se=!0,cr="N"}return cr},rr=function(Ft,zt,pn){var gn=Ft.split("");return pn&&xn(gn,pn,{hiLevel:cn}),gn.reverse(),zt&&zt.reverse(),gn.join("")},xn=function(Ft,zt,pn){var gn,qn,nr,ir,Wn,cr=-1,Jr=Ft.length,_r=0,Ct=[],Jt=cn?$e:mt,ln=[];for(Bn=!1,ae=!1,se=!1,qn=0;qn<Jr;qn++)ln[qn]=en(Ft[qn]);for(nr=0;nr<Jr;nr++){if(Wn=_r,Ct[nr]=vr(Ft,ln,Ct,nr),gn=240&(_r=Jt[Wn][Mt[Ct[nr]]]),_r&=15,zt[nr]=ir=Jt[_r][5],gn>0)if(gn===16){for(qn=cr;qn<nr;qn++)zt[qn]=1;cr=-1}else cr=-1;if(Jt[_r][6])cr===-1&&(cr=nr);else if(cr>-1){for(qn=cr;qn<nr;qn++)zt[qn]=ir;cr=-1}ln[nr]==="B"&&(zt[nr]=0),pn.hiLevel|=ir}se&&function(bn,Dn,$n){for(var ar=0;ar<$n;ar++)if(bn[ar]==="S"){Dn[ar]=cn;for(var lr=ar-1;lr>=0&&bn[lr]==="WS";lr--)Dn[lr]=cn}}(ln,zt,Jr)},nn=function(Ft,zt,pn,gn,qn){if(!(qn.hiLevel<Ft)){if(Ft===1&&cn===1&&!ae)return zt.reverse(),void(pn&&pn.reverse());for(var nr,ir,Wn,cr,Jr=zt.length,_r=0;_r<Jr;){if(gn[_r]>=Ft){for(Wn=_r+1;Wn<Jr&&gn[Wn]>=Ft;)Wn++;for(cr=_r,ir=Wn-1;cr<ir;cr++,ir--)nr=zt[cr],zt[cr]=zt[ir],zt[ir]=nr,pn&&(nr=pn[cr],pn[cr]=pn[ir],pn[ir]=nr);_r=Wn}_r++}}},Mn=function(Ft,zt,pn){var gn=Ft.split(""),qn={hiLevel:cn};return pn||(pn=[]),xn(gn,pn,qn),function(nr,ir,Wn){if(Wn.hiLevel!==0&&We)for(var cr,Jr=0;Jr<nr.length;Jr++)ir[Jr]===1&&(cr=Ht.indexOf(nr[Jr]))>=0&&(nr[Jr]=Ht[cr+1])}(gn,pn,qn),nn(2,gn,zt,pn,qn),nn(1,gn,zt,pn,qn),gn.join("")};return this.__bidiEngine__.doBidiReorder=function(Ft,zt,pn){if(function(qn,nr){if(nr)for(var ir=0;ir<qn.length;ir++)nr[ir]=ir;Be===void 0&&(Be=Yn(qn)),Ne===void 0&&(Ne=Yn(qn))}(Ft,zt),Ee||!xe||Ne)if(Ee&&xe&&Be^Ne)cn=Be?1:0,Ft=rr(Ft,zt,pn);else if(!Ee&&xe&&Ne)cn=Be?1:0,Ft=Mn(Ft,zt,pn),Ft=rr(Ft,zt);else if(!Ee||Be||xe||Ne){if(Ee&&!xe&&Be^Ne)Ft=rr(Ft,zt),Be?(cn=0,Ft=Mn(Ft,zt,pn)):(cn=1,Ft=Mn(Ft,zt,pn),Ft=rr(Ft,zt));else if(Ee&&Be&&!xe&&Ne)cn=1,Ft=Mn(Ft,zt,pn),Ft=rr(Ft,zt);else if(!Ee&&!xe&&Be^Ne){var gn=We;Be?(cn=1,Ft=Mn(Ft,zt,pn),cn=0,We=!1,Ft=Mn(Ft,zt,pn),We=gn):(cn=0,Ft=Mn(Ft,zt,pn),Ft=rr(Ft,zt),cn=1,We=!1,Ft=Mn(Ft,zt,pn),We=gn,Ft=rr(Ft,zt))}}else cn=0,Ft=Mn(Ft,zt,pn);else cn=Be?1:0,Ft=Mn(Ft,zt,pn);return Ft},this.__bidiEngine__.setOptions=function(Ft){Ft&&(Ee=Ft.isInputVisual,xe=Ft.isOutputVisual,Be=Ft.isInputRtl,Ne=Ft.isOutputRtl,We=Ft.isSymmetricSwapping)},this.__bidiEngine__.setOptions(re),this.__bidiEngine__};var z=["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"],x=new b.__bidiEngine__({isInputVisual:!0});b.API.events.push(["postProcessText",function(re){var ae=re.text;re.x,re.y;var se=re.options||{};re.mutex,se.lang;var Ee=[];if(se.isInputVisual=typeof se.isInputVisual!="boolean"||se.isInputVisual,x.setOptions(se),Object.prototype.toString.call(ae)==="[object Array]"){var Be=0;for(Ee=[],Be=0;Be<ae.length;Be+=1)Object.prototype.toString.call(ae[Be])==="[object Array]"?Ee.push([x.doBidiReorder(ae[Be][0]),ae[Be][1],ae[Be][2]]):Ee.push([x.doBidiReorder(ae[Be])]);re.text=Ee}else re.text=x.doBidiReorder(ae);x.setOptions({isInputVisual:!0})}])}(Wa),Wa.API.TTFFont=function(){function b(z){var x;if(this.rawData=z,x=this.contents=new lg(z),this.contents.pos=4,x.readString(4)==="ttcf")throw new Error("TTCF not supported.");x.pos=0,this.parse(),this.subset=new Yv(this),this.registerTTF()}return b.open=function(z){return new b(z)},b.prototype.parse=function(){return this.directory=new Tv(this.contents),this.head=new Rv(this),this.name=new zv(this),this.cmap=new zp(this),this.toUnicode={},this.hhea=new jv(this),this.maxp=new Gv(this),this.hmtx=new $v(this),this.post=new Hv(this),this.os2=new Mv(this),this.loca=new Xv(this),this.glyf=new Zv(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]},b.prototype.registerTTF=function(){var z,x,re,ae,se;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ee,Be,xe,Ne;for(Ne=[],Ee=0,Be=(xe=this.bbox).length;Ee<Be;Ee++)z=xe[Ee],Ne.push(Math.round(z*this.scaleFactor));return Ne}.call(this),this.stemV=0,this.post.exists?(re=255&(ae=this.post.italic_angle),32768&(x=ae>>16)&&(x=-(1+(65535^x))),this.italicAngle=+(x+"."+re)):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=(se=this.familyClass)===1||se===2||se===3||se===4||se===5||se===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},b.prototype.characterToGlyph=function(z){var x;return((x=this.cmap.unicode)!=null?x.codeMap[z]:void 0)||0},b.prototype.widthOfGlyph=function(z){var x;return x=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(z).advance*x},b.prototype.widthOfString=function(z,x,re){var ae,se,Ee,Be;for(Ee=0,se=0,Be=(z=""+z).length;0<=Be?se<Be:se>Be;se=0<=Be?++se:--se)ae=z.charCodeAt(se),Ee+=this.widthOfGlyph(this.characterToGlyph(ae))+re*(1e3/x)||0;return Ee*(x/1e3)},b.prototype.lineHeight=function(z,x){var re;return x==null&&(x=!1),re=x?this.lineGap:0,(this.ascender+re-this.decender)/1e3*z},b}();var Cc,lg=function(){function b(z){this.data=z!=null?z:[],this.pos=0,this.length=this.data.length}return b.prototype.readByte=function(){return this.data[this.pos++]},b.prototype.writeByte=function(z){return this.data[this.pos++]=z},b.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},b.prototype.writeUInt32=function(z){return this.writeByte(z>>>24&255),this.writeByte(z>>16&255),this.writeByte(z>>8&255),this.writeByte(255&z)},b.prototype.readInt32=function(){var z;return(z=this.readUInt32())>=2147483648?z-4294967296:z},b.prototype.writeInt32=function(z){return z<0&&(z+=4294967296),this.writeUInt32(z)},b.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},b.prototype.writeUInt16=function(z){return this.writeByte(z>>8&255),this.writeByte(255&z)},b.prototype.readInt16=function(){var z;return(z=this.readUInt16())>=32768?z-65536:z},b.prototype.writeInt16=function(z){return z<0&&(z+=65536),this.writeUInt16(z)},b.prototype.readString=function(z){var x,re;for(re=[],x=0;0<=z?x<z:x>z;x=0<=z?++x:--x)re[x]=String.fromCharCode(this.readByte());return re.join("")},b.prototype.writeString=function(z){var x,re,ae;for(ae=[],x=0,re=z.length;0<=re?x<re:x>re;x=0<=re?++x:--x)ae.push(this.writeByte(z.charCodeAt(x)));return ae},b.prototype.readShort=function(){return this.readInt16()},b.prototype.writeShort=function(z){return this.writeInt16(z)},b.prototype.readLongLong=function(){var z,x,re,ae,se,Ee,Be,xe;return z=this.readByte(),x=this.readByte(),re=this.readByte(),ae=this.readByte(),se=this.readByte(),Ee=this.readByte(),Be=this.readByte(),xe=this.readByte(),128&z?-1*(72057594037927940*(255^z)+281474976710656*(255^x)+1099511627776*(255^re)+4294967296*(255^ae)+16777216*(255^se)+65536*(255^Ee)+256*(255^Be)+(255^xe)+1):72057594037927940*z+281474976710656*x+1099511627776*re+4294967296*ae+16777216*se+65536*Ee+256*Be+xe},b.prototype.writeLongLong=function(z){var x,re;return x=Math.floor(z/4294967296),re=4294967295&z,this.writeByte(x>>24&255),this.writeByte(x>>16&255),this.writeByte(x>>8&255),this.writeByte(255&x),this.writeByte(re>>24&255),this.writeByte(re>>16&255),this.writeByte(re>>8&255),this.writeByte(255&re)},b.prototype.readInt=function(){return this.readInt32()},b.prototype.writeInt=function(z){return this.writeInt32(z)},b.prototype.read=function(z){var x,re;for(x=[],re=0;0<=z?re<z:re>z;re=0<=z?++re:--re)x.push(this.readByte());return x},b.prototype.write=function(z){var x,re,ae,se;for(se=[],re=0,ae=z.length;re<ae;re++)x=z[re],se.push(this.writeByte(x));return se},b}(),Tv=function(){var b;function z(x){var re,ae,se;for(this.scalarType=x.readInt(),this.tableCount=x.readShort(),this.searchRange=x.readShort(),this.entrySelector=x.readShort(),this.rangeShift=x.readShort(),this.tables={},ae=0,se=this.tableCount;0<=se?ae<se:ae>se;ae=0<=se?++ae:--ae)re={tag:x.readString(4),checksum:x.readInt(),offset:x.readInt(),length:x.readInt()},this.tables[re.tag]=re}return z.prototype.encode=function(x){var re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt;for(Tt in $e=Object.keys(x).length,xe=Math.log(2),At=16*Math.floor(Math.log($e)/xe),Ee=Math.floor(At/xe),We=16*$e-At,(ae=new lg).writeInt(this.scalarType),ae.writeShort($e),ae.writeShort(At),ae.writeShort(Ee),ae.writeShort(We),se=16*$e,Ne=ae.pos+se,Be=null,Mt=[],x)for(mt=x[Tt],ae.writeString(Tt),ae.writeInt(b(mt)),ae.writeInt(Ne),ae.writeInt(mt.length),Mt=Mt.concat(mt),Tt==="head"&&(Be=Ne),Ne+=mt.length;Ne%4;)Mt.push(0),Ne++;return ae.write(Mt),re=2981146554-b(ae.data),ae.pos=Be+8,ae.writeUInt32(re),ae.data},b=function(x){var re,ae,se,Ee;for(x=Gp.call(x);x.length%4;)x.push(0);for(se=new lg(x),ae=0,re=0,Ee=x.length;re<Ee;re=re+=4)ae+=se.readUInt32();return 4294967295&ae},z}(),kv={}.hasOwnProperty,rd=function(b,z){for(var x in z)kv.call(z,x)&&(b[x]=z[x]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b};Cc=function(){function b(z){var x;this.file=z,x=this.file.directory.tables[this.tag],this.exists=!!x,x&&(this.offset=x.offset,this.length=x.length,this.parse(this.file.contents))}return b.prototype.parse=function(){},b.prototype.encode=function(){},b.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},b}();var Rv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="head",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.revision=z.readInt(),this.checkSumAdjustment=z.readInt(),this.magicNumber=z.readInt(),this.flags=z.readShort(),this.unitsPerEm=z.readShort(),this.created=z.readLongLong(),this.modified=z.readLongLong(),this.xMin=z.readShort(),this.yMin=z.readShort(),this.xMax=z.readShort(),this.yMax=z.readShort(),this.macStyle=z.readShort(),this.lowestRecPPEM=z.readShort(),this.fontDirectionHint=z.readShort(),this.indexToLocFormat=z.readShort(),this.glyphDataFormat=z.readShort()},b.prototype.encode=function(z){var x;return(x=new lg).writeInt(this.version),x.writeInt(this.revision),x.writeInt(this.checkSumAdjustment),x.writeInt(this.magicNumber),x.writeShort(this.flags),x.writeShort(this.unitsPerEm),x.writeLongLong(this.created),x.writeLongLong(this.modified),x.writeShort(this.xMin),x.writeShort(this.yMin),x.writeShort(this.xMax),x.writeShort(this.yMax),x.writeShort(this.macStyle),x.writeShort(this.lowestRecPPEM),x.writeShort(this.fontDirectionHint),x.writeShort(z),x.writeShort(this.glyphDataFormat),x.data},b}(),Kp=function(){function b(z,x){var re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Bn,cn;switch(this.platformID=z.readUInt16(),this.encodingID=z.readShort(),this.offset=x+z.readInt(),At=z.pos,z.pos=this.offset,this.format=z.readUInt16(),this.length=z.readUInt16(),this.language=z.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(xe=0;xe<256;++xe)this.codeMap[xe]=z.readByte();break;case 4:for($e=z.readUInt16(),mt=$e/2,z.pos+=6,se=function(){var en,Yn;for(Yn=[],xe=en=0;0<=mt?en<mt:en>mt;xe=0<=mt?++en:--en)Yn.push(z.readUInt16());return Yn}(),z.pos+=2,Tt=function(){var en,Yn;for(Yn=[],xe=en=0;0<=mt?en<mt:en>mt;xe=0<=mt?++en:--en)Yn.push(z.readUInt16());return Yn}(),Ne=function(){var en,Yn;for(Yn=[],xe=en=0;0<=mt?en<mt:en>mt;xe=0<=mt?++en:--en)Yn.push(z.readUInt16());return Yn}(),We=function(){var en,Yn;for(Yn=[],xe=en=0;0<=mt?en<mt:en>mt;xe=0<=mt?++en:--en)Yn.push(z.readUInt16());return Yn}(),ae=(this.length-z.pos+this.offset)/2,Be=function(){var en,Yn;for(Yn=[],xe=en=0;0<=ae?en<ae:en>ae;xe=0<=ae?++en:--en)Yn.push(z.readUInt16());return Yn}(),xe=xt=0,cn=se.length;xt<cn;xe=++xt)for(Ht=se[xe],re=Bn=Mt=Tt[xe];Mt<=Ht?Bn<=Ht:Bn>=Ht;re=Mt<=Ht?++Bn:--Bn)We[xe]===0?Ee=re+Ne[xe]:(Ee=Be[We[xe]/2+(re-Mt)-(mt-xe)]||0)!==0&&(Ee+=Ne[xe]),this.codeMap[re]=65535&Ee}z.pos=At}return b.encode=function(z,x){var re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Bn,cn,en,Yn,vr,rr,xn,nn,Mn,Ft,zt,pn,gn,qn,nr,ir,Wn,cr,Jr,_r,Ct,Jt,ln,bn,Dn,$n,ar,lr,br,Vr,Ba;switch(gn=new lg,Ee=Object.keys(z).sort(function(ma,so){return ma-so}),x){case"macroman":for(Tt=0,Ht=function(){var ma=[];for(Mt=0;Mt<256;++Mt)ma.push(0);return ma}(),Bn={0:0},se={},qn=0,cr=Ee.length;qn<cr;qn++)Bn[lr=z[ae=Ee[qn]]]==null&&(Bn[lr]=++Tt),se[ae]={old:z[ae],new:Bn[z[ae]]},Ht[ae]=Bn[z[ae]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(Ht),{charMap:se,subtable:gn.data,maxGlyphID:Tt+1};case"unicode":for(zt=[],At=[],cn=0,Bn={},re={},xt=Ne=null,nr=0,Jr=Ee.length;nr<Jr;nr++)Bn[Yn=z[ae=Ee[nr]]]==null&&(Bn[Yn]=++cn),re[ae]={old:Yn,new:Bn[Yn]},Be=Bn[Yn]-ae,xt!=null&&Be===Ne||(xt&&At.push(xt),zt.push(ae),Ne=Be),xt=ae;for(xt&&At.push(xt),At.push(65535),zt.push(65535),Mn=2*(nn=zt.length),xn=2*Math.pow(Math.log(nn)/Math.LN2,2),mt=Math.log(xn/2)/Math.LN2,rr=2*nn-xn,xe=[],vr=[],$e=[],Mt=ir=0,_r=zt.length;ir<_r;Mt=++ir){if(Ft=zt[Mt],We=At[Mt],Ft===65535){xe.push(0),vr.push(0);break}if(Ft-(pn=re[Ft].new)>=32768)for(xe.push(0),vr.push(2*($e.length+nn-Mt)),ae=Wn=Ft;Ft<=We?Wn<=We:Wn>=We;ae=Ft<=We?++Wn:--Wn)$e.push(re[ae].new);else xe.push(pn-Ft),vr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*nn+2*$e.length),gn.writeUInt16(0),gn.writeUInt16(Mn),gn.writeUInt16(xn),gn.writeUInt16(mt),gn.writeUInt16(rr),$n=0,Ct=At.length;$n<Ct;$n++)ae=At[$n],gn.writeUInt16(ae);for(gn.writeUInt16(0),ar=0,Jt=zt.length;ar<Jt;ar++)ae=zt[ar],gn.writeUInt16(ae);for(br=0,ln=xe.length;br<ln;br++)Be=xe[br],gn.writeUInt16(Be);for(Vr=0,bn=vr.length;Vr<bn;Vr++)en=vr[Vr],gn.writeUInt16(en);for(Ba=0,Dn=$e.length;Ba<Dn;Ba++)Tt=$e[Ba],gn.writeUInt16(Tt);return{charMap:re,subtable:gn.data,maxGlyphID:cn+1}}},b}(),zp=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="cmap",b.prototype.parse=function(z){var x,re,ae;for(z.pos=this.offset,this.version=z.readUInt16(),ae=z.readUInt16(),this.tables=[],this.unicode=null,re=0;0<=ae?re<ae:re>ae;re=0<=ae?++re:--re)x=new Kp(z,this.offset),this.tables.push(x),x.isUnicode&&this.unicode==null&&(this.unicode=x);return!0},b.encode=function(z,x){var re,ae;return x==null&&(x="macroman"),re=Kp.encode(z,x),(ae=new lg).writeUInt16(0),ae.writeUInt16(1),re.table=ae.data.concat(re.subtable),re},b}(),jv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="hhea",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.ascender=z.readShort(),this.decender=z.readShort(),this.lineGap=z.readShort(),this.advanceWidthMax=z.readShort(),this.minLeftSideBearing=z.readShort(),this.minRightSideBearing=z.readShort(),this.xMaxExtent=z.readShort(),this.caretSlopeRise=z.readShort(),this.caretSlopeRun=z.readShort(),this.caretOffset=z.readShort(),z.pos+=8,this.metricDataFormat=z.readShort(),this.numberOfMetrics=z.readUInt16()},b}(),Mv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="OS/2",b.prototype.parse=function(z){if(z.pos=this.offset,this.version=z.readUInt16(),this.averageCharWidth=z.readShort(),this.weightClass=z.readUInt16(),this.widthClass=z.readUInt16(),this.type=z.readShort(),this.ySubscriptXSize=z.readShort(),this.ySubscriptYSize=z.readShort(),this.ySubscriptXOffset=z.readShort(),this.ySubscriptYOffset=z.readShort(),this.ySuperscriptXSize=z.readShort(),this.ySuperscriptYSize=z.readShort(),this.ySuperscriptXOffset=z.readShort(),this.ySuperscriptYOffset=z.readShort(),this.yStrikeoutSize=z.readShort(),this.yStrikeoutPosition=z.readShort(),this.familyClass=z.readShort(),this.panose=function(){var x,re;for(re=[],x=0;x<10;++x)re.push(z.readByte());return re}(),this.charRange=function(){var x,re;for(re=[],x=0;x<4;++x)re.push(z.readInt());return re}(),this.vendorID=z.readString(4),this.selection=z.readShort(),this.firstCharIndex=z.readShort(),this.lastCharIndex=z.readShort(),this.version>0&&(this.ascent=z.readShort(),this.descent=z.readShort(),this.lineGap=z.readShort(),this.winAscent=z.readShort(),this.winDescent=z.readShort(),this.codePageRange=function(){var x,re;for(re=[],x=0;x<2;x=++x)re.push(z.readInt());return re}(),this.version>1))return this.xHeight=z.readShort(),this.capHeight=z.readShort(),this.defaultChar=z.readShort(),this.breakChar=z.readShort(),this.maxContext=z.readShort()},b}(),Hv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="post",b.prototype.parse=function(z){var x,re,ae;switch(z.pos=this.offset,this.format=z.readInt(),this.italicAngle=z.readInt(),this.underlinePosition=z.readShort(),this.underlineThickness=z.readShort(),this.isFixedPitch=z.readInt(),this.minMemType42=z.readInt(),this.maxMemType42=z.readInt(),this.minMemType1=z.readInt(),this.maxMemType1=z.readInt(),this.format){case 65536:case 196608:break;case 131072:var se;for(re=z.readUInt16(),this.glyphNameIndex=[],se=0;0<=re?se<re:se>re;se=0<=re?++se:--se)this.glyphNameIndex.push(z.readUInt16());for(this.names=[],ae=[];z.pos<this.offset+this.length;)x=z.readByte(),ae.push(this.names.push(z.readString(x)));return ae;case 151552:return re=z.readUInt16(),this.offsets=z.read(re);case 262144:return this.map=function(){var Ee,Be,xe;for(xe=[],se=Ee=0,Be=this.file.maxp.numGlyphs;0<=Be?Ee<Be:Ee>Be;se=0<=Be?++Ee:--Ee)xe.push(z.readUInt32());return xe}.call(this)}},b}(),Kv=function(b,z){this.raw=b,this.length=b.length,this.platformID=z.platformID,this.encodingID=z.encodingID,this.languageID=z.languageID},zv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="name",b.prototype.parse=function(z){var x,re,ae,se,Ee,Be,xe,Ne,We,At,mt;for(z.pos=this.offset,z.readShort(),x=z.readShort(),Be=z.readShort(),re=[],se=0;0<=x?se<x:se>x;se=0<=x?++se:--se)re.push({platformID:z.readShort(),encodingID:z.readShort(),languageID:z.readShort(),nameID:z.readShort(),length:z.readShort(),offset:this.offset+Be+z.readShort()});for(xe={},se=We=0,At=re.length;We<At;se=++We)ae=re[se],z.pos=ae.offset,Ne=z.readString(ae.length),Ee=new Kv(Ne,ae),xe[mt=ae.nameID]==null&&(xe[mt]=[]),xe[ae.nameID].push(Ee);this.strings=xe,this.copyright=xe[0],this.fontFamily=xe[1],this.fontSubfamily=xe[2],this.uniqueSubfamily=xe[3],this.fontName=xe[4],this.version=xe[5];try{this.postscriptName=xe[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch($e){this.postscriptName=xe[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=xe[7],this.manufacturer=xe[8],this.designer=xe[9],this.description=xe[10],this.vendorUrl=xe[11],this.designerUrl=xe[12],this.license=xe[13],this.licenseUrl=xe[14],this.preferredFamily=xe[15],this.preferredSubfamily=xe[17],this.compatibleFull=xe[18],this.sampleText=xe[19]},b}(),Gv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="maxp",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.numGlyphs=z.readUInt16(),this.maxPoints=z.readUInt16(),this.maxContours=z.readUInt16(),this.maxCompositePoints=z.readUInt16(),this.maxComponentContours=z.readUInt16(),this.maxZones=z.readUInt16(),this.maxTwilightPoints=z.readUInt16(),this.maxStorage=z.readUInt16(),this.maxFunctionDefs=z.readUInt16(),this.maxInstructionDefs=z.readUInt16(),this.maxStackElements=z.readUInt16(),this.maxSizeOfInstructions=z.readUInt16(),this.maxComponentElements=z.readUInt16(),this.maxComponentDepth=z.readUInt16()},b}(),$v=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="hmtx",b.prototype.parse=function(z){var x,re,ae,se,Ee,Be,xe;for(z.pos=this.offset,this.metrics=[],x=0,Be=this.file.hhea.numberOfMetrics;0<=Be?x<Be:x>Be;x=0<=Be?++x:--x)this.metrics.push({advance:z.readUInt16(),lsb:z.readInt16()});for(ae=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ne,We;for(We=[],x=Ne=0;0<=ae?Ne<ae:Ne>ae;x=0<=ae?++Ne:--Ne)We.push(z.readInt16());return We}(),this.widths=function(){var Ne,We,At,mt;for(mt=[],Ne=0,We=(At=this.metrics).length;Ne<We;Ne++)se=At[Ne],mt.push(se.advance);return mt}.call(this),re=this.widths[this.widths.length-1],xe=[],x=Ee=0;0<=ae?Ee<ae:Ee>ae;x=0<=ae?++Ee:--Ee)xe.push(this.widths.push(re));return xe},b.prototype.forGlyph=function(z){return z in this.metrics?this.metrics[z]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[z-this.metrics.length]}},b}(),Gp=[].slice,Zv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="glyf",b.prototype.parse=function(){return this.cache={}},b.prototype.glyphFor=function(z){var x,re,ae,se,Ee,Be,xe,Ne,We,At;return z in this.cache?this.cache[z]:(se=this.file.loca,x=this.file.contents,re=se.indexOf(z),(ae=se.lengthOf(z))===0?this.cache[z]=null:(x.pos=this.offset+re,Ee=(Be=new lg(x.read(ae))).readShort(),Ne=Be.readShort(),At=Be.readShort(),xe=Be.readShort(),We=Be.readShort(),this.cache[z]=Ee===-1?new Vv(Be,Ne,At,xe,We):new Wv(Be,Ee,Ne,At,xe,We),this.cache[z]))},b.prototype.encode=function(z,x,re){var ae,se,Ee,Be,xe;for(Ee=[],se=[],Be=0,xe=x.length;Be<xe;Be++)ae=z[x[Be]],se.push(Ee.length),ae&&(Ee=Ee.concat(ae.encode(re)));return se.push(Ee.length),{table:Ee,offsets:se}},b}(),Wv=function(){function b(z,x,re,ae,se,Ee){this.raw=z,this.numberOfContours=x,this.xMin=re,this.yMin=ae,this.xMax=se,this.yMax=Ee,this.compound=!1}return b.prototype.encode=function(){return this.raw.data},b}(),Vv=function(){function b(z,x,re,ae,se){var Ee,Be;for(this.raw=z,this.xMin=x,this.yMin=re,this.xMax=ae,this.yMax=se,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ee=this.raw;Be=Ee.readShort(),this.glyphOffsets.push(Ee.pos),this.glyphIDs.push(Ee.readUInt16()),32&Be;)Ee.pos+=1&Be?4:2,128&Be?Ee.pos+=8:64&Be?Ee.pos+=4:8&Be&&(Ee.pos+=2)}return b.prototype.encode=function(){var z,x,re;for(x=new lg(Gp.call(this.raw.data)),z=0,re=this.glyphIDs.length;z<re;++z)x.pos=this.glyphOffsets[z];return x.data},b}(),Xv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Cc),b.prototype.tag="loca",b.prototype.parse=function(z){var x,re;return z.pos=this.offset,x=this.file.head.indexToLocFormat,this.offsets=x===0?function(){var ae,se;for(se=[],re=0,ae=this.length;re<ae;re+=2)se.push(2*z.readUInt16());return se}.call(this):function(){var ae,se;for(se=[],re=0,ae=this.length;re<ae;re+=4)se.push(z.readUInt32());return se}.call(this)},b.prototype.indexOf=function(z){return this.offsets[z]},b.prototype.lengthOf=function(z){return this.offsets[z+1]-this.offsets[z]},b.prototype.encode=function(z,x){for(var re=new Uint32Array(this.offsets.length),ae=0,se=0,Ee=0;Ee<re.length;++Ee)if(re[Ee]=ae,se<x.length&&x[se]==Ee){++se,re[Ee]=ae;var Be=this.offsets[Ee],xe=this.offsets[Ee+1]-Be;xe>0&&(ae+=xe)}for(var Ne=new Array(4*re.length),We=0;We<re.length;++We)Ne[4*We+3]=255&re[We],Ne[4*We+2]=(65280&re[We])>>8,Ne[4*We+1]=(16711680&re[We])>>16,Ne[4*We]=(4278190080&re[We])>>24;return Ne},b}(),Yv=function(){function b(z){this.font=z,this.subset={},this.unicodes={},this.next=33}return b.prototype.generateCmap=function(){var z,x,re,ae,se;for(x in ae=this.font.cmap.tables[0].codeMap,z={},se=this.subset)re=se[x],z[x]=ae[re];return z},b.prototype.glyphsFor=function(z){var x,re,ae,se,Ee,Be,xe;for(ae={},Ee=0,Be=z.length;Ee<Be;Ee++)ae[se=z[Ee]]=this.font.glyf.glyphFor(se);for(se in x=[],ae)(re=ae[se])!=null&&re.compound&&x.push.apply(x,re.glyphIDs);if(x.length>0)for(se in xe=this.glyphsFor(x))re=xe[se],ae[se]=re;return ae},b.prototype.encode=function(z,x){var re,ae,se,Ee,Be,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt;for(ae in re=zp.encode(this.generateCmap(),"unicode"),Ee=this.glyphsFor(z),$e={0:0},xt=re.charMap)$e[(xe=xt[ae]).old]=xe.new;for(Mt in mt=re.maxGlyphID,Ee)Mt in $e||($e[Mt]=mt++);return We=function(Bn){var cn,en;for(cn in en={},Bn)en[Bn[cn]]=cn;return en}($e),At=Object.keys(We).sort(function(Bn,cn){return Bn-cn}),Tt=function(){var Bn,cn,en;for(en=[],Bn=0,cn=At.length;Bn<cn;Bn++)Be=At[Bn],en.push(We[Be]);return en}(),se=this.font.glyf.encode(Ee,Tt,$e),Ne=this.font.loca.encode(se.offsets,Tt),Ht={cmap:this.font.cmap.raw(),glyf:se.table,loca:Ne,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(x)},this.font.os2.exists&&(Ht["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Ht)},b}();Wa.API.PDFObject=function(){var b;function z(){}return b=function(x,re){return(Array(re+1).join("0")+x).slice(-re)},z.convert=function(x){var re,ae,se,Ee;if(Array.isArray(x))return"["+function(){var Be,xe,Ne;for(Ne=[],Be=0,xe=x.length;Be<xe;Be++)re=x[Be],Ne.push(z.convert(re));return Ne}().join(" ")+"]";if(typeof x=="string")return"/"+x;if(x!=null&&x.isString)return"("+x+")";if(x instanceof Date)return"(D:"+b(x.getUTCFullYear(),4)+b(x.getUTCMonth(),2)+b(x.getUTCDate(),2)+b(x.getUTCHours(),2)+b(x.getUTCMinutes(),2)+b(x.getUTCSeconds(),2)+"Z)";if({}.toString.call(x)==="[object Object]"){for(ae in se=["<<"],x)Ee=x[ae],se.push("/"+ae+" "+z.convert(Ee));return se.push(">>"),se.join(`
`)}return""+x},z}()},86129:function(on,Ut,we){var Oe=we(19208).lW,be=we(97671);(function(ze){on.exports=ze()})(function(){return function ze(at,Ge,je){function me(de,Ie){if(!Ge[de]){if(!at[de]){var Fe=void 0;if(!Ie&&Fe)return require(de,!0);if(Se)return Se(de,!0);var Ce=new Error("Cannot find module '"+de+"'");throw Ce.code="MODULE_NOT_FOUND",Ce}var ie=Ge[de]={exports:{}};at[de][0].call(ie.exports,function(y){var a=at[de][1][y];return me(a||y)},ie,ie.exports,ze,at,Ge,je)}return Ge[de].exports}for(var Se=void 0,Le=0;Le<je.length;Le++)me(je[Le]);return me}({1:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=ze("./support"),Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ge.encode=function(Le){for(var de,Ie,Fe,Ce,ie,y,a,ee=[],E=0,te=Le.length,ne=te,oe=je.getTypeOf(Le)!=="string";E<Le.length;)ne=te-E,Fe=oe?(de=Le[E++],Ie=E<te?Le[E++]:0,E<te?Le[E++]:0):(de=Le.charCodeAt(E++),Ie=E<te?Le.charCodeAt(E++):0,E<te?Le.charCodeAt(E++):0),Ce=de>>2,ie=(3&de)<<4|Ie>>4,y=1<ne?(15&Ie)<<2|Fe>>6:64,a=2<ne?63&Fe:64,ee.push(Se.charAt(Ce)+Se.charAt(ie)+Se.charAt(y)+Se.charAt(a));return ee.join("")},Ge.decode=function(Le){var de,Ie,Fe,Ce,ie,y,a=0,ee=0,E="data:";if(Le.substr(0,E.length)===E)throw new Error("Invalid base64 input, it looks like a data url.");var te,ne=3*(Le=Le.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(Le.charAt(Le.length-1)===Se.charAt(64)&&ne--,Le.charAt(Le.length-2)===Se.charAt(64)&&ne--,ne%1!=0)throw new Error("Invalid base64 input, bad content length.");for(te=me.uint8array?new Uint8Array(0|ne):new Array(0|ne);a<Le.length;)de=Se.indexOf(Le.charAt(a++))<<2|(Ce=Se.indexOf(Le.charAt(a++)))>>4,Ie=(15&Ce)<<4|(ie=Se.indexOf(Le.charAt(a++)))>>2,Fe=(3&ie)<<6|(y=Se.indexOf(Le.charAt(a++))),te[ee++]=de,ie!==64&&(te[ee++]=Ie),y!==64&&(te[ee++]=Fe);return te}},{"./support":30,"./utils":32}],2:[function(ze,at,Ge){"use strict";var je=ze("./external"),me=ze("./stream/DataWorker"),Se=ze("./stream/Crc32Probe"),Le=ze("./stream/DataLengthProbe");function de(Ie,Fe,Ce,ie,y){this.compressedSize=Ie,this.uncompressedSize=Fe,this.crc32=Ce,this.compression=ie,this.compressedContent=y}de.prototype={getContentWorker:function(){var Ie=new me(je.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Le("data_length")),Fe=this;return Ie.on("end",function(){if(this.streamInfo.data_length!==Fe.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Ie},getCompressedWorker:function(){return new me(je.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},de.createWorkerFrom=function(Ie,Fe,Ce){return Ie.pipe(new Se).pipe(new Le("uncompressedSize")).pipe(Fe.compressWorker(Ce)).pipe(new Le("compressedSize")).withStreamInfo("compression",Fe)},at.exports=de},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(ze,at,Ge){"use strict";var je=ze("./stream/GenericWorker");Ge.STORE={magic:"\0\0",compressWorker:function(){return new je("STORE compression")},uncompressWorker:function(){return new je("STORE decompression")}},Ge.DEFLATE=ze("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=function(){for(var Se,Le=[],de=0;de<256;de++){Se=de;for(var Ie=0;Ie<8;Ie++)Se=1&Se?3988292384^Se>>>1:Se>>>1;Le[de]=Se}return Le}();at.exports=function(Se,Le){return Se!==void 0&&Se.length?je.getTypeOf(Se)!=="string"?function(de,Ie,Fe,Ce){var ie=me,y=Ce+Fe;de^=-1;for(var a=Ce;a<y;a++)de=de>>>8^ie[255&(de^Ie[a])];return-1^de}(0|Le,Se,Se.length,0):function(de,Ie,Fe,Ce){var ie=me,y=Ce+Fe;de^=-1;for(var a=Ce;a<y;a++)de=de>>>8^ie[255&(de^Ie.charCodeAt(a))];return-1^de}(0|Le,Se,Se.length,0):0}},{"./utils":32}],5:[function(ze,at,Ge){"use strict";Ge.base64=!1,Ge.binary=!1,Ge.dir=!1,Ge.createFolders=!0,Ge.date=null,Ge.compression=null,Ge.compressionOptions=null,Ge.comment=null,Ge.unixPermissions=null,Ge.dosPermissions=null},{}],6:[function(ze,at,Ge){"use strict";var je=null;je=typeof Promise!="undefined"?Promise:ze("lie"),at.exports={Promise:je}},{lie:37}],7:[function(ze,at,Ge){"use strict";var je=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",me=ze("pako"),Se=ze("./utils"),Le=ze("./stream/GenericWorker"),de=je?"uint8array":"array";function Ie(Fe,Ce){Le.call(this,"FlateWorker/"+Fe),this._pako=null,this._pakoAction=Fe,this._pakoOptions=Ce,this.meta={}}Ge.magic="\b\0",Se.inherits(Ie,Le),Ie.prototype.processChunk=function(Fe){this.meta=Fe.meta,this._pako===null&&this._createPako(),this._pako.push(Se.transformTo(de,Fe.data),!1)},Ie.prototype.flush=function(){Le.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Ie.prototype.cleanUp=function(){Le.prototype.cleanUp.call(this),this._pako=null},Ie.prototype._createPako=function(){this._pako=new me[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var Fe=this;this._pako.onData=function(Ce){Fe.push({data:Ce,meta:Fe.meta})}},Ge.compressWorker=function(Fe){return new Ie("Deflate",Fe)},Ge.uncompressWorker=function(){return new Ie("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(ze,at,Ge){"use strict";function je(ie,y){var a,ee="";for(a=0;a<y;a++)ee+=String.fromCharCode(255&ie),ie>>>=8;return ee}function me(ie,y,a,ee,E,te){var ne,oe,he=ie.file,_e=ie.compression,Pe=te!==de.utf8encode,Qe=Se.transformTo("string",te(he.name)),Ze=Se.transformTo("string",de.utf8encode(he.name)),Ve=he.comment,nt=Se.transformTo("string",te(Ve)),De=Se.transformTo("string",de.utf8encode(Ve)),St=Ze.length!==he.name.length,ke=De.length!==Ve.length,Ot="",it="",rt="",wt=he.dir,dt=he.date,pt={crc32:0,compressedSize:0,uncompressedSize:0};y&&!a||(pt.crc32=ie.crc32,pt.compressedSize=ie.compressedSize,pt.uncompressedSize=ie.uncompressedSize);var st=0;y&&(st|=8),Pe||!St&&!ke||(st|=2048);var ft=0,an=0;wt&&(ft|=16),E==="UNIX"?(an=798,ft|=function(Et,qt){var Ln=Et;return Et||(Ln=qt?16893:33204),(65535&Ln)<<16}(he.unixPermissions,wt)):(an=20,ft|=function(Et){return 63&(Et||0)}(he.dosPermissions)),ne=dt.getUTCHours(),ne<<=6,ne|=dt.getUTCMinutes(),ne<<=5,ne|=dt.getUTCSeconds()/2,oe=dt.getUTCFullYear()-1980,oe<<=4,oe|=dt.getUTCMonth()+1,oe<<=5,oe|=dt.getUTCDate(),St&&(it=je(1,1)+je(Ie(Qe),4)+Ze,Ot+="up"+je(it.length,2)+it),ke&&(rt=je(1,1)+je(Ie(nt),4)+De,Ot+="uc"+je(rt.length,2)+rt);var fn="";return fn+=`
\0`,fn+=je(st,2),fn+=_e.magic,fn+=je(ne,2),fn+=je(oe,2),fn+=je(pt.crc32,4),fn+=je(pt.compressedSize,4),fn+=je(pt.uncompressedSize,4),fn+=je(Qe.length,2),fn+=je(Ot.length,2),{fileRecord:Fe.LOCAL_FILE_HEADER+fn+Qe+Ot,dirRecord:Fe.CENTRAL_FILE_HEADER+je(an,2)+fn+je(nt.length,2)+"\0\0\0\0"+je(ft,4)+je(ee,4)+Qe+Ot+nt}}var Se=ze("../utils"),Le=ze("../stream/GenericWorker"),de=ze("../utf8"),Ie=ze("../crc32"),Fe=ze("../signature");function Ce(ie,y,a,ee){Le.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=y,this.zipPlatform=a,this.encodeFileName=ee,this.streamFiles=ie,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Se.inherits(Ce,Le),Ce.prototype.push=function(ie){var y=ie.meta.percent||0,a=this.entriesCount,ee=this._sources.length;this.accumulate?this.contentBuffer.push(ie):(this.bytesWritten+=ie.data.length,Le.prototype.push.call(this,{data:ie.data,meta:{currentFile:this.currentFile,percent:a?(y+100*(a-ee-1))/a:100}}))},Ce.prototype.openedSource=function(ie){this.currentSourceOffset=this.bytesWritten,this.currentFile=ie.file.name;var y=this.streamFiles&&!ie.file.dir;if(y){var a=me(ie,y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:a.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Ce.prototype.closedSource=function(ie){this.accumulate=!1;var y=this.streamFiles&&!ie.file.dir,a=me(ie,y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),y)this.push({data:function(ee){return Fe.DATA_DESCRIPTOR+je(ee.crc32,4)+je(ee.compressedSize,4)+je(ee.uncompressedSize,4)}(ie),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Ce.prototype.flush=function(){for(var ie=this.bytesWritten,y=0;y<this.dirRecords.length;y++)this.push({data:this.dirRecords[y],meta:{percent:100}});var a=this.bytesWritten-ie,ee=function(E,te,ne,oe,he){var _e=Se.transformTo("string",he(oe));return Fe.CENTRAL_DIRECTORY_END+"\0\0\0\0"+je(E,2)+je(E,2)+je(te,4)+je(ne,4)+je(_e.length,2)+_e}(this.dirRecords.length,a,ie,this.zipComment,this.encodeFileName);this.push({data:ee,meta:{percent:100}})},Ce.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Ce.prototype.registerPrevious=function(ie){this._sources.push(ie);var y=this;return ie.on("data",function(a){y.processChunk(a)}),ie.on("end",function(){y.closedSource(y.previous.streamInfo),y._sources.length?y.prepareNextSource():y.end()}),ie.on("error",function(a){y.error(a)}),this},Ce.prototype.resume=function(){return!!Le.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Ce.prototype.error=function(ie){var y=this._sources;if(!Le.prototype.error.call(this,ie))return!1;for(var a=0;a<y.length;a++)try{y[a].error(ie)}catch(ee){}return!0},Ce.prototype.lock=function(){Le.prototype.lock.call(this);for(var ie=this._sources,y=0;y<ie.length;y++)ie[y].lock()},at.exports=Ce},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(ze,at,Ge){"use strict";var je=ze("../compressions"),me=ze("./ZipFileWorker");Ge.generateWorker=function(Se,Le,de){var Ie=new me(Le.streamFiles,de,Le.platform,Le.encodeFileName),Fe=0;try{Se.forEach(function(Ce,ie){Fe++;var y=function(te,ne){var oe=te||ne,he=je[oe];if(!he)throw new Error(oe+" is not a valid compression method !");return he}(ie.options.compression,Le.compression),a=ie.options.compressionOptions||Le.compressionOptions||{},ee=ie.dir,E=ie.date;ie._compressWorker(y,a).withStreamInfo("file",{name:Ce,dir:ee,date:E,comment:ie.comment||"",unixPermissions:ie.unixPermissions,dosPermissions:ie.dosPermissions}).pipe(Ie)}),Ie.entriesCount=Fe}catch(Ce){Ie.error(Ce)}return Ie}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(ze,at,Ge){"use strict";function je(){if(!(this instanceof je))return new je;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var me=new je;for(var Se in this)typeof this[Se]!="function"&&(me[Se]=this[Se]);return me}}(je.prototype=ze("./object")).loadAsync=ze("./load"),je.support=ze("./support"),je.defaults=ze("./defaults"),je.version="3.10.1",je.loadAsync=function(me,Se){return new je().loadAsync(me,Se)},je.external=ze("./external"),at.exports=je},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=ze("./external"),Se=ze("./utf8"),Le=ze("./zipEntries"),de=ze("./stream/Crc32Probe"),Ie=ze("./nodejsUtils");function Fe(Ce){return new me.Promise(function(ie,y){var a=Ce.decompressed.getContentWorker().pipe(new de);a.on("error",function(ee){y(ee)}).on("end",function(){a.streamInfo.crc32!==Ce.decompressed.crc32?y(new Error("Corrupted zip : CRC32 mismatch")):ie()}).resume()})}at.exports=function(Ce,ie){var y=this;return ie=je.extend(ie||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Se.utf8decode}),Ie.isNode&&Ie.isStream(Ce)?me.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):je.prepareContent("the loaded zip file",Ce,!0,ie.optimizedBinaryString,ie.base64).then(function(a){var ee=new Le(ie);return ee.load(a),ee}).then(function(a){var ee=[me.Promise.resolve(a)],E=a.files;if(ie.checkCRC32)for(var te=0;te<E.length;te++)ee.push(Fe(E[te]));return me.Promise.all(ee)}).then(function(a){for(var ee=a.shift(),E=ee.files,te=0;te<E.length;te++){var ne=E[te],oe=ne.fileNameStr,he=je.resolve(ne.fileNameStr);y.file(he,ne.decompressed,{binary:!0,optimizedBinaryString:!0,date:ne.date,dir:ne.dir,comment:ne.fileCommentStr.length?ne.fileCommentStr:null,unixPermissions:ne.unixPermissions,dosPermissions:ne.dosPermissions,createFolders:ie.createFolders}),ne.dir||(y.file(he).unsafeOriginalName=oe)}return ee.zipComment.length&&(y.comment=ee.zipComment),y})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("../stream/GenericWorker");function Se(Le,de){me.call(this,"Nodejs stream input adapter for "+Le),this._upstreamEnded=!1,this._bindStream(de)}je.inherits(Se,me),Se.prototype._bindStream=function(Le){var de=this;(this._stream=Le).pause(),Le.on("data",function(Ie){de.push({data:Ie,meta:{percent:0}})}).on("error",function(Ie){de.isPaused?this.generatedError=Ie:de.error(Ie)}).on("end",function(){de.isPaused?de._upstreamEnded=!0:de.end()})},Se.prototype.pause=function(){return!!me.prototype.pause.call(this)&&(this._stream.pause(),!0)},Se.prototype.resume=function(){return!!me.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},at.exports=Se},{"../stream/GenericWorker":28,"../utils":32}],13:[function(ze,at,Ge){"use strict";var je=ze("readable-stream").Readable;function me(Se,Le,de){je.call(this,Le),this._helper=Se;var Ie=this;Se.on("data",function(Fe,Ce){Ie.push(Fe)||Ie._helper.pause(),de&&de(Ce)}).on("error",function(Fe){Ie.emit("error",Fe)}).on("end",function(){Ie.push(null)})}ze("../utils").inherits(me,je),me.prototype._read=function(){this._helper.resume()},at.exports=me},{"../utils":32,"readable-stream":16}],14:[function(ze,at,Ge){"use strict";at.exports={isNode:typeof Oe!="undefined",newBufferFrom:function(je,me){if(Oe.from&&Oe.from!==Uint8Array.from)return Oe.from(je,me);if(typeof je=="number")throw new Error('The "data" argument must not be a number');return new Oe(je,me)},allocBuffer:function(je){if(Oe.alloc)return Oe.alloc(je);var me=new Oe(je);return me.fill(0),me},isBuffer:function(je){return Oe.isBuffer(je)},isStream:function(je){return je&&typeof je.on=="function"&&typeof je.pause=="function"&&typeof je.resume=="function"}}},{}],15:[function(ze,at,Ge){"use strict";function je(he,_e,Pe){var Qe,Ze=Se.getTypeOf(_e),Ve=Se.extend(Pe||{},Ie);Ve.date=Ve.date||new Date,Ve.compression!==null&&(Ve.compression=Ve.compression.toUpperCase()),typeof Ve.unixPermissions=="string"&&(Ve.unixPermissions=parseInt(Ve.unixPermissions,8)),Ve.unixPermissions&&16384&Ve.unixPermissions&&(Ve.dir=!0),Ve.dosPermissions&&16&Ve.dosPermissions&&(Ve.dir=!0),Ve.dir&&(he=E(he)),Ve.createFolders&&(Qe=ee(he))&&te.call(this,Qe,!0);var nt=Ze==="string"&&Ve.binary===!1&&Ve.base64===!1;Pe&&Pe.binary!==void 0||(Ve.binary=!nt),(_e instanceof Fe&&_e.uncompressedSize===0||Ve.dir||!_e||_e.length===0)&&(Ve.base64=!1,Ve.binary=!0,_e="",Ve.compression="STORE",Ze="string");var De=null;De=_e instanceof Fe||_e instanceof Le?_e:y.isNode&&y.isStream(_e)?new a(he,_e):Se.prepareContent(he,_e,Ve.binary,Ve.optimizedBinaryString,Ve.base64);var St=new Ce(he,De,Ve);this.files[he]=St}var me=ze("./utf8"),Se=ze("./utils"),Le=ze("./stream/GenericWorker"),de=ze("./stream/StreamHelper"),Ie=ze("./defaults"),Fe=ze("./compressedObject"),Ce=ze("./zipObject"),ie=ze("./generate"),y=ze("./nodejsUtils"),a=ze("./nodejs/NodejsStreamInputAdapter"),ee=function(he){he.slice(-1)==="/"&&(he=he.substring(0,he.length-1));var _e=he.lastIndexOf("/");return 0<_e?he.substring(0,_e):""},E=function(he){return he.slice(-1)!=="/"&&(he+="/"),he},te=function(he,_e){return _e=_e!==void 0?_e:Ie.createFolders,he=E(he),this.files[he]||je.call(this,he,null,{dir:!0,createFolders:_e}),this.files[he]};function ne(he){return Object.prototype.toString.call(he)==="[object RegExp]"}var oe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(he){var _e,Pe,Qe;for(_e in this.files)Qe=this.files[_e],(Pe=_e.slice(this.root.length,_e.length))&&_e.slice(0,this.root.length)===this.root&&he(Pe,Qe)},filter:function(he){var _e=[];return this.forEach(function(Pe,Qe){he(Pe,Qe)&&_e.push(Qe)}),_e},file:function(he,_e,Pe){if(arguments.length!==1)return he=this.root+he,je.call(this,he,_e,Pe),this;if(ne(he)){var Qe=he;return this.filter(function(Ve,nt){return!nt.dir&&Qe.test(Ve)})}var Ze=this.files[this.root+he];return Ze&&!Ze.dir?Ze:null},folder:function(he){if(!he)return this;if(ne(he))return this.filter(function(Ze,Ve){return Ve.dir&&he.test(Ze)});var _e=this.root+he,Pe=te.call(this,_e),Qe=this.clone();return Qe.root=Pe.name,Qe},remove:function(he){he=this.root+he;var _e=this.files[he];if(_e||(he.slice(-1)!=="/"&&(he+="/"),_e=this.files[he]),_e&&!_e.dir)delete this.files[he];else for(var Pe=this.filter(function(Ze,Ve){return Ve.name.slice(0,he.length)===he}),Qe=0;Qe<Pe.length;Qe++)delete this.files[Pe[Qe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(he){var _e,Pe={};try{if((Pe=Se.extend(he||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:me.utf8encode})).type=Pe.type.toLowerCase(),Pe.compression=Pe.compression.toUpperCase(),Pe.type==="binarystring"&&(Pe.type="string"),!Pe.type)throw new Error("No output type specified.");Se.checkSupport(Pe.type),Pe.platform!=="darwin"&&Pe.platform!=="freebsd"&&Pe.platform!=="linux"&&Pe.platform!=="sunos"||(Pe.platform="UNIX"),Pe.platform==="win32"&&(Pe.platform="DOS");var Qe=Pe.comment||this.comment||"";_e=ie.generateWorker(this,Pe,Qe)}catch(Ze){(_e=new Le("error")).error(Ze)}return new de(_e,Pe.type||"string",Pe.mimeType)},generateAsync:function(he,_e){return this.generateInternalStream(he).accumulate(_e)},generateNodeStream:function(he,_e){return(he=he||{}).type||(he.type="nodebuffer"),this.generateInternalStream(he).toNodejsStream(_e)}};at.exports=oe},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(ze,at,Ge){"use strict";at.exports=ze("stream")},{stream:void 0}],17:[function(ze,at,Ge){"use strict";var je=ze("./DataReader");function me(Se){je.call(this,Se);for(var Le=0;Le<this.data.length;Le++)Se[Le]=255&Se[Le]}ze("../utils").inherits(me,je),me.prototype.byteAt=function(Se){return this.data[this.zero+Se]},me.prototype.lastIndexOfSignature=function(Se){for(var Le=Se.charCodeAt(0),de=Se.charCodeAt(1),Ie=Se.charCodeAt(2),Fe=Se.charCodeAt(3),Ce=this.length-4;0<=Ce;--Ce)if(this.data[Ce]===Le&&this.data[Ce+1]===de&&this.data[Ce+2]===Ie&&this.data[Ce+3]===Fe)return Ce-this.zero;return-1},me.prototype.readAndCheckSignature=function(Se){var Le=Se.charCodeAt(0),de=Se.charCodeAt(1),Ie=Se.charCodeAt(2),Fe=Se.charCodeAt(3),Ce=this.readData(4);return Le===Ce[0]&&de===Ce[1]&&Ie===Ce[2]&&Fe===Ce[3]},me.prototype.readData=function(Se){if(this.checkOffset(Se),Se===0)return[];var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Se);return this.index+=Se,Le},at.exports=me},{"../utils":32,"./DataReader":18}],18:[function(ze,at,Ge){"use strict";var je=ze("../utils");function me(Se){this.data=Se,this.length=Se.length,this.index=0,this.zero=0}me.prototype={checkOffset:function(Se){this.checkIndex(this.index+Se)},checkIndex:function(Se){if(this.length<this.zero+Se||Se<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+Se+"). Corrupted zip ?")},setIndex:function(Se){this.checkIndex(Se),this.index=Se},skip:function(Se){this.setIndex(this.index+Se)},byteAt:function(){},readInt:function(Se){var Le,de=0;for(this.checkOffset(Se),Le=this.index+Se-1;Le>=this.index;Le--)de=(de<<8)+this.byteAt(Le);return this.index+=Se,de},readString:function(Se){return je.transformTo("string",this.readData(Se))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var Se=this.readInt(4);return new Date(Date.UTC(1980+(Se>>25&127),(Se>>21&15)-1,Se>>16&31,Se>>11&31,Se>>5&63,(31&Se)<<1))}},at.exports=me},{"../utils":32}],19:[function(ze,at,Ge){"use strict";var je=ze("./Uint8ArrayReader");function me(Se){je.call(this,Se)}ze("../utils").inherits(me,je),me.prototype.readData=function(Se){this.checkOffset(Se);var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Se);return this.index+=Se,Le},at.exports=me},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(ze,at,Ge){"use strict";var je=ze("./DataReader");function me(Se){je.call(this,Se)}ze("../utils").inherits(me,je),me.prototype.byteAt=function(Se){return this.data.charCodeAt(this.zero+Se)},me.prototype.lastIndexOfSignature=function(Se){return this.data.lastIndexOf(Se)-this.zero},me.prototype.readAndCheckSignature=function(Se){return Se===this.readData(4)},me.prototype.readData=function(Se){this.checkOffset(Se);var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Se);return this.index+=Se,Le},at.exports=me},{"../utils":32,"./DataReader":18}],21:[function(ze,at,Ge){"use strict";var je=ze("./ArrayReader");function me(Se){je.call(this,Se)}ze("../utils").inherits(me,je),me.prototype.readData=function(Se){if(this.checkOffset(Se),Se===0)return new Uint8Array(0);var Le=this.data.subarray(this.zero+this.index,this.zero+this.index+Se);return this.index+=Se,Le},at.exports=me},{"../utils":32,"./ArrayReader":17}],22:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("../support"),Se=ze("./ArrayReader"),Le=ze("./StringReader"),de=ze("./NodeBufferReader"),Ie=ze("./Uint8ArrayReader");at.exports=function(Fe){var Ce=je.getTypeOf(Fe);return je.checkSupport(Ce),Ce!=="string"||me.uint8array?Ce==="nodebuffer"?new de(Fe):me.uint8array?new Ie(je.transformTo("uint8array",Fe)):new Se(je.transformTo("array",Fe)):new Le(Fe)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(ze,at,Ge){"use strict";Ge.LOCAL_FILE_HEADER="PK",Ge.CENTRAL_FILE_HEADER="PK",Ge.CENTRAL_DIRECTORY_END="PK",Ge.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Ge.ZIP64_CENTRAL_DIRECTORY_END="PK",Ge.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(ze,at,Ge){"use strict";var je=ze("./GenericWorker"),me=ze("../utils");function Se(Le){je.call(this,"ConvertWorker to "+Le),this.destType=Le}me.inherits(Se,je),Se.prototype.processChunk=function(Le){this.push({data:me.transformTo(this.destType,Le.data),meta:Le.meta})},at.exports=Se},{"../utils":32,"./GenericWorker":28}],25:[function(ze,at,Ge){"use strict";var je=ze("./GenericWorker"),me=ze("../crc32");function Se(){je.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ze("../utils").inherits(Se,je),Se.prototype.processChunk=function(Le){this.streamInfo.crc32=me(Le.data,this.streamInfo.crc32||0),this.push(Le)},at.exports=Se},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./GenericWorker");function Se(Le){me.call(this,"DataLengthProbe for "+Le),this.propName=Le,this.withStreamInfo(Le,0)}je.inherits(Se,me),Se.prototype.processChunk=function(Le){if(Le){var de=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=de+Le.data.length}me.prototype.processChunk.call(this,Le)},at.exports=Se},{"../utils":32,"./GenericWorker":28}],27:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./GenericWorker");function Se(Le){me.call(this,"DataWorker");var de=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,Le.then(function(Ie){de.dataIsReady=!0,de.data=Ie,de.max=Ie&&Ie.length||0,de.type=je.getTypeOf(Ie),de.isPaused||de._tickAndRepeat()},function(Ie){de.error(Ie)})}je.inherits(Se,me),Se.prototype.cleanUp=function(){me.prototype.cleanUp.call(this),this.data=null},Se.prototype.resume=function(){return!!me.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,je.delay(this._tickAndRepeat,[],this)),!0)},Se.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(je.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Se.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var Le=null,de=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":Le=this.data.substring(this.index,de);break;case"uint8array":Le=this.data.subarray(this.index,de);break;case"array":case"nodebuffer":Le=this.data.slice(this.index,de)}return this.index=de,this.push({data:Le,meta:{percent:this.max?this.index/this.max*100:0}})},at.exports=Se},{"../utils":32,"./GenericWorker":28}],28:[function(ze,at,Ge){"use strict";function je(me){this.name=me||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}je.prototype={push:function(me){this.emit("data",me)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(me){this.emit("error",me)}return!0},error:function(me){return!this.isFinished&&(this.isPaused?this.generatedError=me:(this.isFinished=!0,this.emit("error",me),this.previous&&this.previous.error(me),this.cleanUp()),!0)},on:function(me,Se){return this._listeners[me].push(Se),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(me,Se){if(this._listeners[me])for(var Le=0;Le<this._listeners[me].length;Le++)this._listeners[me][Le].call(this,Se)},pipe:function(me){return me.registerPrevious(this)},registerPrevious:function(me){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=me.streamInfo,this.mergeStreamInfo(),this.previous=me;var Se=this;return me.on("data",function(Le){Se.processChunk(Le)}),me.on("end",function(){Se.end()}),me.on("error",function(Le){Se.error(Le)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var me=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),me=!0),this.previous&&this.previous.resume(),!me},flush:function(){},processChunk:function(me){this.push(me)},withStreamInfo:function(me,Se){return this.extraStreamInfo[me]=Se,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var me in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,me)&&(this.streamInfo[me]=this.extraStreamInfo[me])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var me="Worker "+this.name;return this.previous?this.previous+" -> "+me:me}},at.exports=je},{}],29:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./ConvertWorker"),Se=ze("./GenericWorker"),Le=ze("../base64"),de=ze("../support"),Ie=ze("../external"),Fe=null;if(de.nodestream)try{Fe=ze("../nodejs/NodejsStreamOutputAdapter")}catch(y){}function Ce(y,a){return new Ie.Promise(function(ee,E){var te=[],ne=y._internalType,oe=y._outputType,he=y._mimeType;y.on("data",function(_e,Pe){te.push(_e),a&&a(Pe)}).on("error",function(_e){te=[],E(_e)}).on("end",function(){try{var _e=function(Pe,Qe,Ze){switch(Pe){case"blob":return je.newBlob(je.transformTo("arraybuffer",Qe),Ze);case"base64":return Le.encode(Qe);default:return je.transformTo(Pe,Qe)}}(oe,function(Pe,Qe){var Ze,Ve=0,nt=null,De=0;for(Ze=0;Ze<Qe.length;Ze++)De+=Qe[Ze].length;switch(Pe){case"string":return Qe.join("");case"array":return Array.prototype.concat.apply([],Qe);case"uint8array":for(nt=new Uint8Array(De),Ze=0;Ze<Qe.length;Ze++)nt.set(Qe[Ze],Ve),Ve+=Qe[Ze].length;return nt;case"nodebuffer":return Oe.concat(Qe);default:throw new Error("concat : unsupported type '"+Pe+"'")}}(ne,te),he);ee(_e)}catch(Pe){E(Pe)}te=[]}).resume()})}function ie(y,a,ee){var E=a;switch(a){case"blob":case"arraybuffer":E="uint8array";break;case"base64":E="string"}try{this._internalType=E,this._outputType=a,this._mimeType=ee,je.checkSupport(E),this._worker=y.pipe(new me(E)),y.lock()}catch(te){this._worker=new Se("error"),this._worker.error(te)}}ie.prototype={accumulate:function(y){return Ce(this,y)},on:function(y,a){var ee=this;return y==="data"?this._worker.on(y,function(E){a.call(ee,E.data,E.meta)}):this._worker.on(y,function(){je.delay(a,arguments,ee)}),this},resume:function(){return je.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(y){if(je.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new Fe(this,{objectMode:this._outputType!=="nodebuffer"},y)}},at.exports=ie},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(ze,at,Ge){"use strict";if(Ge.base64=!0,Ge.array=!0,Ge.string=!0,Ge.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Ge.nodebuffer=typeof Oe!="undefined",Ge.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Ge.blob=!1;else{var je=new ArrayBuffer(0);try{Ge.blob=new Blob([je],{type:"application/zip"}).size===0}catch(Se){try{var me=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);me.append(je),Ge.blob=me.getBlob("application/zip").size===0}catch(Le){Ge.blob=!1}}}try{Ge.nodestream=!!ze("readable-stream").Readable}catch(Se){Ge.nodestream=!1}},{"readable-stream":16}],31:[function(ze,at,Ge){"use strict";for(var je=ze("./utils"),me=ze("./support"),Se=ze("./nodejsUtils"),Le=ze("./stream/GenericWorker"),de=new Array(256),Ie=0;Ie<256;Ie++)de[Ie]=252<=Ie?6:248<=Ie?5:240<=Ie?4:224<=Ie?3:192<=Ie?2:1;de[254]=de[254]=1;function Fe(){Le.call(this,"utf-8 decode"),this.leftOver=null}function Ce(){Le.call(this,"utf-8 encode")}Ge.utf8encode=function(ie){return me.nodebuffer?Se.newBufferFrom(ie,"utf-8"):function(y){var a,ee,E,te,ne,oe=y.length,he=0;for(te=0;te<oe;te++)(64512&(ee=y.charCodeAt(te)))==55296&&te+1<oe&&(64512&(E=y.charCodeAt(te+1)))==56320&&(ee=65536+(ee-55296<<10)+(E-56320),te++),he+=ee<128?1:ee<2048?2:ee<65536?3:4;for(a=me.uint8array?new Uint8Array(he):new Array(he),te=ne=0;ne<he;te++)(64512&(ee=y.charCodeAt(te)))==55296&&te+1<oe&&(64512&(E=y.charCodeAt(te+1)))==56320&&(ee=65536+(ee-55296<<10)+(E-56320),te++),ee<128?a[ne++]=ee:(ee<2048?a[ne++]=192|ee>>>6:(ee<65536?a[ne++]=224|ee>>>12:(a[ne++]=240|ee>>>18,a[ne++]=128|ee>>>12&63),a[ne++]=128|ee>>>6&63),a[ne++]=128|63&ee);return a}(ie)},Ge.utf8decode=function(ie){return me.nodebuffer?je.transformTo("nodebuffer",ie).toString("utf-8"):function(y){var a,ee,E,te,ne=y.length,oe=new Array(2*ne);for(a=ee=0;a<ne;)if((E=y[a++])<128)oe[ee++]=E;else if(4<(te=de[E]))oe[ee++]=65533,a+=te-1;else{for(E&=te===2?31:te===3?15:7;1<te&&a<ne;)E=E<<6|63&y[a++],te--;1<te?oe[ee++]=65533:E<65536?oe[ee++]=E:(E-=65536,oe[ee++]=55296|E>>10&1023,oe[ee++]=56320|1023&E)}return oe.length!==ee&&(oe.subarray?oe=oe.subarray(0,ee):oe.length=ee),je.applyFromCharCode(oe)}(ie=je.transformTo(me.uint8array?"uint8array":"array",ie))},je.inherits(Fe,Le),Fe.prototype.processChunk=function(ie){var y=je.transformTo(me.uint8array?"uint8array":"array",ie.data);if(this.leftOver&&this.leftOver.length){if(me.uint8array){var a=y;(y=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),y.set(a,this.leftOver.length)}else y=this.leftOver.concat(y);this.leftOver=null}var ee=function(te,ne){var oe;for((ne=ne||te.length)>te.length&&(ne=te.length),oe=ne-1;0<=oe&&(192&te[oe])==128;)oe--;return oe<0||oe===0?ne:oe+de[te[oe]]>ne?oe:ne}(y),E=y;ee!==y.length&&(me.uint8array?(E=y.subarray(0,ee),this.leftOver=y.subarray(ee,y.length)):(E=y.slice(0,ee),this.leftOver=y.slice(ee,y.length))),this.push({data:Ge.utf8decode(E),meta:ie.meta})},Fe.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Ge.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Ge.Utf8DecodeWorker=Fe,je.inherits(Ce,Le),Ce.prototype.processChunk=function(ie){this.push({data:Ge.utf8encode(ie.data),meta:ie.meta})},Ge.Utf8EncodeWorker=Ce},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(ze,at,Ge){"use strict";var je=ze("./support"),me=ze("./base64"),Se=ze("./nodejsUtils"),Le=ze("./external");function de(a){return a}function Ie(a,ee){for(var E=0;E<a.length;++E)ee[E]=255&a.charCodeAt(E);return ee}ze("setimmediate"),Ge.newBlob=function(a,ee){Ge.checkSupport("blob");try{return new Blob([a],{type:ee})}catch(te){try{var E=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return E.append(a),E.getBlob(ee)}catch(ne){throw new Error("Bug : can't construct the Blob.")}}};var Fe={stringifyByChunk:function(a,ee,E){var te=[],ne=0,oe=a.length;if(oe<=E)return String.fromCharCode.apply(null,a);for(;ne<oe;)ee==="array"||ee==="nodebuffer"?te.push(String.fromCharCode.apply(null,a.slice(ne,Math.min(ne+E,oe)))):te.push(String.fromCharCode.apply(null,a.subarray(ne,Math.min(ne+E,oe)))),ne+=E;return te.join("")},stringifyByChar:function(a){for(var ee="",E=0;E<a.length;E++)ee+=String.fromCharCode(a[E]);return ee},applyCanBeUsed:{uint8array:function(){try{return je.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(a){return!1}}(),nodebuffer:function(){try{return je.nodebuffer&&String.fromCharCode.apply(null,Se.allocBuffer(1)).length===1}catch(a){return!1}}()}};function Ce(a){var ee=65536,E=Ge.getTypeOf(a),te=!0;if(E==="uint8array"?te=Fe.applyCanBeUsed.uint8array:E==="nodebuffer"&&(te=Fe.applyCanBeUsed.nodebuffer),te)for(;1<ee;)try{return Fe.stringifyByChunk(a,E,ee)}catch(ne){ee=Math.floor(ee/2)}return Fe.stringifyByChar(a)}function ie(a,ee){for(var E=0;E<a.length;E++)ee[E]=a[E];return ee}Ge.applyFromCharCode=Ce;var y={};y.string={string:de,array:function(a){return Ie(a,new Array(a.length))},arraybuffer:function(a){return y.string.uint8array(a).buffer},uint8array:function(a){return Ie(a,new Uint8Array(a.length))},nodebuffer:function(a){return Ie(a,Se.allocBuffer(a.length))}},y.array={string:Ce,array:de,arraybuffer:function(a){return new Uint8Array(a).buffer},uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return Se.newBufferFrom(a)}},y.arraybuffer={string:function(a){return Ce(new Uint8Array(a))},array:function(a){return ie(new Uint8Array(a),new Array(a.byteLength))},arraybuffer:de,uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return Se.newBufferFrom(new Uint8Array(a))}},y.uint8array={string:Ce,array:function(a){return ie(a,new Array(a.length))},arraybuffer:function(a){return a.buffer},uint8array:de,nodebuffer:function(a){return Se.newBufferFrom(a)}},y.nodebuffer={string:Ce,array:function(a){return ie(a,new Array(a.length))},arraybuffer:function(a){return y.nodebuffer.uint8array(a).buffer},uint8array:function(a){return ie(a,new Uint8Array(a.length))},nodebuffer:de},Ge.transformTo=function(a,ee){if(ee=ee||"",!a)return ee;Ge.checkSupport(a);var E=Ge.getTypeOf(ee);return y[E][a](ee)},Ge.resolve=function(a){for(var ee=a.split("/"),E=[],te=0;te<ee.length;te++){var ne=ee[te];ne==="."||ne===""&&te!==0&&te!==ee.length-1||(ne===".."?E.pop():E.push(ne))}return E.join("/")},Ge.getTypeOf=function(a){return typeof a=="string"?"string":Object.prototype.toString.call(a)==="[object Array]"?"array":je.nodebuffer&&Se.isBuffer(a)?"nodebuffer":je.uint8array&&a instanceof Uint8Array?"uint8array":je.arraybuffer&&a instanceof ArrayBuffer?"arraybuffer":void 0},Ge.checkSupport=function(a){if(!je[a.toLowerCase()])throw new Error(a+" is not supported by this platform")},Ge.MAX_VALUE_16BITS=65535,Ge.MAX_VALUE_32BITS=-1,Ge.pretty=function(a){var ee,E,te="";for(E=0;E<(a||"").length;E++)te+="\\x"+((ee=a.charCodeAt(E))<16?"0":"")+ee.toString(16).toUpperCase();return te},Ge.delay=function(a,ee,E){setImmediate(function(){a.apply(E||null,ee||[])})},Ge.inherits=function(a,ee){function E(){}E.prototype=ee.prototype,a.prototype=new E},Ge.extend=function(){var a,ee,E={};for(a=0;a<arguments.length;a++)for(ee in arguments[a])Object.prototype.hasOwnProperty.call(arguments[a],ee)&&E[ee]===void 0&&(E[ee]=arguments[a][ee]);return E},Ge.prepareContent=function(a,ee,E,te,ne){return Le.Promise.resolve(ee).then(function(oe){return je.blob&&(oe instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(oe))!==-1)&&typeof FileReader!="undefined"?new Le.Promise(function(he,_e){var Pe=new FileReader;Pe.onload=function(Qe){he(Qe.target.result)},Pe.onerror=function(Qe){_e(Qe.target.error)},Pe.readAsArrayBuffer(oe)}):oe}).then(function(oe){var he=Ge.getTypeOf(oe);return he?(he==="arraybuffer"?oe=Ge.transformTo("uint8array",oe):he==="string"&&(ne?oe=me.decode(oe):E&&te!==!0&&(oe=function(_e){return Ie(_e,je.uint8array?new Uint8Array(_e.length):new Array(_e.length))}(oe))),oe):Le.Promise.reject(new Error("Can't read the data of '"+a+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(ze,at,Ge){"use strict";var je=ze("./reader/readerFor"),me=ze("./utils"),Se=ze("./signature"),Le=ze("./zipEntry"),de=ze("./support");function Ie(Fe){this.files=[],this.loadOptions=Fe}Ie.prototype={checkSignature:function(Fe){if(!this.reader.readAndCheckSignature(Fe)){this.reader.index-=4;var Ce=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+me.pretty(Ce)+", expected "+me.pretty(Fe)+")")}},isSignature:function(Fe,Ce){var ie=this.reader.index;this.reader.setIndex(Fe);var y=this.reader.readString(4)===Ce;return this.reader.setIndex(ie),y},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var Fe=this.reader.readData(this.zipCommentLength),Ce=de.uint8array?"uint8array":"array",ie=me.transformTo(Ce,Fe);this.zipComment=this.loadOptions.decodeFileName(ie)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var Fe,Ce,ie,y=this.zip64EndOfCentralSize-44;0<y;)Fe=this.reader.readInt(2),Ce=this.reader.readInt(4),ie=this.reader.readData(Ce),this.zip64ExtensibleData[Fe]={id:Fe,length:Ce,value:ie}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var Fe,Ce;for(Fe=0;Fe<this.files.length;Fe++)Ce=this.files[Fe],this.reader.setIndex(Ce.localHeaderOffset),this.checkSignature(Se.LOCAL_FILE_HEADER),Ce.readLocalPart(this.reader),Ce.handleUTF8(),Ce.processAttributes()},readCentralDir:function(){var Fe;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Se.CENTRAL_FILE_HEADER);)(Fe=new Le({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(Fe);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var Fe=this.reader.lastIndexOfSignature(Se.CENTRAL_DIRECTORY_END);if(Fe<0)throw this.isSignature(0,Se.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(Fe);var Ce=Fe;if(this.checkSignature(Se.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===me.MAX_VALUE_16BITS||this.diskWithCentralDirStart===me.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===me.MAX_VALUE_16BITS||this.centralDirRecords===me.MAX_VALUE_16BITS||this.centralDirSize===me.MAX_VALUE_32BITS||this.centralDirOffset===me.MAX_VALUE_32BITS){if(this.zip64=!0,(Fe=this.reader.lastIndexOfSignature(Se.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(Fe),this.checkSignature(Se.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Se.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Se.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Se.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var ie=this.centralDirOffset+this.centralDirSize;this.zip64&&(ie+=20,ie+=12+this.zip64EndOfCentralSize);var y=Ce-ie;if(0<y)this.isSignature(Ce,Se.CENTRAL_FILE_HEADER)||(this.reader.zero=y);else if(y<0)throw new Error("Corrupted zip: missing "+Math.abs(y)+" bytes.")},prepareReader:function(Fe){this.reader=je(Fe)},load:function(Fe){this.prepareReader(Fe),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},at.exports=Ie},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(ze,at,Ge){"use strict";var je=ze("./reader/readerFor"),me=ze("./utils"),Se=ze("./compressedObject"),Le=ze("./crc32"),de=ze("./utf8"),Ie=ze("./compressions"),Fe=ze("./support");function Ce(ie,y){this.options=ie,this.loadOptions=y}Ce.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(ie){var y,a;if(ie.skip(22),this.fileNameLength=ie.readInt(2),a=ie.readInt(2),this.fileName=ie.readData(this.fileNameLength),ie.skip(a),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((y=function(ee){for(var E in Ie)if(Object.prototype.hasOwnProperty.call(Ie,E)&&Ie[E].magic===ee)return Ie[E];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+me.pretty(this.compressionMethod)+" unknown (inner file : "+me.transformTo("string",this.fileName)+")");this.decompressed=new Se(this.compressedSize,this.uncompressedSize,this.crc32,y,ie.readData(this.compressedSize))},readCentralPart:function(ie){this.versionMadeBy=ie.readInt(2),ie.skip(2),this.bitFlag=ie.readInt(2),this.compressionMethod=ie.readString(2),this.date=ie.readDate(),this.crc32=ie.readInt(4),this.compressedSize=ie.readInt(4),this.uncompressedSize=ie.readInt(4);var y=ie.readInt(2);if(this.extraFieldsLength=ie.readInt(2),this.fileCommentLength=ie.readInt(2),this.diskNumberStart=ie.readInt(2),this.internalFileAttributes=ie.readInt(2),this.externalFileAttributes=ie.readInt(4),this.localHeaderOffset=ie.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");ie.skip(y),this.readExtraFields(ie),this.parseZIP64ExtraField(ie),this.fileComment=ie.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var ie=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),ie==0&&(this.dosPermissions=63&this.externalFileAttributes),ie==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var ie=je(this.extraFields[1].value);this.uncompressedSize===me.MAX_VALUE_32BITS&&(this.uncompressedSize=ie.readInt(8)),this.compressedSize===me.MAX_VALUE_32BITS&&(this.compressedSize=ie.readInt(8)),this.localHeaderOffset===me.MAX_VALUE_32BITS&&(this.localHeaderOffset=ie.readInt(8)),this.diskNumberStart===me.MAX_VALUE_32BITS&&(this.diskNumberStart=ie.readInt(4))}},readExtraFields:function(ie){var y,a,ee,E=ie.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});ie.index+4<E;)y=ie.readInt(2),a=ie.readInt(2),ee=ie.readData(a),this.extraFields[y]={id:y,length:a,value:ee};ie.setIndex(E)},handleUTF8:function(){var ie=Fe.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=de.utf8decode(this.fileName),this.fileCommentStr=de.utf8decode(this.fileComment);else{var y=this.findExtraFieldUnicodePath();if(y!==null)this.fileNameStr=y;else{var a=me.transformTo(ie,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(a)}var ee=this.findExtraFieldUnicodeComment();if(ee!==null)this.fileCommentStr=ee;else{var E=me.transformTo(ie,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(E)}}},findExtraFieldUnicodePath:function(){var ie=this.extraFields[28789];if(ie){var y=je(ie.value);return y.readInt(1)!==1||Le(this.fileName)!==y.readInt(4)?null:de.utf8decode(y.readData(ie.length-5))}return null},findExtraFieldUnicodeComment:function(){var ie=this.extraFields[25461];if(ie){var y=je(ie.value);return y.readInt(1)!==1||Le(this.fileComment)!==y.readInt(4)?null:de.utf8decode(y.readData(ie.length-5))}return null}},at.exports=Ce},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(ze,at,Ge){"use strict";function je(y,a,ee){this.name=y,this.dir=ee.dir,this.date=ee.date,this.comment=ee.comment,this.unixPermissions=ee.unixPermissions,this.dosPermissions=ee.dosPermissions,this._data=a,this._dataBinary=ee.binary,this.options={compression:ee.compression,compressionOptions:ee.compressionOptions}}var me=ze("./stream/StreamHelper"),Se=ze("./stream/DataWorker"),Le=ze("./utf8"),de=ze("./compressedObject"),Ie=ze("./stream/GenericWorker");je.prototype={internalStream:function(y){var a=null,ee="string";try{if(!y)throw new Error("No output type specified.");var E=(ee=y.toLowerCase())==="string"||ee==="text";ee!=="binarystring"&&ee!=="text"||(ee="string"),a=this._decompressWorker();var te=!this._dataBinary;te&&!E&&(a=a.pipe(new Le.Utf8EncodeWorker)),!te&&E&&(a=a.pipe(new Le.Utf8DecodeWorker))}catch(ne){(a=new Ie("error")).error(ne)}return new me(a,ee,"")},async:function(y,a){return this.internalStream(y).accumulate(a)},nodeStream:function(y,a){return this.internalStream(y||"nodebuffer").toNodejsStream(a)},_compressWorker:function(y,a){if(this._data instanceof de&&this._data.compression.magic===y.magic)return this._data.getCompressedWorker();var ee=this._decompressWorker();return this._dataBinary||(ee=ee.pipe(new Le.Utf8EncodeWorker)),de.createWorkerFrom(ee,y,a)},_decompressWorker:function(){return this._data instanceof de?this._data.getContentWorker():this._data instanceof Ie?this._data:new Se(this._data)}};for(var Fe=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ce=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},ie=0;ie<Fe.length;ie++)je.prototype[Fe[ie]]=Ce;at.exports=je},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(ze,at,Ge){(function(je){"use strict";var me,Se,Le=je.MutationObserver||je.WebKitMutationObserver;if(Le){var de=0,Ie=new Le(y),Fe=je.document.createTextNode("");Ie.observe(Fe,{characterData:!0}),me=function(){Fe.data=de=++de%2}}else if(je.setImmediate||je.MessageChannel===void 0)me="document"in je&&"onreadystatechange"in je.document.createElement("script")?function(){var a=je.document.createElement("script");a.onreadystatechange=function(){y(),a.onreadystatechange=null,a.parentNode.removeChild(a),a=null},je.document.documentElement.appendChild(a)}:function(){setTimeout(y,0)};else{var Ce=new je.MessageChannel;Ce.port1.onmessage=y,me=function(){Ce.port2.postMessage(0)}}var ie=[];function y(){var a,ee;Se=!0;for(var E=ie.length;E;){for(ee=ie,ie=[],a=-1;++a<E;)ee[a]();E=ie.length}Se=!1}at.exports=function(a){ie.push(a)!==1||Se||me()}}).call(this,typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(ze,at,Ge){"use strict";var je=ze("immediate");function me(){}var Se={},Le=["REJECTED"],de=["FULFILLED"],Ie=["PENDING"];function Fe(E){if(typeof E!="function")throw new TypeError("resolver must be a function");this.state=Ie,this.queue=[],this.outcome=void 0,E!==me&&a(this,E)}function Ce(E,te,ne){this.promise=E,typeof te=="function"&&(this.onFulfilled=te,this.callFulfilled=this.otherCallFulfilled),typeof ne=="function"&&(this.onRejected=ne,this.callRejected=this.otherCallRejected)}function ie(E,te,ne){je(function(){var oe;try{oe=te(ne)}catch(he){return Se.reject(E,he)}oe===E?Se.reject(E,new TypeError("Cannot resolve promise with itself")):Se.resolve(E,oe)})}function y(E){var te=E&&E.then;if(E&&(typeof E=="object"||typeof E=="function")&&typeof te=="function")return function(){te.apply(E,arguments)}}function a(E,te){var ne=!1;function oe(Pe){ne||(ne=!0,Se.reject(E,Pe))}function he(Pe){ne||(ne=!0,Se.resolve(E,Pe))}var _e=ee(function(){te(he,oe)});_e.status==="error"&&oe(_e.value)}function ee(E,te){var ne={};try{ne.value=E(te),ne.status="success"}catch(oe){ne.status="error",ne.value=oe}return ne}(at.exports=Fe).prototype.finally=function(E){if(typeof E!="function")return this;var te=this.constructor;return this.then(function(ne){return te.resolve(E()).then(function(){return ne})},function(ne){return te.resolve(E()).then(function(){throw ne})})},Fe.prototype.catch=function(E){return this.then(null,E)},Fe.prototype.then=function(E,te){if(typeof E!="function"&&this.state===de||typeof te!="function"&&this.state===Le)return this;var ne=new this.constructor(me);return this.state!==Ie?ie(ne,this.state===de?E:te,this.outcome):this.queue.push(new Ce(ne,E,te)),ne},Ce.prototype.callFulfilled=function(E){Se.resolve(this.promise,E)},Ce.prototype.otherCallFulfilled=function(E){ie(this.promise,this.onFulfilled,E)},Ce.prototype.callRejected=function(E){Se.reject(this.promise,E)},Ce.prototype.otherCallRejected=function(E){ie(this.promise,this.onRejected,E)},Se.resolve=function(E,te){var ne=ee(y,te);if(ne.status==="error")return Se.reject(E,ne.value);var oe=ne.value;if(oe)a(E,oe);else{E.state=de,E.outcome=te;for(var he=-1,_e=E.queue.length;++he<_e;)E.queue[he].callFulfilled(te)}return E},Se.reject=function(E,te){E.state=Le,E.outcome=te;for(var ne=-1,oe=E.queue.length;++ne<oe;)E.queue[ne].callRejected(te);return E},Fe.resolve=function(E){return E instanceof this?E:Se.resolve(new this(me),E)},Fe.reject=function(E){var te=new this(me);return Se.reject(te,E)},Fe.all=function(E){var te=this;if(Object.prototype.toString.call(E)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ne=E.length,oe=!1;if(!ne)return this.resolve([]);for(var he=new Array(ne),_e=0,Pe=-1,Qe=new this(me);++Pe<ne;)Ze(E[Pe],Pe);return Qe;function Ze(Ve,nt){te.resolve(Ve).then(function(De){he[nt]=De,++_e!==ne||oe||(oe=!0,Se.resolve(Qe,he))},function(De){oe||(oe=!0,Se.reject(Qe,De))})}},Fe.race=function(E){var te=this;if(Object.prototype.toString.call(E)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ne=E.length,oe=!1;if(!ne)return this.resolve([]);for(var he=-1,_e=new this(me);++he<ne;)Pe=E[he],te.resolve(Pe).then(function(Qe){oe||(oe=!0,Se.resolve(_e,Qe))},function(Qe){oe||(oe=!0,Se.reject(_e,Qe))});var Pe;return _e}},{immediate:36}],38:[function(ze,at,Ge){"use strict";var je={};(0,ze("./lib/utils/common").assign)(je,ze("./lib/deflate"),ze("./lib/inflate"),ze("./lib/zlib/constants")),at.exports=je},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(ze,at,Ge){"use strict";var je=ze("./zlib/deflate"),me=ze("./utils/common"),Se=ze("./utils/strings"),Le=ze("./zlib/messages"),de=ze("./zlib/zstream"),Ie=Object.prototype.toString,Fe=0,Ce=-1,ie=0,y=8;function a(E){if(!(this instanceof a))return new a(E);this.options=me.assign({level:Ce,method:y,chunkSize:16384,windowBits:15,memLevel:8,strategy:ie,to:""},E||{});var te=this.options;te.raw&&0<te.windowBits?te.windowBits=-te.windowBits:te.gzip&&0<te.windowBits&&te.windowBits<16&&(te.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new de,this.strm.avail_out=0;var ne=je.deflateInit2(this.strm,te.level,te.method,te.windowBits,te.memLevel,te.strategy);if(ne!==Fe)throw new Error(Le[ne]);if(te.header&&je.deflateSetHeader(this.strm,te.header),te.dictionary){var oe;if(oe=typeof te.dictionary=="string"?Se.string2buf(te.dictionary):Ie.call(te.dictionary)==="[object ArrayBuffer]"?new Uint8Array(te.dictionary):te.dictionary,(ne=je.deflateSetDictionary(this.strm,oe))!==Fe)throw new Error(Le[ne]);this._dict_set=!0}}function ee(E,te){var ne=new a(te);if(ne.push(E,!0),ne.err)throw ne.msg||Le[ne.err];return ne.result}a.prototype.push=function(E,te){var ne,oe,he=this.strm,_e=this.options.chunkSize;if(this.ended)return!1;oe=te===~~te?te:te===!0?4:0,typeof E=="string"?he.input=Se.string2buf(E):Ie.call(E)==="[object ArrayBuffer]"?he.input=new Uint8Array(E):he.input=E,he.next_in=0,he.avail_in=he.input.length;do{if(he.avail_out===0&&(he.output=new me.Buf8(_e),he.next_out=0,he.avail_out=_e),(ne=je.deflate(he,oe))!==1&&ne!==Fe)return this.onEnd(ne),!(this.ended=!0);he.avail_out!==0&&(he.avail_in!==0||oe!==4&&oe!==2)||(this.options.to==="string"?this.onData(Se.buf2binstring(me.shrinkBuf(he.output,he.next_out))):this.onData(me.shrinkBuf(he.output,he.next_out)))}while((0<he.avail_in||he.avail_out===0)&&ne!==1);return oe===4?(ne=je.deflateEnd(this.strm),this.onEnd(ne),this.ended=!0,ne===Fe):oe!==2||(this.onEnd(Fe),!(he.avail_out=0))},a.prototype.onData=function(E){this.chunks.push(E)},a.prototype.onEnd=function(E){E===Fe&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=me.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg},Ge.Deflate=a,Ge.deflate=ee,Ge.deflateRaw=function(E,te){return(te=te||{}).raw=!0,ee(E,te)},Ge.gzip=function(E,te){return(te=te||{}).gzip=!0,ee(E,te)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(ze,at,Ge){"use strict";var je=ze("./zlib/inflate"),me=ze("./utils/common"),Se=ze("./utils/strings"),Le=ze("./zlib/constants"),de=ze("./zlib/messages"),Ie=ze("./zlib/zstream"),Fe=ze("./zlib/gzheader"),Ce=Object.prototype.toString;function ie(a){if(!(this instanceof ie))return new ie(a);this.options=me.assign({chunkSize:16384,windowBits:0,to:""},a||{});var ee=this.options;ee.raw&&0<=ee.windowBits&&ee.windowBits<16&&(ee.windowBits=-ee.windowBits,ee.windowBits===0&&(ee.windowBits=-15)),!(0<=ee.windowBits&&ee.windowBits<16)||a&&a.windowBits||(ee.windowBits+=32),15<ee.windowBits&&ee.windowBits<48&&!(15&ee.windowBits)&&(ee.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ie,this.strm.avail_out=0;var E=je.inflateInit2(this.strm,ee.windowBits);if(E!==Le.Z_OK)throw new Error(de[E]);this.header=new Fe,je.inflateGetHeader(this.strm,this.header)}function y(a,ee){var E=new ie(ee);if(E.push(a,!0),E.err)throw E.msg||de[E.err];return E.result}ie.prototype.push=function(a,ee){var E,te,ne,oe,he,_e,Pe=this.strm,Qe=this.options.chunkSize,Ze=this.options.dictionary,Ve=!1;if(this.ended)return!1;te=ee===~~ee?ee:ee===!0?Le.Z_FINISH:Le.Z_NO_FLUSH,typeof a=="string"?Pe.input=Se.binstring2buf(a):Ce.call(a)==="[object ArrayBuffer]"?Pe.input=new Uint8Array(a):Pe.input=a,Pe.next_in=0,Pe.avail_in=Pe.input.length;do{if(Pe.avail_out===0&&(Pe.output=new me.Buf8(Qe),Pe.next_out=0,Pe.avail_out=Qe),(E=je.inflate(Pe,Le.Z_NO_FLUSH))===Le.Z_NEED_DICT&&Ze&&(_e=typeof Ze=="string"?Se.string2buf(Ze):Ce.call(Ze)==="[object ArrayBuffer]"?new Uint8Array(Ze):Ze,E=je.inflateSetDictionary(this.strm,_e)),E===Le.Z_BUF_ERROR&&Ve===!0&&(E=Le.Z_OK,Ve=!1),E!==Le.Z_STREAM_END&&E!==Le.Z_OK)return this.onEnd(E),!(this.ended=!0);Pe.next_out&&(Pe.avail_out!==0&&E!==Le.Z_STREAM_END&&(Pe.avail_in!==0||te!==Le.Z_FINISH&&te!==Le.Z_SYNC_FLUSH)||(this.options.to==="string"?(ne=Se.utf8border(Pe.output,Pe.next_out),oe=Pe.next_out-ne,he=Se.buf2string(Pe.output,ne),Pe.next_out=oe,Pe.avail_out=Qe-oe,oe&&me.arraySet(Pe.output,Pe.output,ne,oe,0),this.onData(he)):this.onData(me.shrinkBuf(Pe.output,Pe.next_out)))),Pe.avail_in===0&&Pe.avail_out===0&&(Ve=!0)}while((0<Pe.avail_in||Pe.avail_out===0)&&E!==Le.Z_STREAM_END);return E===Le.Z_STREAM_END&&(te=Le.Z_FINISH),te===Le.Z_FINISH?(E=je.inflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===Le.Z_OK):te!==Le.Z_SYNC_FLUSH||(this.onEnd(Le.Z_OK),!(Pe.avail_out=0))},ie.prototype.onData=function(a){this.chunks.push(a)},ie.prototype.onEnd=function(a){a===Le.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=me.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},Ge.Inflate=ie,Ge.inflate=y,Ge.inflateRaw=function(a,ee){return(ee=ee||{}).raw=!0,y(a,ee)},Ge.ungzip=y},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(ze,at,Ge){"use strict";var je=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Ge.assign=function(Le){for(var de=Array.prototype.slice.call(arguments,1);de.length;){var Ie=de.shift();if(Ie){if(typeof Ie!="object")throw new TypeError(Ie+"must be non-object");for(var Fe in Ie)Ie.hasOwnProperty(Fe)&&(Le[Fe]=Ie[Fe])}}return Le},Ge.shrinkBuf=function(Le,de){return Le.length===de?Le:Le.subarray?Le.subarray(0,de):(Le.length=de,Le)};var me={arraySet:function(Le,de,Ie,Fe,Ce){if(de.subarray&&Le.subarray)Le.set(de.subarray(Ie,Ie+Fe),Ce);else for(var ie=0;ie<Fe;ie++)Le[Ce+ie]=de[Ie+ie]},flattenChunks:function(Le){var de,Ie,Fe,Ce,ie,y;for(de=Fe=0,Ie=Le.length;de<Ie;de++)Fe+=Le[de].length;for(y=new Uint8Array(Fe),de=Ce=0,Ie=Le.length;de<Ie;de++)ie=Le[de],y.set(ie,Ce),Ce+=ie.length;return y}},Se={arraySet:function(Le,de,Ie,Fe,Ce){for(var ie=0;ie<Fe;ie++)Le[Ce+ie]=de[Ie+ie]},flattenChunks:function(Le){return[].concat.apply([],Le)}};Ge.setTyped=function(Le){Le?(Ge.Buf8=Uint8Array,Ge.Buf16=Uint16Array,Ge.Buf32=Int32Array,Ge.assign(Ge,me)):(Ge.Buf8=Array,Ge.Buf16=Array,Ge.Buf32=Array,Ge.assign(Ge,Se))},Ge.setTyped(je)},{}],42:[function(ze,at,Ge){"use strict";var je=ze("./common"),me=!0,Se=!0;try{String.fromCharCode.apply(null,[0])}catch(Fe){me=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Fe){Se=!1}for(var Le=new je.Buf8(256),de=0;de<256;de++)Le[de]=252<=de?6:248<=de?5:240<=de?4:224<=de?3:192<=de?2:1;function Ie(Fe,Ce){if(Ce<65537&&(Fe.subarray&&Se||!Fe.subarray&&me))return String.fromCharCode.apply(null,je.shrinkBuf(Fe,Ce));for(var ie="",y=0;y<Ce;y++)ie+=String.fromCharCode(Fe[y]);return ie}Le[254]=Le[254]=1,Ge.string2buf=function(Fe){var Ce,ie,y,a,ee,E=Fe.length,te=0;for(a=0;a<E;a++)(64512&(ie=Fe.charCodeAt(a)))==55296&&a+1<E&&(64512&(y=Fe.charCodeAt(a+1)))==56320&&(ie=65536+(ie-55296<<10)+(y-56320),a++),te+=ie<128?1:ie<2048?2:ie<65536?3:4;for(Ce=new je.Buf8(te),a=ee=0;ee<te;a++)(64512&(ie=Fe.charCodeAt(a)))==55296&&a+1<E&&(64512&(y=Fe.charCodeAt(a+1)))==56320&&(ie=65536+(ie-55296<<10)+(y-56320),a++),ie<128?Ce[ee++]=ie:(ie<2048?Ce[ee++]=192|ie>>>6:(ie<65536?Ce[ee++]=224|ie>>>12:(Ce[ee++]=240|ie>>>18,Ce[ee++]=128|ie>>>12&63),Ce[ee++]=128|ie>>>6&63),Ce[ee++]=128|63&ie);return Ce},Ge.buf2binstring=function(Fe){return Ie(Fe,Fe.length)},Ge.binstring2buf=function(Fe){for(var Ce=new je.Buf8(Fe.length),ie=0,y=Ce.length;ie<y;ie++)Ce[ie]=Fe.charCodeAt(ie);return Ce},Ge.buf2string=function(Fe,Ce){var ie,y,a,ee,E=Ce||Fe.length,te=new Array(2*E);for(ie=y=0;ie<E;)if((a=Fe[ie++])<128)te[y++]=a;else if(4<(ee=Le[a]))te[y++]=65533,ie+=ee-1;else{for(a&=ee===2?31:ee===3?15:7;1<ee&&ie<E;)a=a<<6|63&Fe[ie++],ee--;1<ee?te[y++]=65533:a<65536?te[y++]=a:(a-=65536,te[y++]=55296|a>>10&1023,te[y++]=56320|1023&a)}return Ie(te,y)},Ge.utf8border=function(Fe,Ce){var ie;for((Ce=Ce||Fe.length)>Fe.length&&(Ce=Fe.length),ie=Ce-1;0<=ie&&(192&Fe[ie])==128;)ie--;return ie<0||ie===0?Ce:ie+Le[Fe[ie]]>Ce?ie:Ce}},{"./common":41}],43:[function(ze,at,Ge){"use strict";at.exports=function(je,me,Se,Le){for(var de=65535&je|0,Ie=je>>>16&65535|0,Fe=0;Se!==0;){for(Se-=Fe=2e3<Se?2e3:Se;Ie=Ie+(de=de+me[Le++]|0)|0,--Fe;);de%=65521,Ie%=65521}return de|Ie<<16|0}},{}],44:[function(ze,at,Ge){"use strict";at.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(ze,at,Ge){"use strict";var je=function(){for(var me,Se=[],Le=0;Le<256;Le++){me=Le;for(var de=0;de<8;de++)me=1&me?3988292384^me>>>1:me>>>1;Se[Le]=me}return Se}();at.exports=function(me,Se,Le,de){var Ie=je,Fe=de+Le;me^=-1;for(var Ce=de;Ce<Fe;Ce++)me=me>>>8^Ie[255&(me^Se[Ce])];return-1^me}},{}],46:[function(ze,at,Ge){"use strict";var je,me=ze("../utils/common"),Se=ze("./trees"),Le=ze("./adler32"),de=ze("./crc32"),Ie=ze("./messages"),Fe=0,Ce=4,ie=0,y=-2,a=-1,ee=4,E=2,te=8,ne=9,oe=286,he=30,_e=19,Pe=2*oe+1,Qe=15,Ze=3,Ve=258,nt=Ve+Ze+1,De=42,St=113,ke=1,Ot=2,it=3,rt=4;function wt(Re,Kt){return Re.msg=Ie[Kt],Kt}function dt(Re){return(Re<<1)-(4<Re?9:0)}function pt(Re){for(var Kt=Re.length;0<=--Kt;)Re[Kt]=0}function st(Re){var Kt=Re.state,Te=Kt.pending;Te>Re.avail_out&&(Te=Re.avail_out),Te!==0&&(me.arraySet(Re.output,Kt.pending_buf,Kt.pending_out,Te,Re.next_out),Re.next_out+=Te,Kt.pending_out+=Te,Re.total_out+=Te,Re.avail_out-=Te,Kt.pending-=Te,Kt.pending===0&&(Kt.pending_out=0))}function ft(Re,Kt){Se._tr_flush_block(Re,0<=Re.block_start?Re.block_start:-1,Re.strstart-Re.block_start,Kt),Re.block_start=Re.strstart,st(Re.strm)}function an(Re,Kt){Re.pending_buf[Re.pending++]=Kt}function fn(Re,Kt){Re.pending_buf[Re.pending++]=Kt>>>8&255,Re.pending_buf[Re.pending++]=255&Kt}function Et(Re,Kt){var Te,pe,ce=Re.max_chain_length,ye=Re.strstart,qe=Re.prev_length,gt=Re.nice_match,Me=Re.strstart>Re.w_size-nt?Re.strstart-(Re.w_size-nt):0,Xe=Re.window,Pt=Re.w_mask,ct=Re.prev,ot=Re.strstart+Ve,kt=Xe[ye+qe-1],_n=Xe[ye+qe];Re.prev_length>=Re.good_match&&(ce>>=2),gt>Re.lookahead&&(gt=Re.lookahead);do if(Xe[(Te=Kt)+qe]===_n&&Xe[Te+qe-1]===kt&&Xe[Te]===Xe[ye]&&Xe[++Te]===Xe[ye+1]){ye+=2,Te++;do;while(Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&ye<ot);if(pe=Ve-(ot-ye),ye=ot-Ve,qe<pe){if(Re.match_start=Kt,gt<=(qe=pe))break;kt=Xe[ye+qe-1],_n=Xe[ye+qe]}}while((Kt=ct[Kt&Pt])>Me&&--ce!=0);return qe<=Re.lookahead?qe:Re.lookahead}function qt(Re){var Kt,Te,pe,ce,ye,qe,gt,Me,Xe,Pt,ct=Re.w_size;do{if(ce=Re.window_size-Re.lookahead-Re.strstart,Re.strstart>=ct+(ct-nt)){for(me.arraySet(Re.window,Re.window,ct,ct,0),Re.match_start-=ct,Re.strstart-=ct,Re.block_start-=ct,Kt=Te=Re.hash_size;pe=Re.head[--Kt],Re.head[Kt]=ct<=pe?pe-ct:0,--Te;);for(Kt=Te=ct;pe=Re.prev[--Kt],Re.prev[Kt]=ct<=pe?pe-ct:0,--Te;);ce+=ct}if(Re.strm.avail_in===0)break;if(qe=Re.strm,gt=Re.window,Me=Re.strstart+Re.lookahead,Xe=ce,Pt=void 0,Pt=qe.avail_in,Xe<Pt&&(Pt=Xe),Te=Pt===0?0:(qe.avail_in-=Pt,me.arraySet(gt,qe.input,qe.next_in,Pt,Me),qe.state.wrap===1?qe.adler=Le(qe.adler,gt,Pt,Me):qe.state.wrap===2&&(qe.adler=de(qe.adler,gt,Pt,Me)),qe.next_in+=Pt,qe.total_in+=Pt,Pt),Re.lookahead+=Te,Re.lookahead+Re.insert>=Ze)for(ye=Re.strstart-Re.insert,Re.ins_h=Re.window[ye],Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[ye+1])&Re.hash_mask;Re.insert&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[ye+Ze-1])&Re.hash_mask,Re.prev[ye&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=ye,ye++,Re.insert--,!(Re.lookahead+Re.insert<Ze)););}while(Re.lookahead<nt&&Re.strm.avail_in!==0)}function Ln(Re,Kt){for(var Te,pe;;){if(Re.lookahead<nt){if(qt(Re),Re.lookahead<nt&&Kt===Fe)return ke;if(Re.lookahead===0)break}if(Te=0,Re.lookahead>=Ze&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),Te!==0&&Re.strstart-Te<=Re.w_size-nt&&(Re.match_length=Et(Re,Te)),Re.match_length>=Ze)if(pe=Se._tr_tally(Re,Re.strstart-Re.match_start,Re.match_length-Ze),Re.lookahead-=Re.match_length,Re.match_length<=Re.max_lazy_match&&Re.lookahead>=Ze){for(Re.match_length--;Re.strstart++,Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart,--Re.match_length!=0;);Re.strstart++}else Re.strstart+=Re.match_length,Re.match_length=0,Re.ins_h=Re.window[Re.strstart],Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+1])&Re.hash_mask;else pe=Se._tr_tally(Re,0,Re.window[Re.strstart]),Re.lookahead--,Re.strstart++;if(pe&&(ft(Re,!1),Re.strm.avail_out===0))return ke}return Re.insert=Re.strstart<Ze-1?Re.strstart:Ze-1,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):Re.last_lit&&(ft(Re,!1),Re.strm.avail_out===0)?ke:Ot}function Hn(Re,Kt){for(var Te,pe,ce;;){if(Re.lookahead<nt){if(qt(Re),Re.lookahead<nt&&Kt===Fe)return ke;if(Re.lookahead===0)break}if(Te=0,Re.lookahead>=Ze&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),Re.prev_length=Re.match_length,Re.prev_match=Re.match_start,Re.match_length=Ze-1,Te!==0&&Re.prev_length<Re.max_lazy_match&&Re.strstart-Te<=Re.w_size-nt&&(Re.match_length=Et(Re,Te),Re.match_length<=5&&(Re.strategy===1||Re.match_length===Ze&&4096<Re.strstart-Re.match_start)&&(Re.match_length=Ze-1)),Re.prev_length>=Ze&&Re.match_length<=Re.prev_length){for(ce=Re.strstart+Re.lookahead-Ze,pe=Se._tr_tally(Re,Re.strstart-1-Re.prev_match,Re.prev_length-Ze),Re.lookahead-=Re.prev_length-1,Re.prev_length-=2;++Re.strstart<=ce&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),--Re.prev_length!=0;);if(Re.match_available=0,Re.match_length=Ze-1,Re.strstart++,pe&&(ft(Re,!1),Re.strm.avail_out===0))return ke}else if(Re.match_available){if((pe=Se._tr_tally(Re,0,Re.window[Re.strstart-1]))&&ft(Re,!1),Re.strstart++,Re.lookahead--,Re.strm.avail_out===0)return ke}else Re.match_available=1,Re.strstart++,Re.lookahead--}return Re.match_available&&(pe=Se._tr_tally(Re,0,Re.window[Re.strstart-1]),Re.match_available=0),Re.insert=Re.strstart<Ze-1?Re.strstart:Ze-1,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):Re.last_lit&&(ft(Re,!1),Re.strm.avail_out===0)?ke:Ot}function un(Re,Kt,Te,pe,ce){this.good_length=Re,this.max_lazy=Kt,this.nice_length=Te,this.max_chain=pe,this.func=ce}function Vn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=te,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new me.Buf16(2*Pe),this.dyn_dtree=new me.Buf16(2*(2*he+1)),this.bl_tree=new me.Buf16(2*(2*_e+1)),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new me.Buf16(Qe+1),this.heap=new me.Buf16(2*oe+1),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new me.Buf16(2*oe+1),pt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function yt(Re){var Kt;return Re&&Re.state?(Re.total_in=Re.total_out=0,Re.data_type=E,(Kt=Re.state).pending=0,Kt.pending_out=0,Kt.wrap<0&&(Kt.wrap=-Kt.wrap),Kt.status=Kt.wrap?De:St,Re.adler=Kt.wrap===2?0:1,Kt.last_flush=Fe,Se._tr_init(Kt),ie):wt(Re,y)}function Kn(Re){var Kt=yt(Re);return Kt===ie&&function(Te){Te.window_size=2*Te.w_size,pt(Te.head),Te.max_lazy_match=je[Te.level].max_lazy,Te.good_match=je[Te.level].good_length,Te.nice_match=je[Te.level].nice_length,Te.max_chain_length=je[Te.level].max_chain,Te.strstart=0,Te.block_start=0,Te.lookahead=0,Te.insert=0,Te.match_length=Te.prev_length=Ze-1,Te.match_available=0,Te.ins_h=0}(Re.state),Kt}function er(Re,Kt,Te,pe,ce,ye){if(!Re)return y;var qe=1;if(Kt===a&&(Kt=6),pe<0?(qe=0,pe=-pe):15<pe&&(qe=2,pe-=16),ce<1||ne<ce||Te!==te||pe<8||15<pe||Kt<0||9<Kt||ye<0||ee<ye)return wt(Re,y);pe===8&&(pe=9);var gt=new Vn;return(Re.state=gt).strm=Re,gt.wrap=qe,gt.gzhead=null,gt.w_bits=pe,gt.w_size=1<<gt.w_bits,gt.w_mask=gt.w_size-1,gt.hash_bits=ce+7,gt.hash_size=1<<gt.hash_bits,gt.hash_mask=gt.hash_size-1,gt.hash_shift=~~((gt.hash_bits+Ze-1)/Ze),gt.window=new me.Buf8(2*gt.w_size),gt.head=new me.Buf16(gt.hash_size),gt.prev=new me.Buf16(gt.w_size),gt.lit_bufsize=1<<ce+6,gt.pending_buf_size=4*gt.lit_bufsize,gt.pending_buf=new me.Buf8(gt.pending_buf_size),gt.d_buf=1*gt.lit_bufsize,gt.l_buf=3*gt.lit_bufsize,gt.level=Kt,gt.strategy=ye,gt.method=Te,Kn(Re)}je=[new un(0,0,0,0,function(Re,Kt){var Te=65535;for(Te>Re.pending_buf_size-5&&(Te=Re.pending_buf_size-5);;){if(Re.lookahead<=1){if(qt(Re),Re.lookahead===0&&Kt===Fe)return ke;if(Re.lookahead===0)break}Re.strstart+=Re.lookahead,Re.lookahead=0;var pe=Re.block_start+Te;if((Re.strstart===0||Re.strstart>=pe)&&(Re.lookahead=Re.strstart-pe,Re.strstart=pe,ft(Re,!1),Re.strm.avail_out===0)||Re.strstart-Re.block_start>=Re.w_size-nt&&(ft(Re,!1),Re.strm.avail_out===0))return ke}return Re.insert=0,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):(Re.strstart>Re.block_start&&(ft(Re,!1),Re.strm.avail_out),ke)}),new un(4,4,8,4,Ln),new un(4,5,16,8,Ln),new un(4,6,32,32,Ln),new un(4,4,16,16,Hn),new un(8,16,32,32,Hn),new un(8,16,128,128,Hn),new un(8,32,128,256,Hn),new un(32,128,258,1024,Hn),new un(32,258,258,4096,Hn)],Ge.deflateInit=function(Re,Kt){return er(Re,Kt,te,15,8,0)},Ge.deflateInit2=er,Ge.deflateReset=Kn,Ge.deflateResetKeep=yt,Ge.deflateSetHeader=function(Re,Kt){return Re&&Re.state?Re.state.wrap!==2?y:(Re.state.gzhead=Kt,ie):y},Ge.deflate=function(Re,Kt){var Te,pe,ce,ye;if(!Re||!Re.state||5<Kt||Kt<0)return Re?wt(Re,y):y;if(pe=Re.state,!Re.output||!Re.input&&Re.avail_in!==0||pe.status===666&&Kt!==Ce)return wt(Re,Re.avail_out===0?-5:y);if(pe.strm=Re,Te=pe.last_flush,pe.last_flush=Kt,pe.status===De)if(pe.wrap===2)Re.adler=0,an(pe,31),an(pe,139),an(pe,8),pe.gzhead?(an(pe,(pe.gzhead.text?1:0)+(pe.gzhead.hcrc?2:0)+(pe.gzhead.extra?4:0)+(pe.gzhead.name?8:0)+(pe.gzhead.comment?16:0)),an(pe,255&pe.gzhead.time),an(pe,pe.gzhead.time>>8&255),an(pe,pe.gzhead.time>>16&255),an(pe,pe.gzhead.time>>24&255),an(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),an(pe,255&pe.gzhead.os),pe.gzhead.extra&&pe.gzhead.extra.length&&(an(pe,255&pe.gzhead.extra.length),an(pe,pe.gzhead.extra.length>>8&255)),pe.gzhead.hcrc&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending,0)),pe.gzindex=0,pe.status=69):(an(pe,0),an(pe,0),an(pe,0),an(pe,0),an(pe,0),an(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),an(pe,3),pe.status=St);else{var qe=te+(pe.w_bits-8<<4)<<8;qe|=(2<=pe.strategy||pe.level<2?0:pe.level<6?1:pe.level===6?2:3)<<6,pe.strstart!==0&&(qe|=32),qe+=31-qe%31,pe.status=St,fn(pe,qe),pe.strstart!==0&&(fn(pe,Re.adler>>>16),fn(pe,65535&Re.adler)),Re.adler=1}if(pe.status===69)if(pe.gzhead.extra){for(ce=pe.pending;pe.gzindex<(65535&pe.gzhead.extra.length)&&(pe.pending!==pe.pending_buf_size||(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending!==pe.pending_buf_size));)an(pe,255&pe.gzhead.extra[pe.gzindex]),pe.gzindex++;pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),pe.gzindex===pe.gzhead.extra.length&&(pe.gzindex=0,pe.status=73)}else pe.status=73;if(pe.status===73)if(pe.gzhead.name){ce=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending===pe.pending_buf_size)){ye=1;break}ye=pe.gzindex<pe.gzhead.name.length?255&pe.gzhead.name.charCodeAt(pe.gzindex++):0,an(pe,ye)}while(ye!==0);pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),ye===0&&(pe.gzindex=0,pe.status=91)}else pe.status=91;if(pe.status===91)if(pe.gzhead.comment){ce=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending===pe.pending_buf_size)){ye=1;break}ye=pe.gzindex<pe.gzhead.comment.length?255&pe.gzhead.comment.charCodeAt(pe.gzindex++):0,an(pe,ye)}while(ye!==0);pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),ye===0&&(pe.status=103)}else pe.status=103;if(pe.status===103&&(pe.gzhead.hcrc?(pe.pending+2>pe.pending_buf_size&&st(Re),pe.pending+2<=pe.pending_buf_size&&(an(pe,255&Re.adler),an(pe,Re.adler>>8&255),Re.adler=0,pe.status=St)):pe.status=St),pe.pending!==0){if(st(Re),Re.avail_out===0)return pe.last_flush=-1,ie}else if(Re.avail_in===0&&dt(Kt)<=dt(Te)&&Kt!==Ce)return wt(Re,-5);if(pe.status===666&&Re.avail_in!==0)return wt(Re,-5);if(Re.avail_in!==0||pe.lookahead!==0||Kt!==Fe&&pe.status!==666){var gt=pe.strategy===2?function(Me,Xe){for(var Pt;;){if(Me.lookahead===0&&(qt(Me),Me.lookahead===0)){if(Xe===Fe)return ke;break}if(Me.match_length=0,Pt=Se._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++,Pt&&(ft(Me,!1),Me.strm.avail_out===0))return ke}return Me.insert=0,Xe===Ce?(ft(Me,!0),Me.strm.avail_out===0?it:rt):Me.last_lit&&(ft(Me,!1),Me.strm.avail_out===0)?ke:Ot}(pe,Kt):pe.strategy===3?function(Me,Xe){for(var Pt,ct,ot,kt,_n=Me.window;;){if(Me.lookahead<=Ve){if(qt(Me),Me.lookahead<=Ve&&Xe===Fe)return ke;if(Me.lookahead===0)break}if(Me.match_length=0,Me.lookahead>=Ze&&0<Me.strstart&&(ct=_n[ot=Me.strstart-1])===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]){kt=Me.strstart+Ve;do;while(ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ot<kt);Me.match_length=Ve-(kt-ot),Me.match_length>Me.lookahead&&(Me.match_length=Me.lookahead)}if(Me.match_length>=Ze?(Pt=Se._tr_tally(Me,1,Me.match_length-Ze),Me.lookahead-=Me.match_length,Me.strstart+=Me.match_length,Me.match_length=0):(Pt=Se._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++),Pt&&(ft(Me,!1),Me.strm.avail_out===0))return ke}return Me.insert=0,Xe===Ce?(ft(Me,!0),Me.strm.avail_out===0?it:rt):Me.last_lit&&(ft(Me,!1),Me.strm.avail_out===0)?ke:Ot}(pe,Kt):je[pe.level].func(pe,Kt);if(gt!==it&&gt!==rt||(pe.status=666),gt===ke||gt===it)return Re.avail_out===0&&(pe.last_flush=-1),ie;if(gt===Ot&&(Kt===1?Se._tr_align(pe):Kt!==5&&(Se._tr_stored_block(pe,0,0,!1),Kt===3&&(pt(pe.head),pe.lookahead===0&&(pe.strstart=0,pe.block_start=0,pe.insert=0))),st(Re),Re.avail_out===0))return pe.last_flush=-1,ie}return Kt!==Ce?ie:pe.wrap<=0?1:(pe.wrap===2?(an(pe,255&Re.adler),an(pe,Re.adler>>8&255),an(pe,Re.adler>>16&255),an(pe,Re.adler>>24&255),an(pe,255&Re.total_in),an(pe,Re.total_in>>8&255),an(pe,Re.total_in>>16&255),an(pe,Re.total_in>>24&255)):(fn(pe,Re.adler>>>16),fn(pe,65535&Re.adler)),st(Re),0<pe.wrap&&(pe.wrap=-pe.wrap),pe.pending!==0?ie:1)},Ge.deflateEnd=function(Re){var Kt;return Re&&Re.state?(Kt=Re.state.status)!==De&&Kt!==69&&Kt!==73&&Kt!==91&&Kt!==103&&Kt!==St&&Kt!==666?wt(Re,y):(Re.state=null,Kt===St?wt(Re,-3):ie):y},Ge.deflateSetDictionary=function(Re,Kt){var Te,pe,ce,ye,qe,gt,Me,Xe,Pt=Kt.length;if(!Re||!Re.state||(ye=(Te=Re.state).wrap)===2||ye===1&&Te.status!==De||Te.lookahead)return y;for(ye===1&&(Re.adler=Le(Re.adler,Kt,Pt,0)),Te.wrap=0,Pt>=Te.w_size&&(ye===0&&(pt(Te.head),Te.strstart=0,Te.block_start=0,Te.insert=0),Xe=new me.Buf8(Te.w_size),me.arraySet(Xe,Kt,Pt-Te.w_size,Te.w_size,0),Kt=Xe,Pt=Te.w_size),qe=Re.avail_in,gt=Re.next_in,Me=Re.input,Re.avail_in=Pt,Re.next_in=0,Re.input=Kt,qt(Te);Te.lookahead>=Ze;){for(pe=Te.strstart,ce=Te.lookahead-(Ze-1);Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[pe+Ze-1])&Te.hash_mask,Te.prev[pe&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=pe,pe++,--ce;);Te.strstart=pe,Te.lookahead=Ze-1,qt(Te)}return Te.strstart+=Te.lookahead,Te.block_start=Te.strstart,Te.insert=Te.lookahead,Te.lookahead=0,Te.match_length=Te.prev_length=Ze-1,Te.match_available=0,Re.next_in=gt,Re.input=Me,Re.avail_in=qe,Te.wrap=ye,ie},Ge.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(ze,at,Ge){"use strict";at.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(ze,at,Ge){"use strict";at.exports=function(je,me){var Se,Le,de,Ie,Fe,Ce,ie,y,a,ee,E,te,ne,oe,he,_e,Pe,Qe,Ze,Ve,nt,De,St,ke,Ot;Se=je.state,Le=je.next_in,ke=je.input,de=Le+(je.avail_in-5),Ie=je.next_out,Ot=je.output,Fe=Ie-(me-je.avail_out),Ce=Ie+(je.avail_out-257),ie=Se.dmax,y=Se.wsize,a=Se.whave,ee=Se.wnext,E=Se.window,te=Se.hold,ne=Se.bits,oe=Se.lencode,he=Se.distcode,_e=(1<<Se.lenbits)-1,Pe=(1<<Se.distbits)-1;e:do{ne<15&&(te+=ke[Le++]<<ne,ne+=8,te+=ke[Le++]<<ne,ne+=8),Qe=oe[te&_e];t:for(;;){if(te>>>=Ze=Qe>>>24,ne-=Ze,(Ze=Qe>>>16&255)===0)Ot[Ie++]=65535&Qe;else{if(!(16&Ze)){if(!(64&Ze)){Qe=oe[(65535&Qe)+(te&(1<<Ze)-1)];continue t}if(32&Ze){Se.mode=12;break e}je.msg="invalid literal/length code",Se.mode=30;break e}Ve=65535&Qe,(Ze&=15)&&(ne<Ze&&(te+=ke[Le++]<<ne,ne+=8),Ve+=te&(1<<Ze)-1,te>>>=Ze,ne-=Ze),ne<15&&(te+=ke[Le++]<<ne,ne+=8,te+=ke[Le++]<<ne,ne+=8),Qe=he[te&Pe];n:for(;;){if(te>>>=Ze=Qe>>>24,ne-=Ze,!(16&(Ze=Qe>>>16&255))){if(!(64&Ze)){Qe=he[(65535&Qe)+(te&(1<<Ze)-1)];continue n}je.msg="invalid distance code",Se.mode=30;break e}if(nt=65535&Qe,ne<(Ze&=15)&&(te+=ke[Le++]<<ne,(ne+=8)<Ze&&(te+=ke[Le++]<<ne,ne+=8)),ie<(nt+=te&(1<<Ze)-1)){je.msg="invalid distance too far back",Se.mode=30;break e}if(te>>>=Ze,ne-=Ze,(Ze=Ie-Fe)<nt){if(a<(Ze=nt-Ze)&&Se.sane){je.msg="invalid distance too far back",Se.mode=30;break e}if(St=E,(De=0)===ee){if(De+=y-Ze,Ze<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,St=Ot}}else if(ee<Ze){if(De+=y+ee-Ze,(Ze-=ee)<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);if(De=0,ee<Ve){for(Ve-=Ze=ee;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,St=Ot}}}else if(De+=ee-Ze,Ze<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,St=Ot}for(;2<Ve;)Ot[Ie++]=St[De++],Ot[Ie++]=St[De++],Ot[Ie++]=St[De++],Ve-=3;Ve&&(Ot[Ie++]=St[De++],1<Ve&&(Ot[Ie++]=St[De++]))}else{for(De=Ie-nt;Ot[Ie++]=Ot[De++],Ot[Ie++]=Ot[De++],Ot[Ie++]=Ot[De++],2<(Ve-=3););Ve&&(Ot[Ie++]=Ot[De++],1<Ve&&(Ot[Ie++]=Ot[De++]))}break}}break}}while(Le<de&&Ie<Ce);Le-=Ve=ne>>3,te&=(1<<(ne-=Ve<<3))-1,je.next_in=Le,je.next_out=Ie,je.avail_in=Le<de?de-Le+5:5-(Le-de),je.avail_out=Ie<Ce?Ce-Ie+257:257-(Ie-Ce),Se.hold=te,Se.bits=ne}},{}],49:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=ze("./adler32"),Se=ze("./crc32"),Le=ze("./inffast"),de=ze("./inftrees"),Ie=1,Fe=2,Ce=0,ie=-2,y=1,a=852,ee=592;function E(De){return(De>>>24&255)+(De>>>8&65280)+((65280&De)<<8)+((255&De)<<24)}function te(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new je.Buf16(320),this.work=new je.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ne(De){var St;return De&&De.state?(St=De.state,De.total_in=De.total_out=St.total=0,De.msg="",St.wrap&&(De.adler=1&St.wrap),St.mode=y,St.last=0,St.havedict=0,St.dmax=32768,St.head=null,St.hold=0,St.bits=0,St.lencode=St.lendyn=new je.Buf32(a),St.distcode=St.distdyn=new je.Buf32(ee),St.sane=1,St.back=-1,Ce):ie}function oe(De){var St;return De&&De.state?((St=De.state).wsize=0,St.whave=0,St.wnext=0,ne(De)):ie}function he(De,St){var ke,Ot;return De&&De.state?(Ot=De.state,St<0?(ke=0,St=-St):(ke=1+(St>>4),St<48&&(St&=15)),St&&(St<8||15<St)?ie:(Ot.window!==null&&Ot.wbits!==St&&(Ot.window=null),Ot.wrap=ke,Ot.wbits=St,oe(De))):ie}function _e(De,St){var ke,Ot;return De?(Ot=new te,(De.state=Ot).window=null,(ke=he(De,St))!==Ce&&(De.state=null),ke):ie}var Pe,Qe,Ze=!0;function Ve(De){if(Ze){var St;for(Pe=new je.Buf32(512),Qe=new je.Buf32(32),St=0;St<144;)De.lens[St++]=8;for(;St<256;)De.lens[St++]=9;for(;St<280;)De.lens[St++]=7;for(;St<288;)De.lens[St++]=8;for(de(Ie,De.lens,0,288,Pe,0,De.work,{bits:9}),St=0;St<32;)De.lens[St++]=5;de(Fe,De.lens,0,32,Qe,0,De.work,{bits:5}),Ze=!1}De.lencode=Pe,De.lenbits=9,De.distcode=Qe,De.distbits=5}function nt(De,St,ke,Ot){var it,rt=De.state;return rt.window===null&&(rt.wsize=1<<rt.wbits,rt.wnext=0,rt.whave=0,rt.window=new je.Buf8(rt.wsize)),Ot>=rt.wsize?(je.arraySet(rt.window,St,ke-rt.wsize,rt.wsize,0),rt.wnext=0,rt.whave=rt.wsize):(Ot<(it=rt.wsize-rt.wnext)&&(it=Ot),je.arraySet(rt.window,St,ke-Ot,it,rt.wnext),(Ot-=it)?(je.arraySet(rt.window,St,ke-Ot,Ot,0),rt.wnext=Ot,rt.whave=rt.wsize):(rt.wnext+=it,rt.wnext===rt.wsize&&(rt.wnext=0),rt.whave<rt.wsize&&(rt.whave+=it))),0}Ge.inflateReset=oe,Ge.inflateReset2=he,Ge.inflateResetKeep=ne,Ge.inflateInit=function(De){return _e(De,15)},Ge.inflateInit2=_e,Ge.inflate=function(De,St){var ke,Ot,it,rt,wt,dt,pt,st,ft,an,fn,Et,qt,Ln,Hn,un,Vn,yt,Kn,er,Re,Kt,Te,pe,ce=0,ye=new je.Buf8(4),qe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!De||!De.state||!De.output||!De.input&&De.avail_in!==0)return ie;(ke=De.state).mode===12&&(ke.mode=13),wt=De.next_out,it=De.output,pt=De.avail_out,rt=De.next_in,Ot=De.input,dt=De.avail_in,st=ke.hold,ft=ke.bits,an=dt,fn=pt,Kt=Ce;e:for(;;)switch(ke.mode){case y:if(ke.wrap===0){ke.mode=13;break}for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(2&ke.wrap&&st===35615){ye[ke.check=0]=255&st,ye[1]=st>>>8&255,ke.check=Se(ke.check,ye,2,0),ft=st=0,ke.mode=2;break}if(ke.flags=0,ke.head&&(ke.head.done=!1),!(1&ke.wrap)||(((255&st)<<8)+(st>>8))%31){De.msg="incorrect header check",ke.mode=30;break}if((15&st)!=8){De.msg="unknown compression method",ke.mode=30;break}if(ft-=4,Re=8+(15&(st>>>=4)),ke.wbits===0)ke.wbits=Re;else if(Re>ke.wbits){De.msg="invalid window size",ke.mode=30;break}ke.dmax=1<<Re,De.adler=ke.check=1,ke.mode=512&st?10:12,ft=st=0;break;case 2:for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(ke.flags=st,(255&ke.flags)!=8){De.msg="unknown compression method",ke.mode=30;break}if(57344&ke.flags){De.msg="unknown header flags set",ke.mode=30;break}ke.head&&(ke.head.text=st>>8&1),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Se(ke.check,ye,2,0)),ft=st=0,ke.mode=3;case 3:for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.head&&(ke.head.time=st),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ye[2]=st>>>16&255,ye[3]=st>>>24&255,ke.check=Se(ke.check,ye,4,0)),ft=st=0,ke.mode=4;case 4:for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.head&&(ke.head.xflags=255&st,ke.head.os=st>>8),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Se(ke.check,ye,2,0)),ft=st=0,ke.mode=5;case 5:if(1024&ke.flags){for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.length=st,ke.head&&(ke.head.extra_len=st),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Se(ke.check,ye,2,0)),ft=st=0}else ke.head&&(ke.head.extra=null);ke.mode=6;case 6:if(1024&ke.flags&&(dt<(Et=ke.length)&&(Et=dt),Et&&(ke.head&&(Re=ke.head.extra_len-ke.length,ke.head.extra||(ke.head.extra=new Array(ke.head.extra_len)),je.arraySet(ke.head.extra,Ot,rt,Et,Re)),512&ke.flags&&(ke.check=Se(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,ke.length-=Et),ke.length))break e;ke.length=0,ke.mode=7;case 7:if(2048&ke.flags){if(dt===0)break e;for(Et=0;Re=Ot[rt+Et++],ke.head&&Re&&ke.length<65536&&(ke.head.name+=String.fromCharCode(Re)),Re&&Et<dt;);if(512&ke.flags&&(ke.check=Se(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,Re)break e}else ke.head&&(ke.head.name=null);ke.length=0,ke.mode=8;case 8:if(4096&ke.flags){if(dt===0)break e;for(Et=0;Re=Ot[rt+Et++],ke.head&&Re&&ke.length<65536&&(ke.head.comment+=String.fromCharCode(Re)),Re&&Et<dt;);if(512&ke.flags&&(ke.check=Se(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,Re)break e}else ke.head&&(ke.head.comment=null);ke.mode=9;case 9:if(512&ke.flags){for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st!==(65535&ke.check)){De.msg="header crc mismatch",ke.mode=30;break}ft=st=0}ke.head&&(ke.head.hcrc=ke.flags>>9&1,ke.head.done=!0),De.adler=ke.check=0,ke.mode=12;break;case 10:for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}De.adler=ke.check=E(st),ft=st=0,ke.mode=11;case 11:if(ke.havedict===0)return De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,2;De.adler=ke.check=1,ke.mode=12;case 12:if(St===5||St===6)break e;case 13:if(ke.last){st>>>=7&ft,ft-=7&ft,ke.mode=27;break}for(;ft<3;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}switch(ke.last=1&st,ft-=1,3&(st>>>=1)){case 0:ke.mode=14;break;case 1:if(Ve(ke),ke.mode=20,St!==6)break;st>>>=2,ft-=2;break e;case 2:ke.mode=17;break;case 3:De.msg="invalid block type",ke.mode=30}st>>>=2,ft-=2;break;case 14:for(st>>>=7&ft,ft-=7&ft;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if((65535&st)!=(st>>>16^65535)){De.msg="invalid stored block lengths",ke.mode=30;break}if(ke.length=65535&st,ft=st=0,ke.mode=15,St===6)break e;case 15:ke.mode=16;case 16:if(Et=ke.length){if(dt<Et&&(Et=dt),pt<Et&&(Et=pt),Et===0)break e;je.arraySet(it,Ot,rt,Et,wt),dt-=Et,rt+=Et,pt-=Et,wt+=Et,ke.length-=Et;break}ke.mode=12;break;case 17:for(;ft<14;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(ke.nlen=257+(31&st),st>>>=5,ft-=5,ke.ndist=1+(31&st),st>>>=5,ft-=5,ke.ncode=4+(15&st),st>>>=4,ft-=4,286<ke.nlen||30<ke.ndist){De.msg="too many length or distance symbols",ke.mode=30;break}ke.have=0,ke.mode=18;case 18:for(;ke.have<ke.ncode;){for(;ft<3;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.lens[qe[ke.have++]]=7&st,st>>>=3,ft-=3}for(;ke.have<19;)ke.lens[qe[ke.have++]]=0;if(ke.lencode=ke.lendyn,ke.lenbits=7,Te={bits:ke.lenbits},Kt=de(0,ke.lens,0,19,ke.lencode,0,ke.work,Te),ke.lenbits=Te.bits,Kt){De.msg="invalid code lengths set",ke.mode=30;break}ke.have=0,ke.mode=19;case 19:for(;ke.have<ke.nlen+ke.ndist;){for(;un=(ce=ke.lencode[st&(1<<ke.lenbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(Vn<16)st>>>=Hn,ft-=Hn,ke.lens[ke.have++]=Vn;else{if(Vn===16){for(pe=Hn+2;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st>>>=Hn,ft-=Hn,ke.have===0){De.msg="invalid bit length repeat",ke.mode=30;break}Re=ke.lens[ke.have-1],Et=3+(3&st),st>>>=2,ft-=2}else if(Vn===17){for(pe=Hn+3;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ft-=Hn,Re=0,Et=3+(7&(st>>>=Hn)),st>>>=3,ft-=3}else{for(pe=Hn+7;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ft-=Hn,Re=0,Et=11+(127&(st>>>=Hn)),st>>>=7,ft-=7}if(ke.have+Et>ke.nlen+ke.ndist){De.msg="invalid bit length repeat",ke.mode=30;break}for(;Et--;)ke.lens[ke.have++]=Re}}if(ke.mode===30)break;if(ke.lens[256]===0){De.msg="invalid code -- missing end-of-block",ke.mode=30;break}if(ke.lenbits=9,Te={bits:ke.lenbits},Kt=de(Ie,ke.lens,0,ke.nlen,ke.lencode,0,ke.work,Te),ke.lenbits=Te.bits,Kt){De.msg="invalid literal/lengths set",ke.mode=30;break}if(ke.distbits=6,ke.distcode=ke.distdyn,Te={bits:ke.distbits},Kt=de(Fe,ke.lens,ke.nlen,ke.ndist,ke.distcode,0,ke.work,Te),ke.distbits=Te.bits,Kt){De.msg="invalid distances set",ke.mode=30;break}if(ke.mode=20,St===6)break e;case 20:ke.mode=21;case 21:if(6<=dt&&258<=pt){De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,Le(De,fn),wt=De.next_out,it=De.output,pt=De.avail_out,rt=De.next_in,Ot=De.input,dt=De.avail_in,st=ke.hold,ft=ke.bits,ke.mode===12&&(ke.back=-1);break}for(ke.back=0;un=(ce=ke.lencode[st&(1<<ke.lenbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(un&&!(240&un)){for(yt=Hn,Kn=un,er=Vn;un=(ce=ke.lencode[er+((st&(1<<yt+Kn)-1)>>yt)])>>>16&255,Vn=65535&ce,!(yt+(Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}st>>>=yt,ft-=yt,ke.back+=yt}if(st>>>=Hn,ft-=Hn,ke.back+=Hn,ke.length=Vn,un===0){ke.mode=26;break}if(32&un){ke.back=-1,ke.mode=12;break}if(64&un){De.msg="invalid literal/length code",ke.mode=30;break}ke.extra=15&un,ke.mode=22;case 22:if(ke.extra){for(pe=ke.extra;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.length+=st&(1<<ke.extra)-1,st>>>=ke.extra,ft-=ke.extra,ke.back+=ke.extra}ke.was=ke.length,ke.mode=23;case 23:for(;un=(ce=ke.distcode[st&(1<<ke.distbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(!(240&un)){for(yt=Hn,Kn=un,er=Vn;un=(ce=ke.distcode[er+((st&(1<<yt+Kn)-1)>>yt)])>>>16&255,Vn=65535&ce,!(yt+(Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}st>>>=yt,ft-=yt,ke.back+=yt}if(st>>>=Hn,ft-=Hn,ke.back+=Hn,64&un){De.msg="invalid distance code",ke.mode=30;break}ke.offset=Vn,ke.extra=15&un,ke.mode=24;case 24:if(ke.extra){for(pe=ke.extra;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.offset+=st&(1<<ke.extra)-1,st>>>=ke.extra,ft-=ke.extra,ke.back+=ke.extra}if(ke.offset>ke.dmax){De.msg="invalid distance too far back",ke.mode=30;break}ke.mode=25;case 25:if(pt===0)break e;if(Et=fn-pt,ke.offset>Et){if((Et=ke.offset-Et)>ke.whave&&ke.sane){De.msg="invalid distance too far back",ke.mode=30;break}qt=Et>ke.wnext?(Et-=ke.wnext,ke.wsize-Et):ke.wnext-Et,Et>ke.length&&(Et=ke.length),Ln=ke.window}else Ln=it,qt=wt-ke.offset,Et=ke.length;for(pt<Et&&(Et=pt),pt-=Et,ke.length-=Et;it[wt++]=Ln[qt++],--Et;);ke.length===0&&(ke.mode=21);break;case 26:if(pt===0)break e;it[wt++]=ke.length,pt--,ke.mode=21;break;case 27:if(ke.wrap){for(;ft<32;){if(dt===0)break e;dt--,st|=Ot[rt++]<<ft,ft+=8}if(fn-=pt,De.total_out+=fn,ke.total+=fn,fn&&(De.adler=ke.check=ke.flags?Se(ke.check,it,fn,wt-fn):me(ke.check,it,fn,wt-fn)),fn=pt,(ke.flags?st:E(st))!==ke.check){De.msg="incorrect data check",ke.mode=30;break}ft=st=0}ke.mode=28;case 28:if(ke.wrap&&ke.flags){for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st!==(4294967295&ke.total)){De.msg="incorrect length check",ke.mode=30;break}ft=st=0}ke.mode=29;case 29:Kt=1;break e;case 30:Kt=-3;break e;case 31:return-4;case 32:default:return ie}return De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,(ke.wsize||fn!==De.avail_out&&ke.mode<30&&(ke.mode<27||St!==4))&&nt(De,De.output,De.next_out,fn-De.avail_out)?(ke.mode=31,-4):(an-=De.avail_in,fn-=De.avail_out,De.total_in+=an,De.total_out+=fn,ke.total+=fn,ke.wrap&&fn&&(De.adler=ke.check=ke.flags?Se(ke.check,it,fn,De.next_out-fn):me(ke.check,it,fn,De.next_out-fn)),De.data_type=ke.bits+(ke.last?64:0)+(ke.mode===12?128:0)+(ke.mode===20||ke.mode===15?256:0),(an==0&&fn===0||St===4)&&Kt===Ce&&(Kt=-5),Kt)},Ge.inflateEnd=function(De){if(!De||!De.state)return ie;var St=De.state;return St.window&&(St.window=null),De.state=null,Ce},Ge.inflateGetHeader=function(De,St){var ke;return De&&De.state&&2&(ke=De.state).wrap?((ke.head=St).done=!1,Ce):ie},Ge.inflateSetDictionary=function(De,St){var ke,Ot=St.length;return De&&De.state?(ke=De.state).wrap!==0&&ke.mode!==11?ie:ke.mode===11&&me(1,St,Ot,0)!==ke.check?-3:nt(De,St,Ot,Ot)?(ke.mode=31,-4):(ke.havedict=1,Ce):ie},Ge.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Se=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Le=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],de=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];at.exports=function(Ie,Fe,Ce,ie,y,a,ee,E){var te,ne,oe,he,_e,Pe,Qe,Ze,Ve,nt=E.bits,De=0,St=0,ke=0,Ot=0,it=0,rt=0,wt=0,dt=0,pt=0,st=0,ft=null,an=0,fn=new je.Buf16(16),Et=new je.Buf16(16),qt=null,Ln=0;for(De=0;De<=15;De++)fn[De]=0;for(St=0;St<ie;St++)fn[Fe[Ce+St]]++;for(it=nt,Ot=15;1<=Ot&&fn[Ot]===0;Ot--);if(Ot<it&&(it=Ot),Ot===0)return y[a++]=20971520,y[a++]=20971520,E.bits=1,0;for(ke=1;ke<Ot&&fn[ke]===0;ke++);for(it<ke&&(it=ke),De=dt=1;De<=15;De++)if(dt<<=1,(dt-=fn[De])<0)return-1;if(0<dt&&(Ie===0||Ot!==1))return-1;for(Et[1]=0,De=1;De<15;De++)Et[De+1]=Et[De]+fn[De];for(St=0;St<ie;St++)Fe[Ce+St]!==0&&(ee[Et[Fe[Ce+St]]++]=St);if(Pe=Ie===0?(ft=qt=ee,19):Ie===1?(ft=me,an-=257,qt=Se,Ln-=257,256):(ft=Le,qt=de,-1),De=ke,_e=a,wt=St=st=0,oe=-1,he=(pt=1<<(rt=it))-1,Ie===1&&852<pt||Ie===2&&592<pt)return 1;for(;;){for(Qe=De-wt,Ve=ee[St]<Pe?(Ze=0,ee[St]):ee[St]>Pe?(Ze=qt[Ln+ee[St]],ft[an+ee[St]]):(Ze=96,0),te=1<<De-wt,ke=ne=1<<rt;y[_e+(st>>wt)+(ne-=te)]=Qe<<24|Ze<<16|Ve|0,ne!==0;);for(te=1<<De-1;st&te;)te>>=1;if(te!==0?(st&=te-1,st+=te):st=0,St++,--fn[De]==0){if(De===Ot)break;De=Fe[Ce+ee[St]]}if(it<De&&(st&he)!==oe){for(wt===0&&(wt=it),_e+=ke,dt=1<<(rt=De-wt);rt+wt<Ot&&!((dt-=fn[rt+wt])<=0);)rt++,dt<<=1;if(pt+=1<<rt,Ie===1&&852<pt||Ie===2&&592<pt)return 1;y[oe=st&he]=it<<24|rt<<16|_e-a|0}}return st!==0&&(y[_e+st]=De-wt<<24|64<<16|0),E.bits=it,0}},{"../utils/common":41}],51:[function(ze,at,Ge){"use strict";at.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=0,Se=1;function Le(ce){for(var ye=ce.length;0<=--ye;)ce[ye]=0}var de=0,Ie=29,Fe=256,Ce=Fe+1+Ie,ie=30,y=19,a=2*Ce+1,ee=15,E=16,te=7,ne=256,oe=16,he=17,_e=18,Pe=[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],Qe=[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],Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ve=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],nt=new Array(2*(Ce+2));Le(nt);var De=new Array(2*ie);Le(De);var St=new Array(512);Le(St);var ke=new Array(256);Le(ke);var Ot=new Array(Ie);Le(Ot);var it,rt,wt,dt=new Array(ie);function pt(ce,ye,qe,gt,Me){this.static_tree=ce,this.extra_bits=ye,this.extra_base=qe,this.elems=gt,this.max_length=Me,this.has_stree=ce&&ce.length}function st(ce,ye){this.dyn_tree=ce,this.max_code=0,this.stat_desc=ye}function ft(ce){return ce<256?St[ce]:St[256+(ce>>>7)]}function an(ce,ye){ce.pending_buf[ce.pending++]=255&ye,ce.pending_buf[ce.pending++]=ye>>>8&255}function fn(ce,ye,qe){ce.bi_valid>E-qe?(ce.bi_buf|=ye<<ce.bi_valid&65535,an(ce,ce.bi_buf),ce.bi_buf=ye>>E-ce.bi_valid,ce.bi_valid+=qe-E):(ce.bi_buf|=ye<<ce.bi_valid&65535,ce.bi_valid+=qe)}function Et(ce,ye,qe){fn(ce,qe[2*ye],qe[2*ye+1])}function qt(ce,ye){for(var qe=0;qe|=1&ce,ce>>>=1,qe<<=1,0<--ye;);return qe>>>1}function Ln(ce,ye,qe){var gt,Me,Xe=new Array(ee+1),Pt=0;for(gt=1;gt<=ee;gt++)Xe[gt]=Pt=Pt+qe[gt-1]<<1;for(Me=0;Me<=ye;Me++){var ct=ce[2*Me+1];ct!==0&&(ce[2*Me]=qt(Xe[ct]++,ct))}}function Hn(ce){var ye;for(ye=0;ye<Ce;ye++)ce.dyn_ltree[2*ye]=0;for(ye=0;ye<ie;ye++)ce.dyn_dtree[2*ye]=0;for(ye=0;ye<y;ye++)ce.bl_tree[2*ye]=0;ce.dyn_ltree[2*ne]=1,ce.opt_len=ce.static_len=0,ce.last_lit=ce.matches=0}function un(ce){8<ce.bi_valid?an(ce,ce.bi_buf):0<ce.bi_valid&&(ce.pending_buf[ce.pending++]=ce.bi_buf),ce.bi_buf=0,ce.bi_valid=0}function Vn(ce,ye,qe,gt){var Me=2*ye,Xe=2*qe;return ce[Me]<ce[Xe]||ce[Me]===ce[Xe]&&gt[ye]<=gt[qe]}function yt(ce,ye,qe){for(var gt=ce.heap[qe],Me=qe<<1;Me<=ce.heap_len&&(Me<ce.heap_len&&Vn(ye,ce.heap[Me+1],ce.heap[Me],ce.depth)&&Me++,!Vn(ye,gt,ce.heap[Me],ce.depth));)ce.heap[qe]=ce.heap[Me],qe=Me,Me<<=1;ce.heap[qe]=gt}function Kn(ce,ye,qe){var gt,Me,Xe,Pt,ct=0;if(ce.last_lit!==0)for(;gt=ce.pending_buf[ce.d_buf+2*ct]<<8|ce.pending_buf[ce.d_buf+2*ct+1],Me=ce.pending_buf[ce.l_buf+ct],ct++,gt===0?Et(ce,Me,ye):(Et(ce,(Xe=ke[Me])+Fe+1,ye),(Pt=Pe[Xe])!==0&&fn(ce,Me-=Ot[Xe],Pt),Et(ce,Xe=ft(--gt),qe),(Pt=Qe[Xe])!==0&&fn(ce,gt-=dt[Xe],Pt)),ct<ce.last_lit;);Et(ce,ne,ye)}function er(ce,ye){var qe,gt,Me,Xe=ye.dyn_tree,Pt=ye.stat_desc.static_tree,ct=ye.stat_desc.has_stree,ot=ye.stat_desc.elems,kt=-1;for(ce.heap_len=0,ce.heap_max=a,qe=0;qe<ot;qe++)Xe[2*qe]!==0?(ce.heap[++ce.heap_len]=kt=qe,ce.depth[qe]=0):Xe[2*qe+1]=0;for(;ce.heap_len<2;)Xe[2*(Me=ce.heap[++ce.heap_len]=kt<2?++kt:0)]=1,ce.depth[Me]=0,ce.opt_len--,ct&&(ce.static_len-=Pt[2*Me+1]);for(ye.max_code=kt,qe=ce.heap_len>>1;1<=qe;qe--)yt(ce,Xe,qe);for(Me=ot;qe=ce.heap[1],ce.heap[1]=ce.heap[ce.heap_len--],yt(ce,Xe,1),gt=ce.heap[1],ce.heap[--ce.heap_max]=qe,ce.heap[--ce.heap_max]=gt,Xe[2*Me]=Xe[2*qe]+Xe[2*gt],ce.depth[Me]=(ce.depth[qe]>=ce.depth[gt]?ce.depth[qe]:ce.depth[gt])+1,Xe[2*qe+1]=Xe[2*gt+1]=Me,ce.heap[1]=Me++,yt(ce,Xe,1),2<=ce.heap_len;);ce.heap[--ce.heap_max]=ce.heap[1],function(_n,_t){var rn,Nt,yn,Yt,Jn,hr,tr=_t.dyn_tree,Nr=_t.max_code,Dr=_t.stat_desc.static_tree,sa=_t.stat_desc.has_stree,Aa=_t.stat_desc.extra_bits,Hr=_t.stat_desc.extra_base,wr=_t.stat_desc.max_length,Qr=0;for(Yt=0;Yt<=ee;Yt++)_n.bl_count[Yt]=0;for(tr[2*_n.heap[_n.heap_max]+1]=0,rn=_n.heap_max+1;rn<a;rn++)wr<(Yt=tr[2*tr[2*(Nt=_n.heap[rn])+1]+1]+1)&&(Yt=wr,Qr++),tr[2*Nt+1]=Yt,Nr<Nt||(_n.bl_count[Yt]++,Jn=0,Hr<=Nt&&(Jn=Aa[Nt-Hr]),hr=tr[2*Nt],_n.opt_len+=hr*(Yt+Jn),sa&&(_n.static_len+=hr*(Dr[2*Nt+1]+Jn)));if(Qr!==0){do{for(Yt=wr-1;_n.bl_count[Yt]===0;)Yt--;_n.bl_count[Yt]--,_n.bl_count[Yt+1]+=2,_n.bl_count[wr]--,Qr-=2}while(0<Qr);for(Yt=wr;Yt!==0;Yt--)for(Nt=_n.bl_count[Yt];Nt!==0;)Nr<(yn=_n.heap[--rn])||(tr[2*yn+1]!==Yt&&(_n.opt_len+=(Yt-tr[2*yn+1])*tr[2*yn],tr[2*yn+1]=Yt),Nt--)}}(ce,ye),Ln(Xe,kt,ce.bl_count)}function Re(ce,ye,qe){var gt,Me,Xe=-1,Pt=ye[1],ct=0,ot=7,kt=4;for(Pt===0&&(ot=138,kt=3),ye[2*(qe+1)+1]=65535,gt=0;gt<=qe;gt++)Me=Pt,Pt=ye[2*(gt+1)+1],++ct<ot&&Me===Pt||(ct<kt?ce.bl_tree[2*Me]+=ct:Me!==0?(Me!==Xe&&ce.bl_tree[2*Me]++,ce.bl_tree[2*oe]++):ct<=10?ce.bl_tree[2*he]++:ce.bl_tree[2*_e]++,Xe=Me,kt=(ct=0)===Pt?(ot=138,3):Me===Pt?(ot=6,3):(ot=7,4))}function Kt(ce,ye,qe){var gt,Me,Xe=-1,Pt=ye[1],ct=0,ot=7,kt=4;for(Pt===0&&(ot=138,kt=3),gt=0;gt<=qe;gt++)if(Me=Pt,Pt=ye[2*(gt+1)+1],!(++ct<ot&&Me===Pt)){if(ct<kt)for(;Et(ce,Me,ce.bl_tree),--ct!=0;);else Me!==0?(Me!==Xe&&(Et(ce,Me,ce.bl_tree),ct--),Et(ce,oe,ce.bl_tree),fn(ce,ct-3,2)):ct<=10?(Et(ce,he,ce.bl_tree),fn(ce,ct-3,3)):(Et(ce,_e,ce.bl_tree),fn(ce,ct-11,7));Xe=Me,kt=(ct=0)===Pt?(ot=138,3):Me===Pt?(ot=6,3):(ot=7,4)}}Le(dt);var Te=!1;function pe(ce,ye,qe,gt){fn(ce,(de<<1)+(gt?1:0),3),function(Me,Xe,Pt,ct){un(Me),ct&&(an(Me,Pt),an(Me,~Pt)),je.arraySet(Me.pending_buf,Me.window,Xe,Pt,Me.pending),Me.pending+=Pt}(ce,ye,qe,!0)}Ge._tr_init=function(ce){Te||(function(){var ye,qe,gt,Me,Xe,Pt=new Array(ee+1);for(Me=gt=0;Me<Ie-1;Me++)for(Ot[Me]=gt,ye=0;ye<1<<Pe[Me];ye++)ke[gt++]=Me;for(ke[gt-1]=Me,Me=Xe=0;Me<16;Me++)for(dt[Me]=Xe,ye=0;ye<1<<Qe[Me];ye++)St[Xe++]=Me;for(Xe>>=7;Me<ie;Me++)for(dt[Me]=Xe<<7,ye=0;ye<1<<Qe[Me]-7;ye++)St[256+Xe++]=Me;for(qe=0;qe<=ee;qe++)Pt[qe]=0;for(ye=0;ye<=143;)nt[2*ye+1]=8,ye++,Pt[8]++;for(;ye<=255;)nt[2*ye+1]=9,ye++,Pt[9]++;for(;ye<=279;)nt[2*ye+1]=7,ye++,Pt[7]++;for(;ye<=287;)nt[2*ye+1]=8,ye++,Pt[8]++;for(Ln(nt,Ce+1,Pt),ye=0;ye<ie;ye++)De[2*ye+1]=5,De[2*ye]=qt(ye,5);it=new pt(nt,Pe,Fe+1,Ce,ee),rt=new pt(De,Qe,0,ie,ee),wt=new pt(new Array(0),Ze,0,y,te)}(),Te=!0),ce.l_desc=new st(ce.dyn_ltree,it),ce.d_desc=new st(ce.dyn_dtree,rt),ce.bl_desc=new st(ce.bl_tree,wt),ce.bi_buf=0,ce.bi_valid=0,Hn(ce)},Ge._tr_stored_block=pe,Ge._tr_flush_block=function(ce,ye,qe,gt){var Me,Xe,Pt=0;0<ce.level?(ce.strm.data_type===2&&(ce.strm.data_type=function(ct){var ot,kt=4093624447;for(ot=0;ot<=31;ot++,kt>>>=1)if(1&kt&&ct.dyn_ltree[2*ot]!==0)return me;if(ct.dyn_ltree[18]!==0||ct.dyn_ltree[20]!==0||ct.dyn_ltree[26]!==0)return Se;for(ot=32;ot<Fe;ot++)if(ct.dyn_ltree[2*ot]!==0)return Se;return me}(ce)),er(ce,ce.l_desc),er(ce,ce.d_desc),Pt=function(ct){var ot;for(Re(ct,ct.dyn_ltree,ct.l_desc.max_code),Re(ct,ct.dyn_dtree,ct.d_desc.max_code),er(ct,ct.bl_desc),ot=y-1;3<=ot&&ct.bl_tree[2*Ve[ot]+1]===0;ot--);return ct.opt_len+=3*(ot+1)+5+5+4,ot}(ce),Me=ce.opt_len+3+7>>>3,(Xe=ce.static_len+3+7>>>3)<=Me&&(Me=Xe)):Me=Xe=qe+5,qe+4<=Me&&ye!==-1?pe(ce,ye,qe,gt):ce.strategy===4||Xe===Me?(fn(ce,2+(gt?1:0),3),Kn(ce,nt,De)):(fn(ce,4+(gt?1:0),3),function(ct,ot,kt,_n){var _t;for(fn(ct,ot-257,5),fn(ct,kt-1,5),fn(ct,_n-4,4),_t=0;_t<_n;_t++)fn(ct,ct.bl_tree[2*Ve[_t]+1],3);Kt(ct,ct.dyn_ltree,ot-1),Kt(ct,ct.dyn_dtree,kt-1)}(ce,ce.l_desc.max_code+1,ce.d_desc.max_code+1,Pt+1),Kn(ce,ce.dyn_ltree,ce.dyn_dtree)),Hn(ce),gt&&un(ce)},Ge._tr_tally=function(ce,ye,qe){return ce.pending_buf[ce.d_buf+2*ce.last_lit]=ye>>>8&255,ce.pending_buf[ce.d_buf+2*ce.last_lit+1]=255&ye,ce.pending_buf[ce.l_buf+ce.last_lit]=255&qe,ce.last_lit++,ye===0?ce.dyn_ltree[2*qe]++:(ce.matches++,ye--,ce.dyn_ltree[2*(ke[qe]+Fe+1)]++,ce.dyn_dtree[2*ft(ye)]++),ce.last_lit===ce.lit_bufsize-1},Ge._tr_align=function(ce){fn(ce,2,3),Et(ce,ne,nt),function(ye){ye.bi_valid===16?(an(ye,ye.bi_buf),ye.bi_buf=0,ye.bi_valid=0):8<=ye.bi_valid&&(ye.pending_buf[ye.pending++]=255&ye.bi_buf,ye.bi_buf>>=8,ye.bi_valid-=8)}(ce)}},{"../utils/common":41}],53:[function(ze,at,Ge){"use strict";at.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(ze,at,Ge){(function(je){(function(me,Se){"use strict";if(!me.setImmediate){var Le,de,Ie,Fe,Ce=1,ie={},y=!1,a=me.document,ee=Object.getPrototypeOf&&Object.getPrototypeOf(me);ee=ee&&ee.setTimeout?ee:me,Le={}.toString.call(me.process)==="[object process]"?function(oe){be.nextTick(function(){te(oe)})}:function(){if(me.postMessage&&!me.importScripts){var oe=!0,he=me.onmessage;return me.onmessage=function(){oe=!1},me.postMessage("","*"),me.onmessage=he,oe}}()?(Fe="setImmediate$"+Math.random()+"$",me.addEventListener?me.addEventListener("message",ne,!1):me.attachEvent("onmessage",ne),function(oe){me.postMessage(Fe+oe,"*")}):me.MessageChannel?((Ie=new MessageChannel).port1.onmessage=function(oe){te(oe.data)},function(oe){Ie.port2.postMessage(oe)}):a&&"onreadystatechange"in a.createElement("script")?(de=a.documentElement,function(oe){var he=a.createElement("script");he.onreadystatechange=function(){te(oe),he.onreadystatechange=null,de.removeChild(he),he=null},de.appendChild(he)}):function(oe){setTimeout(te,0,oe)},ee.setImmediate=function(oe){typeof oe!="function"&&(oe=new Function(""+oe));for(var he=new Array(arguments.length-1),_e=0;_e<he.length;_e++)he[_e]=arguments[_e+1];var Pe={callback:oe,args:he};return ie[Ce]=Pe,Le(Ce),Ce++},ee.clearImmediate=E}function E(oe){delete ie[oe]}function te(oe){if(y)setTimeout(te,0,oe);else{var he=ie[oe];if(he){y=!0;try{(function(_e){var Pe=_e.callback,Qe=_e.args;switch(Qe.length){case 0:Pe();break;case 1:Pe(Qe[0]);break;case 2:Pe(Qe[0],Qe[1]);break;case 3:Pe(Qe[0],Qe[1],Qe[2]);break;default:Pe.apply(Se,Qe)}})(he)}finally{E(oe),y=!1}}}}function ne(oe){oe.source===me&&typeof oe.data=="string"&&oe.data.indexOf(Fe)===0&&te(+oe.data.slice(Fe.length))}})(typeof self=="undefined"?je===void 0?this:je:self)}).call(this,typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},39417:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Qe}});var Oe=we(54476),be=we(20068),ze=we(75931),at=we(33885),Ge=we(67732),je=we(83652),me=we(31226),Se=we(42403),Le=we(158),de=we(92310),Ie=we.n(de),Fe=we(26112),Ce=we(59301),ie=we(39378),y=function(Ve){for(var nt=Ve.prefixCls,De=Ve.level,St=Ve.isStart,ke=Ve.isEnd,Ot="".concat(nt,"-indent-unit"),it=[],rt=0;rt<De;rt+=1){var wt;it.push(Ce.createElement("span",{key:rt,className:Ie()(Ot,(wt={},(0,be.Z)(wt,"".concat(Ot,"-start"),St[rt]),(0,be.Z)(wt,"".concat(Ot,"-end"),ke[rt]),wt))}))}return Ce.createElement("span",{"aria-hidden":"true",className:"".concat(nt,"-indent")},it)},a=Ce.memo(y),ee=we(67841),E=we(71430),te=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",oe="close",he="---",_e=function(Ze){(0,Se.Z)(nt,Ze);var Ve=(0,Le.Z)(nt);function nt(){var De;(0,Ge.Z)(this,nt);for(var St=arguments.length,ke=new Array(St),Ot=0;Ot<St;Ot++)ke[Ot]=arguments[Ot];return De=Ve.call.apply(Ve,[this].concat(ke)),De.state={dragNodeHighlight:!1},De.selectHandle=void 0,De.cacheIndent=void 0,De.onSelectorClick=function(it){var rt=De.props.context.onNodeClick;rt(it,(0,E.F)(De.props)),De.isSelectable()?De.onSelect(it):De.onCheck(it)},De.onSelectorDoubleClick=function(it){var rt=De.props.context.onNodeDoubleClick;rt(it,(0,E.F)(De.props))},De.onSelect=function(it){if(!De.isDisabled()){var rt=De.props.context.onNodeSelect;rt(it,(0,E.F)(De.props))}},De.onCheck=function(it){if(!De.isDisabled()){var rt=De.props,wt=rt.disableCheckbox,dt=rt.checked,pt=De.props.context.onNodeCheck;if(!(!De.isCheckable()||wt)){var st=!dt;pt(it,(0,E.F)(De.props),st)}}},De.onMouseEnter=function(it){var rt=De.props.context.onNodeMouseEnter;rt(it,(0,E.F)(De.props))},De.onMouseLeave=function(it){var rt=De.props.context.onNodeMouseLeave;rt(it,(0,E.F)(De.props))},De.onContextMenu=function(it){var rt=De.props.context.onNodeContextMenu;rt(it,(0,E.F)(De.props))},De.onDragStart=function(it){var rt=De.props.context.onNodeDragStart;it.stopPropagation(),De.setState({dragNodeHighlight:!0}),rt(it,(0,me.Z)(De));try{it.dataTransfer.setData("text/plain","")}catch(wt){}},De.onDragEnter=function(it){var rt=De.props.context.onNodeDragEnter;it.preventDefault(),it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragOver=function(it){var rt=De.props.context.onNodeDragOver;it.preventDefault(),it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragLeave=function(it){var rt=De.props.context.onNodeDragLeave;it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragEnd=function(it){var rt=De.props.context.onNodeDragEnd;it.stopPropagation(),De.setState({dragNodeHighlight:!1}),rt(it,(0,me.Z)(De))},De.onDrop=function(it){var rt=De.props.context.onNodeDrop;it.preventDefault(),it.stopPropagation(),De.setState({dragNodeHighlight:!1}),rt(it,(0,me.Z)(De))},De.onExpand=function(it){var rt=De.props,wt=rt.loading,dt=rt.context.onNodeExpand;wt||dt(it,(0,E.F)(De.props))},De.setSelectHandle=function(it){De.selectHandle=it},De.getNodeState=function(){var it=De.props.expanded;return De.isLeaf()?null:it?ne:oe},De.hasChildren=function(){var it=De.props.eventKey,rt=De.props.context.keyEntities,wt=(0,ee.Z)(rt,it)||{},dt=wt.children;return!!(dt||[]).length},De.isLeaf=function(){var it=De.props,rt=it.isLeaf,wt=it.loaded,dt=De.props.context.loadData,pt=De.hasChildren();return rt===!1?!1:rt||!dt&&!pt||dt&&wt&&!pt},De.isDisabled=function(){var it=De.props.disabled,rt=De.props.context.disabled;return!!(rt||it)},De.isCheckable=function(){var it=De.props.checkable,rt=De.props.context.checkable;return!rt||it===!1?!1:rt},De.syncLoadData=function(it){var rt=it.expanded,wt=it.loading,dt=it.loaded,pt=De.props.context,st=pt.loadData,ft=pt.onNodeLoad;wt||st&&rt&&!De.isLeaf()&&!De.hasChildren()&&!dt&&ft((0,E.F)(De.props))},De.isDraggable=function(){var it=De.props,rt=it.data,wt=it.context.draggable;return!!(wt&&(!wt.nodeDraggable||wt.nodeDraggable(rt)))},De.renderDragHandler=function(){var it=De.props.context,rt=it.draggable,wt=it.prefixCls;return rt!=null&&rt.icon?Ce.createElement("span",{className:"".concat(wt,"-draggable-icon")},rt.icon):null},De.renderSwitcherIconDom=function(it){var rt=De.props.switcherIcon,wt=De.props.context.switcherIcon,dt=rt||wt;return typeof dt=="function"?dt((0,at.Z)((0,at.Z)({},De.props),{},{isLeaf:it})):dt},De.renderSwitcher=function(){var it=De.props.expanded,rt=De.props.context.prefixCls;if(De.isLeaf()){var wt=De.renderSwitcherIconDom(!0);return wt!==!1?Ce.createElement("span",{className:Ie()("".concat(rt,"-switcher"),"".concat(rt,"-switcher-noop"))},wt):null}var dt=Ie()("".concat(rt,"-switcher"),"".concat(rt,"-switcher_").concat(it?ne:oe)),pt=De.renderSwitcherIconDom(!1);return pt!==!1?Ce.createElement("span",{onClick:De.onExpand,className:dt},pt):null},De.renderCheckbox=function(){var it=De.props,rt=it.checked,wt=it.halfChecked,dt=it.disableCheckbox,pt=De.props.context.prefixCls,st=De.isDisabled(),ft=De.isCheckable();if(!ft)return null;var an=typeof ft!="boolean"?ft:null;return Ce.createElement("span",{className:Ie()("".concat(pt,"-checkbox"),rt&&"".concat(pt,"-checkbox-checked"),!rt&&wt&&"".concat(pt,"-checkbox-indeterminate"),(st||dt)&&"".concat(pt,"-checkbox-disabled")),onClick:De.onCheck},an)},De.renderIcon=function(){var it=De.props.loading,rt=De.props.context.prefixCls;return Ce.createElement("span",{className:Ie()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__").concat(De.getNodeState()||"docu"),it&&"".concat(rt,"-icon_loading"))})},De.renderSelector=function(){var it=De.state.dragNodeHighlight,rt=De.props,wt=rt.title,dt=wt===void 0?he:wt,pt=rt.selected,st=rt.icon,ft=rt.loading,an=rt.data,fn=De.props.context,Et=fn.prefixCls,qt=fn.showIcon,Ln=fn.icon,Hn=fn.loadData,un=fn.titleRender,Vn=De.isDisabled(),yt="".concat(Et,"-node-content-wrapper"),Kn;if(qt){var er=st||Ln;Kn=er?Ce.createElement("span",{className:Ie()("".concat(Et,"-iconEle"),"".concat(Et,"-icon__customize"))},typeof er=="function"?er(De.props):er):De.renderIcon()}else Hn&&ft&&(Kn=De.renderIcon());var Re;typeof dt=="function"?Re=dt(an):un?Re=un(an):Re=dt;var Kt=Ce.createElement("span",{className:"".concat(Et,"-title")},Re);return Ce.createElement("span",{ref:De.setSelectHandle,title:typeof dt=="string"?dt:"",className:Ie()("".concat(yt),"".concat(yt,"-").concat(De.getNodeState()||"normal"),!Vn&&(pt||it)&&"".concat(Et,"-node-selected")),onMouseEnter:De.onMouseEnter,onMouseLeave:De.onMouseLeave,onContextMenu:De.onContextMenu,onClick:De.onSelectorClick,onDoubleClick:De.onSelectorDoubleClick},Kn,Kt,De.renderDropIndicator())},De.renderDropIndicator=function(){var it=De.props,rt=it.disabled,wt=it.eventKey,dt=De.props.context,pt=dt.draggable,st=dt.dropLevelOffset,ft=dt.dropPosition,an=dt.prefixCls,fn=dt.indent,Et=dt.dropIndicatorRender,qt=dt.dragOverNodeKey,Ln=dt.direction,Hn=!!pt,un=!rt&&Hn&&qt===wt,Vn=fn!=null?fn:De.cacheIndent;return De.cacheIndent=fn,un?Et({dropPosition:ft,dropLevelOffset:st,indent:Vn,prefixCls:an,direction:Ln}):null},De}return(0,je.Z)(nt,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var St=this.props.selectable,ke=this.props.context.selectable;return typeof St=="boolean"?St:ke}},{key:"render",value:function(){var St,ke=this.props,Ot=ke.eventKey,it=ke.className,rt=ke.style,wt=ke.dragOver,dt=ke.dragOverGapTop,pt=ke.dragOverGapBottom,st=ke.isLeaf,ft=ke.isStart,an=ke.isEnd,fn=ke.expanded,Et=ke.selected,qt=ke.checked,Ln=ke.halfChecked,Hn=ke.loading,un=ke.domRef,Vn=ke.active,yt=ke.data,Kn=ke.onMouseMove,er=ke.selectable,Re=(0,ze.Z)(ke,te),Kt=this.props.context,Te=Kt.prefixCls,pe=Kt.filterTreeNode,ce=Kt.keyEntities,ye=Kt.dropContainerKey,qe=Kt.dropTargetKey,gt=Kt.draggingNodeKey,Me=this.isDisabled(),Xe=(0,Fe.Z)(Re,{aria:!0,data:!0}),Pt=(0,ee.Z)(ce,Ot)||{},ct=Pt.level,ot=an[an.length-1],kt=this.isDraggable(),_n=!Me&&kt,_t=gt===Ot,rn=er!==void 0?{"aria-selected":!!er}:void 0;return Ce.createElement("div",(0,Oe.Z)({ref:un,className:Ie()(it,"".concat(Te,"-treenode"),(St={},(0,be.Z)(St,"".concat(Te,"-treenode-disabled"),Me),(0,be.Z)(St,"".concat(Te,"-treenode-switcher-").concat(fn?"open":"close"),!st),(0,be.Z)(St,"".concat(Te,"-treenode-checkbox-checked"),qt),(0,be.Z)(St,"".concat(Te,"-treenode-checkbox-indeterminate"),Ln),(0,be.Z)(St,"".concat(Te,"-treenode-selected"),Et),(0,be.Z)(St,"".concat(Te,"-treenode-loading"),Hn),(0,be.Z)(St,"".concat(Te,"-treenode-active"),Vn),(0,be.Z)(St,"".concat(Te,"-treenode-leaf-last"),ot),(0,be.Z)(St,"".concat(Te,"-treenode-draggable"),kt),(0,be.Z)(St,"dragging",_t),(0,be.Z)(St,"drop-target",qe===Ot),(0,be.Z)(St,"drop-container",ye===Ot),(0,be.Z)(St,"drag-over",!Me&&wt),(0,be.Z)(St,"drag-over-gap-top",!Me&&dt),(0,be.Z)(St,"drag-over-gap-bottom",!Me&&pt),(0,be.Z)(St,"filter-node",pe&&pe((0,E.F)(this.props))),St)),style:rt,draggable:_n,"aria-grabbed":_t,onDragStart:_n?this.onDragStart:void 0,onDragEnter:kt?this.onDragEnter:void 0,onDragOver:kt?this.onDragOver:void 0,onDragLeave:kt?this.onDragLeave:void 0,onDrop:kt?this.onDrop:void 0,onDragEnd:kt?this.onDragEnd:void 0,onMouseMove:Kn},rn,Xe),Ce.createElement(a,{prefixCls:Te,level:ct,isStart:ft,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),nt}(Ce.Component),Pe=function(Ve){return Ce.createElement(ie.k.Consumer,null,function(nt){return Ce.createElement(_e,(0,Oe.Z)({},Ve,{context:nt}))})};Pe.displayName="TreeNode",Pe.isTreeNode=1;var Qe=Pe},39378:function(on,Ut,we){"use strict";we.d(Ut,{k:function(){return be}});var Oe=we(59301),be=Oe.createContext(null)},60091:function(on,Ut,we){"use strict";we.d(Ut,{O:function(){return Qe.Z},Z:function(){return Kt}});var Oe=we(54476),be=we(20068),ze=we(76190),at=we(33885),Ge=we(94480),je=we(67732),me=we(83652),Se=we(31226),Le=we(42403),de=we(158),Ie=we(92310),Fe=we.n(Ie),Ce=we(10228),ie=we(26112),y=we(48736),a=we(59301),ee=we(39378);function E(Te){var pe=Te.dropPosition,ce=Te.dropLevelOffset,ye=Te.indent,qe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(pe){case-1:qe.top=0,qe.left=-ce*ye;break;case 1:qe.bottom=0,qe.left=-ce*ye;break;case 0:qe.bottom=0,qe.left=ye;break}return a.createElement("div",{style:qe})}function te(Te){if(Te==null)throw new TypeError("Cannot destructure "+Te)}var ne=we(42978),oe=we(75931),he=we(34280),_e=we(48911),Pe=we(77900),Qe=we(39417);function Ze(Te,pe){var ce=a.useState(!1),ye=(0,ne.Z)(ce,2),qe=ye[0],gt=ye[1];a.useLayoutEffect(function(){if(qe)return Te(),function(){pe()}},[qe]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Ve=we(71430),nt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],De=function(pe,ce){var ye=pe.className,qe=pe.style,gt=pe.motion,Me=pe.motionNodes,Xe=pe.motionType,Pt=pe.onMotionStart,ct=pe.onMotionEnd,ot=pe.active,kt=pe.treeNodeRequiredProps,_n=(0,oe.Z)(pe,nt),_t=a.useState(!0),rn=(0,ne.Z)(_t,2),Nt=rn[0],yn=rn[1],Yt=a.useContext(ee.k),Jn=Yt.prefixCls,hr=Me&&Xe!=="hide";(0,he.Z)(function(){Me&&hr!==Nt&&yn(hr)},[Me]);var tr=function(){Me&&Pt()},Nr=a.useRef(!1),Dr=function(){Me&&!Nr.current&&(Nr.current=!0,ct())};Ze(tr,Dr);var sa=function(Hr){hr===Hr&&Dr()};return Me?a.createElement(Pe.default,(0,Oe.Z)({ref:ce,visible:Nt},gt,{motionAppear:Xe==="show",onVisibleChanged:sa}),function(Aa,Hr){var wr=Aa.className,Qr=Aa.style;return a.createElement("div",{ref:Hr,className:Fe()("".concat(Jn,"-treenode-motion"),wr),style:Qr},Me.map(function(ea){var xa=(0,Oe.Z)({},(te(ea.data),ea.data)),co=ea.title,qr=ea.key,hi=ea.isStart,Ii=ea.isEnd;delete xa.children;var ta=(0,Ve.H8)(qr,kt);return a.createElement(Qe.Z,(0,Oe.Z)({},xa,ta,{title:co,active:ot,data:ea.data,key:qr,isStart:hi,isEnd:Ii}))}))}):a.createElement(Qe.Z,(0,Oe.Z)({domRef:ce,className:ye,style:qe},_n,{active:ot}))};De.displayName="MotionTreeNode";var St=a.forwardRef(De),ke=St;function Ot(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ce=Te.length,ye=pe.length;if(Math.abs(ce-ye)!==1)return{add:!1,key:null};function qe(gt,Me){var Xe=new Map;gt.forEach(function(ct){Xe.set(ct,!0)});var Pt=Me.filter(function(ct){return!Xe.has(ct)});return Pt.length===1?Pt[0]:null}return ce<ye?{add:!0,key:qe(Te,pe)}:{add:!1,key:qe(pe,Te)}}function it(Te,pe,ce){var ye=Te.findIndex(function(Xe){return Xe.key===ce}),qe=Te[ye+1],gt=pe.findIndex(function(Xe){return Xe.key===ce});if(qe){var Me=pe.findIndex(function(Xe){return Xe.key===qe.key});return pe.slice(gt+1,Me)}return pe.slice(gt+1)}var rt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],wt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},dt=function(){},pt="RC_TREE_MOTION_".concat(Math.random()),st={key:pt},ft={key:pt,level:0,index:0,pos:"0",node:st,nodes:[st]},an={parent:null,children:[],pos:ft.pos,data:st,title:null,key:pt,isStart:[],isEnd:[]};function fn(Te,pe,ce,ye){return pe===!1||!ce?Te:Te.slice(0,Math.ceil(ce/ye)+1)}function Et(Te){var pe=Te.key,ce=Te.pos;return(0,Ve.km)(pe,ce)}function qt(Te){for(var pe=String(Te.data.key),ce=Te;ce.parent;)ce=ce.parent,pe="".concat(ce.data.key," > ").concat(pe);return pe}var Ln=a.forwardRef(function(Te,pe){var ce=Te.prefixCls,ye=Te.data,qe=Te.selectable,gt=Te.checkable,Me=Te.expandedKeys,Xe=Te.selectedKeys,Pt=Te.checkedKeys,ct=Te.loadedKeys,ot=Te.loadingKeys,kt=Te.halfCheckedKeys,_n=Te.keyEntities,_t=Te.disabled,rn=Te.dragging,Nt=Te.dragOverNodeKey,yn=Te.dropPosition,Yt=Te.motion,Jn=Te.height,hr=Te.itemHeight,tr=Te.virtual,Nr=Te.focusable,Dr=Te.activeItem,sa=Te.focused,Aa=Te.tabIndex,Hr=Te.onKeyDown,wr=Te.onFocus,Qr=Te.onBlur,ea=Te.onActiveChange,xa=Te.onListChangeStart,co=Te.onListChangeEnd,qr=(0,oe.Z)(Te,rt),hi=a.useRef(null),Ii=a.useRef(null);a.useImperativeHandle(pe,function(){return{scrollTo:function(Bi){hi.current.scrollTo(Bi)},getIndentWidth:function(){return Ii.current.offsetWidth}}});var ta=a.useState(Me),sn=(0,ne.Z)(ta,2),KA=sn[0],mA=sn[1],IA=a.useState(ye),gs=(0,ne.Z)(IA,2),bi=gs[0],zs=gs[1],yA=a.useState(ye),qi=(0,ne.Z)(yA,2),En=qi[0],On=qi[1],vn=a.useState([]),Tr=(0,ne.Z)(vn,2),Pa=Tr[0],$r=Tr[1],oi=a.useState(null),vo=(0,ne.Z)(oi,2),Go=vo[0],Uo=vo[1],wA=a.useRef(ye);wA.current=ye;function gr(){var ci=wA.current;zs(ci),On(ci),$r([]),Uo(null),co()}(0,he.Z)(function(){mA(Me);var ci=Ot(KA,Me);if(ci.key!==null)if(ci.add){var Bi=bi.findIndex(function(GA){var yi=GA.key;return yi===ci.key}),To=fn(it(bi,ye,ci.key),tr,Jn,hr),pA=bi.slice();pA.splice(Bi+1,0,an),On(pA),$r(To),Uo("show")}else{var jA=ye.findIndex(function(GA){var yi=GA.key;return yi===ci.key}),zA=fn(it(ye,bi,ci.key),tr,Jn,hr),Ns=ye.slice();Ns.splice(jA+1,0,an),On(Ns),$r(zA),Uo("hide")}else bi!==ye&&(zs(ye),On(ye))},[Me,ye]),a.useEffect(function(){rn||gr()},[rn]);var Qo=Yt?En:ye,Qi={expandedKeys:Me,selectedKeys:Xe,loadedKeys:ct,loadingKeys:ot,checkedKeys:Pt,halfCheckedKeys:kt,dragOverNodeKey:Nt,dropPosition:yn,keyEntities:_n};return a.createElement(a.Fragment,null,sa&&Dr&&a.createElement("span",{style:wt,"aria-live":"assertive"},qt(Dr)),a.createElement("div",null,a.createElement("input",{style:wt,disabled:Nr===!1||_t,tabIndex:Nr!==!1?Aa:null,onKeyDown:Hr,onFocus:wr,onBlur:Qr,value:"",onChange:dt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ce,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ce,"-indent")},a.createElement("div",{ref:Ii,className:"".concat(ce,"-indent-unit")}))),a.createElement(_e.Z,(0,Oe.Z)({},qr,{data:Qo,itemKey:Et,height:Jn,fullHeight:!1,virtual:tr,itemHeight:hr,prefixCls:"".concat(ce,"-list"),ref:hi,onVisibleChange:function(Bi,To){var pA=new Set(Bi),jA=To.filter(function(zA){return!pA.has(zA)});jA.some(function(zA){return Et(zA)===pt})&&gr()}}),function(ci){var Bi=ci.pos,To=(0,Oe.Z)({},(te(ci.data),ci.data)),pA=ci.title,jA=ci.key,zA=ci.isStart,Ns=ci.isEnd,GA=(0,Ve.km)(jA,Bi);delete To.key,delete To.children;var yi=(0,Ve.H8)(GA,Qi);return a.createElement(ke,(0,Oe.Z)({},To,yi,{title:pA,active:!!Dr&&jA===Dr.key,pos:Bi,data:ci.data,isStart:zA,isEnd:Ns,motion:Yt,motionNodes:jA===pt?Pa:null,motionType:Go,onMotionStart:xa,onMotionEnd:gr,treeNodeRequiredProps:Qi,onMouseMove:function(){ea(null)}}))}))});Ln.displayName="NodeList";var Hn=Ln,un=we(35654),Vn=we(90782),yt=we(67841),Kn=10,er=function(Te){(0,Le.Z)(ce,Te);var pe=(0,de.Z)(ce);function ce(){var ye;(0,je.Z)(this,ce);for(var qe=arguments.length,gt=new Array(qe),Me=0;Me<qe;Me++)gt[Me]=arguments[Me];return ye=pe.call.apply(pe,[this].concat(gt)),ye.destroyed=!1,ye.delayedDragEnterLogic=void 0,ye.loadingRetryTimes={},ye.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ve.w$)()},ye.dragStartMousePosition=null,ye.dragNode=void 0,ye.currentMouseOverDroppableNodeKey=null,ye.listRef=a.createRef(),ye.onNodeDragStart=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.keyEntities,_n=ye.props.onDragStart,_t=Pt.props.eventKey;ye.dragNode=Pt,ye.dragStartMousePosition={x:Xe.clientX,y:Xe.clientY};var rn=(0,un._5)(ot,_t);ye.setState({draggingNodeKey:_t,dragChildrenKeys:(0,un.wA)(_t,kt),indent:ye.listRef.current.getIndentWidth()}),ye.setExpandedKeys(rn),window.addEventListener("dragend",ye.onWindowDragEnd),_n==null||_n({event:Xe,node:(0,Ve.F)(Pt.props)})},ye.onNodeDragEnter=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.keyEntities,_n=ct.dragChildrenKeys,_t=ct.flattenNodes,rn=ct.indent,Nt=ye.props,yn=Nt.onDragEnter,Yt=Nt.onExpand,Jn=Nt.allowDrop,hr=Nt.direction,tr=Pt.props,Nr=tr.pos,Dr=tr.eventKey,sa=(0,Se.Z)(ye),Aa=sa.dragNode;if(ye.currentMouseOverDroppableNodeKey!==Dr&&(ye.currentMouseOverDroppableNodeKey=Dr),!Aa){ye.resetDragState();return}var Hr=(0,un.OM)(Xe,Aa,Pt,rn,ye.dragStartMousePosition,Jn,_t,kt,ot,hr),wr=Hr.dropPosition,Qr=Hr.dropLevelOffset,ea=Hr.dropTargetKey,xa=Hr.dropContainerKey,co=Hr.dropTargetPos,qr=Hr.dropAllowed,hi=Hr.dragOverNodeKey;if(_n.indexOf(ea)!==-1||!qr){ye.resetDragState();return}if(ye.delayedDragEnterLogic||(ye.delayedDragEnterLogic={}),Object.keys(ye.delayedDragEnterLogic).forEach(function(Ii){clearTimeout(ye.delayedDragEnterLogic[Ii])}),Aa.props.eventKey!==Pt.props.eventKey&&(Xe.persist(),ye.delayedDragEnterLogic[Nr]=window.setTimeout(function(){if(ye.state.draggingNodeKey!==null){var Ii=(0,Ge.Z)(ot),ta=(0,yt.Z)(kt,Pt.props.eventKey);ta&&(ta.children||[]).length&&(Ii=(0,un.L0)(ot,Pt.props.eventKey)),"expandedKeys"in ye.props||ye.setExpandedKeys(Ii),Yt==null||Yt(Ii,{node:(0,Ve.F)(Pt.props),expanded:!0,nativeEvent:Xe.nativeEvent})}},800)),Aa.props.eventKey===ea&&Qr===0){ye.resetDragState();return}ye.setState({dragOverNodeKey:hi,dropPosition:wr,dropLevelOffset:Qr,dropTargetKey:ea,dropContainerKey:xa,dropTargetPos:co,dropAllowed:qr}),yn==null||yn({event:Xe,node:(0,Ve.F)(Pt.props),expandedKeys:ot})},ye.onNodeDragOver=function(Xe,Pt){var ct=ye.state,ot=ct.dragChildrenKeys,kt=ct.flattenNodes,_n=ct.keyEntities,_t=ct.expandedKeys,rn=ct.indent,Nt=ye.props,yn=Nt.onDragOver,Yt=Nt.allowDrop,Jn=Nt.direction,hr=(0,Se.Z)(ye),tr=hr.dragNode;if(tr){var Nr=(0,un.OM)(Xe,tr,Pt,rn,ye.dragStartMousePosition,Yt,kt,_n,_t,Jn),Dr=Nr.dropPosition,sa=Nr.dropLevelOffset,Aa=Nr.dropTargetKey,Hr=Nr.dropContainerKey,wr=Nr.dropAllowed,Qr=Nr.dropTargetPos,ea=Nr.dragOverNodeKey;ot.indexOf(Aa)!==-1||!wr||(tr.props.eventKey===Aa&&sa===0?ye.state.dropPosition===null&&ye.state.dropLevelOffset===null&&ye.state.dropTargetKey===null&&ye.state.dropContainerKey===null&&ye.state.dropTargetPos===null&&ye.state.dropAllowed===!1&&ye.state.dragOverNodeKey===null||ye.resetDragState():Dr===ye.state.dropPosition&&sa===ye.state.dropLevelOffset&&Aa===ye.state.dropTargetKey&&Hr===ye.state.dropContainerKey&&Qr===ye.state.dropTargetPos&&wr===ye.state.dropAllowed&&ea===ye.state.dragOverNodeKey||ye.setState({dropPosition:Dr,dropLevelOffset:sa,dropTargetKey:Aa,dropContainerKey:Hr,dropTargetPos:Qr,dropAllowed:wr,dragOverNodeKey:ea}),yn==null||yn({event:Xe,node:(0,Ve.F)(Pt.props)}))}},ye.onNodeDragLeave=function(Xe,Pt){ye.currentMouseOverDroppableNodeKey===Pt.props.eventKey&&!Xe.currentTarget.contains(Xe.relatedTarget)&&(ye.resetDragState(),ye.currentMouseOverDroppableNodeKey=null);var ct=ye.props.onDragLeave;ct==null||ct({event:Xe,node:(0,Ve.F)(Pt.props)})},ye.onWindowDragEnd=function(Xe){ye.onNodeDragEnd(Xe,null,!0),window.removeEventListener("dragend",ye.onWindowDragEnd)},ye.onNodeDragEnd=function(Xe,Pt){var ct=ye.props.onDragEnd;ye.setState({dragOverNodeKey:null}),ye.cleanDragState(),ct==null||ct({event:Xe,node:(0,Ve.F)(Pt.props)}),ye.dragNode=null,window.removeEventListener("dragend",ye.onWindowDragEnd)},ye.onNodeDrop=function(Xe,Pt){var ct,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,kt=ye.state,_n=kt.dragChildrenKeys,_t=kt.dropPosition,rn=kt.dropTargetKey,Nt=kt.dropTargetPos,yn=kt.dropAllowed;if(yn){var Yt=ye.props.onDrop;if(ye.setState({dragOverNodeKey:null}),ye.cleanDragState(),rn!==null){var Jn=(0,at.Z)((0,at.Z)({},(0,Ve.H8)(rn,ye.getTreeNodeRequiredProps())),{},{active:((ct=ye.getActiveItem())===null||ct===void 0?void 0:ct.key)===rn,data:(0,yt.Z)(ye.state.keyEntities,rn).node}),hr=_n.indexOf(rn)!==-1;(0,y.ZP)(!hr,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var tr=(0,un.yx)(Nt),Nr={event:Xe,node:(0,Ve.F)(Jn),dragNode:ye.dragNode?(0,Ve.F)(ye.dragNode.props):null,dragNodesKeys:[ye.dragNode.props.eventKey].concat(_n),dropToGap:_t!==0,dropPosition:_t+Number(tr[tr.length-1])};ot||Yt==null||Yt(Nr),ye.dragNode=null}}},ye.cleanDragState=function(){var Xe=ye.state.draggingNodeKey;Xe!==null&&ye.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ye.dragStartMousePosition=null,ye.currentMouseOverDroppableNodeKey=null},ye.triggerExpandActionExpand=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.flattenNodes,_n=Pt.expanded,_t=Pt.key,rn=Pt.isLeaf;if(!(rn||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)){var Nt=kt.filter(function(Yt){return Yt.key===_t})[0],yn=(0,Ve.F)((0,at.Z)((0,at.Z)({},(0,Ve.H8)(_t,ye.getTreeNodeRequiredProps())),{},{data:Nt.data}));ye.setExpandedKeys(_n?(0,un._5)(ot,_t):(0,un.L0)(ot,_t)),ye.onNodeExpand(Xe,yn)}},ye.onNodeClick=function(Xe,Pt){var ct=ye.props,ot=ct.onClick,kt=ct.expandAction;kt==="click"&&ye.triggerExpandActionExpand(Xe,Pt),ot==null||ot(Xe,Pt)},ye.onNodeDoubleClick=function(Xe,Pt){var ct=ye.props,ot=ct.onDoubleClick,kt=ct.expandAction;kt==="doubleClick"&&ye.triggerExpandActionExpand(Xe,Pt),ot==null||ot(Xe,Pt)},ye.onNodeSelect=function(Xe,Pt){var ct=ye.state.selectedKeys,ot=ye.state,kt=ot.keyEntities,_n=ot.fieldNames,_t=ye.props,rn=_t.onSelect,Nt=_t.multiple,yn=Pt.selected,Yt=Pt[_n.key],Jn=!yn;Jn?Nt?ct=(0,un.L0)(ct,Yt):ct=[Yt]:ct=(0,un._5)(ct,Yt);var hr=ct.map(function(tr){var Nr=(0,yt.Z)(kt,tr);return Nr?Nr.node:null}).filter(function(tr){return tr});ye.setUncontrolledState({selectedKeys:ct}),rn==null||rn(ct,{event:"select",selected:Jn,node:Pt,selectedNodes:hr,nativeEvent:Xe.nativeEvent})},ye.onNodeCheck=function(Xe,Pt,ct){var ot=ye.state,kt=ot.keyEntities,_n=ot.checkedKeys,_t=ot.halfCheckedKeys,rn=ye.props,Nt=rn.checkStrictly,yn=rn.onCheck,Yt=Pt.key,Jn,hr={event:"check",node:Pt,checked:ct,nativeEvent:Xe.nativeEvent};if(Nt){var tr=ct?(0,un.L0)(_n,Yt):(0,un._5)(_n,Yt),Nr=(0,un._5)(_t,Yt);Jn={checked:tr,halfChecked:Nr},hr.checkedNodes=tr.map(function(Qr){return(0,yt.Z)(kt,Qr)}).filter(function(Qr){return Qr}).map(function(Qr){return Qr.node}),ye.setUncontrolledState({checkedKeys:tr})}else{var Dr=(0,Vn.S)([].concat((0,Ge.Z)(_n),[Yt]),!0,kt),sa=Dr.checkedKeys,Aa=Dr.halfCheckedKeys;if(!ct){var Hr=new Set(sa);Hr.delete(Yt);var wr=(0,Vn.S)(Array.from(Hr),{checked:!1,halfCheckedKeys:Aa},kt);sa=wr.checkedKeys,Aa=wr.halfCheckedKeys}Jn=sa,hr.checkedNodes=[],hr.checkedNodesPositions=[],hr.halfCheckedKeys=Aa,sa.forEach(function(Qr){var ea=(0,yt.Z)(kt,Qr);if(ea){var xa=ea.node,co=ea.pos;hr.checkedNodes.push(xa),hr.checkedNodesPositions.push({node:xa,pos:co})}}),ye.setUncontrolledState({checkedKeys:sa},!1,{halfCheckedKeys:Aa})}yn==null||yn(Jn,hr)},ye.onNodeLoad=function(Xe){var Pt=Xe.key,ct=new Promise(function(ot,kt){ye.setState(function(_n){var _t=_n.loadedKeys,rn=_t===void 0?[]:_t,Nt=_n.loadingKeys,yn=Nt===void 0?[]:Nt,Yt=ye.props,Jn=Yt.loadData,hr=Yt.onLoad;if(!Jn||rn.indexOf(Pt)!==-1||yn.indexOf(Pt)!==-1)return null;var tr=Jn(Xe);return tr.then(function(){var Nr=ye.state.loadedKeys,Dr=(0,un.L0)(Nr,Pt);hr==null||hr(Dr,{event:"load",node:Xe}),ye.setUncontrolledState({loadedKeys:Dr}),ye.setState(function(sa){return{loadingKeys:(0,un._5)(sa.loadingKeys,Pt)}}),ot()}).catch(function(Nr){if(ye.setState(function(sa){return{loadingKeys:(0,un._5)(sa.loadingKeys,Pt)}}),ye.loadingRetryTimes[Pt]=(ye.loadingRetryTimes[Pt]||0)+1,ye.loadingRetryTimes[Pt]>=Kn){var Dr=ye.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ye.setUncontrolledState({loadedKeys:(0,un.L0)(Dr,Pt)}),ot()}kt(Nr)}),{loadingKeys:(0,un.L0)(yn,Pt)}})});return ct.catch(function(){}),ct},ye.onNodeMouseEnter=function(Xe,Pt){var ct=ye.props.onMouseEnter;ct==null||ct({event:Xe,node:Pt})},ye.onNodeMouseLeave=function(Xe,Pt){var ct=ye.props.onMouseLeave;ct==null||ct({event:Xe,node:Pt})},ye.onNodeContextMenu=function(Xe,Pt){var ct=ye.props.onRightClick;ct&&(Xe.preventDefault(),ct({event:Xe,node:Pt}))},ye.onFocus=function(){var Xe=ye.props.onFocus;ye.setState({focused:!0});for(var Pt=arguments.length,ct=new Array(Pt),ot=0;ot<Pt;ot++)ct[ot]=arguments[ot];Xe==null||Xe.apply(void 0,ct)},ye.onBlur=function(){var Xe=ye.props.onBlur;ye.setState({focused:!1}),ye.onActiveChange(null);for(var Pt=arguments.length,ct=new Array(Pt),ot=0;ot<Pt;ot++)ct[ot]=arguments[ot];Xe==null||Xe.apply(void 0,ct)},ye.getTreeNodeRequiredProps=function(){var Xe=ye.state,Pt=Xe.expandedKeys,ct=Xe.selectedKeys,ot=Xe.loadedKeys,kt=Xe.loadingKeys,_n=Xe.checkedKeys,_t=Xe.halfCheckedKeys,rn=Xe.dragOverNodeKey,Nt=Xe.dropPosition,yn=Xe.keyEntities;return{expandedKeys:Pt||[],selectedKeys:ct||[],loadedKeys:ot||[],loadingKeys:kt||[],checkedKeys:_n||[],halfCheckedKeys:_t||[],dragOverNodeKey:rn,dropPosition:Nt,keyEntities:yn}},ye.setExpandedKeys=function(Xe){var Pt=ye.state,ct=Pt.treeData,ot=Pt.fieldNames,kt=(0,Ve.oH)(ct,Xe,ot);ye.setUncontrolledState({expandedKeys:Xe,flattenNodes:kt},!0)},ye.onNodeExpand=function(Xe,Pt){var ct=ye.state.expandedKeys,ot=ye.state,kt=ot.listChanging,_n=ot.fieldNames,_t=ye.props,rn=_t.onExpand,Nt=_t.loadData,yn=Pt.expanded,Yt=Pt[_n.key];if(!kt){var Jn=ct.indexOf(Yt),hr=!yn;if((0,y.ZP)(yn&&Jn!==-1||!yn&&Jn===-1,"Expand state not sync with index check"),hr?ct=(0,un.L0)(ct,Yt):ct=(0,un._5)(ct,Yt),ye.setExpandedKeys(ct),rn==null||rn(ct,{node:Pt,expanded:hr,nativeEvent:Xe.nativeEvent}),hr&&Nt){var tr=ye.onNodeLoad(Pt);tr&&tr.then(function(){var Nr=(0,Ve.oH)(ye.state.treeData,ct,_n);ye.setUncontrolledState({flattenNodes:Nr})}).catch(function(){var Nr=ye.state.expandedKeys,Dr=(0,un._5)(Nr,Yt);ye.setExpandedKeys(Dr)})}}},ye.onListChangeStart=function(){ye.setUncontrolledState({listChanging:!0})},ye.onListChangeEnd=function(){setTimeout(function(){ye.setUncontrolledState({listChanging:!1})})},ye.onActiveChange=function(Xe){var Pt=ye.state.activeKey,ct=ye.props.onActiveChange;Pt!==Xe&&(ye.setState({activeKey:Xe}),Xe!==null&&ye.scrollTo({key:Xe}),ct==null||ct(Xe))},ye.getActiveItem=function(){var Xe=ye.state,Pt=Xe.activeKey,ct=Xe.flattenNodes;return Pt===null?null:ct.find(function(ot){var kt=ot.key;return kt===Pt})||null},ye.offsetActiveKey=function(Xe){var Pt=ye.state,ct=Pt.flattenNodes,ot=Pt.activeKey,kt=ct.findIndex(function(rn){var Nt=rn.key;return Nt===ot});kt===-1&&Xe<0&&(kt=ct.length),kt=(kt+Xe+ct.length)%ct.length;var _n=ct[kt];if(_n){var _t=_n.key;ye.onActiveChange(_t)}else ye.onActiveChange(null)},ye.onKeyDown=function(Xe){var Pt=ye.state,ct=Pt.activeKey,ot=Pt.expandedKeys,kt=Pt.checkedKeys,_n=Pt.fieldNames,_t=ye.props,rn=_t.onKeyDown,Nt=_t.checkable,yn=_t.selectable;switch(Xe.which){case Ce.Z.UP:{ye.offsetActiveKey(-1),Xe.preventDefault();break}case Ce.Z.DOWN:{ye.offsetActiveKey(1),Xe.preventDefault();break}}var Yt=ye.getActiveItem();if(Yt&&Yt.data){var Jn=ye.getTreeNodeRequiredProps(),hr=Yt.data.isLeaf===!1||!!(Yt.data[_n.children]||[]).length,tr=(0,Ve.F)((0,at.Z)((0,at.Z)({},(0,Ve.H8)(ct,Jn)),{},{data:Yt.data,active:!0}));switch(Xe.which){case Ce.Z.LEFT:{hr&&ot.includes(ct)?ye.onNodeExpand({},tr):Yt.parent&&ye.onActiveChange(Yt.parent.key),Xe.preventDefault();break}case Ce.Z.RIGHT:{hr&&!ot.includes(ct)?ye.onNodeExpand({},tr):Yt.children&&Yt.children.length&&ye.onActiveChange(Yt.children[0].key),Xe.preventDefault();break}case Ce.Z.ENTER:case Ce.Z.SPACE:{Nt&&!tr.disabled&&tr.checkable!==!1&&!tr.disableCheckbox?ye.onNodeCheck({},tr,!kt.includes(ct)):!Nt&&yn&&!tr.disabled&&tr.selectable!==!1&&ye.onNodeSelect({},tr);break}}}rn==null||rn(Xe)},ye.setUncontrolledState=function(Xe){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ye.destroyed){var ot=!1,kt=!0,_n={};Object.keys(Xe).forEach(function(_t){if(_t in ye.props){kt=!1;return}ot=!0,_n[_t]=Xe[_t]}),ot&&(!Pt||kt)&&ye.setState((0,at.Z)((0,at.Z)({},_n),ct))}},ye.scrollTo=function(Xe){ye.listRef.current.scrollTo(Xe)},ye}return(0,me.Z)(ce,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qe=this.props.activeKey;qe!==void 0&&qe!==this.state.activeKey&&(this.setState({activeKey:qe}),qe!==null&&this.scrollTo({key:qe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var qe,gt=this.state,Me=gt.focused,Xe=gt.flattenNodes,Pt=gt.keyEntities,ct=gt.draggingNodeKey,ot=gt.activeKey,kt=gt.dropLevelOffset,_n=gt.dropContainerKey,_t=gt.dropTargetKey,rn=gt.dropPosition,Nt=gt.dragOverNodeKey,yn=gt.indent,Yt=this.props,Jn=Yt.prefixCls,hr=Yt.className,tr=Yt.style,Nr=Yt.showLine,Dr=Yt.focusable,sa=Yt.tabIndex,Aa=sa===void 0?0:sa,Hr=Yt.selectable,wr=Yt.showIcon,Qr=Yt.icon,ea=Yt.switcherIcon,xa=Yt.draggable,co=Yt.checkable,qr=Yt.checkStrictly,hi=Yt.disabled,Ii=Yt.motion,ta=Yt.loadData,sn=Yt.filterTreeNode,KA=Yt.height,mA=Yt.itemHeight,IA=Yt.virtual,gs=Yt.titleRender,bi=Yt.dropIndicatorRender,zs=Yt.onContextMenu,yA=Yt.onScroll,qi=Yt.direction,En=Yt.rootClassName,On=Yt.rootStyle,vn=(0,ie.Z)(this.props,{aria:!0,data:!0}),Tr;return xa&&((0,ze.Z)(xa)==="object"?Tr=xa:typeof xa=="function"?Tr={nodeDraggable:xa}:Tr={}),a.createElement(ee.k.Provider,{value:{prefixCls:Jn,selectable:Hr,showIcon:wr,icon:Qr,switcherIcon:ea,draggable:Tr,draggingNodeKey:ct,checkable:co,checkStrictly:qr,disabled:hi,keyEntities:Pt,dropLevelOffset:kt,dropContainerKey:_n,dropTargetKey:_t,dropPosition:rn,dragOverNodeKey:Nt,indent:yn,direction:qi,dropIndicatorRender:bi,loadData:ta,filterTreeNode:sn,titleRender:gs,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:Fe()(Jn,hr,En,(qe={},(0,be.Z)(qe,"".concat(Jn,"-show-line"),Nr),(0,be.Z)(qe,"".concat(Jn,"-focused"),Me),(0,be.Z)(qe,"".concat(Jn,"-active-focused"),ot!==null),qe)),style:On},a.createElement(Hn,(0,Oe.Z)({ref:this.listRef,prefixCls:Jn,style:tr,data:Xe,disabled:hi,selectable:Hr,checkable:!!co,motion:Ii,dragging:ct!==null,height:KA,itemHeight:mA,virtual:IA,focusable:Dr,focused:Me,tabIndex:Aa,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:zs,onScroll:yA},this.getTreeNodeRequiredProps(),vn))))}}],[{key:"getDerivedStateFromProps",value:function(qe,gt){var Me=gt.prevProps,Xe={prevProps:qe};function Pt(Dr){return!Me&&Dr in qe||Me&&Me[Dr]!==qe[Dr]}var ct,ot=gt.fieldNames;if(Pt("fieldNames")&&(ot=(0,Ve.w$)(qe.fieldNames),Xe.fieldNames=ot),Pt("treeData")?ct=qe.treeData:Pt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ct=(0,Ve.zn)(qe.children)),ct){Xe.treeData=ct;var kt=(0,Ve.I8)(ct,{fieldNames:ot});Xe.keyEntities=(0,at.Z)((0,be.Z)({},pt,ft),kt.keyEntities)}var _n=Xe.keyEntities||gt.keyEntities;if(Pt("expandedKeys")||Me&&Pt("autoExpandParent"))Xe.expandedKeys=qe.autoExpandParent||!Me&&qe.defaultExpandParent?(0,un.r7)(qe.expandedKeys,_n):qe.expandedKeys;else if(!Me&&qe.defaultExpandAll){var _t=(0,at.Z)({},_n);delete _t[pt],Xe.expandedKeys=Object.keys(_t).map(function(Dr){return _t[Dr].key})}else!Me&&qe.defaultExpandedKeys&&(Xe.expandedKeys=qe.autoExpandParent||qe.defaultExpandParent?(0,un.r7)(qe.defaultExpandedKeys,_n):qe.defaultExpandedKeys);if(Xe.expandedKeys||delete Xe.expandedKeys,ct||Xe.expandedKeys){var rn=(0,Ve.oH)(ct||gt.treeData,Xe.expandedKeys||gt.expandedKeys,ot);Xe.flattenNodes=rn}if(qe.selectable&&(Pt("selectedKeys")?Xe.selectedKeys=(0,un.BT)(qe.selectedKeys,qe):!Me&&qe.defaultSelectedKeys&&(Xe.selectedKeys=(0,un.BT)(qe.defaultSelectedKeys,qe))),qe.checkable){var Nt;if(Pt("checkedKeys")?Nt=(0,un.E6)(qe.checkedKeys)||{}:!Me&&qe.defaultCheckedKeys?Nt=(0,un.E6)(qe.defaultCheckedKeys)||{}:ct&&(Nt=(0,un.E6)(qe.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),Nt){var yn=Nt,Yt=yn.checkedKeys,Jn=Yt===void 0?[]:Yt,hr=yn.halfCheckedKeys,tr=hr===void 0?[]:hr;if(!qe.checkStrictly){var Nr=(0,Vn.S)(Jn,!0,_n);Jn=Nr.checkedKeys,tr=Nr.halfCheckedKeys}Xe.checkedKeys=Jn,Xe.halfCheckedKeys=tr}}return Pt("loadedKeys")&&(Xe.loadedKeys=qe.loadedKeys),Xe}}]),ce}(a.Component);er.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},er.TreeNode=Qe.Z;var Re=er,Kt=Re},35654:function(on,Ut,we){"use strict";we.d(Ut,{BT:function(){return a},E6:function(){return te},L0:function(){return de},OM:function(){return y},_5:function(){return Le},r7:function(){return ne},wA:function(){return Fe},yx:function(){return Ie}});var Oe=we(94480),be=we(76190),ze=we(48736),at=we(59301),Ge=we(39417),je=we(67841),me=we(71430),Se=null;function Le(oe,he){if(!oe)return[];var _e=oe.slice(),Pe=_e.indexOf(he);return Pe>=0&&_e.splice(Pe,1),_e}function de(oe,he){var _e=(oe||[]).slice();return _e.indexOf(he)===-1&&_e.push(he),_e}function Ie(oe){return oe.split("-")}function Fe(oe,he){var _e=[],Pe=(0,je.Z)(he,oe);function Qe(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ze.forEach(function(Ve){var nt=Ve.key,De=Ve.children;_e.push(nt),Qe(De)})}return Qe(Pe.children),_e}function Ce(oe){if(oe.parent){var he=Ie(oe.pos);return Number(he[he.length-1])===oe.parent.children.length-1}return!1}function ie(oe){var he=Ie(oe.pos);return Number(he[he.length-1])===0}function y(oe,he,_e,Pe,Qe,Ze,Ve,nt,De,St){var ke,Ot=oe.clientX,it=oe.clientY,rt=oe.target.getBoundingClientRect(),wt=rt.top,dt=rt.height,pt=(St==="rtl"?-1:1)*(((Qe==null?void 0:Qe.x)||0)-Ot),st=(pt-12)/Pe,ft=(0,je.Z)(nt,_e.props.eventKey);if(it<wt+dt/2){var an=Ve.findIndex(function(Kt){return Kt.key===ft.key}),fn=an<=0?0:an-1,Et=Ve[fn].key;ft=(0,je.Z)(nt,Et)}var qt=ft.key,Ln=ft,Hn=ft.key,un=0,Vn=0;if(!De.includes(qt))for(var yt=0;yt<st&&Ce(ft);yt+=1)ft=ft.parent,Vn+=1;var Kn=he.props.data,er=ft.node,Re=!0;return ie(ft)&&ft.level===0&&it<wt+dt/2&&Ze({dragNode:Kn,dropNode:er,dropPosition:-1})&&ft.key===_e.props.eventKey?un=-1:(Ln.children||[]).length&&De.includes(Hn)?Ze({dragNode:Kn,dropNode:er,dropPosition:0})?un=0:Re=!1:Vn===0?st>-1.5?Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1:Ze({dragNode:Kn,dropNode:er,dropPosition:0})?un=0:Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1:Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1,{dropPosition:un,dropLevelOffset:Vn,dropTargetKey:ft.key,dropTargetPos:ft.pos,dragOverNodeKey:Hn,dropContainerKey:un===0?null:((ke=ft.parent)===null||ke===void 0?void 0:ke.key)||null,dropAllowed:Re}}function a(oe,he){if(oe){var _e=he.multiple;return _e?oe.slice():oe.length?[oe[0]]:oe}}var ee=function(he){return he};function E(oe,he){if(!oe)return[];var _e=he||{},Pe=_e.processProps,Qe=Pe===void 0?ee:Pe,Ze=Array.isArray(oe)?oe:[oe];return Ze.map(function(Ve){var nt=Ve.children,De=_objectWithoutProperties(Ve,Se),St=E(nt,he);return React.createElement(TreeNode,_extends({key:De.key},Qe(De)),St)})}function te(oe){if(!oe)return null;var he;if(Array.isArray(oe))he={checkedKeys:oe,halfCheckedKeys:void 0};else if((0,be.Z)(oe)==="object")he={checkedKeys:oe.checked||void 0,halfCheckedKeys:oe.halfChecked||void 0};else return(0,ze.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return he}function ne(oe,he){var _e=new Set;function Pe(Qe){if(!_e.has(Qe)){var Ze=(0,je.Z)(he,Qe);if(Ze){_e.add(Qe);var Ve=Ze.parent,nt=Ze.node;nt.disabled||Ve&&Pe(Ve.key)}}}return(oe||[]).forEach(function(Qe){Pe(Qe)}),(0,Oe.Z)(_e)}},90782:function(on,Ut,we){"use strict";we.d(Ut,{S:function(){return me}});var Oe=we(48736),be=we(67841);function ze(Se,Le){var de=new Set;return Se.forEach(function(Ie){Le.has(Ie)||de.add(Ie)}),de}function at(Se){var Le=Se||{},de=Le.disabled,Ie=Le.disableCheckbox,Fe=Le.checkable;return!!(de||Ie)||Fe===!1}function Ge(Se,Le,de,Ie){for(var Fe=new Set(Se),Ce=new Set,ie=0;ie<=de;ie+=1){var y=Le.get(ie)||new Set;y.forEach(function(te){var ne=te.key,oe=te.node,he=te.children,_e=he===void 0?[]:he;Fe.has(ne)&&!Ie(oe)&&_e.filter(function(Pe){return!Ie(Pe.node)}).forEach(function(Pe){Fe.add(Pe.key)})})}for(var a=new Set,ee=de;ee>=0;ee-=1){var E=Le.get(ee)||new Set;E.forEach(function(te){var ne=te.parent,oe=te.node;if(!(Ie(oe)||!te.parent||a.has(te.parent.key))){if(Ie(te.parent.node)){a.add(ne.key);return}var he=!0,_e=!1;(ne.children||[]).filter(function(Pe){return!Ie(Pe.node)}).forEach(function(Pe){var Qe=Pe.key,Ze=Fe.has(Qe);he&&!Ze&&(he=!1),!_e&&(Ze||Ce.has(Qe))&&(_e=!0)}),he&&Fe.add(ne.key),_e&&Ce.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Fe),halfCheckedKeys:Array.from(ze(Ce,Fe))}}function je(Se,Le,de,Ie,Fe){for(var Ce=new Set(Se),ie=new Set(Le),y=0;y<=Ie;y+=1){var a=de.get(y)||new Set;a.forEach(function(ne){var oe=ne.key,he=ne.node,_e=ne.children,Pe=_e===void 0?[]:_e;!Ce.has(oe)&&!ie.has(oe)&&!Fe(he)&&Pe.filter(function(Qe){return!Fe(Qe.node)}).forEach(function(Qe){Ce.delete(Qe.key)})})}ie=new Set;for(var ee=new Set,E=Ie;E>=0;E-=1){var te=de.get(E)||new Set;te.forEach(function(ne){var oe=ne.parent,he=ne.node;if(!(Fe(he)||!ne.parent||ee.has(ne.parent.key))){if(Fe(ne.parent.node)){ee.add(oe.key);return}var _e=!0,Pe=!1;(oe.children||[]).filter(function(Qe){return!Fe(Qe.node)}).forEach(function(Qe){var Ze=Qe.key,Ve=Ce.has(Ze);_e&&!Ve&&(_e=!1),!Pe&&(Ve||ie.has(Ze))&&(Pe=!0)}),_e||Ce.delete(oe.key),Pe&&ie.add(oe.key),ee.add(oe.key)}})}return{checkedKeys:Array.from(Ce),halfCheckedKeys:Array.from(ze(ie,Ce))}}function me(Se,Le,de,Ie){var Fe=[],Ce;Ie?Ce=Ie:Ce=at;var ie=new Set(Se.filter(function(E){var te=!!(0,be.Z)(de,E);return te||Fe.push(E),te})),y=new Map,a=0;Object.keys(de).forEach(function(E){var te=de[E],ne=te.level,oe=y.get(ne);oe||(oe=new Set,y.set(ne,oe)),oe.add(te),a=Math.max(a,ne)}),(0,Oe.ZP)(!Fe.length,"Tree missing follow keys: ".concat(Fe.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var ee;return Le===!0?ee=Ge(ie,y,a,Ce):ee=je(ie,Le.halfCheckedKeys,y,a,Ce),ee}},67841:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Oe}});function Oe(be,ze){return be[ze]}},71430:function(on,Ut,we){"use strict";we.d(Ut,{F:function(){return ne},H8:function(){return te},I8:function(){return E},km:function(){return Fe},oH:function(){return a},w$:function(){return Ce},zn:function(){return y}});var Oe=we(76190),be=we(94480),ze=we(33885),at=we(75931),Ge=we(11592),je=we(2738),me=we(48736),Se=we(67841),Le=["children"];function de(oe,he){return"".concat(oe,"-").concat(he)}function Ie(oe){return oe&&oe.type&&oe.type.isTreeNode}function Fe(oe,he){return oe!=null?oe:he}function Ce(oe){var he=oe||{},_e=he.title,Pe=he._title,Qe=he.key,Ze=he.children,Ve=_e||"title";return{title:Ve,_title:Pe||[Ve],key:Qe||"key",children:Ze||"children"}}function ie(oe,he){var _e=new Map;function Pe(Qe){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Qe||[]).forEach(function(Ve){var nt=Ve[he.key],De=Ve[he.children];warning(nt!=null,"Tree node must have a certain key: [".concat(Ze).concat(nt,"]"));var St=String(nt);warning(!_e.has(St)||nt===null||nt===void 0,"Same 'key' exist in the Tree: ".concat(St)),_e.set(St,!0),Pe(De,"".concat(Ze).concat(St," > "))})}Pe(oe)}function y(oe){function he(_e){var Pe=(0,Ge.Z)(_e);return Pe.map(function(Qe){if(!Ie(Qe))return(0,me.ZP)(!Qe,"Tree/TreeNode can only accept TreeNode as children."),null;var Ze=Qe.key,Ve=Qe.props,nt=Ve.children,De=(0,at.Z)(Ve,Le),St=(0,ze.Z)({key:Ze},De),ke=he(nt);return ke.length&&(St.children=ke),St}).filter(function(Qe){return Qe})}return he(oe)}function a(oe,he,_e){var Pe=Ce(_e),Qe=Pe._title,Ze=Pe.key,Ve=Pe.children,nt=new Set(he===!0?[]:he),De=[];function St(ke){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ke.map(function(it,rt){for(var wt=de(Ot?Ot.pos:"0",rt),dt=Fe(it[Ze],wt),pt,st=0;st<Qe.length;st+=1){var ft=Qe[st];if(it[ft]!==void 0){pt=it[ft];break}}var an=(0,ze.Z)((0,ze.Z)({},(0,je.Z)(it,[].concat((0,be.Z)(Qe),[Ze,Ve]))),{},{title:pt,key:dt,parent:Ot,pos:wt,children:null,data:it,isStart:[].concat((0,be.Z)(Ot?Ot.isStart:[]),[rt===0]),isEnd:[].concat((0,be.Z)(Ot?Ot.isEnd:[]),[rt===ke.length-1])});return De.push(an),he===!0||nt.has(dt)?an.children=St(it[Ve]||[],an):an.children=[],an})}return St(oe),De}function ee(oe,he,_e){var Pe={};(0,Oe.Z)(_e)==="object"?Pe=_e:Pe={externalGetKey:_e},Pe=Pe||{};var Qe=Pe,Ze=Qe.childrenPropName,Ve=Qe.externalGetKey,nt=Qe.fieldNames,De=Ce(nt),St=De.key,ke=De.children,Ot=Ze||ke,it;Ve?typeof Ve=="string"?it=function(dt){return dt[Ve]}:typeof Ve=="function"&&(it=function(dt){return Ve(dt)}):it=function(dt,pt){return Fe(dt[St],pt)};function rt(wt,dt,pt,st){var ft=wt?wt[Ot]:oe,an=wt?de(pt.pos,dt):"0",fn=wt?[].concat((0,be.Z)(st),[wt]):[];if(wt){var Et=it(wt,an),qt={node:wt,index:dt,pos:an,key:Et,parentPos:pt.node?pt.pos:null,level:pt.level+1,nodes:fn};he(qt)}ft&&ft.forEach(function(Ln,Hn){rt(Ln,Hn,{node:wt,pos:an,level:pt?pt.level+1:-1},fn)})}rt(null)}function E(oe){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_e=he.initWrapper,Pe=he.processEntity,Qe=he.onProcessFinished,Ze=he.externalGetKey,Ve=he.childrenPropName,nt=he.fieldNames,De=arguments.length>2?arguments[2]:void 0,St=Ze||De,ke={},Ot={},it={posEntities:ke,keyEntities:Ot};return _e&&(it=_e(it)||it),ee(oe,function(rt){var wt=rt.node,dt=rt.index,pt=rt.pos,st=rt.key,ft=rt.parentPos,an=rt.level,fn=rt.nodes,Et={node:wt,nodes:fn,index:dt,key:st,pos:pt,level:an},qt=Fe(st,pt);ke[pt]=Et,Ot[qt]=Et,Et.parent=ke[ft],Et.parent&&(Et.parent.children=Et.parent.children||[],Et.parent.children.push(Et)),Pe&&Pe(Et,it)},{externalGetKey:St,childrenPropName:Ve,fieldNames:nt}),Qe&&Qe(it),it}function te(oe,he){var _e=he.expandedKeys,Pe=he.selectedKeys,Qe=he.loadedKeys,Ze=he.loadingKeys,Ve=he.checkedKeys,nt=he.halfCheckedKeys,De=he.dragOverNodeKey,St=he.dropPosition,ke=he.keyEntities,Ot=(0,Se.Z)(ke,oe),it={eventKey:oe,expanded:_e.indexOf(oe)!==-1,selected:Pe.indexOf(oe)!==-1,loaded:Qe.indexOf(oe)!==-1,loading:Ze.indexOf(oe)!==-1,checked:Ve.indexOf(oe)!==-1,halfChecked:nt.indexOf(oe)!==-1,pos:String(Ot?Ot.pos:""),dragOver:De===oe&&St===0,dragOverGapTop:De===oe&&St===-1,dragOverGapBottom:De===oe&&St===1};return it}function ne(oe){var he=oe.data,_e=oe.expanded,Pe=oe.selected,Qe=oe.checked,Ze=oe.loaded,Ve=oe.loading,nt=oe.halfChecked,De=oe.dragOver,St=oe.dragOverGapTop,ke=oe.dragOverGapBottom,Ot=oe.pos,it=oe.active,rt=oe.eventKey,wt=(0,ze.Z)((0,ze.Z)({},he),{},{expanded:_e,selected:Pe,checked:Qe,loaded:Ze,loading:Ve,halfChecked:nt,dragOver:De,dragOverGapTop:St,dragOverGapBottom:ke,pos:Ot,active:it,key:rt});return"props"in wt||Object.defineProperty(wt,"props",{get:function(){return(0,me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),oe}}),wt}},8224:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(4676);function be(ze,at,Ge,je){var me=Oe.unstable_batchedUpdates?function(Le){Oe.unstable_batchedUpdates(Ge,Le)}:Ge;return ze!=null&&ze.addEventListener&&ze.addEventListener(at,me,je),{remove:function(){ze!=null&&ze.removeEventListener&&ze.removeEventListener(at,me,je)}}}},55468:function(on,Ut,we){"use strict";we.d(Ut,{g1:function(){return Ie},os:function(){return Ce}});var Oe=/margin|padding|width|height|max|min|offset/,be={left:!0,top:!0},ze={cssFloat:1,styleFloat:1,float:1};function at(ie){return ie.nodeType===1?ie.ownerDocument.defaultView.getComputedStyle(ie,null):{}}function Ge(ie,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return ie.offsetHeight;if(y==="width")return ie.offsetWidth}return y in be||(be[y]=Oe.test(y)),be[y]?parseFloat(a)||0:a}function je(ie,y){var a=arguments.length,ee=at(ie);return y=ze[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,a===1?ee:Ge(ie,y,ee[y]||ie.style[y])}function me(ie,y,a){var ee=arguments.length;if(y=ze[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,ee===3)return typeof a=="number"&&Oe.test(y)&&(a="".concat(a,"px")),ie.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&me(ie,E,y[E]);return at(ie)}function Se(ie){return ie===document.body?document.documentElement.clientWidth:ie.offsetWidth}function Le(ie){return ie===document.body?window.innerHeight||document.documentElement.clientHeight:ie.offsetHeight}function de(){var ie=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ie,height:y}}function Ie(){var ie=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:ie,height:y}}function Fe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ce(ie){var y=ie.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},3465:function(on,Ut,we){"use strict";we.d(Ut,{G:function(){return at}});var Oe=we(47273),be=function(je){if((0,Oe.Z)()&&window.document.documentElement){var me=Array.isArray(je)?je:[je],Se=window.document.documentElement;return me.some(function(Le){return Le in Se.style})}return!1},ze=function(je,me){if(!be(je))return!1;var Se=document.createElement("div"),Le=Se.style[je];return Se.style[je]=me,Se.style[je]!==Le};function at(Ge,je){return!Array.isArray(Ge)&&je!==void 0?ze(Ge,je):be(Ge)}},51353:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Object.defineProperty(Ut,"DraggableCore",{enumerable:!0,get:function(){return Se.default}}),Ut.default=void 0;var Oe=Ie(we(59301)),be=de(we(12708)),ze=de(we(4676)),at=we(14625),Ge=we(77026),je=we(22013),me=we(80217),Se=de(we(68555)),Le=de(we(97510));function de(ee){return ee&&ee.__esModule?ee:{default:ee}}function Ie(ee,E){if(typeof WeakMap=="function")var te=new WeakMap,ne=new WeakMap;return(Ie=function(oe,he){if(!he&&oe&&oe.__esModule)return oe;var _e,Pe,Qe={__proto__:null,default:oe};if(oe===null||typeof oe!="object"&&typeof oe!="function")return Qe;if(_e=he?ne:te){if(_e.has(oe))return _e.get(oe);_e.set(oe,Qe)}for(const Ze in oe)Ze!=="default"&&{}.hasOwnProperty.call(oe,Ze)&&((Pe=(_e=Object.defineProperty)&&Object.getOwnPropertyDescriptor(oe,Ze))&&(Pe.get||Pe.set)?_e(Qe,Ze,Pe):Qe[Ze]=oe[Ze]);return Qe})(ee,E)}function Fe(){return Fe=Object.assign?Object.assign.bind():function(ee){for(var E=1;E<arguments.length;E++){var te=arguments[E];for(var ne in te)({}).hasOwnProperty.call(te,ne)&&(ee[ne]=te[ne])}return ee},Fe.apply(null,arguments)}function Ce(ee,E,te){return(E=ie(E))in ee?Object.defineProperty(ee,E,{value:te,enumerable:!0,configurable:!0,writable:!0}):ee[E]=te,ee}function ie(ee){var E=y(ee,"string");return typeof E=="symbol"?E:E+""}function y(ee,E){if(typeof ee!="object"||!ee)return ee;var te=ee[Symbol.toPrimitive];if(te!==void 0){var ne=te.call(ee,E||"default");if(typeof ne!="object")return ne;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(ee)}class a extends Oe.Component{static getDerivedStateFromProps(E,te){let{position:ne}=E,{prevPropsPosition:oe}=te;return ne&&(!oe||ne.x!==oe.x||ne.y!==oe.y)?((0,Le.default)("Draggable: getDerivedStateFromProps %j",{position:ne,prevPropsPosition:oe}),{x:ne.x,y:ne.y,prevPropsPosition:Nc({},ne)}):null}constructor(E){super(E),Ce(this,"onDragStart",(te,ne)=>{if((0,Le.default)("Draggable: onDragStart: %j",ne),this.props.onStart(te,(0,je.createDraggableData)(this,ne))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),Ce(this,"onDrag",(te,ne)=>{if(!this.state.dragging)return!1;(0,Le.default)("Draggable: onDrag: %j",ne);const oe=(0,je.createDraggableData)(this,ne),he={x:oe.x,y:oe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Pe,y:Qe}=he;he.x+=this.state.slackX,he.y+=this.state.slackY;const[Ze,Ve]=(0,je.getBoundPosition)(this,he.x,he.y);he.x=Ze,he.y=Ve,he.slackX=this.state.slackX+(Pe-he.x),he.slackY=this.state.slackY+(Qe-he.y),oe.x=he.x,oe.y=he.y,oe.deltaX=he.x-this.state.x,oe.deltaY=he.y-this.state.y}if(this.props.onDrag(te,oe)===!1)return!1;this.setState(he)}),Ce(this,"onDragStop",(te,ne)=>{if(!this.state.dragging||this.props.onStop(te,(0,je.createDraggableData)(this,ne))===!1)return!1;(0,Le.default)("Draggable: onDragStop: %j",ne);const he={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Pe,y:Qe}=this.props.position;he.x=Pe,he.y=Qe}this.setState(he)}),this.state={dragging:!1,dragged:!1,x:E.position?E.position.x:E.defaultPosition.x,y:E.position?E.position.y:E.defaultPosition.y,prevPropsPosition:Nc({},E.position),slackX:0,slackY:0,isElementSVG:!1},E.position&&!(E.onDrag||E.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var E,te,ne;return(ne=(te=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:te.current)!=null?ne:ze.default.findDOMNode(this)}render(){const dt=this.props,{axis:E,bounds:te,children:ne,defaultPosition:oe,defaultClassName:he,defaultClassNameDragging:_e,defaultClassNameDragged:Pe,position:Qe,positionOffset:Ze,scale:Ve}=dt,nt=Uv(dt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let De={},St=null;const Ot=!!!Qe||this.state.dragging,it=Qe||oe,rt={x:(0,je.canDragX)(this)&&Ot?this.state.x:it.x,y:(0,je.canDragY)(this)&&Ot?this.state.y:it.y};this.state.isElementSVG?St=(0,Ge.createSVGTransform)(rt,Ze):De=(0,Ge.createCSSTransform)(rt,Ze);const wt=(0,at.clsx)(ne.props.className||"",he,{[_e]:this.state.dragging,[Pe]:this.state.dragged});return Oe.createElement(Se.default,Fe({},nt,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),Oe.cloneElement(Oe.Children.only(ne),{className:wt,style:Nc(Nc({},ne.props.style),De),transform:St}))}}Ut.default=a,Ce(a,"displayName","Draggable"),Ce(a,"propTypes",Cp(Nc({},Se.default.propTypes),{axis:be.default.oneOf(["both","x","y","none"]),bounds:be.default.oneOfType([be.default.shape({left:be.default.number,right:be.default.number,top:be.default.number,bottom:be.default.number}),be.default.string,be.default.oneOf([!1])]),defaultClassName:be.default.string,defaultClassNameDragging:be.default.string,defaultClassNameDragged:be.default.string,defaultPosition:be.default.shape({x:be.default.number,y:be.default.number}),positionOffset:be.default.shape({x:be.default.oneOfType([be.default.number,be.default.string]),y:be.default.oneOfType([be.default.number,be.default.string])}),position:be.default.shape({x:be.default.number,y:be.default.number}),className:me.dontSetMe,style:me.dontSetMe,transform:me.dontSetMe})),Ce(a,"defaultProps",Cp(Nc({},Se.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var Oe=Le(we(59301)),be=Se(we(12708)),ze=Se(we(4676)),at=we(77026),Ge=we(22013),je=we(80217),me=Se(we(97510));function Se(a){return a&&a.__esModule?a:{default:a}}function Le(a,ee){if(typeof WeakMap=="function")var E=new WeakMap,te=new WeakMap;return(Le=function(ne,oe){if(!oe&&ne&&ne.__esModule)return ne;var he,_e,Pe={__proto__:null,default:ne};if(ne===null||typeof ne!="object"&&typeof ne!="function")return Pe;if(he=oe?te:E){if(he.has(ne))return he.get(ne);he.set(ne,Pe)}for(const Qe in ne)Qe!=="default"&&{}.hasOwnProperty.call(ne,Qe)&&((_e=(he=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ne,Qe))&&(_e.get||_e.set)?he(Pe,Qe,_e):Pe[Qe]=ne[Qe]);return Pe})(a,ee)}function de(a,ee,E){return(ee=Ie(ee))in a?Object.defineProperty(a,ee,{value:E,enumerable:!0,configurable:!0,writable:!0}):a[ee]=E,a}function Ie(a){var ee=Fe(a,"string");return typeof ee=="symbol"?ee:ee+""}function Fe(a,ee){if(typeof a!="object"||!a)return a;var E=a[Symbol.toPrimitive];if(E!==void 0){var te=E.call(a,ee||"default");if(typeof te!="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ee==="string"?String:Number)(a)}const Ce={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let ie=Ce.mouse;class y extends Oe.Component{constructor(){super(...arguments),de(this,"dragging",!1),de(this,"lastX",NaN),de(this,"lastY",NaN),de(this,"touchIdentifier",null),de(this,"mounted",!1),de(this,"handleDragStart",ee=>{if(this.props.onMouseDown(ee),!this.props.allowAnyClick&&typeof ee.button=="number"&&ee.button!==0)return!1;const E=this.findDOMNode();if(!E||!E.ownerDocument||!E.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:te}=E;if(this.props.disabled||!(ee.target instanceof te.defaultView.Node)||this.props.handle&&!(0,at.matchesSelectorAndParentsTo)(ee.target,this.props.handle,E)||this.props.cancel&&(0,at.matchesSelectorAndParentsTo)(ee.target,this.props.cancel,E))return;ee.type==="touchstart"&&!this.props.allowMobileScroll&&ee.preventDefault();const ne=(0,at.getTouchIdentifier)(ee);this.touchIdentifier=ne;const oe=(0,Ge.getControlPosition)(ee,ne,this);if(oe==null)return;const{x:he,y:_e}=oe,Pe=(0,Ge.createCoreData)(this,he,_e);(0,me.default)("DraggableCore: handleDragStart: %j",Pe),(0,me.default)("calling",this.props.onStart),!(this.props.onStart(ee,Pe)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,at.addUserSelectStyles)(te),this.dragging=!0,this.lastX=he,this.lastY=_e,(0,at.addEvent)(te,ie.move,this.handleDrag),(0,at.addEvent)(te,ie.stop,this.handleDragStop))}),de(this,"handleDrag",ee=>{const E=(0,Ge.getControlPosition)(ee,this.touchIdentifier,this);if(E==null)return;let{x:te,y:ne}=E;if(Array.isArray(this.props.grid)){let _e=te-this.lastX,Pe=ne-this.lastY;if([_e,Pe]=(0,Ge.snapToGrid)(this.props.grid,_e,Pe),!_e&&!Pe)return;te=this.lastX+_e,ne=this.lastY+Pe}const oe=(0,Ge.createCoreData)(this,te,ne);if((0,me.default)("DraggableCore: handleDrag: %j",oe),this.props.onDrag(ee,oe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(_e){const Pe=document.createEvent("MouseEvents");Pe.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Pe)}return}this.lastX=te,this.lastY=ne}),de(this,"handleDragStop",ee=>{if(!this.dragging)return;const E=(0,Ge.getControlPosition)(ee,this.touchIdentifier,this);if(E==null)return;let{x:te,y:ne}=E;if(Array.isArray(this.props.grid)){let Pe=te-this.lastX||0,Qe=ne-this.lastY||0;[Pe,Qe]=(0,Ge.snapToGrid)(this.props.grid,Pe,Qe),te=this.lastX+Pe,ne=this.lastY+Qe}const oe=(0,Ge.createCoreData)(this,te,ne);if(this.props.onStop(ee,oe)===!1||this.mounted===!1)return!1;const _e=this.findDOMNode();_e&&this.props.enableUserSelectHack&&(0,at.scheduleRemoveUserSelectStyles)(_e.ownerDocument),(0,me.default)("DraggableCore: handleDragStop: %j",oe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,_e&&((0,me.default)("DraggableCore: Removing handlers"),(0,at.removeEvent)(_e.ownerDocument,ie.move,this.handleDrag),(0,at.removeEvent)(_e.ownerDocument,ie.stop,this.handleDragStop))}),de(this,"onMouseDown",ee=>(ie=Ce.mouse,this.handleDragStart(ee))),de(this,"onMouseUp",ee=>(ie=Ce.mouse,this.handleDragStop(ee))),de(this,"onTouchStart",ee=>(ie=Ce.touch,this.handleDragStart(ee))),de(this,"onTouchEnd",ee=>(ie=Ce.touch,this.handleDragStop(ee)))}componentDidMount(){this.mounted=!0;const ee=this.findDOMNode();ee&&(0,at.addEvent)(ee,Ce.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const ee=this.findDOMNode();if(ee){const{ownerDocument:E}=ee;(0,at.removeEvent)(E,Ce.mouse.move,this.handleDrag),(0,at.removeEvent)(E,Ce.touch.move,this.handleDrag),(0,at.removeEvent)(E,Ce.mouse.stop,this.handleDragStop),(0,at.removeEvent)(E,Ce.touch.stop,this.handleDragStop),(0,at.removeEvent)(ee,Ce.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,at.scheduleRemoveUserSelectStyles)(E)}}findDOMNode(){var ee,E,te;return(ee=this.props)!=null&&ee.nodeRef?(te=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:te.current:ze.default.findDOMNode(this)}render(){return Oe.cloneElement(Oe.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ut.default=y,de(y,"displayName","DraggableCore"),de(y,"propTypes",{allowAnyClick:be.default.bool,allowMobileScroll:be.default.bool,children:be.default.node.isRequired,disabled:be.default.bool,enableUserSelectHack:be.default.bool,offsetParent:function(a,ee){if(a[ee]&&a[ee].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:be.default.arrayOf(be.default.number),handle:be.default.string,cancel:be.default.string,nodeRef:be.default.object,onStart:be.default.func,onDrag:be.default.func,onStop:be.default.func,onMouseDown:be.default.func,scale:be.default.number,className:je.dontSetMe,style:je.dontSetMe,transform:je.dontSetMe}),de(y,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(on,Ut,we){"use strict";const{default:Oe,DraggableCore:be}=we(51353);on.exports=Oe,on.exports.default=Oe,on.exports.DraggableCore=be},77026:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.addClassName=he,Ut.addEvent=me,Ut.addUserSelectStyles=te,Ut.createCSSTransform=ie,Ut.createSVGTransform=y,Ut.getTouch=ee,Ut.getTouchIdentifier=E,Ut.getTranslation=a,Ut.innerHeight=Ie,Ut.innerWidth=Fe,Ut.matchesSelector=Ge,Ut.matchesSelectorAndParentsTo=je,Ut.offsetXYFromParent=Ce,Ut.outerHeight=Le,Ut.outerWidth=de,Ut.removeClassName=_e,Ut.removeEvent=Se,Ut.scheduleRemoveUserSelectStyles=ne;var Oe=we(80217),be=ze(we(76172));function ze(Pe,Qe){if(typeof WeakMap=="function")var Ze=new WeakMap,Ve=new WeakMap;return(ze=function(nt,De){if(!De&&nt&&nt.__esModule)return nt;var St,ke,Ot={__proto__:null,default:nt};if(nt===null||typeof nt!="object"&&typeof nt!="function")return Ot;if(St=De?Ve:Ze){if(St.has(nt))return St.get(nt);St.set(nt,Ot)}for(const it in nt)it!=="default"&&{}.hasOwnProperty.call(nt,it)&&((ke=(St=Object.defineProperty)&&Object.getOwnPropertyDescriptor(nt,it))&&(ke.get||ke.set)?St(Ot,it,ke):Ot[it]=nt[it]);return Ot})(Pe,Qe)}let at="";function Ge(Pe,Qe){return at||(at=(0,Oe.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ze){return(0,Oe.isFunction)(Pe[Ze])})),(0,Oe.isFunction)(Pe[at])?Pe[at](Qe):!1}function je(Pe,Qe,Ze){let Ve=Pe;do{if(Ge(Ve,Qe))return!0;if(Ve===Ze)return!1;Ve=Ve.parentNode}while(Ve);return!1}function me(Pe,Qe,Ze,Ve){if(!Pe)return;const nt=Nc({capture:!0},Ve);Pe.addEventListener?Pe.addEventListener(Qe,Ze,nt):Pe.attachEvent?Pe.attachEvent("on"+Qe,Ze):Pe["on"+Qe]=Ze}function Se(Pe,Qe,Ze,Ve){if(!Pe)return;const nt=Nc({capture:!0},Ve);Pe.removeEventListener?Pe.removeEventListener(Qe,Ze,nt):Pe.detachEvent?Pe.detachEvent("on"+Qe,Ze):Pe["on"+Qe]=null}function Le(Pe){let Qe=Pe.clientHeight;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe+=(0,Oe.int)(Ze.borderTopWidth),Qe+=(0,Oe.int)(Ze.borderBottomWidth),Qe}function de(Pe){let Qe=Pe.clientWidth;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe+=(0,Oe.int)(Ze.borderLeftWidth),Qe+=(0,Oe.int)(Ze.borderRightWidth),Qe}function Ie(Pe){let Qe=Pe.clientHeight;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe-=(0,Oe.int)(Ze.paddingTop),Qe-=(0,Oe.int)(Ze.paddingBottom),Qe}function Fe(Pe){let Qe=Pe.clientWidth;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe-=(0,Oe.int)(Ze.paddingLeft),Qe-=(0,Oe.int)(Ze.paddingRight),Qe}function Ce(Pe,Qe,Ze){const nt=Qe===Qe.ownerDocument.body?{left:0,top:0}:Qe.getBoundingClientRect(),De=(Pe.clientX+Qe.scrollLeft-nt.left)/Ze,St=(Pe.clientY+Qe.scrollTop-nt.top)/Ze;return{x:De,y:St}}function ie(Pe,Qe){const Ze=a(Pe,Qe,"px");return{[(0,be.browserPrefixToKey)("transform",be.default)]:Ze}}function y(Pe,Qe){return a(Pe,Qe,"")}function a(Pe,Qe,Ze){let{x:Ve,y:nt}=Pe,De=`translate(${Ve}${Ze},${nt}${Ze})`;if(Qe){const St=`${typeof Qe.x=="string"?Qe.x:Qe.x+Ze}`,ke=`${typeof Qe.y=="string"?Qe.y:Qe.y+Ze}`;De=`translate(${St}, ${ke})`+De}return De}function ee(Pe,Qe){return Pe.targetTouches&&(0,Oe.findInArray)(Pe.targetTouches,Ze=>Qe===Ze.identifier)||Pe.changedTouches&&(0,Oe.findInArray)(Pe.changedTouches,Ze=>Qe===Ze.identifier)}function E(Pe){if(Pe.targetTouches&&Pe.targetTouches[0])return Pe.targetTouches[0].identifier;if(Pe.changedTouches&&Pe.changedTouches[0])return Pe.changedTouches[0].identifier}function te(Pe){if(!Pe)return;let Qe=Pe.getElementById("react-draggable-style-el");Qe||(Qe=Pe.createElement("style"),Qe.type="text/css",Qe.id="react-draggable-style-el",Qe.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,Qe.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,Pe.getElementsByTagName("head")[0].appendChild(Qe)),Pe.body&&he(Pe.body,"react-draggable-transparent-selection")}function ne(Pe){window.requestAnimationFrame?window.requestAnimationFrame(()=>{oe(Pe)}):oe(Pe)}function oe(Pe){if(Pe)try{if(Pe.body&&_e(Pe.body,"react-draggable-transparent-selection"),Pe.selection)Pe.selection.empty();else{const Qe=(Pe.defaultView||window).getSelection();Qe&&Qe.type!=="Caret"&&Qe.removeAllRanges()}}catch(Qe){}}function he(Pe,Qe){Pe.classList?Pe.classList.add(Qe):Pe.className.match(new RegExp(`(?:^|\\s)${Qe}(?!\\S)`))||(Pe.className+=` ${Qe}`)}function _e(Pe,Qe){Pe.classList?Pe.classList.remove(Qe):Pe.className=Pe.className.replace(new RegExp(`(?:^|\\s)${Qe}(?!\\S)`,"g"),"")}},76172:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.browserPrefixToKey=be,Ut.browserPrefixToStyle=ze,Ut.default=void 0,Ut.getPrefix=Oe;const we=["Moz","Webkit","O","ms"];function Oe(){var Se,Le;let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const me=(Le=(Se=window.document)==null?void 0:Se.documentElement)==null?void 0:Le.style;if(!me||je in me)return"";for(let de=0;de<we.length;de++)if(be(je,we[de])in me)return we[de];return""}function be(je,me){return me?`${me}${at(je)}`:je}function ze(je,me){return me?`-${me.toLowerCase()}-${je}`:je}function at(je){let me="",Se=!0;for(let Le=0;Le<je.length;Le++)Se?(me+=je[Le].toUpperCase(),Se=!1):je[Le]==="-"?Se=!0:me+=je[Le];return me}var Ge=Ut.default=Oe()},97510:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=we;function we(){}},22013:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.canDragX=Ge,Ut.canDragY=je,Ut.createCoreData=Se,Ut.createDraggableData=Le,Ut.getBoundPosition=ze,Ut.getControlPosition=me,Ut.snapToGrid=at;var Oe=we(80217),be=we(77026);function ze(Fe,Ce,ie){if(!Fe.props.bounds)return[Ce,ie];let{bounds:y}=Fe.props;y=typeof y=="string"?y:de(y);const a=Ie(Fe);if(typeof y=="string"){const{ownerDocument:ee}=a,E=ee.defaultView;let te;if(y==="parent"?te=a.parentNode:te=a.getRootNode().querySelector(y),!(te instanceof E.HTMLElement))throw new Error('Bounds selector "'+y+'" could not find an element.');const ne=te,oe=E.getComputedStyle(a),he=E.getComputedStyle(ne);y={left:-a.offsetLeft+(0,Oe.int)(he.paddingLeft)+(0,Oe.int)(oe.marginLeft),top:-a.offsetTop+(0,Oe.int)(he.paddingTop)+(0,Oe.int)(oe.marginTop),right:(0,be.innerWidth)(ne)-(0,be.outerWidth)(a)-a.offsetLeft+(0,Oe.int)(he.paddingRight)-(0,Oe.int)(oe.marginRight),bottom:(0,be.innerHeight)(ne)-(0,be.outerHeight)(a)-a.offsetTop+(0,Oe.int)(he.paddingBottom)-(0,Oe.int)(oe.marginBottom)}}return(0,Oe.isNum)(y.right)&&(Ce=Math.min(Ce,y.right)),(0,Oe.isNum)(y.bottom)&&(ie=Math.min(ie,y.bottom)),(0,Oe.isNum)(y.left)&&(Ce=Math.max(Ce,y.left)),(0,Oe.isNum)(y.top)&&(ie=Math.max(ie,y.top)),[Ce,ie]}function at(Fe,Ce,ie){const y=Math.round(Ce/Fe[0])*Fe[0],a=Math.round(ie/Fe[1])*Fe[1];return[y,a]}function Ge(Fe){return Fe.props.axis==="both"||Fe.props.axis==="x"}function je(Fe){return Fe.props.axis==="both"||Fe.props.axis==="y"}function me(Fe,Ce,ie){const y=typeof Ce=="number"?(0,be.getTouch)(Fe,Ce):null;if(typeof Ce=="number"&&!y)return null;const a=Ie(ie),ee=ie.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,be.offsetXYFromParent)(y||Fe,ee,ie.props.scale)}function Se(Fe,Ce,ie){const y=!(0,Oe.isNum)(Fe.lastX),a=Ie(Fe);return y?{node:a,deltaX:0,deltaY:0,lastX:Ce,lastY:ie,x:Ce,y:ie}:{node:a,deltaX:Ce-Fe.lastX,deltaY:ie-Fe.lastY,lastX:Fe.lastX,lastY:Fe.lastY,x:Ce,y:ie}}function Le(Fe,Ce){const ie=Fe.props.scale;return{node:Ce.node,x:Fe.state.x+Ce.deltaX/ie,y:Fe.state.y+Ce.deltaY/ie,deltaX:Ce.deltaX/ie,deltaY:Ce.deltaY/ie,lastX:Fe.state.x,lastY:Fe.state.y}}function de(Fe){return{left:Fe.left,top:Fe.top,right:Fe.right,bottom:Fe.bottom}}function Ie(Fe){const Ce=Fe.findDOMNode();if(!Ce)throw new Error("<DraggableCore>: Unmounted during event!");return Ce}},80217:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.dontSetMe=at,Ut.findInArray=we,Ut.int=ze,Ut.isFunction=Oe,Ut.isNum=be;function we(Ge,je){for(let me=0,Se=Ge.length;me<Se;me++)if(je.apply(je,[Ge[me],me,Ge]))return Ge[me]}function Oe(Ge){return typeof Ge=="function"||Object.prototype.toString.call(Ge)==="[object Function]"}function be(Ge){return typeof Ge=="number"&&!isNaN(Ge)}function ze(Ge){return parseInt(Ge,10)}function at(Ge,je,me){if(Ge[je])return new Error(`Invalid prop ${je} passed to ${me} - do not set this, set it on the child.`)}},27774:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.SizeSensorId=Ut.SensorTabIndex=Ut.SensorClassName=void 0;var we="size-sensor-id";Ut.SizeSensorId=we;var Oe="size-sensor-object";Ut.SensorClassName=Oe;var be="-1";Ut.SensorTabIndex=be},79301:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var we=function(be){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,at=null;return function(){for(var Ge=this,je=arguments.length,me=new Array(je),Se=0;Se<je;Se++)me[Se]=arguments[Se];clearTimeout(at),at=setTimeout(function(){be.apply(Ge,me)},ze)}};Ut.default=we},79789:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var we=1,Oe=function(){return"".concat(we++)};Ut.default=Oe},47242:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.ver=Ut.clear=Ut.bind=void 0;var Oe=we(95270),be=function(je,me){var Se=(0,Oe.getSensor)(je);return Se.bind(me),function(){Se.unbind(me)}};Ut.bind=be;var ze=function(je){var me=(0,Oe.getSensor)(je);(0,Oe.removeSensor)(me)};Ut.clear=ze;var at="1.0.2";Ut.ver=at},95270:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.removeSensor=Ut.getSensor=Ut.Sensors=void 0;var Oe=at(we(79789)),be=we(57829),ze=we(27774);function at(Le){return Le&&Le.__esModule?Le:{default:Le}}var Ge={};Ut.Sensors=Ge;function je(Le){Le&&Ge[Le]&&delete Ge[Le]}var me=function(de){var Ie=de.getAttribute(ze.SizeSensorId);if(Ie&&Ge[Ie])return Ge[Ie];var Fe=(0,Oe.default)();de.setAttribute(ze.SizeSensorId,Fe);var Ce=(0,be.createSensor)(de,function(){return je(Fe)});return Ge[Fe]=Ce,Ce};Ut.getSensor=me;var Se=function(de){var Ie=de.element.getAttribute(ze.SizeSensorId);de.destroy(),je(Ie)};Ut.removeSensor=Se},57829:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=we(20953),be=we(55202),ze=typeof ResizeObserver!="undefined"?be.createSensor:Oe.createSensor;Ut.createSensor=ze},20953:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=ze(we(79301)),be=we(27774);function ze(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}}var at=function(je,me){var Se=void 0,Le=[],de=function(){getComputedStyle(je).position==="static"&&(je.style.position="relative");var a=document.createElement("object");return a.onload=function(){a.contentDocument.defaultView.addEventListener("resize",Ie),Ie()},a.style.display="block",a.style.position="absolute",a.style.top="0",a.style.left="0",a.style.height="100%",a.style.width="100%",a.style.overflow="hidden",a.style.pointerEvents="none",a.style.zIndex="-1",a.style.opacity="0",a.setAttribute("class",be.SensorClassName),a.setAttribute("tabindex",be.SensorTabIndex),a.type="text/html",je.appendChild(a),a.data="about:blank",a},Ie=(0,Oe.default)(function(){Le.forEach(function(y){y(je)})}),Fe=function(a){Se||(Se=de()),Le.indexOf(a)===-1&&Le.push(a)},Ce=function(){Se&&Se.parentNode&&(Se.contentDocument&&Se.contentDocument.defaultView.removeEventListener("resize",Ie),Se.parentNode.removeChild(Se),je.removeAttribute(be.SizeSensorId),Se=void 0,Le=[],me&&me())},ie=function(a){var ee=Le.indexOf(a);ee!==-1&&Le.splice(ee,1),Le.length===0&&Se&&Ce()};return{element:je,bind:Fe,destroy:Ce,unbind:ie}};Ut.createSensor=at},55202:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=we(27774),be=ze(we(79301));function ze(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}}var at=function(je,me){var Se=void 0,Le=[],de=(0,be.default)(function(){Le.forEach(function(y){y(je)})}),Ie=function(){var a=new ResizeObserver(de);return a.observe(je),de(),a},Fe=function(a){Se||(Se=Ie()),Le.indexOf(a)===-1&&Le.push(a)},Ce=function(){Se.disconnect(),Le=[],Se=void 0,je.removeAttribute(Oe.SizeSensorId),me&&me()},ie=function(a){var ee=Le.indexOf(a);ee!==-1&&Le.splice(ee,1),Le.length===0&&Se&&Ce()};return{element:je,bind:Fe,destroy:Ce,unbind:ie}};Ut.createSensor=at},12192:function(on){"use strict";on.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAiCAYAAAAtZZsLAAAL7klEQVR4AcyYa2xcx3XHz8zcx+7dvbt7l7t8iw9JXIt05dKN5AfKJEBVO3Rb1GVQwwhatGmBumBZIP3SFijaT2WCNl8SBAgcLhjkIeeBBE4QJDYDI4idOLbDJHIs60FTWlIUSZFc7vu99zH35sxyV5ITyZKSLxnM3NmdOTPzm/+ZM8tLCr/n6XcC/JPNlcef3lh9orPHkSu/HHlsd/Vn2sXv93XaRP302kriifW3HgfPu77eU7tXvpBYP/Nfor9T/ndjY3Rq851/hL2zgU7b9QGdhrutH7169lSPqz+uer4PPbZ5+XFj7dWhsUjXW/f19px8onv8vPaL51uQf7mVOqoQ9eExNxr94NULHxSQT+9sPa/0hD96oqfv4/1X3vxPwPRvV66MXCRsdswJTTxqsr/pQP5WgAIu5kWn9xpgbjdIxQD64ZNdwxcbES38A7Ag2hWO/sXhk+ce2njzUYWrD1/LudmVKuTvd7Xgk3tbr1ztVT98hjjgaj740+7e/3to49wnL1H6z3t1z9lqOs1xMI52IO8Z8CQqF/Gi0/mKZzm2w12VB7ciykc3w77AFrdAQjVWwIFBI9z1cLjne3sZKw2ywoFy85JP+Y/VHvX9O9xGK4AN4KBqGvxxX++/73FrFJvRjnqZBrdOkGhiusn+/p4ABVzAjk5nCtxyucutgKen42R2U/HUYr0GnaSID44L4Rr7Ts12PM/lpt0lz692eVOFm+yEGcNHo+JktJqcAkHjAjBGaZ1xPmh5L4smNLlzfhCVUxCuWOKW5wE3Na7vxmB237XUer0OhJDWJAoQSNgU2I65+PVLlS8FfYpT7mbzF/XmVKVabdmIBwcPjoIEtWIz/cZm/VlHNGCHjwEL+Dy2w9PJxcTxFYptd8wTVy+cUhrGdC5jW9x2uY1we1F3Nt+sqo1GAwghePY9oJTCsRactfj1jfJpIyJBvovOX1bKLThCDjbh4Q7vQ7hqvpl+c622oLgMOShojDJd81jeSyeXhk6sCTDsENXtywOonK8amM7tW5ZHgDtBVC5izWYb5etwYjSlFBIOA3mHL35rrXw6IhNSjpL5dSnfghNQogjbAVkFK2+lz1+uLlCHUBcpVJmyUNBjxZvghC12ierWJYHK0XJ4upBxLA7Abb+j70bM2UytqFrVG2eOEAKD1A/hTb744mrxdNhPSB3dmvLSU41ypTU5IaRVBwIBUHJ2+tJqdYFwgvuiIDHKuoKEVbxisqMctNNtAR9YO3tKKaJyadNyXJdz3dX3w/XZYjGjQgkXpQcLinkMnw59W+7iy6hcCw6VW3O2p3i+KLpbRagn4EJZJ71xvnIdjkqERUOENUge4Y633Noa0H7cEvAwKmcV9encronKEe4IuFBltprdVUEo0oYjhEDUH4LRLbL4I4RTZUIaXd78ZmN9CrKF9hIHVTAYhFAJ0vsX2sq5AIwQFjMoAyaU+004MZKKx81lApWTM/7p3DWEQ+F4yNWzofJsc3f7QDmEatljbfhCcHjPt/jGSuU5H8LxuDt/rXJpCnI3wXkuCOXCVSmd+2VlwbMJBUqByYxF4xLj7wEn1nkXoDhzvKBP5682MCA87oVAzwfzs/a1zQPlSNsc67AWgSMZfXH5fP60z4dTRfn8bnFlCrJ5/HIjK7oO0YY/XTpbb7kVXLelXCRGmSIXkz8curVynRnaKwI8sHr2FLmmTgs4Tj3uBh29GEa4bQFXBkDFQCTcvRaKwtGcsfjWxdJzPr9MaJc9v1e8MAU5hMP+ji0xwhCz9HT17eaCx3FX2CczmUX7JRb0le8IB5hagIm1C6fMXGA6v4VuBYSLuHolUpi1t6+icgKuZQaAZ08y4pAodi+uni0/5wtKoMSt+f3CuSnI5nC6dsZ7DqJhiDvhdPOctQAcgxW7JIoB0YvK3SUcDgH6vrVLf+7tyh04l+iOUQsLuA2EE9HKhF2rSKEYJEp9ydRK+blAgMlqzP7Efv7tKRBnDgVqGaELIRgA/L1Ou+c5wuG2cH+UEBoZkIgWqiZfv4NbW/O0H1T2pEedgke4bbvgua4V4RO2XVWh3jgwEWqIT5RAyA3XzTL/PgBe/RFPL8qF90GtLnrfXWQFtIr/DafpoGORDnsZA6owsvP6oT9Yx693nelPw9b/S4fdvXBI9oFHqbzle1WHnmU41A8gSTcm4i7k7S3N7LU+39sVjFZ23EKkaPyrOjhmgogSD++NjnWpDPvR/F8FR9VJ7nm2aDYdzynnYfjE5bVn8DvFcleZQvxY5XLlSlI9JqfDEckHjsfkPXUppAwswxBCsvZchIBQddvZMpxRJzncrcVKu+Ryl9U9pw4eNUHTUFjvYFGXg1PIQq63PhMcklqQYpZy2WqUCyTxgVTqn9BQNGH13vnA6JE/K7+TTyXVIzSthxDSZZK061sKy/3LMNiGFK4W56xWgw3YNewxL3mkT4vnd7xU3OmZUweOmBDww/VkO9AoF6HSZ82EB6VJ2/NsCVerFO16rkgTp+4SEoe0p2xD+scOIAkQSd2VlwxfG1JCdws3tpVcZxmDHKHJRFyLF9OQ6m3G5pR+hBRKtqcEx4FSrQS1IW+ma0idNLlnU0WCasmp75dp4jEB6eGfIB37W9Q3AEWngMymkv5hSIeCks8DJvmvqUtRuRuVxFcMASnssDgYROty3pCPKcmxiBIv5SDV14zOqX2jJmg3KYmQxUYFGiNkpntQnrRN2waUslpz64W6lHhybeMZeA/IdwPiwtCGVBEyogtITwrimewmsWUy2AeA4SjMgBIwTROu+MqGPu5P3hdW4rUMpPoboTktPnQDEo8F5xxKzRqYR9WZniFl0rZRSby0SwiZaZLEX2/cHvI3AcXqAlJ3F+R+Nx1CSEKZpGWVpR4eXlZ6uwFuUrLZbEIq2DC679OS41ElXtmD1KFKYC4c7T+AxGNBCAEBiTECymFtpm9InjRNbuMeoVJ365kmSzx9G0gqeG5ZMLovtiF1nfqIS6RQQV3qcfTlQFcUOpCEEGg0GnA+yo1DY4HkHyJkLSsgtblYMG4yTQNXXN64iIDc9Swwhnwzh4bVSdM9UFK4u2SxxEc28Qr6NXdTHHf7jJDnA+6CP+amwwHq8xAynJGW4qZ/2YhEgFKKx8cDQg4g34l6xlgimDxu+OPVDE+NVNS5uGqYfv+NMykg1xSAgQHfzGCPPNlASECKArq7afkSf/trkNh1e75WD0L+POAs+LvddERDJQmTogV5KVZXWpCMsZYZIQRy3IY1A4xjR/zJP8LAqe7x1FCJzcWUsOkTl3nLEjC4HVhXCSQG/TPD3WzSQkiCgZMx3brtKIm/uwnyzoBiUoR8w+8sKIaTDqGShBOpK0+X4mWyHA6FMG5YS0lhugUctg1i3D8aTD4Y9/fworU+mPXmYrLegvS8A8Ur4MKWQmGiLzBzOKY8yIG7EnokY9I6cCXxD5uXn3nqG0+xuwMUKyPkawjJdCutB9HdCGmUpKWBnLNsaAE8knhPop14CkgvIhvjA8qnqUuoVLc3htPWXJ8rX4dkQEBA5hByvN//JA3AIRffpZERdppQ99PghP8Dn7i3F3fxs/hjhFQ0Kx1Dd1OPSFpVfnF4v/GLUaaAwhj+TwGgHxjkLBOWG6VXeyOKLlM/syr2RiLPPzbeBCsqK2Dhe7GGkGHXg7fLhQID1hRwIqB6FFmpgJl7qVY4R3HT95ZRyZcQElBJQ3F9UUKD3bb7zfpe7tnDtgcTIIFhOXAuk5l/of/oR3w+xx1QSXBA9QcYNTNmNv+hQ1VeP452Iy6Bt/b3t14sZyZGmP2arkIwIuFO1Wbt+er2C3tHHvr5vQOK7SDkC4qzAH6eVQLN6rKV/dyZwYl/Ke4WPtNVa8JKOvvxnwxO/A8Q4n5z9Oj3eMjhSsgO/sDOv/bK6PFXanv5h2Ils3Z2P7P9WqN4Eg4/kv7qyJGvDPm9NyXNdL6NcPXx958RS/12gGIkQn5Hyzz7tcr5T6XGHimLpuXh8Y998crqydeHJv4bOgkhv9o/8t0v1zdf2kcQ0fzy2P0XPn919diZRvGEgBNtonx2cPj0NxpXn+3AibZfAQAA//+5/TE9AAAABklEQVQDAOAyzn/SMY3FAAAAAElFTkSuQmCC"},55541:function(on){"use strict";on.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAABICAYAAACa5tCtAAAAAXNSR0IArs4c6QAAC8tJREFUeF7t3Q2MHGUdBvDnmb27trSWttfdUmltb/cKCkSNQoDQREWJwSCSIgiNEYXy0Q/lK9VAAn4gAVJQoemVgkXAUEKQKiBqUpVoimhiUBqDkd7eUVuE3t71KL167d3t/O3syd6dXO12b3b3ndlnkyYlt/O+///vHfpk5uaD1p09DWZfhW8XA5gEfSQgAQlIQAKRE2A/iCfgsY3v1G773kiiv28ZwOUwmx+5nlSwBCQgAQnUnwC5HbT70dj0I85Y0BsAFIOtGHBmCfRkz0ceqwA7u/6U1LEEJCABCTgtQOZh+DngtSHVsoWkja73XcE2+ofWs+Mk5AdWAvgSDNOcblTFSUACEpBAvAXINwH8EInJG9g8b9fhmv2/wVY8iuvpmY5872UAVsLsxHjLqTsJSEACEnBKgPgdwPVIZjaTHDxSbSUF26jTlMSezk9hyF8F4jyYeUeaQD+XgAQkIAEJHLUA8Tbg/RiJhjY2L3jlaLY/qmAbc5qyt3MhhvLL4dsVAJqPZlJ9VwISkIAEJDC+ALfBQxts+mNMpfrKUSo72EaO4jonI+dfClhwmvKj5RShbSQgAQlIoK4FBgD8BGAb57S+MFGJCQfbmKO4ns4zMDS0CsBFAJomWpy2l4AEJCCBOAvwNZAbMOWYjXzP3FxYnYYabMWjuL6OOfi3fyVg18BwfFjFahwJSEACEoi4AOkD+BXI9Zid/gWH/zvUT0WCbeQ0pTUg13kBkF8Fw8dCrVyDSUACEpBAlAS64fEhNDbczxkLOytZeEWDbcxpyj3tp2CwcNP3FwFMrWRTGlsCEpCABFwR4ItIeG1obnmS5MFqVFW1YCsexe3JHos8vgKzFTBbVI0mNYcEJCABCVRVYD/ATWCijamWv1Z15vEeqVWtAsyMyGU/DQRHcThX98RVS17zSEACEqiQAPH3wo3UDXyUszJ7KzTLEYet+hHbeBXZWzvSODi4AsTlMJt5xKr1BQlIQAIScEOAGALw0+BiECZbn3ehKCeCrXia0nZOQW5w6X8vNvmwC0CqQQISkIAExhEgXge9B4DEg0wufMMlI6eCbTSM7W4/CyxcbHIhDI0uoakWCUhAAnUpEDxF3/AbJNCG5swzDJ6y7+DH2WArHsXlXpsL5K+C2dUwm+ugoUqSgAQkEG8BshewR0BvPZOZV11v1vlgGzlNaY3IZZcULjYxW+w6rOqTgAQkEHkB8iWA65Bsepyc3x+VfiITbGNPU3Z8CPSDm76XAnZMVLBVpwQkIAHnBYIngRieBr0fMJX+vfP1jlNgJIOteBS3d+csHDxw9fBRHN4bxQVQzRKQgAScEAheE2PYiEmNayv9ZJBK9xvpYBt1mrIJXdlLQLseBl1NWem9RuNLQAJxEugAvfvA6Q8xmdwXh8ZiEWxjTlN2t58NHzcA+AyCm8D1kYAEJCCBdwuQrx664vx2pDKbSAb3osXmE9t/+K1n+8nI85bCK3T0pu/Y7LBqRAISmLDAK/C872J2+olKPFl/wtWFMEBsg614mrJnx0nIDwYBd7ECLoQ9RkNIQAIRFeA20LsNyZanGNyPFuNP7IOtGHDdr30A+aFbQHxBARfjPVqtSUACYwUKpxx5M1LpzXEPtHcar5tgGwm4zvfDH7oNhs9r/5eABCQQXwHuBvgdpNIPxO13aEdas7oLtpFTlNvPRJ5rYHbWkZD0cwlIQAIREtgP4G7w2LuZSvVFqO7QSq3bYCsG3O7sEtDu1LvhQtunNJAEJFALgeC5jYYHMdX7Fqeld9eiBFfmrPtgCxbCrPC4ruBZlLcCSLqyOKpDAhKQQEkC5FY0eCs5K72tpO/H/EsKtlELbMHbvYdwO2DLdYFJzPd8tSeBWAgEv0fD1zmn9dFYtBNSEwq2cSAtt/0j8NEG4PSQnDWMBCQggfAEhl8Xsw4NvLWWb6oOr6FwR1KwHcbTgqeWdGeXwbc7AcwKl12jSUACEihTgPwDzFvBOemXyxwh9psp2I6wxPb2rmYc6L8L4OV6RFfs/39QgxJwWWA/yJuRzKytl/vRyl0MBVuJcpZr/wR82wigpcRN9DUJSEAC4QiQz6OpcRlnLOgIZ8B4j6JgO4r1NXtzKnL77wJshY7ejgJOX5WABMoTIPbBvG8glb5fR2mlEyrYSrcqftNy2z8OH8HRW7qMzbWJBCQggVIEtqApcSVnpneU8mV9Z0RAwVbm3jB89NYXXFiyUkdvZSJqMwlIYDyBgyBXM9W6VjzlCSjYynMbOXrr6TgHef9RmB03waG0uQQkIIFX0Ji4VDdaT2xHULBNzK+wte1rT6EfD8Ps3BCG0xASkEBdCnADUpOuJ+f312X7ITatYAsJc/i+t47r4PvB6cmmkIbVMBKQQNwFyF4Yl3FOZnPcW61Wfwq2kKULTy0xPg6zE0IeWsNJQAJxEyBfQAKXsrl1Z9xaq2U/CrYK6FtX1zTY3g0AllZgeA0pAQnEQYDeOiTT15McjEM7LvWgYKvgalguex3MXwNDQwWn0dASkECkBHgAxDVMtT4SqbIjVKyCrcKLNXzPG58ALFXhqTS8BCTgvAB3wLMlTC56yflSI1yggq0Ki2c9u+Yhf2AzzE6rwnSaQgIScFKAv8aUyZdw+rweJ8uLUVEKtiotpplNQq59HQxXVGlKTSMBCbgj8H2kWldz+HUz+lRYQMFWYeD/HX749252j15kWmV4TSeBWggUgsyuZWrRulpMX69zKthqsPLW3X4B8ngMsGNqML2mlIAEqiFA9IHeJUxmnqvGdJpjREDBVqO9wXLZU2H2rB7FVaMF0LQSqKQA8S+g8TymFv6lktNo7PEFFGw13DOst2MBBvznADu5hmVoaglIIEwB4mUkppzH5nm7whxWY5UuoGAr3aoi37Q92WMxaE8B9smKTKBBJSCBagpsgTfjQiaT+6o5qeYaK6Bgc2CPMLNGdLU/rCeVOLAYKkEC5QtsQqr1y3qSSPmAYW2pYAtLcoLjFB6i3JVdc+hdATdOcChtLgEJVF2A9yCVCS7nt6pPrQnfJaBgc2ynsFz7jTCs0ctLHVsYlSOB8QSCICNWM9l6j4DcEVCwubMWxUosl10K338IwCQHy1NJEpDAsMBBeN7lTGY2CcQtAQWbW+sxEm49nWcgnw8ewzXX0RJVlgTqV4B8A4nEEja3/LF+EdztXMHm7trAunceD//gz2B2qsNlqjQJ1JcA+Wd4ky7g7Pmv11fj0elWweb4Wpl1TkbX0EZdMen4Qqm8ehHYhFTDFWTLgXppOIp9KtgismrWlb0WZncANiUiJatMCcRIgP0gb2Iqc2+MmoptKwq2CC2t5TpOhJ8PXk54eoTKVqkSiLrAn+AlLmMy/Y+oN1Iv9SvYIrbSZpZArmM1zP82gKaIla9yJRAlgQHQ+yaS6TV63UyUlg1QsEVrvYrV2p72UzCIBwA7M6ItqGwJOCzAF9GIqzir9W8OF6nSDiOgYIv4rmFd2y86dL/bHTBkIt6KypdA7QWI7KH7025iatGTtS9GFZQroGArV86h7QrPmsx1rID5twBodqg0lSKBqAj0gN5tSKbb9KzHqCzZ4etUsEV/DUedngzeFODfAGA5gGSMWlMrEqiUQA7AejR63+OszN5KTaJxqyugYKuud1VmK9z7lvOXwuxawD5YlUk1iQQiJcBtIO9F0tuke9IitXAlFatgK4kpul+y7vazkcfXADtXV1FGdx1VeSgCAwB/iQTu4+zW34YyogZxUkDB5uSyhF+U9XbOwGD+cwAugtk5CrnwjTWikwIDILcAeBKNiac5s+UtJ6tUUaEKKNhC5YzGYIWQG8ifD9pnAS6G2XHRqFxVSqAEAfJNwLbC+CyaEs8ozEowi9lXFGwxW9By2rHd/8wAA2cBWAzaYoAnILgRXB8JuC5A5gF7FcatALYCTS9wzvuCS/b1qWMBBVsdL/7hWi/cPtDd0QKz4N641uE/lgY4E7BpAKcCmFb8e/D2b30kEJZA4S3Uth9gH4C+kb9bL8AOAO2FP2QWs9Odujw/LPj4jPMfECD1ZLk+UtgAAAAASUVORK5CYII="},26528:function(on,Ut,we){"use strict";on.exports=we.p+"static/detailbg.5bc9ddcf.jpg"}}]);
}());