@nocobase/app 1.3.38-beta → 1.4.0-alpha

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.
Files changed (103) hide show
  1. package/client/.umirc.ts +12 -14
  2. package/client/src/pages/index.tsx +3 -0
  3. package/dist/client/4607.bae81918.async.js +1 -0
  4. package/dist/client/5617.d114c98c.async.js +78 -0
  5. package/dist/client/5721.ee2b0cf3.async.js +7 -0
  6. package/dist/client/index.html +2 -1
  7. package/dist/client/index.html.tpl +2 -1
  8. package/dist/client/npm._at_ant-design.e1f1f4b0.async.js +110 -0
  9. package/dist/client/{npm._at_antv.5ea2df50.async.js → npm._at_antv.56fcebdf.async.js} +5 -5
  10. package/dist/client/npm._at_budibase.113c5b6a.async.js +36 -0
  11. package/dist/client/npm._at_dnd-kit.2fac5dde.async.js +9 -0
  12. package/dist/client/npm._at_emotion.6969cd50.async.js +2 -0
  13. package/dist/client/npm._at_formily.b1a03e41.async.js +96 -0
  14. package/dist/client/npm._at_formulajs.ff63776b.async.js +1 -0
  15. package/dist/client/npm._at_rc-component.43f95f42.async.js +5 -0
  16. package/dist/client/npm._at_remix-run.9a0418a9.async.js +2 -0
  17. package/dist/client/npm.ahooks.b416801a.async.js +6 -0
  18. package/dist/client/npm.antd-style.ecb45bdd.async.js +1 -0
  19. package/dist/client/npm.antd.732d7b9d.async.js +476 -0
  20. package/dist/client/npm.axios.c42e25ff.async.js +11 -0
  21. package/dist/client/npm.bignumber.js.cb49cd48.async.js +1 -0
  22. package/dist/client/npm.buffer.6f3eca94.async.js +1 -0
  23. package/dist/client/npm.cytoscape.cba0c14d.async.js +5 -0
  24. package/dist/client/{npm.d3-selection.e2684be8.async.js → npm.d3-selection.15d6ab5b.async.js} +1 -1
  25. package/dist/client/npm.d3-shape.b48fc404.async.js +1 -0
  26. package/dist/client/{npm.d3-transition.83e0f431.async.js → npm.d3-transition.5fd82a9c.async.js} +1 -1
  27. package/dist/client/{npm.dayjs.f4357565.async.js → npm.dayjs.0a5fd152.async.js} +1 -1
  28. package/dist/client/{npm.decimal.js.bb6d6d2e.async.js → npm.decimal.js.19391b1c.async.js} +1 -1
  29. package/dist/client/npm.dompurify.d5071c22.async.js +3 -0
  30. package/dist/client/{npm.elkjs.d0ff4db1.async.js → npm.elkjs.f35a7d45.async.js} +4 -4
  31. package/dist/client/npm.gl-matrix.d851d654.async.js +1 -0
  32. package/dist/client/{npm.handlebars.c04806e7.async.js → npm.handlebars.ade4c4fe.async.js} +5 -5
  33. package/dist/client/{npm.highlight.js.4213abe5.async.js → npm.highlight.js.8a8320c8.async.js} +1 -1
  34. package/dist/client/{npm.html-tokenize.360bb6e8.async.js → npm.html-tokenize.a6d58ae7.async.js} +1 -1
  35. package/dist/client/npm.htmlparser2.27ad86bc.async.js +2 -0
  36. package/dist/client/npm.i18next.98bb572b.async.js +1 -0
  37. package/dist/client/npm.json5.d58066fd.async.js +14 -0
  38. package/dist/client/npm.jstat.733c0b2c.async.js +1 -0
  39. package/dist/client/{npm.layout-base.49e322a0.async.js → npm.layout-base.0bdb6d00.async.js} +1 -1
  40. package/dist/client/npm.lodash-es.c06b3dd5.async.js +1 -0
  41. package/dist/client/npm.lodash.0ff318b3.async.js +37 -0
  42. package/dist/client/npm.markdown-it.5b35f93d.async.js +15 -0
  43. package/dist/client/npm.mathjs.fd97f3b7.async.js +52 -0
  44. package/dist/client/npm.mermaid.defd0c88.async.js +1529 -0
  45. package/dist/client/npm.moment.36abbf2c.async.js +4 -0
  46. package/dist/client/npm.picomatch.7a2f1314.async.js +1 -0
  47. package/dist/client/npm.postcss.2ccf11ae.async.js +27 -0
  48. package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.9d4c2cd1.async.js} +7 -7
  49. package/dist/client/{npm.rc-menu.2e06b9c3.async.js → npm.rc-menu.adf5ade6.async.js} +1 -1
  50. package/dist/client/npm.rc-picker.ef8a3e8b.async.js +1 -0
  51. package/dist/client/{npm.rc-select.13236fb8.async.js → npm.rc-select.7c36e54e.async.js} +2 -2
  52. package/dist/client/{npm.rc-table.de3dd762.async.js → npm.rc-table.a153e021.async.js} +1 -1
  53. package/dist/client/npm.rc-tree.f61b7d87.async.js +1 -0
  54. package/dist/client/npm.rc-util.23a9b855.async.js +18 -0
  55. package/dist/client/npm.react-dom.b9fb5fd7.async.js +11 -0
  56. package/dist/client/npm.react-image-lightbox.727d3218.async.js +3 -0
  57. package/dist/client/npm.react-router-dom.832efba3.async.js +1 -0
  58. package/dist/client/npm.readable-stream.6e743f2a.async.js +1 -0
  59. package/dist/client/p__index.89314c11.async.js +1533 -0
  60. package/dist/client/umi.9e319d79.js +21 -0
  61. package/lib/index.js +11 -3
  62. package/package.json +6 -6
  63. package/src/index.ts +12 -9
  64. package/dist/client/4607.6d585996.async.js +0 -1
  65. package/dist/client/5721.cf90e884.async.js +0 -8
  66. package/dist/client/6718.1e7fe05d.async.js +0 -66
  67. package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
  68. package/dist/client/npm._at_dnd-kit.01a3ad70.async.js +0 -6
  69. package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
  70. package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
  71. package/dist/client/npm._at_formulajs.fe3f9fca.async.js +0 -1
  72. package/dist/client/npm._at_rc-component.086dbf23.async.js +0 -5
  73. package/dist/client/npm._at_remix-run.55137b87.async.js +0 -3
  74. package/dist/client/npm.ahooks.c3df4eb6.async.js +0 -6
  75. package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
  76. package/dist/client/npm.antd.91188318.async.js +0 -476
  77. package/dist/client/npm.axios.f696c6e5.async.js +0 -2
  78. package/dist/client/npm.bignumber.js.70d3d7e8.async.js +0 -1
  79. package/dist/client/npm.buffer.9cce4593.async.js +0 -1
  80. package/dist/client/npm.cytoscape.39239e7b.async.js +0 -5
  81. package/dist/client/npm.d3-shape.3660138b.async.js +0 -1
  82. package/dist/client/npm.dompurify.93b5a130.async.js +0 -3
  83. package/dist/client/npm.gl-matrix.31b80e16.async.js +0 -1
  84. package/dist/client/npm.htmlparser2.cbbea4c4.async.js +0 -2
  85. package/dist/client/npm.i18next.eee0fc0f.async.js +0 -1
  86. package/dist/client/npm.json5.87aca70f.async.js +0 -14
  87. package/dist/client/npm.jstat.657c7dba.async.js +0 -1
  88. package/dist/client/npm.lodash-es.5eff0420.async.js +0 -1
  89. package/dist/client/npm.lodash.0f9322fa.async.js +0 -37
  90. package/dist/client/npm.markdown-it.5875530c.async.js +0 -15
  91. package/dist/client/npm.mathjs.d8df2940.async.js +0 -53
  92. package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
  93. package/dist/client/npm.moment.3c26e672.async.js +0 -4
  94. package/dist/client/npm.postcss.368fceaf.async.js +0 -28
  95. package/dist/client/npm.rc-picker.218fa2cc.async.js +0 -1
  96. package/dist/client/npm.rc-tree.bdb9cee8.async.js +0 -1
  97. package/dist/client/npm.rc-util.87a2c212.async.js +0 -18
  98. package/dist/client/npm.react-dom.6236e62b.async.js +0 -11
  99. package/dist/client/npm.react-image-lightbox.0e0cf81f.async.js +0 -3
  100. package/dist/client/npm.react-router-dom.06c80c5d.async.js +0 -2
  101. package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
  102. package/dist/client/p__index.4c7bade9.async.js +0 -1509
  103. package/dist/client/umi.016284ce.js +0 -22
