@hprint/plugins 0.0.11-alpha.3 → 0.0.11-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -438,7 +438,7 @@ gl_FragColor.rgb *= color.a;
438
438
  `?(d++,p[d]=0):p[d]++;p[0]>0&&(this.insertCharStyleObject(f.lineIndex,f.charIndex,p[0],u),u=u&&u.slice(p[0]+1)),d&&this.insertNewlineStyleObject(f.lineIndex,f.charIndex+p[0],d);for(var A=1;A<d;A++)p[A]>0?this.insertCharStyleObject(f.lineIndex+A,0,p[A],u):u&&this.styles[f.lineIndex+A]&&u[0]&&(this.styles[f.lineIndex+A][0]=u[0]),u=u&&u.slice(p[A]+1);p[A]>0&&this.insertCharStyleObject(f.lineIndex+A,0,p[A],u)},setSelectionStartEndWithShift:function(l,h,u){u<=l?(h===l?this._selectionDirection="left":this._selectionDirection==="right"&&(this._selectionDirection="left",this.selectionEnd=l),this.selectionStart=u):u>l&&u<h?this._selectionDirection==="right"?this.selectionEnd=u:this.selectionStart=u:(h===l?this._selectionDirection="right":this._selectionDirection==="left"&&(this._selectionDirection="right",this.selectionStart=h),this.selectionEnd=u)},setSelectionInBoundaries:function(){var l=this.text.length;this.selectionStart>l?this.selectionStart=l:this.selectionStart<0&&(this.selectionStart=0),this.selectionEnd>l?this.selectionEnd=l:this.selectionEnd<0&&(this.selectionEnd=0)}})})(),i.util.object.extend(i.IText.prototype,{initDoubleClickSimulation:function(){this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.__lastPointer={},this.on("mousedown",this.onMouseDown)},onMouseDown:function(g){if(this.canvas){this.__newClickTime=+new Date;var l=g.pointer;this.isTripleClick(l)&&(this.fire("tripleclick",g),this._stopEvent(g.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=l,this.__lastIsEditing=this.isEditing,this.__lastSelected=this.selected}},isTripleClick:function(g){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===g.x&&this.__lastPointer.y===g.y},_stopEvent:function(g){g.preventDefault&&g.preventDefault(),g.stopPropagation&&g.stopPropagation()},initCursorSelectionHandlers:function(){this.initMousedownHandler(),this.initMouseupHandler(),this.initClicks()},doubleClickHandler:function(g){this.isEditing&&this.selectWord(this.getSelectionStartFromPointer(g.e))},tripleClickHandler:function(g){this.isEditing&&this.selectLine(this.getSelectionStartFromPointer(g.e))},initClicks:function(){this.on("mousedblclick",this.doubleClickHandler),this.on("tripleclick",this.tripleClickHandler)},_mouseDownHandler:function(g){!this.canvas||!this.editable||g.e.button&&g.e.button!==1||(this.__isMousedown=!0,this.selected&&(this.inCompositionMode=!1,this.setCursorByClick(g.e)),this.isEditing&&(this.__selectionStartOnMouseDown=this.selectionStart,this.selectionStart===this.selectionEnd&&this.abortCursorAnimation(),this.renderCursorOrSelection()))},_mouseDownHandlerBefore:function(g){!this.canvas||!this.editable||g.e.button&&g.e.button!==1||(this.selected=this===this.canvas._activeObject)},initMousedownHandler:function(){this.on("mousedown",this._mouseDownHandler),this.on("mousedown:before",this._mouseDownHandlerBefore)},initMouseupHandler:function(){this.on("mouseup",this.mouseUpHandler)},mouseUpHandler:function(g){if(this.__isMousedown=!1,!(!this.editable||this.group||g.transform&&g.transform.actionPerformed||g.e.button&&g.e.button!==1)){if(this.canvas){var l=this.canvas._activeObject;if(l&&l!==this)return}this.__lastSelected&&!this.__corner?(this.selected=!1,this.__lastSelected=!1,this.enterEditing(g.e),this.selectionStart===this.selectionEnd?this.initDelayedCursor(!0):this.renderCursorOrSelection()):this.selected=!0}},setCursorByClick:function(g){var l=this.getSelectionStartFromPointer(g),h=this.selectionStart,u=this.selectionEnd;g.shiftKey?this.setSelectionStartEndWithShift(h,u,l):(this.selectionStart=l,this.selectionEnd=l),this.isEditing&&(this._fireSelectionChanged(),this._updateTextarea())},getSelectionStartFromPointer:function(g){for(var l=this.getLocalPointer(g),h=0,u=0,f=0,p=0,d=0,A,w,m=0,x=this._textLines.length;m<x&&f<=l.y;m++)f+=this.getHeightOfLine(m)*this.scaleY,d=m,m>0&&(p+=this._textLines[m-1].length+this.missingNewlineOffset(m-1));A=this._getLineLeftOffset(d),u=A*this.scaleX,w=this._textLines[d],this.direction==="rtl"&&(l.x=this.width*this.scaleX-l.x+u);for(var C=0,E=w.length;C<E&&(h=u,u+=this.__charBounds[d][C].kernedWidth*this.scaleX,u<=l.x);C++)p++;return this._getNewSelectionStartFromOffset(l,h,u,p,E)},_getNewSelectionStartFromOffset:function(g,l,h,u,f){var p=g.x-l,d=h-g.x,A=d>p||d<0?0:1,w=u+A;return this.flipX&&(w=f-w),w>this._text.length&&(w=this._text.length),w}}),i.util.object.extend(i.IText.prototype,{initHiddenTextarea:function(){this.hiddenTextarea=i.document.createElement("textarea"),this.hiddenTextarea.setAttribute("autocapitalize","off"),this.hiddenTextarea.setAttribute("autocorrect","off"),this.hiddenTextarea.setAttribute("autocomplete","off"),this.hiddenTextarea.setAttribute("spellcheck","false"),this.hiddenTextarea.setAttribute("data-fabric-hiddentextarea",""),this.hiddenTextarea.setAttribute("wrap","off");var g=this._calcTextareaPosition();this.hiddenTextarea.style.cssText="position: absolute; top: "+g.top+"; left: "+g.left+"; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px; padding-top: "+g.fontSize+";",this.hiddenTextareaContainer?this.hiddenTextareaContainer.appendChild(this.hiddenTextarea):i.document.body.appendChild(this.hiddenTextarea),i.util.addListener(this.hiddenTextarea,"keydown",this.onKeyDown.bind(this)),i.util.addListener(this.hiddenTextarea,"keyup",this.onKeyUp.bind(this)),i.util.addListener(this.hiddenTextarea,"input",this.onInput.bind(this)),i.util.addListener(this.hiddenTextarea,"copy",this.copy.bind(this)),i.util.addListener(this.hiddenTextarea,"cut",this.copy.bind(this)),i.util.addListener(this.hiddenTextarea,"paste",this.paste.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionstart",this.onCompositionStart.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionupdate",this.onCompositionUpdate.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionend",this.onCompositionEnd.bind(this)),!this._clickHandlerInitialized&&this.canvas&&(i.util.addListener(this.canvas.upperCanvasEl,"click",this.onClick.bind(this)),this._clickHandlerInitialized=!0)},keysMap:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorRight",36:"moveCursorLeft",37:"moveCursorLeft",38:"moveCursorUp",39:"moveCursorRight",40:"moveCursorDown"},keysMapRtl:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorLeft",36:"moveCursorRight",37:"moveCursorRight",38:"moveCursorUp",39:"moveCursorLeft",40:"moveCursorDown"},ctrlKeysMapUp:{67:"copy",88:"cut"},ctrlKeysMapDown:{65:"selectAll"},onClick:function(){this.hiddenTextarea&&this.hiddenTextarea.focus()},onKeyDown:function(g){if(this.isEditing){var l=this.direction==="rtl"?this.keysMapRtl:this.keysMap;if(g.keyCode in l)this[l[g.keyCode]](g);else if(g.keyCode in this.ctrlKeysMapDown&&(g.ctrlKey||g.metaKey))this[this.ctrlKeysMapDown[g.keyCode]](g);else return;g.stopImmediatePropagation(),g.preventDefault(),g.keyCode>=33&&g.keyCode<=40?(this.inCompositionMode=!1,this.clearContextTop(),this.renderCursorOrSelection()):this.canvas&&this.canvas.requestRenderAll()}},onKeyUp:function(g){if(!this.isEditing||this._copyDone||this.inCompositionMode){this._copyDone=!1;return}if(g.keyCode in this.ctrlKeysMapUp&&(g.ctrlKey||g.metaKey))this[this.ctrlKeysMapUp[g.keyCode]](g);else return;g.stopImmediatePropagation(),g.preventDefault(),this.canvas&&this.canvas.requestRenderAll()},onInput:function(g){var l=this.fromPaste;if(this.fromPaste=!1,g&&g.stopPropagation(),!!this.isEditing){var h=this._splitTextIntoLines(this.hiddenTextarea.value).graphemeText,u=this._text.length,f=h.length,p,d,A=f-u,w=this.selectionStart,m=this.selectionEnd,x=w!==m,C,E,B;if(this.hiddenTextarea.value===""){this.styles={},this.updateFromTextArea(),this.fire("changed"),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll());return}var S=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value),M=w>S.selectionStart;x?(p=this._text.slice(w,m),A+=m-w):f<u&&(M?p=this._text.slice(m+A,m):p=this._text.slice(w,w-A)),d=h.slice(S.selectionEnd-A,S.selectionEnd),p&&p.length&&(d.length&&(C=this.getSelectionStyles(w,w+1,!1),C=d.map(function(){return C[0]})),x?(E=w,B=m):M?(E=m-p.length,B=m):(E=m,B=m+p.length),this.removeStyleFromTo(E,B)),d.length&&(l&&d.join("")===i.copiedText&&!i.disableStyleCopyPaste&&(C=i.copiedTextStyle),this.insertNewStyleBlock(d,w,C)),this.updateFromTextArea(),this.fire("changed"),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll())}},onCompositionStart:function(){this.inCompositionMode=!0},onCompositionEnd:function(){this.inCompositionMode=!1},onCompositionUpdate:function(g){this.compositionStart=g.target.selectionStart,this.compositionEnd=g.target.selectionEnd,this.updateTextareaPosition()},copy:function(){this.selectionStart!==this.selectionEnd&&(i.copiedText=this.getSelectedText(),i.disableStyleCopyPaste?i.copiedTextStyle=null:i.copiedTextStyle=this.getSelectionStyles(this.selectionStart,this.selectionEnd,!0),this._copyDone=!0)},paste:function(){this.fromPaste=!0},_getClipboardData:function(g){return g&&g.clipboardData||i.window.clipboardData},_getWidthBeforeCursor:function(g,l){var h=this._getLineLeftOffset(g),u;return l>0&&(u=this.__charBounds[g][l-1],h+=u.left+u.width),h},getDownCursorOffset:function(g,l){var h=this._getSelectionForOffset(g,l),u=this.get2DCursorLocation(h),f=u.lineIndex;if(f===this._textLines.length-1||g.metaKey||g.keyCode===34)return this._text.length-h;var p=u.charIndex,d=this._getWidthBeforeCursor(f,p),A=this._getIndexOnLine(f+1,d),w=this._textLines[f].slice(p);return w.length+A+1+this.missingNewlineOffset(f)},_getSelectionForOffset:function(g,l){return g.shiftKey&&this.selectionStart!==this.selectionEnd&&l?this.selectionEnd:this.selectionStart},getUpCursorOffset:function(g,l){var h=this._getSelectionForOffset(g,l),u=this.get2DCursorLocation(h),f=u.lineIndex;if(f===0||g.metaKey||g.keyCode===33)return-h;var p=u.charIndex,d=this._getWidthBeforeCursor(f,p),A=this._getIndexOnLine(f-1,d),w=this._textLines[f].slice(0,p),m=this.missingNewlineOffset(f-1);return-this._textLines[f-1].length+A-w.length+(1-m)},_getIndexOnLine:function(g,l){for(var h=this._textLines[g],u=this._getLineLeftOffset(g),f=u,p=0,d,A,w=0,m=h.length;w<m;w++)if(d=this.__charBounds[g][w].width,f+=d,f>l){A=!0;var x=f-d,C=f,E=Math.abs(x-l),B=Math.abs(C-l);p=B<E?w:w-1;break}return A||(p=h.length-1),p},moveCursorDown:function(g){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorUpOrDown("Down",g)},moveCursorUp:function(g){this.selectionStart===0&&this.selectionEnd===0||this._moveCursorUpOrDown("Up",g)},_moveCursorUpOrDown:function(g,l){var h="get"+g+"CursorOffset",u=this[h](l,this._selectionDirection==="right");l.shiftKey?this.moveCursorWithShift(u):this.moveCursorWithoutShift(u),u!==0&&(this.setSelectionInBoundaries(),this.abortCursorAnimation(),this._currentCursorOpacity=1,this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorWithShift:function(g){var l=this._selectionDirection==="left"?this.selectionStart+g:this.selectionEnd+g;return this.setSelectionStartEndWithShift(this.selectionStart,this.selectionEnd,l),g!==0},moveCursorWithoutShift:function(g){return g<0?(this.selectionStart+=g,this.selectionEnd=this.selectionStart):(this.selectionEnd+=g,this.selectionStart=this.selectionEnd),g!==0},moveCursorLeft:function(g){this.selectionStart===0&&this.selectionEnd===0||this._moveCursorLeftOrRight("Left",g)},_move:function(g,l,h){var u;if(g.altKey)u=this["findWordBoundary"+h](this[l]);else if(g.metaKey||g.keyCode===35||g.keyCode===36)u=this["findLineBoundary"+h](this[l]);else return this[l]+=h==="Left"?-1:1,!0;if(typeof u<"u"&&this[l]!==u)return this[l]=u,!0},_moveLeft:function(g,l){return this._move(g,l,"Left")},_moveRight:function(g,l){return this._move(g,l,"Right")},moveCursorLeftWithoutShift:function(g){var l=!0;return this._selectionDirection="left",this.selectionEnd===this.selectionStart&&this.selectionStart!==0&&(l=this._moveLeft(g,"selectionStart")),this.selectionEnd=this.selectionStart,l},moveCursorLeftWithShift:function(g){if(this._selectionDirection==="right"&&this.selectionStart!==this.selectionEnd)return this._moveLeft(g,"selectionEnd");if(this.selectionStart!==0)return this._selectionDirection="left",this._moveLeft(g,"selectionStart")},moveCursorRight:function(g){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorLeftOrRight("Right",g)},_moveCursorLeftOrRight:function(g,l){var h="moveCursor"+g+"With";this._currentCursorOpacity=1,l.shiftKey?h+="Shift":h+="outShift",this[h](l)&&(this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorRightWithShift:function(g){if(this._selectionDirection==="left"&&this.selectionStart!==this.selectionEnd)return this._moveRight(g,"selectionStart");if(this.selectionEnd!==this._text.length)return this._selectionDirection="right",this._moveRight(g,"selectionEnd")},moveCursorRightWithoutShift:function(g){var l=!0;return this._selectionDirection="right",this.selectionStart===this.selectionEnd?(l=this._moveRight(g,"selectionStart"),this.selectionEnd=this.selectionStart):this.selectionStart=this.selectionEnd,l},removeChars:function(g,l){typeof l>"u"&&(l=g+1),this.removeStyleFromTo(g,l),this._text.splice(g,l-g),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()},insertChars:function(g,l,h,u){typeof u>"u"&&(u=h),u>h&&this.removeStyleFromTo(h,u);var f=i.util.string.graphemeSplit(g);this.insertNewStyleBlock(f,h,l),this._text=[].concat(this._text.slice(0,h),f,this._text.slice(u)),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()}}),(function(){var g=i.util.toFixed,l=/ +/g;i.util.object.extend(i.Text.prototype,{_toSVG:function(){var h=this._getSVGLeftTopOffsets(),u=this._getSVGTextAndBg(h.textTop,h.textLeft);return this._wrapSVGTextAndBg(u)},toSVG:function(h){return this._createBaseSVGMarkup(this._toSVG(),{reviver:h,noStyle:!0,withShadow:!0})},_getSVGLeftTopOffsets:function(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}},_wrapSVGTextAndBg:function(h){var u=!0,f=this.getSvgTextDecoration(this);return[h.textBgRects.join(""),' <text xml:space="preserve" ',this.fontFamily?'font-family="'+this.fontFamily.replace(/"/g,"'")+'" ':"",this.fontSize?'font-size="'+this.fontSize+'" ':"",this.fontStyle?'font-style="'+this.fontStyle+'" ':"",this.fontWeight?'font-weight="'+this.fontWeight+'" ':"",f?'text-decoration="'+f+'" ':"",'style="',this.getSvgStyles(u),'"',this.addPaintOrder()," >",h.textSpans.join(""),`</text>
