"use strict";(self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[2093],{9055:(n,r,t)=>{t.d(r,{PDFDocument:()=>e.Rj});var e=t(9455);t(6107),t(3955)},3955:(n,r,t)=>{t.d(r,{Ct:()=>Y,Qo:()=>g,pO:()=>_,Qk:()=>Q,ku:()=>F,DA:()=>V,GT:()=>j,k$:()=>Z,m_:()=>W,MU:()=>J,z7:()=>L,gI:()=>z,zo:()=>K,KU:()=>c.KU,Yj:()=>v,DV:()=>B,TE:()=>G,Vk:()=>c.Vk,D_:()=>c.D_,Dc:()=>c.Dc,Qs:()=>c.Qs,FV:()=>c.FV,C1:()=>c.C1,Eo:()=>u,vU:()=>S,JZ:()=>c.JZ,O0:()=>C.O0,Cl:()=>M,Z$:()=>l,f7:()=>c.f7,M5:()=>s,VX:()=>c.VX,Jm:()=>d,D$:()=>U,Sk:()=>c.Sk,sG:()=>c.sG,Ji:()=>X,Jp:()=>b,w6:()=>A,EO:()=>P,GP:()=>p,yJ:()=>E,PF:()=>y,Sm:()=>w,GN:()=>c.GN,yq:()=>c.yq,zv:()=>c.zv,CK:()=>c.CK,_f:()=>m,b3:()=>h,aB:()=>C.aB,nB:()=>C.nB,uj:()=>N});for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(256),i=0;i<64;i++)o[e.charCodeAt(i)]=i;for(var u=function(n){for(var r="",t=n.length,o=0;o>2],r+=e[(3&n[o])<<4|n[o+1]>>4],r+=e[(15&n[o+1])<<2|n[o+2]>>6],r+=e[63&n[o+2]];return t%3==2?r=r.substring(0,r.length-1)+"=":t%3==1&&(r=r.substring(0,r.length-2)+"=="),r},a=function(n){var r,t,e,i,u,a=.75*n.length,f=n.length,c=0;"="===n[n.length-1]&&(a--,"="===n[n.length-2]&&a--);var l=new Uint8Array(a);for(r=0;r>4,l[c++]=(15&e)<<4|i>>2,l[c++]=(3&i)<<6|63&u;return l},f=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,c=t(2244),l=function(n){return n[n.length-1]},h=function(n){if(n instanceof Uint8Array)return n;for(var r=n.length,t=new Uint8Array(r),e=0;e20&&(r-=20,t=(n/=Math.pow(10,r)).toString()+new Array(r+1).join("0"));return t},E=function(n){return Math.ceil(n.toString(2).length/8)},B=function(n){for(var r=new Uint8Array(E(n)),t=1;t<=r.length;t++)r[t-1]=n>>8*(r.length-t);return r},S=function(n){throw new Error(n)},D=t(1658),k=function(n){return Object.keys(n).map((function(r){return n[r]}))},T=k(D.S4),M=function(n){return T.includes(n)},P=function(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height},x=function(n){return"`"+n+"`"},I=function(n){var r=typeof n;return"string"===r?"'"+n+"'":"undefined"===r?x(n):n},V=function(n,r,t){Array.isArray(t)||(t=k(t));for(var e=0,o=t.length;ee)throw new Error(x(r)+" must be at least "+t+" and at most "+e+", but was actually "+n)},K=function(n,r,t,e){F(n,r,["number","undefined"]),"number"==typeof n&&z(n,r,t,e)},W=function(n,r,t){if(F(n,r,["number"]),n%t!=0)throw new Error(x(r)+" must be a multiple of "+t+", but was actually "+n)},Q=function(n,r){if(!Number.isInteger(n))throw new Error(x(r)+" must be an integer, but was actually "+n)},L=function(n,r){if(![1,0].includes(Math.sign(n)))throw new Error(x(r)+" must be a positive number or 0, but was actually "+n)},R=new Uint16Array(256),q=0;q<256;q++)R[q]=q;R[22]=(0,c.GN)(""),R[24]=(0,c.GN)("˘"),R[25]=(0,c.GN)("ˇ"),R[26]=(0,c.GN)("ˆ"),R[27]=(0,c.GN)("˙"),R[28]=(0,c.GN)("˝"),R[29]=(0,c.GN)("˛"),R[30]=(0,c.GN)("˚"),R[31]=(0,c.GN)("˜"),R[127]=(0,c.GN)("�"),R[128]=(0,c.GN)("•"),R[129]=(0,c.GN)("†"),R[130]=(0,c.GN)("‡"),R[131]=(0,c.GN)("…"),R[132]=(0,c.GN)("—"),R[133]=(0,c.GN)("–"),R[134]=(0,c.GN)("ƒ"),R[135]=(0,c.GN)("⁄"),R[136]=(0,c.GN)("‹"),R[137]=(0,c.GN)("›"),R[138]=(0,c.GN)("−"),R[139]=(0,c.GN)("‰"),R[140]=(0,c.GN)("„"),R[141]=(0,c.GN)("“"),R[142]=(0,c.GN)("”"),R[143]=(0,c.GN)("‘"),R[144]=(0,c.GN)("’"),R[145]=(0,c.GN)("‚"),R[146]=(0,c.GN)("™"),R[147]=(0,c.GN)("fi"),R[148]=(0,c.GN)("fl"),R[149]=(0,c.GN)("Ł"),R[150]=(0,c.GN)("Œ"),R[151]=(0,c.GN)("Š"),R[152]=(0,c.GN)("Ÿ"),R[153]=(0,c.GN)("Ž"),R[154]=(0,c.GN)("ı"),R[155]=(0,c.GN)("ł"),R[156]=(0,c.GN)("œ"),R[157]=(0,c.GN)("š"),R[158]=(0,c.GN)("ž"),R[159]=(0,c.GN)("�"),R[160]=(0,c.GN)("€"),R[173]=(0,c.GN)("�");var X=function(n){for(var r=new Array(n.length),t=0,e=n.length;t{t.d(r,{y:()=>i});var e,o=t(8765);!function(n){n.Greyscale="Greyscale",n.Truecolour="Truecolour",n.IndexedColour="IndexedColour",n.GreyscaleWithAlpha="GreyscaleWithAlpha",n.TruecolourWithAlpha="TruecolourWithAlpha"}(e||(e={}));var i=function(){function n(n){var r=o.Z.decode(n),t=o.Z.toRGBA8(r);if(t.length>1)throw new Error("Animated PNGs are not supported");var i=function(n){for(var r=Math.floor(n.length/4),t=new Uint8Array(3*r),e=new Uint8Array(1*r),o=0,i=0,u=0;o{t.d(r,{R:()=>e});var e=function(){function n(n){this.seed=n}return n.prototype.nextInt=function(){var n=1e4*Math.sin(this.seed++);return n-Math.floor(n)},n.withSeed=function(r){return new n(r)},n}()},2244:(n,r,t)=>{t.d(r,{C1:()=>l,CK:()=>i,D_:()=>a,Dc:()=>f,FV:()=>h,GN:()=>e,JZ:()=>G,KU:()=>w,Qs:()=>p,Sk:()=>c,VX:()=>v,Vk:()=>y,f7:()=>g,sG:()=>b,yq:()=>o,zv:()=>u});var e=function(n){return n.charCodeAt(0)},o=function(n){return n.codePointAt(0)},i=function(n,r){return c(n.toString(16),r,"0").toUpperCase()},u=function(n){return i(n,2)},a=function(n){return String.fromCharCode(n)},f=function(n){return a(parseInt(n,16))},c=function(n,r,t){for(var e="",o=0,i=r-n.length;o=55296&&e<=56319&&n.length>o&&(t=n.charCodeAt(o))>=56320&&t<=57343&&(i=2),[n.slice(r,r+i),i]},p=function(n){for(var r=[],t=0,e=n.length;tt&&c(),u+=v,a+=y}}return c(),f},A=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,b=function(n){var r=n.match(A);if(r){var t=r[1],e=r[2],o=void 0===e?"01":e,i=r[3],u=void 0===i?"01":i,a=r[4],f=void 0===a?"00":a,c=r[5],l=void 0===c?"00":c,h=r[6],s=void 0===h?"00":h,d=r[7],g=void 0===d?"Z":d,v=r[8],y=void 0===v?"00":v,p=r[9];return new Date(t+"-"+o+"-"+u+"T"+f+":"+l+":"+s+("Z"===g?"Z":""+g+y+":"+(void 0===p?"00":p)))}},G=function(n,r){for(var t,e,o=0;o{t.d(r,{$O:()=>c,D1:()=>f,O0:()=>w,aB:()=>h,nB:()=>i,pY:()=>a,yo:()=>u});var e,o=t(2244),i=function(n,r){void 0===r&&(r=!0);var t=[];r&&t.push(65279);for(var e=0,i=n.length;e=0&&n<=65535},a=function(n){return n>=65536&&n<=1114111},f=function(n){return Math.floor((n-65536)/1024)+55296},c=function(n){return(n-65536)%1024+56320};!function(n){n.BigEndian="BigEndian",n.LittleEndian="LittleEndian"}(e||(e={}));var l="�".codePointAt(0),h=function(n,r){if(void 0===r&&(r=!0),n.length<=1)return String.fromCodePoint(l);for(var t=r?v(n):e.BigEndian,o=r?2:0,i=[];n.length-o>=2;){var u=g(n[o++],n[o++],t);if(s(u))if(n.length-o<2)i.push(l);else{var a=g(n[o++],n[o++],t);d(a)?i.push(u,a):i.push(l)}else d(u)?(o+=2,i.push(l)):i.push(u)}return o=55296&&n<=56319},d=function(n){return n>=56320&&n<=57343},g=function(n,r,t){if(t===e.LittleEndian)return r<<8|n;if(t===e.BigEndian)return n<<8|r;throw new Error("Invalid byteOrder: "+t)},v=function(n){return y(n)?e.BigEndian:p(n)?e.LittleEndian:e.BigEndian},y=function(n){return 254===n[0]&&255===n[1]},p=function(n){return 255===n[0]&&254===n[1]},w=function(n){return y(n)||p(n)}}}]);