@@ -0,0 +1,11 @@
1
+ "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5105],{87774:function(Bn,ne,Re){var J=Re(67294);function m(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var T=Object.prototype.hasOwnProperty,O=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},R={};function Ae(e){return T.call(R,e)?!0:T.call(v,e)?!1:O.test(e)?R[e]=!0:(v[e]=!0,!1)}function N(e,r,l,i,p,a,f){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=i,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=e,this.type=r,this.sanitizeURL=a,this.removeEmptyString=f}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new N(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];S[r]=new N(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new N(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new N(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new N(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new N(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function _e(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)});var z={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sn=["Webkit","ms","Moz","O"];Object.keys(z).forEach(function(e){sn.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),z[r]=z[e]})});var gt=/["'&<>]/;function V(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=gt.exec(e);if(r){var l="",i,p=0;for(i=r.index;i<e.length;i++){switch(e.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}p!==i&&(l+=e.substring(p,i)),p=i+1,l+=r}e=p!==i?l+e.substring(p,i):l}return e}var vt=/([A-Z])/g,L=/^ms-/,D=Array.isArray;function U(e,r){return{insertionMode:e,selectedValue:r}}function He(e,r,l){switch(r){case"select":return U(1,l.value!=null?l.value:l.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=e.insertionMode||e.insertionMode===0?U(1,null):e}var me=new Map;function St(e,r,l){if(typeof l!="object")throw Error(m(62));r=!0;for(var i in l)if(T.call(l,i)){var p=l[i];if(p!=null&&typeof p!="boolean"&&p!==""){if(i.indexOf("--")===0){var a=V(i);p=V((""+p).trim())}else{a=i;var f=me.get(a);f!==void 0||(f=V(a.replace(vt,"-$1").toLowerCase().replace(L,"-ms-")),me.set(a,f)),a=f,p=typeof p=="number"?p===0||T.call(z,i)?""+p:p+"px":V((""+p).trim())}r?(r=!1,e.push(' style="',a,":",p)):e.push(";",a,":",p)}}r||e.push('"')}function $(e,r,l,i){switch(l){case"style":St(e,r,i);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"){if(r=S.hasOwnProperty(l)?S[l]:null,r!==null){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!r.acceptsBooleans)return}switch(l=r.attributeName,r.type){case 3:i&&e.push(" ",l,'=""');break;case 4:i===!0?e.push(" ",l,'=""'):i!==!1&&e.push(" ",l,'="',V(i),'"');break;case 5:isNaN(i)||e.push(" ",l,'="',V(i),'"');break;case 6:!isNaN(i)&&1<=i&&e.push(" ",l,'="',V(i),'"');break;default:r.sanitizeURL&&(i=""+i),e.push(" ",l,'="',V(i),'"')}}else if(Ae(l)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(r=l.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-")return}e.push(" ",l,'="',V(i),'"')}}}function B(e,r,l){if(r!=null){if(l!=null)throw Error(m(60));if(typeof r!="object"||!("__html"in r))throw Error(m(61));r=r.__html,r!=null&&e.push(""+r)}}function an(e){var r="";return J.Children.forEach(e,function(l){l!=null&&(r+=l)}),r}function Ue(e,r,l,i){e.push(q(l));var p=l=null,a;for(a in r)if(T.call(r,a)){var f=r[a];if(f!=null)switch(a){case"children":l=f;break;case"dangerouslySetInnerHTML":p=f;break;default:$(e,i,a,f)}}return e.push(">"),B(e,p,l),typeof l=="string"?(e.push(V(l)),null):l}var We=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xt=new Map;function q(e){var r=xt.get(e);if(r===void 0){if(!We.test(e))throw Error(m(65,e));r="<"+e,xt.set(e,r)}return r}function cn(e,r,l,i,p){switch(r){case"select":e.push(q("select"));var a=null,f=null;for(C in l)if(T.call(l,C)){var y=l[C];if(y!=null)switch(C){case"children":a=y;break;case"dangerouslySetInnerHTML":f=y;break;case"defaultValue":case"value":break;default:$(e,i,C,y)}}return e.push(">"),B(e,f,a),a;case"option":f=p.selectedValue,e.push(q("option"));var x=y=null,w=null,C=null;for(a in l)if(T.call(l,a)){var M=l[a];if(M!=null)switch(a){case"children":y=M;break;case"selected":w=M;break;case"dangerouslySetInnerHTML":C=M;break;case"value":x=M;default:$(e,i,a,M)}}if(f!=null)if(l=x!==null?""+x:an(y),D(f)){for(i=0;i<f.length;i++)if(""+f[i]===l){e.push(' selected=""');break}}else""+f===l&&e.push(' selected=""');else w&&e.push(' selected=""');return e.push(">"),B(e,C,y),y;case"textarea":e.push(q("textarea")),C=f=a=null;for(y in l)if(T.call(l,y)&&(x=l[y],x!=null))switch(y){case"children":C=x;break;case"value":a=x;break;case"defaultValue":f=x;break;case"dangerouslySetInnerHTML":throw Error(m(91));default:$(e,i,y,x)}if(a===null&&f!==null&&(a=f),e.push(">"),C!=null){if(a!=null)throw Error(m(92));if(D(C)&&1<C.length)throw Error(m(93));a=""+C}return typeof a=="string"&&a[0]===`
2
+ `&&e.push(`
3
+ `),a!==null&&e.push(V(""+a)),null;case"input":e.push(q("input")),x=C=y=a=null;for(f in l)if(T.call(l,f)&&(w=l[f],w!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,"input"));case"defaultChecked":x=w;break;case"defaultValue":y=w;break;case"checked":C=w;break;case"value":a=w;break;default:$(e,i,f,w)}return C!==null?$(e,i,"checked",C):x!==null&&$(e,i,"checked",x),a!==null?$(e,i,"value",a):y!==null&&$(e,i,"value",y),e.push("/>"),null;case"menuitem":e.push(q("menuitem"));for(var K in l)if(T.call(l,K)&&(a=l[K],a!=null))switch(K){case"children":case"dangerouslySetInnerHTML":throw Error(m(400));default:$(e,i,K,a)}return e.push(">"),null;case"title":e.push(q("title")),a=null;for(M in l)if(T.call(l,M)&&(f=l[M],f!=null))switch(M){case"children":a=f;break;case"dangerouslySetInnerHTML":throw Error(m(434));default:$(e,i,M,f)}return e.push(">"),a;case"listing":case"pre":e.push(q(r)),f=a=null;for(x in l)if(T.call(l,x)&&(y=l[x],y!=null))switch(x){case"children":a=y;break;case"dangerouslySetInnerHTML":f=y;break;default:$(e,i,x,y)}if(e.push(">"),f!=null){if(a!=null)throw Error(m(60));if(typeof f!="object"||!("__html"in f))throw Error(m(61));l=f.__html,l!=null&&(typeof l=="string"&&0<l.length&&l[0]===`
4
+ `?e.push(`
5
+ `,l):e.push(""+l))}return typeof a=="string"&&a[0]===`
6
+ `&&e.push(`
7
+ `),a;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(q(r));for(var Q in l)if(T.call(l,Q)&&(a=l[Q],a!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,r));default:$(e,i,Q,a)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ue(e,l,r,i);case"html":return p.insertionMode===0&&e.push("<!DOCTYPE html>"),Ue(e,l,r,i);default:if(r.indexOf("-")===-1&&typeof l.is!="string")return Ue(e,l,r,i);e.push(q(r)),f=a=null;for(w in l)if(T.call(l,w)&&(y=l[w],y!=null))switch(w){case"children":a=y;break;case"dangerouslySetInnerHTML":f=y;break;case"style":St(e,i,y);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ae(w)&&typeof y!="function"&&typeof y!="symbol"&&e.push(" ",w,'="',V(y),'"')}return e.push(">"),B(e,f,a),a}}function kt(e,r,l){if(e.push('<!--$?--><template id="'),l===null)throw Error(m(395));return e.push(l),e.push('"></template>')}function wt(e,r,l,i){switch(l.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 4:return e.push('<table hidden id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');default:throw Error(m(397))}}function pn(e,r){switch(r.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(m(397))}}var fn=/[<\u2028\u2029]/g;function Ze(e){return JSON.stringify(e).replace(fn,function(r){switch(r){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function X(e,r){return r=r===void 0?"":r,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:r+"P:",segmentPrefix:r+"S:",boundaryPrefix:r+"B:",idPrefix:r,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function Ct(e,r,l,i){return l.generateStaticMarkup?(e.push(V(r)),!1):(r===""?e=i:(i&&e.push("<!-- -->"),e.push(V(r)),e=!0),e)}var ye=Object.assign,qe=Symbol.for("react.element"),Xe=Symbol.for("react.portal"),Ge=Symbol.for("react.fragment"),Et=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),Ft=Symbol.for("react.provider"),Ye=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),Ke=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),oe=Symbol.for("react.scope"),Tt=Symbol.for("react.debug_trace_mode"),Pe=Symbol.for("react.legacy_hidden"),dn=Symbol.for("react.default_value"),Ie=Symbol.iterator;function ge(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ge:return"Fragment";case Xe:return"Portal";case Je:return"Profiler";case Et:return"StrictMode";case ie:return"Suspense";case re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ye:return(e.displayName||"Context")+".Consumer";case Ft:return(e._context.displayName||"Context")+".Provider";case Y:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ke:return r=e.displayName||null,r!==null?r:ge(e.type)||"Memo";case b:r=e._payload,e=e._init;try{return ge(e(r))}catch{}}return null}var Me={};function Rt(e,r){if(e=e.contextTypes,!e)return Me;var l={},i;for(i in e)l[i]=r[i];return l}var le=null;function j(e,r){if(e!==r){e.context._currentValue2=e.parentValue,e=e.parent;var l=r.parent;if(e===null){if(l!==null)throw Error(m(401))}else{if(l===null)throw Error(m(401));j(e,l)}r.context._currentValue2=r.value}}function _t(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&_t(e)}function Pt(e){var r=e.parent;r!==null&&Pt(r),e.context._currentValue2=e.value}function It(e,r){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(m(402));e.depth===r.depth?j(e,r):It(e,r)}function Mt(e,r){var l=r.parent;if(l===null)throw Error(m(402));e.depth===l.depth?j(e,l):Mt(e,l),r.context._currentValue2=r.value}function Be(e){var r=le;r!==e&&(r===null?Pt(e):e===null?_t(r):r.depth===e.depth?j(r,e):r.depth>e.depth?It(r,e):Mt(r,e),le=e)}var Bt={isMounted:function(){return!1},enqueueSetState:function(e,r){e=e._reactInternals,e.queue!==null&&e.queue.push(r)},enqueueReplaceState:function(e,r){e=e._reactInternals,e.replace=!0,e.queue=[r]},enqueueForceUpdate:function(){}};function Dt(e,r,l,i){var p=e.state!==void 0?e.state:null;e.updater=Bt,e.props=l,e.state=p;var a={queue:[],replace:!1};e._reactInternals=a;var f=r.contextType;if(e.context=typeof f=="object"&&f!==null?f._currentValue2:i,f=r.getDerivedStateFromProps,typeof f=="function"&&(f=f(l,p),p=f==null?p:ye({},p,f),e.state=p),typeof r.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(r=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),r!==e.state&&Bt.enqueueReplaceState(e,e.state,null),a.queue!==null&&0<a.queue.length)if(r=a.queue,f=a.replace,a.queue=null,a.replace=!1,f&&r.length===1)e.state=r[0];else{for(a=f?r[0]:e.state,p=!0,f=f?1:0;f<r.length;f++){var y=r[f];y=typeof y=="function"?y.call(e,a,l,i):y,y!=null&&(p?(p=!1,a=ye({},a,y)):ye(a,y))}e.state=a}else a.queue=null}var hn={id:1,overflow:""};function Qe(e,r,l){var i=e.id;e=e.overflow;var p=32-De(i)-1;i&=~(1<<p),l+=1;var a=32-De(r)+p;if(30<a){var f=p-p%5;return a=(i&(1<<f)-1).toString(32),i>>=f,p-=f,{id:1<<32-De(r)+p|l<<p|i,overflow:a+e}}return{id:1<<a|l<<p|i,overflow:e}}var De=Math.clz32?Math.clz32:gn,mn=Math.log,yn=Math.LN2;function gn(e){return e>>>=0,e===0?32:31-(mn(e)/yn|0)|0}function vn(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Sn=typeof Object.is=="function"?Object.is:vn,G=null,et=null,ze=null,_=null,ve=!1,Ne=!1,Se=0,ue=null,Ve=0;function se(){if(G===null)throw Error(m(321));return G}function zt(){if(0<Ve)throw Error(m(312));return{memoizedState:null,queue:null,next:null}}function tt(){return _===null?ze===null?(ve=!1,ze=_=zt()):(ve=!0,_=ze):_.next===null?(ve=!1,_=_.next=zt()):(ve=!0,_=_.next),_}function nt(){et=G=null,Ne=!1,ze=null,Ve=0,_=ue=null}function Nt(e,r){return typeof r=="function"?r(e):r}function Vt(e,r,l){if(G=se(),_=tt(),ve){var i=_.queue;if(r=i.dispatch,ue!==null&&(l=ue.get(i),l!==void 0)){ue.delete(i),i=_.memoizedState;do i=e(i,l.action),l=l.next;while(l!==null);return _.memoizedState=i,[i,r]}return[_.memoizedState,r]}return e=e===Nt?typeof r=="function"?r():r:l!==void 0?l(r):r,_.memoizedState=e,e=_.queue={last:null,dispatch:null},e=e.dispatch=xn.bind(null,G,e),[_.memoizedState,e]}function Lt(e,r){if(G=se(),_=tt(),r=r===void 0?null:r,_!==null){var l=_.memoizedState;if(l!==null&&r!==null){var i=l[1];e:if(i===null)i=!1;else{for(var p=0;p<i.length&&p<r.length;p++)if(!Sn(r[p],i[p])){i=!1;break e}i=!0}if(i)return l[0]}}return e=e(),_.memoizedState=[e,r],e}function xn(e,r,l){if(25<=Ve)throw Error(m(301));if(e===G)if(Ne=!0,e={action:l,next:null},ue===null&&(ue=new Map),l=ue.get(r),l===void 0)ue.set(r,e);else{for(r=l;r.next!==null;)r=r.next;r.next=e}}function kn(){throw Error(m(394))}function Le(){}var bt={readContext:function(e){return e._currentValue2},useContext:function(e){return se(),e._currentValue2},useMemo:Lt,useReducer:Vt,useRef:function(e){G=se(),_=tt();var r=_.memoizedState;return r===null?(e={current:e},_.memoizedState=e):r},useState:function(e){return Vt(Nt,e)},useInsertionEffect:Le,useLayoutEffect:function(){},useCallback:function(e,r){return Lt(function(){return e},r)},useImperativeHandle:Le,useEffect:Le,useDebugValue:Le,useDeferredValue:function(e){return se(),e},useTransition:function(){return se(),[!1,kn]},useId:function(){var e=et.treeContext,r=e.overflow;e=e.id,e=(e&~(1<<32-De(e)-1)).toString(32)+r;var l=be;if(l===null)throw Error(m(404));return r=Se++,e=":"+l.idPrefix+"R"+e,0<r&&(e+="H"+r.toString(32)),e+":"},useMutableSource:function(e,r){return se(),r(e._source)},useSyncExternalStore:function(e,r,l){if(l===void 0)throw Error(m(407));return l()}},be=null,rt=J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function wn(e){return console.error(e),null}function xe(){}function Cn(e,r,l,i,p,a,f,y,x){var w=[],C=new Set;return r={destination:null,responseState:r,progressiveChunkSize:i===void 0?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:C,pingedTasks:w,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:p===void 0?wn:p,onAllReady:a===void 0?xe:a,onShellReady:f===void 0?xe:f,onShellError:y===void 0?xe:y,onFatalError:x===void 0?xe:x},l=Oe(r,0,null,l,!1,!1),l.parentFlushed=!0,e=ot(r,e,null,l,C,Me,null,hn),w.push(e),r}function ot(e,r,l,i,p,a,f,y){e.allPendingTasks++,l===null?e.pendingRootTasks++:l.pendingTasks++;var x={node:r,ping:function(){var w=e.pingedTasks;w.push(x),w.length===1&&Ut(e)},blockedBoundary:l,blockedSegment:i,abortSet:p,legacyContext:a,context:f,treeContext:y};return p.add(x),x}function Oe(e,r,l,i,p,a){return{status:0,id:-1,index:r,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:l,lastPushedText:p,textEmbedded:a}}function ke(e,r){if(e=e.onError(r),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function $e(e,r){var l=e.onShellError;l(r),l=e.onFatalError,l(r),e.destination!==null?(e.status=2,e.destination.destroy(r)):(e.status=1,e.fatalError=r)}function Ot(e,r,l,i,p){for(G={},et=r,Se=0,e=l(i,p);Ne;)Ne=!1,Se=0,Ve+=1,_=null,e=l(i,p);return nt(),e}function $t(e,r,l,i){var p=l.render(),a=i.childContextTypes;if(a!=null){var f=r.legacyContext;if(typeof l.getChildContext!="function")i=f;else{l=l.getChildContext();for(var y in l)if(!(y in a))throw Error(m(108,ge(i)||"Unknown",y));i=ye({},f,l)}r.legacyContext=i,A(e,r,p),r.legacyContext=f}else A(e,r,p)}function jt(e,r){if(e&&e.defaultProps){r=ye({},r),e=e.defaultProps;for(var l in e)r[l]===void 0&&(r[l]=e[l]);return r}return r}function lt(e,r,l,i,p){if(typeof l=="function")if(l.prototype&&l.prototype.isReactComponent){p=Rt(l,r.legacyContext);var a=l.contextType;a=new l(i,typeof a=="object"&&a!==null?a._currentValue2:p),Dt(a,l,i,p),$t(e,r,a,l)}else{a=Rt(l,r.legacyContext),p=Ot(e,r,l,i,a);var f=Se!==0;if(typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0)Dt(p,l,i,a),$t(e,r,p,l);else if(f){i=r.treeContext,r.treeContext=Qe(i,1,0);try{A(e,r,p)}finally{r.treeContext=i}}else A(e,r,p)}else if(typeof l=="string"){switch(p=r.blockedSegment,a=cn(p.chunks,l,i,e.responseState,p.formatContext),p.lastPushedText=!1,f=p.formatContext,p.formatContext=He(f,l,i),ut(e,r,a),p.formatContext=f,l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:p.chunks.push("</",l,">")}p.lastPushedText=!1}else{switch(l){case Pe:case Tt:case Et:case Je:case Ge:A(e,r,i.children);return;case re:A(e,r,i.children);return;case oe:throw Error(m(343));case ie:e:{l=r.blockedBoundary,p=r.blockedSegment,a=i.fallback,i=i.children,f=new Set;var y={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null},x=Oe(e,p.chunks.length,y,p.formatContext,!1,!1);p.children.push(x),p.lastPushedText=!1;var w=Oe(e,0,null,p.formatContext,!1,!1);w.parentFlushed=!0,r.blockedBoundary=y,r.blockedSegment=w;try{if(ut(e,r,i),e.responseState.generateStaticMarkup||w.lastPushedText&&w.textEmbedded&&w.chunks.push("<!-- -->"),w.status=1,pe(y,w),y.pendingTasks===0)break e}catch(C){w.status=4,y.forceClientRender=!0,y.errorDigest=ke(e,C)}finally{r.blockedBoundary=l,r.blockedSegment=p}r=ot(e,a,l,x,f,r.legacyContext,r.context,r.treeContext),e.pingedTasks.push(r)}return}if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Y:if(i=Ot(e,r,l.render,i,p),Se!==0){l=r.treeContext,r.treeContext=Qe(l,1,0);try{A(e,r,i)}finally{r.treeContext=l}}else A(e,r,i);return;case Ke:l=l.type,i=jt(l,i),lt(e,r,l,i,p);return;case Ft:if(p=i.children,l=l._context,i=i.value,a=l._currentValue2,l._currentValue2=i,f=le,le=i={parent:f,depth:f===null?0:f.depth+1,context:l,parentValue:a,value:i},r.context=i,A(e,r,p),e=le,e===null)throw Error(m(403));i=e.parentValue,e.context._currentValue2=i===dn?e.context._defaultValue:i,e=le=e.parent,r.context=e;return;case Ye:i=i.children,i=i(l._currentValue2),A(e,r,i);return;case b:p=l._init,l=p(l._payload),i=jt(l,i),lt(e,r,l,i,void 0);return}throw Error(m(130,l==null?l:typeof l,""))}}function A(e,r,l){if(r.node=l,typeof l=="object"&&l!==null){switch(l.$$typeof){case qe:lt(e,r,l.type,l.props,l.ref);return;case Xe:throw Error(m(257));case b:var i=l._init;l=i(l._payload),A(e,r,l);return}if(D(l)){At(e,r,l);return}if(l===null||typeof l!="object"?i=null:(i=Ie&&l[Ie]||l["@@iterator"],i=typeof i=="function"?i:null),i&&(i=i.call(l))){if(l=i.next(),!l.done){var p=[];do p.push(l.value),l=i.next();while(!l.done);At(e,r,p)}return}throw e=Object.prototype.toString.call(l),Error(m(31,e==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":e))}typeof l=="string"?(i=r.blockedSegment,i.lastPushedText=Ct(r.blockedSegment.chunks,l,e.responseState,i.lastPushedText)):typeof l=="number"&&(i=r.blockedSegment,i.lastPushedText=Ct(r.blockedSegment.chunks,""+l,e.responseState,i.lastPushedText))}function At(e,r,l){for(var i=l.length,p=0;p<i;p++){var a=r.treeContext;r.treeContext=Qe(a,i,p);try{ut(e,r,l[p])}finally{r.treeContext=a}}}function ut(e,r,l){var i=r.blockedSegment.formatContext,p=r.legacyContext,a=r.context;try{return A(e,r,l)}catch(x){if(nt(),typeof x=="object"&&x!==null&&typeof x.then=="function"){l=x;var f=r.blockedSegment,y=Oe(e,f.chunks.length,null,f.formatContext,f.lastPushedText,!0);f.children.push(y),f.lastPushedText=!1,e=ot(e,r.node,r.blockedBoundary,y,r.abortSet,r.legacyContext,r.context,r.treeContext).ping,l.then(e,e),r.blockedSegment.formatContext=i,r.legacyContext=p,r.context=a,Be(a)}else throw r.blockedSegment.formatContext=i,r.legacyContext=p,r.context=a,Be(a),x}}function it(e){var r=e.blockedBoundary;e=e.blockedSegment,e.status=3,fe(this,r,e)}function Ht(e,r,l){var i=e.blockedBoundary;e.blockedSegment.status=3,i===null?(r.allPendingTasks--,r.status!==2&&(r.status=2,r.destination!==null&&r.destination.push(null))):(i.pendingTasks--,i.forceClientRender||(i.forceClientRender=!0,e=l===void 0?Error(m(432)):l,i.errorDigest=r.onError(e),i.parentFlushed&&r.clientRenderedBoundaries.push(i)),i.fallbackAbortableTasks.forEach(function(p){return Ht(p,r,l)}),i.fallbackAbortableTasks.clear(),r.allPendingTasks--,r.allPendingTasks===0&&(i=r.onAllReady,i()))}function pe(e,r){if(r.chunks.length===0&&r.children.length===1&&r.children[0].boundary===null){var l=r.children[0];l.id=r.id,l.parentFlushed=!0,l.status===1&&pe(e,l)}else e.completedSegments.push(r)}function fe(e,r,l){if(r===null){if(l.parentFlushed){if(e.completedRootSegment!==null)throw Error(m(389));e.completedRootSegment=l}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=xe,r=e.onShellReady,r())}else r.pendingTasks--,r.forceClientRender||(r.pendingTasks===0?(l.parentFlushed&&l.status===1&&pe(r,l),r.parentFlushed&&e.completedBoundaries.push(r),r.fallbackAbortableTasks.forEach(it,e),r.fallbackAbortableTasks.clear()):l.parentFlushed&&l.status===1&&(pe(r,l),r.completedSegments.length===1&&r.parentFlushed&&e.partialBoundaries.push(r)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function Ut(e){if(e.status!==2){var r=le,l=rt.current;rt.current=bt;var i=be;be=e.responseState;try{var p=e.pingedTasks,a;for(a=0;a<p.length;a++){var f=p[a],y=e,x=f.blockedSegment;if(x.status===0){Be(f.context);try{A(y,f,f.node),y.responseState.generateStaticMarkup||x.lastPushedText&&x.textEmbedded&&x.chunks.push("<!-- -->"),f.abortSet.delete(f),x.status=1,fe(y,f.blockedBoundary,x)}catch(W){if(nt(),typeof W=="object"&&W!==null&&typeof W.then=="function"){var w=f.ping;W.then(w,w)}else{f.abortSet.delete(f),x.status=4;var C=f.blockedBoundary,M=W,K=ke(y,M);if(C===null?$e(y,M):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,C.errorDigest=K,C.parentFlushed&&y.clientRenderedBoundaries.push(C))),y.allPendingTasks--,y.allPendingTasks===0){var Q=y.onAllReady;Q()}}}finally{}}}p.splice(0,a),e.destination!==null&&je(e,e.destination)}catch(W){ke(e,W),$e(e,W)}finally{be=i,rt.current=l,l===bt&&Be(r)}}}function we(e,r,l){switch(l.parentFlushed=!0,l.status){case 0:var i=l.id=e.nextSegmentId++;return l.lastPushedText=!1,l.textEmbedded=!1,e=e.responseState,r.push('<template id="'),r.push(e.placeholderPrefix),e=i.toString(16),r.push(e),r.push('"></template>');case 1:l.status=2;var p=!0;i=l.chunks;var a=0;l=l.children;for(var f=0;f<l.length;f++){for(p=l[f];a<p.index;a++)r.push(i[a]);p=Ce(e,r,p)}for(;a<i.length-1;a++)r.push(i[a]);return a<i.length&&(p=r.push(i[a])),p;default:throw Error(m(390))}}function Ce(e,r,l){var i=l.boundary;if(i===null)return we(e,r,l);if(i.parentFlushed=!0,i.forceClientRender)return e.responseState.generateStaticMarkup||(i=i.errorDigest,r.push("<!--$!-->"),r.push("<template"),i&&(r.push(' data-dgst="'),i=V(i),r.push(i),r.push('"')),r.push("></template>")),we(e,r,l),e=e.responseState.generateStaticMarkup?!0:r.push("<!--/$-->"),e;if(0<i.pendingTasks){i.rootSegmentID=e.nextSegmentId++,0<i.completedSegments.length&&e.partialBoundaries.push(i);var p=e.responseState,a=p.nextSuspenseID++;return p=p.boundaryPrefix+a.toString(16),i=i.id=p,kt(r,e.responseState,i),we(e,r,l),r.push("<!--/$-->")}if(i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),kt(r,e.responseState,i.id),we(e,r,l),r.push("<!--/$-->");if(e.responseState.generateStaticMarkup||r.push("<!--$-->"),l=i.completedSegments,l.length!==1)throw Error(m(391));return Ce(e,r,l[0]),e=e.responseState.generateStaticMarkup?!0:r.push("<!--/$-->"),e}function st(e,r,l){return wt(r,e.responseState,l.formatContext,l.id),Ce(e,r,l),pn(r,l.formatContext)}function at(e,r,l){for(var i=l.completedSegments,p=0;p<i.length;p++)ct(e,r,l,i[p]);if(i.length=0,e=e.responseState,i=l.id,l=l.rootSegmentID,r.push(e.startInlineScript),e.sentCompleteBoundaryFunction?r.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,r.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),i===null)throw Error(m(395));return l=l.toString(16),r.push(i),r.push('","'),r.push(e.segmentPrefix),r.push(l),r.push('")<\/script>')}function ct(e,r,l,i){if(i.status===2)return!0;var p=i.id;if(p===-1){if((i.id=l.rootSegmentID)===-1)throw Error(m(392));return st(e,r,i)}return st(e,r,i),e=e.responseState,r.push(e.startInlineScript),e.sentCompleteSegmentFunction?r.push('$RS("'):(e.sentCompleteSegmentFunction=!0,r.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),r.push(e.segmentPrefix),p=p.toString(16),r.push(p),r.push('","'),r.push(e.placeholderPrefix),r.push(p),r.push('")<\/script>')}function je(e,r){try{var l=e.completedRootSegment;if(l!==null&&e.pendingRootTasks===0){Ce(e,r,l),e.completedRootSegment=null;var i=e.responseState.bootstrapChunks;for(l=0;l<i.length-1;l++)r.push(i[l]);l<i.length&&r.push(i[l])}var p=e.clientRenderedBoundaries,a;for(a=0;a<p.length;a++){var f=p[a];i=r;var y=e.responseState,x=f.id,w=f.errorDigest,C=f.errorMessage,M=f.errorComponentStack;if(i.push(y.startInlineScript),y.sentClientRenderFunction?i.push('$RX("'):(y.sentClientRenderFunction=!0,i.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),x===null)throw Error(m(395));if(i.push(x),i.push('"'),w||C||M){i.push(",");var K=Ze(w||"");i.push(K)}if(C||M){i.push(",");var Q=Ze(C||"");i.push(Q)}if(M){i.push(",");var W=Ze(M);i.push(W)}if(!i.push(")<\/script>")){e.destination=null,a++,p.splice(0,a);return}}p.splice(0,a);var Ee=e.completedBoundaries;for(a=0;a<Ee.length;a++)if(!at(e,r,Ee[a])){e.destination=null,a++,Ee.splice(0,a);return}Ee.splice(0,a);var ae=e.partialBoundaries;for(a=0;a<ae.length;a++){var ft=ae[a];e:{p=e,f=r;var Fe=ft.completedSegments;for(y=0;y<Fe.length;y++)if(!ct(p,f,ft,Fe[y])){y++,Fe.splice(0,y);var qt=!1;break e}Fe.splice(0,y),qt=!0}if(!qt){e.destination=null,a++,ae.splice(0,a);return}}ae.splice(0,a);var de=e.completedBoundaries;for(a=0;a<de.length;a++)if(!at(e,r,de[a])){e.destination=null,a++,de.splice(0,a);return}de.splice(0,a)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&r.push(null)}}function Wt(e,r){try{var l=e.abortableTasks;l.forEach(function(i){return Ht(i,e,r)}),l.clear(),e.destination!==null&&je(e,e.destination)}catch(i){ke(e,i),$e(e,i)}}function Zt(){}function pt(e,r,l,i){var p=!1,a=null,f="",y={push:function(w){return w!==null&&(f+=w),!0},destroy:function(w){p=!0,a=w}},x=!1;if(e=Cn(e,X(l,r?r.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Zt,void 0,function(){x=!0},void 0,void 0),Ut(e),Wt(e,i),e.status===1)e.status=2,y.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=y;try{je(e,y)}catch(w){ke(e,w),$e(e,w)}}if(p)throw a;if(!x)throw Error(m(426));return f}ne.renderToNodeStream=function(){throw Error(m(207))},ne.renderToStaticMarkup=function(e,r){return pt(e,r,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ne.renderToStaticNodeStream=function(){throw Error(m(208))},ne.renderToString=function(e,r){return pt(e,r,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ne.version="18.2.0"},38698:function(Bn,ne,Re){var J=Re(67294);function m(t){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var T=null,O=0;function v(t,n){if(n.length!==0)if(512<n.length)0<O&&(t.enqueue(new Uint8Array(T.buffer,0,O)),T=new Uint8Array(512),O=0),t.enqueue(n);else{var o=T.length-O;o<n.length&&(o===0?t.enqueue(T):(T.set(n.subarray(0,o),O),t.enqueue(T),n=n.subarray(o)),T=new Uint8Array(512),O=0),T.set(n,O),O+=n.length}}function R(t,n){return v(t,n),!0}function Ae(t){T&&0<O&&(t.enqueue(new Uint8Array(T.buffer,0,O)),T=null,O=0)}var N=new TextEncoder;function S(t){return N.encode(t)}function g(t){return N.encode(t)}function _e(t,n){typeof t.error=="function"?t.error(n):t.close()}var z=Object.prototype.hasOwnProperty,sn=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,gt={},V={};function vt(t){return z.call(V,t)?!0:z.call(gt,t)?!1:sn.test(t)?V[t]=!0:(gt[t]=!0,!1)}function L(t,n,o,u,c,s,d){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=t,this.type=n,this.sanitizeURL=s,this.removeEmptyString=d}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){D[t]=new L(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0];D[n]=new L(n,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){D[t]=new L(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){D[t]=new L(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){D[t]=new L(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){D[t]=new L(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){D[t]=new L(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){D[t]=new L(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){D[t]=new L(t,5,!1,t.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function He(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var n=t.replace(U,He);D[n]=new L(n,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var n=t.replace(U,He);D[n]=new L(n,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(U,He);D[n]=new L(n,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){D[t]=new L(t,1,!1,t.toLowerCase(),null,!1,!1)}),D.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){D[t]=new L(t,1,!1,t.toLowerCase(),null,!0,!0)});var me={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},St=["Webkit","ms","Moz","O"];Object.keys(me).forEach(function(t){St.forEach(function(n){n=n+t.charAt(0).toUpperCase()+t.substring(1),me[n]=me[t]})});var $=/["'&<>]/;function B(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var n=$.exec(t);if(n){var o="",u,c=0;for(u=n.index;u<t.length;u++){switch(t.charCodeAt(u)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}c!==u&&(o+=t.substring(c,u)),c=u+1,o+=n}t=c!==u?o+t.substring(c,u):o}return t}var an=/([A-Z])/g,Ue=/^ms-/,We=Array.isArray,xt=g("<script>"),q=g("<\/script>"),cn=g('<script src="'),kt=g('<script type="module" src="'),wt=g('" async=""><\/script>'),pn=/(<\/|<)(s)(cript)/gi;function fn(t,n,o,u){return""+n+(o==="s"?"\\u0073":"\\u0053")+u}function Ze(t,n,o,u,c){t=t===void 0?"":t,n=n===void 0?xt:g('<script nonce="'+B(n)+'">');var s=[];if(o!==void 0&&s.push(n,S((""+o).replace(pn,fn)),q),u!==void 0)for(o=0;o<u.length;o++)s.push(cn,S(B(u[o])),wt);if(c!==void 0)for(u=0;u<c.length;u++)s.push(kt,S(B(c[u])),wt);return{bootstrapChunks:s,startInlineScript:n,placeholderPrefix:g(t+"P:"),segmentPrefix:g(t+"S:"),boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function X(t,n){return{insertionMode:t,selectedValue:n}}function Ct(t){return X(t==="http://www.w3.org/2000/svg"?2:t==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ye(t,n,o){switch(n){case"select":return X(1,o.value!=null?o.value:o.defaultValue);case"svg":return X(2,null);case"math":return X(3,null);case"foreignObject":return X(1,null);case"table":return X(4,null);case"thead":case"tbody":case"tfoot":return X(5,null);case"colgroup":return X(7,null);case"tr":return X(6,null)}return 4<=t.insertionMode||t.insertionMode===0?X(1,null):t}var qe=g("<!-- -->");function Xe(t,n,o,u){return n===""?u:(u&&t.push(qe),t.push(S(B(n))),!0)}var Ge=new Map,Et=g(' style="'),Je=g(":"),Ft=g(";");function Ye(t,n,o){if(typeof o!="object")throw Error(m(62));n=!0;for(var u in o)if(z.call(o,u)){var c=o[u];if(c!=null&&typeof c!="boolean"&&c!==""){if(u.indexOf("--")===0){var s=S(B(u));c=S(B((""+c).trim()))}else{s=u;var d=Ge.get(s);d!==void 0||(d=g(B(s.replace(an,"-$1").toLowerCase().replace(Ue,"-ms-"))),Ge.set(s,d)),s=d,c=typeof c=="number"?c===0||z.call(me,u)?S(""+c):S(c+"px"):S(B((""+c).trim()))}n?(n=!1,t.push(Et,s,Je,c)):t.push(Ft,s,Je,c)}}n||t.push(re)}var Y=g(" "),ie=g('="'),re=g('"'),Ke=g('=""');function b(t,n,o,u){switch(o){case"style":Ye(t,n,u);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){if(n=D.hasOwnProperty(o)?D[o]:null,n!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!n.acceptsBooleans)return}switch(o=S(n.attributeName),n.type){case 3:u&&t.push(Y,o,Ke);break;case 4:u===!0?t.push(Y,o,Ke):u!==!1&&t.push(Y,o,ie,S(B(u)),re);break;case 5:isNaN(u)||t.push(Y,o,ie,S(B(u)),re);break;case 6:!isNaN(u)&&1<=u&&t.push(Y,o,ie,S(B(u)),re);break;default:n.sanitizeURL&&(u=""+u),t.push(Y,o,ie,S(B(u)),re)}}else if(vt(o)){switch(typeof u){case"function":case"symbol":return;case"boolean":if(n=o.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-")return}t.push(Y,S(o),ie,S(B(u)),re)}}}var oe=g(">"),Tt=g("/>");function Pe(t,n,o){if(n!=null){if(o!=null)throw Error(m(60));if(typeof n!="object"||!("__html"in n))throw Error(m(61));n=n.__html,n!=null&&t.push(S(""+n))}}function dn(t){var n="";return J.Children.forEach(t,function(o){o!=null&&(n+=o)}),n}var Ie=g(' selected=""');function ge(t,n,o,u){t.push(j(o));var c=o=null,s;for(s in n)if(z.call(n,s)){var d=n[s];if(d!=null)switch(s){case"children":o=d;break;case"dangerouslySetInnerHTML":c=d;break;default:b(t,u,s,d)}}return t.push(oe),Pe(t,c,o),typeof o=="string"?(t.push(S(B(o))),null):o}var Me=g(`
8
+ `),Rt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le=new Map;function j(t){var n=le.get(t);if(n===void 0){if(!Rt.test(t))throw Error(m(65,t));n=g("<"+t),le.set(t,n)}return n}var _t=g("<!DOCTYPE html>");function Pt(t,n,o,u,c){switch(n){case"select":t.push(j("select"));var s=null,d=null;for(E in o)if(z.call(o,E)){var h=o[E];if(h!=null)switch(E){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;case"defaultValue":case"value":break;default:b(t,u,E,h)}}return t.push(oe),Pe(t,d,s),s;case"option":d=c.selectedValue,t.push(j("option"));var k=h=null,F=null,E=null;for(s in o)if(z.call(o,s)){var I=o[s];if(I!=null)switch(s){case"children":h=I;break;case"selected":F=I;break;case"dangerouslySetInnerHTML":E=I;break;case"value":k=I;default:b(t,u,s,I)}}if(d!=null)if(o=k!==null?""+k:dn(h),We(d)){for(u=0;u<d.length;u++)if(""+d[u]===o){t.push(Ie);break}}else""+d===o&&t.push(Ie);else F&&t.push(Ie);return t.push(oe),Pe(t,E,h),h;case"textarea":t.push(j("textarea")),E=d=s=null;for(h in o)if(z.call(o,h)&&(k=o[h],k!=null))switch(h){case"children":E=k;break;case"value":s=k;break;case"defaultValue":d=k;break;case"dangerouslySetInnerHTML":throw Error(m(91));default:b(t,u,h,k)}if(s===null&&d!==null&&(s=d),t.push(oe),E!=null){if(s!=null)throw Error(m(92));if(We(E)&&1<E.length)throw Error(m(93));s=""+E}return typeof s=="string"&&s[0]===`
9
+ `&&t.push(Me),s!==null&&t.push(S(B(""+s))),null;case"input":t.push(j("input")),k=E=h=s=null;for(d in o)if(z.call(o,d)&&(F=o[d],F!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,"input"));case"defaultChecked":k=F;break;case"defaultValue":h=F;break;case"checked":E=F;break;case"value":s=F;break;default:b(t,u,d,F)}return E!==null?b(t,u,"checked",E):k!==null&&b(t,u,"checked",k),s!==null?b(t,u,"value",s):h!==null&&b(t,u,"value",h),t.push(Tt),null;case"menuitem":t.push(j("menuitem"));for(var H in o)if(z.call(o,H)&&(s=o[H],s!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(m(400));default:b(t,u,H,s)}return t.push(oe),null;case"title":t.push(j("title")),s=null;for(I in o)if(z.call(o,I)&&(d=o[I],d!=null))switch(I){case"children":s=d;break;case"dangerouslySetInnerHTML":throw Error(m(434));default:b(t,u,I,d)}return t.push(oe),s;case"listing":case"pre":t.push(j(n)),d=s=null;for(k in o)if(z.call(o,k)&&(h=o[k],h!=null))switch(k){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;default:b(t,u,k,h)}if(t.push(oe),d!=null){if(s!=null)throw Error(m(60));if(typeof d!="object"||!("__html"in d))throw Error(m(61));o=d.__html,o!=null&&(typeof o=="string"&&0<o.length&&o[0]===`
10
+ `?t.push(Me,S(o)):t.push(S(""+o)))}return typeof s=="string"&&s[0]===`
11
+ `&&t.push(Me),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":t.push(j(n));for(var ee in o)if(z.call(o,ee)&&(s=o[ee],s!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,n));default:b(t,u,ee,s)}return t.push(Tt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ge(t,o,n,u);case"html":return c.insertionMode===0&&t.push(_t),ge(t,o,n,u);default:if(n.indexOf("-")===-1&&typeof o.is!="string")return ge(t,o,n,u);t.push(j(n)),d=s=null;for(F in o)if(z.call(o,F)&&(h=o[F],h!=null))switch(F){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;case"style":Ye(t,u,h);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:vt(F)&&typeof h!="function"&&typeof h!="symbol"&&t.push(Y,S(F),ie,S(B(h)),re)}return t.push(oe),Pe(t,d,s),s}}var It=g("</"),Mt=g(">"),Be=g('<template id="'),Bt=g('"></template>'),Dt=g("<!--$-->"),hn=g('<!--$?--><template id="'),Qe=g('"></template>'),De=g("<!--$!-->"),mn=g("<!--/$-->"),yn=g("<template"),gn=g('"'),vn=g(' data-dgst="');g(' data-msg="'),g(' data-stck="');var Sn=g("></template>");function G(t,n,o){if(v(t,hn),o===null)throw Error(m(395));return v(t,o),R(t,Qe)}var et=g('<div hidden id="'),ze=g('">'),_=g("</div>"),ve=g('<svg aria-hidden="true" style="display:none" id="'),Ne=g('">'),Se=g("</svg>"),ue=g('<math aria-hidden="true" style="display:none" id="'),Ve=g('">'),se=g("</math>"),zt=g('<table hidden id="'),tt=g('">'),nt=g("</table>"),Nt=g('<table hidden><tbody id="'),Vt=g('">'),Lt=g("</tbody></table>"),xn=g('<table hidden><tr id="'),kn=g('">'),Le=g("</tr></table>"),bt=g('<table hidden><colgroup id="'),be=g('">'),rt=g("</colgroup></table>");function wn(t,n,o,u){switch(o.insertionMode){case 0:case 1:return v(t,et),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,ze);case 2:return v(t,ve),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Ne);case 3:return v(t,ue),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Ve);case 4:return v(t,zt),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,tt);case 5:return v(t,Nt),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Vt);case 6:return v(t,xn),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,kn);case 7:return v(t,bt),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,be);default:throw Error(m(397))}}function xe(t,n){switch(n.insertionMode){case 0:case 1:return R(t,_);case 2:return R(t,Se);case 3:return R(t,se);case 4:return R(t,nt);case 5:return R(t,Lt);case 6:return R(t,Le);case 7:return R(t,rt);default:throw Error(m(397))}}var Cn=g('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ot=g('$RS("'),Oe=g('","'),ke=g('")<\/script>'),$e=g('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ot=g('$RC("'),$t=g('","'),jt=g('")<\/script>'),lt=g('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),A=g('$RX("'),At=g('"'),ut=g(")<\/script>"),it=g(","),Ht=/[<\u2028\u2029]/g;function pe(t){return JSON.stringify(t).replace(Ht,function(n){switch(n){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var fe=Object.assign,Ut=Symbol.for("react.element"),we=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),at=Symbol.for("react.profiler"),ct=Symbol.for("react.provider"),je=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),Zt=Symbol.for("react.suspense"),pt=Symbol.for("react.suspense_list"),e=Symbol.for("react.memo"),r=Symbol.for("react.lazy"),l=Symbol.for("react.scope"),i=Symbol.for("react.debug_trace_mode"),p=Symbol.for("react.legacy_hidden"),a=Symbol.for("react.default_value"),f=Symbol.iterator;function y(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ce:return"Fragment";case we:return"Portal";case at:return"Profiler";case st:return"StrictMode";case Zt:return"Suspense";case pt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case je:return(t.displayName||"Context")+".Consumer";case ct:return(t._context.displayName||"Context")+".Provider";case Wt:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case e:return n=t.displayName||null,n!==null?n:y(t.type)||"Memo";case r:n=t._payload,t=t._init;try{return y(t(n))}catch{}}return null}var x={};function w(t,n){if(t=t.contextTypes,!t)return x;var o={},u;for(u in t)o[u]=n[u];return o}var C=null;function M(t,n){if(t!==n){t.context._currentValue=t.parentValue,t=t.parent;var o=n.parent;if(t===null){if(o!==null)throw Error(m(401))}else{if(o===null)throw Error(m(401));M(t,o)}n.context._currentValue=n.value}}function K(t){t.context._currentValue=t.parentValue,t=t.parent,t!==null&&K(t)}function Q(t){var n=t.parent;n!==null&&Q(n),t.context._currentValue=t.value}function W(t,n){if(t.context._currentValue=t.parentValue,t=t.parent,t===null)throw Error(m(402));t.depth===n.depth?M(t,n):W(t,n)}function Ee(t,n){var o=n.parent;if(o===null)throw Error(m(402));t.depth===o.depth?M(t,o):Ee(t,o),n.context._currentValue=n.value}function ae(t){var n=C;n!==t&&(n===null?Q(t):t===null?K(n):n.depth===t.depth?M(n,t):n.depth>t.depth?W(n,t):Ee(n,t),C=t)}var ft={isMounted:function(){return!1},enqueueSetState:function(t,n){t=t._reactInternals,t.queue!==null&&t.queue.push(n)},enqueueReplaceState:function(t,n){t=t._reactInternals,t.replace=!0,t.queue=[n]},enqueueForceUpdate:function(){}};function Fe(t,n,o,u){var c=t.state!==void 0?t.state:null;t.updater=ft,t.props=o,t.state=c;var s={queue:[],replace:!1};t._reactInternals=s;var d=n.contextType;if(t.context=typeof d=="object"&&d!==null?d._currentValue:u,d=n.getDerivedStateFromProps,typeof d=="function"&&(d=d(o,c),c=d==null?c:fe({},c,d),t.state=c),typeof n.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function"))if(n=t.state,typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&ft.enqueueReplaceState(t,t.state,null),s.queue!==null&&0<s.queue.length)if(n=s.queue,d=s.replace,s.queue=null,s.replace=!1,d&&n.length===1)t.state=n[0];else{for(s=d?n[0]:t.state,c=!0,d=d?1:0;d<n.length;d++){var h=n[d];h=typeof h=="function"?h.call(t,s,o,u):h,h!=null&&(c?(c=!1,s=fe({},s,h)):fe(s,h))}t.state=s}else s.queue=null}var qt={id:1,overflow:""};function de(t,n,o){var u=t.id;t=t.overflow;var c=32-Xt(u)-1;u&=~(1<<c),o+=1;var s=32-Xt(n)+c;if(30<s){var d=c-c%5;return s=(u&(1<<d)-1).toString(32),u>>=d,c-=d,{id:1<<32-Xt(n)+c|o<<c|u,overflow:s+t}}return{id:1<<s|o<<c|u,overflow:t}}var Xt=Math.clz32?Math.clz32:Kn,Jn=Math.log,Yn=Math.LN2;function Kn(t){return t>>>=0,t===0?32:31-(Jn(t)/Yn|0)|0}function Qn(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var er=typeof Object.is=="function"?Object.is:Qn,ce=null,En=null,Gt=null,P=null,dt=!1,Jt=!1,ht=0,he=null,Yt=0;function Te(){if(ce===null)throw Error(m(321));return ce}function Dn(){if(0<Yt)throw Error(m(312));return{memoizedState:null,queue:null,next:null}}function Fn(){return P===null?Gt===null?(dt=!1,Gt=P=Dn()):(dt=!0,P=Gt):P.next===null?(dt=!1,P=P.next=Dn()):(dt=!0,P=P.next),P}function Tn(){En=ce=null,Jt=!1,Gt=null,Yt=0,P=he=null}function zn(t,n){return typeof n=="function"?n(t):n}function Nn(t,n,o){if(ce=Te(),P=Fn(),dt){var u=P.queue;if(n=u.dispatch,he!==null&&(o=he.get(u),o!==void 0)){he.delete(u),u=P.memoizedState;do u=t(u,o.action),o=o.next;while(o!==null);return P.memoizedState=u,[u,n]}return[P.memoizedState,n]}return t=t===zn?typeof n=="function"?n():n:o!==void 0?o(n):n,P.memoizedState=t,t=P.queue={last:null,dispatch:null},t=t.dispatch=tr.bind(null,ce,t),[P.memoizedState,t]}function Vn(t,n){if(ce=Te(),P=Fn(),n=n===void 0?null:n,P!==null){var o=P.memoizedState;if(o!==null&&n!==null){var u=o[1];e:if(u===null)u=!1;else{for(var c=0;c<u.length&&c<n.length;c++)if(!er(n[c],u[c])){u=!1;break e}u=!0}if(u)return o[0]}}return t=t(),P.memoizedState=[t,n],t}function tr(t,n,o){if(25<=Yt)throw Error(m(301));if(t===ce)if(Jt=!0,t={action:o,next:null},he===null&&(he=new Map),o=he.get(n),o===void 0)he.set(n,t);else{for(n=o;n.next!==null;)n=n.next;n.next=t}}function nr(){throw Error(m(394))}function Kt(){}var Ln={readContext:function(t){return t._currentValue},useContext:function(t){return Te(),t._currentValue},useMemo:Vn,useReducer:Nn,useRef:function(t){ce=Te(),P=Fn();var n=P.memoizedState;return n===null?(t={current:t},P.memoizedState=t):n},useState:function(t){return Nn(zn,t)},useInsertionEffect:Kt,useLayoutEffect:function(){},useCallback:function(t,n){return Vn(function(){return t},n)},useImperativeHandle:Kt,useEffect:Kt,useDebugValue:Kt,useDeferredValue:function(t){return Te(),t},useTransition:function(){return Te(),[!1,nr]},useId:function(){var t=En.treeContext,n=t.overflow;t=t.id,t=(t&~(1<<32-Xt(t)-1)).toString(32)+n;var o=Qt;if(o===null)throw Error(m(404));return n=ht++,t=":"+o.idPrefix+"R"+t,0<n&&(t+="H"+n.toString(32)),t+":"},useMutableSource:function(t,n){return Te(),n(t._source)},useSyncExternalStore:function(t,n,o){if(o===void 0)throw Error(m(407));return o()}},Qt=null,Rn=J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function rr(t){return console.error(t),null}function mt(){}function or(t,n,o,u,c,s,d,h,k){var F=[],E=new Set;return n={destination:null,responseState:n,progressiveChunkSize:u===void 0?12800:u,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:E,pingedTasks:F,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?rr:c,onAllReady:s===void 0?mt:s,onShellReady:d===void 0?mt:d,onShellError:h===void 0?mt:h,onFatalError:k===void 0?mt:k},o=en(n,0,null,o,!1,!1),o.parentFlushed=!0,t=_n(n,t,null,o,E,x,null,qt),F.push(t),n}function _n(t,n,o,u,c,s,d,h){t.allPendingTasks++,o===null?t.pendingRootTasks++:o.pendingTasks++;var k={node:n,ping:function(){var F=t.pingedTasks;F.push(k),F.length===1&&Un(t)},blockedBoundary:o,blockedSegment:u,abortSet:c,legacyContext:s,context:d,treeContext:h};return c.add(k),k}function en(t,n,o,u,c,s){return{status:0,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:o,lastPushedText:c,textEmbedded:s}}function yt(t,n){if(t=t.onError(n),t!=null&&typeof t!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof t+'" instead');return t}function tn(t,n){var o=t.onShellError;o(n),o=t.onFatalError,o(n),t.destination!==null?(t.status=2,_e(t.destination,n)):(t.status=1,t.fatalError=n)}function bn(t,n,o,u,c){for(ce={},En=n,ht=0,t=o(u,c);Jt;)Jt=!1,ht=0,Yt+=1,P=null,t=o(u,c);return Tn(),t}function On(t,n,o,u){var c=o.render(),s=u.childContextTypes;if(s!=null){var d=n.legacyContext;if(typeof o.getChildContext!="function")u=d;else{o=o.getChildContext();for(var h in o)if(!(h in s))throw Error(m(108,y(u)||"Unknown",h));u=fe({},d,o)}n.legacyContext=u,Z(t,n,c),n.legacyContext=d}else Z(t,n,c)}function $n(t,n){if(t&&t.defaultProps){n=fe({},n),t=t.defaultProps;for(var o in t)n[o]===void 0&&(n[o]=t[o]);return n}return n}function Pn(t,n,o,u,c){if(typeof o=="function")if(o.prototype&&o.prototype.isReactComponent){c=w(o,n.legacyContext);var s=o.contextType;s=new o(u,typeof s=="object"&&s!==null?s._currentValue:c),Fe(s,o,u,c),On(t,n,s,o)}else{s=w(o,n.legacyContext),c=bn(t,n,o,u,s);var d=ht!==0;if(typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0)Fe(c,o,u,s),On(t,n,c,o);else if(d){u=n.treeContext,n.treeContext=de(u,1,0);try{Z(t,n,c)}finally{n.treeContext=u}}else Z(t,n,c)}else if(typeof o=="string"){switch(c=n.blockedSegment,s=Pt(c.chunks,o,u,t.responseState,c.formatContext),c.lastPushedText=!1,d=c.formatContext,c.formatContext=ye(d,o,u),In(t,n,s),c.formatContext=d,o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:c.chunks.push(It,S(o),Mt)}c.lastPushedText=!1}else{switch(o){case p:case i:case st:case at:case Ce:Z(t,n,u.children);return;case pt:Z(t,n,u.children);return;case l:throw Error(m(343));case Zt:e:{o=n.blockedBoundary,c=n.blockedSegment,s=u.fallback,u=u.children,d=new Set;var h={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null},k=en(t,c.chunks.length,h,c.formatContext,!1,!1);c.children.push(k),c.lastPushedText=!1;var F=en(t,0,null,c.formatContext,!1,!1);F.parentFlushed=!0,n.blockedBoundary=h,n.blockedSegment=F;try{if(In(t,n,u),F.lastPushedText&&F.textEmbedded&&F.chunks.push(qe),F.status=1,nn(h,F),h.pendingTasks===0)break e}catch(E){F.status=4,h.forceClientRender=!0,h.errorDigest=yt(t,E)}finally{n.blockedBoundary=o,n.blockedSegment=c}n=_n(t,s,o,k,d,n.legacyContext,n.context,n.treeContext),t.pingedTasks.push(n)}return}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Wt:if(u=bn(t,n,o.render,u,c),ht!==0){o=n.treeContext,n.treeContext=de(o,1,0);try{Z(t,n,u)}finally{n.treeContext=o}}else Z(t,n,u);return;case e:o=o.type,u=$n(o,u),Pn(t,n,o,u,c);return;case ct:if(c=u.children,o=o._context,u=u.value,s=o._currentValue,o._currentValue=u,d=C,C=u={parent:d,depth:d===null?0:d.depth+1,context:o,parentValue:s,value:u},n.context=u,Z(t,n,c),t=C,t===null)throw Error(m(403));u=t.parentValue,t.context._currentValue=u===a?t.context._defaultValue:u,t=C=t.parent,n.context=t;return;case je:u=u.children,u=u(o._currentValue),Z(t,n,u);return;case r:c=o._init,o=c(o._payload),u=$n(o,u),Pn(t,n,o,u,void 0);return}throw Error(m(130,o==null?o:typeof o,""))}}function Z(t,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ut:Pn(t,n,o.type,o.props,o.ref);return;case we:throw Error(m(257));case r:var u=o._init;o=u(o._payload),Z(t,n,o);return}if(We(o)){jn(t,n,o);return}if(o===null||typeof o!="object"?u=null:(u=f&&o[f]||o["@@iterator"],u=typeof u=="function"?u:null),u&&(u=u.call(o))){if(o=u.next(),!o.done){var c=[];do c.push(o.value),o=u.next();while(!o.done);jn(t,n,c)}return}throw t=Object.prototype.toString.call(o),Error(m(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t))}typeof o=="string"?(u=n.blockedSegment,u.lastPushedText=Xe(n.blockedSegment.chunks,o,t.responseState,u.lastPushedText)):typeof o=="number"&&(u=n.blockedSegment,u.lastPushedText=Xe(n.blockedSegment.chunks,""+o,t.responseState,u.lastPushedText))}function jn(t,n,o){for(var u=o.length,c=0;c<u;c++){var s=n.treeContext;n.treeContext=de(s,u,c);try{In(t,n,o[c])}finally{n.treeContext=s}}}function In(t,n,o){var u=n.blockedSegment.formatContext,c=n.legacyContext,s=n.context;try{return Z(t,n,o)}catch(k){if(Tn(),typeof k=="object"&&k!==null&&typeof k.then=="function"){o=k;var d=n.blockedSegment,h=en(t,d.chunks.length,null,d.formatContext,d.lastPushedText,!0);d.children.push(h),d.lastPushedText=!1,t=_n(t,n.node,n.blockedBoundary,h,n.abortSet,n.legacyContext,n.context,n.treeContext).ping,o.then(t,t),n.blockedSegment.formatContext=u,n.legacyContext=c,n.context=s,ae(s)}else throw n.blockedSegment.formatContext=u,n.legacyContext=c,n.context=s,ae(s),k}}function lr(t){var n=t.blockedBoundary;t=t.blockedSegment,t.status=3,Hn(this,n,t)}function An(t,n,o){var u=t.blockedBoundary;t.blockedSegment.status=3,u===null?(n.allPendingTasks--,n.status!==2&&(n.status=2,n.destination!==null&&n.destination.close())):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,t=o===void 0?Error(m(432)):o,u.errorDigest=n.onError(t),u.parentFlushed&&n.clientRenderedBoundaries.push(u)),u.fallbackAbortableTasks.forEach(function(c){return An(c,n,o)}),u.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0&&(u=n.onAllReady,u()))}function nn(t,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var o=n.children[0];o.id=n.id,o.parentFlushed=!0,o.status===1&&nn(t,o)}else t.completedSegments.push(n)}function Hn(t,n,o){if(n===null){if(o.parentFlushed){if(t.completedRootSegment!==null)throw Error(m(389));t.completedRootSegment=o}t.pendingRootTasks--,t.pendingRootTasks===0&&(t.onShellError=mt,n=t.onShellReady,n())}else n.pendingTasks--,n.forceClientRender||(n.pendingTasks===0?(o.parentFlushed&&o.status===1&&nn(n,o),n.parentFlushed&&t.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(lr,t),n.fallbackAbortableTasks.clear()):o.parentFlushed&&o.status===1&&(nn(n,o),n.completedSegments.length===1&&n.parentFlushed&&t.partialBoundaries.push(n)));t.allPendingTasks--,t.allPendingTasks===0&&(t=t.onAllReady,t())}function Un(t){if(t.status!==2){var n=C,o=Rn.current;Rn.current=Ln;var u=Qt;Qt=t.responseState;try{var c=t.pingedTasks,s;for(s=0;s<c.length;s++){var d=c[s],h=t,k=d.blockedSegment;if(k.status===0){ae(d.context);try{Z(h,d,d.node),k.lastPushedText&&k.textEmbedded&&k.chunks.push(qe),d.abortSet.delete(d),k.status=1,Hn(h,d.blockedBoundary,k)}catch(te){if(Tn(),typeof te=="object"&&te!==null&&typeof te.then=="function"){var F=d.ping;te.then(F,F)}else{d.abortSet.delete(d),k.status=4;var E=d.blockedBoundary,I=te,H=yt(h,I);if(E===null?tn(h,I):(E.pendingTasks--,E.forceClientRender||(E.forceClientRender=!0,E.errorDigest=H,E.parentFlushed&&h.clientRenderedBoundaries.push(E))),h.allPendingTasks--,h.allPendingTasks===0){var ee=h.onAllReady;ee()}}}finally{}}}c.splice(0,s),t.destination!==null&&Mn(t,t.destination)}catch(te){yt(t,te),tn(t,te)}finally{Qt=u,Rn.current=o,o===Ln&&ae(n)}}}function rn(t,n,o){switch(o.parentFlushed=!0,o.status){case 0:var u=o.id=t.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,t=t.responseState,v(n,Be),v(n,t.placeholderPrefix),t=S(u.toString(16)),v(n,t),R(n,Bt);case 1:o.status=2;var c=!0;u=o.chunks;var s=0;o=o.children;for(var d=0;d<o.length;d++){for(c=o[d];s<c.index;s++)v(n,u[s]);c=on(t,n,c)}for(;s<u.length-1;s++)v(n,u[s]);return s<u.length&&(c=R(n,u[s])),c;default:throw Error(m(390))}}function on(t,n,o){var u=o.boundary;if(u===null)return rn(t,n,o);if(u.parentFlushed=!0,u.forceClientRender)u=u.errorDigest,R(n,De),v(n,yn),u&&(v(n,vn),v(n,S(B(u))),v(n,gn)),R(n,Sn),rn(t,n,o);else if(0<u.pendingTasks){u.rootSegmentID=t.nextSegmentId++,0<u.completedSegments.length&&t.partialBoundaries.push(u);var c=t.responseState,s=c.nextSuspenseID++;c=g(c.boundaryPrefix+s.toString(16)),u=u.id=c,G(n,t.responseState,u),rn(t,n,o)}else if(u.byteSize>t.progressiveChunkSize)u.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(u),G(n,t.responseState,u.id),rn(t,n,o);else{if(R(n,Dt),o=u.completedSegments,o.length!==1)throw Error(m(391));on(t,n,o[0])}return R(n,mn)}function Wn(t,n,o){return wn(n,t.responseState,o.formatContext,o.id),on(t,n,o),xe(n,o.formatContext)}function Zn(t,n,o){for(var u=o.completedSegments,c=0;c<u.length;c++)qn(t,n,o,u[c]);if(u.length=0,t=t.responseState,u=o.id,o=o.rootSegmentID,v(n,t.startInlineScript),t.sentCompleteBoundaryFunction?v(n,Ot):(t.sentCompleteBoundaryFunction=!0,v(n,$e)),u===null)throw Error(m(395));return o=S(o.toString(16)),v(n,u),v(n,$t),v(n,t.segmentPrefix),v(n,o),R(n,jt)}function qn(t,n,o,u){if(u.status===2)return!0;var c=u.id;if(c===-1){if((u.id=o.rootSegmentID)===-1)throw Error(m(392));return Wn(t,n,u)}return Wn(t,n,u),t=t.responseState,v(n,t.startInlineScript),t.sentCompleteSegmentFunction?v(n,ot):(t.sentCompleteSegmentFunction=!0,v(n,Cn)),v(n,t.segmentPrefix),c=S(c.toString(16)),v(n,c),v(n,Oe),v(n,t.placeholderPrefix),v(n,c),R(n,ke)}function Mn(t,n){T=new Uint8Array(512),O=0;try{var o=t.completedRootSegment;if(o!==null&&t.pendingRootTasks===0){on(t,n,o),t.completedRootSegment=null;var u=t.responseState.bootstrapChunks;for(o=0;o<u.length-1;o++)v(n,u[o]);o<u.length&&R(n,u[o])}var c=t.clientRenderedBoundaries,s;for(s=0;s<c.length;s++){var d=c[s];u=n;var h=t.responseState,k=d.id,F=d.errorDigest,E=d.errorMessage,I=d.errorComponentStack;if(v(u,h.startInlineScript),h.sentClientRenderFunction?v(u,A):(h.sentClientRenderFunction=!0,v(u,lt)),k===null)throw Error(m(395));if(v(u,k),v(u,At),(F||E||I)&&(v(u,it),v(u,S(pe(F||"")))),(E||I)&&(v(u,it),v(u,S(pe(E||"")))),I&&(v(u,it),v(u,S(pe(I)))),!R(u,ut)){t.destination=null,s++,c.splice(0,s);return}}c.splice(0,s);var H=t.completedBoundaries;for(s=0;s<H.length;s++)if(!Zn(t,n,H[s])){t.destination=null,s++,H.splice(0,s);return}H.splice(0,s),Ae(n),T=new Uint8Array(512),O=0;var ee=t.partialBoundaries;for(s=0;s<ee.length;s++){var te=ee[s];e:{c=t,d=n;var ln=te.completedSegments;for(h=0;h<ln.length;h++)if(!qn(c,d,te,ln[h])){h++,ln.splice(0,h);var Gn=!1;break e}ln.splice(0,h),Gn=!0}if(!Gn){t.destination=null,s++,ee.splice(0,s);return}}ee.splice(0,s);var un=t.completedBoundaries;for(s=0;s<un.length;s++)if(!Zn(t,n,un[s])){t.destination=null,s++,un.splice(0,s);return}un.splice(0,s)}finally{Ae(n),t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&n.close()}}function Xn(t,n){try{var o=t.abortableTasks;o.forEach(function(u){return An(u,t,n)}),o.clear(),t.destination!==null&&Mn(t,t.destination)}catch(u){yt(t,u),tn(t,u)}}ne.renderToReadableStream=function(t,n){return new Promise(function(o,u){var c,s,d=new Promise(function(E,I){s=E,c=I}),h=or(t,Ze(n?n.identifierPrefix:void 0,n?n.nonce:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),Ct(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,s,function(){var E=new ReadableStream({type:"bytes",pull:function(I){if(h.status===1)h.status=2,_e(I,h.fatalError);else if(h.status!==2&&h.destination===null){h.destination=I;try{Mn(h,I)}catch(H){yt(h,H),tn(h,H)}}},cancel:function(){Xn(h)}},{highWaterMark:0});E.allReady=d,o(E)},function(E){d.catch(function(){}),u(E)},c);if(n&&n.signal){var k=n.signal,F=function(){Xn(h,k.reason),k.removeEventListener("abort",F)};k.addEventListener("abort",F)}Un(h)})},ne.version="18.2.0"},97762:function(Bn,ne,Re){var J,m,T;m=Re(87774),T=Re(38698),J=m.version,ne.Dq=m.renderToString,J=m.renderToStaticMarkup,J=m.renderToNodeStream,J=m.renderToStaticNodeStream,J=T.renderToReadableStream}}]);
@@ -0,0 +1,3 @@
1
+ "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2068],{87487:function(){},92879:function(Ue,ve,p){var c=p(67294),ge=p(45697),h=p.n(ge),ye=p(83253),be=p.n(ye);function le(i,s){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);s&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})),a.push.apply(a,n)}return a}function g(i){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?le(Object(a),!0).forEach(function(n){K(i,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):le(Object(a)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(a,n))})}return i}function Se(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}function ue(i,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}function Ee(i,s,a){return s&&ue(i.prototype,s),a&&ue(i,a),i}function K(i,s,a){return s in i?Object.defineProperty(i,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[s]=a,i}function z(){return z=Object.assign||function(i){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(i[n]=a[n])}return i},z.apply(this,arguments)}function Me(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),s&&F(i,s)}function N(i){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},N(i)}function F(i,s){return F=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n},F(i,s)}function _e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function ke(i,s){return s&&(typeof s=="object"||typeof s=="function")?s:f(i)}function we(i){var s=_e();return function(){var n=N(i),e;if(s){var t=N(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return ke(this,e)}}function he(i,s){return Oe(i)||Te(i,s)||ce(i,s)||xe()}function $(i){return Ie(i)||Ce(i)||ce(i)||Pe()}function Ie(i){if(Array.isArray(i))return V(i)}function Oe(i){if(Array.isArray(i))return i}function Ce(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Te(i,s){var a=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(a!=null){var n=[],e=!0,t=!1,o,r;try{for(a=a.call(i);!(e=(o=a.next()).done)&&(n.push(o.value),!(s&&n.length===s));e=!0);}catch(l){t=!0,r=l}finally{try{!e&&a.return!=null&&a.return()}finally{if(t)throw r}}return n}}function ce(i,s){if(i){if(typeof i=="string")return V(i,s);var a=Object.prototype.toString.call(i).slice(8,-1);if(a==="Object"&&i.constructor&&(a=i.constructor.name),a==="Map"||a==="Set")return Array.from(i);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return V(i,s)}}function V(i,s){(s==null||s>i.length)&&(s=i.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=i[a];return n}function Pe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function de(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!i)return"";var a=i;return s&&Object.keys(s).forEach(function(n){a=a.replace(n,s[n])}),a}function fe(){return typeof p.g.window<"u"?p.g.window.innerWidth:0}function Le(){return typeof p.g.window<"u"?p.g.window.innerHeight:0}var De=function(){try{return p.g.window.location.hostname!==p.g.window.parent.location.hostname}catch{return!0}};function me(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.g.window.self;return i===p.g.window.top||De()?i:me(i.parent)}var y=0,D=300,Re=1.007,G=100,Ae=200,Xe=1,B={ESC:27,LEFT_ARROW:37,RIGHT_ARROW:39},R=0,J=1,Q=2,Z=3,ee=0,I=1,O=2,W=3,Ye=200,te=function(i){Me(a,i);var s=we(a);function a(n){var e;return Se(this,a),e=s.call(this,n),e.state={isClosing:!n.animationDisabled,shouldAnimate:!1,zoomLevel:y,offsetX:0,offsetY:0,loadErrorStatus:{}},e.outerEl=c.createRef(),e.zoomInBtn=c.createRef(),e.zoomOutBtn=c.createRef(),e.caption=c.createRef(),e.closeIfClickInner=e.closeIfClickInner.bind(f(e)),e.handleImageDoubleClick=e.handleImageDoubleClick.bind(f(e)),e.handleImageMouseWheel=e.handleImageMouseWheel.bind(f(e)),e.handleKeyInput=e.handleKeyInput.bind(f(e)),e.handleMouseUp=e.handleMouseUp.bind(f(e)),e.handleMouseDown=e.handleMouseDown.bind(f(e)),e.handleMouseMove=e.handleMouseMove.bind(f(e)),e.handleOuterMousewheel=e.handleOuterMousewheel.bind(f(e)),e.handleTouchStart=e.handleTouchStart.bind(f(e)),e.handleTouchMove=e.handleTouchMove.bind(f(e)),e.handleTouchEnd=e.handleTouchEnd.bind(f(e)),e.handlePointerEvent=e.handlePointerEvent.bind(f(e)),e.handleCaptionMousewheel=e.handleCaptionMousewheel.bind(f(e)),e.handleWindowResize=e.handleWindowResize.bind(f(e)),e.handleZoomInButtonClick=e.handleZoomInButtonClick.bind(f(e)),e.handleZoomOutButtonClick=e.handleZoomOutButtonClick.bind(f(e)),e.requestClose=e.requestClose.bind(f(e)),e.requestMoveNext=e.requestMoveNext.bind(f(e)),e.requestMovePrev=e.requestMovePrev.bind(f(e)),e.timeouts=[],e.currentAction=R,e.eventsSource=ee,e.pointerList=[],e.preventInnerClose=!1,e.preventInnerCloseTimeout=null,e.keyPressed=!1,e.imageCache={},e.lastKeyDownTime=0,e.resizeTimeout=null,e.wheelActionTimeout=null,e.resetScrollTimeout=null,e.scrollX=0,e.scrollY=0,e.moveStartX=0,e.moveStartY=0,e.moveStartOffsetX=0,e.moveStartOffsetY=0,e.swipeStartX=0,e.swipeStartY=0,e.swipeEndX=0,e.swipeEndY=0,e.pinchTouchList=null,e.pinchDistance=0,e.keyCounter=0,e.moveRequested=!1,e}return Ee(a,[{key:"componentDidMount",value:function(){var e=this;this.props.animationDisabled||this.setState({isClosing:!1}),this.windowContext=me(),this.listeners={resize:this.handleWindowResize,mouseup:this.handleMouseUp,touchend:this.handleTouchEnd,touchcancel:this.handleTouchEnd,pointerdown:this.handlePointerEvent,pointermove:this.handlePointerEvent,pointerup:this.handlePointerEvent,pointercancel:this.handlePointerEvent},Object.keys(this.listeners).forEach(function(t){e.windowContext.addEventListener(t,e.listeners[t])}),this.loadAllImages()}},{key:"shouldComponentUpdate",value:function(e){var t=this;return this.getSrcTypes().forEach(function(o){t.props[o.name]!==e[o.name]&&(t.moveRequested=!1)}),!this.moveRequested}},{key:"componentDidUpdate",value:function(e){var t=this,o=!1,r={},l={};this.getSrcTypes().forEach(function(u){e[u.name]!==t.props[u.name]&&(o=!0,r[e[u.name]]=!0,l[t.props[u.name]]=!0)}),(o||this.moveRequested)&&(Object.keys(r).forEach(function(u){!(u in l)&&u in t.imageCache&&(t.imageCache[u].loaded=!1)}),this.moveRequested=!1,this.loadAllImages(this.props))}},{key:"componentWillUnmount",value:function(){var e=this;this.didUnmount=!0,Object.keys(this.listeners).forEach(function(t){e.windowContext.removeEventListener(t,e.listeners[t])}),this.timeouts.forEach(function(t){return clearTimeout(t)})}},{key:"setTimeout",value:function(n){function e(t,o){return n.apply(this,arguments)}return e.toString=function(){return n.toString()},e}(function(n,e){var t=this,o=setTimeout(function(){t.timeouts=t.timeouts.filter(function(r){return r!==o}),n()},e);return this.timeouts.push(o),o})},{key:"setPreventInnerClose",value:function(){var e=this;this.preventInnerCloseTimeout&&this.clearTimeout(this.preventInnerCloseTimeout),this.preventInnerClose=!0,this.preventInnerCloseTimeout=this.setTimeout(function(){e.preventInnerClose=!1,e.preventInnerCloseTimeout=null},100)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],o={};if(this.isImageLoaded(t))o=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else if(this.isImageLoaded(this.props["".concat(e,"Thumbnail")]))t=this.props["".concat(e,"Thumbnail")],o=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0);else return null;return{src:t,height:this.imageCache[t].height,width:this.imageCache[t].width,targetHeight:o.height,targetWidth:o.width}}},{key:"getFitSizes",value:function(e,t,o){var r=this.getLightboxRect(),l=r.height-this.props.imagePadding*2,u=r.width-this.props.imagePadding*2;o||(l=Math.min(l,t),u=Math.min(u,e));var m=u/l,d=e/t;return m>d?{width:e*l/t,height:l}:{width:u,height:t*u/e}}},{key:"getMaxOffsets",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.state.zoomLevel,t=this.getBestImageForType("mainSrc");if(t===null)return{maxX:0,minX:0,maxY:0,minY:0};var o=this.getLightboxRect(),r=this.getZoomMultiplier(e),l=0;r*t.width-o.width<0?l=(o.width-r*t.width)/2:l=(r*t.width-o.width)/2;var u=0;return r*t.height-o.height<0?u=(o.height-r*t.height)/2:u=(r*t.height-o.height)/2,{maxX:l,maxY:u,minX:-1*l,minY:-1*u}}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i".concat(this.keyCounter)},{name:"mainSrcThumbnail",keyEnding:"t".concat(this.keyCounter)},{name:"nextSrc",keyEnding:"i".concat(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t".concat(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i".concat(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t".concat(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.state.zoomLevel;return Math.pow(Re,e)}},{key:"getLightboxRect",value:function(){return this.outerEl.current?this.outerEl.current.getBoundingClientRect():{width:fe(),height:Le(),top:0,right:0,bottom:0,left:0}}},{key:"clearTimeout",value:function(n){function e(t){return n.apply(this,arguments)}return e.toString=function(){return n.toString()},e}(function(n){this.timeouts=this.timeouts.filter(function(e){return e!==n}),clearTimeout(n)})},{key:"changeZoom",value:function(e,t,o){if(this.props.enableZoom){var r=Math.max(y,Math.min(D,e));if(r!==this.state.zoomLevel){if(r===y){this.setState({zoomLevel:r,offsetX:0,offsetY:0});return}var l=this.getBestImageForType("mainSrc");if(l!==null){var u=this.getZoomMultiplier(),m=this.getZoomMultiplier(r),d=this.getLightboxRect(),C=typeof t<"u"?t-d.left:d.width/2,S=typeof o<"u"?o-d.top:d.height/2,E=(d.width-l.width*u)/2,M=(d.height-l.height*u)/2,ne=E-this.state.offsetX,q=M-this.state.offsetY,ie=(C-ne)/u,U=(S-q)/u,_=C-ie*m,b=S-U*m,oe=(d.width-l.width*m)/2,re=(d.height-l.height*m)/2,T=oe-_,A=re-b;if(this.currentAction!==Z){var k=this.getMaxOffsets();this.state.zoomLevel>r&&(T=Math.max(k.minX,Math.min(k.maxX,T)),A=Math.max(k.minY,Math.min(k.maxY,A)))}this.setState({zoomLevel:r,offsetX:T,offsetY:A})}}}}},{key:"closeIfClickInner",value:function(e){!this.preventInnerClose&&e.target.className.search(/\bril-inner\b/)>-1&&this.requestClose(e)}},{key:"handleKeyInput",value:function(e){if(e.stopPropagation(),!this.isAnimating()){if(e.type==="keyup"){this.lastKeyDownTime-=this.props.keyRepeatKeyupBonus;return}var t=e.which||e.keyCode,o=new Date;if(!(o.getTime()-this.lastKeyDownTime<this.props.keyRepeatLimit&&t!==B.ESC))switch(this.lastKeyDownTime=o.getTime(),t){case B.ESC:e.preventDefault(),this.requestClose(e);break;case B.LEFT_ARROW:if(!this.props.prevSrc)return;e.preventDefault(),this.keyPressed=!0,this.requestMovePrev(e);break;case B.RIGHT_ARROW:if(!this.props.nextSrc)return;e.preventDefault(),this.keyPressed=!0,this.requestMoveNext(e);break}}}},{key:"handleOuterMousewheel",value:function(e){var t=this;e.stopPropagation();var o=Ae,r=0,l=500;if(this.clearTimeout(this.resetScrollTimeout),this.resetScrollTimeout=this.setTimeout(function(){t.scrollX=0,t.scrollY=0},300),!(this.wheelActionTimeout!==null||this.isAnimating())){if(Math.abs(e.deltaY)<Math.abs(e.deltaX)){this.scrollY=0,this.scrollX+=e.deltaX;var u=o/2;this.scrollX>=o||e.deltaX>=u?(this.requestMoveNext(e),r=l,this.scrollX=0):(this.scrollX<=-1*o||e.deltaX<=-1*u)&&(this.requestMovePrev(e),r=l,this.scrollX=0)}r!==0&&(this.wheelActionTimeout=this.setTimeout(function(){t.wheelActionTimeout=null},r))}}},{key:"handleImageMouseWheel",value:function(e){var t=Xe;if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<t)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>y?this.changeZoom(y,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+G,e.clientX,e.clientY)}},{key:"shouldHandleEvent",value:function(e){if(this.eventsSource===e)return!0;if(this.eventsSource===ee)return this.eventsSource=e,!0;switch(e){case I:return!1;case O:return this.eventsSource=O,this.filterPointersBySource(),!0;case W:return this.eventsSource===I?(this.eventsSource=W,this.filterPointersBySource(),!0):!1;default:return!1}}},{key:"addPointer",value:function(e){this.pointerList.push(e)}},{key:"removePointer",value:function(e){this.pointerList=this.pointerList.filter(function(t){var o=t.id;return o!==e.id})}},{key:"filterPointersBySource",value:function(){var e=this;this.pointerList=this.pointerList.filter(function(t){var o=t.source;return o===e.eventsSource})}},{key:"handleMouseDown",value:function(e){this.shouldHandleEvent(I)&&a.isTargetMatchImage(e.target)&&(this.addPointer(a.parseMouseEvent(e)),this.multiPointerStart(e))}},{key:"handleMouseMove",value:function(e){this.shouldHandleEvent(I)&&this.multiPointerMove(e,[a.parseMouseEvent(e)])}},{key:"handleMouseUp",value:function(e){this.shouldHandleEvent(I)&&(this.removePointer(a.parseMouseEvent(e)),this.multiPointerEnd(e))}},{key:"handlePointerEvent",value:function(e){if(this.shouldHandleEvent(W))switch(e.type){case"pointerdown":a.isTargetMatchImage(e.target)&&(this.addPointer(a.parsePointerEvent(e)),this.multiPointerStart(e));break;case"pointermove":this.multiPointerMove(e,[a.parsePointerEvent(e)]);break;case"pointerup":case"pointercancel":this.removePointer(a.parsePointerEvent(e)),this.multiPointerEnd(e);break}}},{key:"handleTouchStart",value:function(e){var t=this;this.shouldHandleEvent(O)&&a.isTargetMatchImage(e.target)&&([].forEach.call(e.changedTouches,function(o){return t.addPointer(a.parseTouchPointer(o))}),this.multiPointerStart(e))}},{key:"handleTouchMove",value:function(e){this.shouldHandleEvent(O)&&this.multiPointerMove(e,[].map.call(e.changedTouches,function(t){return a.parseTouchPointer(t)}))}},{key:"handleTouchEnd",value:function(e){var t=this;this.shouldHandleEvent(O)&&([].map.call(e.changedTouches,function(o){return t.removePointer(a.parseTouchPointer(o))}),this.multiPointerEnd(e))}},{key:"decideMoveOrSwipe",value:function(e){this.state.zoomLevel<=y?this.handleSwipeStart(e):this.handleMoveStart(e)}},{key:"multiPointerStart",value:function(e){switch(this.handleEnd(null),this.pointerList.length){case 1:{e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break}case 2:{e.preventDefault(),this.handlePinchStart(this.pointerList);break}}}},{key:"multiPointerMove",value:function(e,t){switch(this.currentAction){case J:{e.preventDefault(),this.handleMove(t[0]);break}case Q:{e.preventDefault(),this.handleSwipe(t[0]);break}case Z:{e.preventDefault(),this.handlePinch(t);break}}}},{key:"multiPointerEnd",value:function(e){switch(this.currentAction!==R&&(this.setPreventInnerClose(),this.handleEnd(e)),this.pointerList.length){case 0:{this.eventsSource=ee;break}case 1:{e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break}case 2:{e.preventDefault(),this.handlePinchStart(this.pointerList);break}}}},{key:"handleEnd",value:function(e){switch(this.currentAction){case J:this.handleMoveEnd(e);break;case Q:this.handleSwipeEnd(e);break;case Z:this.handlePinchEnd(e);break}}},{key:"handleMoveStart",value:function(e){var t=e.x,o=e.y;this.props.enableZoom&&(this.currentAction=J,this.moveStartX=t,this.moveStartY=o,this.moveStartOffsetX=this.state.offsetX,this.moveStartOffsetY=this.state.offsetY)}},{key:"handleMove",value:function(e){var t=e.x,o=e.y,r=this.moveStartX-t+this.moveStartOffsetX,l=this.moveStartY-o+this.moveStartOffsetY;(this.state.offsetX!==r||this.state.offsetY!==l)&&this.setState({offsetX:r,offsetY:l})}},{key:"handleMoveEnd",value:function(){var e=this;this.currentAction=R,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0;var t=this.getMaxOffsets(),o=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),r=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));(o!==this.state.offsetX||r!==this.state.offsetY)&&(this.setState({offsetX:o,offsetY:r,shouldAnimate:!0}),this.setTimeout(function(){e.setState({shouldAnimate:!1})},this.props.animationDuration))}},{key:"handleSwipeStart",value:function(e){var t=e.x,o=e.y;this.currentAction=Q,this.swipeStartX=t,this.swipeStartY=o,this.swipeEndX=t,this.swipeEndY=o}},{key:"handleSwipe",value:function(e){var t=e.x,o=e.y;this.swipeEndX=t,this.swipeEndY=o}},{key:"handleSwipeEnd",value:function(e){var t=this.swipeEndX-this.swipeStartX,o=Math.abs(t),r=Math.abs(this.swipeEndY-this.swipeStartY);if(this.currentAction=R,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,!(!e||this.isAnimating()||o<r*1.5)){if(o<Ye){var l=this.getLightboxRect();if(o<l.width/4)return}t>0&&this.props.prevSrc?(e.preventDefault(),this.requestMovePrev()):t<0&&this.props.nextSrc&&(e.preventDefault(),this.requestMoveNext())}}},{key:"calculatePinchDistance",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.pinchTouchList,t=he(e,2),o=t[0],r=t[1];return Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2))}},{key:"calculatePinchCenter",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.pinchTouchList,t=he(e,2),o=t[0],r=t[1];return{x:o.x-(o.x-r.x)/2,y:o.y-(o.y-r.y)/2}}},{key:"handlePinchStart",value:function(e){this.props.enableZoom&&(this.currentAction=Z,this.pinchTouchList=e.map(function(t){var o=t.id,r=t.x,l=t.y;return{id:o,x:r,y:l}}),this.pinchDistance=this.calculatePinchDistance())}},{key:"handlePinch",value:function(e){this.pinchTouchList=this.pinchTouchList.map(function(m){for(var d=0;d<e.length;d+=1)if(e[d].id===m.id)return e[d];return m});var t=this.calculatePinchDistance(),o=this.state.zoomLevel+t-this.pinchDistance;this.pinchDistance=t;var r=this.calculatePinchCenter(this.pinchTouchList),l=r.x,u=r.y;this.changeZoom(o,l,u)}},{key:"handlePinchEnd",value:function(){this.currentAction=R,this.pinchTouchList=null,this.pinchDistance=0}},{key:"handleWindowResize",value:function(){this.clearTimeout(this.resizeTimeout),this.resizeTimeout=this.setTimeout(this.forceUpdate.bind(this),100)}},{key:"handleZoomInButtonClick",value:function(){var e=this.state.zoomLevel+G;this.changeZoom(e),e===D&&this.zoomOutBtn.current.focus()}},{key:"handleZoomOutButtonClick",value:function(){var e=this.state.zoomLevel-G;this.changeZoom(e),e===y&&this.zoomInBtn.current.focus()}},{key:"handleCaptionMousewheel",value:function(e){if(e.stopPropagation(),!!this.caption.current){var t=this.caption.current.getBoundingClientRect(),o=t.height,r=this.caption.current,l=r.scrollHeight,u=r.scrollTop;(e.deltaY>0&&o+u>=l||e.deltaY<0&&u<=0)&&e.preventDefault()}}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(e,t,o){var r=this;if(this.isImageLoaded(t)){this.setTimeout(function(){o()},1);return}var l=new p.g.Image;this.props.imageCrossOrigin&&(l.crossOrigin=this.props.imageCrossOrigin),l.onerror=function(u){r.props.onImageLoadError(t,e,u),r.setState(function(m){return{loadErrorStatus:g(g({},m.loadErrorStatus),{},K({},e,!0))}}),o(u)},l.onload=function(){r.props.onImageLoad(t,e,l),r.imageCache[t]={loaded:!0,width:l.width,height:l.height},o()},l.src=t}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=function(l,u){return function(m){m||e.props[l]!==u||e.didUnmount||e.forceUpdate()}};this.getSrcTypes().forEach(function(r){var l=r.name;t[l]&&e.state.loadErrorStatus[l]&&e.setState(function(u){return{loadErrorStatus:g(g({},u.loadErrorStatus),{},K({},l,!1))}}),t[l]&&!e.isImageLoaded(t[l])&&e.loadImage(l,t[l],o(l,t[l]))})}},{key:"requestClose",value:function(e){var t=this,o=function(){return t.props.onCloseRequest(e)};if(this.props.animationDisabled||e.type==="keydown"&&!this.props.animationOnKeyInput){o();return}this.setState({isClosing:!0}),this.setTimeout(o,this.props.animationDuration)}},{key:"requestMove",value:function(e,t){var o=this,r={zoomLevel:y,offsetX:0,offsetY:0};!this.props.animationDisabled&&(!this.keyPressed||this.props.animationOnKeyInput)&&(r.shouldAnimate=!0,this.setTimeout(function(){return o.setState({shouldAnimate:!1})},this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,e==="prev"?(this.keyCounter-=1,this.setState(r),this.props.onMovePrevRequest(t)):(this.keyCounter+=1,this.setState(r),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var e=this,t=this.props,o=t.animationDisabled,r=t.animationDuration,l=t.clickOutsideToClose,u=t.discourageDownloads,m=t.enableZoom,d=t.imageTitle,C=t.nextSrc,S=t.prevSrc,E=t.toolbarButtons,M=t.reactModalStyle,ne=t.onAfterOpen,q=t.imageCrossOrigin,ie=t.reactModalProps,U=t.loader,_=this.state,b=_.zoomLevel,oe=_.offsetX,re=_.offsetY,T=_.isClosing,A=_.loadErrorStatus,k=this.getLightboxRect(),ae={};!o&&this.isAnimating()&&(ae=g(g({},ae),{},{transition:"transform ".concat(r,"ms")}));var X={};this.getSrcTypes().forEach(function(w){var v=w.name,P=w.keyEnding;X[v]=P});var Y=[],se=function(v,P,Be){if(e.props[v]){var H=e.getBestImageForType(v),x=g(g({},ae),a.getTransform(g(g({},Be),H)));b>y&&(x.cursor="move");var Ze=function(L){return Object.keys(L).some(function(qe){return L[qe]})};if(H===null&&Ze(A)){Y.push(c.createElement("div",{className:"".concat(P," ril__image ril-errored"),style:x,key:e.props[v]+X[v]},c.createElement("div",{className:"ril__errorContainer"},e.props.imageLoadErrorMessage)));return}if(H===null){var We=U!==void 0?U:c.createElement("div",{className:"ril-loading-circle ril__loadingCircle ril__loadingContainer__icon"},$(new Array(12)).map(function(pe,L){return c.createElement("div",{key:L,className:"ril-loading-circle-point ril__loadingCirclePoint"})}));Y.push(c.createElement("div",{className:"".concat(P," ril__image ril-not-loaded"),style:x,key:e.props[v]+X[v]},c.createElement("div",{className:"ril__loadingContainer"},We)));return}var j=H.src;u?(x.backgroundImage="url('".concat(j,"')"),Y.push(c.createElement("div",{className:"".concat(P," ril__image ril__imageDiscourager"),onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,style:x,key:j+X[v]},c.createElement("div",{className:"ril-download-blocker ril__downloadBlocker"})))):Y.push(c.createElement("img",z({},q?{crossOrigin:q}:{},{className:"".concat(P," ril__image"),onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,onDragStart:function(L){return L.preventDefault()},style:x,src:j,key:j+X[v],alt:typeof d=="string"?d:de("Image"),draggable:!1})))}},ze=this.getZoomMultiplier();se("nextSrc","ril-image-next ril__imageNext",{x:k.width}),se("mainSrc","ril-image-current",{x:-1*oe,y:-1*re,zoom:ze}),se("prevSrc","ril-image-prev ril__imagePrev",{x:-1*k.width});var Ne={overlay:g({zIndex:1e3,backgroundColor:"transparent"},M.overlay),content:g({backgroundColor:"transparent",overflow:"hidden",border:"none",borderRadius:0,padding:0,top:0,left:0,right:0,bottom:0},M.content)};return c.createElement(be(),z({isOpen:!0,onRequestClose:l?this.requestClose:void 0,onAfterOpen:function(){e.outerEl.current&&e.outerEl.current.focus(),ne()},style:Ne,contentLabel:de("Lightbox"),appElement:typeof p.g.window<"u"?p.g.window.document.body:void 0},ie),c.createElement("div",{className:"ril-outer ril__outer ril__outerAnimating ".concat(this.props.wrapperClassName," ").concat(T?"ril-closing ril__outerClosing":""),style:{transition:"opacity ".concat(r,"ms"),animationDuration:"".concat(r,"ms"),animationDirection:T?"normal":"reverse"},ref:this.outerEl,onWheel:this.handleOuterMousewheel,onMouseMove:this.handleMouseMove,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,tabIndex:"-1",onKeyDown:this.handleKeyInput,onKeyUp:this.handleKeyInput},c.createElement("div",{className:"ril-inner ril__inner",onClick:l?this.closeIfClickInner:void 0},Y),S&&c.createElement("button",{type:"button",className:"ril-prev-button ril__navButtons ril__navButtonPrev",key:"prev","aria-label":this.props.prevLabel,title:this.props.prevLabel,onClick:this.isAnimating()?void 0:this.requestMovePrev}),C&&c.createElement("button",{type:"button",className:"ril-next-button ril__navButtons ril__navButtonNext",key:"next","aria-label":this.props.nextLabel,title:this.props.nextLabel,onClick:this.isAnimating()?void 0:this.requestMoveNext}),c.createElement("div",{className:"ril-toolbar ril__toolbar"},c.createElement("ul",{className:"ril-toolbar-left ril__toolbarSide ril__toolbarLeftSide"},c.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},c.createElement("span",{className:"ril-toolbar__item__child ril__toolbarItemChild"},d))),c.createElement("ul",{className:"ril-toolbar-right ril__toolbarSide ril__toolbarRightSide"},E&&E.map(function(w,v){return c.createElement("li",{key:"button_".concat(v+1),className:"ril-toolbar__item ril__toolbarItem"},w)}),m&&c.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},c.createElement("button",{type:"button",key:"zoom-in","aria-label":this.props.zoomInLabel,title:this.props.zoomInLabel,className:["ril-zoom-in","ril__toolbarItemChild","ril__builtinButton","ril__zoomInButton"].concat($(b===D?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomInBtn,disabled:this.isAnimating()||b===D,onClick:!this.isAnimating()&&b!==D?this.handleZoomInButtonClick:void 0})),m&&c.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},c.createElement("button",{type:"button",key:"zoom-out","aria-label":this.props.zoomOutLabel,title:this.props.zoomOutLabel,className:["ril-zoom-out","ril__toolbarItemChild","ril__builtinButton","ril__zoomOutButton"].concat($(b===y?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomOutBtn,disabled:this.isAnimating()||b===y,onClick:!this.isAnimating()&&b!==y?this.handleZoomOutButtonClick:void 0})),c.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},c.createElement("button",{type:"button",key:"close","aria-label":this.props.closeLabel,title:this.props.closeLabel,className:"ril-close ril-toolbar__item__child ril__toolbarItemChild ril__builtinButton ril__closeButton",onClick:this.isAnimating()?void 0:this.requestClose})))),this.props.imageCaption&&c.createElement("div",{onWheel:this.handleCaptionMousewheel,onMouseDown:function(v){return v.stopPropagation()},className:"ril-caption ril__caption",ref:this.caption},c.createElement("div",{className:"ril-caption-content ril__captionContent"},this.props.imageCaption))))}}],[{key:"isTargetMatchImage",value:function(e){return e&&/ril-image-current/.test(e.className)}},{key:"parseMouseEvent",value:function(e){return{id:"mouse",source:I,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parseTouchPointer",value:function(e){return{id:e.identifier,source:O,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parsePointerEvent",value:function(e){return{id:e.pointerId,source:W,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"getTransform",value:function(e){var t=e.x,o=t===void 0?0:t,r=e.y,l=r===void 0?0:r,u=e.zoom,m=u===void 0?1:u,d=e.width,C=e.targetWidth,S=o,E=fe();d>E&&(S+=(E-d)/2);var M=m*(C/d);return{transform:"translate3d(".concat(S,"px,").concat(l,"px,0) scale3d(").concat(M,",").concat(M,",1)")}}}]),a}(c.Component);te.propTypes={mainSrc:h().string.isRequired,prevSrc:h().string,nextSrc:h().string,mainSrcThumbnail:h().string,prevSrcThumbnail:h().string,nextSrcThumbnail:h().string,onCloseRequest:h().func.isRequired,onMovePrevRequest:h().func,onMoveNextRequest:h().func,onImageLoadError:h().func,onImageLoad:h().func,onAfterOpen:h().func,discourageDownloads:h().bool,animationDisabled:h().bool,animationOnKeyInput:h().bool,animationDuration:h().number,keyRepeatLimit:h().number,keyRepeatKeyupBonus:h().number,imageTitle:h().node,imageCaption:h().node,imageCrossOrigin:h().string,reactModalStyle:h().shape({}),imagePadding:h().number,wrapperClassName:h().string,toolbarButtons:h().arrayOf(h().node),clickOutsideToClose:h().bool,enableZoom:h().bool,reactModalProps:h().shape({}),nextLabel:h().string,prevLabel:h().string,zoomInLabel:h().string,zoomOutLabel:h().string,closeLabel:h().string,imageLoadErrorMessage:h().node,loader:h().node},te.defaultProps={imageTitle:null,imageCaption:null,toolbarButtons:null,reactModalProps:{},animationDisabled:!1,animationDuration:300,animationOnKeyInput:!1,clickOutsideToClose:!0,closeLabel:"Close lightbox",discourageDownloads:!1,enableZoom:!0,imagePadding:10,imageCrossOrigin:null,keyRepeatKeyupBonus:40,keyRepeatLimit:180,mainSrcThumbnail:null,nextLabel:"Next image",nextSrc:null,nextSrcThumbnail:null,onAfterOpen:function(){},onImageLoadError:function(){},onImageLoad:function(){},onMoveNextRequest:function(){},onMovePrevRequest:function(){},prevLabel:"Previous image",prevSrc:null,prevSrcThumbnail:null,reactModalStyle:{},wrapperClassName:"",zoomInLabel:"Zoom in",zoomOutLabel:"Zoom out",imageLoadErrorMessage:"This image failed to load",loader:void 0},ve.Z=te}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[1216],{79655:function(Ge,$,F){var q,ee;F.r($),F.d($,{AbortedDeferredError:function(){return E.X3},Await:function(){return i.Await},BrowserRouter:function(){return Ue},Form:function(){return oe},HashRouter:function(){return De},Link:function(){return re},MemoryRouter:function(){return i.MemoryRouter},NavLink:function(){return Ie},Navigate:function(){return i.Navigate},NavigationType:function(){return E.aU},Outlet:function(){return i.Outlet},Route:function(){return i.Route},Router:function(){return i.Router},RouterProvider:function(){return Ae},Routes:function(){return i.Routes},ScrollRestoration:function(){return Ke},UNSAFE_DataRouterContext:function(){return i.UNSAFE_DataRouterContext},UNSAFE_DataRouterStateContext:function(){return i.UNSAFE_DataRouterStateContext},UNSAFE_FetchersContext:function(){return Y},UNSAFE_LocationContext:function(){return i.UNSAFE_LocationContext},UNSAFE_NavigationContext:function(){return i.UNSAFE_NavigationContext},UNSAFE_RouteContext:function(){return i.UNSAFE_RouteContext},UNSAFE_ViewTransitionContext:function(){return Z},UNSAFE_useRouteId:function(){return i.UNSAFE_useRouteId},UNSAFE_useScrollRestoration:function(){return le},createBrowserRouter:function(){return be},createHashRouter:function(){return Ce},createMemoryRouter:function(){return i.createMemoryRouter},createPath:function(){return E.Ep},createRoutesFromChildren:function(){return i.createRoutesFromChildren},createRoutesFromElements:function(){return i.createRoutesFromElements},createSearchParams:function(){return K},defer:function(){return E.PQ},generatePath:function(){return E.Gn},isRouteErrorResponse:function(){return E.WK},json:function(){return E.AV},matchPath:function(){return E.LX},matchRoutes:function(){return E.fp},parsePath:function(){return E.cP},redirect:function(){return E.uX},redirectDocument:function(){return E.fZ},renderMatches:function(){return i.renderMatches},resolvePath:function(){return E.i3},unstable_HistoryRouter:function(){return Oe},unstable_usePrompt:function(){return ze},unstable_useViewTransitionState:function(){return ce},useActionData:function(){return i.useActionData},useAsyncError:function(){return i.useAsyncError},useAsyncValue:function(){return i.useAsyncValue},useBeforeUnload:function(){return Xe},useBlocker:function(){return i.useBlocker},useFetcher:function(){return Ve},useFetchers:function(){return Je},useFormAction:function(){return ue},useHref:function(){return i.useHref},useInRouterContext:function(){return i.useInRouterContext},useLinkClickHandler:function(){return ae},useLoaderData:function(){return i.useLoaderData},useLocation:function(){return i.useLocation},useMatch:function(){return i.useMatch},useMatches:function(){return i.useMatches},useNavigate:function(){return i.useNavigate},useNavigation:function(){return i.useNavigation},useNavigationType:function(){return i.useNavigationType},useOutlet:function(){return i.useOutlet},useOutletContext:function(){return i.useOutletContext},useParams:function(){return i.useParams},useResolvedPath:function(){return i.useResolvedPath},useRevalidator:function(){return i.useRevalidator},useRouteError:function(){return i.useRouteError},useRouteLoaderData:function(){return i.useRouteLoaderData},useRoutes:function(){return i.useRoutes},useSearchParams:function(){return Be},useSubmit:function(){return Q}});var a=F(67294),fe=F(73935),i=F(89250),E=F(44536),v=F(12599);function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_.apply(this,arguments)}function X(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,s;for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}const k="get",j="application/x-www-form-urlencoded";function I(e){return e!=null&&typeof e.tagName=="string"}function de(e){return I(e)&&e.tagName.toLowerCase()==="button"}function me(e){return I(e)&&e.tagName.toLowerCase()==="form"}function he(e){return I(e)&&e.tagName.toLowerCase()==="input"}function ve(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pe(e,t){return e.button===0&&(!t||t==="_self")&&!ve(e)}function K(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map(r=>[n,r]):[[n,o]])},[]))}function Se(e,t){let n=K(e);return t&&t.forEach((o,r)=>{n.has(r)||t.getAll(r).forEach(s=>{n.append(r,s)})}),n}let B=null;function Re(){if(B===null)try{new FormData(document.createElement("form"),0),B=!1}catch{B=!0}return B}const we=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function z(e){return e!=null&&!we.has(e)?null:e}function ye(e,t){let n,o,r,s,u;if(me(e)){let c=e.getAttribute("action");o=c?(0,v.Zn)(c,t):null,n=e.getAttribute("method")||k,r=z(e.getAttribute("enctype"))||j,s=new FormData(e)}else if(de(e)||he(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||c.getAttribute("action");if(o=l?(0,v.Zn)(l,t):null,n=e.getAttribute("formmethod")||c.getAttribute("method")||k,r=z(e.getAttribute("formenctype"))||z(c.getAttribute("enctype"))||j,s=new FormData(c,e),!Re()){let{name:f,type:d,value:m}=e;if(d==="image"){let h=f?f+".":"";s.append(h+"x","0"),s.append(h+"y","0")}else f&&s.append(f,m)}}else{if(I(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=k,o=null,r=j,u=e}return s&&r==="text/plain"&&(u=s,s=void 0),{action:o,method:n.toLowerCase(),encType:r,formData:s,body:u}}const Ee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ge=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],_e=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"];function be(e,t){return(0,v.p7)({basename:t==null?void 0:t.basename,future:_({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:(0,v.lX)({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||te(),routes:e,mapRouteProperties:i.UNSAFE_mapRouteProperties,window:t==null?void 0:t.window}).initialize()}function Ce(e,t){return(0,v.p7)({basename:t==null?void 0:t.basename,future:_({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:(0,v.q_)({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||te(),routes:e,mapRouteProperties:i.UNSAFE_mapRouteProperties,window:t==null?void 0:t.window}).initialize()}function te(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=_({},t,{errors:Le(t.errors)})),t}function Le(e){if(!e)return null;let t=Object.entries(e),n={};for(let[o,r]of t)if(r&&r.__type==="RouteErrorResponse")n[o]=new v.OF(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type==="Error"){if(r.__subType){let s=window[r.__subType];if(typeof s=="function")try{let u=new s(r.message);u.stack="",n[o]=u}catch{}}if(n[o]==null){let s=new Error(r.message);s.stack="",n[o]=s}}else n[o]=r;return n}const Z=a.createContext({isTransitioning:!1}),Y=a.createContext(new Map),Te="startTransition",A=(q||(q=F.t(a,2)))[Te],xe="flushSync",ne=(ee||(ee=F.t(fe,2)))[xe];function Fe(e){A?A(e):e()}function O(e){ne?ne(e):e()}class Pe{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=o=>{this.status==="pending"&&(this.status="resolved",t(o))},this.reject=o=>{this.status==="pending"&&(this.status="rejected",n(o))}})}}function Ae(e){let{fallbackElement:t,router:n,future:o}=e,[r,s]=a.useState(n.state),[u,c]=a.useState(),[l,f]=a.useState({isTransitioning:!1}),[d,m]=a.useState(),[h,g]=a.useState(),[y,C]=a.useState(),L=a.useRef(new Map),{v7_startTransition:R}=o||{},p=a.useCallback(w=>{R?Fe(w):w()},[R]),S=a.useCallback((w,P)=>{let{deletedFetchers:b,unstable_flushSync:J,unstable_viewTransitionOpts:N}=P;b.forEach(U=>L.current.delete(U)),w.fetchers.forEach((U,Ye)=>{U.data!==void 0&&L.current.set(Ye,U.data)});let Ze=n.window==null||typeof n.window.document.startViewTransition!="function";if(!N||Ze){J?O(()=>s(w)):p(()=>s(w));return}if(J){O(()=>{h&&(d&&d.resolve(),h.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:N.currentLocation,nextLocation:N.nextLocation})});let U=n.window.document.startViewTransition(()=>{O(()=>s(w))});U.finished.finally(()=>{O(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})})}),O(()=>g(U));return}h?(d&&d.resolve(),h.skipTransition(),C({state:w,currentLocation:N.currentLocation,nextLocation:N.nextLocation})):(c(w),f({isTransitioning:!0,flushSync:!1,currentLocation:N.currentLocation,nextLocation:N.nextLocation}))},[n.window,h,d,L,p]);a.useLayoutEffect(()=>n.subscribe(S),[n,S]),a.useEffect(()=>{l.isTransitioning&&!l.flushSync&&m(new Pe)},[l]),a.useEffect(()=>{if(d&&u&&n.window){let w=u,P=d.promise,b=n.window.document.startViewTransition(async()=>{p(()=>s(w)),await P});b.finished.finally(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})}),g(b)}},[p,u,d,n.window]),a.useEffect(()=>{d&&u&&r.location.key===u.location.key&&d.resolve()},[d,h,r.location,u]),a.useEffect(()=>{!l.isTransitioning&&y&&(c(y.state),f({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),C(void 0))},[l.isTransitioning,y]),a.useEffect(()=>{},[]);let T=a.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,P,b)=>n.navigate(w,{state:P,preventScrollReset:b==null?void 0:b.preventScrollReset}),replace:(w,P,b)=>n.navigate(w,{replace:!0,state:P,preventScrollReset:b==null?void 0:b.preventScrollReset})}),[n]),x=n.basename||"/",V=a.useMemo(()=>({router:n,navigator:T,static:!1,basename:x}),[n,T,x]);return a.createElement(a.Fragment,null,a.createElement(i.UNSAFE_DataRouterContext.Provider,{value:V},a.createElement(i.UNSAFE_DataRouterStateContext.Provider,{value:r},a.createElement(Y.Provider,{value:L.current},a.createElement(Z.Provider,{value:l},a.createElement(i.Router,{basename:x,location:r.location,navigationType:r.historyAction,navigator:T,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},r.initialized||n.future.v7_partialHydration?a.createElement(Ne,{routes:n.routes,future:n.future,state:r}):t))))),null)}function Ne(e){let{routes:t,future:n,state:o}=e;return(0,i.UNSAFE_useRoutesImpl)(t,void 0,o,n)}function Ue(e){let{basename:t,children:n,future:o,window:r}=e,s=a.useRef();s.current==null&&(s.current=(0,v.lX)({window:r,v5Compat:!0}));let u=s.current,[c,l]=a.useState({action:u.action,location:u.location}),{v7_startTransition:f}=o||{},d=a.useCallback(m=>{f&&A?A(()=>l(m)):l(m)},[l,f]);return a.useLayoutEffect(()=>u.listen(d),[u,d]),a.createElement(i.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,future:o})}function De(e){let{basename:t,children:n,future:o,window:r}=e,s=a.useRef();s.current==null&&(s.current=(0,v.q_)({window:r,v5Compat:!0}));let u=s.current,[c,l]=a.useState({action:u.action,location:u.location}),{v7_startTransition:f}=o||{},d=a.useCallback(m=>{f&&A?A(()=>l(m)):l(m)},[l,f]);return a.useLayoutEffect(()=>u.listen(d),[u,d]),a.createElement(i.Router,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,future:o})}function Oe(e){let{basename:t,children:n,future:o,history:r}=e,[s,u]=a.useState({action:r.action,location:r.location}),{v7_startTransition:c}=o||{},l=a.useCallback(f=>{c&&A?A(()=>u(f)):u(f)},[u,c]);return a.useLayoutEffect(()=>r.listen(l),[r,l]),a.createElement(i.Router,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:r,future:o})}const Me=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ke=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,re=a.forwardRef(function(t,n){let{onClick:o,relative:r,reloadDocument:s,replace:u,state:c,target:l,to:f,preventScrollReset:d,unstable_viewTransition:m}=t,h=X(t,Ee),{basename:g}=a.useContext(i.UNSAFE_NavigationContext),y,C=!1;if(typeof f=="string"&&ke.test(f)&&(y=f,Me))try{let S=new URL(window.location.href),T=f.startsWith("//")?new URL(S.protocol+f):new URL(f),x=(0,v.Zn)(T.pathname,g);T.origin===S.origin&&x!=null?f=x+T.search+T.hash:C=!0}catch{}let L=(0,i.useHref)(f,{relative:r}),R=ae(f,{replace:u,state:c,target:l,preventScrollReset:d,relative:r,unstable_viewTransition:m});function p(S){o&&o(S),S.defaultPrevented||R(S)}return a.createElement("a",_({},h,{href:y||L,onClick:C||s?o:p,ref:n,target:l}))}),Ie=a.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:r=!1,className:s="",end:u=!1,style:c,to:l,unstable_viewTransition:f,children:d}=t,m=X(t,ge),h=(0,i.useResolvedPath)(l,{relative:m.relative}),g=(0,i.useLocation)(),y=a.useContext(i.UNSAFE_DataRouterStateContext),{navigator:C}=a.useContext(i.UNSAFE_NavigationContext),L=y!=null&&ce(h)&&f===!0,R=C.encodeLocation?C.encodeLocation(h).pathname:h.pathname,p=g.pathname,S=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;r||(p=p.toLowerCase(),S=S?S.toLowerCase():null,R=R.toLowerCase());const T=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let x=p===R||!u&&p.startsWith(R)&&p.charAt(T)==="/",V=S!=null&&(S===R||!u&&S.startsWith(R)&&S.charAt(R.length)==="/"),w={isActive:x,isPending:V,isTransitioning:L},P=x?o:void 0,b;typeof s=="function"?b=s(w):b=[s,x?"active":null,V?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let J=typeof c=="function"?c(w):c;return a.createElement(re,_({},m,{"aria-current":P,className:b,ref:n,style:J,to:l,unstable_viewTransition:f}),typeof d=="function"?d(w):d)}),oe=a.forwardRef((e,t)=>{let{fetcherKey:n,navigate:o,reloadDocument:r,replace:s,state:u,method:c=k,action:l,onSubmit:f,relative:d,preventScrollReset:m,unstable_viewTransition:h}=e,g=X(e,_e),y=Q(),C=ue(l,{relative:d}),L=c.toLowerCase()==="get"?"get":"post",R=p=>{if(f&&f(p),p.defaultPrevented)return;p.preventDefault();let S=p.nativeEvent.submitter,T=(S==null?void 0:S.getAttribute("formmethod"))||c;y(S||p.currentTarget,{fetcherKey:n,method:T,navigate:o,replace:s,state:u,relative:d,preventScrollReset:m,unstable_viewTransition:h})};return a.createElement("form",_({ref:t,method:L,action:C,onSubmit:r?f:R},g))});function Ke(e){let{getKey:t,storageKey:n}=e;return le({getKey:t,storageKey:n}),null}var D;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(D||(D={}));var M;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(M||(M={}));function Qe(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function W(e){let t=a.useContext(i.UNSAFE_DataRouterContext);return t||(0,v.J0)(!1),t}function G(e){let t=a.useContext(i.UNSAFE_DataRouterStateContext);return t||(0,v.J0)(!1),t}function ae(e,t){let{target:n,replace:o,state:r,preventScrollReset:s,relative:u,unstable_viewTransition:c}=t===void 0?{}:t,l=(0,i.useNavigate)(),f=(0,i.useLocation)(),d=(0,i.useResolvedPath)(e,{relative:u});return a.useCallback(m=>{if(pe(m,n)){m.preventDefault();let h=o!==void 0?o:(0,E.Ep)(f)===(0,E.Ep)(d);l(e,{replace:h,state:r,preventScrollReset:s,relative:u,unstable_viewTransition:c})}},[f,l,d,o,r,n,e,s,u,c])}function Be(e){let t=a.useRef(K(e)),n=a.useRef(!1),o=(0,i.useLocation)(),r=a.useMemo(()=>Se(o.search,n.current?null:t.current),[o.search]),s=(0,i.useNavigate)(),u=a.useCallback((c,l)=>{const f=K(typeof c=="function"?c(r):c);n.current=!0,s("?"+f,l)},[s,r]);return[r,u]}function We(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let He=0,ie=()=>"__"+String(++He)+"__";function Q(){let{router:e}=W(D.UseSubmit),{basename:t}=a.useContext(i.UNSAFE_NavigationContext),n=(0,i.UNSAFE_useRouteId)();return a.useCallback(function(o,r){r===void 0&&(r={}),We();let{action:s,method:u,encType:c,formData:l,body:f}=ye(o,t);if(r.navigate===!1){let d=r.fetcherKey||ie();e.fetch(d,n,r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:f,formMethod:r.method||u,formEncType:r.encType||c,unstable_flushSync:r.unstable_flushSync})}else e.navigate(r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:f,formMethod:r.method||u,formEncType:r.encType||c,replace:r.replace,state:r.state,fromRouteId:n,unstable_flushSync:r.unstable_flushSync,unstable_viewTransition:r.unstable_viewTransition})},[e,t,n])}function ue(e,t){let{relative:n}=t===void 0?{}:t,{basename:o}=a.useContext(i.UNSAFE_NavigationContext),r=a.useContext(i.UNSAFE_RouteContext);r||(0,v.J0)(!1);let[s]=r.matches.slice(-1),u=_({},(0,i.useResolvedPath)(e||".",{relative:n})),c=(0,i.useLocation)();if(e==null){u.search=c.search;let l=new URLSearchParams(u.search);l.has("index")&&l.get("index")===""&&(l.delete("index"),u.search=l.toString()?"?"+l.toString():"")}return(!e||e===".")&&s.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(u.pathname=u.pathname==="/"?o:(0,v.RQ)([o,u.pathname])),(0,E.Ep)(u)}function Ve(e){var t;let{key:n}=e===void 0?{}:e,{router:o}=W(D.UseFetcher),r=G(M.UseFetcher),s=a.useContext(Y),u=a.useContext(i.UNSAFE_RouteContext),c=(t=u.matches[u.matches.length-1])==null?void 0:t.route.id;s||(0,v.J0)(!1),u||(0,v.J0)(!1),c==null&&(0,v.J0)(!1);let[l,f]=a.useState(n||"");n&&n!==l?f(n):l||f(ie()),a.useEffect(()=>(o.getFetcher(l),()=>{o.deleteFetcher(l)}),[o,l]);let d=a.useCallback((R,p)=>{c||(0,v.J0)(!1),o.fetch(l,c,R,p)},[l,c,o]),m=Q(),h=a.useCallback((R,p)=>{m(R,_({},p,{navigate:!1,fetcherKey:l}))},[l,m]),g=a.useMemo(()=>a.forwardRef((p,S)=>a.createElement(oe,_({},p,{navigate:!1,fetcherKey:l,ref:S}))),[l]),y=r.fetchers.get(l)||v.ov,C=s.get(l);return a.useMemo(()=>_({Form:g,submit:h,load:d},y,{data:C}),[g,h,d,y,C])}function Je(){let e=G(M.UseFetchers);return Array.from(e.fetchers.entries()).map(t=>{let[n,o]=t;return _({},o,{key:n})})}const se="react-router-scroll-positions";let H={};function le(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:o}=W(D.UseScrollRestoration),{restoreScrollPosition:r,preventScrollReset:s}=G(M.UseScrollRestoration),{basename:u}=a.useContext(i.UNSAFE_NavigationContext),c=(0,i.useLocation)(),l=(0,i.useMatches)(),f=(0,i.useNavigation)();a.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),je(a.useCallback(()=>{if(f.state==="idle"){let d=(t?t(c,l):null)||c.key;H[d]=window.scrollY}try{sessionStorage.setItem(n||se,JSON.stringify(H))}catch{}window.history.scrollRestoration="auto"},[n,t,f.state,c,l])),typeof document<"u"&&(a.useLayoutEffect(()=>{try{let d=sessionStorage.getItem(n||se);d&&(H=JSON.parse(d))}catch{}},[n]),a.useLayoutEffect(()=>{let d=t&&u!=="/"?(h,g)=>t(_({},h,{pathname:(0,v.Zn)(h.pathname,u)||h.pathname}),g):t,m=o==null?void 0:o.enableScrollRestoration(H,()=>window.scrollY,d);return()=>m&&m()},[o,u,t]),a.useLayoutEffect(()=>{if(r!==!1){if(typeof r=="number"){window.scrollTo(0,r);return}if(c.hash){let d=document.getElementById(decodeURIComponent(c.hash.slice(1)));if(d){d.scrollIntoView();return}}s!==!0&&window.scrollTo(0,0)}},[c,r,s]))}function Xe(e,t){let{capture:n}=t||{};a.useEffect(()=>{let o=n!=null?{capture:n}:void 0;return window.addEventListener("beforeunload",e,o),()=>{window.removeEventListener("beforeunload",e,o)}},[e,n])}function je(e,t){let{capture:n}=t||{};a.useEffect(()=>{let o=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,o),()=>{window.removeEventListener("pagehide",e,o)}},[e,n])}function ze(e){let{when:t,message:n}=e,o=(0,i.useBlocker)(t);a.useEffect(()=>{o.state==="blocked"&&(window.confirm(n)?setTimeout(o.proceed,0):o.reset())},[o,n]),a.useEffect(()=>{o.state==="blocked"&&!t&&o.reset()},[o,t])}function ce(e,t){t===void 0&&(t={});let n=a.useContext(Z);n==null&&(0,v.J0)(!1);let{basename:o}=W(D.useViewTransitionState),r=(0,i.useResolvedPath)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=(0,v.Zn)(n.currentLocation.pathname,o)||n.currentLocation.pathname,u=(0,v.Zn)(n.nextLocation.pathname,o)||n.nextLocation.pathname;return(0,v.LX)(r.pathname,u)!=null||(0,v.LX)(r.pathname,s)!=null}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2619],{20074:function(C,W,l){C.exports=l(56753)},56753:function(C,W,l){"use strict";var E=l(88212),v=Object.keys||function(k){var O=[];for(var S in k)O.push(S);return O};C.exports=w;var B=Object.create(l(16497));B.inherits=l(35717);var y=l(79481),h=l(64229);B.inherits(w,y);for(var c=v(h.prototype),o=0;o<c.length;o++){var u=c[o];w.prototype[u]||(w.prototype[u]=h.prototype[u])}function w(k){if(!(this instanceof w))return new w(k);y.call(this,k),h.call(this,k),k&&k.readable===!1&&(this.readable=!1),k&&k.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,k&&k.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",T)}Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function T(){this.allowHalfOpen||this._writableState.ended||E.nextTick(N,this)}function N(k){k.end()}Object.defineProperty(w.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(k){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=k,this._writableState.destroyed=k)}}),w.prototype._destroy=function(k,O){this.push(null),this.end(),E.nextTick(O,k)}},82725:function(C,W,l){"use strict";C.exports=B;var E=l(74605),v=Object.create(l(16497));v.inherits=l(35717),v.inherits(B,E);function B(y){if(!(this instanceof B))return new B(y);E.call(this,y)}B.prototype._transform=function(y,h,c){c(null,y)}},79481:function(C,W,l){"use strict";var E=l(34155),v=l(88212);C.exports=b;var B=l(75309),y;b.ReadableState=x;var h=l(17187).EventEmitter,c=function(e,t){return e.listeners(t).length},o=l(22503),u=l(33545).Buffer,w=(typeof l.g<"u"?l.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function T(e){return u.from(e)}function N(e){return u.isBuffer(e)||e instanceof w}var k=Object.create(l(16497));k.inherits=l(35717);var O=l(94616),S=void 0;O&&O.debuglog?S=O.debuglog("stream"):S=function(){};var G=l(25057),P=l(61195),L;k.inherits(b,o);var n=["error","close","destroy","pause","resume"];function d(e,t,a){if(typeof e.prependListener=="function")return e.prependListener(t,a);!e._events||!e._events[t]?e.on(t,a):B(e._events[t])?e._events[t].unshift(a):e._events[t]=[a,e._events[t]]}function x(e,t){y=y||l(56753),e=e||{};var a=t instanceof y;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,R=e.readableHighWaterMark,g=this.objectMode?16:16*1024;s||s===0?this.highWaterMark=s:a&&(R||R===0)?this.highWaterMark=R:this.highWaterMark=g,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new G,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(L||(L=l(94626).s),this.decoder=new L(e.encoding),this.encoding=e.encoding)}function b(e){if(y=y||l(56753),!(this instanceof b))return new b(e);this._readableState=new x(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),o.call(this)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=P.destroy,b.prototype._undestroy=P.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var a=this._readableState,s;return a.objectMode?s=!0:typeof e=="string"&&(t=t||a.defaultEncoding,t!==a.encoding&&(e=u.from(e,t),t=""),s=!0),D(this,e,t,!1,s)},b.prototype.unshift=function(e){return D(this,e,null,!0,!1)};function D(e,t,a,s,R){var g=e._readableState;if(t===null)g.reading=!1,$(e,g);else{var m;R||(m=te(g,t)),m?e.emit("error",m):g.objectMode||t&&t.length>0?(typeof t!="string"&&!g.objectMode&&Object.getPrototypeOf(t)!==u.prototype&&(t=T(t)),s?g.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):F(e,g,t,!0):g.ended?e.emit("error",new Error("stream.push() after EOF")):(g.reading=!1,g.decoder&&!a?(t=g.decoder.write(t),g.objectMode||t.length!==0?F(e,g,t,!1):q(e,g)):F(e,g,t,!1))):s||(g.reading=!1)}return re(g)}function F(e,t,a,s){t.flowing&&t.length===0&&!t.sync?(e.emit("data",a),e.read(0)):(t.length+=t.objectMode?1:a.length,s?t.buffer.unshift(a):t.buffer.push(a),t.needReadable&&H(e)),q(e,t)}function te(e,t){var a;return!N(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a}function re(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}b.prototype.isPaused=function(){return this._readableState.flowing===!1},b.prototype.setEncoding=function(e){return L||(L=l(94626).s),this._readableState.decoder=new L(e),this._readableState.encoding=e,this};var V=8388608;function Y(e){return e>=V?e=V:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Z(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=Y(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}b.prototype.read=function(e){S("read",e),e=parseInt(e,10);var t=this._readableState,a=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return S("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?A(this):H(this),null;if(e=Z(e,t),e===0&&t.ended)return t.length===0&&A(this),null;var s=t.needReadable;S("need readable",s),(t.length===0||t.length-e<t.highWaterMark)&&(s=!0,S("length less than watermark",s)),t.ended||t.reading?(s=!1,S("reading or ended",s)):s&&(S("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Z(a,t)));var R;return e>0?R=p(e,t):R=null,R===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),a!==e&&t.ended&&A(this)),R!==null&&this.emit("data",R),R};function $(e,t){if(!t.ended){if(t.decoder){var a=t.decoder.end();a&&a.length&&(t.buffer.push(a),t.length+=t.objectMode?1:a.length)}t.ended=!0,H(e)}}function H(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(S("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?v.nextTick(z,e):z(e))}function z(e){S("emit readable"),e.emit("readable"),f(e)}function q(e,t){t.readingMore||(t.readingMore=!0,v.nextTick(I,e,t))}function I(e,t){for(var a=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(S("maybeReadMore read 0"),e.read(0),a!==t.length);)a=t.length;t.readingMore=!1}b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var a=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e);break}s.pipesCount+=1,S("pipe count=%d opts=%j",s.pipesCount,t);var R=(!t||t.end!==!1)&&e!==E.stdout&&e!==E.stderr,g=R?ee:J;s.endEmitted?v.nextTick(g):a.once("end",g),e.on("unpipe",m);function m(X,Q){S("onunpipe"),X===a&&Q&&Q.hasUnpiped===!1&&(Q.hasUnpiped=!0,he())}function ee(){S("onend"),e.end()}var ae=ie(a);e.on("drain",ae);var ue=!1;function he(){S("cleanup"),e.removeListener("close",se),e.removeListener("finish",oe),e.removeListener("drain",ae),e.removeListener("error",le),e.removeListener("unpipe",m),a.removeListener("end",ee),a.removeListener("end",J),a.removeListener("data",de),ue=!0,s.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&ae()}var fe=!1;a.on("data",de);function de(X){S("ondata"),fe=!1;var Q=e.write(X);Q===!1&&!fe&&((s.pipesCount===1&&s.pipes===e||s.pipesCount>1&&K(s.pipes,e)!==-1)&&!ue&&(S("false write response, pause",s.awaitDrain),s.awaitDrain++,fe=!0),a.pause())}function le(X){S("onerror",X),J(),e.removeListener("error",le),c(e,"error")===0&&e.emit("error",X)}d(e,"error",le);function se(){e.removeListener("finish",oe),J()}e.once("close",se);function oe(){S("onfinish"),e.removeListener("close",se),J()}e.once("finish",oe);function J(){S("unpipe"),a.unpipe(e)}return e.emit("pipe",a),s.flowing||(S("pipe resume"),a.resume()),e};function ie(e){return function(){var t=e._readableState;S("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&c(e,"data")&&(t.flowing=!0,f(e))}}b.prototype.unpipe=function(e){var t=this._readableState,a={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,a),this);if(!e){var s=t.pipes,R=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var g=0;g<R;g++)s[g].emit("unpipe",this,{hasUnpiped:!1});return this}var m=K(t.pipes,e);return m===-1?this:(t.pipes.splice(m,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,a),this)},b.prototype.on=function(e,t){var a=o.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var s=this._readableState;!s.endEmitted&&!s.readableListening&&(s.readableListening=s.needReadable=!0,s.emittedReadable=!1,s.reading?s.length&&H(this):v.nextTick(ne,this))}return a},b.prototype.addListener=b.prototype.on;function ne(e){S("readable nexttick read 0"),e.read(0)}b.prototype.resume=function(){var e=this._readableState;return e.flowing||(S("resume"),e.flowing=!0,r(this,e)),this};function r(e,t){t.resumeScheduled||(t.resumeScheduled=!0,v.nextTick(i,e,t))}function i(e,t){t.reading||(S("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),f(e),t.flowing&&!t.reading&&e.read(0)}b.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function f(e){var t=e._readableState;for(S("flow",t.flowing);t.flowing&&e.read()!==null;);}b.prototype.wrap=function(e){var t=this,a=this._readableState,s=!1;e.on("end",function(){if(S("wrapped end"),a.decoder&&!a.ended){var m=a.decoder.end();m&&m.length&&t.push(m)}t.push(null)}),e.on("data",function(m){if(S("wrapped data"),a.decoder&&(m=a.decoder.write(m)),!(a.objectMode&&m==null)&&!(!a.objectMode&&(!m||!m.length))){var ee=t.push(m);ee||(s=!0,e.pause())}});for(var R in e)this[R]===void 0&&typeof e[R]=="function"&&(this[R]=function(m){return function(){return e[m].apply(e,arguments)}}(R));for(var g=0;g<n.length;g++)e.on(n[g],this.emit.bind(this,n[g]));return this._read=function(m){S("wrapped _read",m),s&&(s=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=p;function p(e,t){if(t.length===0)return null;var a;return t.objectMode?a=t.buffer.shift():!e||e>=t.length?(t.decoder?a=t.buffer.join(""):t.buffer.length===1?a=t.buffer.head.data:a=t.buffer.concat(t.length),t.buffer.clear()):a=M(e,t.buffer,t.decoder),a}function M(e,t,a){var s;return e<t.head.data.length?(s=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?s=t.shift():s=a?j(e,t):U(e,t),s}function j(e,t){var a=t.head,s=1,R=a.data;for(e-=R.length;a=a.next;){var g=a.data,m=e>g.length?g.length:e;if(m===g.length?R+=g:R+=g.slice(0,e),e-=m,e===0){m===g.length?(++s,a.next?t.head=a.next:t.head=t.tail=null):(t.head=a,a.data=g.slice(m));break}++s}return t.length-=s,R}function U(e,t){var a=u.allocUnsafe(e),s=t.head,R=1;for(s.data.copy(a),e-=s.data.length;s=s.next;){var g=s.data,m=e>g.length?g.length:e;if(g.copy(a,a.length-e,0,m),e-=m,e===0){m===g.length?(++R,s.next?t.head=s.next:t.head=t.tail=null):(t.head=s,s.data=g.slice(m));break}++R}return t.length-=R,a}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,v.nextTick(_,t,e))}function _(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function K(e,t){for(var a=0,s=e.length;a<s;a++)if(e[a]===t)return a;return-1}},74605:function(C,W,l){"use strict";C.exports=y;var E=l(56753),v=Object.create(l(16497));v.inherits=l(35717),v.inherits(y,E);function B(o,u){var w=this._transformState;w.transforming=!1;var T=w.writecb;if(!T)return this.emit("error",new Error("write callback called multiple times"));w.writechunk=null,w.writecb=null,u!=null&&this.push(u),T(o);var N=this._readableState;N.reading=!1,(N.needReadable||N.length<N.highWaterMark)&&this._read(N.highWaterMark)}function y(o){if(!(this instanceof y))return new y(o);E.call(this,o),this._transformState={afterTransform:B.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,o&&(typeof o.transform=="function"&&(this._transform=o.transform),typeof o.flush=="function"&&(this._flush=o.flush)),this.on("prefinish",h)}function h(){var o=this;typeof this._flush=="function"?this._flush(function(u,w){c(o,u,w)}):c(this,null,null)}y.prototype.push=function(o,u){return this._transformState.needTransform=!1,E.prototype.push.call(this,o,u)},y.prototype._transform=function(o,u,w){throw new Error("_transform() is not implemented")},y.prototype._write=function(o,u,w){var T=this._transformState;if(T.writecb=w,T.writechunk=o,T.writeencoding=u,!T.transforming){var N=this._readableState;(T.needTransform||N.needReadable||N.length<N.highWaterMark)&&this._read(N.highWaterMark)}},y.prototype._read=function(o){var u=this._transformState;u.writechunk!==null&&u.writecb&&!u.transforming?(u.transforming=!0,this._transform(u.writechunk,u.writeencoding,u.afterTransform)):u.needTransform=!0},y.prototype._destroy=function(o,u){var w=this;E.prototype._destroy.call(this,o,function(T){u(T),w.emit("close")})};function c(o,u,w){if(u)return o.emit("error",u);if(w!=null&&o.push(w),o._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(o._transformState.transforming)throw new Error("Calling transform done when still transforming");return o.push(null)}},64229:function(C,W,l){"use strict";var E=l(34155),v=l(88212);C.exports=n;function B(r,i,f){this.chunk=r,this.encoding=i,this.callback=f,this.next=null}function y(r){var i=this;this.next=null,this.entry=null,this.finish=function(){ne(i,r)}}var h=!E.browser&&["v0.10","v0.9."].indexOf(E.version.slice(0,5))>-1?setImmediate:v.nextTick,c;n.WritableState=P;var o=Object.create(l(16497));o.inherits=l(35717);var u={deprecate:l(94927)},w=l(22503),T=l(33545).Buffer,N=(typeof l.g<"u"?l.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function k(r){return T.from(r)}function O(r){return T.isBuffer(r)||r instanceof N}var S=l(61195);o.inherits(n,w);function G(){}function P(r,i){c=c||l(56753),r=r||{};var f=i instanceof c;this.objectMode=!!r.objectMode,f&&(this.objectMode=this.objectMode||!!r.writableObjectMode);var p=r.highWaterMark,M=r.writableHighWaterMark,j=this.objectMode?16:16*1024;p||p===0?this.highWaterMark=p:f&&(M||M===0)?this.highWaterMark=M:this.highWaterMark=j,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var U=r.decodeStrings===!1;this.decodeStrings=!U,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(A){V(i,A)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new y(this)}P.prototype.getBuffer=function(){for(var i=this.bufferedRequest,f=[];i;)f.push(i),i=i.next;return f},function(){try{Object.defineProperty(P.prototype,"buffer",{get:u.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var L;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(L=Function.prototype[Symbol.hasInstance],Object.defineProperty(n,Symbol.hasInstance,{value:function(r){return L.call(this,r)?!0:this!==n?!1:r&&r._writableState instanceof P}})):L=function(r){return r instanceof this};function n(r){if(c=c||l(56753),!L.call(n,this)&&!(this instanceof c))return new n(r);this._writableState=new P(r,this),this.writable=!0,r&&(typeof r.write=="function"&&(this._write=r.write),typeof r.writev=="function"&&(this._writev=r.writev),typeof r.destroy=="function"&&(this._destroy=r.destroy),typeof r.final=="function"&&(this._final=r.final)),w.call(this)}n.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function d(r,i){var f=new Error("write after end");r.emit("error",f),v.nextTick(i,f)}function x(r,i,f,p){var M=!0,j=!1;return f===null?j=new TypeError("May not write null values to stream"):typeof f!="string"&&f!==void 0&&!i.objectMode&&(j=new TypeError("Invalid non-string/buffer chunk")),j&&(r.emit("error",j),v.nextTick(p,j),M=!1),M}n.prototype.write=function(r,i,f){var p=this._writableState,M=!1,j=!p.objectMode&&O(r);return j&&!T.isBuffer(r)&&(r=k(r)),typeof i=="function"&&(f=i,i=null),j?i="buffer":i||(i=p.defaultEncoding),typeof f!="function"&&(f=G),p.ended?d(this,f):(j||x(this,p,r,f))&&(p.pendingcb++,M=D(this,p,j,r,i,f)),M},n.prototype.cork=function(){var r=this._writableState;r.corked++},n.prototype.uncork=function(){var r=this._writableState;r.corked&&(r.corked--,!r.writing&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&$(this,r))},n.prototype.setDefaultEncoding=function(i){if(typeof i=="string"&&(i=i.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+i);return this._writableState.defaultEncoding=i,this};function b(r,i,f){return!r.objectMode&&r.decodeStrings!==!1&&typeof i=="string"&&(i=T.from(i,f)),i}Object.defineProperty(n.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function D(r,i,f,p,M,j){if(!f){var U=b(i,p,M);p!==U&&(f=!0,M="buffer",p=U)}var A=i.objectMode?1:p.length;i.length+=A;var _=i.length<i.highWaterMark;if(_||(i.needDrain=!0),i.writing||i.corked){var K=i.lastBufferedRequest;i.lastBufferedRequest={chunk:p,encoding:M,isBuf:f,callback:j,next:null},K?K.next=i.lastBufferedRequest:i.bufferedRequest=i.lastBufferedRequest,i.bufferedRequestCount+=1}else F(r,i,!1,A,p,M,j);return _}function F(r,i,f,p,M,j,U){i.writelen=p,i.writecb=U,i.writing=!0,i.sync=!0,f?r._writev(M,i.onwrite):r._write(M,j,i.onwrite),i.sync=!1}function te(r,i,f,p,M){--i.pendingcb,f?(v.nextTick(M,p),v.nextTick(I,r,i),r._writableState.errorEmitted=!0,r.emit("error",p)):(M(p),r._writableState.errorEmitted=!0,r.emit("error",p),I(r,i))}function re(r){r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0}function V(r,i){var f=r._writableState,p=f.sync,M=f.writecb;if(re(f),i)te(r,f,p,i,M);else{var j=H(f);!j&&!f.corked&&!f.bufferProcessing&&f.bufferedRequest&&$(r,f),p?h(Y,r,f,j,M):Y(r,f,j,M)}}function Y(r,i,f,p){f||Z(r,i),i.pendingcb--,p(),I(r,i)}function Z(r,i){i.length===0&&i.needDrain&&(i.needDrain=!1,r.emit("drain"))}function $(r,i){i.bufferProcessing=!0;var f=i.bufferedRequest;if(r._writev&&f&&f.next){var p=i.bufferedRequestCount,M=new Array(p),j=i.corkedRequestsFree;j.entry=f;for(var U=0,A=!0;f;)M[U]=f,f.isBuf||(A=!1),f=f.next,U+=1;M.allBuffers=A,F(r,i,!0,i.length,M,"",j.finish),i.pendingcb++,i.lastBufferedRequest=null,j.next?(i.corkedRequestsFree=j.next,j.next=null):i.corkedRequestsFree=new y(i),i.bufferedRequestCount=0}else{for(;f;){var _=f.chunk,K=f.encoding,e=f.callback,t=i.objectMode?1:_.length;if(F(r,i,!1,t,_,K,e),f=f.next,i.bufferedRequestCount--,i.writing)break}f===null&&(i.lastBufferedRequest=null)}i.bufferedRequest=f,i.bufferProcessing=!1}n.prototype._write=function(r,i,f){f(new Error("_write() is not implemented"))},n.prototype._writev=null,n.prototype.end=function(r,i,f){var p=this._writableState;typeof r=="function"?(f=r,r=null,i=null):typeof i=="function"&&(f=i,i=null),r!=null&&this.write(r,i),p.corked&&(p.corked=1,this.uncork()),p.ending||ie(this,p,f)};function H(r){return r.ending&&r.length===0&&r.bufferedRequest===null&&!r.finished&&!r.writing}function z(r,i){r._final(function(f){i.pendingcb--,f&&r.emit("error",f),i.prefinished=!0,r.emit("prefinish"),I(r,i)})}function q(r,i){!i.prefinished&&!i.finalCalled&&(typeof r._final=="function"?(i.pendingcb++,i.finalCalled=!0,v.nextTick(z,r,i)):(i.prefinished=!0,r.emit("prefinish")))}function I(r,i){var f=H(i);return f&&(q(r,i),i.pendingcb===0&&(i.finished=!0,r.emit("finish"))),f}function ie(r,i,f){i.ending=!0,I(r,i),f&&(i.finished?v.nextTick(f):r.once("finish",f)),i.ended=!0,r.writable=!1}function ne(r,i,f){var p=r.entry;for(r.entry=null;p;){var M=p.callback;i.pendingcb--,M(f),p=p.next}i.corkedRequestsFree.next=r}Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(r){this._writableState&&(this._writableState.destroyed=r)}}),n.prototype.destroy=S.destroy,n.prototype._undestroy=S.undestroy,n.prototype._destroy=function(r,i){this.end(),i(r)}},25057:function(C,W,l){"use strict";function E(h,c){if(!(h instanceof c))throw new TypeError("Cannot call a class as a function")}var v=l(33545).Buffer,B=l(52361);function y(h,c,o){h.copy(c,o)}C.exports=function(){function h(){E(this,h),this.head=null,this.tail=null,this.length=0}return h.prototype.push=function(o){var u={data:o,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length},h.prototype.unshift=function(o){var u={data:o,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length},h.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},h.prototype.clear=function(){this.head=this.tail=null,this.length=0},h.prototype.join=function(o){if(this.length===0)return"";for(var u=this.head,w=""+u.data;u=u.next;)w+=o+u.data;return w},h.prototype.concat=function(o){if(this.length===0)return v.alloc(0);for(var u=v.allocUnsafe(o>>>0),w=this.head,T=0;w;)y(w.data,u,T),T+=w.data.length,w=w.next;return u},h}(),B&&B.inspect&&B.inspect.custom&&(C.exports.prototype[B.inspect.custom]=function(){var h=B.inspect({length:this.length});return this.constructor.name+" "+h})},61195:function(C,W,l){"use strict";var E=l(88212);function v(h,c){var o=this,u=this._readableState&&this._readableState.destroyed,w=this._writableState&&this._writableState.destroyed;return u||w?(c?c(h):h&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,E.nextTick(y,this,h)):E.nextTick(y,this,h)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(h||null,function(T){!c&&T?o._writableState?o._writableState.errorEmitted||(o._writableState.errorEmitted=!0,E.nextTick(y,o,T)):E.nextTick(y,o,T):c&&c(T)}),this)}function B(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function y(h,c){h.emit("error",c)}C.exports={destroy:v,undestroy:B}},22503:function(C,W,l){C.exports=l(17187).EventEmitter},75309:function(C){var W={}.toString;C.exports=Array.isArray||function(l){return W.call(l)=="[object Array]"}},33545:function(C,W,l){var E=l(48764),v=E.Buffer;function B(h,c){for(var o in h)c[o]=h[o]}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?C.exports=E:(B(E,W),W.Buffer=y);function y(h,c,o){return v(h,c,o)}B(v,y),y.from=function(h,c,o){if(typeof h=="number")throw new TypeError("Argument must not be a number");return v(h,c,o)},y.alloc=function(h,c,o){if(typeof h!="number")throw new TypeError("Argument must be a number");var u=v(h);return c!==void 0?typeof o=="string"?u.fill(c,o):u.fill(c):u.fill(0),u},y.allocUnsafe=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return v(h)},y.allocUnsafeSlow=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return E.SlowBuffer(h)}},94626:function(C,W,l){"use strict";var E=l(33545).Buffer,v=E.isEncoding||function(n){switch(n=""+n,n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function B(n){if(!n)return"utf8";for(var d;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(d)return;n=(""+n).toLowerCase(),d=!0}}function y(n){var d=B(n);if(typeof d!="string"&&(E.isEncoding===v||!v(n)))throw new Error("Unknown encoding: "+n);return d||n}W.s=h;function h(n){this.encoding=y(n);var d;switch(this.encoding){case"utf16le":this.text=k,this.end=O,d=4;break;case"utf8":this.fillLast=w,d=4;break;case"base64":this.text=S,this.end=G,d=3;break;default:this.write=P,this.end=L;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=E.allocUnsafe(d)}h.prototype.write=function(n){if(n.length===0)return"";var d,x;if(this.lastNeed){if(d=this.fillLast(n),d===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x<n.length?d?d+this.text(n,x):this.text(n,x):d||""},h.prototype.end=N,h.prototype.text=T,h.prototype.fillLast=function(n){if(this.lastNeed<=n.length)return n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,n.length),this.lastNeed-=n.length};function c(n){return n<=127?0:n>>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function o(n,d,x){var b=d.length-1;if(b<x)return 0;var D=c(d[b]);return D>=0?(D>0&&(n.lastNeed=D-1),D):--b<x||D===-2?0:(D=c(d[b]),D>=0?(D>0&&(n.lastNeed=D-2),D):--b<x||D===-2?0:(D=c(d[b]),D>=0?(D>0&&(D===2?D=0:n.lastNeed=D-3),D):0))}function u(n,d,x){if((d[0]&192)!==128)return n.lastNeed=0,"\uFFFD";if(n.lastNeed>1&&d.length>1){if((d[1]&192)!==128)return n.lastNeed=1,"\uFFFD";if(n.lastNeed>2&&d.length>2&&(d[2]&192)!==128)return n.lastNeed=2,"\uFFFD"}}function w(n){var d=this.lastTotal-this.lastNeed,x=u(this,n,d);if(x!==void 0)return x;if(this.lastNeed<=n.length)return n.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,d,0,n.length),this.lastNeed-=n.length}function T(n,d){var x=o(this,n,d);if(!this.lastNeed)return n.toString("utf8",d);this.lastTotal=x;var b=n.length-(x-this.lastNeed);return n.copy(this.lastChar,0,b),n.toString("utf8",d,b)}function N(n){var d=n&&n.length?this.write(n):"";return this.lastNeed?d+"\uFFFD":d}function k(n,d){if((n.length-d)%2===0){var x=n.toString("utf16le",d);if(x){var b=x.charCodeAt(x.length-1);if(b>=55296&&b<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",d,n.length-1)}function O(n){var d=n&&n.length?this.write(n):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,x)}return d}function S(n,d){var x=(n.length-d)%3;return x===0?n.toString("base64",d):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",d,n.length-x))}function G(n){var d=n&&n.length?this.write(n):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function P(n){return n.toString(this.encoding)}function L(n){return n&&n.length?this.write(n):""}},95799:function(C,W,l){C.exports=l(88473).PassThrough},88473:function(C,W,l){W=C.exports=l(79481),W.Stream=W,W.Readable=W,W.Writable=l(64229),W.Duplex=l(56753),W.Transform=l(74605),W.PassThrough=l(82725)},14219:function(C,W,l){C.exports=l(88473).Transform},84796:function(C,W,l){C.exports=l(64229)}}]);