439
439
  `]},_getSVGTextAndBg:function(h,u){var f=[],p=[],d=h,A;this._setSVGBg(p);for(var w=0,m=this._textLines.length;w<m;w++)A=this._getLineLeftOffset(w),(this.textBackgroundColor||this.styleHas("textBackgroundColor",w))&&this._setSVGTextLineBg(p,w,u+A,d),this._setSVGTextLineText(f,w,u+A,d),d+=this.getHeightOfLine(w);return{textSpans:f,textBgRects:p}},_createTextCharSpan:function(h,u,f,p){var d=h!==h.trim()||h.match(l),A=this.getSvgSpanStyles(u,d),w=A?'style="'+A+'"':"",m=u.deltaY,x="",C=i.Object.NUM_FRACTION_DIGITS;return m&&(x=' dy="'+g(m,C)+'" '),['<tspan x="',g(f,C),'" y="',g(p,C),'" ',x,w,">",i.util.string.escapeXml(h),"</tspan>"].join("")},_setSVGTextLineText:function(h,u,f,p){var d=this.getHeightOfLine(u),A=this.textAlign.indexOf("justify")!==-1,w,m,x="",C,E,B=0,S=this._textLines[u],M;p+=d*(1-this._fontSizeFraction)/this.lineHeight;for(var T=0,R=S.length-1;T<=R;T++)M=T===R||this.charSpacing,x+=S[T],C=this.__charBounds[u][T],B===0?(f+=C.kernedWidth-C.width,B+=C.width):B+=C.kernedWidth,A&&!M&&this._reSpaceAndTab.test(S[T])&&(M=!0),M||(w=w||this.getCompleteStyleDeclaration(u,T),m=this.getCompleteStyleDeclaration(u,T+1),M=i.util.hasStyleChanged(w,m,!0)),M&&(E=this._getStyleDeclaration(u,T)||{},h.push(this._createTextCharSpan(x,E,f,p)),x="",w=m,f+=B,B=0)},_pushTextBgRect:function(h,u,f,p,d,A){var w=i.Object.NUM_FRACTION_DIGITS;h.push(" <rect ",this._getFillAttributes(u),' x="',g(f,w),'" y="',g(p,w),'" width="',g(d,w),'" height="',g(A,w),`"></rect>
440
440
  `)},_setSVGTextLineBg:function(h,u,f,p){for(var d=this._textLines[u],A=this.getHeightOfLine(u)/this.lineHeight,w=0,m=0,x,C,E=this.getValueOfPropertyAt(u,0,"textBackgroundColor"),B=0,S=d.length;B<S;B++)x=this.__charBounds[u][B],C=this.getValueOfPropertyAt(u,B,"textBackgroundColor"),C!==E?(E&&this._pushTextBgRect(h,E,f+m,p,w,A),m=x.left,w=x.width,E=C):w+=x.kernedWidth;C&&this._pushTextBgRect(h,C,f+m,p,w,A)},_getFillAttributes:function(h){var u=h&&typeof h=="string"?new i.Color(h):"";return!u||!u.getSource()||u.getAlpha()===1?'fill="'+h+'"':'opacity="'+u.getAlpha()+'" fill="'+u.setAlpha(1).toRgb()+'"'},_getSVGLineTopOffset:function(h){for(var u=0,f=0,p=0;p<h;p++)u+=this.getHeightOfLine(p);return f=this.getHeightOfLine(p),{lineTop:u,offset:(this._fontSizeMult-this._fontSizeFraction)*f/(this.lineHeight*this._fontSizeMult)}},getSvgStyles:function(h){var u=i.Object.prototype.getSvgStyles.call(this,h);return u+" white-space: pre;"}})})(),(function(g){var l=g.fabric||(g.fabric={});l.Textbox=l.util.createClass(l.IText,l.Observable,{type:"textbox",minWidth:20,dynamicMinWidth:2,__cachedLines:null,lockScalingFlip:!0,noScaleCache:!1,_dimensionAffectingProps:l.Text.prototype._dimensionAffectingProps.concat("width"),_wordJoiners:/[ \t\r]/,splitByGrapheme:!1,initDimensions:function(){this.__skipDimension||(this.isEditing&&this.initDelayedCursor(),this.clearContextTop(),this._clearCache(),this.dynamicMinWidth=0,this._styleMap=this._generateStyleMap(this._splitText()),this.dynamicMinWidth>this.width&&this._set("width",this.dynamicMinWidth),this.textAlign.indexOf("justify")!==-1&&this.enlargeSpaces(),this.height=this.calcTextHeight(),this.saveState({propertySet:"_dimensionAffectingProps"}))},_generateStyleMap:function(h){for(var u=0,f=0,p=0,d={},A=0;A<h.graphemeLines.length;A++)h.graphemeText[p]===`
