vendor: 45,048 bytes, lines 1-3
1import{j as vt}from"../jsx-runtime-D_zvdyIk.js";import{c as St}from"../index-5zs3RZdd.js";import{n as At,v as yt}from"../chunk-4N6VE7H7-CYH4PXiQ.js";import{u as xt}from"../use-callback-ref-CJ9SODNh.js";import{A as Ot}from"../alert-Bsob527P.js";import{Q as Mt}from"../__landing-BUjut1XA.js";import{u as $t}from"../get-api-DWzc_bBF.js";import"../focus-visible-outline-CA5WDHp1.js";import"../StripeModal-D2AU5nKM.js";import"../runtime-2_b2CLRu.js";import"../AccountSubscriptionTier-Cz37hh3K.js";import"../file-sharing-provider-DWrH9fGx.js";import"../runtime-a9fv597q.js";import"../VerificationStatusEnum-BMWjV5ER.js";import"../UsStateCodeAlpha2-sRkxuwjy.js";import"../result-BtcenhOc.js";import"../form-schema-utils-CKHKKg7G.js";import"../types-CeqL-daw.js";import"../use-state-ref-0aYGV7fB.js";import"../use-const-CyuDI2Jw.js";import"../modal-content-window-title-header-DByhHMtf.js";import"../use-controlled-state-6BKWRsRt.js";import"../resolve-to-node-Bl44lgnH.js";import"../noop-BjFrJKj1.js";import"../tooltip-Dh-GCyoz.js";import"../base-button-BOVQiXV3.js";import"../form-validation-BmVkRcjs.js";import"../use-self-cancel-timeout-DCHuMrr-.js";import"../use-self-cancel-interval-BgB7hfvd.js";import"../toggle-group-BSQQLJtK.js";import"../createFormData-6W1bV2BK.js";import"../button-CB2fQLpx.js";import"../link-button-Dgv_yPAf.js";import"../get-sharing-bucket-expiration-label-CKPg3s26.js";import"../auth-form-B9yFKAsj.js";import"../env-context-DebTkedx.js";import"../use-typed-explicit-fetcher-fhEyK6eX.js";import"../authenticity-token-CFgl6Z4h.js";import"../auth-form-validation-C7l7Lp9m.js";import"../auth-context-DVtKf2vI.js";import"../navigation-link-De5ItD8a.js";import"../app-integration-provider-4-SaOz_c.js";import"../app-integration-loading-D3uWt4C6.js";import"../client-only-CnbT09nL.js";import"../auth-window-messenger-DvswJzyt.js";import"../use-external-wallet-DbvtV7U2.js";import"../preload-helper-ckwbz45p.js";import"../create-lazy-singleton-cLopSc4o.js";import"../divider-Bx5FVaq5.js";import"../user-context-H9i7VnPA.js";import"../CryptoCurrency-C8i-2yC7.js";import"../format-crypto-currency-DU9teVm2.js";import"../lmwr-context-BdnFN4FZ.js";import"../index-CWrIKnBx.js";import"../api-context-7msjQt-g.js";import"../rpc-CIWWEHu4.js";import"../parseUnits-CO_wz_ch.js";import"../forward-platform-action-Dl6B2NrI.js";import"../file-name-Oqq8UyWy.js";import"../content-item-name-CxpMxVCg.js";import"../arrow-right-icon-CJx94PN2.js";import"../feedback-tooltip-DnQoTtgx.js";import"../dropdown-menu-item-Db0oH43Q.js";import"../CompositeItem-C2QJYDDY.js";import"../file-descriptor-DcRtDHm3.js";import"../format-1NPDPTzm.js";import"../shell-layout-aside-Ck2085gE.js";import"../QueryClientProvider-CWPOosah.js";import"../date-time-D44bRngG.js";import"../mgid-CC1-CYHI.js";import"../default-shell-layout-DoYVuJAt.js";import"../tab-button-Ds5-Xr2w.js";import"../creator-name-CiLx5-S8.js";import"../asset-aspect-ratio-CFxZTYNK.js";import"../shared-DwIwScEe.js";import"../limewire-logo-Dqzw9EF0.js";import"../use-logout-Di7bJZv1.js";import"../creator-834ASwQB.js";import"../use-copyright-Dc7D5n5M.js";import"../navigation-tabs-BJf4kUpl.js";import"../copy-input-0I8Jahig.js";import"../script-EPnTUGRP.js";import"../page-column-layout-DWZQyDxP.js";import"../share-nearby-provider-CoGBu4zh.js";var _t={exports:{}},Dt=_t.exports,Ct;function kt(){return Ct||(Ct=1,(function(ht,ct){(function(dt,rt){ht.exports=rt()})(Dt,(()=>(()=>{var dt={873:(j,P)=>{var L,ot,it=(function(){var X=function(g,c){var h=g,e=K[c],t=null,r=0,o=null,i=[],a={},f=function(n,d){t=(function(s){for(var u=new Array(s),l=0;l<s;l+=1){u[l]=new Array(s);for(var b=0;b<s;b+=1)u[l][b]=null}return u})(r=4*h+17),p(0,0),p(r-7,0),p(0,r-7),w(),v(),m(n,d),h>=7&&_(n),o==null&&(o=M(h,e,i)),y(o,d)},p=function(n,d){for(var s=-1;s<=7;s+=1)if(!(n+s<=-1||r<=n+s))for(var u=-1;u<=7;u+=1)d+u<=-1||r<=d+u||(t[n+s][d+u]=0<=s&&s<=6&&(u==0||u==6)||0<=u&&u<=6&&(s==0||s==6)||2<=s&&s<=4&&2<=u&&u<=4)},v=function(){for(var n=8;n<r-8;n+=1)t[n][6]==null&&(t[n][6]=n%2==0);for(var d=8;d<r-8;d+=1)t[6][d]==null&&(t[6][d]=d%2==0)},w=function(){for(var n=F.getPatternPosition(h),d=0;d<n.length;d+=1)for(var s=0;s<n.length;s+=1){var u=n[d],l=n[s];if(t[u][l]==null)for(var b=-2;b<=2;b+=1)for(var S=-2;S<=2;S+=1)t[u+b][l+S]=b==-2||b==2||S==-2||S==2||b==0&&S==0}},_=function(n){for(var d=F.getBCHTypeNumber(h),s=0;s<18;s+=1){var u=!n&&(d>>s&1)==1;t[Math.floor(s/3)][s%3+r-8-3]=u}for(s=0;s<18;s+=1)u=!n&&(d>>s&1)==1,t[s%3+r-8-3][Math.floor(s/3)]=u},m=function(n,d){for(var s=e<<3|d,u=F.getBCHTypeInfo(s),l=0;l<15;l+=1){var b=!n&&(u>>l&1)==1;l<6?t[l][8]=b:l<8?t[l+1][8]=b:t[r-15+l][8]=b}for(l=0;l<15;l+=1)b=!n&&(u>>l&1)==1,l<8?t[8][r-l-1]=b:l<9?t[8][15-l-1+1]=b:t[8][15-l-1]=b;t[r-8][8]=!n},y=function(n,d){for(var s=-1,u=r-1,l=7,b=0,S=F.getMaskFunction(d),O=r-1;O>0;O-=2)for(O==6&&(O-=1);;){for(var $=0;$<2;$+=1)if(t[u][O-$]==null){var D=!1;b<n.length&&(D=(n[b]>>>l&1)==1),S(u,O-$)&&(D=!D),t[u][O-$]=D,(l-=1)==-1&&(b+=1,l=7)}if((u+=s)<0||r<=u){u-=s,s=-s;break}}},M=function(n,d,s){for(var u=nt.getRSBlocks(n,d),l=et(),b=0;b<s.length;b+=1){var S=s[b];l.put(S.getMode(),4),l.put(S.getLength(),F.getLengthInBits(S.getMode(),n)),S.write(l)}var O=0;for(b=0;b<u.length;b+=1)O+=u[b].dataCount;if(l.getLengthInBits()>8*O)throw"code length overflow. ("+l.getLengthInBits()+">"+8*O+")";for(l.getLengthInBits()+4<=8*O&&l.put(0,4);l.getLengthInBits()%8!=0;)l.putBit(!1);for(;!(l.getLengthInBits()>=8*O||(l.put(236,8),l.getLengthInBits()>=8*O));)l.put(17,8);return(function($,D){for(var B=0,T=0,R=0,q=new Array(D.length),k=new Array(D.length),x=0;x<D.length;x+=1){var I=D[x].dataCount,N=D[x].totalCount-I;T=Math.max(T,I),R=Math.max(R,N),q[x]=new Array(I);for(var A=0;A<q[x].length;A+=1)q[x][A]=255&$.getBuffer()[A+B];B+=I;var G=F.getErrorCorrectPolynomial(N),H=J(q[x],G.getLength()-1).mod(G);for(k[x]=new Array(G.getLength()-1),A=0;A<k[x].length;A+=1){var U=A+H.getLength()-k[x].length;k[x][A]=U>=0?H.getAt(U):0}}var mt=0;for(A=0;A<D.length;A+=1)mt+=D[A].totalCount;var ut=new Array(mt),V=0;for(A=0;A<T;A+=1)for(x=0;x<D.length;x+=1)A<q[x].length&&(ut[V]=q[x][A],V+=1);for(A=0;A<R;A+=1)for(x=0;x<D.length;x+=1)A<k[x].length&&(ut[V]=k[x][A],V+=1);return ut})(l,u)};a.addData=function(n,d){var s=null;switch(d=d||"Byte"){case"Numeric":s=gt(n);break;case"Alphanumeric":s=pt(n);break;case"Byte":s=st(n);break;case"Kanji":s=ft(n);break;default:throw"mode:"+d}i.push(s),o=null},a.isDark=function(n,d){if(n<0||r<=n||d<0||r<=d)throw n+","+d;return t[n][d]},a.getModuleCount=function(){return r},a.make=function(){if(h<1){for(var n=1;n<40;n++){for(var d=nt.getRSBlocks(n,e),s=et(),u=0;u<i.length;u++){var l=i[u];s.put(l.getMode(),4),s.put(l.getLength(),F.getLengthInBits(l.getMode(),n)),l.write(s)}var b=0;for(u=0;u<d.length;u++)b+=d[u].dataCount;if(s.getLengthInBits()<=8*b)break}h=n}f(!1,(function(){for(var S=0,O=0,$=0;$<8;$+=1){f(!0,$);var D=F.getLostPoint(a);($==0||S>D)&&(S=D,O=$)}return O})())},a.createTableTag=function(n,d){n=n||2;var s="";s+='<table style="',s+=" border-width: 0px; border-style: none;",s+=" border-collapse: collapse;",s+=" padding: 0px; margin: "+(d=d===void 0?4*n:d)+"px;",s+='">',s+="<tbody>";for(var u=0;u<a.getModuleCount();u+=1){s+="<tr>";for(var l=0;l<a.getModuleCount();l+=1)s+='<td style="',s+=" border-width: 0px; border-style: none;",s+=" border-collapse: collapse;",s+=" padding: 0px; margin: 0px;",s+=" width: "+n+"px;",s+=" height: "+n+"px;",s+=" background-color: ",s+=a.isDark(u,l)?"#000000":"#ffffff",s+=";",s+='"/>';s+="</tr>"}return(s+="</tbody>")+"</table>"},a.createSvgTag=function(n,d,s,u){var l={};typeof arguments[0]=="object"&&(n=(l=arguments[0]).cellSize,d=l.margin,s=l.alt,u=l.title),n=n||2,d=d===void 0?4*n:d,(s=typeof s=="string"?{text:s}:s||{}).text=s.text||null,s.id=s.text?s.id||"qrcode-description":null,(u=typeof u=="string"?{text:u}:u||{}).text=u.text||null,u.id=u.text?u.id||"qrcode-title":null;var b,S,O,$,D=a.getModuleCount()*n+2*d,B="";for($="l"+n+",0 0,"+n+" -"+n+",0 0,-"+n+"z ",B+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',B+=l.scalable?"":' width="'+D+'px" height="'+D+'px"',B+=' viewBox="0 0 '+D+" "+D+'" ',B+=' preserveAspectRatio="xMinYMin meet"',B+=u.text||s.text?' role="img" aria-labelledby="'+C([u.id,s.id].join(" ").trim())+'"':"",B+=">",B+=u.text?'<title id="'+C(u.id)+'">'+C(u.text)+"</title>":"",B+=s.text?'<description id="'+C(s.id)+'">'+C(s.text)+"</description>":"",B+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',B+='<path d="',S=0;S<a.getModuleCount();S+=1)for(O=S*n+d,b=0;b<a.getModuleCount();b+=1)a.isDark(S,b)&&(B+="M"+(b*n+d)+","+O+$);return(B+='" stroke="transparent" fill="black"/>')+"</svg>"},a.createDataURL=function(n,d){n=n||2,d=d===void 0?4*n:d;var s=a.getModuleCount()*n+2*d,u=d,l=s-d;return at(s,s,(function(b,S){if(u<=b&&b<l&&u<=S&&S<l){var O=Math.floor((b-u)/n),$=Math.floor((S-u)/n);return a.isDark($,O)?0:1}return 1}))},a.createImgTag=function(n,d,s){n=n||2,d=d===void 0?4*n:d;var u=a.getModuleCount()*n+2*d,l="";return l+="<img",l+=' src="',l+=a.createDataURL(n,d),l+='"',l+=' width="',l+=u,l+='"',l+=' height="',l+=u,l+='"',s&&(l+=' alt="',l+=C(s),l+='"'),l+"/>"};var C=function(n){for(var d="",s=0;s<n.length;s+=1){var u=n.charAt(s);switch(u){case"<":d+="<";break;case">":d+=">";break;case"&":d+="&";break;case'"':d+=""";break;default:d+=u}}return d};return a.createASCII=function(n,d){if((n=n||1)<2)return(function(q){q=q===void 0?2:q;var k,x,I,N,A,G=1*a.getModuleCount()+2*q,H=q,U=G-q,mt={"ââ":"â","â ":"â"," â":"â"," ":" "},ut={"ââ":"â","â ":"â"," â":" "," ":" "},V="";for(k=0;k<G;k+=2){for(I=Math.floor((k-H)/1),N=Math.floor((k+1-H)/1),x=0;x<G;x+=1)A="â",H<=x&&x<U&&H<=k&&k<U&&a.isDark(I,Math.floor((x-H)/1))&&(A=" "),H<=x&&x<U&&H<=k+1&&k+1<U&&a.isDark(N,Math.floor((x-H)/1))?A+=" ":A+="â",V+=q<1&&k+1>=U?ut[A]:mt[A];V+=` 2`}return G%2&&q>0?V.substring(0,V.length-G-1)+Array(G+1).join("â"):V.substring(0,V.length-1)})(d);n-=1,d=d===void 0?2*n:d;var s,u,l,b,S=a.getModuleCount()*n+2*d,O=d,$=S-d,D=Array(n+1).join("ââ"),B=Array(n+1).join(" "),T="",R="";for(s=0;s<S;s+=1){for(l=Math.floor((s-O)/n),R="",u=0;u<S;u+=1)b=1,O<=u&&u<$&&O<=s&&s<$&&a.isDark(l,Math.floor((u-O)/n))&&(b=0),R+=b?D:B;for(l=0;l<n;l+=1)T+=R+` 3`}return T.substring(0,T.length-1)},a.renderTo2dContext=function(n,d){d=d||2;for(var s=a.getModuleCount(),u=0;u<s;u++)for(var l=0;l<s;l++)n.fillStyle=a.isDark(u,l)?"black":"white",n.fillRect(u*d,l*d,d,d)},a};X.stringToBytes=(X.stringToBytesFuncs={default:function(g){for(var c=[],h=0;h<g.length;h+=1){var e=g.charCodeAt(h);c.push(255&e)}return c}}).default,X.createStringToBytes=function(g,c){var h=(function(){for(var t=bt(g),r=function(){var v=t.read();if(v==-1)throw"eof";return v},o=0,i={};;){var a=t.read();if(a==-1)break;var f=r(),p=r()<<8|r();i[String.fromCharCode(a<<8|f)]=p,o+=1}if(o!=c)throw o+" != "+c;return i})(),e=63;return function(t){for(var r=[],o=0;o<t.length;o+=1){var i=t.charCodeAt(o);if(i<128)r.push(i);else{var a=h[t.charAt(o)];typeof a=="number"?(255&a)==a?r.push(a):(r.push(a>>>8),r.push(255&a)):r.push(e)}}return r}};var tt,Y,Q,z,W,K={L:1,M:0,Q:3,H:2},F=(tt=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],Y=1335,Q=7973,W=function(g){for(var c=0;g!=0;)c+=1,g>>>=1;return c},(z={}).getBCHTypeInfo=function(g){for(var c=g<<10;W(c)-W(Y)>=0;)c^=Y<<W(c)-W(Y);return 21522^(g<<10|c)},z.getBCHTypeNumber=function(g){for(var c=g<<12;W(c)-W(Q)>=0;)c^=Q<<W(c)-W(Q);return g<<12|c},z.getPatternPosition=function(g){return tt[g-1]},z.getMaskFunction=function(g){switch(g){case 0:return function(c,h){return(c+h)%2==0};case 1:return function(c,h){return c%2==0};case 2:return function(c,h){return h%3==0};case 3:return function(c,h){return(c+h)%3==0};case 4:return function(c,h){return(Math.floor(c/2)+Math.floor(h/3))%2==0};case 5:return function(c,h){return c*h%2+c*h%3==0};case 6:return function(c,h){return(c*h%2+c*h%3)%2==0};case 7:return function(c,h){return(c*h%3+(c+h)%2)%2==0};default:throw"bad maskPattern:"+g}},z.getErrorCorrectPolynomial=function(g){for(var c=J([1],0),h=0;h<g;h+=1)c=c.multiply(J([1,E.gexp(h)],0));return c},z.getLengthInBits=function(g,c){if(1<=c&&c<10)switch(g){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+g}else if(c<27)switch(g){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+g}else{if(!(c<41))throw"type:"+c;switch(g){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+g}}},z.getLostPoint=function(g){for(var c=g.getModuleCount(),h=0,e=0;e<c;e+=1)for(var t=0;t<c;t+=1){for(var r=0,o=g.isDark(e,t),i=-1;i<=1;i+=1)if(!(e+i<0||c<=e+i))for(var a=-1;a<=1;a+=1)t+a<0||c<=t+a||i==0&&a==0||o==g.isDark(e+i,t+a)&&(r+=1);r>5&&(h+=3+r-5)}for(e=0;e<c-1;e+=1)for(t=0;t<c-1;t+=1){var f=0;g.isDark(e,t)&&(f+=1),g.isDark(e+1,t)&&(f+=1),g.isDark(e,t+1)&&(f+=1),g.isDark(e+1,t+1)&&(f+=1),f!=0&&f!=4||(h+=3)}for(e=0;e<c;e+=1)for(t=0;t<c-6;t+=1)g.isDark(e,t)&&!g.isDark(e,t+1)&&g.isDark(e,t+2)&&g.isDark(e,t+3)&&g.isDark(e,t+4)&&!g.isDark(e,t+5)&&g.isDark(e,t+6)&&(h+=40);for(t=0;t<c;t+=1)for(e=0;e<c-6;e+=1)g.isDark(e,t)&&!g.isDark(e+1,t)&&g.isDark(e+2,t)&&g.isDark(e+3,t)&&g.isDark(e+4,t)&&!g.isDark(e+5,t)&&g.isDark(e+6,t)&&(h+=40);var p=0;for(t=0;t<c;t+=1)for(e=0;e<c;e+=1)g.isDark(e,t)&&(p+=1);return h+Math.abs(100*p/c/c-50)/5*10},z),E=(function(){for(var g=new Array(256),c=new Array(256),h=0;h<8;h+=1)g[h]=1<<h;for(h=8;h<256;h+=1)g[h]=g[h-4]^g[h-5]^g[h-6]^g[h-8];for(h=0;h<255;h+=1)c[g[h]]=h;return{glog:function(e){if(e<1)throw"glog("+e+")";return c[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return g[e]}}})();function J(g,c){if(g.length===void 0)throw g.length+"/"+c;var h=(function(){for(var t=0;t<g.length&&g[t]==0;)t+=1;for(var r=new Array(g.length-t+c),o=0;o<g.length-t;o+=1)r[o]=g[o+t];return r})(),e={getAt:function(t){return h[t]},getLength:function(){return h.length},multiply:function(t){for(var r=new Array(e.getLength()+t.getLength()-1),o=0;o<e.getLength();o+=1)for(var i=0;i<t.getLength();i+=1)r[o+i]^=E.gexp(E.glog(e.getAt(o))+E.glog(t.getAt(i)));return J(r,0)},mod:function(t){if(e.getLength()-t.getLength()<0)return e;for(var r=E.glog(e.getAt(0))-E.glog(t.getAt(0)),o=new Array(e.getLength()),i=0;i<e.getLength();i+=1)o[i]=e.getAt(i);for(i=0;i<t.getLength();i+=1)o[i]^=E.gexp(E.glog(t.getAt(i))+r);return J(o,0).mod(t)}};return e}var nt=(function(){var g=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],c=function(e,t){var r={};return r.totalCount=e,r.dataCount=t,r},h={getRSBlocks:function(e,t){var r=(function(_,m){switch(m){case K.L:return g[4*(_-1)+0];case K.M:return g[4*(_-1)+1];case K.Q:return g[4*(_-1)+2];case K.H:return g[4*(_-1)+3];default:return}})(e,t);if(r===void 0)throw"bad rs block @ typeNumber:"+e+"/errorCorrectionLevel:"+t;for(var o=r.length/3,i=[],a=0;a<o;a+=1)for(var f=r[3*a+0],p=r[3*a+1],v=r[3*a+2],w=0;w<f;w+=1)i.push(c(p,v));return i}};return h})(),et=function(){var g=[],c=0,h={getBuffer:function(){return g},getAt:function(e){var t=Math.floor(e/8);return(g[t]>>>7-e%8&1)==1},put:function(e,t){for(var r=0;r<t;r+=1)h.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return c},putBit:function(e){var t=Math.floor(c/8);g.length<=t&&g.push(0),e&&(g[t]|=128>>>c%8),c+=1}};return h},gt=function(g){var c=g,h={getMode:function(){return 1},getLength:function(r){return c.length},write:function(r){for(var o=c,i=0;i+2<o.length;)r.put(e(o.substring(i,i+3)),10),i+=3;i<o.length&&(o.length-i==1?r.put(e(o.substring(i,i+1)),4):o.length-i==2&&r.put(e(o.substring(i,i+2)),7))}},e=function(r){for(var o=0,i=0;i<r.length;i+=1)o=10*o+t(r.charAt(i));return o},t=function(r){if("0"<=r&&r<="9")return r.charCodeAt(0)-48;throw"illegal char :"+r};return h},pt=function(g){var c=g,h={getMode:function(){return 2},getLength:function(t){return c.length},write:function(t){for(var r=c,o=0;o+1<r.length;)t.put(45*e(r.charAt(o))+e(r.charAt(o+1)),11),o+=2;o<r.length&&t.put(e(r.charAt(o)),6)}},e=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-48;if("A"<=t&&t<="Z")return t.charCodeAt(0)-65+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return h},st=function(g){var c=X.stringToBytes(g);return{getMode:function(){return 4},getLength:function(h){return c.length},write:function(h){for(var e=0;e<c.length;e+=1)h.put(c[e],8)}}},ft=function(g){var c=X.stringToBytesFuncs.SJIS;if(!c)throw"sjis not supported.";(function(){var t=c("å");if(t.length!=2||(t[0]<<8|t[1])!=38726)throw"sjis not supported."})();var h=c(g),e={getMode:function(){return 8},getLength:function(t){return~~(h.length/2)},write:function(t){for(var r=h,o=0;o+1<r.length;){var i=(255&r[o])<<8|255&r[o+1];if(33088<=i&&i<=40956)i-=33088;else{if(!(57408<=i&&i<=60351))throw"illegal char at "+(o+1)+"/"+i;i-=49472}i=192*(i>>>8&255)+(255&i),t.put(i,13),o+=2}if(o<r.length)throw"illegal char at "+(o+1)}};return e},wt=function(){var g=[],c={writeByte:function(h){g.push(255&h)},writeShort:function(h){c.writeByte(h),c.writeByte(h>>>8)},writeBytes:function(h,e,t){e=e||0,t=t||h.length;for(var r=0;r<t;r+=1)c.writeByte(h[r+e])},writeString:function(h){for(var e=0;e<h.length;e+=1)c.writeByte(h.charCodeAt(e))},toByteArray:function(){return g},toString:function(){var h="";h+="[";for(var e=0;e<g.length;e+=1)e>0&&(h+=","),h+=g[e];return h+"]"}};return c},bt=function(g){var c=g,h=0,e=0,t=0,r={read:function(){for(;t<8;){if(h>=c.length){if(t==0)return-1;throw"unexpected end of file./"+t}var i=c.charAt(h);if(h+=1,i=="=")return t=0,-1;i.match(/^\s$/)||(e=e<<6|o(i.charCodeAt(0)),t+=6)}var a=e>>>t-8&255;return t-=8,a}},o=function(i){if(65<=i&&i<=90)return i-65;if(97<=i&&i<=122)return i-97+26;if(48<=i&&i<=57)return i-48+52;if(i==43)return 62;if(i==47)return 63;throw"c:"+i};return r},at=function(g,c,h){for(var e=(function(p,v){var w=p,_=v,m=new Array(p*v),y={setPixel:function(n,d,s){m[d*w+n]=s},write:function(n){n.writeString("GIF87a"),n.writeShort(w),n.writeShort(_),n.writeByte(128),n.writeByte(0),n.writeByte(0),n.writeByte(0),n.writeByte(0),n.writeByte(0),n.writeByte(255),n.writeByte(255),n.writeByte(255),n.writeString(","),n.writeShort(0),n.writeShort(0),n.writeShort(w),n.writeShort(_),n.writeByte(0);var d=M(2);n.writeByte(2);for(var s=0;d.length-s>255;)n.writeByte(255),n.writeBytes(d,s,255),s+=255;n.writeByte(d.length-s),n.writeBytes(d,s,d.length-s),n.writeByte(0),n.writeString(";")}},M=function(n){for(var d=1<<n,s=1+(1<<n),u=n+1,l=C(),b=0;b<d;b+=1)l.add(String.fromCharCode(b));l.add(String.fromCharCode(d)),l.add(String.fromCharCode(s));var S,O,$,D=wt(),B=(S=D,O=0,$=0,{write:function(k,x){if(k>>>x)throw"length over";for(;O+x>=8;)S.writeByte(255&(k<<O|$)),x-=8-O,k>>>=8-O,$=0,O=0;$|=k<<O,O+=x},flush:function(){O>0&&S.writeByte($)}});B.write(d,u);var T=0,R=String.fromCharCode(m[T]);for(T+=1;T<m.length;){var q=String.fromCharCode(m[T]);T+=1,l.contains(R+q)?R+=q:(B.write(l.indexOf(R),u),l.size()<4095&&(l.size()==1<<u&&(u+=1),l.add(R+q)),R=q)}return B.write(l.indexOf(R),u),B.write(s,u),B.flush(),D.toByteArray()},C=function(){var n={},d=0,s={add:function(u){if(s.contains(u))throw"dup key:"+u;n[u]=d,d+=1},size:function(){return d},indexOf:function(u){return n[u]},contains:function(u){return n[u]!==void 0}};return s};return y})(g,c),t=0;t<c;t+=1)for(var r=0;r<g;r+=1)e.setPixel(r,t,h(r,t));var o=wt();e.write(o);for(var i=(function(){var p=0,v=0,w=0,_="",m={},y=function(C){_+=String.fromCharCode(M(63&C))},M=function(C){if(!(C<0)){if(C<26)return 65+C;if(C<52)return C-26+97;if(C<62)return C-52+48;if(C==62)return 43;if(C==63)return 47}throw"n:"+C};return m.writeByte=function(C){for(p=p<<8|255&C,v+=8,w+=1;v>=6;)y(p>>>v-6),v-=6},m.flush=function(){if(v>0&&(y(p<<6-v),p=0,v=0),w%3!=0)for(var C=3-w%3,n=0;n<C;n+=1)_+="="},m.toString=function(){return _},m})(),a=o.toByteArray(),f=0;f<a.length;f+=1)i.writeByte(a[f]);return i.flush(),"data:image/gif;base64,"+i};return X})();it.stringToBytesFuncs["UTF-8"]=function(X){return(function(tt){for(var Y=[],Q=0;Q<tt.length;Q++){var z=tt.charCodeAt(Q);z<128?Y.push(z):z<2048?Y.push(192|z>>6,128|63&z):z<55296||z>=57344?Y.push(224|z>>12,128|z>>6&63,128|63&z):(Q++,z=65536+((1023&z)<<10|1023&tt.charCodeAt(Q)),Y.push(240|z>>18,128|z>>12&63,128|z>>6&63,128|63&z))}return Y})(X)},(ot=typeof(L=function(){return it})=="function"?L.apply(P,[]):L)===void 0||(j.exports=ot)}},rt={};function Z(j){var P=rt[j];if(P!==void 0)return P.exports;var L=rt[j]={exports:{}};return dt[j](L,L.exports,Z),L.exports}Z.n=j=>{var P=j&&j.__esModule?()=>j.default:()=>j;return Z.d(P,{a:P}),P},Z.d=(j,P)=>{for(var L in P)Z.o(P,L)&&!Z.o(j,L)&&Object.defineProperty(j,L,{enumerable:!0,get:P[L]})},Z.o=(j,P)=>Object.prototype.hasOwnProperty.call(j,P);var lt={};return(()=>{Z.d(lt,{default:()=>c});const j=h=>!!h&&typeof h=="object"&&!Array.isArray(h);function P(h,...e){if(!e.length)return h;const t=e.shift();return t!==void 0&&j(h)&&j(t)?(h=Object.assign({},h),Object.keys(t).forEach((r=>{const o=h[r],i=t[r];Array.isArray(o)&&Array.isArray(i)?h[r]=i:j(o)&&j(i)?h[r]=P(Object.assign({},o),i):h[r]=i})),P(h,...e)):h}function L(h,e){const t=document.createElement("a");t.download=e,t.href=h,document.body.appendChild(t),t.click(),document.body.removeChild(t)}const ot={L:.07,M:.15,Q:.25,H:.3};class it{constructor({svg:e,type:t,window:r}){this._svg=e,this._type=t,this._window=r}draw(e,t,r,o){let i;switch(this._type){case"dots":i=this._drawDot;break;case"classy":i=this._drawClassy;break;case"classy-rounded":i=this._drawClassyRounded;break;case"rounded":i=this._drawRounded;break;case"extra-rounded":i=this._drawExtraRounded;break;default:i=this._drawSquare}i.call(this,{x:e,y:t,size:r,getNeighbor:o})}_rotateFigure({x:e,y:t,size:r,rotation:o=0,draw:i}){var a;const f=e+r/2,p=t+r/2;i(),(a=this._element)===null||a===void 0||a.setAttribute("transform",`rotate(${180*o/Math.PI},${f},${p})`)}_basicDot(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(r+t/2)),this._element.setAttribute("cy",String(o+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(r)),this._element.setAttribute("y",String(o)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_basicSideRounded(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${r} ${o}v ${t}h `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, 0 ${-t}`)}}))}_basicCornerRounded(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${r} ${o}v ${t}h ${t}v `+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_basicCornerExtraRounded(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${r} ${o}v ${t}h ${t}a ${t} ${t}, 0, 0, 0, ${-t} ${-t}`)}}))}_basicCornersRounded(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${r} ${o}v `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${t/2} ${t/2}h `+t/2+"v "+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_drawDot({x:e,y:t,size:r}){this._basicDot({x:e,y:t,size:r,rotation:0})}_drawSquare({x:e,y:t,size:r}){this._basicSquare({x:e,y:t,size:r,rotation:0})}_drawRounded({x:e,y:t,size:r,getNeighbor:o}){const i=o?+o(-1,0):0,a=o?+o(1,0):0,f=o?+o(0,-1):0,p=o?+o(0,1):0,v=i+a+f+p;if(v!==0)if(v>2||i&&a||f&&p)this._basicSquare({x:e,y:t,size:r,rotation:0});else{if(v===2){let w=0;return i&&f?w=Math.PI/2:f&&a?w=Math.PI:a&&p&&(w=-Math.PI/2),void this._basicCornerRounded({x:e,y:t,size:r,rotation:w})}if(v===1){let w=0;return f?w=Math.PI/2:a?w=Math.PI:p&&(w=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:r,rotation:w})}}else this._basicDot({x:e,y:t,size:r,rotation:0})}_drawExtraRounded({x:e,y:t,size:r,getNeighbor:o}){const i=o?+o(-1,0):0,a=o?+o(1,0):0,f=o?+o(0,-1):0,p=o?+o(0,1):0,v=i+a+f+p;if(v!==0)if(v>2||i&&a||f&&p)this._basicSquare({x:e,y:t,size:r,rotation:0});else{if(v===2){let w=0;return i&&f?w=Math.PI/2:f&&a?w=Math.PI:a&&p&&(w=-Math.PI/2),void this._basicCornerExtraRounded({x:e,y:t,size:r,rotation:w})}if(v===1){let w=0;return f?w=Math.PI/2:a?w=Math.PI:p&&(w=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:r,rotation:w})}}else this._basicDot({x:e,y:t,size:r,rotation:0})}_drawClassy({x:e,y:t,size:r,getNeighbor:o}){const i=o?+o(-1,0):0,a=o?+o(1,0):0,f=o?+o(0,-1):0,p=o?+o(0,1):0;i+a+f+p!==0?i||f?a||p?this._basicSquare({x:e,y:t,size:r,rotation:0}):this._basicCornerRounded({x:e,y:t,size:r,rotation:Math.PI/2}):this._basicCornerRounded({x:e,y:t,size:r,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:r,rotation:Math.PI/2})}_drawClassyRounded({x:e,y:t,size:r,getNeighbor:o}){const i=o?+o(-1,0):0,a=o?+o(1,0):0,f=o?+o(0,-1):0,p=o?+o(0,1):0;i+a+f+p!==0?i||f?a||p?this._basicSquare({x:e,y:t,size:r,rotation:0}):this._basicCornerExtraRounded({x:e,y:t,size:r,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:e,y:t,size:r,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:r,rotation:Math.PI/2})}}const X={dot:"dot",square:"square",extraRounded:"extra-rounded"},tt=Object.values(X);class Y{constructor({svg:e,type:t,window:r}){this._svg=e,this._type=t,this._window=r}draw(e,t,r,o){let i;switch(this._type){case X.square:i=this._drawSquare;break;case X.extraRounded:i=this._drawExtraRounded;break;default:i=this._drawDot}i.call(this,{x:e,y:t,size:r,rotation:o})}_rotateFigure({x:e,y:t,size:r,rotation:o=0,draw:i}){var a;const f=e+r/2,p=t+r/2;i(),(a=this._element)===null||a===void 0||a.setAttribute("transform",`rotate(${180*o/Math.PI},${f},${p})`)}_basicDot(e){const{size:t,x:r,y:o}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${r+t/2} ${o}a ${t/2} ${t/2} 0 1 0 0.1 0zm 0 ${i}a ${t/2-i} ${t/2-i} 0 1 1 -0.1 0Z`)}}))}_basicSquare(e){const{size:t,x:r,y:o}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${r} ${o}v ${t}h ${t}v `+-t+`zM ${r+i} ${o+i}h `+(t-2*i)+"v "+(t-2*i)+"h "+(2*i-t)+"z")}}))}_basicExtraRounded(e){const{size:t,x:r,y:o}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${r} ${o+2.5*i}v `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*i}h `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*-i}v `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*-i}h `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*i}M ${r+2.5*i} ${o+i}h `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*i}v `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*i}h `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*-i}v `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*-i}`)}}))}_drawDot({x:e,y:t,size:r,rotation:o}){this._basicDot({x:e,y:t,size:r,rotation:o})}_drawSquare({x:e,y:t,size:r,rotation:o}){this._basicSquare({x:e,y:t,size:r,rotation:o})}_drawExtraRounded({x:e,y:t,size:r,rotation:o}){this._basicExtraRounded({x:e,y:t,size:r,rotation:o})}}const Q={dot:"dot",square:"square"},z=Object.values(Q);class W{constructor({svg:e,type:t,window:r}){this._svg=e,this._type=t,this._window=r}draw(e,t,r,o){let i;i=this._type===Q.square?this._drawSquare:this._drawDot,i.call(this,{x:e,y:t,size:r,rotation:o})}_rotateFigure({x:e,y:t,size:r,rotation:o=0,draw:i}){var a;const f=e+r/2,p=t+r/2;i(),(a=this._element)===null||a===void 0||a.setAttribute("transform",`rotate(${180*o/Math.PI},${f},${p})`)}_basicDot(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(r+t/2)),this._element.setAttribute("cy",String(o+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:r,y:o}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(r)),this._element.setAttribute("y",String(o)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_drawDot({x:e,y:t,size:r,rotation:o}){this._basicDot({x:e,y:t,size:r,rotation:o})}_drawSquare({x:e,y:t,size:r,rotation:o}){this._basicSquare({x:e,y:t,size:r,rotation:o})}}const K="circle",F=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],E=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class J{constructor(e,t){this._roundSize=r=>this._options.dotsOptions.roundSize?Math.floor(r):r,this._window=t,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(e.width)),this._element.setAttribute("height",String(e.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${e.width} ${e.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=e.image,this._instanceId=J.instanceCount++,this._options=e}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(e){const t=e.getModuleCount(),r=Math.min(this._options.width,this._options.height)-2*this._options.margin,o=this._options.shape===K?r/Math.sqrt(2):r,i=this._roundSize(o/t);let a={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=e,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:f,qrOptions:p}=this._options,v=f.imageSize*ot[p.errorCorrectionLevel],w=Math.floor(v*t*t);a=(function({originalHeight:_,originalWidth:m,maxHiddenDots:y,maxHiddenAxisDots:M,dotSize:C}){const n={x:0,y:0},d={x:0,y:0};if(_<=0||m<=0||y<=0||C<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const s=_/m;return n.x=Math.floor(Math.sqrt(y/s)),n.x<=0&&(n.x=1),M&&M<n.x&&(n.x=M),n.x%2==0&&n.x--,d.x=n.x*C,n.y=1+2*Math.ceil((n.x*s-1)/2),d.y=Math.round(d.x*s),(n.y*n.x>y||M&&M<n.y)&&(M&&M<n.y?(n.y=M,n.y%2==0&&n.x--):n.y-=2,d.y=n.y*C,n.x=1+2*Math.ceil((n.y/s-1)/2),d.x=Math.round(d.y/s)),{height:d.y,width:d.x,hideYDots:n.y,hideXDots:n.x}})({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:w,maxHiddenAxisDots:t-14,dotSize:i})}this.drawBackground(),this.drawDots(((f,p)=>{var v,w,_,m,y,M;return!(this._options.imageOptions.hideBackgroundDots&&f>=(t-a.hideYDots)/2&&f<(t+a.hideYDots)/2&&p>=(t-a.hideXDots)/2&&p<(t+a.hideXDots)/2||!((v=F[f])===null||v===void 0)&&v[p]||!((w=F[f-t+7])===null||w===void 0)&&w[p]||!((_=F[f])===null||_===void 0)&&_[p-t+7]||!((m=E[f])===null||m===void 0)&&m[p]||!((y=E[f-t+7])===null||y===void 0)&&y[p]||!((M=E[f])===null||M===void 0)&&M[p-t+7])})),this.drawCorners(),this._options.image&&await this.drawImage({width:a.width,height:a.height,count:t,dotSize:i})}drawBackground(){var e,t,r;const o=this._element,i=this._options;if(o){const a=(e=i.backgroundOptions)===null||e===void 0?void 0:e.gradient,f=(t=i.backgroundOptions)===null||t===void 0?void 0:t.color;let p=i.height,v=i.width;if(a||f){const w=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),!((r=i.backgroundOptions)===null||r===void 0)&&r.round&&(p=v=Math.min(i.width,i.height),w.setAttribute("rx",String(p/2*i.backgroundOptions.round))),w.setAttribute("x",String(this._roundSize((i.width-v)/2))),w.setAttribute("y",String(this._roundSize((i.height-p)/2))),w.setAttribute("width",String(v)),w.setAttribute("height",String(p)),this._backgroundClipPath.appendChild(w),this._createColor({options:a,color:f,additionalRotation:0,x:0,y:0,height:i.height,width:i.width,name:`background-color-${this._instanceId}`})}}}drawDots(e){var t,r;if(!this._qr)throw"QR code is not defined";const o=this._options,i=this._qr.getModuleCount();if(i>o.width||i>o.height)throw"The canvas is too small.";const a=Math.min(o.width,o.height)-2*o.margin,f=o.shape===K?a/Math.sqrt(2):a,p=this._roundSize(f/i),v=this._roundSize((o.width-i*p)/2),w=this._roundSize((o.height-i*p)/2),_=new it({svg:this._element,type:o.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(t=o.dotsOptions)===null||t===void 0?void 0:t.gradient,color:o.dotsOptions.color,additionalRotation:0,x:0,y:0,height:o.height,width:o.width,name:`dot-color-${this._instanceId}`});for(let m=0;m<i;m++)for(let y=0;y<i;y++)e&&!e(m,y)||!((r=this._qr)===null||r===void 0)&&r.isDark(m,y)&&(_.draw(v+y*p,w+m*p,p,((M,C)=>!(y+M<0||m+C<0||y+M>=i||m+C>=i)&&!(e&&!e(m+C,y+M))&&!!this._qr&&this._qr.isDark(m+C,y+M))),_._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(_._element));if(o.shape===K){const m=this._roundSize((a/p-i)/2),y=i+2*m,M=v-m*p,C=w-m*p,n=[],d=this._roundSize(y/2);for(let s=0;s<y;s++){n[s]=[];for(let u=0;u<y;u++)s>=m-1&&s<=y-m&&u>=m-1&&u<=y-m||Math.sqrt((s-d)*(s-d)+(u-d)*(u-d))>d?n[s][u]=0:n[s][u]=this._qr.isDark(u-2*m<0?u:u>=i?u-2*m:u-m,s-2*m<0?s:s>=i?s-2*m:s-m)?1:0}for(let s=0;s<y;s++)for(let u=0;u<y;u++)n[s][u]&&(_.draw(M+u*p,C+s*p,p,((l,b)=>{var S;return!!(!((S=n[s+b])===null||S===void 0)&&S[u+l])})),_._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(_._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const e=this._element,t=this._options;if(!e)throw"Element code is not defined";const r=this._qr.getModuleCount(),o=Math.min(t.width,t.height)-2*t.margin,i=t.shape===K?o/Math.sqrt(2):o,a=this._roundSize(i/r),f=7*a,p=3*a,v=this._roundSize((t.width-r*a)/2),w=this._roundSize((t.height-r*a)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach((([_,m,y])=>{var M,C,n,d,s,u,l,b,S,O,$,D,B,T;const R=v+_*a*(r-7),q=w+m*a*(r-7);let k=this._dotsClipPath,x=this._dotsClipPath;if((!((M=t.cornersSquareOptions)===null||M===void 0)&&M.gradient||!((C=t.cornersSquareOptions)===null||C===void 0)&&C.color)&&(k=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),k.setAttribute("id",`clip-path-corners-square-color-${_}-${m}-${this._instanceId}`),this._defs.appendChild(k),this._cornersSquareClipPath=this._cornersDotClipPath=x=k,this._createColor({options:(n=t.cornersSquareOptions)===null||n===void 0?void 0:n.gradient,color:(d=t.cornersSquareOptions)===null||d===void 0?void 0:d.color,additionalRotation:y,x:R,y:q,height:f,width:f,name:`corners-square-color-${_}-${m}-${this._instanceId}`})),((s=t.cornersSquareOptions)===null||s===void 0?void 0:s.type)&&tt.includes(t.cornersSquareOptions.type)){const I=new Y({svg:this._element,type:t.cornersSquareOptions.type,window:this._window});I.draw(R,q,f,y),I._element&&k&&k.appendChild(I._element)}else{const I=new it({svg:this._element,type:((u=t.cornersSquareOptions)===null||u===void 0?void 0:u.type)||t.dotsOptions.type,window:this._window});for(let N=0;N<F.length;N++)for(let A=0;A<F[N].length;A++)!((l=F[N])===null||l===void 0)&&l[A]&&(I.draw(R+A*a,q+N*a,a,((G,H)=>{var U;return!!(!((U=F[N+H])===null||U===void 0)&&U[A+G])})),I._element&&k&&k.appendChild(I._element))}if((!((b=t.cornersDotOptions)===null||b===void 0)&&b.gradient||!((S=t.cornersDotOptions)===null||S===void 0)&&S.color)&&(x=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),x.setAttribute("id",`clip-path-corners-dot-color-${_}-${m}-${this._instanceId}`),this._defs.appendChild(x),this._cornersDotClipPath=x,this._createColor({options:(O=t.cornersDotOptions)===null||O===void 0?void 0:O.gradient,color:($=t.cornersDotOptions)===null||$===void 0?void 0:$.color,additionalRotation:y,x:R+2*a,y:q+2*a,height:p,width:p,name:`corners-dot-color-${_}-${m}-${this._instanceId}`})),((D=t.cornersDotOptions)===null||D===void 0?void 0:D.type)&&z.includes(t.cornersDotOptions.type)){const I=new W({svg:this._element,type:t.cornersDotOptions.type,window:this._window});I.draw(R+2*a,q+2*a,p,y),I._element&&x&&x.appendChild(I._element)}else{const I=new it({svg:this._element,type:((B=t.cornersDotOptions)===null||B===void 0?void 0:B.type)||t.dotsOptions.type,window:this._window});for(let N=0;N<E.length;N++)for(let A=0;A<E[N].length;A++)!((T=E[N])===null||T===void 0)&&T[A]&&(I.draw(R+A*a,q+N*a,a,((G,H)=>{var U;return!!(!((U=E[N+H])===null||U===void 0)&&U[A+G])})),I._element&&x&&x.appendChild(I._element))}}))}loadImage(){return new Promise(((e,t)=>{var r;const o=this._options;if(!o.image)return t("Image is not defined");if(!((r=o.nodeCanvas)===null||r===void 0)&&r.loadImage)o.nodeCanvas.loadImage(o.image).then((i=>{var a,f;if(this._image=i,this._options.imageOptions.saveAsBlob){const p=(a=o.nodeCanvas)===null||a===void 0?void 0:a.createCanvas(this._image.width,this._image.height);(f=p==null?void 0:p.getContext("2d"))===null||f===void 0||f.drawImage(i,0,0),this._imageUri=p==null?void 0:p.toDataURL()}e()})).catch(t);else{const i=new this._window.Image;typeof o.imageOptions.crossOrigin=="string"&&(i.crossOrigin=o.imageOptions.crossOrigin),this._image=i,i.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await(async function(a,f){return new Promise((p=>{const v=new f.XMLHttpRequest;v.onload=function(){const w=new f.FileReader;w.onloadend=function(){p(w.result)},w.readAsDataURL(v.response)},v.open("GET",a),v.responseType="blob",v.send()}))})(o.image||"",this._window)),e()},i.src=o.image}}))}async drawImage({width:e,height:t,count:r,dotSize:o}){const i=this._options,a=this._roundSize((i.width-r*o)/2),f=this._roundSize((i.height-r*o)/2),p=a+this._roundSize(i.imageOptions.margin+(r*o-e)/2),v=f+this._roundSize(i.imageOptions.margin+(r*o-t)/2),w=e-2*i.imageOptions.margin,_=t-2*i.imageOptions.margin,m=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");m.setAttribute("href",this._imageUri||""),m.setAttribute("xlink:href",this._imageUri||""),m.setAttribute("x",String(p)),m.setAttribute("y",String(v)),m.setAttribute("width",`${w}px`),m.setAttribute("height",`${_}px`),this._element.appendChild(m)}_createColor({options:e,color:t,additionalRotation:r,x:o,y:i,height:a,width:f,name:p}){const v=f>a?f:a,w=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(w.setAttribute("x",String(o)),w.setAttribute("y",String(i)),w.setAttribute("height",String(a)),w.setAttribute("width",String(f)),w.setAttribute("clip-path",`url('#clip-path-${p}')`),e){let _;if(e.type==="radial")_=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),_.setAttribute("id",p),_.setAttribute("gradientUnits","userSpaceOnUse"),_.setAttribute("fx",String(o+f/2)),_.setAttribute("fy",String(i+a/2)),_.setAttribute("cx",String(o+f/2)),_.setAttribute("cy",String(i+a/2)),_.setAttribute("r",String(v/2));else{const m=((e.rotation||0)+r)%(2*Math.PI),y=(m+2*Math.PI)%(2*Math.PI);let M=o+f/2,C=i+a/2,n=o+f/2,d=i+a/2;y>=0&&y<=.25*Math.PI||y>1.75*Math.PI&&y<=2*Math.PI?(M-=f/2,C-=a/2*Math.tan(m),n+=f/2,d+=a/2*Math.tan(m)):y>.25*Math.PI&&y<=.75*Math.PI?(C-=a/2,M-=f/2/Math.tan(m),d+=a/2,n+=f/2/Math.tan(m)):y>.75*Math.PI&&y<=1.25*Math.PI?(M+=f/2,C+=a/2*Math.tan(m),n-=f/2,d-=a/2*Math.tan(m)):y>1.25*Math.PI&&y<=1.75*Math.PI&&(C+=a/2,M+=f/2/Math.tan(m),d-=a/2,n-=f/2/Math.tan(m)),_=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),_.setAttribute("id",p),_.setAttribute("gradientUnits","userSpaceOnUse"),_.setAttribute("x1",String(Math.round(M))),_.setAttribute("y1",String(Math.round(C))),_.setAttribute("x2",String(Math.round(n))),_.setAttribute("y2",String(Math.round(d)))}e.colorStops.forEach((({offset:m,color:y})=>{const M=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");M.setAttribute("offset",100*m+"%"),M.setAttribute("stop-color",y),_.appendChild(M)})),w.setAttribute("fill",`url('#${p}')`),this._defs.appendChild(_)}else t&&w.setAttribute("fill",t);this._element.appendChild(w)}}J.instanceCount=0;const nt=J,et="canvas",gt={};for(let h=0;h<=40;h++)gt[h]=h;const pt={type:et,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:gt[0],mode:void 0,errorCorrectionLevel:"Q"}
3,imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function st(h){const e=Object.assign({},h);if(!e.colorStops||!e.colorStops.length)throw"Field 'colorStops' is required in gradient";return e.rotation?e.rotation=Number(e.rotation):e.rotation=0,e.colorStops=e.colorStops.map((t=>Object.assign(Object.assign({},t),{offset:Number(t.offset)}))),e}function ft(h){const e=Object.assign({},h);return e.width=Number(e.width),e.height=Number(e.height),e.margin=Number(e.margin),e.imageOptions=Object.assign(Object.assign({},e.imageOptions),{hideBackgroundDots:!!e.imageOptions.hideBackgroundDots,imageSize:Number(e.imageOptions.imageSize),margin:Number(e.imageOptions.margin)}),e.margin>Math.min(e.width,e.height)&&(e.margin=Math.min(e.width,e.height)),e.dotsOptions=Object.assign({},e.dotsOptions),e.dotsOptions.gradient&&(e.dotsOptions.gradient=st(e.dotsOptions.gradient)),e.cornersSquareOptions&&(e.cornersSquareOptions=Object.assign({},e.cornersSquareOptions),e.cornersSquareOptions.gradient&&(e.cornersSquareOptions.gradient=st(e.cornersSquareOptions.gradient))),e.cornersDotOptions&&(e.cornersDotOptions=Object.assign({},e.cornersDotOptions),e.cornersDotOptions.gradient&&(e.cornersDotOptions.gradient=st(e.cornersDotOptions.gradient))),e.backgroundOptions&&(e.backgroundOptions=Object.assign({},e.backgroundOptions),e.backgroundOptions.gradient&&(e.backgroundOptions.gradient=st(e.backgroundOptions.gradient))),e}var wt=Z(873),bt=Z.n(wt);function at(h){if(!h)throw new Error("Extension must be defined");h[0]==="."&&(h=h.substring(1));const e={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[h.toLowerCase()];if(!e)throw new Error(`Extension "${h}" is not supported`);return e}class g{constructor(e){e!=null&&e.jsdom?this._window=new e.jsdom("",{resources:"usable"}).window:this._window=window,this._options=e?ft(P(pt,e)):pt,this.update()}static _clearContainer(e){e&&(e.innerHTML="")}_setupSvg(){if(!this._qr)return;const e=new nt(this._options,this._window);this._svg=e.getElement(),this._svgDrawingPromise=e.drawQR(this._qr).then((()=>{var t;this._svg&&((t=this._extension)===null||t===void 0||t.call(this,e.getElement(),this._options))}))}_setupCanvas(){var e,t;this._qr&&(!((e=this._options.nodeCanvas)===null||e===void 0)&&e.createCanvas?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=(t=this._svgDrawingPromise)===null||t===void 0?void 0:t.then((()=>{var r;if(!this._svg)return;const o=this._svg,i=new this._window.XMLSerializer().serializeToString(o),a=btoa(i),f=`data:${at("svg")};base64,${a}`;if(!((r=this._options.nodeCanvas)===null||r===void 0)&&r.loadImage)return this._options.nodeCanvas.loadImage(f).then((p=>{var v,w;p.width=this._options.width,p.height=this._options.height,(w=(v=this._nodeCanvas)===null||v===void 0?void 0:v.getContext("2d"))===null||w===void 0||w.drawImage(p,0,0)}));{const p=new this._window.Image;return new Promise((v=>{p.onload=()=>{var w,_;(_=(w=this._domCanvas)===null||w===void 0?void 0:w.getContext("2d"))===null||_===void 0||_.drawImage(p,0,0),v()},p.src=f}))}})))}async _getElement(e="png"){if(!this._qr)throw"QR code is empty";return e.toLowerCase()==="svg"?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(e){g._clearContainer(this._container),this._options=e?ft(P(this._options,e)):this._options,this._options.data&&(this._qr=bt()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||(function(t){switch(!0){case/^[0-9]*$/.test(t):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(t):return"Alphanumeric";default:return"Byte"}})(this._options.data)),this._qr.make(),this._options.type===et?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(e){if(e){if(typeof e.appendChild!="function")throw"Container should be a single DOM node";
3this._options.type===et?this._domCanvas&&e.appendChild(this._domCanvas):this._svg&&e.appendChild(this._svg),this._container=e}}applyExtension(e){if(!e)throw"Extension function should be defined.";this._extension=e,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(e="png"){if(!this._qr)throw"QR code is empty";const t=await this._getElement(e),r=at(e);if(!t)return null;if(e.toLowerCase()==="svg"){const o=`<?xml version="1.0" standalone="no"?>\r 4${new this._window.XMLSerializer().serializeToString(t)}`;return typeof Blob>"u"||this._options.jsdom?Buffer.from(o):new Blob([o],{type:r})}return new Promise((o=>{const i=t;if("toBuffer"in i)if(r==="image/png")o(i.toBuffer(r));else if(r==="image/jpeg")o(i.toBuffer(r));else{if(r!=="application/pdf")throw Error("Unsupported extension");o(i.toBuffer(r))}else"toBlob"in i&&i.toBlob(o,r,1)}))}async download(e){if(!this._qr)throw"QR code is empty";if(typeof Blob>"u")throw"Cannot download in Node.js, call getRawData instead.";let t="png",r="qr";typeof e=="string"?(t=e,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof e=="object"&&e!==null&&(e.name&&(r=e.name),e.extension&&(t=e.extension));const o=await this._getElement(t);if(o)if(t.toLowerCase()==="svg"){let i=new XMLSerializer().serializeToString(o);i=`<?xml version="1.0" standalone="no"?>\r 5`+i,L(`data:${at(t)};charset=utf-8,${encodeURIComponent(i)}`,`${r}.svg`)}else L(o.toDataURL(at(t)),`${r}.${t}`)}}const c=g})(),lt.default})()))})(_t)),_t.exports}var zt=kt();const Bt=At(zt),di=ht=>{const{data:ct,dataType:dt="Byte",errorCorrectionLevel:rt="H",qrCodeStyle:Z,onRendered:lt,...j}=ht,[P,L]=yt.useState(null),ot=xt(()=>Z),it=xt(lt);return yt.useEffect(()=>{if(!ct){L(null);return}const{width:X=300,height:tt=300,background:Y={color:"#fff"},dots:Q={color:"#000",type:"rounded"},cornerBorder:z={color:"#000",type:"rounded"},cornerDots:W={color:"#000",type:"rounded"},image:K=void 0,margin:F=0}=ot()||{},E=new AbortController;return(async()=>{try{const nt=await new Bt({data:ct,width:X,height:tt,shape:"square",type:"svg",backgroundOptions:Y,dotsOptions:Q,cornersSquareOptions:z,cornersDotOptions:W,image:K,margin:F,imageOptions:{saveAsBlob:!0,crossOrigin:"anonymous",hideBackgroundDots:!0,imageSize:.33,margin:0},qrOptions:{mode:dt,errorCorrectionLevel:rt,typeNumber:0}}).getRawData("svg");if(E.signal.aborted)return;if(!(nt instanceof Blob))throw new Error("Qr Code couldn't be rendered.");const et=URL.createObjectURL(nt);E.signal.addEventListener("abort",()=>{URL.revokeObjectURL(et)}),L(et),it(et)}catch(J){if(E.signal.aborted)return;L($t(J))}})(),()=>{E.abort()}},[ct,dt,rt,ot,it,Z]),P?vt.jsx("div",{...j,className:St("default:relative",ht.className),children:P instanceof Error?vt.jsx(Ot,{type:"error",description:P.message,children:"Error"}):P&&vt.jsx("img",{src:P,alt:"",className:"absolute left-0 top-0 w-full h-full bg-transparent border-none"})}):vt.jsx(Mt,{...ht})};export{di as QrCodeSuspended}; 6!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fb06af72-5b8e-5c90-8723-e5508decf5c5")}catch(e){}}() 7//# debugId=fb06af72-5b8e-5c90-8723-e5508decf5c5 8//# sourceMappingURL=qr-code-suspended-CkuwCcrC.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.