441
- `&&A>0?(f=0,p++,u++):!this.splitByGrapheme&&this._reSpaceAndTab.test(h.graphemeText[p])&&A>0&&(f++,p++),d[A]={line:u,offset:f},p+=h.graphemeLines[A].length,f+=h.graphemeLines[A].length;return d},styleHas:function(h,u){if(this._styleMap&&!this.isWrapping){var f=this._styleMap[u];f&&(u=f.line)}return l.Text.prototype.styleHas.call(this,h,u)},isEmptyStyles:function(h){if(!this.styles)return!0;var u=0,f=h+1,p,d,A=!1,w=this._styleMap[h],m=this._styleMap[h+1];w&&(h=w.line,u=w.offset),m&&(f=m.line,A=f===h,p=m.offset),d=typeof h>"u"?this.styles:{line:this.styles[h]};for(var x in d)for(var C in d[x])if(C>=u&&(!A||C<p))for(var E in d[x][C])return!1;return!0},_getStyleDeclaration:function(h,u){if(this._styleMap&&!this.isWrapping){var f=this._styleMap[h];if(!f)return null;h=f.line,u=f.offset+u}return this.callSuper("_getStyleDeclaration",h,u)},_setStyleDeclaration:function(h,u,f){var p=this._styleMap[h];h=p.line,u=p.offset+u,this.styles[h][u]=f},_deleteStyleDeclaration:function(h,u){var f=this._styleMap[h];h=f.line,u=f.offset+u,delete this.styles[h][u]},_getLineStyle:function(h){var u=this._styleMap[h];return!!this.styles[u.line]},_setLineStyle:function(h){var u=this._styleMap[h];this.styles[u.line]={}},_wrapText:function(h,u){var f=[],p;for(this.isWrapping=!0,p=0;p<h.length;p++)f=f.concat(this._wrapLine(h[p],p,u));return this.isWrapping=!1,f},_measureWord:function(h,u,f){var p=0,d,A=!0;f=f||0;for(var w=0,m=h.length;w<m;w++){var x=this._getGraphemeBox(h[w],u,w+f,d,A);p+=x.kernedWidth,d=h[w]}return p},_wrapLine:function(h,u,f,Q){var d=0,A=this.splitByGrapheme,w=[],m=[],x=A?l.util.string.graphemeSplit(h):h.split(this._wordJoiners),C="",E=0,B=A?"":" ",S=0,M=0,T=0,R=!0,N=this._getWidthOfCharSpacing(),Q=Q||0;x.length===0&&x.push([]),f-=Q;for(var Y=0;Y<x.length;Y++)C=A?x[Y]:l.util.string.graphemeSplit(x[Y]),S=this._measureWord(C,u,E),E+=C.length,d+=M+S-N,d>f&&!R?(w.push(m),m=[],d=S,R=!0):d+=N,!R&&!A&&m.push(B),m=m.concat(C),M=A?0:this._measureWord([B],u,E),E++,R=!1,S>T&&(T=S);return Y&&w.push(m),T+Q>this.dynamicMinWidth&&(this.dynamicMinWidth=T-N+Q),w},isEndOfWrapping:function(h){return!this._styleMap[h+1]||this._styleMap[h+1].line!==this._styleMap[h].line},missingNewlineOffset:function(h){return this.splitByGrapheme?this.isEndOfWrapping(h)?1:0:1},_splitTextIntoLines:function(h){for(var u=l.Text.prototype._splitTextIntoLines.call(this,h),f=this._wrapText(u.lines,this.width),p=new Array(f.length),d=0;d<f.length;d++)p[d]=f[d].join("");return u.lines=p,u.graphemeLines=f,u},getMinWidth:function(){return Math.max(this.minWidth,this.dynamicMinWidth)},_removeExtraneousStyles:function(){var h={};for(var u in this._styleMap)this._textLines[u]&&(h[this._styleMap[u].line]=1);for(var u in this.styles)h[u]||delete this.styles[u]},toObject:function(h){return this.callSuper("toObject",["minWidth","splitByGrapheme"].concat(h))}}),l.Textbox.fromObject=function(h,u){var f=l.util.stylesFromArray(h.styles,h.text),p=Object.assign({},h,{styles:f});return l.Object._fromObject("Textbox",p,u,"text")}})(a),(function(){var g=i.controlsUtils,l=g.scaleSkewCursorStyleHandler,h=g.scaleCursorStyleHandler,u=g.scalingEqually,f=g.scalingYOrSkewingX,p=g.scalingXOrSkewingY,d=g.scaleOrSkewActionName,A=i.Object.prototype.controls;if(A.ml=new i.Control({x:-.5,y:0,cursorStyleHandler:l,actionHandler:p,getActionName:d}),A.mr=new i.Control({x:.5,y:0,cursorStyleHandler:l,actionHandler:p,getActionName:d}),A.mb=new i.Control({x:0,y:.5,cursorStyleHandler:l,actionHandler:f,getActionName:d}),A.mt=new i.Control({x:0,y:-.5,cursorStyleHandler:l,actionHandler:f,getActionName:d}),A.tl=new i.Control({x:-.5,y:-.5,cursorStyleHandler:h,actionHandler:u}),A.tr=new i.Control({x:.5,y:-.5,cursorStyleHandler:h,actionHandler:u}),A.bl=new i.Control({x:-.5,y:.5,cursorStyleHandler:h,actionHandler:u}),A.br=new i.Control({x:.5,y:.5,cursorStyleHandler:h,actionHandler:u}),A.mtr=new i.Control({x:0,y:-.5,actionHandler:g.rotationWithSnapping,cursorStyleHandler:g.rotationStyleHandler,offsetY:-40,withConnection:!0,actionName:"rotate"}),i.Textbox){var w=i.Textbox.prototype.controls={};w.mtr=A.mtr,w.tr=A.tr,w.br=A.br,w.tl=A.tl,w.bl=A.bl,w.mt=A.mt,w.mb=A.mb,w.mr=new i.Control({x:.5,y:0,actionHandler:g.changeWidth,cursorStyleHandler:l,actionName:"resizing"}),w.ml=new i.Control({x:-.5,y:0,actionHandler:g.changeWidth,cursorStyleHandler:l,actionName:"resizing"})}})()})(NA)),NA}var Yl=mB();function bB(a){return fB(a).promise.value}function wB(a){return new Promise(i=>{const{onChange:s,open:o}=pB(a);s(v=>{i(v)}),o()})}function yB(a){return new Promise(i=>{const s=document.createElement("img");s.src=a,document.body.appendChild(s),s.onload=()=>{i(s)}})}const xB=(a,i)=>uB({source:a,...i}).copy();function CB(a,i){const s=document.createElement("a");s.href=a,s.download=`${II()}.${i}`,document.body.appendChild(s),s.click(),s.remove()}function IB(a,i,s,o,v,b,y){y!==void 0&&(a.save(),a.translate(i,s),a.rotate(y),a.drawImage(o,-v/2,-b/2,v,b),a.restore())}const EB=a=>a instanceof Yl.fabric.Image,BB=a=>a instanceof Yl.fabric.Group,SB=a=>a instanceof Yl.fabric.IText,kB=a=>a instanceof Yl.fabric.ActiveSelection;function _B(a){return new Promise(i=>{const s=new FileReader;s.addEventListener("load",()=>{i(s.result)}),s.readAsDataURL(a)})}function MB(a){if(!a)return null;const i=a.split(","),s=i[0].match(/:(.*?);/)[1],o=window.atob(i[1]),v=new ArrayBuffer(o.length),b=new Uint8Array(v);for(let y=0;y<o.length;y++)b[y]=o.charCodeAt(y);return[new Blob([v],{type:s}),s.slice(6)]}const U1={getImgStr:bB,downFile:CB,selectFiles:wB,insertImgFile:yB,clipboardText:xB,drawImg:IB,isImage:EB,isGroup:BB,isIText:SB,isActiveSelection:kB,blobToBase64:_B,base64ToBlob:MB},TB="0.0.11-alpha.3";window&&(window._hprintPrintVersion=TB);Yl.fabric;var ly=typeof global=="object"&&global&&global.Object===Object&&global,OB=typeof self=="object"&&self&&self.Object===Object&&self,fa=ly||OB||Function("return this")(),Ma=fa.Symbol,fy=Object.prototype,RB=fy.hasOwnProperty,DB=fy.toString,rl=Ma?Ma.toStringTag:void 0;function FB(a){var i=RB.call(a,rl),s=a[rl];try{a[rl]=void 0;var o=!0}catch{}var v=DB.call(a);return o&&(i?a[rl]=s:delete a[rl]),v}var QB=Object.prototype,jB=QB.toString;function NB(a){return jB.call(a)}var PB="[object Null]",UB="[object Undefined]",UA=Ma?Ma.toStringTag:void 0;function Ga(a){return a==null?a===void 0?UB:PB:UA&&UA in Object(a)?FB(a):NB(a)}function Rn(a){return a!=null&&typeof a=="object"}var LB="[object Symbol]";function p1(a){return typeof a=="symbol"||Rn(a)&&Ga(a)==LB}var GB=NaN;function LA(a){return typeof a=="number"?a:p1(a)?GB:+a}function vn(a,i){for(var s=-1,o=a==null?0:a.length,v=Array(o);++s<o;)v[s]=i(a[s],s,a);return v}var yr=Array.isArray,GA=Ma?Ma.prototype:void 0,YA=GA?GA.toString:void 0;function g1(a){if(typeof a=="string")return a;if(yr(a))return vn(a,g1)+"";if(p1(a))return YA?YA.call(a):"";var i=a+"";return i=="0"&&1/a==-1/0?"-0":i}function su(a,i){return function(s,o){var v;if(s===void 0&&o===void 0)return i;if(s!==void 0&&(v=s),o!==void 0){if(v===void 0)return o;typeof s=="string"||typeof o=="string"?(s=g1(s),o=g1(o)):(s=LA(s),o=LA(o)),v=a(s,o)}return v}}var YB=su(function(a,i){return a+i},0),HB=/\s/;function hy(a){for(var i=a.length;i--&&HB.test(a.charAt(i)););return i}var zB=/^\s+/;function uy(a){return a&&a.slice(0,hy(a)+1).replace(zB,"")}function Sn(a){var i=typeof a;return a!=null&&(i=="object"||i=="function")}var HA=NaN,qB=/^[-+]0x[0-9a-f]+$/i,WB=/^0b[01]+$/i,VB=/^0o[0-7]+$/i,$B=parseInt;function y1(a){if(typeof a=="number")return a;if(p1(a))return HA;if(Sn(a)){var i=typeof a.valueOf=="function"?a.valueOf():a;a=Sn(i)?i+"":i}if(typeof a!="string")return a===0?a:+a;a=uy(a);var s=WB.test(a);return s||VB.test(a)?$B(a.slice(2),s?2:8):qB.test(a)?HA:+a}var zA=1/0,XB=17976931348623157e292;function Bs(a){if(!a)return a===0?a:0;if(a=y1(a),a===zA||a===-zA){var i=a<0?-1:1;return i*XB}return a===a?a:0}function Er(a){var i=Bs(a),s=i%1;return i===i?s?i-s:i:0}var JB="Expected a function";function KB(a,i){if(typeof i!="function")throw new TypeError(JB);return a=Er(a),function(){if(--a<1)return i.apply(this,arguments)}}function t1(a){return a}var ZB="[object AsyncFunction]",eS="[object Function]",tS="[object GeneratorFunction]",rS="[object Proxy]";function Ms(a){if(!Sn(a))return!1;var i=Ga(a);return i==eS||i==tS||i==ZB||i==rS}var Af=fa["__core-js_shared__"],qA=(function(){var a=/[^.]+$/.exec(Af&&Af.keys&&Af.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function iS(a){return!!qA&&qA in a}var nS=Function.prototype,aS=nS.toString;function Mo(a){if(a!=null){try{return aS.call(a)}catch{}try{return a+""}catch{}}return""}var sS=/[\\^$.*+?()[\]{}|]/g,oS=/^\[object .+?Constructor\]$/,cS=Function.prototype,lS=Object.prototype,fS=cS.toString,hS=lS.hasOwnProperty,uS=RegExp("^"+fS.call(hS).replace(sS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dy(a){if(!Sn(a)||iS(a))return!1;var i=Ms(a)?uS:oS;return i.test(Mo(a))}function dS(a,i){return a?.[i]}function To(a,i){var s=dS(a,i);return dy(s)?s:void 0}var Rl=To(fa,"WeakMap"),Df=Rl&&new Rl,py=Df?function(a,i){return Df.set(a,i),a}:t1,WA=Object.create,dc=(function(){function a(){}return function(i){if(!Sn(i))return{};if(WA)return WA(i);a.prototype=i;var s=new a;return a.prototype=void 0,s}})();function Dl(a){return function(){var i=arguments;switch(i.length){case 0:return new a;case 1:return new a(i[0]);case 2:return new a(i[0],i[1]);case 3:return new a(i[0],i[1],i[2]);case 4:return new a(i[0],i[1],i[2],i[3]);case 5:return new a(i[0],i[1],i[2],i[3],i[4]);case 6:return new a(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new a(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=dc(a.prototype),o=a.apply(s,i);return Sn(o)?o:s}}var pS=1;function gS(a,i,s){var o=i&pS,v=Dl(a);function b(){var y=this&&this!==fa&&this instanceof b?v:a;return y.apply(o?s:this,arguments)}return b}function v1(a,i,s){switch(s.length){case 0:return a.call(i);case 1:return a.call(i,s[0]);case 2:return a.call(i,s[0],s[1]);case 3:return a.call(i,s[0],s[1],s[2])}return a.apply(i,s)}var vS=Math.max;function gy(a,i,s,o){for(var v=-1,b=a.length,y=s.length,g=-1,l=i.length,h=vS(b-y,0),u=Array(l+h),f=!o;++g<l;)u[g]=i[g];for(;++v<y;)(f||v<b)&&(u[s[v]]=a[v]);for(;h--;)u[g++]=a[v++];return u}var AS=Math.max;function vy(a,i,s,o){for(var v=-1,b=a.length,y=-1,g=s.length,l=-1,h=i.length,u=AS(b-g,0),f=Array(u+h),p=!o;++v<u;)f[v]=a[v];for(var d=v;++l<h;)f[d+l]=i[l];for(;++y<g;)(p||v<b)&&(f[d+s[y]]=a[v++]);return f}function mS(a,i){for(var s=a.length,o=0;s--;)a[s]===i&&++o;return o}function ou(){}var bS=4294967295;function zr(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=bS,this.__views__=[]}zr.prototype=dc(ou.prototype);zr.prototype.constructor=zr;function Fl(){}var cg=Df?function(a){return Df.get(a)}:Fl,rc={},wS=Object.prototype,yS=wS.hasOwnProperty;function mf(a){for(var i=a.name+"",s=rc[i],o=yS.call(rc,i)?s.length:0;o--;){var v=s[o],b=v.func;if(b==null||b==a)return v.name}return i}function C1(a,i){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=void 0}C1.prototype=dc(ou.prototype);C1.prototype.constructor=C1;function Ja(a,i){var s=-1,o=a.length;for(i||(i=Array(o));++s<o;)i[s]=a[s];return i}function Ay(a){if(a instanceof zr)return a.clone();var i=new C1(a.__wrapped__,a.__chain__);return i.__actions__=Ja(a.__actions__),i.__index__=a.__index__,i.__values__=a.__values__,i}var xS=Object.prototype,CS=xS.hasOwnProperty;function J(a){if(Rn(a)&&!yr(a)&&!(a instanceof zr)){if(a instanceof C1)return a;if(CS.call(a,"__wrapped__"))return Ay(a)}return new C1(a)}J.prototype=ou.prototype;J.prototype.constructor=J;function fp(a){var i=mf(a),s=J[i];if(typeof s!="function"||!(i in zr.prototype))return!1;if(a===s)return!0;var o=cg(s);return!!o&&a===o[0]}var IS=800,ES=16,BS=Date.now;function my(a){var i=0,s=0;return function(){var o=BS(),v=ES-(o-s);if(s=o,v>0){if(++i>=IS)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}var by=my(py),SS=/\{\n\/\* \[wrapped with (.+)\] \*/,kS=/,? & /;function _S(a){var i=a.match(SS);return i?i[1].split(kS):[]}var MS=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function TS(a,i){var s=i.length;if(!s)return a;var o=s-1;return i[o]=(s>1?"& ":"")+i[o],i=i.join(s>2?", ":" "),a.replace(MS,`{
441
+ `&&A>0?(f=0,p++,u++):!this.splitByGrapheme&&this._reSpaceAndTab.test(h.graphemeText[p])&&A>0&&(f++,p++),d[A]={line:u,offset:f},p+=h.graphemeLines[A].length,f+=h.graphemeLines[A].length;return d},styleHas:function(h,u){if(this._styleMap&&!this.isWrapping){var f=this._styleMap[u];f&&(u=f.line)}return l.Text.prototype.styleHas.call(this,h,u)},isEmptyStyles:function(h){if(!this.styles)return!0;var u=0,f=h+1,p,d,A=!1,w=this._styleMap[h],m=this._styleMap[h+1];w&&(h=w.line,u=w.offset),m&&(f=m.line,A=f===h,p=m.offset),d=typeof h>"u"?this.styles:{line:this.styles[h]};for(var x in d)for(var C in d[x])if(C>=u&&(!A||C<p))for(var E in d[x][C])return!1;return!0},_getStyleDeclaration:function(h,u){if(this._styleMap&&!this.isWrapping){var f=this._styleMap[h];if(!f)return null;h=f.line,u=f.offset+u}return this.callSuper("_getStyleDeclaration",h,u)},_setStyleDeclaration:function(h,u,f){var p=this._styleMap[h];h=p.line,u=p.offset+u,this.styles[h][u]=f},_deleteStyleDeclaration:function(h,u){var f=this._styleMap[h];h=f.line,u=f.offset+u,delete this.styles[h][u]},_getLineStyle:function(h){var u=this._styleMap[h];return!!this.styles[u.line]},_setLineStyle:function(h){var u=this._styleMap[h];this.styles[u.line]={}},_wrapText:function(h,u){var f=[],p;for(this.isWrapping=!0,p=0;p<h.length;p++)f=f.concat(this._wrapLine(h[p],p,u));return this.isWrapping=!1,f},_measureWord:function(h,u,f){var p=0,d,A=!0;f=f||0;for(var w=0,m=h.length;w<m;w++){var x=this._getGraphemeBox(h[w],u,w+f,d,A);p+=x.kernedWidth,d=h[w]}return p},_wrapLine:function(h,u,f,Q){var d=0,A=this.splitByGrapheme,w=[],m=[],x=A?l.util.string.graphemeSplit(h):h.split(this._wordJoiners),C="",E=0,B=A?"":" ",S=0,M=0,T=0,R=!0,N=this._getWidthOfCharSpacing(),Q=Q||0;x.length===0&&x.push([]),f-=Q;for(var Y=0;Y<x.length;Y++)C=A?x[Y]:l.util.string.graphemeSplit(x[Y]),S=this._measureWord(C,u,E),E+=C.length,d+=M+S-N,d>f&&!R?(w.push(m),m=[],d=S,R=!0):d+=N,!R&&!A&&m.push(B),m=m.concat(C),M=A?0:this._measureWord([B],u,E),E++,R=!1,S>T&&(T=S);return Y&&w.push(m),T+Q>this.dynamicMinWidth&&(this.dynamicMinWidth=T-N+Q),w},isEndOfWrapping:function(h){return!this._styleMap[h+1]||this._styleMap[h+1].line!==this._styleMap[h].line},missingNewlineOffset:function(h){return this.splitByGrapheme?this.isEndOfWrapping(h)?1:0:1},_splitTextIntoLines:function(h){for(var u=l.Text.prototype._splitTextIntoLines.call(this,h),f=this._wrapText(u.lines,this.width),p=new Array(f.length),d=0;d<f.length;d++)p[d]=f[d].join("");return u.lines=p,u.graphemeLines=f,u},getMinWidth:function(){return Math.max(this.minWidth,this.dynamicMinWidth)},_removeExtraneousStyles:function(){var h={};for(var u in this._styleMap)this._textLines[u]&&(h[this._styleMap[u].line]=1);for(var u in this.styles)h[u]||delete this.styles[u]},toObject:function(h){return this.callSuper("toObject",["minWidth","splitByGrapheme"].concat(h))}}),l.Textbox.fromObject=function(h,u){var f=l.util.stylesFromArray(h.styles,h.text),p=Object.assign({},h,{styles:f});return l.Object._fromObject("Textbox",p,u,"text")}})(a),(function(){var g=i.controlsUtils,l=g.scaleSkewCursorStyleHandler,h=g.scaleCursorStyleHandler,u=g.scalingEqually,f=g.scalingYOrSkewingX,p=g.scalingXOrSkewingY,d=g.scaleOrSkewActionName,A=i.Object.prototype.controls;if(A.ml=new i.Control({x:-.5,y:0,cursorStyleHandler:l,actionHandler:p,getActionName:d}),A.mr=new i.Control({x:.5,y:0,cursorStyleHandler:l,actionHandler:p,getActionName:d}),A.mb=new i.Control({x:0,y:.5,cursorStyleHandler:l,actionHandler:f,getActionName:d}),A.mt=new i.Control({x:0,y:-.5,cursorStyleHandler:l,actionHandler:f,getActionName:d}),A.tl=new i.Control({x:-.5,y:-.5,cursorStyleHandler:h,actionHandler:u}),A.tr=new i.Control({x:.5,y:-.5,cursorStyleHandler:h,actionHandler:u}),A.bl=new i.Control({x:-.5,y:.5,cursorStyleHandler:h,actionHandler:u}),A.br=new i.Control({x:.5,y:.5,cursorStyleHandler:h,actionHandler:u}),A.mtr=new i.Control({x:0,y:-.5,actionHandler:g.rotationWithSnapping,cursorStyleHandler:g.rotationStyleHandler,offsetY:-40,withConnection:!0,actionName:"rotate"}),i.Textbox){var w=i.Textbox.prototype.controls={};w.mtr=A.mtr,w.tr=A.tr,w.br=A.br,w.tl=A.tl,w.bl=A.bl,w.mt=A.mt,w.mb=A.mb,w.mr=new i.Control({x:.5,y:0,actionHandler:g.changeWidth,cursorStyleHandler:l,actionName:"resizing"}),w.ml=new i.Control({x:-.5,y:0,actionHandler:g.changeWidth,cursorStyleHandler:l,actionName:"resizing"})}})()})(NA)),NA}var Yl=mB();function bB(a){return fB(a).promise.value}function wB(a){return new Promise(i=>{const{onChange:s,open:o}=pB(a);s(v=>{i(v)}),o()})}function yB(a){return new Promise(i=>{const s=document.createElement("img");s.src=a,document.body.appendChild(s),s.onload=()=>{i(s)}})}const xB=(a,i)=>uB({source:a,...i}).copy();function CB(a,i){const s=document.createElement("a");s.href=a,s.download=`${II()}.${i}`,document.body.appendChild(s),s.click(),s.remove()}function IB(a,i,s,o,v,b,y){y!==void 0&&(a.save(),a.translate(i,s),a.rotate(y),a.drawImage(o,-v/2,-b/2,v,b),a.restore())}const EB=a=>a instanceof Yl.fabric.Image,BB=a=>a instanceof Yl.fabric.Group,SB=a=>a instanceof Yl.fabric.IText,kB=a=>a instanceof Yl.fabric.ActiveSelection;function _B(a){return new Promise(i=>{const s=new FileReader;s.addEventListener("load",()=>{i(s.result)}),s.readAsDataURL(a)})}function MB(a){if(!a)return null;const i=a.split(","),s=i[0].match(/:(.*?);/)[1],o=window.atob(i[1]),v=new ArrayBuffer(o.length),b=new Uint8Array(v);for(let y=0;y<o.length;y++)b[y]=o.charCodeAt(y);return[new Blob([v],{type:s}),s.slice(6)]}const U1={getImgStr:bB,downFile:CB,selectFiles:wB,insertImgFile:yB,clipboardText:xB,drawImg:IB,isImage:EB,isGroup:BB,isIText:SB,isActiveSelection:kB,blobToBase64:_B,base64ToBlob:MB},TB="0.0.11-alpha.4";window&&(window._hprintPrintVersion=TB);Yl.fabric;var ly=typeof global=="object"&&global&&global.Object===Object&&global,OB=typeof self=="object"&&self&&self.Object===Object&&self,fa=ly||OB||Function("return this")(),Ma=fa.Symbol,fy=Object.prototype,RB=fy.hasOwnProperty,DB=fy.toString,rl=Ma?Ma.toStringTag:void 0;function FB(a){var i=RB.call(a,rl),s=a[rl];try{a[rl]=void 0;var o=!0}catch{}var v=DB.call(a);return o&&(i?a[rl]=s:delete a[rl]),v}var QB=Object.prototype,jB=QB.toString;function NB(a){return jB.call(a)}var PB="[object Null]",UB="[object Undefined]",UA=Ma?Ma.toStringTag:void 0;function Ga(a){return a==null?a===void 0?UB:PB:UA&&UA in Object(a)?FB(a):NB(a)}function Rn(a){return a!=null&&typeof a=="object"}var LB="[object Symbol]";function p1(a){return typeof a=="symbol"||Rn(a)&&Ga(a)==LB}var GB=NaN;function LA(a){return typeof a=="number"?a:p1(a)?GB:+a}function vn(a,i){for(var s=-1,o=a==null?0:a.length,v=Array(o);++s<o;)v[s]=i(a[s],s,a);return v}var yr=Array.isArray,GA=Ma?Ma.prototype:void 0,YA=GA?GA.toString:void 0;function g1(a){if(typeof a=="string")return a;if(yr(a))return vn(a,g1)+"";if(p1(a))return YA?YA.call(a):"";var i=a+"";return i=="0"&&1/a==-1/0?"-0":i}function su(a,i){return function(s,o){var v;if(s===void 0&&o===void 0)return i;if(s!==void 0&&(v=s),o!==void 0){if(v===void 0)return o;typeof s=="string"||typeof o=="string"?(s=g1(s),o=g1(o)):(s=LA(s),o=LA(o)),v=a(s,o)}return v}}var YB=su(function(a,i){return a+i},0),HB=/\s/;function hy(a){for(var i=a.length;i--&&HB.test(a.charAt(i)););return i}var zB=/^\s+/;function uy(a){return a&&a.slice(0,hy(a)+1).replace(zB,"")}function Sn(a){var i=typeof a;return a!=null&&(i=="object"||i=="function")}var HA=NaN,qB=/^[-+]0x[0-9a-f]+$/i,WB=/^0b[01]+$/i,VB=/^0o[0-7]+$/i,$B=parseInt;function y1(a){if(typeof a=="number")return a;if(p1(a))return HA;if(Sn(a)){var i=typeof a.valueOf=="function"?a.valueOf():a;a=Sn(i)?i+"":i}if(typeof a!="string")return a===0?a:+a;a=uy(a);var s=WB.test(a);return s||VB.test(a)?$B(a.slice(2),s?2:8):qB.test(a)?HA:+a}var zA=1/0,XB=17976931348623157e292;function Bs(a){if(!a)return a===0?a:0;if(a=y1(a),a===zA||a===-zA){var i=a<0?-1:1;return i*XB}return a===a?a:0}function Er(a){var i=Bs(a),s=i%1;return i===i?s?i-s:i:0}var JB="Expected a function";function KB(a,i){if(typeof i!="function")throw new TypeError(JB);return a=Er(a),function(){if(--a<1)return i.apply(this,arguments)}}function t1(a){return a}var ZB="[object AsyncFunction]",eS="[object Function]",tS="[object GeneratorFunction]",rS="[object Proxy]";function Ms(a){if(!Sn(a))return!1;var i=Ga(a);return i==eS||i==tS||i==ZB||i==rS}var Af=fa["__core-js_shared__"],qA=(function(){var a=/[^.]+$/.exec(Af&&Af.keys&&Af.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function iS(a){return!!qA&&qA in a}var nS=Function.prototype,aS=nS.toString;function Mo(a){if(a!=null){try{return aS.call(a)}catch{}try{return a+""}catch{}}return""}var sS=/[\\^$.*+?()[\]{}|]/g,oS=/^\[object .+?Constructor\]$/,cS=Function.prototype,lS=Object.prototype,fS=cS.toString,hS=lS.hasOwnProperty,uS=RegExp("^"+fS.call(hS).replace(sS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dy(a){if(!Sn(a)||iS(a))return!1;var i=Ms(a)?uS:oS;return i.test(Mo(a))}function dS(a,i){return a?.[i]}function To(a,i){var s=dS(a,i);return dy(s)?s:void 0}var Rl=To(fa,"WeakMap"),Df=Rl&&new Rl,py=Df?function(a,i){return Df.set(a,i),a}:t1,WA=Object.create,dc=(function(){function a(){}return function(i){if(!Sn(i))return{};if(WA)return WA(i);a.prototype=i;var s=new a;return a.prototype=void 0,s}})();function Dl(a){return function(){var i=arguments;switch(i.length){case 0:return new a;case 1:return new a(i[0]);case 2:return new a(i[0],i[1]);case 3:return new a(i[0],i[1],i[2]);case 4:return new a(i[0],i[1],i[2],i[3]);case 5:return new a(i[0],i[1],i[2],i[3],i[4]);case 6:return new a(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new a(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=dc(a.prototype),o=a.apply(s,i);return Sn(o)?o:s}}var pS=1;function gS(a,i,s){var o=i&pS,v=Dl(a);function b(){var y=this&&this!==fa&&this instanceof b?v:a;return y.apply(o?s:this,arguments)}return b}function v1(a,i,s){switch(s.length){case 0:return a.call(i);case 1:return a.call(i,s[0]);case 2:return a.call(i,s[0],s[1]);case 3:return a.call(i,s[0],s[1],s[2])}return a.apply(i,s)}var vS=Math.max;function gy(a,i,s,o){for(var v=-1,b=a.length,y=s.length,g=-1,l=i.length,h=vS(b-y,0),u=Array(l+h),f=!o;++g<l;)u[g]=i[g];for(;++v<y;)(f||v<b)&&(u[s[v]]=a[v]);for(;h--;)u[g++]=a[v++];return u}var AS=Math.max;function vy(a,i,s,o){for(var v=-1,b=a.length,y=-1,g=s.length,l=-1,h=i.length,u=AS(b-g,0),f=Array(u+h),p=!o;++v<u;)f[v]=a[v];for(var d=v;++l<h;)f[d+l]=i[l];for(;++y<g;)(p||v<b)&&(f[d+s[y]]=a[v++]);return f}function mS(a,i){for(var s=a.length,o=0;s--;)a[s]===i&&++o;return o}function ou(){}var bS=4294967295;function zr(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=bS,this.__views__=[]}zr.prototype=dc(ou.prototype);zr.prototype.constructor=zr;function Fl(){}var cg=Df?function(a){return Df.get(a)}:Fl,rc={},wS=Object.prototype,yS=wS.hasOwnProperty;function mf(a){for(var i=a.name+"",s=rc[i],o=yS.call(rc,i)?s.length:0;o--;){var v=s[o],b=v.func;if(b==null||b==a)return v.name}return i}function C1(a,i){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=void 0}C1.prototype=dc(ou.prototype);C1.prototype.constructor=C1;function Ja(a,i){var s=-1,o=a.length;for(i||(i=Array(o));++s<o;)i[s]=a[s];return i}function Ay(a){if(a instanceof zr)return a.clone();var i=new C1(a.__wrapped__,a.__chain__);return i.__actions__=Ja(a.__actions__),i.__index__=a.__index__,i.__values__=a.__values__,i}var xS=Object.prototype,CS=xS.hasOwnProperty;function J(a){if(Rn(a)&&!yr(a)&&!(a instanceof zr)){if(a instanceof C1)return a;if(CS.call(a,"__wrapped__"))return Ay(a)}return new C1(a)}J.prototype=ou.prototype;J.prototype.constructor=J;function fp(a){var i=mf(a),s=J[i];if(typeof s!="function"||!(i in zr.prototype))return!1;if(a===s)return!0;var o=cg(s);return!!o&&a===o[0]}var IS=800,ES=16,BS=Date.now;function my(a){var i=0,s=0;return function(){var o=BS(),v=ES-(o-s);if(s=o,v>0){if(++i>=IS)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}var by=my(py),SS=/\{\n\/\* \[wrapped with (.+)\] \*/,kS=/,? & /;function _S(a){var i=a.match(SS);return i?i[1].split(kS):[]}var MS=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function TS(a,i){var s=i.length;if(!s)return a;var o=s-1;return i[o]=(s>1?"& ":"")+i[o],i=i.join(s>2?", ":" "),a.replace(MS,`{
442
442
  /* [wrapped with `+i+`] */
443
443
  `)}function lg(a){return function(){return a}}var Ff=(function(){try{var a=To(Object,"defineProperty");return a({},"",{}),a}catch{}})(),OS=Ff?function(a,i){return Ff(a,"toString",{configurable:!0,enumerable:!1,value:lg(i),writable:!0})}:t1,fg=my(OS);function S1(a,i){for(var s=-1,o=a==null?0:a.length;++s<o&&i(a[s],s,a)!==!1;);return a}function cu(a,i,s,o){for(var v=a.length,b=s+(o?1:-1);o?b--:++b<v;)if(i(a[b],b,a))return b;return-1}function wy(a){return a!==a}function RS(a,i,s){for(var o=s-1,v=a.length;++o<v;)if(a[o]===i)return o;return-1}function pc(a,i,s){return i===i?RS(a,i,s):cu(a,wy,s)}function lu(a,i){var s=a==null?0:a.length;return!!s&&pc(a,i,0)>-1}var DS=1,FS=2,QS=8,jS=16,NS=32,PS=64,US=128,LS=256,GS=512,YS=[["ary",US],["bind",DS],["bindKey",FS],["curry",QS],["curryRight",jS],["flip",GS],["partial",NS],["partialRight",PS],["rearg",LS]];function HS(a,i){return S1(YS,function(s){var o="_."+s[0];i&s[1]&&!lu(a,o)&&a.push(o)}),a.sort()}function yy(a,i,s){var o=i+"";return fg(a,TS(o,HS(_S(o),s)))}var zS=4,qS=8,VA=32,$A=64;function xy(a,i,s,o,v,b,y,g,l,h){var u=i&qS,f=u?y:void 0,p=u?void 0:y,d=u?b:void 0,A=u?void 0:b;i|=u?VA:$A,i&=~(u?$A:VA),i&zS||(i&=-4);var w=[a,i,v,d,f,A,p,g,l,h],m=s.apply(void 0,w);return fp(a)&&by(m,w),m.placeholder=o,yy(m,a,i)}function gc(a){var i=a;return i.placeholder}var WS=9007199254740991,VS=/^(?:0|[1-9]\d*)$/;function Ts(a,i){var s=typeof a;return i=i??WS,!!i&&(s=="number"||s!="symbol"&&VS.test(a))&&a>-1&&a%1==0&&a<i}var $S=Math.min;function XS(a,i){for(var s=a.length,o=$S(i.length,s),v=Ja(a);o--;){var b=i[o];a[o]=Ts(b,s)?v[b]:void 0}return a}var XA="__lodash_placeholder__";function Ks(a,i){for(var s=-1,o=a.length,v=0,b=[];++s<o;){var y=a[s];(y===i||y===XA)&&(a[s]=XA,b[v++]=s)}return b}var JS=1,KS=2,ZS=8,ek=16,tk=128,rk=512;function fu(a,i,s,o,v,b,y,g,l,h){var u=i&tk,f=i&JS,p=i&KS,d=i&(ZS|ek),A=i&rk,w=p?void 0:Dl(a);function m(){for(var x=arguments.length,C=Array(x),E=x;E--;)C[E]=arguments[E];if(d)var B=gc(m),S=mS(C,B);if(o&&(C=gy(C,o,v,d)),b&&(C=vy(C,b,y,d)),x-=S,d&&x<h){var M=Ks(C,B);return xy(a,i,fu,m.placeholder,s,C,M,g,l,h-x)}var T=f?s:this,R=p?T[a]:a;return x=C.length,g?C=XS(C,g):A&&x>1&&C.reverse(),u&&l<x&&(C.length=l),this&&this!==fa&&this instanceof m&&(R=w||Dl(R)),R.apply(T,C)}return m}function ik(a,i,s){var o=Dl(a);function v(){for(var b=arguments.length,y=Array(b),g=b,l=gc(v);g--;)y[g]=arguments[g];var h=b<3&&y[0]!==l&&y[b-1]!==l?[]:Ks(y,l);if(b-=h.length,b<s)return xy(a,i,fu,v.placeholder,void 0,y,h,void 0,void 0,s-b);var u=this&&this!==fa&&this instanceof v?o:a;return v1(u,this,y)}return v}var nk=1;function ak(a,i,s,o){var v=i&nk,b=Dl(a);function y(){for(var g=-1,l=arguments.length,h=-1,u=o.length,f=Array(u+l),p=this&&this!==fa&&this instanceof y?b:a;++h<u;)f[h]=o[h];for(;l--;)f[h++]=arguments[++g];return v1(p,v?s:this,f)}return y}var JA="__lodash_placeholder__",L0=1,sk=2,ok=4,KA=8,il=128,ZA=256,ck=Math.min;function lk(a,i){var s=a[1],o=i[1],v=s|o,b=v<(L0|sk|il),y=o==il&&s==KA||o==il&&s==ZA&&a[7].length<=i[8]||o==(il|ZA)&&i[7].length<=i[8]&&s==KA;if(!(b||y))return a;o&L0&&(a[2]=i[2],v|=s&L0?0:ok);var g=i[3];if(g){var l=a[3];a[3]=l?gy(l,g,i[4]):g,a[4]=l?Ks(a[3],JA):i[4]}return g=i[5],g&&(l=a[5],a[5]=l?vy(l,g,i[6]):g,a[6]=l?Ks(a[5],JA):i[6]),g=i[7],g&&(a[7]=g),o&il&&(a[8]=a[8]==null?i[8]:ck(a[8],i[8])),a[9]==null&&(a[9]=i[9]),a[0]=i[0],a[1]=v,a}var fk="Expected a function",em=1,hk=2,tm=8,rm=16,im=32,uk=64,nm=Math.max;function Os(a,i,s,o,v,b,y,g){var l=i&hk;if(!l&&typeof a!="function")throw new TypeError(fk);var h=o?o.length:0;if(h||(i&=-97,o=v=void 0),y=y===void 0?y:nm(Er(y),0),g=g===void 0?g:Er(g),h-=v?v.length:0,i&uk){var u=o,f=v;o=v=void 0}var p=l?void 0:cg(a),d=[a,i,s,o,v,u,f,b,y,g];if(p&&lk(d,p),a=d[0],i=d[1],s=d[2],o=d[3],v=d[4],g=d[9]=d[9]===void 0?l?0:a.length:nm(d[9]-h,0),!g&&i&(tm|rm)&&(i&=-25),!i||i==em)var A=gS(a,i,s);else i==tm||i==rm?A=ik(a,i,g):(i==im||i==(em|im))&&!v.length?A=ak(a,i,s,o):A=fu.apply(void 0,d);var w=p?py:by;return yy(w(A,d),a,i)}var dk=128;function Cy(a,i,s){return i=s?void 0:i,i=a&&i==null?a.length:i,Os(a,dk,void 0,void 0,void 0,void 0,i)}function Rs(a,i,s){i=="__proto__"&&Ff?Ff(a,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):a[i]=s}function H1(a,i){return a===i||a!==a&&i!==i}var pk=Object.prototype,gk=pk.hasOwnProperty;function Hl(a,i,s){var o=a[i];(!(gk.call(a,i)&&H1(o,s))||s===void 0&&!(i in a))&&Rs(a,i,s)}function ls(a,i,s,o){var v=!s;s||(s={});for(var b=-1,y=i.length;++b<y;){var g=i[b],l=o?o(s[g],a[g],g,s,a):void 0;l===void 0&&(l=a[g]),v?Rs(s,g,l):Hl(s,g,l)}return s}var am=Math.max;function Iy(a,i,s){return i=am(i===void 0?a.length-1:i,0),function(){for(var o=arguments,v=-1,b=am(o.length-i,0),y=Array(b);++v<b;)y[v]=o[i+v];v=-1;for(var g=Array(i+1);++v<i;)g[v]=o[v];return g[i]=s(y),v1(a,this,g)}}function Mr(a,i){return fg(Iy(a,i,t1),a+"")}var vk=9007199254740991;function hu(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=vk}function r1(a){return a!=null&&hu(a.length)&&!Ms(a)}function La(a,i,s){if(!Sn(s))return!1;var o=typeof i;return(o=="number"?r1(s)&&Ts(i,s.length):o=="string"&&i in s)?H1(s[i],a):!1}function vc(a){return Mr(function(i,s){var o=-1,v=s.length,b=v>1?s[v-1]:void 0,y=v>2?s[2]:void 0;for(b=a.length>3&&typeof b=="function"?(v--,b):void 0,y&&La(s[0],s[1],y)&&(b=v<3?void 0:b,v=1),i=Object(i);++o<v;){var g=s[o];g&&a(i,g,o,b)}return i})}var Ak=Object.prototype;function zl(a){var i=a&&a.constructor,s=typeof i=="function"&&i.prototype||Ak;return a===s}function hg(a,i){for(var s=-1,o=Array(a);++s<a;)o[s]=i(s);return o}var mk="[object Arguments]";function sm(a){return Rn(a)&&Ga(a)==mk}var Ey=Object.prototype,bk=Ey.hasOwnProperty,wk=Ey.propertyIsEnumerable,Bo=sm((function(){return arguments})())?sm:function(a){return Rn(a)&&bk.call(a,"callee")&&!wk.call(a,"callee")};function ug(){return!1}var By=typeof exports=="object"&&exports&&!exports.nodeType&&exports,om=By&&typeof module=="object"&&module&&!module.nodeType&&module,yk=om&&om.exports===By,cm=yk?fa.Buffer:void 0,xk=cm?cm.isBuffer:void 0,Zs=xk||ug,Ck="[object Arguments]",Ik="[object Array]",Ek="[object Boolean]",Bk="[object Date]",Sk="[object Error]",kk="[object Function]",_k="[object Map]",Mk="[object Number]",Tk="[object Object]",Ok="[object RegExp]",Rk="[object Set]",Dk="[object String]",Fk="[object WeakMap]",Qk="[object ArrayBuffer]",jk="[object DataView]",Nk="[object Float32Array]",Pk="[object Float64Array]",Uk="[object Int8Array]",Lk="[object Int16Array]",Gk="[object Int32Array]",Yk="[object Uint8Array]",Hk="[object Uint8ClampedArray]",zk="[object Uint16Array]",qk="[object Uint32Array]",cn={};cn[Nk]=cn[Pk]=cn[Uk]=cn[Lk]=cn[Gk]=cn[Yk]=cn[Hk]=cn[zk]=cn[qk]=!0;cn[Ck]=cn[Ik]=cn[Qk]=cn[Ek]=cn[jk]=cn[Bk]=cn[Sk]=cn[kk]=cn[_k]=cn[Mk]=cn[Tk]=cn[Ok]=cn[Rk]=cn[Dk]=cn[Fk]=!1;function Wk(a){return Rn(a)&&hu(a.length)&&!!cn[Ga(a)]}function A1(a){return function(i){return a(i)}}var Sy=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ml=Sy&&typeof module=="object"&&module&&!module.nodeType&&module,Vk=ml&&ml.exports===Sy,G0=Vk&&ly.process,I1=(function(){try{var a=ml&&ml.require&&ml.require("util").types;return a||G0&&G0.binding&&G0.binding("util")}catch{}})(),lm=I1&&I1.isTypedArray,Ac=lm?A1(lm):Wk,$k=Object.prototype,Xk=$k.hasOwnProperty;function ky(a,i){var s=yr(a),o=!s&&Bo(a),v=!s&&!o&&Zs(a),b=!s&&!o&&!v&&Ac(a),y=s||o||v||b,g=y?hg(a.length,String):[],l=g.length;for(var h in a)(i||Xk.call(a,h))&&!(y&&(h=="length"||v&&(h=="offset"||h=="parent")||b&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Ts(h,l)))&&g.push(h);return g}function _y(a,i){return function(s){return a(i(s))}}var Jk=_y(Object.keys,Object),Kk=Object.prototype,Zk=Kk.hasOwnProperty;function dg(a){if(!zl(a))return Jk(a);var i=[];for(var s in Object(a))Zk.call(a,s)&&s!="constructor"&&i.push(s);return i}function ha(a){return r1(a)?ky(a):dg(a)}var e_=Object.prototype,t_=e_.hasOwnProperty,r_=vc(function(a,i){if(zl(i)||r1(i)){ls(i,ha(i),a);return}for(var s in i)t_.call(i,s)&&Hl(a,s,i[s])});function i_(a){var i=[];if(a!=null)for(var s in Object(a))i.push(s);return i}var n_=Object.prototype,a_=n_.hasOwnProperty;function s_(a){if(!Sn(a))return i_(a);var i=zl(a),s=[];for(var o in a)o=="constructor"&&(i||!a_.call(a,o))||s.push(o);return s}function i1(a){return r1(a)?ky(a,!0):s_(a)}var o_=vc(function(a,i){ls(i,i1(i),a)}),hp=vc(function(a,i,s,o){ls(i,i1(i),a,o)}),c_=vc(function(a,i,s,o){ls(i,ha(i),a,o)}),l_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f_=/^\w*$/;function pg(a,i){if(yr(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||p1(a)?!0:f_.test(a)||!l_.test(a)||i!=null&&a in Object(i)}var Ql=To(Object,"create");function h_(){this.__data__=Ql?Ql(null):{},this.size=0}function u_(a){var i=this.has(a)&&delete this.__data__[a];return this.size-=i?1:0,i}var d_="__lodash_hash_undefined__",p_=Object.prototype,g_=p_.hasOwnProperty;function v_(a){var i=this.__data__;if(Ql){var s=i[a];return s===d_?void 0:s}return g_.call(i,a)?i[a]:void 0}var A_=Object.prototype,m_=A_.hasOwnProperty;function b_(a){var i=this.__data__;return Ql?i[a]!==void 0:m_.call(i,a)}var w_="__lodash_hash_undefined__";function y_(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=Ql&&i===void 0?w_:i,this}function So(a){var i=-1,s=a==null?0:a.length;for(this.clear();++i<s;){var o=a[i];this.set(o[0],o[1])}}So.prototype.clear=h_;So.prototype.delete=u_;So.prototype.get=v_;So.prototype.has=b_;So.prototype.set=y_;function x_(){this.__data__=[],this.size=0}function uu(a,i){for(var s=a.length;s--;)if(H1(a[s][0],i))return s;return-1}var C_=Array.prototype,I_=C_.splice;function E_(a){var i=this.__data__,s=uu(i,a);if(s<0)return!1;var o=i.length-1;return s==o?i.pop():I_.call(i,s,1),--this.size,!0}function B_(a){var i=this.__data__,s=uu(i,a);return s<0?void 0:i[s][1]}function S_(a){return uu(this.__data__,a)>-1}function k_(a,i){var s=this.__data__,o=uu(s,a);return o<0?(++this.size,s.push([a,i])):s[o][1]=i,this}function Ds(a){var i=-1,s=a==null?0:a.length;for(this.clear();++i<s;){var o=a[i];this.set(o[0],o[1])}}Ds.prototype.clear=x_;Ds.prototype.delete=E_;Ds.prototype.get=B_;Ds.prototype.has=S_;Ds.prototype.set=k_;var jl=To(fa,"Map");function __(){this.size=0,this.__data__={hash:new So,map:new(jl||Ds),string:new So}}function M_(a){var i=typeof a;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?a!=="__proto__":a===null}function du(a,i){var s=a.__data__;return M_(i)?s[typeof i=="string"?"string":"hash"]:s.map}function T_(a){var i=du(this,a).delete(a);return this.size-=i?1:0,i}function O_(a){return du(this,a).get(a)}function R_(a){return du(this,a).has(a)}function D_(a,i){var s=du(this,a),o=s.size;return s.set(a,i),this.size+=s.size==o?0:1,this}function Fs(a){var i=-1,s=a==null?0:a.length;for(this.clear();++i<s;){var o=a[i];this.set(o[0],o[1])}}Fs.prototype.clear=__;Fs.prototype.delete=T_;Fs.prototype.get=O_;Fs.prototype.has=R_;Fs.prototype.set=D_;var F_="Expected a function";function pu(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(F_);var s=function(){var o=arguments,v=i?i.apply(this,o):o[0],b=s.cache;if(b.has(v))return b.get(v);var y=a.apply(this,o);return s.cache=b.set(v,y)||b,y};return s.cache=new(pu.Cache||Fs),s}pu.Cache=Fs;var Q_=500;function j_(a){var i=pu(a,function(o){return s.size===Q_&&s.clear(),o}),s=i.cache;return i}var N_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P_=/\\(\\)?/g,My=j_(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(N_,function(s,o,v,b){i.push(v?b.replace(P_,"$1"):o||s)}),i});function yi(a){return a==null?"":g1(a)}function ro(a,i){return yr(a)?a:pg(a,i)?[a]:My(yi(a))}function fs(a){if(typeof a=="string"||p1(a))return a;var i=a+"";return i=="0"&&1/a==-1/0?"-0":i}function Oo(a,i){i=ro(i,a);for(var s=0,o=i.length;a!=null&&s<o;)a=a[fs(i[s++])];return s&&s==o?a:void 0}function Nl(a,i,s){var o=a==null?void 0:Oo(a,i);return o===void 0?s:o}function gg(a,i){for(var s=-1,o=i.length,v=Array(o),b=a==null;++s<o;)v[s]=b?void 0:Nl(a,i[s]);return v}function io(a,i){for(var s=-1,o=i.length,v=a.length;++s<o;)a[v+s]=i[s];return a}var fm=Ma?Ma.isConcatSpreadable:void 0;function U_(a){return yr(a)||Bo(a)||!!(fm&&a&&a[fm])}function wa(a,i,s,o,v){var b=-1,y=a.length;for(s||(s=U_),v||(v=[]);++b<y;){var g=a[b];i>0&&s(g)?i>1?wa(g,i-1,s,o,v):io(v,g):o||(v[v.length]=g)}return v}function Ty(a){var i=a==null?0:a.length;return i?wa(a,1):[]}function Qs(a){return fg(Iy(a,void 0,Ty),a+"")}var L_=Qs(gg),gu=_y(Object.getPrototypeOf,Object),G_="[object Object]",Y_=Function.prototype,H_=Object.prototype,Oy=Y_.toString,z_=H_.hasOwnProperty,q_=Oy.call(Object);function ql(a){if(!Rn(a)||Ga(a)!=G_)return!1;var i=gu(a);if(i===null)return!0;var s=z_.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&Oy.call(s)==q_}var W_="[object DOMException]",V_="[object Error]";function vg(a){if(!Rn(a))return!1;var i=Ga(a);return i==V_||i==W_||typeof a.message=="string"&&typeof a.name=="string"&&!ql(a)}var Ry=Mr(function(a,i){try{return v1(a,void 0,i)}catch(s){return vg(s)?s:new Error(s)}}),$_="Expected a function";function Dy(a,i){var s;if(typeof i!="function")throw new TypeError($_);return a=Er(a),function(){return--a>0&&(s=i.apply(this,arguments)),a<=1&&(i=void 0),s}}var X_=1,J_=32,vu=Mr(function(a,i,s){var o=X_;if(s.length){var v=Ks(s,gc(vu));o|=J_}return Os(a,o,i,s,v)});vu.placeholder={};var K_=Qs(function(a,i){return S1(i,function(s){s=fs(s),Rs(a,s,vu(a[s],a))}),a}),Z_=1,eM=2,tM=32,Ag=Mr(function(a,i,s){var o=Z_|eM;if(s.length){var v=Ks(s,gc(Ag));o|=tM}return Os(i,o,a,s,v)});Ag.placeholder={};function E1(a,i,s){var o=-1,v=a.length;i<0&&(i=-i>v?0:v+i),s=s>v?v:s,s<0&&(s+=v),v=i>s?0:s-i>>>0,i>>>=0;for(var b=Array(v);++o<v;)b[o]=a[o+i];return b}function no(a,i,s){var o=a.length;return s=s===void 0?o:s,!i&&s>=o?a:E1(a,i,s)}var rM="\\ud800-\\udfff",iM="\\u0300-\\u036f",nM="\\ufe20-\\ufe2f",aM="\\u20d0-\\u20ff",sM=iM+nM+aM,oM="\\ufe0e\\ufe0f",cM="\\u200d",lM=RegExp("["+cM+rM+sM+oM+"]");function mc(a){return lM.test(a)}function fM(a){return a.split("")}var Fy="\\ud800-\\udfff",hM="\\u0300-\\u036f",uM="\\ufe20-\\ufe2f",dM="\\u20d0-\\u20ff",pM=hM+uM+dM,gM="\\ufe0e\\ufe0f",vM="["+Fy+"]",up="["+pM+"]",dp="\\ud83c[\\udffb-\\udfff]",AM="(?:"+up+"|"+dp+")",Qy="[^"+Fy+"]",jy="(?:\\ud83c[\\udde6-\\uddff]){2}",Ny="[\\ud800-\\udbff][\\udc00-\\udfff]",mM="\\u200d",Py=AM+"?",Uy="["+gM+"]?",bM="(?:"+mM+"(?:"+[Qy,jy,Ny].join("|")+")"+Uy+Py+")*",wM=Uy+Py+bM,yM="(?:"+[Qy+up+"?",up,jy,Ny,vM].join("|")+")",xM=RegExp(dp+"(?="+dp+")|"+yM+wM,"g");function CM(a){return a.match(xM)||[]}function G1(a){return mc(a)?CM(a):fM(a)}function Ly(a){return function(i){i=yi(i);var s=mc(i)?G1(i):void 0,o=s?s[0]:i.charAt(0),v=s?no(s,1).join(""):i.slice(1);return o[a]()+v}}var mg=Ly("toUpperCase");function Gy(a){return mg(yi(a).toLowerCase())}function bg(a,i,s,o){var v=-1,b=a==null?0:a.length;for(o&&b&&(s=a[++v]);++v<b;)s=i(s,a[v],v,a);return s}function wg(a){return function(i){return a?.[i]}}var IM={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},EM=wg(IM),BM=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,SM="\\u0300-\\u036f",kM="\\ufe20-\\ufe2f",_M="\\u20d0-\\u20ff",MM=SM+kM+_M,TM="["+MM+"]",OM=RegExp(TM,"g");function Yy(a){return a=yi(a),a&&a.replace(BM,EM).replace(OM,"")}var RM=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function DM(a){return a.match(RM)||[]}var FM=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function QM(a){return FM.test(a)}var Hy="\\ud800-\\udfff",jM="\\u0300-\\u036f",NM="\\ufe20-\\ufe2f",PM="\\u20d0-\\u20ff",UM=jM+NM+PM,zy="\\u2700-\\u27bf",qy="a-z\\xdf-\\xf6\\xf8-\\xff",LM="\\xac\\xb1\\xd7\\xf7",GM="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",YM="\\u2000-\\u206f",HM=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wy="A-Z\\xc0-\\xd6\\xd8-\\xde",zM="\\ufe0e\\ufe0f",Vy=LM+GM+YM+HM,$y="['’]",hm="["+Vy+"]",qM="["+UM+"]",Xy="\\d+",WM="["+zy+"]",Jy="["+qy+"]",Ky="[^"+Hy+Vy+Xy+zy+qy+Wy+"]",VM="\\ud83c[\\udffb-\\udfff]",$M="(?:"+qM+"|"+VM+")",XM="[^"+Hy+"]",Zy="(?:\\ud83c[\\udde6-\\uddff]){2}",ex="[\\ud800-\\udbff][\\udc00-\\udfff]",Wo="["+Wy+"]",JM="\\u200d",um="(?:"+Jy+"|"+Ky+")",KM="(?:"+Wo+"|"+Ky+")",dm="(?:"+$y+"(?:d|ll|m|re|s|t|ve))?",pm="(?:"+$y+"(?:D|LL|M|RE|S|T|VE))?",tx=$M+"?",rx="["+zM+"]?",ZM="(?:"+JM+"(?:"+[XM,Zy,ex].join("|")+")"+rx+tx+")*",eT="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tT="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rT=rx+tx+ZM,iT="(?:"+[WM,Zy,ex].join("|")+")"+rT,nT=RegExp([Wo+"?"+Jy+"+"+dm+"(?="+[hm,Wo,"$"].join("|")+")",KM+"+"+pm+"(?="+[hm,Wo+um,"$"].join("|")+")",Wo+"?"+um+"+"+dm,Wo+"+"+pm,tT,eT,Xy,iT].join("|"),"g");function aT(a){return a.match(nT)||[]}function ix(a,i,s){return a=yi(a),i=s?void 0:i,i===void 0?QM(a)?aT(a):DM(a):a.match(i)||[]}var sT="['’]",oT=RegExp(sT,"g");function bc(a){return function(i){return bg(ix(Yy(i).replace(oT,"")),a,"")}}var cT=bc(function(a,i,s){return i=i.toLowerCase(),a+(s?Gy(i):i)});function lT(){if(!arguments.length)return[];var a=arguments[0];return yr(a)?a:[a]}var fT=fa.isFinite,hT=Math.min;function yg(a){var i=Math[a];return function(s,o){if(s=y1(s),o=o==null?0:hT(Er(o),292),o&&fT(s)){var v=(yi(s)+"e").split("e"),b=i(v[0]+"e"+(+v[1]+o));return v=(yi(b)+"e").split("e"),+(v[0]+"e"+(+v[1]-o))}return i(s)}}var uT=yg("ceil");function nx(a){var i=J(a);return i.__chain__=!0,i}var dT=Math.ceil,pT=Math.max;function gT(a,i,s){(s?La(a,i,s):i===void 0)?i=1:i=pT(Er(i),0);var o=a==null?0:a.length;if(!o||i<1)return[];for(var v=0,b=0,y=Array(dT(o/i));v<o;)y[b++]=E1(a,v,v+=i);return y}function Ro(a,i,s){return a===a&&(s!==void 0&&(a=a<=s?a:s),i!==void 0&&(a=a>=i?a:i)),a}function vT(a,i,s){return s===void 0&&(s=i,i=void 0),s!==void 0&&(s=y1(s),s=s===s?s:0),i!==void 0&&(i=y1(i),i=i===i?i:0),Ro(y1(a),i,s)}function AT(){this.__data__=new Ds,this.size=0}function mT(a){var i=this.__data__,s=i.delete(a);return this.size=i.size,s}function bT(a){return this.__data__.get(a)}function wT(a){return this.__data__.has(a)}var yT=200;function xT(a,i){var s=this.__data__;if(s instanceof Ds){var o=s.__data__;if(!jl||o.length<yT-1)return o.push([a,i]),this.size=++s.size,this;s=this.__data__=new Fs(o)}return s.set(a,i),this.size=s.size,this}function L1(a){var i=this.__data__=new Ds(a);this.size=i.size}L1.prototype.clear=AT;L1.prototype.delete=mT;L1.prototype.get=bT;L1.prototype.has=wT;L1.prototype.set=xT;function ax(a,i){return a&&ls(i,ha(i),a)}function CT(a,i){return a&&ls(i,i1(i),a)}var sx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gm=sx&&typeof module=="object"&&module&&!module.nodeType&&module,IT=gm&&gm.exports===sx,vm=IT?fa.Buffer:void 0,Am=vm?vm.allocUnsafe:void 0;function ox(a,i){if(i)return a.slice();var s=a.length,o=Am?Am(s):new a.constructor(s);return a.copy(o),o}function ao(a,i){for(var s=-1,o=a==null?0:a.length,v=0,b=[];++s<o;){var y=a[s];i(y,s,a)&&(b[v++]=y)}return b}function xg(){return[]}var ET=Object.prototype,BT=ET.propertyIsEnumerable,mm=Object.getOwnPropertySymbols,Cg=mm?function(a){return a==null?[]:(a=Object(a),ao(mm(a),function(i){return BT.call(a,i)}))}:xg;function ST(a,i){return ls(a,Cg(a),i)}var kT=Object.getOwnPropertySymbols,cx=kT?function(a){for(var i=[];a;)io(i,Cg(a)),a=gu(a);return i}:xg;function _T(a,i){return ls(a,cx(a),i)}function lx(a,i,s){var o=i(a);return yr(a)?o:io(o,s(a))}function pp(a){return lx(a,ha,Cg)}function Ig(a){return lx(a,i1,cx)}var gp=To(fa,"DataView"),vp=To(fa,"Promise"),ic=To(fa,"Set"),bm="[object Map]",MT="[object Object]",wm="[object Promise]",ym="[object Set]",xm="[object WeakMap]",Cm="[object DataView]",TT=Mo(gp),OT=Mo(jl),RT=Mo(vp),DT=Mo(ic),FT=Mo(Rl),Sa=Ga;(gp&&Sa(new gp(new ArrayBuffer(1)))!=Cm||jl&&Sa(new jl)!=bm||vp&&Sa(vp.resolve())!=wm||ic&&Sa(new ic)!=ym||Rl&&Sa(new Rl)!=xm)&&(Sa=function(a){var i=Ga(a),s=i==MT?a.constructor:void 0,o=s?Mo(s):"";if(o)switch(o){case TT:return Cm;case OT:return bm;case RT:return wm;case DT:return ym;case FT:return xm}return i});var QT=Object.prototype,jT=QT.hasOwnProperty;function NT(a){var i=a.length,s=new a.constructor(i);return i&&typeof a[0]=="string"&&jT.call(a,"index")&&(s.index=a.index,s.input=a.input),s}var Qf=fa.Uint8Array;function Eg(a){var i=new a.constructor(a.byteLength);return new Qf(i).set(new Qf(a)),i}function PT(a,i){var s=i?Eg(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.byteLength)}var UT=/\w*$/;function LT(a){var i=new a.constructor(a.source,UT.exec(a));return i.lastIndex=a.lastIndex,i}var Im=Ma?Ma.prototype:void 0,Em=Im?Im.valueOf:void 0;function GT(a){return Em?Object(Em.call(a)):{}}function fx(a,i){var s=i?Eg(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.length)}var YT="[object Boolean]",HT="[object Date]",zT="[object Map]",qT="[object Number]",WT="[object RegExp]",VT="[object Set]",$T="[object String]",XT="[object Symbol]",JT="[object ArrayBuffer]",KT="[object DataView]",ZT="[object Float32Array]",eO="[object Float64Array]",tO="[object Int8Array]",rO="[object Int16Array]",iO="[object Int32Array]",nO="[object Uint8Array]",aO="[object Uint8ClampedArray]",sO="[object Uint16Array]",oO="[object Uint32Array]";function cO(a,i,s){var o=a.constructor;switch(i){case JT:return Eg(a);case YT:case HT:return new o(+a);case KT:return PT(a,s);case ZT:case eO:case tO:case rO:case iO:case nO:case aO:case sO:case oO:return fx(a,s);case zT:return new o;case qT:case $T:return new o(a);case WT:return LT(a);case VT:return new o;case XT:return GT(a)}}function hx(a){return typeof a.constructor=="function"&&!zl(a)?dc(gu(a)):{}}var lO="[object Map]";function fO(a){return Rn(a)&&Sa(a)==lO}var Bm=I1&&I1.isMap,ux=Bm?A1(Bm):fO,hO="[object Set]";function uO(a){return Rn(a)&&Sa(a)==hO}var Sm=I1&&I1.isSet,dx=Sm?A1(Sm):uO,dO=1,pO=2,gO=4,px="[object Arguments]",vO="[object Array]",AO="[object Boolean]",mO="[object Date]",bO="[object Error]",gx="[object Function]",wO="[object GeneratorFunction]",yO="[object Map]",xO="[object Number]",vx="[object Object]",CO="[object RegExp]",IO="[object Set]",EO="[object String]",BO="[object Symbol]",SO="[object WeakMap]",kO="[object ArrayBuffer]",_O="[object DataView]",MO="[object Float32Array]",TO="[object Float64Array]",OO="[object Int8Array]",RO="[object Int16Array]",DO="[object Int32Array]",FO="[object Uint8Array]",QO="[object Uint8ClampedArray]",jO="[object Uint16Array]",NO="[object Uint32Array]",Xi={};Xi[px]=Xi[vO]=Xi[kO]=Xi[_O]=Xi[AO]=Xi[mO]=Xi[MO]=Xi[TO]=Xi[OO]=Xi[RO]=Xi[DO]=Xi[yO]=Xi[xO]=Xi[vx]=Xi[CO]=Xi[IO]=Xi[EO]=Xi[BO]=Xi[FO]=Xi[QO]=Xi[jO]=Xi[NO]=!0;Xi[bO]=Xi[gx]=Xi[SO]=!1;function x1(a,i,s,o,v,b){var y,g=i&dO,l=i&pO,h=i&gO;if(s&&(y=v?s(a,o,v,b):s(a)),y!==void 0)return y;if(!Sn(a))return a;var u=yr(a);if(u){if(y=NT(a),!g)return Ja(a,y)}else{var f=Sa(a),p=f==gx||f==wO;if(Zs(a))return ox(a,g);if(f==vx||f==px||p&&!v){if(y=l||p?{}:hx(a),!g)return l?_T(a,CT(y,a)):ST(a,ax(y,a))}else{if(!Xi[f])return v?a:{};y=cO(a,f,g)}}b||(b=new L1);var d=b.get(a);if(d)return d;b.set(a,y),dx(a)?a.forEach(function(m){y.add(x1(m,i,s,m,a,b))}):ux(a)&&a.forEach(function(m,x){y.set(x,x1(m,i,s,x,a,b))});var A=h?l?Ig:pp:l?i1:ha,w=u?void 0:A(a);return S1(w||a,function(m,x){w&&(x=m,m=a[x]),Hl(y,x,x1(m,i,s,x,a,b))}),y}var PO=4;function UO(a){return x1(a,PO)}var LO=1,GO=4;function Ax(a){return x1(a,LO|GO)}var YO=1,HO=4;function zO(a,i){return i=typeof i=="function"?i:void 0,x1(a,YO|HO,i)}var qO=4;function WO(a,i){return i=typeof i=="function"?i:void 0,x1(a,qO,i)}function VO(){return new C1(this.value(),this.__chain__)}function $O(a){for(var i=-1,s=a==null?0:a.length,o=0,v=[];++i<s;){var b=a[i];b&&(v[o++]=b)}return v}function XO(){var a=arguments.length;if(!a)return[];for(var i=Array(a-1),s=arguments[0],o=a;o--;)i[o-1]=arguments[o];return io(yr(s)?Ja(s):[s],wa(i,1))}var JO="__lodash_hash_undefined__";function KO(a){return this.__data__.set(a,JO),this}function ZO(a){return this.__data__.has(a)}function ko(a){var i=-1,s=a==null?0:a.length;for(this.__data__=new Fs;++i<s;)this.add(a[i])}ko.prototype.add=ko.prototype.push=KO;ko.prototype.has=ZO;function Bg(a,i){for(var s=-1,o=a==null?0:a.length;++s<o;)if(i(a[s],s,a))return!0;return!1}function Pl(a,i){return a.has(i)}var eR=1,tR=2;function mx(a,i,s,o,v,b){var y=s&eR,g=a.length,l=i.length;if(g!=l&&!(y&&l>g))return!1;var h=b.get(a),u=b.get(i);if(h&&u)return h==i&&u==a;var f=-1,p=!0,d=s&tR?new ko:void 0;for(b.set(a,i),b.set(i,a);++f<g;){var A=a[f],w=i[f];if(o)var m=y?o(w,A,f,i,a,b):o(A,w,f,a,i,b);if(m!==void 0){if(m)continue;p=!1;break}if(d){if(!Bg(i,function(x,C){if(!Pl(d,C)&&(A===x||v(A,x,s,o,b)))return d.push(C)})){p=!1;break}}else if(!(A===w||v(A,w,s,o,b))){p=!1;break}}return b.delete(a),b.delete(i),p}function Sg(a){var i=-1,s=Array(a.size);return a.forEach(function(o,v){s[++i]=[v,o]}),s}function Au(a){var i=-1,s=Array(a.size);return a.forEach(function(o){s[++i]=o}),s}var rR=1,iR=2,nR="[object Boolean]",aR="[object Date]",sR="[object Error]",oR="[object Map]",cR="[object Number]",lR="[object RegExp]",fR="[object Set]",hR="[object String]",uR="[object Symbol]",dR="[object ArrayBuffer]",pR="[object DataView]",km=Ma?Ma.prototype:void 0,Y0=km?km.valueOf:void 0;function gR(a,i,s,o,v,b,y){switch(s){case pR:if(a.byteLength!=i.byteLength||a.byteOffset!=i.byteOffset)return!1;a=a.buffer,i=i.buffer;case dR:return!(a.byteLength!=i.byteLength||!b(new Qf(a),new Qf(i)));case nR:case aR:case cR:return H1(+a,+i);case sR:return a.name==i.name&&a.message==i.message;case lR:case hR:return a==i+"";case oR:var g=Sg;case fR:var l=o&rR;if(g||(g=Au),a.size!=i.size&&!l)return!1;var h=y.get(a);if(h)return h==i;o|=iR,y.set(a,i);var u=mx(g(a),g(i),o,v,b,y);return y.delete(a),u;case uR:if(Y0)return Y0.call(a)==Y0.call(i)}return!1}var vR=1,AR=Object.prototype,mR=AR.hasOwnProperty;function bR(a,i,s,o,v,b){var y=s&vR,g=pp(a),l=g.length,h=pp(i),u=h.length;if(l!=u&&!y)return!1;for(var f=l;f--;){var p=g[f];if(!(y?p in i:mR.call(i,p)))return!1}var d=b.get(a),A=b.get(i);if(d&&A)return d==i&&A==a;var w=!0;b.set(a,i),b.set(i,a);for(var m=y;++f<l;){p=g[f];var x=a[p],C=i[p];if(o)var E=y?o(C,x,p,i,a,b):o(x,C,p,a,i,b);if(!(E===void 0?x===C||v(x,C,s,o,b):E)){w=!1;break}m||(m=p=="constructor")}if(w&&!m){var B=a.constructor,S=i.constructor;B!=S&&"constructor"in a&&"constructor"in i&&!(typeof B=="function"&&B instanceof B&&typeof S=="function"&&S instanceof S)&&(w=!1)}return b.delete(a),b.delete(i),w}var wR=1,_m="[object Arguments]",Mm="[object Array]",I2="[object Object]",yR=Object.prototype,Tm=yR.hasOwnProperty;function xR(a,i,s,o,v,b){var y=yr(a),g=yr(i),l=y?Mm:Sa(a),h=g?Mm:Sa(i);l=l==_m?I2:l,h=h==_m?I2:h;var u=l==I2,f=h==I2,p=l==h;if(p&&Zs(a)){if(!Zs(i))return!1;y=!0,u=!1}if(p&&!u)return b||(b=new L1),y||Ac(a)?mx(a,i,s,o,v,b):gR(a,i,l,s,o,v,b);if(!(s&wR)){var d=u&&Tm.call(a,"__wrapped__"),A=f&&Tm.call(i,"__wrapped__");if(d||A){var w=d?a.value():a,m=A?i.value():i;return b||(b=new L1),v(w,m,s,o,b)}}return p?(b||(b=new L1),bR(a,i,s,o,v,b)):!1}function Wl(a,i,s,o,v){return a===i?!0:a==null||i==null||!Rn(a)&&!Rn(i)?a!==a&&i!==i:xR(a,i,s,o,Wl,v)}var CR=1,IR=2;function kg(a,i,s,o){var v=s.length,b=v,y=!o;if(a==null)return!b;for(a=Object(a);v--;){var g=s[v];if(y&&g[2]?g[1]!==a[g[0]]:!(g[0]in a))return!1}for(;++v<b;){g=s[v];var l=g[0],h=a[l],u=g[1];if(y&&g[2]){if(h===void 0&&!(l in a))return!1}else{var f=new L1;if(o)var p=o(h,u,l,a,i,f);if(!(p===void 0?Wl(u,h,CR|IR,o,f):p))return!1}}return!0}function bx(a){return a===a&&!Sn(a)}function _g(a){for(var i=ha(a),s=i.length;s--;){var o=i[s],v=a[o];i[s]=[o,v,bx(v)]}return i}function wx(a,i){return function(s){return s==null?!1:s[a]===i&&(i!==void 0||a in Object(s))}}function yx(a){var i=_g(a);return i.length==1&&i[0][2]?wx(i[0][0],i[0][1]):function(s){return s===a||kg(s,a,i)}}function ER(a,i){return a!=null&&i in Object(a)}function xx(a,i,s){i=ro(i,a);for(var o=-1,v=i.length,b=!1;++o<v;){var y=fs(i[o]);if(!(b=a!=null&&s(a,y)))break;a=a[y]}return b||++o!=v?b:(v=a==null?0:a.length,!!v&&hu(v)&&Ts(y,v)&&(yr(a)||Bo(a)))}function Mg(a,i){return a!=null&&xx(a,i,ER)}var BR=1,SR=2;function Cx(a,i){return pg(a)&&bx(i)?wx(fs(a),i):function(s){var o=Nl(s,a);return o===void 0&&o===i?Mg(s,a):Wl(i,o,BR|SR)}}function Tg(a){return function(i){return i?.[a]}}function kR(a){return function(i){return Oo(i,a)}}function Ix(a){return pg(a)?Tg(fs(a)):kR(a)}function pr(a){return typeof a=="function"?a:a==null?t1:typeof a=="object"?yr(a)?Cx(a[0],a[1]):yx(a):Ix(a)}var _R="Expected a function";function MR(a){var i=a==null?0:a.length,s=pr;return a=i?vn(a,function(o){if(typeof o[1]!="function")throw new TypeError(_R);return[s(o[0]),o[1]]}):[],Mr(function(o){for(var v=-1;++v<i;){var b=a[v];if(v1(b[0],this,o))return v1(b[1],this,o)}})}function Ex(a,i,s){var o=s.length;if(a==null)return!o;for(a=Object(a);o--;){var v=s[o],b=i[v],y=a[v];if(y===void 0&&!(v in a)||!b(y))return!1}return!0}function TR(a){var i=ha(a);return function(s){return Ex(s,a,i)}}var OR=1;function RR(a){return TR(x1(a,OR))}function DR(a,i){return i==null||Ex(a,i,ha(i))}function FR(a,i,s,o){for(var v=-1,b=a==null?0:a.length;++v<b;){var y=a[v];i(o,y,s(y),a)}return o}function Bx(a){return function(i,s,o){for(var v=-1,b=Object(i),y=o(i),g=y.length;g--;){var l=y[a?g:++v];if(s(b[l],l,b)===!1)break}return i}}var Og=Bx();function hs(a,i){return a&&Og(a,i,ha)}function Sx(a,i){return function(s,o){if(s==null)return s;if(!r1(s))return a(s,o);for(var v=s.length,b=i?v:-1,y=Object(s);(i?b--:++b<v)&&o(y[b],b,y)!==!1;);return s}}var so=Sx(hs);function QR(a,i,s,o){return so(a,function(v,b,y){i(o,v,s(v),y)}),o}function mu(a,i){return function(s,o){var v=yr(s)?FR:QR,b=i?i():{};return v(s,a,pr(o),b)}}var jR=Object.prototype,NR=jR.hasOwnProperty,PR=mu(function(a,i,s){NR.call(a,s)?++a[s]:Rs(a,s,1)});function UR(a,i){var s=dc(a);return i==null?s:ax(s,i)}var LR=8;function Rg(a,i,s){i=s?void 0:i;var o=Os(a,LR,void 0,void 0,void 0,void 0,void 0,i);return o.placeholder=Rg.placeholder,o}Rg.placeholder={};var GR=16;function Dg(a,i,s){i=s?void 0:i;var o=Os(a,GR,void 0,void 0,void 0,void 0,void 0,i);return o.placeholder=Dg.placeholder,o}Dg.placeholder={};var bf=function(){return fa.Date.now()},YR="Expected a function",HR=Math.max,zR=Math.min;function kx(a,i,s){var o,v,b,y,g,l,h=0,u=!1,f=!1,p=!0;if(typeof a!="function")throw new TypeError(YR);i=y1(i)||0,Sn(s)&&(u=!!s.leading,f="maxWait"in s,b=f?HR(y1(s.maxWait)||0,i):b,p="trailing"in s?!!s.trailing:p);function d(M){var T=o,R=v;return o=v=void 0,h=M,y=a.apply(R,T),y}function A(M){return h=M,g=setTimeout(x,i),u?d(M):y}function w(M){var T=M-l,R=M-h,N=i-T;return f?zR(N,b-R):N}function m(M){var T=M-l,R=M-h;return l===void 0||T>=i||T<0||f&&R>=b}function x(){var M=bf();if(m(M))return C(M);g=setTimeout(x,w(M))}function C(M){return g=void 0,p&&o?d(M):(o=v=void 0,y)}function E(){g!==void 0&&clearTimeout(g),h=0,o=l=v=g=void 0}function B(){return g===void 0?y:C(bf())}function S(){var M=bf(),T=m(M);if(o=arguments,v=this,l=M,T){if(g===void 0)return A(l);if(f)return clearTimeout(g),g=setTimeout(x,i),d(l)}return g===void 0&&(g=setTimeout(x,i)),y}return S.cancel=E,S.flush=B,S}function qR(a,i){return a==null||a!==a?i:a}var _x=Object.prototype,WR=_x.hasOwnProperty,VR=Mr(function(a,i){a=Object(a);var s=-1,o=i.length,v=o>2?i[2]:void 0;for(v&&La(i[0],i[1],v)&&(o=1);++s<o;)for(var b=i[s],y=i1(b),g=-1,l=y.length;++g<l;){var h=y[g],u=a[h];(u===void 0||H1(u,_x[h])&&!WR.call(a,h))&&(a[h]=b[h])}return a});function Ap(a,i,s){(s!==void 0&&!H1(a[i],s)||s===void 0&&!(i in a))&&Rs(a,i,s)}function Gn(a){return Rn(a)&&r1(a)}function mp(a,i){if(!(i==="constructor"&&typeof a[i]=="function")&&i!="__proto__")return a[i]}function Mx(a){return ls(a,i1(a))}function $R(a,i,s,o,v,b,y){var g=mp(a,s),l=mp(i,s),h=y.get(l);if(h){Ap(a,s,h);return}var u=b?b(g,l,s+"",a,i,y):void 0,f=u===void 0;if(f){var p=yr(l),d=!p&&Zs(l),A=!p&&!d&&Ac(l);u=l,p||d||A?yr(g)?u=g:Gn(g)?u=Ja(g):d?(f=!1,u=ox(l,!0)):A?(f=!1,u=fx(l,!0)):u=[]:ql(l)||Bo(l)?(u=g,Bo(g)?u=Mx(g):(!Sn(g)||Ms(g))&&(u=hx(l))):f=!1}f&&(y.set(l,u),v(u,l,o,b,y),y.delete(l)),Ap(a,s,u)}function bu(a,i,s,o,v){a!==i&&Og(i,function(b,y){if(v||(v=new L1),Sn(b))$R(a,i,y,s,bu,o,v);else{var g=o?o(mp(a,y),b,y+"",a,i,v):void 0;g===void 0&&(g=b),Ap(a,y,g)}},i1)}function Tx(a,i,s,o,v,b){return Sn(a)&&Sn(i)&&(b.set(i,a),bu(a,i,void 0,Tx,b),b.delete(i)),a}var Ox=vc(function(a,i,s,o){bu(a,i,s,o)}),XR=Mr(function(a){return a.push(void 0,Tx),v1(Ox,void 0,a)}),JR="Expected a function";function Rx(a,i,s){if(typeof a!="function")throw new TypeError(JR);return setTimeout(function(){a.apply(void 0,s)},i)}var KR=Mr(function(a,i){return Rx(a,1,i)}),ZR=Mr(function(a,i,s){return Rx(a,y1(i)||0,s)});function Fg(a,i,s){for(var o=-1,v=a==null?0:a.length;++o<v;)if(s(i,a[o]))return!0;return!1}var eD=200;function Vl(a,i,s,o){var v=-1,b=lu,y=!0,g=a.length,l=[],h=i.length;if(!g)return l;s&&(i=vn(i,A1(s))),o?(b=Fg,y=!1):i.length>=eD&&(b=Pl,y=!1,i=new ko(i));e:for(;++v<g;){var u=a[v],f=s==null?u:s(u);if(u=o||u!==0?u:0,y&&f===f){for(var p=h;p--;)if(i[p]===f)continue e;l.push(u)}else b(i,f,o)||l.push(u)}return l}var tD=Mr(function(a,i){return Gn(a)?Vl(a,wa(i,1,Gn,!0)):[]});function B1(a){var i=a==null?0:a.length;return i?a[i-1]:void 0}var rD=Mr(function(a,i){var s=B1(i);return Gn(s)&&(s=void 0),Gn(a)?Vl(a,wa(i,1,Gn,!0),pr(s)):[]}),iD=Mr(function(a,i){var s=B1(i);return Gn(s)&&(s=void 0),Gn(a)?Vl(a,wa(i,1,Gn,!0),void 0,s):[]}),nD=su(function(a,i){return a/i},1);function aD(a,i,s){var o=a==null?0:a.length;return o?(i=s||i===void 0?1:Er(i),E1(a,i<0?0:i,o)):[]}function sD(a,i,s){var o=a==null?0:a.length;return o?(i=s||i===void 0?1:Er(i),i=o-i,E1(a,0,i<0?0:i)):[]}function wu(a,i,s,o){for(var v=a.length,b=o?v:-1;(o?b--:++b<v)&&i(a[b],b,a););return s?E1(a,o?0:b,o?b+1:v):E1(a,o?b+1:0,o?v:b)}function oD(a,i){return a&&a.length?wu(a,pr(i),!0,!0):[]}function cD(a,i){return a&&a.length?wu(a,pr(i),!0):[]}function us(a){return typeof a=="function"?a:t1}function lD(a,i){var s=yr(a)?S1:so;return s(a,us(i))}function fD(a,i){for(var s=a==null?0:a.length;s--&&i(a[s],s,a)!==!1;);return a}var Dx=Bx(!0);function Qg(a,i){return a&&Dx(a,i,ha)}var Fx=Sx(Qg,!0);function hD(a,i){var s=yr(a)?fD:Fx;return s(a,us(i))}function uD(a,i,s){a=yi(a),i=g1(i);var o=a.length;s=s===void 0?o:Ro(Er(s),0,o);var v=s;return s-=i.length,s>=0&&a.slice(s,v)==i}function dD(a,i){return vn(i,function(s){return[s,a[s]]})}function pD(a){var i=-1,s=Array(a.size);return a.forEach(function(o){s[++i]=[o,o]}),s}var gD="[object Map]",vD="[object Set]";function Qx(a){return function(i){var s=Sa(i);return s==gD?Sg(i):s==vD?pD(i):dD(i,a(i))}}var AD=Qx(ha),mD=Qx(i1),bD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},wD=wg(bD),jx=/[&<>"']/g,yD=RegExp(jx.source);function Nx(a){return a=yi(a),a&&yD.test(a)?a.replace(jx,wD):a}var Px=/[\\^$.*+?()[\]{}|]/g,xD=RegExp(Px.source);function CD(a){return a=yi(a),a&&xD.test(a)?a.replace(Px,"\\$&"):a}function Ux(a,i){for(var s=-1,o=a==null?0:a.length;++s<o;)if(!i(a[s],s,a))return!1;return!0}function ID(a,i){var s=!0;return so(a,function(o,v,b){return s=!!i(o,v,b),s}),s}function ED(a,i,s){var o=yr(a)?Ux:ID;return s&&La(a,i,s)&&(i=void 0),o(a,pr(i))}var BD=4294967295;function Lx(a){return a?Ro(Er(a),0,BD):0}function SD(a,i,s,o){var v=a.length;for(s=Er(s),s<0&&(s=-s>v?0:v+s),o=o===void 0||o>v?v:Er(o),o<0&&(o+=v),o=s>o?0:Lx(o);s<o;)a[s++]=i;return a}function kD(a,i,s,o){var v=a==null?0:a.length;return v?(s&&typeof s!="number"&&La(a,i,s)&&(s=0,o=v),SD(a,i,s,o)):[]}function Gx(a,i){var s=[];return so(a,function(o,v,b){i(o,v,b)&&s.push(o)}),s}function _D(a,i){var s=yr(a)?ao:Gx;return s(a,pr(i))}function Yx(a){return function(i,s,o){var v=Object(i);if(!r1(i)){var b=pr(s);i=ha(i),s=function(g){return b(v[g],g,v)}}var y=a(i,s,o);return y>-1?v[b?i[y]:y]:void 0}}var MD=Math.max;function Hx(a,i,s){var o=a==null?0:a.length;if(!o)return-1;var v=s==null?0:Er(s);return v<0&&(v=MD(o+v,0)),cu(a,pr(i),v)}var TD=Yx(Hx);function zx(a,i,s){var o;return s(a,function(v,b,y){if(i(v,b,y))return o=b,!1}),o}function OD(a,i){return zx(a,pr(i),hs)}var RD=Math.max,DD=Math.min;function qx(a,i,s){var o=a==null?0:a.length;if(!o)return-1;var v=o-1;return s!==void 0&&(v=Er(s),v=s<0?RD(o+v,0):DD(v,o-1)),cu(a,pr(i),v,!0)}var FD=Yx(qx);function QD(a,i){return zx(a,pr(i),Qg)}function jD(a){return a&&a.length?a[0]:void 0}function Wx(a,i){var s=-1,o=r1(a)?Array(a.length):[];return so(a,function(v,b,y){o[++s]=i(v,b,y)}),o}function yu(a,i){var s=yr(a)?vn:Wx;return s(a,pr(i))}function ND(a,i){return wa(yu(a,i),1)}var PD=1/0;function UD(a,i){return wa(yu(a,i),PD)}function LD(a,i,s){return s=s===void 0?1:Er(s),wa(yu(a,i),s)}var GD=1/0;function YD(a){var i=a==null?0:a.length;return i?wa(a,GD):[]}function HD(a,i){var s=a==null?0:a.length;return s?(i=i===void 0?1:Er(i),wa(a,i)):[]}var zD=512;function qD(a){return Os(a,zD)}var WD=yg("floor"),VD="Expected a function",$D=8,XD=32,JD=128,KD=256;function Vx(a){return Qs(function(i){var s=i.length,o=s,v=C1.prototype.thru;for(a&&i.reverse();o--;){var b=i[o];if(typeof b!="function")throw new TypeError(VD);if(v&&!y&&mf(b)=="wrapper")var y=new C1([],!0)}for(o=y?o:s;++o<s;){b=i[o];var g=mf(b),l=g=="wrapper"?cg(b):void 0;l&&fp(l[0])&&l[1]==(JD|$D|XD|KD)&&!l[4].length&&l[9]==1?y=y[mf(l[0])].apply(y,l[3]):y=b.length==1&&fp(b)?y[g]():y.thru(b)}return function(){var h=arguments,u=h[0];if(y&&h.length==1&&yr(u))return y.plant(u).value();for(var f=0,p=s?i[f].apply(this,h):u;++f<s;)p=i[f].call(this,p);return p}})}var ZD=Vx(),eF=Vx(!0);function tF(a,i){return a==null?a:Og(a,us(i),i1)}function rF(a,i){return a==null?a:Dx(a,us(i),i1)}function iF(a,i){return a&&hs(a,us(i))}function nF(a,i){return a&&Qg(a,us(i))}function aF(a){for(var i=-1,s=a==null?0:a.length,o={};++i<s;){var v=a[i];o[v[0]]=v[1]}return o}function xu(a,i){return ao(i,function(s){return Ms(a[s])})}function sF(a){return a==null?[]:xu(a,ha(a))}function oF(a){return a==null?[]:xu(a,i1(a))}var cF=Object.prototype,lF=cF.hasOwnProperty,fF=mu(function(a,i,s){lF.call(a,s)?a[s].push(i):Rs(a,s,[i])});function jg(a,i){return a>i}function Cu(a){return function(i,s){return typeof i=="string"&&typeof s=="string"||(i=y1(i),s=y1(s)),a(i,s)}}var hF=Cu(jg),uF=Cu(function(a,i){return a>=i}),dF=Object.prototype,pF=dF.hasOwnProperty;function gF(a,i){return a!=null&&pF.call(a,i)}function vF(a,i){return a!=null&&xx(a,i,gF)}var AF=Math.max,mF=Math.min;function bF(a,i,s){return a>=mF(i,s)&&a<AF(i,s)}function wF(a,i,s){return i=Bs(i),s===void 0?(s=i,i=0):s=Bs(s),a=y1(a),bF(a,i,s)}var yF="[object String]";function Iu(a){return typeof a=="string"||!yr(a)&&Rn(a)&&Ga(a)==yF}function Ng(a,i){return vn(i,function(s){return a[s]})}function wc(a){return a==null?[]:Ng(a,ha(a))}var xF=Math.max;function CF(a,i,s,o){a=r1(a)?a:wc(a),s=s&&!o?Er(s):0;var v=a.length;return s<0&&(s=xF(v+s,0)),Iu(a)?s<=v&&a.indexOf(i,s)>-1:!!v&&pc(a,i,s)>-1}var IF=Math.max;function EF(a,i,s){var o=a==null?0:a.length;if(!o)return-1;var v=s==null?0:Er(s);return v<0&&(v=IF(o+v,0)),pc(a,i,v)}function BF(a){var i=a==null?0:a.length;return i?E1(a,0,-1):[]}var SF=Math.min;function Pg(a,i,s){for(var o=s?Fg:lu,v=a[0].length,b=a.length,y=b,g=Array(b),l=1/0,h=[];y--;){var u=a[y];y&&i&&(u=vn(u,A1(i))),l=SF(u.length,l),g[y]=!s&&(i||v>=120&&u.length>=120)?new ko(y&&u):void 0}u=a[0];var f=-1,p=g[0];e:for(;++f<v&&h.length<l;){var d=u[f],A=i?i(d):d;if(d=s||d!==0?d:0,!(p?Pl(p,A):o(h,A,s))){for(y=b;--y;){var w=g[y];if(!(w?Pl(w,A):o(a[y],A,s)))continue e}p&&p.push(A),h.push(d)}}return h}function Ug(a){return Gn(a)?a:[]}var kF=Mr(function(a){var i=vn(a,Ug);return i.length&&i[0]===a[0]?Pg(i):[]}),_F=Mr(function(a){var i=B1(a),s=vn(a,Ug);return i===B1(s)?i=void 0:s.pop(),s.length&&s[0]===a[0]?Pg(s,pr(i)):[]}),MF=Mr(function(a){var i=B1(a),s=vn(a,Ug);return i=typeof i=="function"?i:void 0,i&&s.pop(),s.length&&s[0]===a[0]?Pg(s,void 0,i):[]});function TF(a,i,s,o){return hs(a,function(v,b,y){i(o,s(v),b,y)}),o}function $x(a,i){return function(s,o){return TF(s,a,i(o),{})}}var OF=Object.prototype,RF=OF.toString,DF=$x(function(a,i,s){i!=null&&typeof i.toString!="function"&&(i=RF.call(i)),a[i]=s},lg(t1)),Xx=Object.prototype,FF=Xx.hasOwnProperty,QF=Xx.toString,jF=$x(function(a,i,s){i!=null&&typeof i.toString!="function"&&(i=QF.call(i)),FF.call(a,i)?a[i].push(s):a[i]=[s]},pr);function Jx(a,i){return i.length<2?a:Oo(a,E1(i,0,-1))}function $l(a,i,s){i=ro(i,a),a=Jx(a,i);var o=a==null?a:a[fs(B1(i))];return o==null?void 0:v1(o,a,s)}var NF=Mr($l),PF=Mr(function(a,i,s){var o=-1,v=typeof i=="function",b=r1(a)?Array(a.length):[];return so(a,function(y){b[++o]=v?v1(i,y,s):$l(y,i,s)}),b}),UF="[object ArrayBuffer]";function LF(a){return Rn(a)&&Ga(a)==UF}var Om=I1&&I1.isArrayBuffer,GF=Om?A1(Om):LF,YF="[object Boolean]";function HF(a){return a===!0||a===!1||Rn(a)&&Ga(a)==YF}var zF="[object Date]";function qF(a){return Rn(a)&&Ga(a)==zF}var Rm=I1&&I1.isDate,WF=Rm?A1(Rm):qF;function VF(a){return Rn(a)&&a.nodeType===1&&!ql(a)}var $F="[object Map]",XF="[object Set]",JF=Object.prototype,KF=JF.hasOwnProperty;function ZF(a){if(a==null)return!0;if(r1(a)&&(yr(a)||typeof a=="string"||typeof a.splice=="function"||Zs(a)||Ac(a)||Bo(a)))return!a.length;var i=Sa(a);if(i==$F||i==XF)return!a.size;if(zl(a))return!dg(a).length;for(var s in a)if(KF.call(a,s))return!1;return!0}function eQ(a,i){return Wl(a,i)}function tQ(a,i,s){s=typeof s=="function"?s:void 0;var o=s?s(a,i):void 0;return o===void 0?Wl(a,i,void 0,s):!!o}var rQ=fa.isFinite;function iQ(a){return typeof a=="number"&&rQ(a)}function Kx(a){return typeof a=="number"&&a==Er(a)}function nQ(a,i){return a===i||kg(a,i,_g(i))}function aQ(a,i,s){return s=typeof s=="function"?s:void 0,kg(a,i,_g(i),s)}var sQ="[object Number]";function Zx(a){return typeof a=="number"||Rn(a)&&Ga(a)==sQ}function oQ(a){return Zx(a)&&a!=+a}var cQ=Af?Ms:ug,lQ="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function fQ(a){if(cQ(a))throw new Error(lQ);return dy(a)}function hQ(a){return a==null}function uQ(a){return a===null}var dQ="[object RegExp]";function pQ(a){return Rn(a)&&Ga(a)==dQ}var Dm=I1&&I1.isRegExp,Lg=Dm?A1(Dm):pQ,Fm=9007199254740991;function gQ(a){return Kx(a)&&a>=-Fm&&a<=Fm}function vQ(a){return a===void 0}var AQ="[object WeakMap]";function mQ(a){return Rn(a)&&Sa(a)==AQ}var bQ="[object WeakSet]";function wQ(a){return Rn(a)&&Ga(a)==bQ}var yQ=1;function xQ(a){return pr(typeof a=="function"?a:x1(a,yQ))}var CQ=Array.prototype,IQ=CQ.join;function EQ(a,i){return a==null?"":IQ.call(a,i)}var BQ=bc(function(a,i,s){return a+(s?"-":"")+i.toLowerCase()}),SQ=mu(function(a,i,s){Rs(a,s,i)});function kQ(a,i,s){for(var o=s+1;o--;)if(a[o]===i)return o;return o}var _Q=Math.max,MQ=Math.min;function TQ(a,i,s){var o=a==null?0:a.length;if(!o)return-1;var v=o;return s!==void 0&&(v=Er(s),v=v<0?_Q(o+v,0):MQ(v,o-1)),i===i?kQ(a,i,v):cu(a,wy,v,!0)}var OQ=bc(function(a,i,s){return a+(s?" ":"")+i.toLowerCase()}),RQ=Ly("toLowerCase");function Gg(a,i){return a<i}var DQ=Cu(Gg),FQ=Cu(function(a,i){return a<=i});function QQ(a,i){var s={};return i=pr(i),hs(a,function(o,v,b){Rs(s,i(o,v,b),o)}),s}function jQ(a,i){var s={};return i=pr(i),hs(a,function(o,v,b){Rs(s,v,i(o,v,b))}),s}var NQ=1;function PQ(a){return yx(x1(a,NQ))}var UQ=1;function LQ(a,i){return Cx(a,x1(i,UQ))}function Eu(a,i,s){for(var o=-1,v=a.length;++o<v;){var b=a[o],y=i(b);if(y!=null&&(g===void 0?y===y&&!p1(y):s(y,g)))var g=y,l=b}return l}function GQ(a){return a&&a.length?Eu(a,t1,jg):void 0}function YQ(a,i){return a&&a.length?Eu(a,pr(i),jg):void 0}function Yg(a,i){for(var s,o=-1,v=a.length;++o<v;){var b=i(a[o]);b!==void 0&&(s=s===void 0?b:s+b)}return s}var HQ=NaN;function e6(a,i){var s=a==null?0:a.length;return s?Yg(a,i)/s:HQ}function zQ(a){return e6(a,t1)}function qQ(a,i){return e6(a,pr(i))}var WQ=vc(function(a,i,s){bu(a,i,s)}),VQ=Mr(function(a,i){return function(s){return $l(s,a,i)}}),$Q=Mr(function(a,i){return function(s){return $l(a,s,i)}});function XQ(a){return a&&a.length?Eu(a,t1,Gg):void 0}function JQ(a,i){return a&&a.length?Eu(a,pr(i),Gg):void 0}function KQ(a,i,s){var o=ha(i),v=xu(i,o),b=!(Sn(s)&&"chain"in s)||!!s.chain,y=Ms(a);return S1(v,function(g){var l=i[g];a[g]=l,y&&(a.prototype[g]=function(){var h=this.__chain__;if(b||h){var u=a(this.__wrapped__),f=u.__actions__=Ja(this.__actions__);return f.push({func:l,args:arguments,thisArg:a}),u.__chain__=h,u}return l.apply(a,io([this.value()],arguments))})}),a}var ZQ=su(function(a,i){return a*i},1),ej="Expected a function";function Bu(a){if(typeof a!="function")throw new TypeError(ej);return function(){var i=arguments;switch(i.length){case 0:return!a.call(this);case 1:return!a.call(this,i[0]);case 2:return!a.call(this,i[0],i[1]);case 3:return!a.call(this,i[0],i[1],i[2])}return!a.apply(this,i)}}function tj(a){for(var i,s=[];!(i=a.next()).done;)s.push(i.value);return s}var rj="[object Map]",ij="[object Set]",H0=Ma?Ma.iterator:void 0;function t6(a){if(!a)return[];if(r1(a))return Iu(a)?G1(a):Ja(a);if(H0&&a[H0])return tj(a[H0]());var i=Sa(a),s=i==rj?Sg:i==ij?Au:wc;return s(a)}function nj(){this.__values__===void 0&&(this.__values__=t6(this.value()));var a=this.__index__>=this.__values__.length,i=a?void 0:this.__values__[this.__index__++];return{done:a,value:i}}function r6(a,i){var s=a.length;if(s)return i+=i<0?s:0,Ts(i,s)?a[i]:void 0}function aj(a,i){return a&&a.length?r6(a,Er(i)):void 0}function sj(a){return a=Er(a),Mr(function(i){return r6(i,a)})}function Hg(a,i){return i=ro(i,a),a=Jx(a,i),a==null||delete a[fs(B1(i))]}function oj(a){return ql(a)?void 0:a}var cj=1,lj=2,fj=4,hj=Qs(function(a,i){var s={};if(a==null)return s;var o=!1;i=vn(i,function(b){return b=ro(b,a),o||(o=b.length>1),b}),ls(a,Ig(a),s),o&&(s=x1(s,cj|lj|fj,oj));for(var v=i.length;v--;)Hg(s,i[v]);return s});function Xl(a,i,s,o){if(!Sn(a))return a;i=ro(i,a);for(var v=-1,b=i.length,y=b-1,g=a;g!=null&&++v<b;){var l=fs(i[v]),h=s;if(l==="__proto__"||l==="constructor"||l==="prototype")return a;if(v!=y){var u=g[l];h=o?o(u,l,g):void 0,h===void 0&&(h=Sn(u)?u:Ts(i[v+1])?[]:{})}Hl(g,l,h),g=g[l]}return a}function i6(a,i,s){for(var o=-1,v=i.length,b={};++o<v;){var y=i[o],g=Oo(a,y);s(g,y)&&Xl(b,ro(y,a),g)}return b}function n6(a,i){if(a==null)return{};var s=vn(Ig(a),function(o){return[o]});return i=pr(i),i6(a,s,function(o,v){return i(o,v[0])})}function uj(a,i){return n6(a,Bu(pr(i)))}function dj(a){return Dy(2,a)}function pj(a,i){var s=a.length;for(a.sort(i);s--;)a[s]=a[s].value;return a}function a6(a,i){if(a!==i){var s=a!==void 0,o=a===null,v=a===a,b=p1(a),y=i!==void 0,g=i===null,l=i===i,h=p1(i);if(!g&&!h&&!b&&a>i||b&&y&&l&&!g&&!h||o&&y&&l||!s&&l||!v)return 1;if(!o&&!b&&!h&&a<i||h&&s&&v&&!o&&!b||g&&s&&v||!y&&v||!l)return-1}return 0}function gj(a,i,s){for(var o=-1,v=a.criteria,b=i.criteria,y=v.length,g=s.length;++o<y;){var l=a6(v[o],b[o]);if(l){if(o>=g)return l;var h=s[o];return l*(h=="desc"?-1:1)}}return a.index-i.index}function s6(a,i,s){i.length?i=vn(i,function(b){return yr(b)?function(y){return Oo(y,b.length===1?b[0]:b)}:b}):i=[t1];var o=-1;i=vn(i,A1(pr));var v=Wx(a,function(b,y,g){var l=vn(i,function(h){return h(b)});return{criteria:l,index:++o,value:b}});return pj(v,function(b,y){return gj(b,y,s)})}function vj(a,i,s,o){return a==null?[]:(yr(i)||(i=i==null?[]:[i]),s=o?void 0:s,yr(s)||(s=s==null?[]:[s]),s6(a,i,s))}function zg(a){return Qs(function(i){return i=vn(i,A1(pr)),Mr(function(s){var o=this;return a(i,function(v){return v1(v,o,s)})})})}var Aj=zg(vn),mj=Mr,bj=Math.min,wj=mj(function(a,i){i=i.length==1&&yr(i[0])?vn(i[0],A1(pr)):vn(wa(i,1),A1(pr));var s=i.length;return Mr(function(o){for(var v=-1,b=bj(o.length,s);++v<b;)o[v]=i[v].call(this,o[v]);return v1(a,this,o)})}),yj=zg(Ux),xj=zg(Bg),Cj=9007199254740991,Ij=Math.floor;function bp(a,i){var s="";if(!a||i<1||i>Cj)return s;do i%2&&(s+=a),i=Ij(i/2),i&&(a+=a);while(i);return s}var Ej=Tg("length"),o6="\\ud800-\\udfff",Bj="\\u0300-\\u036f",Sj="\\ufe20-\\ufe2f",kj="\\u20d0-\\u20ff",_j=Bj+Sj+kj,Mj="\\ufe0e\\ufe0f",Tj="["+o6+"]",wp="["+_j+"]",yp="\\ud83c[\\udffb-\\udfff]",Oj="(?:"+wp+"|"+yp+")",c6="[^"+o6+"]",l6="(?:\\ud83c[\\udde6-\\uddff]){2}",f6="[\\ud800-\\udbff][\\udc00-\\udfff]",Rj="\\u200d",h6=Oj+"?",u6="["+Mj+"]?",Dj="(?:"+Rj+"(?:"+[c6,l6,f6].join("|")+")"+u6+h6+")*",Fj=u6+h6+Dj,Qj="(?:"+[c6+wp+"?",wp,l6,f6,Tj].join("|")+")",Qm=RegExp(yp+"(?="+yp+")|"+Qj+Fj,"g");function jj(a){for(var i=Qm.lastIndex=0;Qm.test(a);)++i;return i}function yc(a){return mc(a)?jj(a):Ej(a)}var Nj=Math.ceil;function jf(a,i){i=i===void 0?" ":g1(i);var s=i.length;if(s<2)return s?bp(i,a):i;var o=bp(i,Nj(a/yc(i)));return mc(i)?no(G1(o),0,a).join(""):o.slice(0,a)}var Pj=Math.ceil,Uj=Math.floor;function Lj(a,i,s){a=yi(a),i=Er(i);var o=i?yc(a):0;if(!i||o>=i)return a;var v=(i-o)/2;return jf(Uj(v),s)+a+jf(Pj(v),s)}function Gj(a,i,s){a=yi(a),i=Er(i);var o=i?yc(a):0;return i&&o<i?a+jf(i-o,s):a}function Yj(a,i,s){a=yi(a),i=Er(i);var o=i?yc(a):0;return i&&o<i?jf(i-o,s)+a:a}var Hj=/^\s+/,zj=fa.parseInt;function qj(a,i,s){return s||i==null?i=0:i&&(i=+i),zj(yi(a).replace(Hj,""),i||0)}var Wj=32,Su=Mr(function(a,i){var s=Ks(i,gc(Su));return Os(a,Wj,void 0,i,s)});Su.placeholder={};var Vj=64,qg=Mr(function(a,i){var s=Ks(i,gc(qg));return Os(a,Vj,void 0,i,s)});qg.placeholder={};var $j=mu(function(a,i,s){a[s?0:1].push(i)},function(){return[[],[]]});function Xj(a,i){return i6(a,i,function(s,o){return Mg(a,o)})}var d6=Qs(function(a,i){return a==null?{}:Xj(a,i)});function Jj(a){for(var i,s=this;s instanceof ou;){var o=Ay(s);o.__index__=0,o.__values__=void 0,i?v.__wrapped__=o:i=o;var v=o;s=s.__wrapped__}return v.__wrapped__=a,i}function Kj(a){return function(i){return a==null?void 0:Oo(a,i)}}function Zj(a,i,s,o){for(var v=s-1,b=a.length;++v<b;)if(o(a[v],i))return v;return-1}var eN=Array.prototype,jm=eN.splice;function Wg(a,i,s,o){var v=o?Zj:pc,b=-1,y=i.length,g=a;for(a===i&&(i=Ja(i)),s&&(g=vn(a,A1(s)));++b<y;)for(var l=0,h=i[b],u=s?s(h):h;(l=v(g,u,l,o))>-1;)g!==a&&jm.call(g,l,1),jm.call(a,l,1);return a}function p6(a,i){return a&&a.length&&i&&i.length?Wg(a,i):a}var tN=Mr(p6);function rN(a,i,s){return a&&a.length&&i&&i.length?Wg(a,i,pr(s)):a}function iN(a,i,s){return a&&a.length&&i&&i.length?Wg(a,i,void 0,s):a}var nN=Array.prototype,aN=nN.splice;function g6(a,i){for(var s=a?i.length:0,o=s-1;s--;){var v=i[s];if(s==o||v!==b){var b=v;Ts(v)?aN.call(a,v,1):Hg(a,v)}}return a}var sN=Qs(function(a,i){var s=a==null?0:a.length,o=gg(a,i);return g6(a,vn(i,function(v){return Ts(v,s)?+v:v}).sort(a6)),o}),oN=Math.floor,cN=Math.random;function Vg(a,i){return a+oN(cN()*(i-a+1))}var lN=parseFloat,fN=Math.min,hN=Math.random;function uN(a,i,s){if(s&&typeof s!="boolean"&&La(a,i,s)&&(i=s=void 0),s===void 0&&(typeof i=="boolean"?(s=i,i=void 0):typeof a=="boolean"&&(s=a,a=void 0)),a===void 0&&i===void 0?(a=0,i=1):(a=Bs(a),i===void 0?(i=a,a=0):i=Bs(i)),a>i){var o=a;a=i,i=o}if(s||a%1||i%1){var v=hN();return fN(a+v*(i-a+lN("1e-"+((v+"").length-1))),i)}return Vg(a,i)}var dN=Math.ceil,pN=Math.max;function gN(a,i,s,o){for(var v=-1,b=pN(dN((i-a)/(s||1)),0),y=Array(b);b--;)y[o?b:++v]=a,a+=s;return y}function v6(a){return function(i,s,o){return o&&typeof o!="number"&&La(i,s,o)&&(s=o=void 0),i=Bs(i),s===void 0?(s=i,i=0):s=Bs(s),o=o===void 0?i<s?1:-1:Bs(o),gN(i,s,o,a)}}var vN=v6(),AN=v6(!0),mN=256,bN=Qs(function(a,i){return Os(a,mN,void 0,void 0,void 0,i)});function A6(a,i,s,o,v){return v(a,function(b,y,g){s=o?(o=!1,b):i(s,b,y,g)}),s}function wN(a,i,s){var o=yr(a)?bg:A6,v=arguments.length<3;return o(a,pr(i),s,v,so)}function yN(a,i,s,o){var v=a==null?0:a.length;for(o&&v&&(s=a[--v]);v--;)s=i(s,a[v],v,a);return s}function xN(a,i,s){var o=yr(a)?yN:A6,v=arguments.length<3;return o(a,pr(i),s,v,Fx)}function CN(a,i){var s=yr(a)?ao:Gx;return s(a,Bu(pr(i)))}function IN(a,i){var s=[];if(!(a&&a.length))return s;var o=-1,v=[],b=a.length;for(i=pr(i);++o<b;){var y=a[o];i(y,o,a)&&(s.push(y),v.push(o))}return g6(a,v),s}function EN(a,i,s){return(s?La(a,i,s):i===void 0)?i=1:i=Er(i),bp(yi(a),i)}function BN(){var a=arguments,i=yi(a[0]);return a.length<3?i:i.replace(a[1],a[2])}var SN="Expected a function";function kN(a,i){if(typeof a!="function")throw new TypeError(SN);return i=i===void 0?i:Er(i),Mr(a,i)}function _N(a,i,s){i=ro(i,a);var o=-1,v=i.length;for(v||(v=1,a=void 0);++o<v;){var b=a?.[fs(i[o])];b===void 0&&(o=v,b=s),a=Ms(b)?b.call(a):b}return a}var MN=Array.prototype,TN=MN.reverse;function xp(a){return a==null?a:TN.call(a)}var ON=yg("round");function m6(a){var i=a.length;return i?a[Vg(0,i-1)]:void 0}function RN(a){return m6(wc(a))}function DN(a){var i=yr(a)?m6:RN;return i(a)}function ku(a,i){var s=-1,o=a.length,v=o-1;for(i=i===void 0?o:i;++s<i;){var b=Vg(s,v),y=a[b];a[b]=a[s],a[s]=y}return a.length=i,a}function FN(a,i){return ku(Ja(a),Ro(i,0,a.length))}function QN(a,i){var s=wc(a);return ku(s,Ro(i,0,s.length))}function jN(a,i,s){(s?La(a,i,s):i===void 0)?i=1:i=Er(i);var o=yr(a)?FN:QN;return o(a,i)}function b6(a,i,s){return a==null?a:Xl(a,i,s)}function NN(a,i,s,o){return o=typeof o=="function"?o:void 0,a==null?a:Xl(a,i,s,o)}function PN(a){return ku(Ja(a))}function UN(a){return ku(wc(a))}function LN(a){var i=yr(a)?PN:UN;return i(a)}var GN="[object Map]",YN="[object Set]";function HN(a){if(a==null)return 0;if(r1(a))return Iu(a)?yc(a):a.length;var i=Sa(a);return i==GN||i==YN?a.size:dg(a).length}function zN(a,i,s){var o=a==null?0:a.length;return o?(s&&typeof s!="number"&&La(a,i,s)?(i=0,s=o):(i=i==null?0:Er(i),s=s===void 0?o:Er(s)),E1(a,i,s)):[]}var qN=bc(function(a,i,s){return a+(s?"_":"")+i.toLowerCase()});function WN(a,i){var s;return so(a,function(o,v,b){return s=i(o,v,b),!s}),!!s}function VN(a,i,s){var o=yr(a)?Bg:WN;return s&&La(a,i,s)&&(i=void 0),o(a,pr(i))}var $N=Mr(function(a,i){if(a==null)return[];var s=i.length;return s>1&&La(a,i[0],i[1])?i=[]:s>2&&La(i[0],i[1],i[2])&&(i=[i[0]]),s6(a,wa(i,1),[])}),XN=4294967295,JN=XN-1,KN=Math.floor,ZN=Math.min;function $g(a,i,s,o){var v=0,b=a==null?0:a.length;if(b===0)return 0;i=s(i);for(var y=i!==i,g=i===null,l=p1(i),h=i===void 0;v<b;){var u=KN((v+b)/2),f=s(a[u]),p=f!==void 0,d=f===null,A=f===f,w=p1(f);if(y)var m=o||A;else h?m=A&&(o||p):g?m=A&&p&&(o||!d):l?m=A&&p&&!d&&(o||!w):d||w?m=!1:m=o?f<=i:f<i;m?v=u+1:b=u}return ZN(b,JN)}var eP=4294967295,tP=eP>>>1;function _u(a,i,s){var o=0,v=a==null?o:a.length;if(typeof i=="number"&&i===i&&v<=tP){for(;o<v;){var b=o+v>>>1,y=a[b];y!==null&&!p1(y)&&(s?y<=i:y<i)?o=b+1:v=b}return v}return $g(a,i,t1,s)}function rP(a,i){return _u(a,i)}function iP(a,i,s){return $g(a,i,pr(s))}function nP(a,i){var s=a==null?0:a.length;if(s){var o=_u(a,i);if(o<s&&H1(a[o],i))return o}return-1}function aP(a,i){return _u(a,i,!0)}function sP(a,i,s){return $g(a,i,pr(s),!0)}function oP(a,i){var s=a==null?0:a.length;if(s){var o=_u(a,i,!0)-1;if(H1(a[o],i))return o}return-1}function w6(a,i){for(var s=-1,o=a.length,v=0,b=[];++s<o;){var y=a[s],g=i?i(y):y;if(!s||!H1(g,l)){var l=g;b[v++]=y===0?0:y}}return b}function cP(a){return a&&a.length?w6(a):[]}function lP(a,i){return a&&a.length?w6(a,pr(i)):[]}var fP=4294967295;function hP(a,i,s){return s&&typeof s!="number"&&La(a,i,s)&&(i=s=void 0),s=s===void 0?fP:s>>>0,s?(a=yi(a),a&&(typeof i=="string"||i!=null&&!Lg(i))&&(i=g1(i),!i&&mc(a))?no(G1(a),0,s):a.split(i,s)):[]}var uP="Expected a function",dP=Math.max;function pP(a,i){if(typeof a!="function")throw new TypeError(uP);return i=i==null?0:dP(Er(i),0),Mr(function(s){var o=s[i],v=no(s,0,i);return o&&io(v,o),v1(a,this,v)})}var gP=bc(function(a,i,s){return a+(s?" ":"")+mg(i)});function vP(a,i,s){return a=yi(a),s=s==null?0:Ro(Er(s),0,a.length),i=g1(i),a.slice(s,s+i.length)==i}function AP(){return{}}function mP(){return""}function bP(){return!0}var wP=su(function(a,i){return a-i},0);function yP(a){return a&&a.length?Yg(a,t1):0}function xP(a,i){return a&&a.length?Yg(a,pr(i)):0}function CP(a){var i=a==null?0:a.length;return i?E1(a,1,i):[]}function IP(a,i,s){return a&&a.length?(i=s||i===void 0?1:Er(i),E1(a,0,i<0?0:i)):[]}function EP(a,i,s){var o=a==null?0:a.length;return o?(i=s||i===void 0?1:Er(i),i=o-i,E1(a,i<0?0:i,o)):[]}function BP(a,i){return a&&a.length?wu(a,pr(i),!1,!0):[]}function SP(a,i){return a&&a.length?wu(a,pr(i)):[]}function kP(a,i){return i(a),a}var y6=Object.prototype,_P=y6.hasOwnProperty;function Nm(a,i,s,o){return a===void 0||H1(a,y6[s])&&!_P.call(o,s)?i:a}var MP={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function TP(a){return"\\"+MP[a]}var x6=/<%=([\s\S]+?)%>/g,OP=/<%-([\s\S]+?)%>/g,RP=/<%([\s\S]+?)%>/g,Cp={escape:OP,evaluate:RP,interpolate:x6,variable:"",imports:{_:{escape:Nx}}},DP="Invalid `variable` option passed into `_.template`",FP=/\b__p \+= '';/g,QP=/\b(__p \+=) '' \+/g,jP=/(__e\(.*?\)|\b__t\)) \+\n'';/g,NP=/[()=,{}\[\]\/\s]/,PP=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,E2=/($^)/,UP=/['\n\r\u2028\u2029\\]/g,LP=Object.prototype,Pm=LP.hasOwnProperty;function GP(a,i,s){var o=Cp.imports._.templateSettings||Cp;s&&La(a,i,s)&&(i=void 0),a=yi(a),i=hp({},i,o,Nm);var v=hp({},i.imports,o.imports,Nm),b=ha(v),y=Ng(v,b),g,l,h=0,u=i.interpolate||E2,f="__p += '",p=RegExp((i.escape||E2).source+"|"+u.source+"|"+(u===x6?PP:E2).source+"|"+(i.evaluate||E2).source+"|$","g"),d=Pm.call(i,"sourceURL")?"//# sourceURL="+(i.sourceURL+"").replace(/\s/g," ")+`
444
444
  `:"";a.replace(p,function(m,x,C,E,B,S){return C||(C=E),f+=a.slice(h,S).replace(UP,TP),x&&(g=!0,f+=`' +
package/dist/index.mjs CHANGED
@@ -20384,7 +20384,7 @@ const U1 = {
20384
20384
  isActiveSelection: kB,
20385
20385
  blobToBase64: _B,
20386
20386
  base64ToBlob: MB
20387
- }, TB = "0.0.11-alpha.3";
20387
+ }, TB = "0.0.11-alpha.4";
20388
20388
  window && (window._hprintPrintVersion = TB);
20389
20389
  Yl.fabric;
20390
20390
  var ly = typeof global == "object" && global && global.Object === Object && global, OB = typeof self == "object" && self && self.Object === Object && self, fa = ly || OB || Function("return this")(), Ma = fa.Symbol, fy = Object.prototype, RB = fy.hasOwnProperty, DB = fy.toString, rl = Ma ? Ma.toStringTag : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hprint/plugins",
3
- "version": "0.0.11-alpha.3",
3
+ "version": "0.0.11-alpha.4",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -22,8 +22,8 @@
22
22
  "qs": "~6.12.3",
23
23
  "socket.io-client": "^4.8.1",
24
24
  "uuid": "~8.3.2",
25
- "@hprint/core": "0.0.11-alpha.3",
26
- "@hprint/shared": "0.0.11-alpha.3"
25
+ "@hprint/shared": "0.0.11-alpha.4",
26
+ "@hprint/core": "0.0.11-alpha.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/bwip-js": "^3.2.3",
package/vite.config.ts CHANGED
@@ -20,7 +20,7 @@ export default defineConfig({
20
20
  formats: ['es', 'cjs'],
21
21
  },
22
22
  rollupOptions: {
23
- external: ['@hprint/core'],
23
+ external: ['@hprint/core'],
24
24
  output: {
25
25
  globals: {},
26
26
  },