PageSourceSearch

https://sheetstolabels.com/_next/static/chunks/d25117345e16b586.js

js sheetstolabels.com collected 2026-10-01 12:12:28 UTC 308,052 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92775,(t,e,r)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,r,n,o){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+n),o);for(var i=0;i<n;i++)t[o+i]=e[r+i]},flattenChunks:function(t){var e,r,n,o,i,a;for(e=0,n=0,r=t.length;e<r;e++)n+=t[e].length;for(e=0,a=new Uint8Array(n),o=0,r=t.length;e<r;e++)i=t[e],a.set(i,o),o+=i.length;return a}},i={arraySet:function(t,e,r,n,o){for(var i=0;i<n;i++)t[o+i]=e[r+i]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},852125,(t,e,r)=>{"use strict";var n,o,i,a=t.r(92775);function s(t){for(var e=t.length;--e>=0;)t[e]=0}var u=573,c=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],l=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=Array(576);s(d);var p=Array(60);s(p);var g=Array(512);s(g);var y=Array(256);s(y);var v=Array(29);s(v);var b=Array(30);function m(t,e,r,n,o){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=t&&t.length}function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function x(t){return t<256?g[t]:g[256+(t>>>7)]}function C(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,C(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function F(t,e,r){S(t,r[2*e],r[2*e+1])}function A(t,e){var r=0;do r|=1&t,t>>>=1,r<<=1;while(--e>0)return r>>>1}function k(t,e,r){var n,o,i=Array(16),a=0;for(n=1;n<=15;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=e;o++){var s=t[2*o+1];0!==s&&(t[2*o]=A(i[s]++,s))}}function _(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function D(t){t.bi_valid>8?C(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function B(t,e,r,n){var o=2*e,i=2*r;return t[o]<t[i]||t[o]===t[i]&&n[e]<=n[r]}function P(t,e,r){for(var n=t.heap[r],o=r<<1;o<=t.heap_len&&(o<t.heap_len&&B(e,t.heap[o+1],t.heap[o],t.depth)&&o++,!B(e,n,t.heap[o],t.depth));)t.heap[r]=t.heap[o],r=o,o<<=1;t.heap[r]=n}function T(t,e,r){var n,o,i,a,s=0;if(0!==t.last_lit)do n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],o=t.pending_buf[t.l_buf+s],s++,0===n?F(t,o,e):(F(t,(i=y[o])+256+1,e),0!==(a=c[i])&&S(t,o-=v[i],a),F(t,i=x(--n),r),0!==(a=l[i])&&S(t,n-=b[i],a));while(s<t.last_lit)F(t,256,e)}function O(t,e){var r,n,o,i=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,l=-1;for(r=0,t.heap_len=0,t.heap_max=u;r<c;r++)0!==i[2*r]?(t.heap[++t.heap_len]=l=r,t.depth[r]=0):i[2*r+1]=0;for(;t.heap_len<2;)i[2*(o=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[o]=0,t.opt_len--,s&&(t.static_len-=a[2*o+1]);for(e.max_code=l,r=t.heap_len>>1;r>=1;r--)P(t,i,r);o=c;do r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],P(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,i[2*o]=i[2*r]+i[2*n],t.depth[o]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,i[2*r+1]=i[2*n+1]=o,t.heap[1]=o++,P(t,i,1);while(t.heap_len>=2)t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,o,i,a,s,c=e.dyn_tree,l=e.max_code,h=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,g=e.stat_desc.max_length,y=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(c[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<u;r++)(i=c[2*c[2*(n=t.heap[r])+1]+1]+1)>g&&(i=g,y++),c[2*n+1]=i,!(n>l)&&(t.bl_count[i]++,a=0,n>=p&&(a=d[n-p]),s=c[2*n],t.opt_len+=s*(i+a),f&&(t.static_len+=s*(h[2*n+1]+a)));if(0!==y){do{for(i=g-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[g]--,y-=2}
1while(y>0)for(i=g;0!==i;i--)for(n=t.bl_count[i];0!==n;)!((o=t.heap[--r])>l)&&(c[2*o+1]!==i&&(t.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),n--)}}(t,e),k(i,l,t.bl_count)}function R(t,e,r){var n,o,i=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[(r+1)*2+1]=65535,n=0;n<=r;n++)o=a,a=e[(n+1)*2+1],++s<u&&o===a||(s<c?t.bl_tree[2*o]+=s:0!==o?(o!==i&&t.bl_tree[2*o]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,i=o,0===a?(u=138,c=3):o===a?(u=6,c=3):(u=7,c=4))}function N(t,e,r){var n,o,i=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),n=0;n<=r;n++)if(o=a,a=e[(n+1)*2+1],!(++s<u)||o!==a){if(s<c)do F(t,o,t.bl_tree);while(0!=--s)else 0!==o?(o!==i&&(F(t,o,t.bl_tree),s--),F(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(F(t,17,t.bl_tree),S(t,s-3,3)):(F(t,18,t.bl_tree),S(t,s-11,7));s=0,i=o,0===a?(u=138,c=3):o===a?(u=6,c=3):(u=7,c=4)}}s(b);var I=!1;function E(t,e,r,n){S(t,0+ +!!n,3),D(t),C(t,r),C(t,~r),a.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}r._tr_init=function(t){I||(!function(){var t,e,r,a,s,u=Array(16);for(a=0,r=0;a<28;a++)for(t=0,v[a]=r;t<1<<c[a];t++)y[r++]=a;for(y[r-1]=a,s=0,a=0;a<16;a++)for(t=0,b[a]=s;t<1<<l[a];t++)g[s++]=a;for(s>>=7;a<30;a++)for(t=0,b[a]=s<<7;t<1<<l[a]-7;t++)g[256+s++]=a;for(e=0;e<=15;e++)u[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,u[8]++;for(;t<=255;)d[2*t+1]=9,t++,u[9]++;for(;t<=279;)d[2*t+1]=7,t++,u[7]++;for(;t<=287;)d[2*t+1]=8,t++,u[8]++;for(k(d,287,u),t=0;t<30;t++)p[2*t+1]=5,p[2*t]=A(t,5);n=new m(d,c,257,286,15),o=new m(p,l,0,30,15),i=new m([],h,0,19,7)}(),I=!0),t.l_desc=new w(t.dyn_ltree,n),t.d_desc=new w(t.dyn_dtree,o),t.bl_desc=new w(t.bl_tree,i),t.bi_buf=0,t.bi_valid=0,_(t)},r._tr_stored_block=E,r._tr_flush_block=function(t,e,r,n){var o,i,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=0xf3ffc07f;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),O(t,t.l_desc),O(t,t.d_desc),a=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),O(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(i=t.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==e?E(t,e,r,n):4===t.strategy||i===o?(S(t,2+ +!!n,3),T(t,d,p)):(S(t,4+ +!!n,3),function(t,e,r,n){var o;for(S(t,e-257,5),S(t,r-1,5),S(t,n-4,4),o=0;o<n;o++)S(t,t.bl_tree[2*f[o]+1],3);N(t,t.dyn_ltree,e-1),N(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),T(t,t.dyn_ltree,t.dyn_dtree)),_(t),n&&D(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[(y[r]+256+1)*2]++,t.dyn_dtree[2*x(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){S(t,2,3),F(t,256,d),16===t.bi_valid?(C(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},837203,(t,e,r)=>{"use strict";e.exports=function(t,e,r,n){for(var o=65535&t,i=t>>>16&65535,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do i=i+(o=o+e[n++]|0)|0;while(--a)o%=65521,i%=65521}return o|i<<16}},812770,(t,e,r)=>{"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,o){var i=o+r;t^=-1;for(var a=o;a<i;a++)t=t>>>8^n[(t^e[a])&255];return -1^t}},91360,(t,e,r)=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},339160,(t,e,r)=>{"use strict";var n,o=t.r(92775),i=t.r(852125),a=t.r(837203),s=t.r(812770),u=t.r(91360),c=573;function l(t,e){return t.msg=u[e],e}function h(t){return(t<<1)-9*(t>4)}function f(t){for(var e=t.length;--e>=0;)t[e]=0}function d(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(o.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function p(t,e){i._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,d(t.strm)}function g(t,e){t.pending_buf[t.pending++]=e}function y(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function v(t,e){var r,n,o=t.max_chain_length,i=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,c=t.window,l=t.w_mask,h=t.prev,f
1=t.strstart+258,d=c[i+a-1],p=c[i+a];t.prev_length>=t.good_match&&(o>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+a]!==p||c[r+a-1]!==d||c[r]!==c[i]||c[++r]!==c[i+1])continue;i+=2,r++;do;while(c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&i<f)if(n=258-(f-i),i=f-258,n>a){if(t.match_start=e,a=n,n>=s)break;d=c[i+a-1],p=c[i+a]}}while((e=h[e&l])>u&&0!=--o)return a<=t.lookahead?a:t.lookahead}function b(t){var e,r,n,i,u,c=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-262)){o.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=r=t.hash_size;do n=t.head[--e],t.head[e]=n>=c?n-c:0;while(--r)e=r=c;do n=t.prev[--e],t.prev[e]=n>=c?n-c:0;while(--r)i+=c}if(0===t.strm.avail_in)break;if(r=function(t,e,r,n){var i=t.avail_in;return(i>n&&(i=n),0===i)?0:(t.avail_in-=i,o.arraySet(e,t.input,t.next_in,i,r),1===t.state.wrap?t.adler=a(t.adler,e,i,r):2===t.state.wrap&&(t.adler=s(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)}(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=r,t.lookahead+t.insert>=3)for(u=t.strstart-t.insert,t.ins_h=t.window[u],t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+3-1])&t.hash_mask,t.prev[u&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=u,u++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function m(t,e){for(var r,n;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=v(t,r)),t.match_length>=3)if(n=i._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!=--t.match_length)t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=t.strstart<2?t.strstart:2,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}function w(t,e){for(var r,n,o;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=v(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-3,n=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!=--t.prev_length)if(t.match_available=0,t.match_length=2,t.strstart++,n&&(p(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=i._tr_tally(t,0,t.window[t.strstart-1]))&&p(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return(t.match_available&&(n=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}function x(t,e,r,n,o){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=o}function C(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*c),this.dyn_dtree=new o.Buf16(122),this.bl_tree=new o.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(16),this.heap=new o.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=+(2!==e.wrap),e.last_flush=0,i._tr_init(e),0):l(t,-2)}function F(t){var e,r=S(t);return 0===r&&((e=t.state).window_size=2*e.w_size,f(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function A(t,e,r,n,i,a){if(!t)return -2;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),i<1||i>9||8!==r||n<8||n>15||e<0||e>9||a<0||a>4)return l(t,-2);8===n&&(n=9);var u=new C;return t.state=u,u.strm=t,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=i+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new o.Buf8(2*u.w_size),u.head=new o.Buf16(u.hash_size),u.prev=new o.Buf16(u.w_size),u.lit_bufsize=1<<i+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new o.Buf8(u.pending_buf_size),u.d_buf=+u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=e,u.strategy=a,u.method=r,F(t)}n=[new x(0,0,0,0,function(t,e){var r=65535;for(65535>
1t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(b(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,p(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:(t.strstart>t.block_start&&(p(t,!1),t.strm.avail_out),1)}),new x(4,4,8,4,m),new x(4,5,16,8,m),new x(4,6,32,32,m),new x(4,4,16,16,w),new x(8,16,32,32,w),new x(8,16,128,128,w),new x(8,32,128,256,w),new x(32,128,258,1024,w),new x(32,258,258,4096,w)],r.deflateInit=function(t,e){return A(t,e,8,15,8,0)},r.deflateInit2=A,r.deflateReset=F,r.deflateResetKeep=S,r.deflateSetHeader=function(t,e){return t&&t.state&&2===t.state.wrap?(t.state.gzhead=e,0):-2},r.deflate=function(t,e){if(!t||!t.state||e>5||e<0)return t?l(t,-2):-2;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||666===o.status&&4!==e)return l(t,0===t.avail_out?-5:-2);if(o.strm=t,r=o.last_flush,o.last_flush=e,42===o.status)if(2===o.wrap)t.adler=0,g(o,31),g(o,139),g(o,8),o.gzhead?(g(o,+!!o.gzhead.text+2*!!o.gzhead.hcrc+4*!!o.gzhead.extra+8*!!o.gzhead.name+16*!!o.gzhead.comment),g(o,255&o.gzhead.time),g(o,o.gzhead.time>>8&255),g(o,o.gzhead.time>>16&255),g(o,o.gzhead.time>>24&255),g(o,9===o.level?2:4*(o.strategy>=2||o.level<2)),g(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(g(o,255&o.gzhead.extra.length),g(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=s(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(g(o,0),g(o,0),g(o,0),g(o,0),g(o,0),g(o,9===o.level?2:4*(o.strategy>=2||o.level<2)),g(o,3),o.status=113);else{var r,o,a,u,c=8+(o.w_bits-8<<4)<<8;c|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(c|=32),c+=31-c%31,o.status=113,y(o,c),0!==o.strstart&&(y(o,t.adler>>>16),y(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),d(t),a=o.pending,o.pending!==o.pending_buf_size));)g(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),d(t),a=o.pending,o.pending===o.pending_buf_size)){u=1;break}u=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,g(o,u)}while(0!==u)o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===u&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),d(t),a=o.pending,o.pending===o.pending_buf_size)){u=1;break}u=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,g(o,u)}while(0!==u)o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===u&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&d(t),o.pending+2<=o.pending_buf_size&&(g(o,255&t.adler),g(o,t.adler>>8&255),t.adler=0,o.status=113)):o.status=113),0!==o.pending){if(d(t),0===t.avail_out)return o.last_flush=-1,0}else if(0===t.avail_in&&h(e)<=h(r)&&4!==e)return l(t,-5);if(666===o.status&&0!==t.avail_in)return l(t,-5);if(0!==t.avail_in||0!==o.lookahead||0!==e&&666!==o.status){var v=2===o.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(b(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}(o,e):3===o.strategy?function(t,e){for(var r,n,o,a,s=t.window;;){if(t.lookahead<=258){if(b(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[o=t.strstart-1])===s[++o]&&n===s[++o]&&n===s[++o]){a=t.strstart+258;do;while(n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&o<a)t.match_length=258-(a-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=i._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}(o,e):n[o.level].func(o,e);if((3===v||4===v)&&(o.status=666),1===v||3===v)return 0===t.avail_out&&(o.last_flush=-1),0;if(2===v&&(1===e?i._tr_align(o):5!==e&&(i._tr_stored_block(o,0,0,!1),3===e&&(f(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),d(t),0===t.avail_out))return o.last_flush=-1,0}return 4!==e?0:o.wrap<=0?1:(2===o.wrap?(g(o,255&t.adler),g(o,t.adler>>8&255),g(o,t.adler>>16&255),g(o,t.adler>>24&255),g(o,255&t.total_in),g(o,t.total_in>>8&255),g(o,t.total_in>>16&255),g(o,t.total_in>>24&255)):(y(o,t.adler>>>16),y(o,65535&t.adler)),d(t),o.wrap>0&&(o.wrap=-o.wrap),+(0===o.pending))},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?l(t,-2):(t.state=null,113===e?l(t,-3):0):-2},r.deflateSetDictionary=function(t,e){var r,n,i,s,u,c,l,h,d=e.length;
1if(!t||!t.state||2===(s=(r=t.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(t.adler=a(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new o.Buf8(r.w_size),o.arraySet(h,e,d-r.w_size,r.w_size,0),e=h,d=r.w_size),u=t.avail_in,c=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,b(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++;while(--i)r.strstart=n,r.lookahead=2,b(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=c,t.input=l,t.avail_in=u,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},577627,(t,e,r)=>{"use strict";var n=t.r(92775),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(t){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){i=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(t,e){if(e<65534&&(t.subarray&&i||!t.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a<e;a++)r+=String.fromCharCode(t[a]);return r}a[254]=a[254]=1,r.string2buf=function(t){var e,r,o,i,a,s=t.length,u=0;for(i=0;i<s;i++)(64512&(r=t.charCodeAt(i)))==55296&&i+1<s&&(64512&(o=t.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(o-56320),i++),u+=r<128?1:r<2048?2:r<65536?3:4;for(a=0,e=new n.Buf8(u),i=0;a<u;i++)(64512&(r=t.charCodeAt(i)))==55296&&i+1<s&&(64512&(o=t.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(o-56320),i++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,o=e.length;r<o;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,n,o,i,s=e||t.length,c=Array(2*s);for(n=0,r=0;r<s;){if((o=t[r++])<128){c[n++]=o;continue}if((i=a[o])>4){c[n++]=65533,r+=i-1;continue}for(o&=2===i?31:3===i?15:7;i>1&&r<s;)o=o<<6|63&t[r++],i--;if(i>1){c[n++]=65533;continue}o<65536?c[n++]=o:(o-=65536,c[n++]=55296|o>>10&1023,c[n++]=56320|1023&o)}return u(c,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&(192&t[r])==128;)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}},976929,(t,e,r)=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},85381,(t,e,r)=>{"use strict";var n=t.r(339160),o=t.r(92775),i=t.r(577627),a=t.r(91360),s=t.r(976929),u=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e,r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var l=n.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==l)throw Error(a[l]);if(r.header&&n.deflateSetHeader(this.strm,r.header),r.dictionary){if(e="string"==typeof r.dictionary?i.string2buf(r.dictionary):"[object ArrayBuffer]"===u.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(l=n.deflateSetDictionary(this.strm,e)))throw Error(a[l]);this._dict_set=!0}}function l(t,e){var r=new c(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}c.prototype.push=function(t,e){var r,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:4*(!0===e),"string"==typeof t?s.input=i.string2buf(t):"[object ArrayBuffer]"===u.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(c),s.next_out=0,s.avail_out=c),1!==(r=n.deflate(s,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&(4===a||2===a))&&("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>
10||0===s.avail_out)&&1!==r)return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):(2===a&&(this.onEnd(0),s.avail_out=0),!0)},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=c,r.deflate=l,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,l(t,e)}},68322,(t,e,r)=>{"use strict";e.exports=function(t,e){var r,n,o,i,a,s,u,c,l,h,f,d,p,g,y,v,b,m,w,x,C,S,F,A,k;r=t.state,n=t.next_in,A=t.input,o=n+(t.avail_in-5),i=t.next_out,k=t.output,a=i-(e-t.avail_out),s=i+(t.avail_out-257),u=r.dmax,c=r.wsize,l=r.whave,h=r.wnext,f=r.window,d=r.hold,p=r.bits,g=r.lencode,y=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;t:do for(p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),m=g[d&v];;){if(d>>>=w=m>>>24,p-=w,0==(w=m>>>16&255))k[i++]=65535&m;else if(16&w)for(x=65535&m,(w&=15)&&(p<w&&(d+=A[n++]<<p,p+=8),x+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),m=y[d&b];;){if(d>>>=w=m>>>24,p-=w,16&(w=m>>>16&255)){if(C=65535&m,p<(w&=15)&&(d+=A[n++]<<p,(p+=8)<w&&(d+=A[n++]<<p,p+=8)),(C+=d&(1<<w)-1)>u){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=w,p-=w,C>(w=i-a)){if((w=C-w)>l&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(S=0,F=f,0===h){if(S+=c-w,w<x){x-=w;do k[i++]=f[S++];while(--w)S=i-C,F=k}}else if(h<w){if(S+=c+h-w,(w-=h)<x){x-=w;do k[i++]=f[S++];while(--w)if(S=0,h<x){x-=w=h;do k[i++]=f[S++];while(--w)S=i-C,F=k}}}else if(S+=h-w,w<x){x-=w;do k[i++]=f[S++];while(--w)S=i-C,F=k}for(;x>2;)k[i++]=F[S++],k[i++]=F[S++],k[i++]=F[S++],x-=3;x&&(k[i++]=F[S++],x>1&&(k[i++]=F[S++]))}else{S=i-C;do k[i++]=k[S++],k[i++]=k[S++],k[i++]=k[S++],x-=3;while(x>2)x&&(k[i++]=k[S++],x>1&&(k[i++]=k[S++]))}}else if((64&w)==0){m=y[(65535&m)+(d&(1<<w)-1)];continue}else{t.msg="invalid distance code",r.mode=30;break t}break}else if((64&w)==0){m=g[(65535&m)+(d&(1<<w)-1)];continue}else if(32&w){r.mode=12;break t}else{t.msg="invalid literal/length code",r.mode=30;break t}break}while(n<o&&i<s)n-=x=p>>3,p-=x<<3,d&=(1<<p)-1,t.next_in=n,t.next_out=i,t.avail_in=n<o?5+(o-n):5-(n-o),t.avail_out=i<s?257+(s-i):257-(i-s),r.hold=d,r.bits=p}},979013,(t,e,r)=>{"use strict";var n=t.r(92775),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,u,c,l,h,f){var d,p,g,y,v,b,m,w,x,C=f.bits,S=0,F=0,A=0,k=0,_=0,D=0,B=0,P=0,T=0,O=0,R=null,N=0,I=new n.Buf16(16),E=new n.Buf16(16),z=null,M=0;for(S=0;S<=15;S++)I[S]=0;for(F=0;F<u;F++)I[e[r+F]]++;for(k=15,_=C;k>=1&&0===I[k];k--);if(_>k&&(_=k),0===k)return c[l++]=0x1400000,c[l++]=0x1400000,f.bits=1,0;for(A=1;A<k&&0===I[A];A++);for(_<A&&(_=A),P=1,S=1;S<=15;S++)if(P<<=1,(P-=I[S])<0)return -1;if(P>0&&(0===t||1!==k))return -1;for(S=1,E[1]=0;S<15;S++)E[S+1]=E[S]+I[S];for(F=0;F<u;F++)0!==e[r+F]&&(h[E[e[r+F]]++]=F);if(0===t?(R=z=h,b=19):1===t?(R=o,N-=257,z=i,M-=257,b=256):(R=a,z=s,b=-1),O=0,F=0,S=A,v=l,D=_,B=0,g=-1,y=(T=1<<_)-1,1===t&&T>852||2===t&&T>592)return 1;for(;;){m=S-B,h[F]<b?(w=0,x=h[F]):h[F]>b?(w=z[M+h[F]],x=R[N+h[F]]):(w=96,x=0),d=1<<S-B,A=p=1<<D;do c[v+(O>>B)+(p-=d)]=m<<24|w<<16|x;while(0!==p)for(d=1<<S-1;O&d;)d>>=1;if(0!==d?(O&=d-1,O+=d):O=0,F++,0==--I[S]){if(S===k)break;S=e[r+h[F]]}if(S>_&&(O&y)!==g){for(0===B&&(B=_),v+=A,P=1<<(D=S-B);D+B<k&&!((P-=I[D+B])<=0);)D++,P<<=1;if(T+=1<<D,1===t&&T>852||2===t&&T>592)return 1;c[g=O&y]=_<<24|D<<16|v-l}}return 0!==O&&(c[v+O]=S-B<<24|4194304),f.bits=_,0}},210929,(t,e,r)=>{"use strict";var n,o,i=t.r(92775),a=t.r(837203),s=t.r(812770),u=t.r(68322),c=t.r(979013);function l(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new i.Buf32(852),e.distcode=e.distdyn=new i.Buf32(592),e.sane=1,e.back=-1,0):-2}function d(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,f(t)):-2}function p(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,d(t)):-2}function g(t,e){var r,n;return t?(t.state=n=new h,n.window=null,0!==(r=p(t,e))&&(t.state=null),r):-2}var y=!0;function v(t,e,r,n){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new i.Buf8(a.wsize)),n>=a.wsize?(i.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>n&&(o=n),i.arraySet(a.window,e,r-n,o,a.wnext),(n-=o)?(i.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=d,r.inflateReset2=p,r.inflateResetKeep=f,r.inflateInit=function(t){return g(t,15)},r.inflateInit2=g,r.inflate=function(t,e){var r,h,f,d,p,g,b,m,w,x,C,S,F,A,k,_,D,B,P,T,O,R,N,I,E=0,z=new i.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(r=t.state).mode&&(r.mode=13),p=t.next_out,f=t.output,b=t.avail_out,d=t.next_in,h=t.input,g=t.avail_in,m=r.hold,w=r.bits,x=g,C=b,R=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;w<16;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(2&r.wrap&&35615===m){r.check=0,z[0]=255&m,z[1]=m>>>8&255,r.check=s(r.check,z,2,0),m=0,w=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&m)<<8)+(m>>8))%31){t.msg="incorrect header check",r.mode=30;break}if((15&m)!=8){t.msg="unknown compression method",r.mode=30;break}if(m>>>=4,w-=4,O=(15&m)+8,0===r.wbits)r.wbits=O;else if(O>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<O,t.adler=r.check=1,r.mode=512&m?10:12,m=0,w=0;break;case 2:for(;w<16;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(r.flags=m,(255&r.flags)!=8){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=m>>8&1),512&r.flags&&(z[0]=255&m,z[1]=m>>>8&255,r.check=s(r.check,z,2,0)),m=0,w=0,r.mode=3;case 3:for(;w<32;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.head&&(r.head.time=m),512&r.flags&&(z[0]=255&m,z[1]=m>>>8&255,z[2]=m>>>16&255,z[3]=m>>>24&255,r.check=s(r.check,z,4,0)),m=0,w=0,r.mode=4;case 4:for(;w<16;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.head&&(r.head.xflags=255&m,r.head.os=m>>8),512&r.flags&&(z[0]=255&m,z[1]=m>>>8&255,r.check=s(r.check,z,2,0)),m=0,w=0,r.mode=5;case 5:if(1024&r.flags){for(;w<16;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.length=m,r.head&&(r.head.extra_len=m),512&r.flags&&(z[0]=255&m,z[1]=m>>>8&255,r.check=s(r.check,z,2,0)),m=0,w=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>g&&(S=g),S&&(r.head&&(O=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),i.arraySet(r.head.extra,h,d,S,O)),512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;S=0;do O=h[d+S++],r.head&&O&&r.length<65536&&(r.head.name+=String.fromCharCode(O));while(O&&S<g)if(512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=S,O)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;S=0;do O=h[d+S++],r.head&&O&&r.length<65536&&(r.head.comment+=String.fromCharCode(O));while(O&&S<g)if(512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=S,O)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;w<16;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(m!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}m=0,w=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;w<32;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}t.adler=r.check=l(m),m=0,w=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=p,t.avail_out=b,t.next_in=d,t.avail_in=g,r.hold=m,r.bits=w,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break e;case 13:if(r.last){m>>>=7&w,w-=7&w,r.mode=27;break}for(;w<3;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}switch(r.last=1&m,w-=1,3&(m>>>=1)){case 0:r.mode=14;break;case 1:if(!function(t){if(y){var e;
1for(n=new i.Buf32(512),o=new i.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(c(1,t.lens,0,288,n,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;c(2,t.lens,0,32,o,0,t.work,{bits:5}),y=!1}t.lencode=n,t.lenbits=9,t.distcode=o,t.distbits=5}(r),r.mode=20,6===e){m>>>=2,w-=2;break e}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}m>>>=2,w-=2;break;case 14:for(m>>>=7&w,w-=7&w;w<32;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if((65535&m)!=(m>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&m,m=0,w=0,r.mode=15,6===e)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>g&&(S=g),S>b&&(S=b),0===S)break e;i.arraySet(f,h,d,S,p),g-=S,d+=S,b-=S,p+=S,r.length-=S;break}r.mode=12;break;case 17:for(;w<14;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(r.nlen=(31&m)+257,w-=5,r.ndist=(31&(m>>>=5))+1,w-=5,r.ncode=(15&(m>>>=5))+4,m>>>=4,w-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;w<3;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.lens[M[r.have++]]=7&m,m>>>=3,w-=3}for(;r.have<19;)r.lens[M[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},R=c(0,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,R){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;k=(E=r.lencode[m&(1<<r.lenbits)-1])>>>24,_=E>>>16&255,D=65535&E,!(k<=w);){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(D<16)m>>>=k,w-=k,r.lens[r.have++]=D;else{if(16===D){for(I=k+2;w<I;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(m>>>=k,w-=k,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}O=r.lens[r.have-1],S=3+(3&m),m>>>=2,w-=2}else if(17===D){for(I=k+3;w<I;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}m>>>=k,w-=k,O=0,S=3+(7&m),m>>>=3,w-=3}else{for(I=k+7;w<I;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}m>>>=k,w-=k,O=0,S=11+(127&m),m>>>=7,w-=7}if(r.have+S>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=O}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,N={bits:r.lenbits},R=c(1,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,R){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},R=c(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,R){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break e;case 20:r.mode=21;case 21:if(g>=6&&b>=258){t.next_out=p,t.avail_out=b,t.next_in=d,t.avail_in=g,r.hold=m,r.bits=w,u(t,C),p=t.next_out,f=t.output,b=t.avail_out,d=t.next_in,h=t.input,g=t.avail_in,m=r.hold,w=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;k=(E=r.lencode[m&(1<<r.lenbits)-1])>>>24,_=E>>>16&255,D=65535&E,!(k<=w);){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(_&&(240&_)==0){for(B=k,P=_,T=D;k=(E=r.lencode[T+((m&(1<<B+P)-1)>>B)])>>>24,_=E>>>16&255,D=65535&E,!(B+k<=w);){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}m>>>=B,w-=B,r.back+=B}if(m>>>=k,w-=k,r.back+=k,r.length=D,0===_){r.mode=26;break}if(32&_){r.back=-1,r.mode=12;break}if(64&_){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&_,r.mode=22;case 22:if(r.extra){for(I=r.extra;w<I;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.length+=m&(1<<r.extra)-1,m>>>=r.extra,w-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;
1k=(E=r.distcode[m&(1<<r.distbits)-1])>>>24,_=E>>>16&255,D=65535&E,!(k<=w);){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if((240&_)==0){for(B=k,P=_,T=D;k=(E=r.distcode[T+((m&(1<<B+P)-1)>>B)])>>>24,_=E>>>16&255,D=65535&E,!(B+k<=w);){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}m>>>=B,w-=B,r.back+=B}if(m>>>=k,w-=k,r.back+=k,64&_){t.msg="invalid distance code",r.mode=30;break}r.offset=D,r.extra=15&_,r.mode=24;case 24:if(r.extra){for(I=r.extra;w<I;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}r.offset+=m&(1<<r.extra)-1,m>>>=r.extra,w-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break e;if(S=C-b,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,F=r.wsize-S):F=r.wnext-S,S>r.length&&(S=r.length),A=r.window}else A=f,F=p-r.offset,S=r.length;S>b&&(S=b),b-=S,r.length-=S;do f[p++]=A[F++];while(--S)0===r.length&&(r.mode=21);break;case 26:if(0===b)break e;f[p++]=r.length,b--,r.mode=21;break;case 27:if(r.wrap){for(;w<32;){if(0===g)break e;g--,m|=h[d++]<<w,w+=8}if(C-=b,t.total_out+=C,r.total+=C,C&&(t.adler=r.check=r.flags?s(r.check,f,C,p-C):a(r.check,f,C,p-C)),C=b,(r.flags?m:l(m))!==r.check){t.msg="incorrect data check",r.mode=30;break}m=0,w=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;w<32;){if(0===g)break e;g--,m+=h[d++]<<w,w+=8}if(m!==(0|r.total)){t.msg="incorrect length check",r.mode=30;break}m=0,w=0}r.mode=29;case 29:R=1;break e;case 30:R=-3;break e;case 31:return -4;default:return -2}return t.next_out=p,t.avail_out=b,t.next_in=d,t.avail_in=g,r.hold=m,r.bits=w,(r.wsize||C!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&v(t,t.output,t.next_out,C-t.avail_out),x-=t.avail_in,C-=t.avail_out,t.total_in+=x,t.total_out+=C,r.total+=C,r.wrap&&C&&(t.adler=r.check=r.flags?s(r.check,f,C,t.next_out-C):a(r.check,f,C,t.next_out-C)),t.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0===x&&0===C||4===e)&&0===R&&(R=-5),R},r.inflateEnd=function(t){if(!t||!t.state)return -2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state&&(2&(r=t.state).wrap)!=0?(r.head=e,e.done=!1,0):-2},r.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state&&(0===(r=t.state).wrap||11===r.mode)?11===r.mode&&a(1,e,n,0)!==r.check?-3:v(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},249156,(t,e,r)=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},720549,(t,e,r)=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},198678,(t,e,r)=>{"use strict";var n=t.r(210929),o=t.r(92775),i=t.r(577627),a=t.r(249156),s=t.r(91360),u=t.r(976929),c=t.r(720549),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(t&&t.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits)==0&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK||(this.header=new c,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=i.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw)&&(r=n.inflateSetDictionary(this.strm,e.dictionary))!==a.Z_OK))throw Error(s[r])}function f(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}h.prototype.push=function(t,e){var r,s,u,c,h,f=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?f.input=i.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?f.input
1=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new o.Buf8(d),f.next_out=0,f.avail_out=d),(r=n.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===a.Z_BUF_ERROR&&!0===g&&(r=a.Z_OK,g=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;f.next_out&&(0===f.avail_out||r===a.Z_STREAM_END||0===f.avail_in&&(s===a.Z_FINISH||s===a.Z_SYNC_FLUSH))&&("string"===this.options.to?(u=i.utf8border(f.output,f.next_out),c=f.next_out-u,h=i.buf2string(f.output,u),f.next_out=c,f.avail_out=d-c,c&&o.arraySet(f.output,f.output,u,c,0),this.onData(h)):this.onData(o.shrinkBuf(f.output,f.next_out))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((f.avail_in>0||0===f.avail_out)&&r!==a.Z_STREAM_END)return(r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH)?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):(s===a.Z_SYNC_FLUSH&&(this.onEnd(a.Z_OK),f.avail_out=0),!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=h,r.inflate=f,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},r.ungzip=f},995767,(t,e,r)=>{"use strict";var n=t.r(92775).assign,o=t.r(85381),i=t.r(198678),a=t.r(249156),s={};n(s,o,i,a),e.exports=s},496615,(t,e,r)=>{},373373,299476,208693,757323,113342,817346,78389,281958,23221,631113,967672,545940,193487,255586,473048,34940,915461,923600,511667,122606,20795,52466,244039,220883,780875,187113,44003,142461,426283,295521,86092,297927,35694,19187,474346,426866,21742,267777,457424,492224,542481,376508,674777,75944,317157,539259,611807,497030,845708,877422,161102,342258,841055,101612,433995,95901,667433,741207,252430,701370,422e3,593876,601250,499487,70949,82335,595215,481595,68213,260636,359213,432877,690271,689021,797767,138159,676539,9113,232853,559002,560282,221133,569080,82001,927174,850139,533661,835391,605624,133863,966242,674196,748154,255235,t=>{"use strict";var e,r,n,o,i,a,s,u,c,l,h,f,d,p,g,y,v,b,m,w,x,C,S,F,A,k,_,D,B,P,T,O,R,N,I,E,z,M,j,W,L,U,H,K,G,V,q,Z,X,Y,J,Q,$,tt,te,tr,tn,to=function(t,e){return(to=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function ti(t,e){function r(){this.constructor=t}to(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var ta=function(){return(ta=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function ts(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(a,s)}u((n=n.apply(t,e||[])).next())})}function tu(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){var u=[i,s];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=e.call(t,a)}catch(t){u=[6,t],n=0}
1finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function tc(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),o=0,e=0;e<r;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}for(var tl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",th=new Uint8Array(256),tf=0;tf<tl.length;tf++)th[tl.charCodeAt(tf)]=tf;var td=function(t){for(var e="",r=t.length,n=0;n<r;n+=3)e+=tl[t[n]>>2],e+=tl[(3&t[n])<<4|t[n+1]>>4],e+=tl[(15&t[n+1])<<2|t[n+2]>>6],e+=tl[63&t[n+2]];return r%3==2?e=e.substring(0,e.length-1)+"=":r%3==1&&(e=e.substring(0,e.length-2)+"=="),e},tp=function(t){var e,r,n,o,i,a=.75*t.length,s=t.length,u=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var c=new Uint8Array(a);for(e=0;e<s;e+=4)r=th[t.charCodeAt(e)],n=th[t.charCodeAt(e+1)],o=th[t.charCodeAt(e+2)],i=th[t.charCodeAt(e+3)],c[u++]=r<<2|n>>4,c[u++]=(15&n)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return c},tg=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,ty=function(t){var e=t.trim(),r=e.substring(0,100).match(tg);if(!r)return tp(e);var n=r[0];return tp(e.substring(n.length))};t.s(["decodeFromBase64",()=>tp,"decodeFromBase64DataUri",()=>ty,"encodeToBase64",()=>td],299476);var tv=function(t){return t.charCodeAt(0)},tb=function(t){return t.codePointAt(0)},tm=function(t,e){return tS(t.toString(16),e,"0").toUpperCase()},tw=function(t){return tm(t,2)},tx=function(t){return String.fromCharCode(t)},tC=function(t){return tx(parseInt(t,16))},tS=function(t,e,r){for(var n="",o=0,i=e-t.length;o<i;o++)n+=r;return n+t},tF=function(t,e,r){for(var n=t.length,o=0;o<n;o++)e[r++]=t.charCodeAt(o);return n},tA=function(t,e){return void 0===e&&(e=4),t+"-"+Math.floor(Math.random()*Math.pow(10,e))},tk=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},t_=function(t){return t.replace(/\t|\u0085|\u2028|\u2029/g,"    ").replace(/[\b\v]/g,"")},tD=["\\n","\\f","\\r","\\u000B"],tB=["\n","\f","\r","\v"],tP=function(t){return/^[\n\f\r\u000B]$/.test(t)},tT=function(t){return t.split(/[\n\f\r\u000B]/)},tO=function(t){return t.replace(/[\n\f\r\u000B]/g," ")},tR=function(t,e){var r,n=t.charCodeAt(e),o=e+1,i=1;return n>=55296&&n<=56319&&t.length>o&&(r=t.charCodeAt(o))>=56320&&r<=57343&&(i=2),[t.slice(e,e+i),i]},tN=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=tR(t,r),i=o[0],a=o[1];e.push(i),r+=a}return e},tI=function(t){for(var e=tD.join("|"),r=["$"],n=0,o=t.length;n<o;n++){var i=t[n];if(tP(i))throw TypeError("`wordBreak` must not include "+e);r.push(""===i?".":tk(i))}return RegExp("("+e+")|((.*?)("+r.join("|")+"))","gm")},tE=function(t,e,r,n){for(var o=tI(e),i=t_(t).match(o),a="",s=0,u=[],c=function(){""!==a&&u.push(a),a="",s=0},l=0,h=i.length;l<h;l++){var f=i[l];if(tP(f))c();else{var d=n(f);s+d>r&&c(),a+=f,s+=d}}return c(),u},tz=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,tM=function(t){var e=t.match(tz);if(e){var r=e[1],n=e[2],o=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=void 0===u?"Z":u,l=e[8],h=e[9];return new Date(r+"-"+(void 0===n?"01":n)+"-"+(void 0===o?"01":o)+"T"+(void 0===i?"00":i)+":"+(void 0===a?"00":a)+":"+(void 0===s?"00":s)+("Z"===c?"Z":""+c+(void 0===l?"00":l)+":"+(void 0===h?"00":h)))}},tj=function(t,e){for(var r,n,o=0;o<t.length;){var i=t.substring(o).match(e);if(!i)break;n=i,o+=(null!=(r=i.index)?r:0)+i[0].length}return{match:n,pos:o}};t.s(["addRandomSuffix",()=>tA,"breakTextIntoLines",()=>tE,"charAtIndex",()=>tR,"charFromCode",()=>tx,"charFromHexCode",()=>tC,"charSplit",()=>tN,"cleanText",()=>t_,"copyStringIntoBuffer",()=>tF,"escapeRegExp",()=>tk,"escapedNewlineChars",()=>tD,"findLastMatch",()=>tj,"isNewlineChar",()=>tP,"lineSplit",()=>tT,"mergeLines",()=>tO,"newlineChars",()=>tB,"padStart",()=>tS,"parseDate",()=>tM,"toCharCode",()=>tv,"toCodePoint",()=>tb,"toHexString",()=>tw,"toHexStringOfMinLength",()=>tm],208693);var tW=function(t){return t[t.length-1]},tL=function(t){if(t instanceof Uint8Array)return t;for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},tU=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,n=[],o=0;o<r;o++){var i=t[o];n[o]=i instanceof Uint8Array?i:tL(i)}for(var a=0,o=0;o<r;o++)a+=t[o].length;for(var s=new Uint8Array(a),u=0,c=0;c<r;c++)for(var l=n[c],h=0,f=l.length;h<f;h++)s[u++]=l[h];return s},tH=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r].length;for(var o=new Uint8Array(e),i=0,r=0,n=t.length;r<n;r++){var a=t[r];o.set(a,i),i+=a.length}return o},tK=function(t){for(var e="",r=0,n=t.length;r<n;r++)e+=tx(t[r]);return e},tG=function(t,e){return t.id-e.id},tV=function(t,e){for(var r=[],n=0,o=t.length;n<o;n++){var i=t[n],a=t[n-1];(0===n||e(i)!==e(a))&&r.push(i)}return r},tq=function(t){for(var e=t.length,r=0,n=Math.floor(e/2);r<n;r++){var o=r,i=e-r-1,a=t[r];t[o]=t[i],t[i]=a}return t},tZ=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r];return e},tX=function(t,e){for(var r=Array(e-t),n=0,o=r.length;n<o;n++)r[n]=t+n;return r},tY=function(t,e){for(var r=Array(e.length),n=0,o=e.length;n<o;n++)r[n]=t[e[n]];return r},tJ=function(t){return t instanceof Uint8Array||t instanceof ArrayBuffer||"string"==typeof t},tQ=function(t){if("string"==typeof t)return ty(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(t instanceof Uint8Array)return t;throw TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")};t.s(["arrayAsString",()=>tK,"byAscendingId",()=>tG,"canBeConvertedToUint8Array",()=>tJ,"last",()=>tW,"mergeIntoTypedArray",()=>tU,"mergeUint8Arrays",()=>tH,"pluckIndices",()=>tY,"range",()=>tX,"reverseArray",()=>tq,"sortedUniq",()=>tV,"sum",()=>tZ,"toUint8Array",()=>tQ,"typedArrayFor",()=>tL],757323);var t$=function(){return new Promise(function(t){setTimeout(function(){return t()},0)})};
1t.s(["waitForTick",()=>t$],113342);var t0=function(t,e){void 0===e&&(e=!0);var r=[];e&&r.push(239,187,191);for(var n=0,o=t.length;n<o;){var i=t.codePointAt(n);if(i<128){var a=127&i;r.push(a),n+=1}else if(i<2048){var a=i>>6&31|192,s=63&i|128;r.push(a,s),n+=1}else if(i<65536){var a=i>>12&15|224,s=i>>6&63|128,u=63&i|128;r.push(a,s,u),n+=1}else if(i<1114112){var a=i>>18&7|240,s=i>>12&63|128,u=i>>6&63|128,c=63&i|128;r.push(a,s,u,c),n+=2}else throw Error("Invalid code point: 0x"+tw(i))}return new Uint8Array(r)},t1=function(t,e){void 0===e&&(e=!0);var r=[];e&&r.push(65279);for(var n=0,o=t.length;n<o;){var i=t.codePointAt(n);if(i<65536)r.push(i),n+=1;else if(i<1114112)r.push(t3(i),t4(i)),n+=2;else throw Error("Invalid code point: 0x"+tw(i))}return new Uint16Array(r)},t2=function(t){return t>=0&&t<=65535},t5=function(t){return t>=65536&&t<=1114111},t3=function(t){return Math.floor((t-65536)/1024)+55296},t4=function(t){return(t-65536)%1024+56320};(e=T||(T={})).BigEndian="BigEndian",e.LittleEndian="LittleEndian";var t6=function(t,e){if(void 0===e&&(e=!0),t.length<=1)return String.fromCodePoint(65533);for(var r=e?et(t):T.BigEndian,n=2*!!e,o=[];t.length-n>=2;){var i=t7(t[n++],t[n++],r);if(t8(i))if(t.length-n<2)o.push(65533);else{var a=t7(t[n++],t[n++],r);t9(a)?o.push(i,a):o.push(65533)}else t9(i)?(n+=2,o.push(65533)):o.push(i)}return n<t.length&&o.push(65533),String.fromCodePoint.apply(String,o)},t8=function(t){return t>=55296&&t<=56319},t9=function(t){return t>=56320&&t<=57343},t7=function(t,e,r){if(r===T.LittleEndian)return e<<8|t;if(r===T.BigEndian)return t<<8|e;throw Error("Invalid byteOrder: "+r)},et=function(t){return ee(t)?T.BigEndian:er(t)?T.LittleEndian:T.BigEndian},ee=function(t){return 254===t[0]&&255===t[1]},er=function(t){return 255===t[0]&&254===t[1]},en=function(t){return ee(t)||er(t)};t.s(["hasSurrogates",()=>t5,"hasUtf16BOM",()=>en,"highSurrogate",()=>t3,"isWithinBMP",()=>t2,"lowSurrogate",()=>t4,"utf16Decode",()=>t6,"utf16Encode",()=>t1,"utf8Encode",()=>t0],817346);var eo=function(t){var e=String(t);if(1>Math.abs(t)){var r=parseInt(t.toString().split("e-")[1]);if(r){var n=t<0;n&&(t*=-1),t*=Math.pow(10,r-1),e="0."+Array(r).join("0")+t.toString().substring(2),n&&(e="-"+e)}}else{var r=parseInt(t.toString().split("+")[1]);r>20&&(r-=20,t/=Math.pow(10,r),e=t.toString()+Array(r+1).join("0"))}return e},ei=function(t){return Math.ceil(t.toString(2).length/8)},ea=function(t){for(var e=new Uint8Array(ei(t)),r=1;r<=e.length;r++)e[r-1]=t>>(e.length-r)*8;return e};t.s(["bytesFor",()=>ea,"numberToString",()=>eo,"sizeInBytes",()=>ei],78389);var es=function(t){throw Error(t)};t.s(["error",()=>es],281958);for(var eu=t.i(995767),ec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",el=new Uint8Array(256),eh=0;eh<ec.length;eh++)el[ec.charCodeAt(eh)]=eh;var ef=function(t){var e,r,n,o,i,a=.75*t.length,s=t.length,u=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var c=new Uint8Array(a);for(e=0;e<s;e+=4)r=el[t.charCodeAt(e)],n=el[t.charCodeAt(e+1)],o=el[t.charCodeAt(e+2)],i=el[t.charCodeAt(e+3)],c[u++]=r<<2|n>>4,c[u++]=(15&n)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return c},ed=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},ep=function(t){return ed(eu.default.inflate(ef(t)))},eg=function(t,e,r){for(var n="",o=0,i=e-t.length;o<i;o++)n+=r;return n+t},ey=t.i(782491),ev=t.i(924556),eb=t.i(626308),em=t.i(872695),ew=t.i(892736),ex=t.i(322837),eC=t.i(657284),eS=t.i(638217),eF=t.i(807266),eA=t.i(624089),ek=t.i(797937),e_=t.i(597988),eD=t.i(213753),eB=t.i(575645),eP={Courier:em.default,"Courier-Bold":ey.default,"Courier-Oblique":eb.default,"Courier-BoldOblique":ev.default,Helvetica:eS.default,"Helvetica-Bold":ew.default,"Helvetica-Oblique":eC.default,"Helvetica-BoldOblique":ex.default,"Times-Roman":e_.default,"Times-Bold":eF.default,"Times-Italic":ek.default,"Times-BoldItalic":eA.default,Symbol:eD.default,ZapfDingbats:eB.default};(r=O||(O={})).Courier="Courier",r.CourierBold="Courier-Bold",r.CourierOblique="Courier-Oblique",r.CourierBoldOblique="Courier-BoldOblique",r.Helvetica="Helvetica",r.HelveticaBold="Helvetica-Bold",r.HelveticaOblique="Helvetica-Oblique",r.Helvetica
1BoldOblique="Helvetica-BoldOblique",r.TimesRoman="Times-Roman",r.TimesRomanBold="Times-Bold",r.TimesRomanItalic="Times-Italic",r.TimesRomanBoldItalic="Times-BoldItalic",r.Symbol="Symbol",r.ZapfDingbats="ZapfDingbats";var eT={},eO=function(){function t(){var t=this;this.getWidthOfGlyph=function(e){return t.CharWidths[e]},this.getXAxisKerningForPair=function(e,r){return(t.KernPairXAmounts[e]||{})[r]}}return t.load=function(e){var r=eT[e];if(r)return r;var n=ep(eP[e]),o=Object.assign(new t,JSON.parse(n));return o.CharWidths=o.CharMetrics.reduce(function(t,e){return t[e.N]=e.WX,t},{}),o.KernPairXAmounts=o.KernPairs.reduce(function(t,e){var r=e[0],n=e[1],o=e[2];return t[r]||(t[r]={}),t[r][n]=o,t},{}),eT[e]=o,o},t}(),eR=JSON.parse(ep(t.i(171743).default)),eN=function(t,e){var r=this;this.canEncodeUnicodeCodePoint=function(t){return t in r.unicodeMappings},this.encodeUnicodeCodePoint=function(t){var e=r.unicodeMappings[t];if(!e){var n=String.fromCharCode(t),o="0x"+eg(t.toString(16),4,"0");throw Error(r.name+' cannot encode "'+n+'" ('+o+")")}return{code:e[0],name:e[1]}},this.name=t,this.supportedCodePoints=Object.keys(e).map(Number).sort(function(t,e){return t-e}),this.unicodeMappings=e},eI={Symbol:new eN("Symbol",eR.symbol),ZapfDingbats:new eN("ZapfDingbats",eR.zapfdingbats),WinAnsi:new eN("WinAnsi",eR.win1252)},eE=function(t){return Object.keys(t).map(function(e){return t[e]})},ez=eE(O),eM=function(t){return ez.includes(t)},ej=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height};t.s(["StandardFontValues",()=>ez,"isStandardFont",()=>eM,"rectanglesAreEqual",()=>ej,"values",()=>eE],23221);var eW=function(t){return"`"+t+"`"},eL=function(t){return"'"+t+"'"},eU=function(t){var e=typeof t;return"string"===e?eL(t):"undefined"===e?eW(t):t},eH=function(t,e,r){for(var n=Array(r.length),o=0,i=r.length;o<i;o++){var a=r[o];n[o]=eU(a)}var s=n.join(" or ");return eW(e)+" must be one of "+s+", but was actually "+eU(t)},eK=function(t,e,r){Array.isArray(r)||(r=eE(r));for(var n=0,o=r.length;n<o;n++)if(t===r[n])return;throw TypeError(eH(t,e,r))},eG=function(t,e,r){Array.isArray(r)||(r=eE(r)),eK(t,e,r.concat(void 0))},eV=function(t,e,r){Array.isArray(r)||(r=eE(r));for(var n=0,o=t.length;n<o;n++)eK(t[n],e,r)},eq=function(t){return null===t?"null":void 0===t?"undefined":"string"==typeof t?"string":isNaN(t)?"NaN":"number"==typeof t?"number":"boolean"==typeof t?"boolean":"symbol"==typeof t?"symbol":"bigint"==typeof t?"bigint":t.constructor&&t.constructor.name?t.constructor.name:t.name?t.name:t.constructor?String(t.constructor):String(t)},eZ=function(t,e){return"null"===e?null===t:"undefined"===e?void 0===t:"string"===e?"string"==typeof t:"number"===e?"number"==typeof t&&!isNaN(t):"boolean"===e?"boolean"==typeof t:"symbol"===e?"symbol"==typeof t:"bigint"===e?"bigint"==typeof t:e===Date?t instanceof Date:e===Array?t instanceof Array:e===Uint8Array?t instanceof Uint8Array:e===ArrayBuffer?t instanceof ArrayBuffer:e===Function?t instanceof Function:t instanceof e[0]},eX=function(t,e,r){for(var n=Array(r.length),o=0,i=r.length;o<i;o++){var a=r[o];"null"===a&&(n[o]=eW("null")),"undefined"===a&&(n[o]=eW("undefined")),"string"===a?n[o]=eW("string"):"number"===a?n[o]=eW("number"):"boolean"===a?n[o]=eW("boolean"):"symbol"===a?n[o]=eW("symbol"):"bigint"===a?n[o]=eW("bigint"):a===Array?n[o]=eW("Array"):a===Uint8Array?n[o]=eW("Uint8Array"):a===ArrayBuffer?n[o]=eW("ArrayBuffer"):n[o]=eW(a[1])}var s=n.join(" or ");return eW(e)+" must be of type "+s+", but was actually of type "+eW(eq(t))},eY=function(t,e,r){for(var n=0,o=r.length;n<o;n++)if(eZ(t,r[n]))return;throw TypeError(eX(t,e,r))},eJ=function(t,e,r){eY(t,e,r.concat("undefined"))},eQ=function(t,e,r){for(var n=0,o=t.length;n<o;n++)eY(t[n],e,r)},e$=function(t,e,r,n){if(eY(t,e,["number"]),eY(r,"min",["number"]),eY(n,"max",["number"]),n=Math.max(r,n),t<r||t>n)throw Error(eW(e)+" must be at least "+r+" and at most "+n+", but was actually "+t)},e0=function(t,e,r,n){eY(t,e,["number","undefined"]),"number"==typeof t&&e$(t,e,r,n)},e1=function(t,e,r){if(eY(t,e,["number"]),t%r!=0)throw Error(eW(e)+" must be a multiple of "+r+", but was actually "+t)},e2=function(t,e){if(!Number.isInteger(t))throw Error(eW(e)+" must be an integer, but was actually "+t)},e5=function(t,e){if(![1,0].includes(Math.sign(t)))throw Error(eW(e)+" must be a positive number or 0, but was actually "+t)};t.s(["assertEachIs",()=>eQ,"assertInteger",()=>e2,"assertIs",()=>eY,"assertIsOneOf",()=>eK,"assertIsOneOfOrUndefined",()=>eG,"assertIsSubset",()=>eV,"assertMultiple",()=>e1,"assertOrUndefined",()=>eJ,"assertPositive",()=>e5,"assertRange",()=>e$,"assertRangeOrUndefined",()=>e0,"backtick",()=>eW,"createTypeErrorMsg",()=>eX,"createValueErrorMsg",()=>eH,"getType",()=>eq,"isType",()=>eZ,"singleQuote",()=>eL],631113);for(var e3=new Uint16Array(256),e4=0;e4<256;e4++)e3[e4]=e4;e3[22]=tv("\x17"),e3[24]=tv("˘"),e3[25]=tv("ˇ"),e3[26]=tv("ˆ"),e3[27]=tv("˙"),e3[28]=tv("˝"),e3[29]=tv("˛"),e3[30]=tv("˚"),e3[31]=tv("˜"),e3[127]=tv("�"),e3[128]=tv("•"),e3[129]=tv("†"),e3[130]=tv("‡"),e3[131]=tv("…"),e3[132]=tv("—"),e3[133]=tv("–"),e3[134]=tv("ƒ"),e3[135]=tv("⁄"),e3[136]=tv("‹"),e3[137]=tv("›"),e3[138]=tv("−"),e3[139]=tv("‰"),e3[140]=tv("„"),e3[141]=tv("“"),e3[142]=tv("”"),e3[143]=tv("‘"),e3[144]=tv("’"),e3[145
1]=tv("‚"),e3[146]=tv("™"),e3[147]=tv("fi"),e3[148]=tv("fl"),e3[149]=tv("Ł"),e3[150]=tv("Œ"),e3[151]=tv("Š"),e3[152]=tv("Ÿ"),e3[153]=tv("Ž"),e3[154]=tv("ı"),e3[155]=tv("ł"),e3[156]=tv("œ"),e3[157]=tv("š"),e3[158]=tv("ž"),e3[159]=tv("�"),e3[160]=tv("€"),e3[173]=tv("�");var e6=function(t){for(var e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]=e3[t[r]];return String.fromCodePoint.apply(String,e)};t.s(["pdfDocEncodingDecode",()=>e6],967672);var e8=function(){function t(t){this.populate=t,this.value=void 0}return t.prototype.getValue=function(){return this.value},t.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},t.prototype.invalidate=function(){this.value=void 0},t.populatedBy=function(e){return new t(e)},t}();t.s(["default",0,e8],545940),t.s([],193487);var e9=function(t){function e(e,r){return t.call(this,"Method "+e+"."+r+"() not implemented")||this}return ti(e,t),e}(Error),e7=function(t){function e(e){return t.call(this,"Cannot construct "+e+" - it has a private constructor")||this}return ti(e,t),e}(Error),rt=function(t){function e(e,r){var n=function(t){var e,r;return null!=(e=null==t?void 0:t.name)?e:null==(r=null==t?void 0:t.constructor)?void 0:r.name},o="Expected instance of "+(Array.isArray(e)?e.map(n):[n(e)]).join(" or ")+", but got instance of "+(r?n(r):r);return t.call(this,o)||this}return ti(e,t),e}(Error),re=function(t){function e(e){return t.call(this,e+" stream encoding not supported")||this}return ti(e,t),e}(Error),rr=function(t){function e(e,r){return t.call(this,"Cannot call "+e+"."+r+"() more than once")||this}return ti(e,t),e}(Error),rn=function(t){function e(e){return t.call(this,"Missing catalog (ref="+e+")")||this}return ti(e,t),e}(Error),ro=function(t){function e(){return t.call(this,"Can't embed page with missing Contents")||this}return ti(e,t),e}(Error),ri=function(t){function e(e){var r,n,o,i=null!=(o=null!=(n=null==(r=null==e?void 0:e.contructor)?void 0:r.name)?n:null==e?void 0:e.name)?o:e;return t.call(this,"Unrecognized stream type: "+i)||this}return ti(e,t),e}(Error),ra=function(t){function e(){return t.call(this,"Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.")||this}return ti(e,t),e}(Error),rs=function(t){function e(e){return t.call(this,"Attempted to convert PDFArray with "+e+" elements to rectangle, but must have exactly 4 elements.")||this}return ti(e,t),e}(Error),ru=function(t){function e(e){return t.call(this,'Attempted to convert "'+e+'" to a date, but it does not match the PDF date string format.')||this}return ti(e,t),e}(Error),rc=function(t){function e(e,r){return t.call(this,"Invalid targetIndex specified: targetIndex="+e+" must be less than Count="+r)||this}return ti(e,t),e}(Error),rl=function(t){function e(e,r){return t.call(this,"Failed to "+r+" at targetIndex="+e+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid")||this}return ti(e,t),e}(Error),rh=function(t){function e(e,r,n){return t.call(this,"index should be at least "+r+" and at most "+n+", but was actually "+e)||this}return ti(e,t),e}(Error),rf=function(t){function e(){return t.call(this,"Attempted to set invalid field value")||this}return ti(e,t),e}(Error),rd=function(t){function e(){return t.call(this,"Attempted to select multiple values for single-select field")||this}return ti(e,t),e}(Error),rp=function(t){function e(e){return t.call(this,"No /DA (default appearance) entry found for field: "+e)||this}return ti(e,t),e}(Error),rg=function(t){function e(e){return t.call(this,"No Tf operator found for DA of field: "+e)||this}return ti(e,t),e}(Error),ry=function(t){function e(e,r){var n="Failed to parse number "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset+'): "')+r+'"';return t.call(this,n)||this}return ti(e,t),e}(Error),rv=function(t){function e(e,r){var n="Failed to parse PDF document "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset)+"): "+r;return t.call(this,n)||this}return ti(e,t),e}(Error),rb=function(t){function e(e,r,n){return t.call(this,e,"Expected next byte to be "+r+" but it was actually "+n)||this}return ti(e,t),e}(rv),rm=function(t){function e(e,r){return t.call(this,e,"Failed to parse PDF object starting with the following byte: "+r)||this}return ti(e,t),e}(rv),rw=function(t){function e(e){return t.call(this,e,"Failed to parse invalid PDF object")||this}return ti(e,t),e}(rv),rx=function(t){function e(e){return t.call(this,e,"Failed to parse PDF stream")||this}return ti(e,t),e}(rv),rC=function(t){function e(e){return t.call(this,e,"Failed to parse PDF literal string due to unbalanced parenthesis")||this}return ti(e,t),e}(rv),rS=function(t){function e(e){return t.call(this,e,"Parser stalled")||this}return ti(e,t),e}(rv),rF=function(t){function e(e){return t.call(this,e,"No PDF header found")||this}return ti(e,t),e}(rv),rA=function(t){function e(e,r){var n="Did not find expected keyword '"+tK(r)+"'";return t.call(this,e,n)||this}return ti(e,t),e}(rv);t.s(["CorruptPageTreeError",()=>rl,"IndexOutOfBoundsError",()=>rh,"InvalidAcroFieldValueError",()=>rf,"InvalidPDFDateStringError",()=>ru,"InvalidTargetIndexError",()=>rc,"MethodNotImplementedError",()=>e9,"MissingCatalogError",()=>rn,"MissingDAEntryError",()=>rp,"MissingKeywordError",()=>rA,"MissingPDFHeaderError",()=>rF,"MissingPageContentsEmbeddingError",()=>ro,"MissingTfOperatorError",()=>rg,"MultiSelectValueError",()=>rd,"NextByteAssertionError",()=>rb,"NumberParsingError",()=>ry,"PDFArrayIsNotRectangleError",()=>rs,"PDFInvalidObjectParsingError",()=>rw,"PDFObjectParsingError",()=>rm,"PDFParsingError",()=>rv,"PDFStreamParsingError",()=>rx,"PageEmbeddingMismatchedContextError",()=>ra,"PrivateConstructorError",()=>e7,"ReparseError",()=>rr,"StalledParserError",()=>rS,"UnbalancedParenthesisError",()=>rC,"UnexpectedObjectTypeError",()=>rt,"UnrecognizedStreamTypeError",()=>ri,"UnsupportedEncodingError",()=>re],255586),(n=R||(R={}))[n.Null=0]="Null",n[n.Backspace=8]="Backspace",n[n.Tab=9]="Tab",n[n.Newline=10]="Newline",n[n.FormFeed=12]="FormFeed",n[n.CarriageReturn=13]="CarriageReturn",n[n.Space=32]="Space",n[n.E
vendor: 7,376 bytes, line 1
1xclamationPoint=33]="ExclamationPoint",n[n.Hash=35]="Hash",n[n.Percent=37]="Percent",n[n.LeftParen=40]="LeftParen",n[n.RightParen=41]="RightParen",n[n.Plus=43]="Plus",n[n.Minus=45]="Minus",n[n.Dash=45]="Dash",n[n.Period=46]="Period",n[n.ForwardSlash=47]="ForwardSlash",n[n.Zero=48]="Zero",n[n.One=49]="One",n[n.Two=50]="Two",n[n.Three=51]="Three",n[n.Four=52]="Four",n[n.Five=53]="Five",n[n.Six=54]="Six",n[n.Seven=55]="Seven",n[n.Eight=56]="Eight",n[n.Nine=57]="Nine",n[n.LessThan=60]="LessThan",n[n.GreaterThan=62]="GreaterThan",n[n.A=65]="A",n[n.D=68]="D",n[n.E=69]="E",n[n.F=70]="F",n[n.O=79]="O",n[n.P=80]="P",n[n.R=82]="R",n[n.LeftSquareBracket=91]="LeftSquareBracket",n[n.BackSlash=92]="BackSlash",n[n.RightSquareBracket=93]="RightSquareBracket",n[n.a=97]="a",n[n.b=98]="b",n[n.d=100]="d",n[n.e=101]="e",n[n.f=102]="f",n[n.i=105]="i",n[n.j=106]="j",n[n.l=108]="l",n[n.m=109]="m",n[n.n=110]="n",n[n.o=111]="o",n[n.r=114]="r",n[n.s=115]="s",n[n.t=116]="t",n[n.u=117]="u",n[n.x=120]="x",n[n.LeftCurly=123]="LeftCurly",n[n.RightCurly=125]="RightCurly",n[n.Tilde=126]="Tilde";let rk=R;t.s(["default",0,rk],473048);var r_=function(){function t(t,e){this.major=String(t),this.minor=String(e)}return t.prototype.toString=function(){var t=tx(129);return"%PDF-"+this.major+"."+this.minor+"\n%"+t+t+t+t},t.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=rk.Percent,t[e++]=rk.P,t[e++]=rk.D,t[e++]=rk.F,t[e++]=rk.Dash,e+=tF(this.major,t,e),t[e++]=rk.Period,e+=tF(this.minor,t,e),t[e++]=rk.Newline,t[e++]=rk.Percent,t[e++]=129,t[e++]=129,t[e++]=129,t[e++]=129,e-r},t.forVersion=function(e,r){return new t(e,r)},t}();t.s(["default",0,r_],34940);var rD=function(){function t(){}return t.prototype.clone=function(t){throw new e9(this.constructor.name,"clone")},t.prototype.toString=function(){throw new e9(this.constructor.name,"toString")},t.prototype.sizeInBytes=function(){throw new e9(this.constructor.name,"sizeInBytes")},t.prototype.copyBytesInto=function(t,e){throw new e9(this.constructor.name,"copyBytesInto")},t}();t.s(["default",0,rD],915461);var rB=function(t){function e(e){var r=t.call(this)||this;return r.numberValue=e,r.stringValue=eo(e),r}return ti(e,t),e.prototype.asNumber=function(){return this.numberValue},e.prototype.value=function(){return this.numberValue},e.prototype.clone=function(){return e.of(this.numberValue)},e.prototype.toString=function(){return this.stringValue},e.prototype.sizeInBytes=function(){return this.stringValue.length},e.prototype.copyBytesInto=function(t,e){return e+=tF(this.stringValue,t,e),this.stringValue.length},e.of=function(t){return new e(t)},e}(rD);t.s(["default",0,rB],923600);var rP=function(t){function e(e){var r=t.call(this)||this;return r.array=[],r.context=e,r}return ti(e,t),e.prototype.size=function(){return this.array.length},e.prototype.push=function(t){this.array.push(t)},e.prototype.insert=function(t,e){this.array.splice(t,0,e)},e.prototype.indexOf=function(t){var e=this.array.indexOf(t);return -1===e?void 0:e},e.prototype.remove=function(t){this.array.splice(t,1)},e.prototype.set=function(t,e){this.array[t]=e},e.prototype.get=function(t){return this.array[t]},e.prototype.lookupMaybe=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.context).lookupMaybe.apply(e,tc([this.get(t)],r))},e.prototype.lookup=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.context).lookup.apply(e,tc([this.get(t)],r))},e.prototype.asRectangle=function(){if(4!==this.size())throw new rs(this.size());var t=this.lookup(0,rB).asNumber(),e=this.lookup(1,rB).asNumber();return{x:t,y:e,width:this.lookup(2,rB).asNumber()-t,height:this.lookup(3,rB).asNumber()-e}},e.prototype.asArray=function(){return this.array.slice()},e.prototype.clone=function(t){for(var r=e.withContext(t||this.context),n=0,o=this.size();n<o;n++)r.push(this.array[n]);return r},e.prototype.toString=function(){for(var t="[ ",e=0,r=this.size();e<r;e++)t+=this.get(e).toString(),t+=" ";return t+"]"},e.prototype.sizeInBytes=function(){for(var t=3,e=0,r=this.size();e<r;e++)t+=this.get(e).sizeInBytes()+1;return t},e.prototype.copyBytesInto=function(t,e){var r=e;t[e++]=rk.LeftSquareBracket,t[e++]=rk.Space;for(var n=0,o=this.size();n<o;n++)e+=this.get(n).copyBytesInto(t,e),t[e++]=rk.Space;return t[e++]=rk.RightSquareBracket,e-r},e.prototype.scalePDFNumbers=function(t,e){for(var r=0,n=this.size();r<n;r++){var o=this.lookup(r);if(o instanceof rB){var i=r%2==0?t:e;this.set(r,rB.of(o.asNumber()*i))}}},e.withContext=function(t){return new e(t)},e}(rD);t.s(["default",0,rP],511667);var rT={},rO=function(t){function e(e,r){var n=this;if(e!==rT)throw new e7("PDFBool");return(n=t.call(this)||this).value=r,n}return ti(e,t),e.prototype.asBoolean=function(){return this.value},e.prototype.clone=function(){return this},e.prototype.toString=function(){return String(this.value)},e.prototype.sizeInBytes=function(){return this.value?4:5},e.prototype.copyBytesInto=function(t,e){return this.value?(t[e++]=rk.t,t[e++]=rk.r,t[e++]=rk.u,t[e++]=rk.e,4):(t[e++]=rk.f,t[e++]=rk.a,t[e++]=rk.l,t[e++]=rk.s,t[e++]=rk.e,5)},e.True=new e(rT,!0),e.False=new e(rT,!1),e}(rD);t.s(["default",0,rO],122606);var rR=new Uint8Array(256);rR[rk.LeftParen]=1,rR[rk.RightParen]=1,rR[rk.LessThan]=1,rR[rk.GreaterThan]=1,rR[rk.LeftSquareBracket]=1,rR[rk.RightSquareBracket]=1,rR[rk.LeftCurly]=1,rR[rk.RightCurly]=1,rR[rk.ForwardSlash]=1,rR[rk.Percent]=1;var rN=new Uint8Array(256);rN[rk.Null]=1,rN[rk.Tab]=1,rN[rk.Newline]=1,rN[rk.FormFeed]=1,rN[rk.CarriageReturn]=1,rN[rk.Space]=1;for(var rI=new Uint8Array(256),rE=0;rE<256;rE++)rI[rE]=rN[rE]||rR[rE]?1:0;rI[rk.Hash]=1;var rz={},rM=new Map,rj=function(t){function e(e,r){var n=this;if(e!==rz)throw new e7("PDFName");n=t.call(this)||this;for(var o="/",i=0,a=r.length;i<a;i++){var s=r[i],u=tv(s);o+=u>=rk.ExclamationPoint&&u<=rk.Tilde&&!rI[u]?s:"#"+tw(u)}return n.encodedName=o,n}return ti(e,t),e.prototype.asBytes=function(){for(var t=[],e="",r=!1,n=function(e){void 0!==e&&t.push(e),r=!1},o=1,i=this.encodedName.length;o<i;o++){var a=this.encodedName[o],s=tv(a),u=this.encodedName[o+1];r?s>=rk.Zero&&s<=rk.Nine||s>=rk.a&&s<=rk.f||s>=rk.A&&s<=rk.F?2!==(e+=a).length&&(u>="0"&&u<="9"||u>="a"&&u<="f"||u>="A"&&u<="F")||(n(parseInt(e,16)),e=""):n(s):s===rk.Hash?r=!0:n(s)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return String.fromCharCode.apply(String,Array.from(t))},e.prototype.asString=function(){return this.encodedName},e.prototype.value=function(){return this.encodedName},e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.encodedName},e.prototype.sizeInBytes=function(){return this.encodedName.length},e.prototype.copyBytesInto=function(t,e){return e+=tF(this.encodedName,t,e),this.encodedName.length},e.of=function(t){var r=t.replace(/#([\dABCDEF]{2})/g,function(t,e){return tC(e)}),n=rM.get(r);return n||(n=new e(rz,r),rM.set(r,n)),n},e.Length=e.of("Length"),e.FlateDecode=e.of("FlateDecode"),e.Resources=e.of("Resources"),e.Font=e.of("Font"),e.XObject=e.of("XObject"),e.ExtGState=e.of("ExtGState"),e.Contents=e.of("Contents"),e.Type=e.of("Type"),e.Parent=e.of("Parent"),e.MediaBox=e.of("MediaBox"),e.Page=e.of("Page"),e.Annots=e.of("Annots"),e.TrimBox=e.of("TrimBox"),e.ArtBox=e.of("ArtBo
1x"),e.BleedBox=e.of("BleedBox"),e.CropBox=e.of("CropBox"),e.Rotate=e.of("Rotate"),e.Title=e.of("Title"),e.Author=e.of("Author"),e.Subject=e.of("Subject"),e.Creator=e.of("Creator"),e.Keywords=e.of("Keywords"),e.Producer=e.of("Producer"),e.CreationDate=e.of("CreationDate"),e.ModDate=e.of("ModDate"),e}(rD);t.s(["default",0,rj],20795);let rW=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.asNull=function(){return null},e.prototype.clone=function(){return this},e.prototype.toString=function(){return"null"},e.prototype.sizeInBytes=function(){return 4},e.prototype.copyBytesInto=function(t,e){return t[e++]=rk.n,t[e++]=rk.u,t[e++]=rk.l,t[e++]=rk.l,4},e}(rD));t.s(["default",0,rW],52466);var rL=function(t){function e(e,r){var n=t.call(this)||this;return n.dict=e,n.context=r,n}return ti(e,t),e.prototype.keys=function(){return Array.from(this.dict.keys())},e.prototype.values=function(){return Array.from(this.dict.values())},e.prototype.entries=function(){return Array.from(this.dict.entries())},e.prototype.set=function(t,e){this.dict.set(t,e)},e.prototype.get=function(t,e){void 0===e&&(e=!1);var r=this.dict.get(t);if(r!==rW||e)return r},e.prototype.has=function(t){var e=this.dict.get(t);return void 0!==e&&e!==rW},e.prototype.lookupMaybe=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=r.includes(rW),i=(e=this.context).lookupMaybe.apply(e,tc([this.get(t,o)],r));if(i!==rW||o)return i},e.prototype.lookup=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=r.includes(rW),i=(e=this.context).lookup.apply(e,tc([this.get(t,o)],r));if(i!==rW||o)return i},e.prototype.delete=function(t){return this.dict.delete(t)},e.prototype.asMap=function(){return new Map(this.dict)},e.prototype.uniqueKey=function(t){void 0===t&&(t="");for(var e=this.keys(),r=rj.of(this.context.addRandomSuffix(t,10));e.includes(r);)r=rj.of(this.context.addRandomSuffix(t,10));return r},e.prototype.clone=function(t){for(var r=e.withContext(t||this.context),n=this.entries(),o=0,i=n.length;o<i;o++){var a=n[o],s=a[0],u=a[1];r.set(s,u)}return r},e.prototype.toString=function(){for(var t="<<\n",e=this.entries(),r=0,n=e.length;r<n;r++){var o=e[r],i=o[0],a=o[1];t+=i.toString()+" "+a.toString()+"\n"}return t+">>"},e.prototype.sizeInBytes=function(){for(var t=5,e=this.entries(),r=0,n=e.length;r<n;r++){var o=e[r],i=o[0],a=o[1];t+=i.sizeInBytes()+a.sizeInBytes()+2}return t},e.prototype.copyBytesInto=function(t,e){var r=e;t[e++]=rk.LessThan,t[e++]=rk.LessThan,t[e++]=rk.Newline;for(var n=this.entries(),o=0,i=n.length;o<i;o++){var a=n[o],s=a[0],u=a[1];e+=s.copyBytesInto(t,e),t[e++]=rk.Space,e+=u.copyBytesInto(t,e),t[e++]=rk.Newline}return t[e++]=rk.GreaterThan,t[e++]=rk.GreaterThan,e-r},e.withContext=function(t){return new e(new Map,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(rD);t.s(["default",0,rL],244039);var rU=function(t){function e(e){var r=t.call(this)||this;return r.dict=e,r}return ti(e,t),e.prototype.clone=function(t){throw new e9(this.constructor.name,"clone")},e.prototype.getContentsString=function(){throw new e9(this.constructor.name,"getContentsString")},e.prototype.getContents=function(){throw new e9(this.constructor.name,"getContents")},e.prototype.getContentsSize=function(){throw new e9(this.constructor.name,"getContentsSize")},e.prototype.updateDict=function(){var t=this.getContentsSize();this.dict.set(rj.Length,rB.of(t))},e.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},e.prototype.toString=function(){this.updateDict();var t=this.dict.toString();return t+="\nstream\n",t+=this.getContentsString(),t+="\nendstream"},e.prototype.copyBytesInto=function(t,e){this.updateDict();var r=e;e+=this.dict.copyBytesInto(t,e),t[e++]=rk.Newline,t[e++]=rk.s,t[e++]=rk.t,t[e++]=rk.r,t[e++]=rk.e,t[e++]=rk.a,t[e++]=rk.m,t[e++]=rk.Newline;for(var n=this.getContents(),o=0,i=n.length;o<i;o++)t[e++]=n[o];return t[e++]=rk.Newline,t[e++]=rk.e,t[e++]=rk.n,t[e++]=rk.d,t[e++]=rk.s,t[e++]=rk.t,t[e++]=rk.r,t[e++]=rk.e,t[e++]=rk.a,t[e++]=rk.m,e-r},e}(rD);t.s(["default",0,rU],220883);var rH=function(t){function e(e,r){var n=t.call(this,e)||this;return n.contents=r,n}return ti(e,t),e.prototype.asUint8Array=function(){return this.contents.slice()},e.prototype.clone=function(t){return e.of(this.dict.clone(t),this.contents.slice())},e.prototype.getContentsString=function(){return tK(this.contents)},e.prototype.getContents=function(){return this.contents},e.prototype.getContentsSize=function(){return this.contents.length},e.of=function(t,r){return new e(t,r)},e}(rU);t.s(["default",0,rH],780875);var rK={},rG=new Map,rV=function(t){function e(e,r,n){var o=this;if(e!==rK)throw new e7("PDFRef");return(o=t.call(this)||this).objectNumber=r,o.generationNumber=n,o.tag=r+" "+n+" R",o}return ti(e,t),e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.tag},e.prototype.sizeInBytes=function(){return this.tag.length},e.prototype.copyBytesInto=function(t,e){return e+=tF(this.tag,t,e),this.tag.length},e.of=function(t,r){void 0===r&&(r=0);var n=t+" "+r+" R",o=rG.get(n);return o||(o=new e(rK,t,r),rG.set(n,o)),o},e}(rD);t.s(["default",0,rV],187113);var rq=function(){function t(t,e){this.name=t,this.args=e||[]}return t.prototype.clone=function(e){for(var r=Array(this.args.length),n=0,o=r.length;n<o;n++){var i=this.args[n];r[n]=i instanceof rD?i.clone(e):i}return t.of(this.name,r)},t.prototype.toString=function(){for(var t="",e=0,r=this.args.length;e<r;e++)t+=String(this.args[e])+" ";return t+this.name},t.prototype.sizeInBytes=function(){for(var t=0,e=0,r=this.args.length;e<r;e++){var n=this.args[e];t+=(n instanceof rD?n.sizeInBytes():n.length)+1}return t+this.name.length},t.prototype.copyBytesInto=function(t,e){for(var r=e,n=0,o=this.args.length;n<o;n++){var i=this.args[n];i instanceof rD?e+=i.copyBytesInto(t,e):e+=tF(i,t,e),t[e++]=rk.Space}return(e+=tF(this.name,t,e))-r},t.of=function(e,r){return new t(e,r)},t}();t.s(["default",0,rq],44003),(o=N||(N={})).NonStrokingColor="sc",o.NonStrokingColorN="scn",o.NonStrokingColorRgb="rg",o.NonStrokingColorGray="g",o.NonStrokingColorCmyk="k",o.NonStrokingColorspace="cs",o.StrokingColor="SC",o.StrokingColorN="SCN",o.StrokingColorRgb="RG",o.StrokingColorGray="G",o.StrokingColorCmyk="K",o.StrokingColorspace="CS",o.BeginMarkedContentSequence="BDC",o.BeginMarkedContent="BMC",o.EndMarkedContent="EMC",o.MarkedContentPointWithProps="DP",o.MarkedContentPoint="MP",o.DrawObject="Do",o.ConcatTransformationMatrix="cm",o.PopGraphicsState="Q",o.PushGraphicsState="q",o.SetFlatness="i",o.SetGraphicsStateParams="gs",o.SetLineCapStyle="J",o.Set
1LineDashPattern="d",o.SetLineJoinStyle="j",o.SetLineMiterLimit="M",o.SetLineWidth="w",o.SetTextMatrix="Tm",o.SetRenderingIntent="ri",o.AppendRectangle="re",o.BeginInlineImage="BI",o.BeginInlineImageData="ID",o.EndInlineImage="EI",o.ClipEvenOdd="W*",o.ClipNonZero="W",o.CloseAndStroke="s",o.CloseFillEvenOddAndStroke="b*",o.CloseFillNonZeroAndStroke="b",o.ClosePath="h",o.AppendBezierCurve="c",o.CurveToReplicateFinalPoint="y",o.CurveToReplicateInitialPoint="v",o.EndPath="n",o.FillEvenOddAndStroke="B*",o.FillEvenOdd="f*",o.FillNonZeroAndStroke="B",o.FillNonZero="f",o.LegacyFillNonZero="F",o.LineTo="l",o.MoveTo="m",o.ShadingFill="sh",o.StrokePath="S",o.BeginText="BT",o.EndText="ET",o.MoveText="Td",o.MoveTextSetLeading="TD",o.NextLine="T*",o.SetCharacterSpacing="Tc",o.SetFontAndSize="Tf",o.SetTextHorizontalScaling="Tz",o.SetTextLineHeight="TL",o.SetTextRenderingMode="Tr",o.SetTextRise="Ts",o.SetWordSpacing="Tw",o.ShowText="Tj",o.ShowTextAdjusted="TJ",o.ShowTextLine="'",o.ShowTextLineAndSpace='"',o.Type3D0="d0",o.Type3D1="d1",o.BeginCompatibilitySection="BX",o.EndCompatibilitySection="EX";let rZ=N;t.s(["default",0,rZ],142461);var rX=function(t){function e(e,r){var n=t.call(this,e)||this;return n.computeContents=function(){var t=n.getUnencodedContents();return n.encode?eu.default.deflate(t):t},n.encode=r,r&&e.set(rj.of("Filter"),rj.of("FlateDecode")),n.contentsCache=e8.populatedBy(n.computeContents),n}return ti(e,t),e.prototype.getContents=function(){return this.contentsCache.access()},e.prototype.getContentsSize=function(){return this.contentsCache.access().length},e.prototype.getUnencodedContents=function(){throw new e9(this.constructor.name,"getUnencodedContents")},e}(rU);t.s(["default",0,rX],426283);var rY=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e,n)||this;return o.operators=r,o}return ti(e,t),e.prototype.push=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];(t=this.operators).push.apply(t,e)},e.prototype.clone=function(t){for(var r=Array(this.operators.length),n=0,o=this.operators.length;n<o;n++)r[n]=this.operators[n].clone(t);var i=this.dict,a=this.encode;return e.of(i.clone(t),r,a)},e.prototype.getContentsString=function(){for(var t="",e=0,r=this.operators.length;e<r;e++)t+=this.operators[e]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=0,r=0,n=this.operators.length;r<n;r++)e+=this.operators[r].copyBytesInto(t,e),t[e++]=rk.Newline;return t},e.prototype.getUnencodedContentsSize=function(){for(var t=0,e=0,r=this.operators.length;e<r;e++)t+=this.operators[e].sizeInBytes()+1;return t},e.of=function(t,r,n){return void 0===n&&(n=!0),new e(t,r,n)},e}(rX);t.s(["default",0,rY],295521);var rJ=function(){function t(t){this.seed=t}return t.prototype.nextInt=function(){var t=1e4*Math.sin(this.seed++);return t-Math.floor(t)},t.withSeed=function(e){return new t(e)},t}(),rQ=function(t,e){var r=t[0],n=e[0];return r.objectNumber-n.objectNumber},r$=function(){function t(){this.largestObjectNumber=0,this.header=r_.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=rJ.withSeed(1)}return t.prototype.assign=function(t,e){this.indirectObjects.set(t,e),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},t.prototype.nextRef=function(){return this.largestObjectNumber+=1,rV.of(this.largestObjectNumber)},t.prototype.register=function(t){var e=this.nextRef();return this.assign(e,t),e},t.prototype.delete=function(t){return this.indirectObjects.delete(t)},t.prototype.lookupMaybe=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=e.includes(rW),o=t instanceof rV?this.indirectObjects.get(t):t;if(o&&(o!==rW||n)){for(var i=0,a=e.length;i<a;i++){var s=e[i];if(s===rW){if(o===rW)return o}else if(o instanceof s)return o}throw new rt(e,o)}},t.prototype.lookup=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=t instanceof rV?this.indirectObjects.get(t):t;if(0===e.length)return n;for(var o=0,i=e.length;o<i;o++){var a=e[o];if(a===rW){if(n===rW)return n}else if(n instanceof a)return n}throw new rt(e,n)},t.prototype.getObjectRef=function(t){for(var e=Array.from(this.indirectObjects.entries()),r=0,n=e.length;r<n;r++){var o=e[r],i=o[0];if(o[1]===t)return i}},t.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(rQ)},t.prototype.obj=function(t){if(t instanceof rD)return t;if(null==t)return rW;if("string"==typeof t)return rj.of(t);if("number"==typeof t)return rB.of(t);if("boolean"==typeof t)return t?rO.True:rO.False;else if(Array.isArray(t)){for(var e=rP.withContext(this),r=0,n=t.length;r<n;r++)e.push(this.obj(t[r]));return e}else{for(var o=rL.withContext(this),i=Object.keys(t),r=0,n=i.length;r<n;r++){var a=i[r],s=t[a];
1void 0!==s&&o.set(rj.of(a),this.obj(s))}return o}},t.prototype.stream=function(t,e){return void 0===e&&(e={}),rH.of(this.obj(e),tL(t))},t.prototype.flateStream=function(t,e){return void 0===e&&(e={}),this.stream(eu.default.deflate(tL(t)),ta(ta({},e),{Filter:"FlateDecode"}))},t.prototype.contentStream=function(t,e){return void 0===e&&(e={}),rY.of(this.obj(e),t)},t.prototype.formXObject=function(t,e){return void 0===e&&(e={}),this.contentStream(t,ta(ta({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},e),{Type:"XObject",Subtype:"Form"}))},t.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),e=rq.of(rZ.PushGraphicsState),r=rY.of(t,[e]);return this.pushGraphicsStateContentStreamRef=this.register(r),this.pushGraphicsStateContentStreamRef},t.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),e=rq.of(rZ.PopGraphicsState),r=rY.of(t,[e]);return this.popGraphicsStateContentStreamRef=this.register(r),this.popGraphicsStateContentStreamRef},t.prototype.addRandomSuffix=function(t,e){return void 0===e&&(e=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,e))},t.create=function(){return new t},t}();t.s(["default",0,r$],86092);var r0=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e,r)||this;return o.normalized=!1,o.autoNormalizeCTM=n,o}return ti(e,t),e.prototype.clone=function(t){for(var r=e.fromMapWithContext(new Map,t||this.context,this.autoNormalizeCTM),n=this.entries(),o=0,i=n.length;o<i;o++){var a=n[o],s=a[0],u=a[1];r.set(s,u)}return r},e.prototype.Parent=function(){return this.lookupMaybe(rj.Parent,rL)},e.prototype.Contents=function(){return this.lookup(rj.of("Contents"))},e.prototype.Annots=function(){return this.lookupMaybe(rj.Annots,rP)},e.prototype.BleedBox=function(){return this.lookupMaybe(rj.BleedBox,rP)},e.prototype.TrimBox=function(){return this.lookupMaybe(rj.TrimBox,rP)},e.prototype.ArtBox=function(){return this.lookupMaybe(rj.ArtBox,rP)},e.prototype.Resources=function(){var t=this.getInheritableAttribute(rj.Resources);return this.context.lookupMaybe(t,rL)},e.prototype.MediaBox=function(){var t=this.getInheritableAttribute(rj.MediaBox);return this.context.lookup(t,rP)},e.prototype.CropBox=function(){var t=this.getInheritableAttribute(rj.CropBox);return this.context.lookupMaybe(t,rP)},e.prototype.Rotate=function(){var t=this.getInheritableAttribute(rj.Rotate);return this.context.lookupMaybe(t,rB)},e.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(r){e||(e=r.get(t))}),e},e.prototype.setParent=function(t){this.set(rj.Parent,t)},e.prototype.addContentStream=function(t){var e=this.normalizedEntries().Contents||this.context.obj([]);this.set(rj.Contents,e),e.push(t)},e.prototype.wrapContentStreams=function(t,e){var r=this.Contents();return r instanceof rP&&(r.insert(0,t),r.push(e),!0)},e.prototype.addAnnot=function(t){this.normalizedEntries().Annots.push(t)},e.prototype.removeAnnot=function(t){var e=this.normalizedEntries().Annots,r=e.indexOf(t);void 0!==r&&e.remove(r)},e.prototype.setFontDictionary=function(t,e){this.normalizedEntries().Font.set(t,e)},e.prototype.newFontDictionaryKey=function(t){return this.normalizedEntries().Font.uniqueKey(t)},e.prototype.newFontDictionary=function(t,e){var r=this.newFontDictionaryKey(t);return this.setFontDictionary(r,e),r},e.prototype.setXObject=function(t,e){this.normalizedEntries().XObject.set(t,e)},e.prototype.newXObjectKey=function(t){return this.normalizedEntries().XObject.uniqueKey(t)},e.prototype.newXObject=function(t,e){var r=this.newXObjectKey(t);return this.setXObject(r,e),r},e.prototype.setExtGState=function(t,e){this.normalizedEntries().ExtGState.set(t,e)},e.prototype.newExtGStateKey=function(t){return this.normalizedEntries().ExtGState.uniqueKey(t)},e.prototype.newExtGState=function(t,e){var r=this.newExtGStateKey(t);return this.setExtGState(r,e),r},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.normalize=function(){if(!this.normalized){var t=this.context,e=this.get(rj.
vendor: 4,326 bytes, line 1
1Contents);this.context.lookup(e)instanceof rU&&this.set(rj.Contents,t.obj([e])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var r=this.getInheritableAttribute(rj.Resources),n=t.lookupMaybe(r,rL)||t.obj({});this.set(rj.Resources,n);var o=n.lookupMaybe(rj.Font,rL)||t.obj({});n.set(rj.Font,o);var i=n.lookupMaybe(rj.XObject,rL)||t.obj({});n.set(rj.XObject,i);var a=n.lookupMaybe(rj.ExtGState,rL)||t.obj({});n.set(rj.ExtGState,a);var s=this.Annots()||t.obj([]);this.set(rj.Annots,s),this.normalized=!0}},e.prototype.normalizedEntries=function(){this.normalize();var t=this.Annots(),e=this.Resources();return{Annots:t,Resources:e,Contents:this.Contents(),Font:e.lookup(rj.Font,rL),XObject:e.lookup(rj.XObject,rL),ExtGState:e.lookup(rj.ExtGState,rL)}},e.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],e.withContextAndParent=function(t,r){var n=new Map;return n.set(rj.Type,rj.Page),n.set(rj.Parent,r),n.set(rj.Resources,t.obj({})),n.set(rj.MediaBox,t.obj([0,0,612,792])),new e(n,t,!1)},e.fromMapWithContext=function(t,r,n){return void 0===n&&(n=!0),new e(t,r,n)},e}(rL);t.s(["default",0,r0],297927);var r1=function(){function t(t,e){var r=this;this.traversedObjects=new Map,this.copy=function(t){return t instanceof r0?r.copyPDFPage(t):t instanceof rL?r.copyPDFDict(t):t instanceof rP?r.copyPDFArray(t):t instanceof rU?r.copyPDFStream(t):t instanceof rV?r.copyPDFIndirectObject(t):t.clone()},this.copyPDFPage=function(t){for(var e=t.clone(),n=r0.InheritableEntries,o=0,i=n.length;o<i;o++){var a=rj.of(n[o]),s=e.getInheritableAttribute(a);!e.get(a)&&s&&e.set(a,s)}return e.delete(rj.of("Parent")),r.copyPDFDict(e)},this.copyPDFDict=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var n=t.entries(),o=0,i=n.length;o<i;o++){var a=n[o],s=a[0],u=a[1];e.set(s,r.copy(u))}return e},this.copyPDFArray=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var n=0,o=t.size();n<o;n++){var i=t.get(n);e.set(n,r.copy(i))}return e},this.copyPDFStream=function(t){if(r.traversedObjects.has(t))return r.traversedObjects.get(t);var e=t.clone(r.dest);r.traversedObjects.set(t,e);for(var n=t.dict.entries(),o=0,i=n.length;o<i;o++){var a=n[o],s=a[0],u=a[1];e.dict.set(s,r.copy(u))}return e},this.copyPDFIndirectObject=function(t){if(!r.traversedObjects.has(t)){var e=r.dest.nextRef();r.traversedObjects.set(t,e);var n=r.src.lookup(t);if(n){var o=r.copy(n);r.dest.assign(e,o)}}return r.traversedObjects.get(t)},this.src=t,this.dest=e}return t.for=function(e,r){return new t(e,r)},t}();t.s(["default",0,r1],35694);var r2=function(){function t(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=+!!t}return t.prototype.addEntry=function(t,e){this.append({ref:t,offset:e,deleted:!1})},t.prototype.addDeletedEntry=function(t,e){this.append({ref:t,offset:e,deleted:!0})},t.prototype.toString=function(){for(var t="xref\n",e=0,r=this.subsections.length;e<r;e++){var n=this.subsections[e];t+=n[0].ref.objectNumber+" "+n.length+"\n";for(var o=0,i=n.length;o<i;o++){var a=n[o];t+=tS(String(a.offset),10,"0"),t+=" ",t+=tS(String(a.ref.generationNumber),5,"0"),t+=" ",t+=a.deleted?"f":"n",t+=" \n"}}return t},t.prototype.sizeInBytes=function(){for(var t=5,e=0,r=this.subsections.length;e<r;e++){var n=this.subsections[e],o=n.length;t+=2,t+=String(n[0].ref.objectNumber).length,t+=String(o).length,t+=20*o}return t},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=rk.x,t[e++]=rk.r,t[e++]=rk.e,t[e++]=rk.f,t[e++]=rk.Newline,(e+=this.copySubsectionsIntoBuffer(this.subsections,t,e))-r},t.prototype.copySubsectionsIntoBuffer=function(t,e,r){for(var n=r,o=t.length,i=0;i<o;i++){var a=this.subsections[i],s=String(a[0].ref.objectNumber);r+=tF(s,e,r),e[r++]=rk.Space;var u=String(a.length);r+=tF(u,e,r),e[r++]=rk.Newline,r+=this.copyEntriesIntoBuffer(a,e,r)}return r-n},t.prototype.copyEntriesIntoBuffer=function(t,e,r){for(var n=t.length,o=0;o<n;o++){var i=t[o],a=tS(String(i.offset),10,"0");r+=tF(a,e,r),e[r++]=rk.Space;var s=tS(String(i.ref.generationNumber),5,"0");r+=tF(s,e,r),e[r++]=rk.Space,e[r++]=i.deleted?rk.f:rk.n,e[r++]=rk.Space,e[r++]=rk.Newline}return 20*n}
1,t.prototype.append=function(t){if(0===this.chunkLength){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var e=this.subsections[this.chunkIdx],r=e[this.chunkLength-1];t.ref.objectNumber-r.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(e.push(t),this.chunkLength+=1)},t.create=function(){return new t({ref:rV.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}();t.s(["default",0,r2],19187);var r5=function(){function t(t){this.lastXRefOffset=String(t)}return t.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=rk.s,t[e++]=rk.t,t[e++]=rk.a,t[e++]=rk.r,t[e++]=rk.t,t[e++]=rk.x,t[e++]=rk.r,t[e++]=rk.e,t[e++]=rk.f,t[e++]=rk.Newline,e+=tF(this.lastXRefOffset,t,e),t[e++]=rk.Newline,t[e++]=rk.Percent,t[e++]=rk.Percent,t[e++]=rk.E,t[e++]=rk.O,t[e++]=rk.F,e-r},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}();t.s(["default",0,r5],474346);var r3=function(){function t(t){this.dict=t}return t.prototype.toString=function(){return"trailer\n"+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(t,e){var r=e;return t[e++]=rk.t,t[e++]=rk.r,t[e++]=rk.a,t[e++]=rk.i,t[e++]=rk.l,t[e++]=rk.e,t[e++]=rk.r,t[e++]=rk.Newline,(e+=this.dict.copyBytesInto(t,e))-r},t.of=function(e){return new t(e)},t}();t.s(["default",0,r3],426866);var r4=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e.obj({}),n)||this;return o.objects=r,o.offsets=o.computeObjectOffsets(),o.offsetsString=o.computeOffsetsString(),o.dict.set(rj.of("Type"),rj.of("ObjStm")),o.dict.set(rj.of("N"),rB.of(o.objects.length)),o.dict.set(rj.of("First"),rB.of(o.offsetsString.length)),o}return ti(e,t),e.prototype.getObjectsCount=function(){return this.objects.length},e.prototype.clone=function(t){return e.withContextAndObjects(t||this.dict.context,this.objects.slice(),this.encode)},e.prototype.getContentsString=function(){for(var t=this.offsetsString,e=0,r=this.objects.length;e<r;e++)t+=this.objects[e][1]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=tF(this.offsetsString,t,0),r=0,n=this.objects.length;r<n;r++){var o=this.objects[r][1];e+=o.copyBytesInto(t,e),t[e++]=rk.Newline}return t},e.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+tW(this.offsets)[1]+tW(this.objects)[1].sizeInBytes()+1},e.prototype.computeOffsetsString=function(){for(var t="",e=0,r=this.offsets.length;e<r;e++){var n=this.offsets[e];t+=n[0]+" "+n[1]+" "}return t},e.prototype.computeObjectOffsets=function(){for(var t=0,e=Array(this.objects.length),r=0,n=this.objects.length;r<n;r++){var o=this.objects[r],i=o[0],a=o[1];e[r]=[i.objectNumber,t],t+=a.sizeInBytes()+1}return e},e.withContextAndObjects=function(t,r,n){return void 0===n&&(n=!0),new e(t,r,n)},e}(rX);t.s(["default",0,r4],21742);var r6=function(){function t(t,e){var r=this;this.parsedObjects=0,this.shouldWaitForTick=function(t){return r.parsedObjects+=t,r.parsedObjects%r.objectsPerTick==0},this.context=t,this.objectsPerTick=e}return t.prototype.serializeToBuffer=function(){return ts(this,void 0,void 0,function(){var t,e,r,n,o,i,a,s,u,c,l,h,f,d,p,g,y;return tu(this,function(v){switch(v.label){case 0:return[4,this.computeBufferSize()];case 1:e=(t=v.sent()).size,r=t.header,n=t.indirectObjects,o=t.xref,i=t.trailerDict,a=t.trailer,s=0,u=new Uint8Array(e),s+=r.copyBytesInto(u,s),u[s++]=rk.Newline,u[s++]=rk.Newline,c=0,l=n.length,v.label=2;case 2:if(!(c<l))return[3,5];if(f=(h=n[c])[0],d=h[1],p=String(f.objectNumber),s+=tF(p,u,s),u[s++]=rk.Space,g=String(f.generationNumber),s+=tF(g,u,s),u[s++]=rk.Space,u[s++]=rk.o,u[s++]=rk.b,u[s++]=rk.j,u[s++]=rk.Newline,s+=d.copyBytesInto(u,s),u[s++]=rk.Newline,u[s++]=rk.e,u[s++]=rk.n,u[s++]=rk.d,u[s++]=rk.o,u[s++]=rk.b,u[s++]=rk.j,u[s++]=rk.Newline,u[s++]=rk.Newline,y=d instanceof r4?d.getObjectsCount():1,!this.shouldWaitForTick(y))return[3,4];return[4,t$()];case 3:v.sent(),v.label=4;case 4:return c++,[3,2];case 5:return o&&(s+=o.copyBytesInto(u,s),u[s++]=rk.Newline),i&&(s+=i.copyBytesInto(u,s),u[s++]=rk.Newline,u[s++]=rk.Newline),s+=a.copyBytesInto(u,s),[2,u]}})})},t.prototype.computeIndirectObjectSize=function(t){var e=t[0],r=t[1];return e.sizeInBytes()+3+(r.sizeInBytes()+9)},t.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},t.prototype.computeBufferSize=function(){return ts(this,void 0,void 0,function(){var t,e,r,n,o,i,a,s,u,c,l;return tu(this,function(h){switch(h.label){case 0:e=(t=r_.forVersion(1,7)).sizeInBytes()+2,r=r2.create(),n=this.context.enumerateIndirectObjects(),o=0,i=n.length,h.label=1;case 1:if(!(o<i))return[3,4];if(s=(a=n[o])[0],r.addEntry(s,e),e+=this.computeIndirectObjectSize(a),!this.shouldWaitForTick(1))return[3,3];return[4,t$()];case 2:h.sent(),h.label=3;case 3:return o++,[3,1];case 4:return u=e,e+=r.sizeInBytes()+1,c=r3.of(this.createTrailerDict()),e+=c.sizeInBytes()+2,l=r5.forLastCrossRefSectionOffset(u),[2,{size:e+=l.sizeInBytes(),header:t,indirectObjects:n,xref:r,trailerDict:c,trailer:l}]}})})},t.forContext=function(e,r){return new t(e,r)},t}();t.s(["default",0,r6],267777);var r8=function(t){function e(e){var r=t.call(this)||this;return r.data=e,r}return ti(e,t),e.prototype.clone=function(){return e.of(this.data.slice())},e.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" b
1ytes)"},e.prototype.sizeInBytes=function(){return this.data.length},e.prototype.copyBytesInto=function(t,e){for(var r=this.data.length,n=0;n<r;n++)t[e++]=this.data[n];return r},e.of=function(t){return new e(t)},e}(rD);t.s(["default",0,r8],457424),(i=I||(I={}))[i.Deleted=0]="Deleted",i[i.Uncompressed=1]="Uncompressed",i[i.Compressed=2]="Compressed";var r9=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e,n)||this;return o.computeIndex=function(){for(var t=[],e=0,r=0,n=o.entries.length;r<n;r++){var i=o.entries[r],a=o.entries[r-1];0===r?t.push(i.ref.objectNumber):i.ref.objectNumber-a.ref.objectNumber>1&&(t.push(e),t.push(i.ref.objectNumber),e=0),e+=1}return t.push(e),t},o.computeEntryTuples=function(){for(var t=Array(o.entries.length),e=0,r=o.entries.length;e<r;e++){var n=o.entries[e];if(n.type===I.Deleted){var i=n.type,a=n.nextFreeObjectNumber,s=n.ref;t[e]=[i,a,s.generationNumber]}if(n.type===I.Uncompressed){var i=n.type,u=n.offset,s=n.ref;t[e]=[i,u,s.generationNumber]}if(n.type===I.Compressed){var i=n.type,c=n.objectStreamRef,l=n.index;t[e]=[i,c.objectNumber,l]}}return t},o.computeMaxEntryByteWidths=function(){for(var t=o.entryTuplesCache.access(),e=[0,0,0],r=0,n=t.length;r<n;r++){var i=t[r],a=i[0],s=i[1],u=i[2],c=ei(a),l=ei(s),h=ei(u);c>e[0]&&(e[0]=c),l>e[1]&&(e[1]=l),h>e[2]&&(e[2]=h)}return e},o.entries=r||[],o.entryTuplesCache=e8.populatedBy(o.computeEntryTuples),o.maxByteWidthsCache=e8.populatedBy(o.computeMaxEntryByteWidths),o.indexCache=e8.populatedBy(o.computeIndex),e.set(rj.of("Type"),rj.of("XRef")),o}return ti(e,t),e.prototype.addDeletedEntry=function(t,e){var r=I.Deleted;this.entries.push({type:r,ref:t,nextFreeObjectNumber:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(t,e){var r=I.Uncompressed;this.entries.push({type:r,ref:t,offset:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(t,e,r){var n=I.Compressed;this.entries.push({type:n,ref:t,objectStreamRef:e,index:r}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(t){var r=this.dict,n=this.entries,o=this.encode;return e.of(r.clone(t),n.slice(),o)},e.prototype.getContentsString=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r="",n=0,o=t.length;n<o;n++){for(var i=t[n],a=i[0],s=i[1],u=i[2],c=tq(ea(a)),l=tq(ea(s)),h=tq(ea(u)),f=e[0]-1;f>=0;f--)r+=(c[f]||0).toString(2);for(var f=e[1]-1;f>=0;f--)r+=(l[f]||0).toString(2);for(var f=e[2]-1;f>=0;f--)r+=(h[f]||0).toString(2)}return r},e.prototype.getUnencodedContents=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r=new Uint8Array(this.getUnencodedContentsSize()),n=0,o=0,i=t.length;o<i;o++){for(var a=t[o],s=a[0],u=a[1],c=a[2],l=tq(ea(s)),h=tq(ea(u)),f=tq(ea(c)),d=e[0]-1;d>=0;d--)r[n++]=l[d]||0;for(var d=e[1]-1;d>=0;d--)r[n++]=h[d]||0;for(var d=e[2]-1;d>=0;d--)r[n++]=f[d]||0}return r},e.prototype.getUnencodedContentsSize=function(){return tZ(this.maxByteWidthsCache.access())*this.entries.length},e.prototype.updateDict=function(){t.prototype.updateDict.call(this);var e=this.maxByteWidthsCache.access(),r=this.indexCache.access(),n=this.dict.context;this.dict.set(rj.of("W"),n.obj(e)),this.dict.set(rj.of("Index"),n.obj(r))},e.create=function(t,r){void 0===r&&(r=!0);var n=new e(t,[],r);return n.addDeletedEntry(rV.of(0,65535),0),n},e.of=function(t,r,n){return void 0===n&&(n=!0),new e(t,r,n)},e}(rX);t.s(["default",0,r9],492224);var r7=function(t){function e(e,r,n,o){var i=t.call(this,e,r)||this;return i.encodeStreams=n,i.objectsPerStream=o,i}return ti(e,t),e.prototype.computeBufferSize=function(){return ts(this,void 0,void 0,function(){var t,e,r,n,o,i,a,s,u,c,l,h,f,d,p,g,y,v,b;return tu(this,function(m){switch(m.label){case 0:t=this.context.largestObjectNumber+1,r=(e=r_.forVersion(1,7)).sizeInBytes()+2,n=r9.create(this.createTrailerDict(),this.encodeStreams),o=[],i=[],a=[],s=this.context.enumerateIndirectObjects(),u=0,c=s.length,m.label=1;case 1:if(!(u<c))return[3,6];if(h=(l=s[u])[0],f=l[1],!(h===this.context.trailerInfo.Encrypt||f instanceof rU||f instanceof r8||0!==h.generationNumber))return[3,4];if(o.push(l),n.addUncompressedEntry(h,r),r+=this.computeIndirectObjectSize(l),!this.shouldWaitForTick(1))return[3,3];return[4,t$()];case 2:m.sent(),m.label=3;case 3:return[3,5];case 4:d=tW(i),p=tW(a),d&&d.length%this.objectsPerStream!=0||(d=[],i.push(d),p=rV.of(t++),a.push(p)),n.addCompressedEntry(h,p,d.length),d.push(l),m.label=5;case 5:return u++,[3,1];case 6:u=0,c=i.length,m.label=7;case 7:if(!(u<c))return[3,10];if(d=i[u],h=a[u],g=r4.withContextAndObjects(this.context,d,this.encodeStreams),n.addUncompressedEntry(h,r),r+=this.computeIndirectObjectSize([h,g]),o.push([h,g]),!this.shouldWaitForTick(d.length))return[3,9];return[4,t$()];case 8:m.sent(),m.label=9;case 9:return u++,[3,7];case 10:return y=rV.of(t++),n.dict.set(rj.of("Size"),rB.of(t)),n.addUncompressedEntry(y,r),v=r,r+=this.computeIndirectObjectSize([y,n]),o.push([y,n]),b=r5.forLastCrossRefSectionOffset(v),[2,{size:r+=b.sizeInBytes(),header:e,indirectObjects:o,trailer:b}]}})})},e.forContext=function(t,r,n,o){return void 0===n&&(n=!0),void 0===o&&(o=50),new e(t,r,n,o)},e}(r6);t.s(["default",0,r7],542481);var nt=function(t){function e(e){var r=t.call(this)||this;return r.value=e,r}return ti(e,t),e.prototype.asBytes=function(){for(var t=this.value+(this.value.length%2==1?"0":""),e=t.length,r=new Uint8Array(t.length/2),n=0,o=0;n<e;){var i=parseInt(t.substring(n,n+2),16);r[o]=i,n+=2,o+=1}return r},e.prototype.decodeText=function(){var t=this.asBytes();return en(t)?t6(t):e6(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=tM(t);if(!e)throw new ru(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"<"+this.value+">"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=rk.LessThan,e+=tF(this.value,t,e),t[e++]=rk.GreaterThan,this.value.length+2},e.of=function(t){return new e(t)},e.fromText=function(t){for(var r=t1(t),n="",o=0,i=r.length;o<i;o++)n+=tm(r[o],4);return new e(n)},e}(rD);t.s(["default",0,nt],376508);var ne=function(){function t(t,e){this.encoding=t===O.ZapfDingbats?eI.ZapfDingbats:t===O.Symbol?eI.Symbol:eI.WinAnsi,this.font=eO.load(t),this.fontName=this.font.FontName,this.customName=e}return t.prototype.encodeText=function(t){for(var e=this.encodeTextAsGlyphs(t),r=Array(e.length),n=0,o=e.length;n<o;n++)r[n]=tw(e[n].code);return nt.of(r.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var r=this.encodeTextAsGlyphs(t),n=0,o=0,i=r.length;o<i;o++){var a=r[o].name,s=(r[o+1]||{}).name,u=this.font.getXAxisKerningForPair(a,s)||0;n+=this.widthOfGlyph(a)+u}return e/1e3*n},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var r=e.descender,n=this.font,o=n.Ascender,i=n.Descender,a=n.FontBBox,s=(o||a[3])-(i||a[1]);return void 0===r||r||(s+=i||0),s/1e3*t}
1,t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,r=e.Ascender,n=e.Descender,o=e.FontBBox;return 1e3*t/((r||o[3])-(n||o[1]))},t.prototype.embedIntoContext=function(t,e){var r=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===eI.WinAnsi?"WinAnsiEncoding":void 0});return e?(t.assign(e,r),e):t.register(r)},t.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},t.prototype.encodeTextAsGlyphs=function(t){for(var e=Array.from(t),r=Array(e.length),n=0,o=e.length;n<o;n++){var i=tb(e[n]);r[n]=this.encoding.encodeUnicodeCodePoint(i)}return r},t.for=function(e,r){return new t(e,r)},t}();t.s(["default",0,ne],674777);var nr=function(t,e){for(var r=Array(t.length),n=0,o=t.length;n<o;n++){var i=t[n],a=no(ni(e(i))),s=no.apply(void 0,i.codePoints.map(na));r[n]=[a,s]}return nn(r)},nn=function(t){return"/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange\n"+t.length+" beginbfchar\n"+t.map(function(t){return t[0]+" "+t[1]}).join("\n")+"\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},no=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"<"+t.join("")+">"},ni=function(t){return tm(t,4)},na=function(t){if(t2(t))return ni(t);if(t5(t)){var e=t3(t),r=t4(t);return""+ni(e)+ni(r)}throw Error("0x"+tw(t)+" is not a valid UTF-8 or UTF-16 codepoint.")},ns=function(t){var e=0,r=function(t){e|=1<<t-1};return t.fixedPitch&&r(1),t.serif&&r(2),t.symbolic&&r(3),t.script&&r(4),t.nonsymbolic&&r(6),t.italic&&r(7),t.allCap&&r(17),t.smallCap&&r(18),t.forceBold&&r(19),e},nu=function(t){var e=t["OS/2"]?t["OS/2"].sFamilyClass:0;return ns({fixedPitch:t.post.isFixedPitch,serif:1<=e&&e<=7,symbolic:!0,script:10===e,italic:t.head.macStyle.italic})},nc=function(t){function e(e){var r=t.call(this)||this;return r.value=e,r}return ti(e,t),e.prototype.asBytes=function(){for(var t=[],e="",r=!1,n=function(e){void 0!==e&&t.push(e),r=!1},o=0,i=this.value.length;o<i;o++){var a=this.value[o],s=tv(a),u=this.value[o+1];r?s===rk.Newline||s===rk.CarriageReturn?n():s===rk.n?n(rk.Newline):s===rk.r?n(rk.CarriageReturn):s===rk.t?n(rk.Tab):s===rk.b?n(rk.Backspace):s===rk.f?n(rk.FormFeed):s===rk.LeftParen?n(rk.LeftParen):s===rk.RightParen?n(rk.RightParen):s===rk.Backspace?n(rk.BackSlash):s>=rk.Zero&&s<=rk.Seven?3!==(e+=a).length&&u>="0"&&u<="7"||(n(parseInt(e,8)),e=""):n(s):s===rk.BackSlash?r=!0:n(s)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return en(t)?t6(t):e6(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=tM(t);if(!e)throw new ru(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=rk.LeftParen,e+=tF(this.value,t,e),t[e++]=rk.RightParen,this.value.length+2},e.of=function(t){return new e(t)},e.fromDate=function(t){return new e("D:"+tS(String(t.getUTCFullYear()),4,"0")+tS(String(t.getUTCMonth()+1),2,"0")+tS(String(t.getUTCDate()),2,"0")+tS(String(t.getUTCHours()),2,"0")+tS(String(t.getUTCMinutes()),2,"0")+tS(String(t.getUTCSeconds()),2,"0")+"Z")},e}(rD);t.s(["default",0,nc],75944);var nl=function(){function t(t,e,r,n){var o=this;this.allGlyphsInFontSortedById=function(){for(var t=Array(o.font.characterSet.length),e=0,r=t.length;e<r;e++){var n=o.font.characterSet[e];t[e]=o.font.glyphForCodePoint(n)}return tV(t.sort(tG),function(t){return t.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=e,this.fontName=this.font.postscriptName||"Font",this.customName=r,this.fontFeatures=n,this.baseFontName="",this.glyphCache=e8.populatedBy(this.allGlyphsInFontSortedById)}return t.for=function(e,r,n,o){return ts(this,void 0,void 0,function(){return tu(this,function(i){switch(i.label){case 0:return[4,e.create(r)];case 1:return[2,new t(i.sent(),r,n,o)]}})})},t.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,r=Array(e.length),n=0,o=e.length;n<o;n++)r[n]=tm(e[n].id,4);return nt.of(r.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var r=this.font.layout(t,this.fontFeatures).glyphs,n=0,o=0,i=r.length;o<i;o++)n+=r[o].advanceWidth*this.scale;return e/1e3*n},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var r=e.descender,n=this.font,o=n.ascent,i=n.descent,a=n.bbox,s=(o||a.maxY)*this.scale-(i||a.minY)*this.scale;return void 0===r||r||(s-=Math.abs(i)||0),s/1e3*t}
1,t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,r=e.ascent,n=e.descent,o=e.bbox;return 1e3*t/((r||o.maxY)*this.scale-(n||o.minY)*this.scale)},t.prototype.embedIntoContext=function(t,e){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,e)},t.prototype.embedFontDict=function(t,e){return ts(this,void 0,void 0,function(){var r,n,o;return tu(this,function(i){switch(i.label){case 0:return[4,this.embedCIDFontDict(t)];case 1:if(r=i.sent(),n=this.embedUnicodeCmap(t),o=t.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[r],ToUnicode:n}),e)return t.assign(e,o),[2,e];return[2,t.register(o)]}})})},t.prototype.isCFF=function(){return this.font.cff},t.prototype.embedCIDFontDict=function(t){return ts(this,void 0,void 0,function(){var e,r;return tu(this,function(n){switch(n.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return e=n.sent(),r=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:nc.of("Adobe"),Ordering:nc.of("Identity"),Supplement:0},FontDescriptor:e,W:this.computeWidths()}),[2,t.register(r)]}})})},t.prototype.embedFontDescriptor=function(t){return ts(this,void 0,void 0,function(){var e,r,n,o,i,a,s,u,c,l,h,f,d,p,g;return tu(this,function(y){switch(y.label){case 0:return[4,this.embedFontStream(t)];case 1:return e=y.sent(),r=this.scale,o=(n=this.font).italicAngle,i=n.ascent,a=n.descent,s=n.capHeight,u=n.xHeight,l=(c=this.font.bbox).minX,h=c.minY,f=c.maxX,d=c.maxY,p=t.obj(((g={Type:"FontDescriptor",FontName:this.baseFontName,Flags:nu(this.font),FontBBox:[l*r,h*r,f*r,d*r],ItalicAngle:o,Ascent:i*r,Descent:a*r,CapHeight:(s||i)*r,XHeight:(u||0)*r,StemV:0})[this.isCFF()?"FontFile3":"FontFile2"]=e,g)),[2,t.register(p)]}})})},t.prototype.serializeFont=function(){return ts(this,void 0,void 0,function(){return tu(this,function(t){return[2,this.fontData]})})},t.prototype.embedFontStream=function(t){return ts(this,void 0,void 0,function(){var e,r,n;return tu(this,function(o){switch(o.label){case 0:return n=(r=t).flateStream,[4,this.serializeFont()];case 1:return e=n.apply(r,[o.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(e)]}})})},t.prototype.embedUnicodeCmap=function(t){var e=nr(this.glyphCache.access(),this.glyphId.bind(this)),r=t.flateStream(e);return t.register(r)},t.prototype.glyphId=function(t){return t?t.id:-1},t.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),e=[],r=[],n=0,o=t.length;n<o;n++){var i=t[n],a=t[n-1],s=this.glyphId(i),u=this.glyphId(a);0===n?e.push(s):s-u!=1&&(e.push(r),e.push(s),r=[]),r.push(i.advanceWidth*this.scale)}return e.push(r),e},t}();t.s(["default",0,nl],317157);var nh=function(t){function e(e,r,n,o){var i=t.call(this,e,r,n,o)||this;return i.subset=i.font.createSubset(),i.glyphs=[],i.glyphCache=e8.populatedBy(function(){return i.glyphs}),i.glyphIdMap=new Map,i}return ti(e,t),e.for=function(t,r,n,o){return ts(this,void 0,void 0,function(){return tu(this,function(i){switch(i.label){case 0:return[4,t.create(r)];case 1:return[2,new e(i.sent(),r,n,o)]}})})},e.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,r=Array(e.length),n=0,o=e.length;n<o;n++){var i=e[n],a=this.subset.includeGlyph(i);this.glyphs[a-1]=i,this.glyphIdMap.set(i.id,a),r[n]=tm(a,4)}return this.glyphCache.invalidate(),nt.of(r.join(""))},e.prototype.isCFF=function(){return this.subset.cff},e.prototype.glyphId=function(t){return t?this.glyphIdMap.get(t.id):-1},e.prototype.serializeFont=function(){var t=this;return new Promise(function(e,r){var n=[];t.subset.encodeStream().on("data",function(t){return n.push(t)}).on("end",function(){return e(tH(n))}).on("error",function(t){return r(t)})})},e}(nl);t.s(["default",0,nh],539259),(a=E||(E={})).Source="Source",a.Data="Data",a.Alternative="Alternative",a.Supplement="Supplement",a.EncryptedPayload="EncryptedPayload",a.FormData="EncryptedPayload",a.Schema="Schema",a.Unspecified="Unspecified";var nf=function(){function t(t,e,r){void 0===r&&(r={}),this.fileData=t,this.fileName=e,this.options=r}return t.for=function(e,r,n){return void 0===n&&(n={}),new t(e,r,n)},t.prototype.embedIntoContext=function(t,e){return ts(this,void 0,void 0,function(){var r,n,o,i,a,s,u,c,l;return tu(this,function(h){return(n=(r=this.options).mimeType,o=r.description,i=r.creationDate,a=r.modificationDate,s=r.afRelationship,u=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!=n?n:void 0,Params:{Size:this.fileData.length,CreationDate:i?nc.fromDate(i):void 0,ModDate:a?nc.fromDate(a):void 0}}),c=t.register(u),l=t.obj({Type:"Filespec",F:nc.of(this.fileName),UF:nt.fromText(this.fileName),EF:{F:c},Desc:o?nt.fromText(o):void 0,AFRelationship:null!=s?s:void 0}),e)?(t.assign(e,l),[2,e]):[2,t.register(l)]})})},t}();t.s(["AFRelationship",()=>E,"default",0,nf],611807);var nd=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487];(s=z||(z={})).DeviceGray="DeviceGray",s.DeviceRGB="DeviceRGB",s.DeviceCMYK="DeviceCMYK";var np={1:z.DeviceGray,3:z.DeviceRGB,4:z.DeviceCMYK},ng=function(){function t(t,e,r,n,o){this.imageData=t,this.bitsPerComponent=e,this.width=r,this.height=n,this.colorSpace
1=o}return t.for=function(e){return ts(this,void 0,void 0,function(){var r,n,o,i,a,s,u;return tu(this,function(c){if(65496!==(r=new DataView(e.buffer)).getUint16(0))throw Error("SOI not found in JPEG");for(n=2;n<r.byteLength&&(o=r.getUint16(n),n+=2,!nd.includes(o));)n+=r.getUint16(n);if(!nd.includes(o))throw Error("Invalid JPEG");if(n+=2,i=r.getUint8(n++),a=r.getUint16(n),n+=2,s=r.getUint16(n),n+=2,!(u=np[r.getUint8(n++)]))throw Error("Unknown JPEG channel.");return[2,new t(e,i,s,a,u)]})})},t.prototype.embedIntoContext=function(t,e){return ts(this,void 0,void 0,function(){var r;return tu(this,function(n){return(r=t.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===z.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),e)?(t.assign(e,r),[2,e]):[2,t.register(r)]})})},t}();t.s(["default",0,ng],497030);var ny={};ny.toRGBA8=function(t){var e=t.width,r=t.height;if(null==t.tabs.acTL)return[ny.toRGBA8.decodeImage(t.data,e,r,t).buffer];var n=[];null==t.frames[0].data&&(t.frames[0].data=t.data);for(var o=e*r*4,i=new Uint8Array(o),a=new Uint8Array(o),s=new Uint8Array(o),u=0;u<t.frames.length;u++){var c=t.frames[u],l=c.rect.x,h=c.rect.y,f=c.rect.width,d=c.rect.height,p=ny.toRGBA8.decodeImage(c.data,f,d,t);if(0!=u)for(var g=0;g<o;g++)s[g]=i[g];if(0==c.blend?ny._copyTile(p,f,d,i,e,r,l,h,0):1==c.blend&&ny._copyTile(p,f,d,i,e,r,l,h,1),n.push(i.buffer.slice(0)),0==c.dispose);else if(1==c.dispose)ny._copyTile(a,f,d,i,e,r,l,h,0);else if(2==c.dispose)for(var g=0;g<o;g++)i[g]=s[g]}return n},ny.toRGBA8.decodeImage=function(t,e,r,n){var o=e*r,i=Math.ceil(e*ny.decode._getBPP(n)/8),a=new Uint8Array(4*o),s=new Uint32Array(a.buffer),u=n.ctype,c=n.depth,l=ny._bin.readUshort;if(Date.now(),6==u){var h=o<<2;if(8==c)for(var f=0;f<h;f+=4)a[f]=t[f],a[f+1]=t[f+1],a[f+2]=t[f+2],a[f+3]=t[f+3];if(16==c)for(var f=0;f<h;f++)a[f]=t[f<<1]}else if(2==u){var d=n.tabs.tRNS;if(null==d){if(8==c)for(var f=0;f<o;f++){var p=3*f;s[f]=-0x1000000|t[p+2]<<16|t[p+1]<<8|t[p]}if(16==c)for(var f=0;f<o;f++){var p=6*f;s[f]=-0x1000000|t[p+4]<<16|t[p+2]<<8|t[p]}}else{var g=d[0],y=d[1],v=d[2];if(8==c)for(var f=0;f<o;f++){var b=f<<2,p=3*f;s[f]=-0x1000000|t[p+2]<<16|t[p+1]<<8|t[p],t[p]==g&&t[p+1]==y&&t[p+2]==v&&(a[b+3]=0)}if(16==c)for(var f=0;f<o;f++){var b=f<<2,p=6*f;s[f]=-0x1000000|t[p+4]<<16|t[p+2]<<8|t[p],l(t,p)==g&&l(t,p+2)==y&&l(t,p+4)==v&&(a[b+3]=0)}}}else if(3==u){var m=n.tabs.PLTE,w=n.tabs.tRNS,x=w?w.length:0;if(1==c)for(var C=0;C<r;C++)for(var S=C*i,F=C*e,f=0;f<e;f++){var b=F+f<<2,A=t[S+(f>>3)]>>7-(7&f)&1,k=3*A;a[b]=m[k],a[b+1]=m[k+1],a[b+2]=m[k+2],a[b+3]=A<x?w[A]:255}if(2==c)for(var C=0;C<r;C++)for(var S=C*i,F=C*e,f=0;f<e;f++){var b=F+f<<2,A=t[S+(f>>2)]>>6-((3&f)<<1)&3,k=3*A;a[b]=m[k],a[b+1]=m[k+1],a[b+2]=m[k+2],a[b+3]=A<x?w[A]:255}if(4==c)for(var C=0;C<r;C++)for(var S=C*i,F=C*e,f=0;f<e;f++){var b=F+f<<2,A=t[S+(f>>1)]>>4-((1&f)<<2)&15,k=3*A;a[b]=m[k],a[b+1]=m[k+1],a[b+2]=m[k+2],a[b+3]=A<x?w[A]:255}if(8==c)for(var f=0;f<o;f++){var b=f<<2,A=t[f],k=3*A;a[b]=m[k],a[b+1]=m[k+1],a[b+2]=m[k+2],a[b+3]=A<x?w[A]:255}}else if(4==u){if(8==c)for(var f=0;f<o;f++){var b=f<<2,_=f<<1,D=t[_];a[b]=D,a[b+1]=D,a[b+2]=D,a[b+3]=t[_+1]}if(16==c)for(var f=0;f<o;f++){var b=f<<2,_=f<<2,D=t[_];a[b]=D,a[b+1]=D,a[b+2]=D,a[b+3]=t[_+2]}}else if(0==u)for(var g=n.tabs.tRNS?n.tabs.tRNS:-1,C=0;C<r;C++){var B=C*i,P=C*e;if(1==c)for(var T=0;T<e;T++){var D=255*(t[B+(T>>>3)]>>>7-(7&T)&1),O=255*(D!=255*g);s[P+T]=O<<24|D<<16|D<<8|D}else if(2==c)for(var T=0;T<e;T++){var D=85*(t[B+(T>>>2)]>>>6-((3&T)<<1)&3),O=255*(D!=85*g);s[P+T]=O<<24|D<<16|D<<8|D}else if(4==c)for(var T=0;T<e;T++){var D=17*(t[B+(T>>>1)]>>>4-((1&T)<<2)&15),O=255*(D!=17*g);s[P+T]=O<<24|D<<16|D<<8|D}else if(8==c)for(var T=0;T<e;T++){var D=t[B+T],O=255*(D!=g);s[P+T]=O<<24|D<<16|D<<8|D}else if(16==c)for(var T=0;T<e;T++){var D=t[B+(T<<1)],O=255*(l(t,B+(T<<f))!=g);s[P+T]=O<<24|D<<16|D<<8|D}}return a},ny.decode=function(t){for(var e,r=new Uint8Array(t),n=8,o=ny._bin,i=o.readUshort,a=o.readUint,s={tabs:{},frames:[]},u=new Uint8Array(r.length),c=0,l=0,h=[137,80,78,71,13,10,26,10],f=0;f<8;f++)if(r[f]!=h[f])throw"The input is not a PNG file!";for(;n<r.length;){var d=o.readUint(r,n);n+=4;var p=o.readASCII(r,n,4);if(n+=4,"IHDR"==p)ny.decode._IHDR(r,n,s);else if("IDAT"==p){for(var f=0;f<d;f++)u[c+f]=r[n+f];c+=d}else if("acTL"==p)s.tabs[p]={num_frames:a(r,n),num_plays:a(r,n+4)},e=new Uint8Array(r.length);else if("fcTL"==p){if(0!=l){var g=s.frames[s.frames.length-1];g.data=ny.decode._decompress(s,e.slice(0,l),g.rect.width,g.rect.height),l=0}var y={x:a(r,n+12),y:a(r,n+16),width:a(r,n+4),height:a(r,n+8)},v=i(r,n+22),b={rect:y,delay:Math.round(1e3*(v=i(r,n+20)/(0==v?100:v))),dispose:r[n+24],blend:r[n+25]};s.frames.push(b)}else if("fdAT"==p){for(var f=0;f<d-4;f++)e[l+f]=r[n+f+4];l+=d-4}else if("pHYs"==p)s.tabs[p]=[o.readUint(r,n),o.readUint(r,n+4),r[n+8]];else if("cHRM"==p){s.tabs[p]=[];for(var f=0;f<8;f++)s.tabs[p].push(o.readUint(r,n+4*f))}else if("tEXt"==p){null==s.tabs[p]&&(s.tabs[p]={});var m=o.nextZero(r,n),w=o.readASCII(r,n,m-n),x=o.readASCII(r,m+1,n+d-m-1);s.tabs[p][w]=x}else if("iTXt"==p){null==s.tabs[p]&&(s.tabs[p]={});var m=0,C=n;m=o.nextZero(r,C);var w=o.readASCII(r,C,m-C);r[C=m+1],r[C+1],C+=2,m=o.nextZero(r,C),o.readASCII(r,C,m-C),C=m+1,m=o.nextZero(r,C),o.readUTF8(r,C,m-C),C=m+1;var x=o.readUTF8(r,C,d-(C-n));s.tabs[p][w]=x}else if("PLTE"==p)s.tabs[p]=o.readBytes(r,n,d);else if("hIST"==p){var S=s.tabs.PLTE.length/3;s.tabs[p]=[];for(var f=0;f<S;f++)s.tabs[p].push(i(r,n+2*f))}else if("tRNS"==p)3==s.ctype?s.tabs[p]=o.readBytes(r,n,d):0==s.ctype?s.tabs[p]=i(r,n):2==s.ctype&&(s.tabs[p]=[i(r,n),i(r,n+2),i(r,n+4)]);else if("gAMA"==p)s.tabs[p]=o.readUint(r,n)/1e5;else if("sRGB"==p)s.tabs[p]=r[n];else if("bKGD"==p)0==s.ctype||4==s.ctype?s.tabs[p]=[i(r,n)]:2==s.ctype||6==s.ctype?s.tabs[p]=[i(r,n),i(r,n+2),i(r,n+4)]:3==s.ctype&&(s.tabs[p]=r[n]);else if("IEND"==p)break;n+=d,o.readUint(r,n),n+=4}if(0!=l){var g=s.frames[s.frames.length-1];g.data=ny.decode._decompress(s,e.slice(0,l),g.rect.width,g.rect.height),l=0}return s.data=ny.decode._decompress(s,u,s.width,s.height),delete s.compress,delete s.interlace,delete s.filter,s},ny.decode._decompress=function(t,e,r,n){Date.now();var o=new Uint8Array((Math.ceil(r*ny.decode._getBPP(t)/8)+1+t.interlace)*n);return e=ny.decode._inflate(e,o),Date.now(),0==t.interlace?e=ny.decode._filterZero(e,t,0,r,n):1==t.interlace&&(e=ny.decode._readInterlace(e,t)),e},ny.decode._inflate=function(t,e){return ny.inflateRaw(new Uint8Array(t.buffer,2,t.length-6),e)},(u={}).H={},u.H.N=function(t,e){var r,n,o=Uint8Array,i=0,a=0,s=0,c=0,l=0,h=0,f=0,d=0,p=0;if(3==t[0]&&0==t[1])return e||new o(0);var g=u.H,y=g.b,v=g.e,b=g.R,m=g.n,w=g.A,x=g.Z,C=g.m,S=null==e;for(S&&(e=new o(t.length>>>2<<3));0==i;){if(i=y(t,p,1),a=y(t,p+1,2),p+=3,0==a){(7&p)!=0&&(p+=8-(7&p));var F=(p>>>3)+4,A=t[F-4]|t[F-3]<<8;S&&(e=u.H.W(e,d+A)),e.set(new o(t.buffer,t.byteOffset+F,A),d),p=F+A<<3,d+=A;continue}if(S&&(e=u.H.W(e,d+131072)),1==a&&(r=C.J,n=C.h,h=511,f=31),2==a){s=v(t,p,5)+257,c=v(t,p+5,5)+1,l=v(t,p+10,4)+4,p+=14;for(var k=1,_=0;_<38;_+=2)C.Q[_]=0,C.Q[_+1]=0;for(var _=0;_<l;_++){var D=v(t,p+3*_,3);C.Q[(C.X[_]<<1)+1]=D,D>k&&(k=D)}p+=3*l,m(C.Q,k),w(C.Q,k,C.u),r=C.w,n=C.d,p=b(C.u,(1<<k)-1,s+c,t,p,C.v);var B=g.V(C.v,0,s,C.C);h=(1<<B)-1;var P=g.V(C.v,s,c,C.D);f=(1<<P)-1,m(C.C,B),w(C.C,B,r),m(C.D,P),w(C.D,P,n)}for(;;){var T=r[x(t,p)&h];p+=15&T;var O=T>>>4;if(O>>>8==0)e[d++]=O;else if(256==O)break;else{var R=d+O-254;if(O>264){var N=C.q[O-257];R=d+(N>>>3)+v(t,p,7&N),p+=7&N}var I=n[x(t,p)&f];p+=15&I;var E=I>>>4,z=C.c[E],M=(z>>>4)+y(t,p,15&z);for(p+=15&z;d<R;)e[d]=e[d++-M],e[d]=e[d++-M],e[d]=e[d++-M],e[d]=e[d++-M];d=R}}}return e.length==d?e:e.slice(0,d)},u.H.W=function(t,e){var r=t.length;if(e<=r)return t;var n=new Uint8Array(r<<1);return n.set(t,0),n},u.H.R=function(t,e,r,n,o,i){for(var a=u.H.e,s=u.H.Z,c=0;c<r;){var l=t[s(n,o)&e];o+=15&l;var h=l>>>4;if(h<=15)i[c]=h,c++;else{var f=0,d=0;16==h?(d=3+a(n,o,2),o+=2,f=i[c-1]):17==h?(d=3+a(n,o,3),o+=3):18==h&&(d=11+a(n,o,7),o+=7);for(var p=c+d;c<p;)i[c]=f,c++}}return o},u.H.V=function(t,e,r,n){for(var o=0,i=0,a=n.length>>>1;i<r;){var s=t[i+e];n[i<<1]=0,n[(i<<1)+1]=s,s>o&&(o=s),i++}for(;i<a;)n[i<<1]=0,n[(i<<1)+1]=0,i++;return o},u.H.n=function(t,e){for(var r,n,o,i,a,s=u.H.m,c=t.length,l=s.j,i=0;i<=e;i++)l[i]=0;for(i=1;i<c;i+=2)l[t[i]]++;var h=s.K;for(n=1,r=0,l[0]=0;n<=e;n++)r=r+l[n-1]<<1,h[n]=r;for(o=0;o<c;o+=2)0!=(a=t[o+1])&&(t[o]=h[a],h[a]++)},u.H.A=function(t,e,r){for(var n=t.length,o=u.H.m.r,i=0;i<n;i+=2)if(0!=t[i+1])for(var a=i>>1,s=t[i+1],c=a<<4|s,l=e-s,h=t[i]<<l,f=h+(1<<l);h!=f;)r[o[h]>>>15-e]=c,h++},u.H.l=function(t,e){for(var r=u.H.m.r,n=15-e,o=0;o<t.length;o+=2){var i=t[o]<<e-t[o+1];t[o]=r[i]>>>n}},u.H.M=function(t,e,r){r<<=7&e;var n=e>>>3;t[n]|=r,t[n+1]|=r>>>8},u.H.I=function(t,e,r){r<<=7&e;var n=e>>>3;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},u.H.e=function(t,e,r){return(t[e>>>3]|t[(e>>>3)+1]<<8)>>>(7&e)&(1<<r)-1},u.H.b=function(t,e,r){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(7&e)&(1<<r)-1},u.H.Z=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(7&e)},u.H.i=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16|t[(e>>>3)+3]<<24)>>>(7&e)},u.H.m=(c=Uint16Array,l=Uint32Array,{K:new c(16),j:new c(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new c(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new l(32),J:new c(512),_:[],h:new c(32),$:[],w:new c(32768),C:[],v:[],d:new c(32768),D:[],u:new c(512),Q:[],r:new c(32768),s:new l(286),Y:new l(30),a:new l(19),t:new l(15e3),k:new c(65536),g:new c(32768)}),function(){for(var t=u.H.m,e=0;e<32768;e++){var r=e;
1r=(0xff00ff00&(r=(0xf0f0f0f0&(r=(0xcccccccc&(r=(0xaaaaaaaa&r)>>>1|(0x55555555&r)<<1))>>>2|(0x33333333&r)<<2))>>>4|(0xf0f0f0f&r)<<4))>>>8|(0xff00ff&r)<<8,t.r[e]=(r>>>16|r<<16)>>>17}function n(t,e,r){for(;0!=e--;)t.push(0,r)}for(var e=0;e<32;e++)t.q[e]=t.S[e]<<3|t.T[e],t.c[e]=t.p[e]<<4|t.z[e];n(t._,144,8),n(t._,112,9),n(t._,24,7),n(t._,8,8),u.H.n(t._,9),u.H.A(t._,9,t.J),u.H.l(t._,9),n(t.$,32,5),u.H.n(t.$,5),u.H.A(t.$,5,t.h),u.H.l(t.$,5),n(t.Q,19,0),n(t.C,286,0),n(t.D,30,0),n(t.v,320,0)}(),ny.inflateRaw=u.H.N,ny.decode._readInterlace=function(t,e){for(var r=e.width,n=e.height,o=ny.decode._getBPP(e),i=o>>3,a=Math.ceil(r*o/8),s=new Uint8Array(n*a),u=0,c=[0,0,4,0,2,0,1],l=[0,4,0,2,0,1,0],h=[8,8,8,4,4,2,2],f=[8,8,4,4,2,2,1],d=0;d<7;){for(var p=h[d],g=f[d],y=0,v=0,b=c[d];b<n;)b+=p,v++;for(var m=l[d];m<r;)m+=g,y++;var w=Math.ceil(y*o/8);ny.decode._filterZero(t,e,u,y,v);for(var x=0,C=c[d];C<n;){for(var S=l[d],F=u+x*w<<3;S<r;){if(1==o){var A=t[F>>3];A=A>>7-(7&F)&1,s[C*a+(S>>3)]|=A<<7-(7&S)}if(2==o){var A=t[F>>3];A=A>>6-(7&F)&3,s[C*a+(S>>2)]|=A<<6-((3&S)<<1)}if(4==o){var A=t[F>>3];A=A>>4-(7&F)&15,s[C*a+(S>>1)]|=A<<4-((1&S)<<2)}if(o>=8)for(var k=C*a+S*i,_=0;_<i;_++)s[k+_]=t[(F>>3)+_];F+=o,S+=g}x++,C+=p}y*v!=0&&(u+=v*(1+w)),d+=1}return s},ny.decode._getBPP=function(t){return[1,null,3,1,2,null,4][t.ctype]*t.depth},ny.decode._filterZero=function(t,e,r,n,o){var i=ny.decode._getBPP(e),a=Math.ceil(n*i/8),s=ny.decode._paeth;i=Math.ceil(i/8);var u=0,c=1,l=t[r],h=0;if(l>1&&(t[r]=[0,0,1][l-2]),3==l)for(h=i;h<a;h++)t[h+1]=t[h+1]+(t[h+1-i]>>>1)&255;for(var f=0;f<o;f++)if(l=t[(c=(u=r+f*a)+f+1)-1],h=0,0==l)for(;h<a;h++)t[u+h]=t[c+h];else if(1==l){for(;h<i;h++)t[u+h]=t[c+h];for(;h<a;h++)t[u+h]=t[c+h]+t[u+h-i]}else if(2==l)for(;h<a;h++)t[u+h]=t[c+h]+t[u+h-a];else if(3==l){for(;h<i;h++)t[u+h]=t[c+h]+(t[u+h-a]>>>1);for(;h<a;h++)t[u+h]=t[c+h]+(t[u+h-a]+t[u+h-i]>>>1)}else{for(;h<i;h++)t[u+h]=t[c+h]+s(0,t[u+h-a],0);for(;h<a;h++)t[u+h]=t[c+h]+s(t[u+h-i],t[u+h-a],t[u+h-i-a])}return t},ny.decode._paeth=function(t,e,r){var n=t+e-r,o=n-t,i=n-e,a=n-r;return o*o<=i*i&&o*o<=a*a?t:i*i<=a*a?e:r},ny.decode._IHDR=function(t,e,r){var n=ny._bin;r.width=n.readUint(t,e),e+=4,r.height=n.readUint(t,e),r.depth=t[e+=4],r.ctype=t[++e],r.compress=t[++e],r.filter=t[++e],r.interlace=t[++e],e++},ny._bin={nextZero:function(t,e){for(;0!=t[e];)e++;return e},readUshort:function(t,e){return t[e]<<8|t[e+1]},writeUshort:function(t,e,r){t[e]=r>>8&255,t[e+1]=255&r},readUint:function(t,e){return 0x1000000*t[e]+(t[e+1]<<16|t[e+2]<<8|t[e+3])},writeUint:function(t,e,r){t[e]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r},readASCII:function(t,e,r){for(var n="",o=0;o<r;o++)n+=String.fromCharCode(t[e+o]);return n},writeASCII:function(t,e,r){for(var n=0;n<r.length;n++)t[e+n]=r.charCodeAt(n)},readBytes:function(t,e,r){for(var n=[],o=0;o<r;o++)n.push(t[e+o]);return n},pad:function(t){return t.length<2?"0"+t:t},readUTF8:function(t,e,r){for(var n,o="",i=0;i<r;i++)o+="%"+ny._bin.pad(t[e+i].toString(16));try{n=decodeURIComponent(o)}catch(n){return ny._bin.readASCII(t,e,r)}return n}},ny._copyTile=function(t,e,r,n,o,i,a,s,u){for(var c=Math.min(e,o),l=Math.min(r,i),h=0,f=0,d=0;d<l;d++)for(var p=0;p<c;p++)if(a>=0&&s>=0?(h=d*e+p<<2,f=(s+d)*o+a+p<<2):(h=(-s+d)*e-a+p<<2,f=d*o+p<<2),0==u)n[f]=t[h],n[f+1]=t[h+1],n[f+2]=t[h+2],n[f+3]=t[h+3];else if(1==u){var g=t[h+3]*(1/255),y=t[h]*g,v=t[h+1]*g,b=t[h+2]*g,m=n[f+3]*(1/255),w=n[f]*m,x=n[f+1]*m,C=n[f+2]*m,S=1-g,F=g+m*S,A=0==F?0:1/F;n[f+3]=255*F,n[f+0]=(y+w*S)*A,n[f+1]=(v+x*S)*A,n[f+2]=(b+C*S)*A}else if(2==u){var g=t[h+3],y=t[h],v=t[h+1],b=t[h+2],m=n[f+3],w=n[f],x=n[f+1],C=n[f+2];g==m&&y==w&&v==x&&b==C?(n[f]=0,n[f+1]=0,n[f+2]=0,n[f+3]=0):(n[f]=y,n[f+1]=v,n[f+2]=b,n[f+3]=g)}else if(3==u){var g=t[h+3],y=t[h],v=t[h+1],b=t[h+2],m=n[f+3],w=n[f],x=n[f+1],C=n[f+2];if(g==m&&y==w&&v==x&&b==C)continue;if(g<220&&m>20)return!1}return!0},ny.encode=function(t,e,r,n,o,i,a){null==n&&(n=0),null==a&&(a=!1);var s=ny.encode.compress(t,e,r,n,[!1,!1,!1,0,a]);return ny.encode.compressPNG(s,-1),ny.encode._main(s,e,r,o,i)},ny.encodeLL=function(t,e,r,n,o,i,a,s){var u={ctype:0+2*(1!=n)+4*(0!=o),depth:i,frames:[]};Date.now();for(var c=(n+o)*i,l=c*e,h=0;h<t.length;h++)u.frames.push({rect:{x:0,y:0,width:e,height:r},img:new Uint8Array(t[h]),blend:0,dispose:1,bpp:Math.ceil(c/8),bpl:Math.ceil(l/8)});return ny.encode.compressPNG(u,0,!0),ny.encode._main(u,e,r,a,s)},ny.encode._main=function(t,e,r,n,o){null==o&&(o={});var i=ny.crc.crc,a=ny._bin.writeUint,s=ny._bin.writeUshort,u=ny._bin.writeASCII,c=8,l=t.frames.length>1,h=!1,f=33+20*!!l;
1if(null!=o.sRGB&&(f+=13),null!=o.pHYs&&(f+=21),3==t.ctype){for(var d=t.plte.length,p=0;p<d;p++)t.plte[p]>>>24!=255&&(h=!0);f+=8+3*d+4+(h?8+ +d+4:0)}for(var g=0;g<t.frames.length;g++){var y=t.frames[g];l&&(f+=38),f+=y.cimg.length+12,0!=g&&(f+=4)}for(var v=new Uint8Array(f+=12),b=[137,80,78,71,13,10,26,10],p=0;p<8;p++)v[p]=b[p];if(a(v,c,13),u(v,c+=4,"IHDR"),a(v,c+=4,e),a(v,c+=4,r),v[c+=4]=t.depth,v[++c]=t.ctype,v[++c]=0,v[++c]=0,v[++c]=0,a(v,++c,i(v,c-17,17)),c+=4,null!=o.sRGB&&(a(v,c,1),u(v,c+=4,"sRGB"),v[c+=4]=o.sRGB,a(v,++c,i(v,c-5,5)),c+=4),null!=o.pHYs&&(a(v,c,9),u(v,c+=4,"pHYs"),a(v,c+=4,o.pHYs[0]),a(v,c+=4,o.pHYs[1]),v[c+=4]=o.pHYs[2],a(v,++c,i(v,c-13,13)),c+=4),l&&(a(v,c,8),u(v,c+=4,"acTL"),a(v,c+=4,t.frames.length),a(v,c+=4,null!=o.loop?o.loop:0),a(v,c+=4,i(v,c-12,12)),c+=4),3==t.ctype){var d=t.plte.length;a(v,c,3*d),u(v,c+=4,"PLTE"),c+=4;for(var p=0;p<d;p++){var m=3*p,w=t.plte[p],x=255&w,C=w>>>8&255,S=w>>>16&255;v[c+m+0]=x,v[c+m+1]=C,v[c+m+2]=S}if(a(v,c+=3*d,i(v,c-3*d-4,3*d+4)),c+=4,h){a(v,c,d),u(v,c+=4,"tRNS"),c+=4;for(var p=0;p<d;p++)v[c+p]=t.plte[p]>>>24&255;a(v,c+=d,i(v,c-d-4,d+4)),c+=4}}for(var F=0,g=0;g<t.frames.length;g++){var y=t.frames[g];l&&(a(v,c,26),u(v,c+=4,"fcTL"),a(v,c+=4,F++),a(v,c+=4,y.rect.width),a(v,c+=4,y.rect.height),a(v,c+=4,y.rect.x),a(v,c+=4,y.rect.y),s(v,c+=4,n[g]),s(v,c+=2,1e3),v[c+=2]=y.dispose,v[++c]=y.blend,a(v,++c,i(v,c-30,30)),c+=4);var A=y.cimg,d=A.length;a(v,c,d+4*(0!=g));var k=c+=4;u(v,c,0==g?"IDAT":"fdAT"),c+=4,0!=g&&(a(v,c,F++),c+=4),v.set(A,c),a(v,c+=d,i(v,k,c-k)),c+=4}return a(v,c,0),u(v,c+=4,"IEND"),a(v,c+=4,i(v,c-4,4)),c+=4,v.buffer},ny.encode.compressPNG=function(t,e,r){for(var n=0;n<t.frames.length;n++){var o=t.frames[n],i=(o.rect.width,o.rect.height),a=new Uint8Array(i*o.bpl+i);o.cimg=ny.encode._filterZero(o.img,i,o.bpp,o.bpl,a,e,r)}},ny.encode.compress=function(t,e,r,n,o){for(var i=o[0],a=o[1],s=o[2],u=o[3],c=o[4],l=6,h=8,f=255,d=0;d<t.length;d++)for(var p=new Uint8Array(t[d]),g=p.length,y=0;y<g;y+=4)f&=p[y+3];var v=255!=f,b=ny.encode.framize(t,e,r,i,a,s),m={},w=[],x=[];if(0!=n){for(var C=[],y=0;y<b.length;y++)C.push(b[y].img.buffer);for(var S=ny.encode.concatRGBA(C),F=ny.quantize(S,n),A=0,k=new Uint8Array(F.abuf),y=0;y<b.length;y++){var _=b[y].img,D=_.length;x.push(new Uint8Array(F.inds.buffer,A>>2,D>>2));for(var d=0;d<D;d+=4)_[d]=k[A+d],_[d+1]=k[A+d+1],_[d+2]=k[A+d+2],_[d+3]=k[A+d+3];A+=D}for(var y=0;y<F.plte.length;y++)w.push(F.plte[y].est.rgba)}else for(var d=0;d<b.length;d++){var B=b[d],P=new Uint32Array(B.img.buffer),T=B.rect.width,g=P.length,O=new Uint8Array(g);x.push(O);for(var y=0;y<g;y++){var R=P[y];if(0!=y&&R==P[y-1])O[y]=O[y-1];else if(y>T&&R==P[y-T])O[y]=O[y-T];else{var N=m[R];if(null==N&&(m[R]=N=w.length,w.push(R),w.length>=300))break;O[y]=N}}}var I=w.length;I<=256&&!1==c&&(h=Math.max(h=I<=2?1:I<=4?2:I<=16?4:8,u));for(var d=0;d<b.length;d++){var B=b[d],T=(B.rect.x,B.rect.y,B.rect.width),E=B.rect.height,z=B.img;new Uint32Array(z.buffer);var M=4*T,j=4;if(I<=256&&!1==c){for(var W=new Uint8Array((M=Math.ceil(h*T/8))*E),L=x[d],U=0;U<E;U++){var y=U*M,H=U*T;if(8==h)for(var K=0;K<T;K++)W[y+K]=L[H+K];else if(4==h)for(var K=0;K<T;K++)W[y+(K>>1)]|=L[H+K]<<4-(1&K)*4;else if(2==h)for(var K=0;K<T;K++)W[y+(K>>2)]|=L[H+K]<<6-(3&K)*2;else if(1==h)for(var K=0;K<T;K++)W[y+(K>>3)]|=L[H+K]<<7-(7&K)*1}z=W,l=3,j=1}else if(!1==v&&1==b.length){for(var W=new Uint8Array(T*E*3),G=T*E,y=0;y<G;y++){var _=3*y,V=4*y;W[_]=z[V],W[_+1]=z[V+1],W[_+2]=z[V+2]}z=W,l=2,j=3,M=3*T}B.img=z,B.bpl=M,B.bpp=j}return{ctype:l,depth:h,plte:w,frames:b}},ny.encode.framize=function(t,e,r,n,o,i){for(var a=[],s=0;s<t.length;s++){var u,c=new Uint8Array(t[s]),l=new Uint32Array(c.buffer),h=0,f=0,d=e,p=r,g=+!!n;if(0!=s){for(var y=i||n||1==s||0!=a[s-2].dispose?1:2,v=0,b=1e9,m=0;m<y;m++){for(var w=new Uint8Array(t[s-1-m]),x=new Uint32Array(t[s-1-m]),C=e,S=r,F=-1,A=-1,k=0;k<r;k++)for(var _=0;_<e;_++){var D=k*e+_;l[D]!=x[D]&&(_<C&&(C=_),_>F&&(F=_),k<S&&(S=k),k>A&&(A=k))}-1==F&&(C=S=F=A=0),o&&((1&C)==1&&C--,(1&S)==1&&S--);var B=(F-C+1)*(A-S+1);B<b&&(b=B,v=m,h=C,f=S,d=F-C+1,p=A-S+1)}var w=new Uint8Array(t[s-1-v]);1==v&&(a[s-1].dispose=2),u=new Uint8Array(d*p*4),ny._copyTile(w,e,r,u,d,p,-h,-f,0),1==(g=+!!ny._copyTile(c,e,r,u,d,p,-h,-f,3))?ny.encode._prepareDiff(c,e,r,u,{x:h,y:f,width:d,height:p}):ny._copyTile(c,e,r,u,d,p,-h,-f,0)}else u=c.slice(0);a.push({rect:{x:h,y:f,width:d,height:p},img:u,blend:g,dispose:0})}if(n)for(var s=0;s<a.length;s++){var P=a[s];if(1!=P.blend){var T=P.rect,O=a[s-1].rect,R=Math.min(T.x,O.x),N=Math.min(T.y,O.y),I={x:R,y:N,width:Math.max(T.x+T.width,O.x+O.width)-R,height:Math.max(T.y+T.height,O.y+O.height)-N};a[s-1].dispose=1,s-1!=0&&ny.encode._updateFrame(t,e,r,a,s-1,I,o),ny.encode._updateFrame(t,e,r,a,s,I,o)}}if(1!=t.length)for(var D=0;D<a.length;D++){var P=a[D];P.rect.width,P.rect.height}return a},ny.encode._updateFrame=function(t,e,r,n,o,i,a){for(var s=Uint8Array,u=Uint32Array,c=new s(t[o-1]),l=new u(t[o-1]),h=o+1<t.length?new s(t[o+1]):null,f=new s(t[o]),d=new u(f.buffer),p=e,g=r,y=-1,v=-1,b=0;b<i.height;b++)for(var m=0;m<i.width;m++){var w=i.x+m,x=i.y+b,C=x*e+w,S=d[C];0==S||0==n[o-1].dispose&&l[C]==S&&(null==h||0!=h[4*C+3])||(w<p&&(p=w),w>y&&(y=w),x<g&&(g=x),x>v&&(v=x))}
1-1==y&&(p=g=y=v=0),a&&((1&p)==1&&p--,(1&g)==1&&g--),i={x:p,y:g,width:y-p+1,height:v-g+1};var F=n[o];F.rect=i,F.blend=1,F.img=new Uint8Array(i.width*i.height*4),0==n[o-1].dispose?(ny._copyTile(c,e,r,F.img,i.width,i.height,-i.x,-i.y,0),ny.encode._prepareDiff(f,e,r,F.img,i)):ny._copyTile(f,e,r,F.img,i.width,i.height,-i.x,-i.y,0)},ny.encode._prepareDiff=function(t,e,r,n,o){ny._copyTile(t,e,r,n,o.width,o.height,-o.x,-o.y,2)},ny.encode._filterZero=function(t,e,r,n,o,i,a){var s=[],u=[0,1,2,3,4];-1!=i?u=[i]:(e*n>5e5||1==r)&&(u=[0]),a&&(f={level:0});for(var c=a&&null!=UZIP?UZIP:eu.default,l=0;l<u.length;l++){for(var h=0;h<e;h++)ny.encode._filterLine(o,t,h,n,r,u[l]);s.push(c.deflate(o,f))}for(var f,d,p=1e9,l=0;l<s.length;l++)s[l].length<p&&(d=l,p=s[l].length);return s[d]},ny.encode._filterLine=function(t,e,r,n,o,i){var a=r*n,s=a+r,u=ny.decode._paeth;if(t[s]=i,s++,0==i)if(n<500)for(var c=0;c<n;c++)t[s+c]=e[a+c];else t.set(new Uint8Array(e.buffer,a,n),s);else if(1==i){for(var c=0;c<o;c++)t[s+c]=e[a+c];for(var c=o;c<n;c++)t[s+c]=e[a+c]-e[a+c-o]+256&255}else if(0==r){for(var c=0;c<o;c++)t[s+c]=e[a+c];if(2==i)for(var c=o;c<n;c++)t[s+c]=e[a+c];if(3==i)for(var c=o;c<n;c++)t[s+c]=e[a+c]-(e[a+c-o]>>1)+256&255;if(4==i)for(var c=o;c<n;c++)t[s+c]=e[a+c]-u(e[a+c-o],0,0)+256&255}else{if(2==i)for(var c=0;c<n;c++)t[s+c]=e[a+c]+256-e[a+c-n]&255;if(3==i){for(var c=0;c<o;c++)t[s+c]=e[a+c]+256-(e[a+c-n]>>1)&255;for(var c=o;c<n;c++)t[s+c]=e[a+c]+256-(e[a+c-n]+e[a+c-o]>>1)&255}if(4==i){for(var c=0;c<o;c++)t[s+c]=e[a+c]+256-u(0,e[a+c-n],0)&255;for(var c=o;c<n;c++)t[s+c]=e[a+c]+256-u(e[a+c-o],e[a+c-n],e[a+c-o-n])&255}}},ny.crc={table:function(){for(var t=new Uint32Array(256),e=0;e<256;e++){for(var r=e,n=0;n<8;n++)1&r?r=0xedb88320^r>>>1:r>>>=1;t[e]=r}return t}(),update:function(t,e,r,n){for(var o=0;o<n;o++)t=ny.crc.table[(t^e[r+o])&255]^t>>>8;return t},crc:function(t,e,r){return 0xffffffff^ny.crc.update(0xffffffff,t,e,r)}},ny.quantize=function(t,e){var r=new Uint8Array(t),n=r.slice(0),o=new Uint32Array(n.buffer),i=ny.quantize.getKDtree(n,e),a=i[0],s=i[1];ny.quantize.planeDst;for(var u=r.length,c=new Uint8Array(r.length>>2),l=0;l<u;l+=4){var h=r[l]*(1/255),f=r[l+1]*(1/255),d=r[l+2]*(1/255),p=r[l+3]*(1/255),g=ny.quantize.getNearest(a,h,f,d,p);c[l>>2]=g.ind,o[l>>2]=g.est.rgba}return{abuf:n.buffer,inds:c,plte:s}},ny.quantize.getKDtree=function(t,e,r){null==r&&(r=1e-4);var n=new Uint32Array(t.buffer),o={i0:0,i1:t.length,bst:null,est:null,tdst:0,left:null,right:null};o.bst=ny.quantize.stats(t,o.i0,o.i1),o.est=ny.quantize.estats(o.bst);for(var i=[o];i.length<e;){for(var a=0,s=0,u=0;u<i.length;u++)i[u].est.L>a&&(a=i[u].est.L,s=u);if(a<r)break;var c=i[s],l=ny.quantize.splitPixels(t,n,c.i0,c.i1,c.est.e,c.est.eMq255);if(c.i0>=l||c.i1<=l){c.est.L=0;continue}var h={i0:c.i0,i1:l,bst:null,est:null,tdst:0,left:null,right:null};h.bst=ny.quantize.stats(t,h.i0,h.i1),h.est=ny.quantize.estats(h.bst);var f={i0:l,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};f.bst={R:[],m:[],N:c.bst.N-h.bst.N};for(var u=0;u<16;u++)f.bst.R[u]=c.bst.R[u]-h.bst.R[u];for(var u=0;u<4;u++)f.bst.m[u]=c.bst.m[u]-h.bst.m[u];f.est=ny.quantize.estats(f.bst),c.left=h,c.right=f,i[s]=h,i.push(f)}i.sort(function(t,e){return e.bst.N-t.bst.N});for(var u=0;u<i.length;u++)i[u].ind=u;return[o,i]},ny.quantize.getNearest=function(t,e,r,n,o){if(null==t.left)return t.tdst=ny.quantize.dist(t.est.q,e,r,n,o),t;var i=ny.quantize.planeDst(t.est,e,r,n,o),a=t.left,s=t.right;i>0&&(a=t.right,s=t.left);var u=ny.quantize.getNearest(a,e,r,n,o);if(u.tdst<=i*i)return u;var c=ny.quantize.getNearest(s,e,r,n,o);return c.tdst<u.tdst?c:u},ny.quantize.planeDst=function(t,e,r,n,o){var i=t.e;return i[0]*e+i[1]*r+i[2]*n+i[3]*o-t.eMq},ny.quantize.dist=function(t,e,r,n,o){var i=e-t[0],a=r-t[1],s=n-t[2],u=o-t[3];return i*i+a*a+s*s+u*u},ny.quantize.splitPixels=function(t,e,r,n,o,i){var a=ny.quantize.vecDot;for(n-=4;r<n;){for(;a(t,r,o)<=i;)r+=4;for(;a(t,n,o)>i;)n-=4;if(r>=n)break;var s=e[r>>2];e[r>>2]=e[n>>2],e[n>>2]=s,r+=4,n-=4}for(;a(t,r,o)>i;)r-=4;return r+4},ny.quantize.vecDot=function(t,e,r){return t[e]*r[0]+t[e+1]*r[1]+t[e+2]*r[2]+t[e+3]*r[3]},ny.quantize.stats=function(t,e,r){for(var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o=[0,0,0,0],i=e;i<r;i+=4){var a=t[i]*(1/255),s=t[i+1]*(1/255),u=t[i+2]*(1/255),c=t[i+3]*(1/255);o[0]+=a,o[1]+=s,o[2]+=u,o[3]+=c,n[0]+=a*a,n[1]+=a*s,n[2]+=a*u,n[3]+=a*c,n[5]+=s*s,n[6]+=s*u,n[7]+=s*c,n[10]+=u*u,n[11]+=u*c,n[15]+=c*c}return n[4]=n[1],n[8]=n[2],n[9]=n[6],n[12]=n[3],n[13]=n[7],n[14]=n[11],{R:n,m:o,N:r-e>>2}},ny.quantize.estats=function(t){var e=t.R,r=t.m,n=t.N,o=r[0],i=r[1],a=r[2],s=r[3],u=0==n?0:1/n,c=[e[0]-o*o*u,e[1]-o*i*u,e[2]-o*a*u,e[3]-o*s*u,e[4]-i*o*u,e[5]-i*i*u,e[6]-i*a*u,e[7]-i*s*u,e[8]-a*o*u,e[9]-a*i*u,e[10]-a*a*u,e[11]-a*s*u,e[12]-s*o*u,e[13]-s*i*u,e[14]-s*a*u,e[15]-s*s*u],l=ny.M4,h=[.5,.5,.5,.5],f=0,d=0;if(0!=n)for(var p=0;
1p<10&&(h=l.multVec(c,h),d=Math.sqrt(l.dot(h,h)),h=l.sml(1/d,h),!(1e-9>Math.abs(d-f)));p++)f=d;var g=[o*u,i*u,a*u,s*u],y=l.dot(l.sml(255,g),h);return{Cov:c,q:g,e:h,L:f,eMq255:y,eMq:l.dot(h,g),rgba:(Math.round(255*g[3])<<24|Math.round(255*g[2])<<16|Math.round(255*g[1])<<8|(0|Math.round(255*g[0])))>>>0}},ny.M4={multVec:function(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3],t[4]*e[0]+t[5]*e[1]+t[6]*e[2]+t[7]*e[3],t[8]*e[0]+t[9]*e[1]+t[10]*e[2]+t[11]*e[3],t[12]*e[0]+t[13]*e[1]+t[14]*e[2]+t[15]*e[3]]},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},sml:function(t,e){return[t*e[0],t*e[1],t*e[2],t*e[3]]}},ny.encode.concatRGBA=function(t){for(var e=0,r=0;r<t.length;r++)e+=t[r].byteLength;for(var n=new Uint8Array(e),o=0,r=0;r<t.length;r++){for(var i=new Uint8Array(t[r]),a=i.length,s=0;s<a;s+=4){var u=i[s],c=i[s+1],l=i[s+2],h=i[s+3];0==h&&(u=c=l=0),n[o+s]=u,n[o+s+1]=c,n[o+s+2]=l,n[o+s+3]=h}o+=a}return n.buffer};var nv=function(t){if(0===t)return M.Greyscale;if(2===t)return M.Truecolour;if(3===t)return M.IndexedColour;if(4===t)return M.GreyscaleWithAlpha;if(6===t)return M.TruecolourWithAlpha;throw Error("Unknown color type: "+t)},nb=function(t){for(var e=Math.floor(t.length/4),r=new Uint8Array(3*e),n=new Uint8Array(+e),o=0,i=0,a=0;o<t.length;)r[i++]=t[o++],r[i++]=t[o++],r[i++]=t[o++],n[a++]=t[o++];return{rgbChannel:r,alphaChannel:n}};(h=M||(M={})).Greyscale="Greyscale",h.Truecolour="Truecolour",h.IndexedColour="IndexedColour",h.GreyscaleWithAlpha="GreyscaleWithAlpha",h.TruecolourWithAlpha="TruecolourWithAlpha";var nm=function(){function t(t){var e=ny.decode(t),r=ny.toRGBA8(e);if(r.length>1)throw Error("Animated PNGs are not supported");var n=nb(new Uint8Array(r[0])),o=n.rgbChannel,i=n.alphaChannel;this.rgbChannel=o,i.some(function(t){return t<255})&&(this.alphaChannel=i),this.type=nv(e.ctype),this.width=e.width,this.height=e.height,this.bitsPerComponent=8}return t.load=function(e){return new t(e)},t}(),nw=function(){function t(t){this.image=t,this.bitsPerComponent=t.bitsPerComponent,this.width=t.width,this.height=t.height,this.colorSpace="DeviceRGB"}return t.for=function(e){return ts(this,void 0,void 0,function(){return tu(this,function(r){return[2,new t(nm.load(e))]})})},t.prototype.embedIntoContext=function(t,e){return ts(this,void 0,void 0,function(){var r,n;return tu(this,function(o){return(r=this.embedAlphaChannel(t),n=t.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:r}),e)?(t.assign(e,n),[2,e]):[2,t.register(n)]})})},t.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var e=t.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return t.register(e)}},t}();t.s(["default",0,nw],845708);var nx=function(){function t(t,e,r){this.bytes=t,this.start=e||0,this.pos=this.start,this.end=e&&r?e+r:this.bytes.length}return Object.defineProperty(t.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),t.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},t.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return -1===t||-1===e?-1:(t<<8)+e},t.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},t.prototype.getBytes=function(t,e){void 0===e&&(e=!1);var r=this.bytes,n=this.pos,o=this.end;if(t){var i=n+t;i>o&&(i=o),this.pos=i;var a=r.subarray(n,i);return e?new Uint8ClampedArray(a):a}var a=r.subarray(n,o);return e?new Uint8ClampedArray(a):a},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var r=this.getBytes(t,e);return this.pos-=r.length,r},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=this.start},t.prototype.moveStart=function(){this.start=this.pos},t.prototype.makeSubStream=function(e,r){return new t(this.bytes,e,r)},t.prototype.decode=function(){return this.bytes},t}(),nC=new Uint8Array(0),nS=function(){function t(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=nC,this.minBufferLength=512,t)for(;this.minBufferLength<t;)this.minBufferLength*=2}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}
1,enumerable:!1,configurable:!0}),t.prototype.getByte=function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return -1;this.readBlock()}return this.buffer[this.pos++]},t.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return -1===t||-1===e?-1:(t<<8)+e},t.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},t.prototype.getBytes=function(t,e){void 0===e&&(e=!1);var r,n=this.pos;if(t){for(this.ensureBuffer(n+t),r=n+t;!this.eof&&this.bufferLength<r;)this.readBlock();var o=this.bufferLength;r>o&&(r=o)}else{for(;!this.eof;)this.readBlock();r=this.bufferLength}this.pos=r;var i=this.buffer.subarray(n,r);return!e||i instanceof Uint8ClampedArray?i:new Uint8ClampedArray(i)},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var r=this.getBytes(t,e);return this.pos-=r.length,r},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=0},t.prototype.makeSubStream=function(t,e){for(var r=t+e;this.bufferLength<=r&&!this.eof;)this.readBlock();return new nx(this.buffer,t,e)},t.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},t.prototype.readBlock=function(){throw new e9(this.constructor.name,"readBlock")},t.prototype.ensureBuffer=function(t){var e=this.buffer;if(t<=e.byteLength)return e;for(var r=this.minBufferLength;r<t;)r*=2;var n=new Uint8Array(r);return n.set(e),this.buffer=n},t}(),nF=function(t){return 32===t||9===t||13===t||10===t},nA=function(t){function e(e,r){var n=t.call(this,r)||this;return n.stream=e,n.input=new Uint8Array(5),r&&(r*=.8),n}return ti(e,t),e.prototype.readBlock=function(){for(var t,e,r=this.stream,n=r.getByte();nF(n);)n=r.getByte();if(-1===n||126===n){this.eof=!0;return}var o=this.bufferLength;if(122===n){for(e=0,t=this.ensureBuffer(o+4);e<4;++e)t[o+e]=0;this.bufferLength+=4}else{var i=this.input;for(e=1,i[0]=n;e<5;++e){for(n=r.getByte();nF(n);)n=r.getByte();if(i[e]=n,-1===n||126===n)break}if(t=this.ensureBuffer(o+e-1),this.bufferLength+=e-1,e<5){for(;e<5;++e)i[e]=117;this.eof=!0}var a=0;for(e=0;e<5;++e)a=85*a+(i[e]-33);for(e=3;e>=0;--e)t[o+e]=255&a,a>>=8}},e}(nS),nk=function(t){function e(e,r){var n=t.call(this,r)||this;return n.stream=e,n.firstDigit=-1,r&&(r*=.5),n}return ti(e,t),e.prototype.readBlock=function(){var t=this.stream.getBytes(8e3);if(!t.length){this.eof=!0;return}for(var e=t.length+1>>1,r=this.ensureBuffer(this.bufferLength+e),n=this.bufferLength,o=this.firstDigit,i=0,a=t.length;i<a;i++){var s=t[i],u=void 0;if(s>=48&&s<=57)u=15&s;else if(s>=65&&s<=70||s>=97&&s<=102)u=(15&s)+9;else{if(62!==s)continue;this.eof=!0;break}o<0?o=u:(r[n++]=o<<4|u,o=-1)}o>=0&&this.eof&&(r[n++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=n},e}(nS),n_=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),nD=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),nB=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),nP=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,5243
169,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],nT=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],nO=function(t){function e(e,r){var n=t.call(this,r)||this;n.stream=e;var o=e.getByte(),i=e.getByte();if(-1===o||-1===i)throw Error("Invalid header in flate stream: "+o+", "+i);if((15&o)!=8)throw Error("Unknown compression method in flate stream: "+o+", "+i);if(((o<<8)+i)%31!=0)throw Error("Bad FCHECK in flate stream: "+o+", "+i);if(32&i)throw Error("FDICT bit set in flate stream: "+o+", "+i);return n.codeSize=0,n.codeBuf=0,n}return ti(e,t),e.prototype.readBlock=function(){var t,e,r,n,o=this.stream,i=this.getBits(3);if(1&i&&(this.eof=!0),0==(i>>=1)){var a=void 0;if(-1===(a=o.getByte()))throw Error("Bad block header in flate stream");var s=a;if(-1===(a=o.getByte())||(s|=a<<8,-1===(a=o.getByte())))throw Error("Bad block header in flate stream");var u=a;if(-1===(a=o.getByte()))throw Error("Bad block header in flate stream");if((u|=a<<8)!=(65535&~s)&&(0!==s||0!==u))throw Error("Bad uncompressed block length in flate stream");
1this.codeBuf=0,this.codeSize=0;var c=this.bufferLength;t=this.ensureBuffer(c+s);var l=c+s;if(this.bufferLength=l,0===s)-1===o.peekByte()&&(this.eof=!0);else for(var h=c;h<l;++h){if(-1===(a=o.getByte())){this.eof=!0;break}t[h]=a}return}if(1===i)r=nP,n=nT;else if(2===i){var f=this.getBits(5)+257,d=this.getBits(5)+1,p=this.getBits(4)+4,g=new Uint8Array(n_.length),y=void 0;for(y=0;y<p;++y)g[n_[y]]=this.getBits(3);var v=this.generateHuffmanTable(g);e=0,y=0;for(var b=f+d,m=new Uint8Array(b),w=void 0,x=void 0,C=void 0;y<b;){var S=this.getCode(v);if(16===S)w=2,x=3,C=e;else if(17===S)w=3,x=3,C=e=0;else if(18===S)w=7,x=11,C=e=0;else{m[y++]=e=S;continue}for(var F=this.getBits(w)+x;F-- >0;)m[y++]=C}r=this.generateHuffmanTable(m.subarray(0,f)),n=this.generateHuffmanTable(m.subarray(f,b))}else throw Error("Unknown block type in flate stream");for(var A=(t=this.buffer)?t.length:0,k=this.bufferLength;;){var _=this.getCode(r);if(_<256){k+1>=A&&(A=(t=this.ensureBuffer(k+1)).length),t[k++]=_;continue}if(256===_){this.bufferLength=k;return}_-=257;var D=(_=nD[_])>>16;D>0&&(D=this.getBits(D)),e=(65535&_)+D,(D=(_=nB[_=this.getCode(n)])>>16)>0&&(D=this.getBits(D));var B=(65535&_)+D;k+e>=A&&(A=(t=this.ensureBuffer(k+e)).length);for(var P=0;P<e;++P,++k)t[k]=t[k-B]}},e.prototype.getBits=function(t){for(var e,r=this.stream,n=this.codeSize,o=this.codeBuf;n<t;){if(-1===(e=r.getByte()))throw Error("Bad encoding in flate stream");o|=e<<n,n+=8}return e=o&(1<<t)-1,this.codeBuf=o>>t,this.codeSize=n-=t,e},e.prototype.getCode=function(t){for(var e,r=this.stream,n=t[0],o=t[1],i=this.codeSize,a=this.codeBuf;i<o&&-1!==(e=r.getByte());)a|=e<<i,i+=8;var s=n[a&(1<<o)-1];"number"==typeof n&&console.log("FLATE:",s);var u=s>>16;if(u<1||i<u)throw Error("Bad encoding in flate stream");return this.codeBuf=a>>u,this.codeSize=i-u,65535&s},e.prototype.generateHuffmanTable=function(t){var e,r=t.length,n=0;for(e=0;e<r;++e)t[e]>n&&(n=t[e]);for(var o=1<<n,i=new Int32Array(o),a=1,s=0,u=2;a<=n;++a,s<<=1,u<<=1)for(var c=0;c<r;++c)if(t[c]===a){var l=0,h=s;for(e=0;e<a;++e)l=l<<1|1&h,h>>=1;for(e=l;e<o;e+=u)i[e]=a<<16|c;++s}return[i,n]},e}(nS),nR=function(t){function e(e,r,n){var o=t.call(this,r)||this;o.stream=e,o.cachedData=0,o.bitsCached=0;for(var i={earlyChange:n,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0},a=0;a<256;++a)i.dictionaryValues[a]=a,i.dictionaryLengths[a]=1;return o.lzwState=i,o}return ti(e,t),e.prototype.readBlock=function(){var t,e,r,n=1024,o=this.lzwState;if(o){var i=o.earlyChange,a=o.nextCode,s=o.dictionaryValues,u=o.dictionaryLengths,c=o.dictionaryPrevCodes,l=o.codeLength,h=o.prevCode,f=o.currentSequence,d=o.currentSequenceLength,p=0,g=this.bufferLength,y=this.ensureBuffer(this.bufferLength+n);for(t=0;t<512;t++){var v=this.readBits(l),b=d>0;if(!v||v<256)f[0]=v,d=1;else if(v>=258)if(v<a)for(e=(d=u[v])-1,r=v;e>=0;e--)f[e]=s[r],r=c[r];else f[d++]=f[0];else if(256===v){l=9,a=258,d=0;continue}else{this.eof=!0,delete this.lzwState;break}if(b&&(c[a]=h,u[a]=u[h]+1,s[a]=f[0],l=++a+i&a+i-1?l:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),h=v,n<(p+=d)){do n+=512;while(n<p)y=this.ensureBuffer(this.bufferLength+n)}for(e=0;e<d;e++)y[g++]=f[e]}o.nextCode=a,o.codeLength=l,o.prevCode=h,o.currentSequenceLength=d,this.bufferLength=g}},e.prototype.readBits=function(t){for(var e=this.bitsCached,r=this.cachedData;e<t;){var n=this.stream.getByte();if(-1===n)return this.eof=!0,null;r=r<<8|n,e+=8}return this.bitsCached=e-=t,this.cachedData=r,r>>>e&(1<<t)-1},e}(nS),nN=function(t){function e(e,r){var n=t.call(this,r)||this;return n.stream=e,n}return ti(e,t),e.prototype.readBlock=function(){var t,e=this.stream.getBytes(2);if(!e||e.length<2||128===e[0]){this.eof=!0;return}var r=this.bufferLength,n=e[0];if(n<128){if((t=this.ensureBuffer(r+n+1))[r++]=e[1],n>0){var o=this.stream.getBytes(n);t.set(o,r),r+=n}}else{n=257-n;var i=e[1];t=this.ensureBuffer(r+n+1);for(var a=0;a<n;a++)t[r++]=i}this.bufferLength=r},e}(nS),nI=function(t,e,r){if(e===rj.of("FlateDecode"))return new nO(t);if(e===rj.of("LZWDecode")){var n=1;if(r instanceof rL){var o=r.lookup(rj.of("EarlyChange"));o instanceof rB&&(n=o.asNumber())}return new nR(t,void 0,n)}if(e===rj.of("ASCII85Decode"))return new nA(t);if(e===rj.of("ASCIIHexDecode"))return new nk(t);if(e===rj.of("RunLengthDecode"))return new nN(t);throw new re(e.asString())},nE=function(t){var e=t.dict,r=new nx(t.contents),n=e.lookup(rj.of("Filter")),o=e.lookup(rj.of("DecodeParms"));if(n instanceof rj)r=nI(r,n,o);else if(n instanceof rP)for(var i=0,a=n.size();i<a;i++)r=nI(r,n.lookup(i,rj),o&&o.lookupMaybe(i,rL));else if(n)throw new rt([rj,rP],n);return r};t.s(["decodePDFRawStream",()=>nE],877422);var nz=function(t){var e=t.MediaBox();return{left:0,bottom:0,right:e.lookup(2,rB).asNumber()-e.lookup(0,rB).asNumber(),top:e.lookup(3,rB).asNumber()-e.lookup(1,rB).asNumber()}},nM=function(){function t(t,e,r){this.page=t;var n=null!=e?e:nz(t);this.width=n.right-n.left,this.height=n.top-n.bottom,this.boundingBox=n,this.transformationMatrix=null!=r?r:[1,0,0,1,-n.left,-n.bottom]}return t.for=function(e,r,n){return ts(this,void 0,void 0,function(){return tu(this,function(o){return[2,new t(e,r,n)]})})},t.prototype.embedIntoContext=function(t,e){return ts(this,void 0,void 0,function(){var r,n,o,i,a,s,u,c,l,h;return tu(this,function(f){if(n=(r=this.page.normalizedEntries()).Contents,o=r.Resources,!n)throw new ro;return(i=this.decodeContents(n),s=(a=this.boundingBox).left,u=a.bottom,c=a.right,l=a.top,h=t.flateStream(i,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[s,u,c,l],Matrix:this.transformationMatrix,Resources:o}),e)?(t.assign(e,h),[2,e]):[2,t.register(h)]})})},t.prototype.decodeContents=function(t){for(var e=Uint8Array.of(rk.Newline),r=[],n=0,o=t.size();n<o;n++){var i=t.lookup(n,rU),a=void 0;if(i instanceof rH)a=nE(i).decode();else if(i instanceof rY)a=i.getUnencodedContents();else throw new ri(i);r.push(a,e)}return tU.apply(void 0,r)},t}();t.s(["default",0,nM],161102);var nj=function(t,e){if(void 0!==t)return e[t]};(f=j||(j={})).UseNone="UseNone",f.UseOutlines="UseOutlines",f.UseThumbs="UseThumbs",f.UseOC="UseOC",(d=W||(W={})).L2R="L2R",d.R2L="R2L",(p=L||(L={})).None="None",p.AppDefault="AppDefault",(g=U||(U={})).Simplex="Simplex",g.DuplexFlipShortEdge="DuplexFlipShortEdge",g.DuplexFlipLongEdge="DuplexFlipLongEdge";var nW=function(){function t(t){this.dict=t}return t.prototype.lookupBool=function(t){var e=this.dict.lookup(rj.of(t));if(e instanceof rO)return e},t.prototype.lookupName=function(t){var e=this.dict.lookup(rj.of(t));if(e instanceof rj)return e},t.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},t.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},t.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},t.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},t.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},t.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},t.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},t.prototype.Direction=function(){return this.lookupName("Direction")},t.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},t.prototype.Duplex=function(){return this.lookupName("Duplex")},t.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},t.prototype.PrintPageRange=function(){var t=this.dict.lookup(rj.of("PrintPageRange"));if(t instanceof rP)return t},t.prototype.NumCopies=function(){var t=this.dict.lookup(rj.of("NumCopies"));if(t instanceof rB)return t},t.prototype.getHideToolbar=function(){var t,e;return null!=(e=null==(t=this.HideToolbar())?void 0:t.asBoolean())&&e},t.prototype.getHideMenubar=function(){var t,e;return null!=(e=null==(t=this.HideMenubar())?void 0:t.asBoolean())&&e},t.prototype.getHideWindowUI=function(){var t,e;return null!=(e=null==(t=this.HideWindowUI())?void 0:t.asBoolean())&&e},t.prototype.getFitWindow=function(){var t,e;return null!=(e=null==(t=this.FitWindow())?void 0:t.asBoolean())&&e},t.prototype.getCenterWindow=function(){var t,e;return null!=(e=null==(t=this.CenterWindow())?void 0:t.asBoolean())&&e},t.prototype.getDisplayDocTitle=function(){var t,e;return null!=(e=null==(t=this.DisplayDocTitle())?void 0:t.asBoolean())&&e},t.prototype.getNonFullScreenPageMode=function(){var t,e;return null!=(e=nj(null==(t=this.NonFullScreenPageMode())?void 0:t.decodeText(),j))?e:j.UseNone},t.prototype.getReadingDirection=function(){var t,e;return null!=(e=nj(null==(t=this.Direction())?void 0:t.decodeText(),W))?e:W.L2R},t.prototype.getPrintScaling=function(){var t,e;return null!=(e=nj(null==(t=this.PrintScaling())?void 0:t.decodeText(),L))?e:L.AppDefault},t.prototype.getDuplex=function(){var t;return nj(null==(t=this.Duplex())?void 0:t.decodeText(),U)},t.prototype.getPickTrayByPDFSize=function(){var t;return null==(t=this.PickTrayByPDFSize())?void 0:t.asBoolean()},t.prototype.getPrintPageRange=function(){var t=this.PrintPageRange();if(!t)return[];for(var e=[],r=0;r<t.size();r+=2){var n=t.lookup(r,rB).asNumber(),o=t.lookup(r+1,rB).asNumber();e.push({start:n,end:o})}return e},t.prototype.getNumCopies=function(){var t,e;return null!=(e=null==(t=this.NumCopies())?void 0:t.asNumber())?e:1},t.prototype.setHideToolbar=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("HideToolbar"),e)},t.prototype.setHideMenubar=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("HideMenubar"),e)},t.prototype.setHideWindowUI=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("HideWindowUI"),e)},t.prototype.setFitWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("FitWindow"),e)},t.prototype.setCenterWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("CenterWindow"),e)},t.prototype.setDisplayDocTitle=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("DisplayDocTitle"),e)}
1,t.prototype.setNonFullScreenPageMode=function(t){eK(t,"nonFullScreenPageMode",j);var e=rj.of(t);this.dict.set(rj.of("NonFullScreenPageMode"),e)},t.prototype.setReadingDirection=function(t){eK(t,"readingDirection",W);var e=rj.of(t);this.dict.set(rj.of("Direction"),e)},t.prototype.setPrintScaling=function(t){eK(t,"printScaling",L);var e=rj.of(t);this.dict.set(rj.of("PrintScaling"),e)},t.prototype.setDuplex=function(t){eK(t,"duplex",U);var e=rj.of(t);this.dict.set(rj.of("Duplex"),e)},t.prototype.setPickTrayByPDFSize=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("PickTrayByPDFSize"),e)},t.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var e=[],r=0,n=t.length;r<n;r++)e.push(t[r].start),e.push(t[r].end);eQ(e,"printPageRange",["number"]);var o=this.dict.context.obj(e);this.dict.set(rj.of("PrintPageRange"),o)},t.prototype.setNumCopies=function(t){e$(t,"numCopies",1,Number.MAX_VALUE),e2(t,"numCopies");var e=this.dict.context.obj(t);this.dict.set(rj.of("NumCopies"),e)},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({}))},t}();t.s(["Duplex",()=>U,"NonFullScreenPageMode",()=>j,"PrintScaling",()=>L,"ReadingDirection",()=>W,"default",0,nW],342258);var nL=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,nU=function(){function t(t,e){this.dict=t,this.ref=e}return t.prototype.T=function(){return this.dict.lookupMaybe(rj.of("T"),nc,nt)},t.prototype.Ff=function(){var t=this.getInheritableAttribute(rj.of("Ff"));return this.dict.context.lookupMaybe(t,rB)},t.prototype.V=function(){var t=this.getInheritableAttribute(rj.of("V"));return this.dict.context.lookup(t)},t.prototype.Kids=function(){return this.dict.lookupMaybe(rj.of("Kids"),rP)},t.prototype.DA=function(){var t=this.dict.lookup(rj.of("DA"));if(t instanceof nc||t instanceof nt)return t},t.prototype.setKids=function(t){this.dict.set(rj.of("Kids"),this.dict.context.obj(t))},t.prototype.getParent=function(){var e=this.dict.get(rj.of("Parent"));if(e instanceof rV)return new t(this.dict.lookup(rj.of("Parent"),rL),e)},t.prototype.setParent=function(t){t?this.dict.set(rj.of("Parent"),t):this.dict.delete(rj.of("Parent"))},t.prototype.getFullyQualifiedName=function(){var t=this.getParent();return t?t.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},t.prototype.getPartialName=function(){var t;return null==(t=this.T())?void 0:t.decodeText()},t.prototype.setPartialName=function(t){t?this.dict.set(rj.of("T"),nt.fromText(t)):this.dict.delete(rj.of("T"))},t.prototype.setDefaultAppearance=function(t){this.dict.set(rj.of("DA"),nc.of(t))},t.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof nt?t.decodeText():null==t?void 0:t.asString()},t.prototype.setFontSize=function(t){var e,r=null!=(e=this.getFullyQualifiedName())?e:"",n=this.getDefaultAppearance();if(!n)throw new rp(r);var o=tj(n,nL);if(!o.match)throw new rg(r);var i=n.slice(0,o.pos-o.match[0].length),a=o.pos<=n.length?n.slice(o.pos):"",s=i+" /"+o.match[1]+" "+t+" Tf "+a;this.setDefaultAppearance(s)},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.Ff())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(rj.of("Ff"),rB.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(r){e||(e=r.dict.get(t))}),e},t.prototype.ascend=function(t){t(this);var e=this.getParent();e&&e.ascend(t)},t}(),nH=function(){function t(t){this.dict=t}return t.prototype.W=function(){var t=this.dict.lookup(rj.of("W"));if(t instanceof rB)return t},t.prototype.getWidth=function(){var t,e;return null!=(e=null==(t=this.W())?void 0:t.asNumber())?e:1},t.prototype.setWidth=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("W"),e)},t.fromDict=function(e){return new t(e)},t}(),nK=function(){function t(t){this.dict=t}return t.prototype.Rect=function(){return this.dict.lookup(rj.of("Rect"),rP)},t.prototype.AP=function(){return this.dict.lookupMaybe(rj.of("AP"),rL)},t.prototype.F=function(){var t=this.dict.lookup(rj.of("F"));return this.dict.context.lookupMaybe(t,rB)},t.prototype.getRectangle=function(){var t,e=this.Rect();return null!=(t=null==e?void 0:e.asRectangle())?t:{x:0,y:0,width:0,height:0}},t.prototype.setRectangle=function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=this.dict.context.obj([e,r,e+n,r+o]);this.dict.set(rj.of("Rect"),i)},t.prototype.getAppearanceState=function(){var t=this.dict.lookup(rj.of("AS"));if(t instanceof rj)return t},t.prototype.setAppearanceState=function(t){this.dict.set(rj.of("AS"),t)},t.prototype.setAppearances=function(t){this.dict.set(rj.of("AP"),t)},t.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(rj.of("AP"),t)),t},t.prototype.getNormalAppearance=function(){var t=this.ensureAP().get(rj.of("N"));if(t instanceof rV||t instanceof rL)return t;throw Error("Unexpected N type: "+(null==t?void 0:t.constructor.name))}
1,t.prototype.setNormalAppearance=function(t){this.ensureAP().set(rj.of("N"),t)},t.prototype.setRolloverAppearance=function(t){this.ensureAP().set(rj.of("R"),t)},t.prototype.setDownAppearance=function(t){this.ensureAP().set(rj.of("D"),t)},t.prototype.removeRolloverAppearance=function(){var t=this.AP();null==t||t.delete(rj.of("R"))},t.prototype.removeDownAppearance=function(){var t=this.AP();null==t||t.delete(rj.of("D"))},t.prototype.getAppearances=function(){var t=this.AP();if(t)return{normal:t.lookup(rj.of("N"),rL,rU),rollover:t.lookupMaybe(rj.of("R"),rL,rU),down:t.lookupMaybe(rj.of("D"),rL,rU)}},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.F())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(rj.of("F"),rB.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.fromDict=function(e){return new t(e)},t}(),nG=function(){function t(t){this.dict=t}return t.prototype.R=function(){var t=this.dict.lookup(rj.of("R"));if(t instanceof rB)return t},t.prototype.BC=function(){var t=this.dict.lookup(rj.of("BC"));if(t instanceof rP)return t},t.prototype.BG=function(){var t=this.dict.lookup(rj.of("BG"));if(t instanceof rP)return t},t.prototype.CA=function(){var t=this.dict.lookup(rj.of("CA"));if(t instanceof nt||t instanceof nc)return t},t.prototype.RC=function(){var t=this.dict.lookup(rj.of("RC"));if(t instanceof nt||t instanceof nc)return t},t.prototype.AC=function(){var t=this.dict.lookup(rj.of("AC"));if(t instanceof nt||t instanceof nc)return t},t.prototype.getRotation=function(){var t;return null==(t=this.R())?void 0:t.asNumber()},t.prototype.getBorderColor=function(){var t=this.BC();if(t){for(var e=[],r=0,n=null==t?void 0:t.size();r<n;r++){var o=t.get(r);o instanceof rB&&e.push(o.asNumber())}return e}},t.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var e=[],r=0,n=null==t?void 0:t.size();r<n;r++){var o=t.get(r);o instanceof rB&&e.push(o.asNumber())}return e}},t.prototype.getCaptions=function(){var t=this.CA(),e=this.RC(),r=this.AC();return{normal:null==t?void 0:t.decodeText(),rollover:null==e?void 0:e.decodeText(),down:null==r?void 0:r.decodeText()}},t.prototype.setRotation=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("R"),e)},t.prototype.setBorderColor=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("BC"),e)},t.prototype.setBackgroundColor=function(t){var e=this.dict.context.obj(t);this.dict.set(rj.of("BG"),e)},t.prototype.setCaptions=function(t){var e=nt.fromText(t.normal);if(this.dict.set(rj.of("CA"),e),t.rollover){var r=nt.fromText(t.rollover);this.dict.set(rj.of("RC"),r)}else this.dict.delete(rj.of("RC"));if(t.down){var n=nt.fromText(t.down);this.dict.set(rj.of("AC"),n)}else this.dict.delete(rj.of("AC"))},t.fromDict=function(e){return new t(e)},t}(),nV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.MK=function(){var t=this.dict.lookup(rj.of("MK"));if(t instanceof rL)return t},e.prototype.BS=function(){var t=this.dict.lookup(rj.of("BS"));if(t instanceof rL)return t},e.prototype.DA=function(){var t=this.dict.lookup(rj.of("DA"));if(t instanceof nc||t instanceof nt)return t},e.prototype.P=function(){var t=this.dict.get(rj.of("P"));if(t instanceof rV)return t},e.prototype.setP=function(t){this.dict.set(rj.of("P"),t)},e.prototype.setDefaultAppearance=function(t){this.dict.set(rj.of("DA"),nc.of(t))},e.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof nt?t.decodeText():null==t?void 0:t.asString()},e.prototype.getAppearanceCharacteristics=function(){var t=this.MK();if(t)return nG.fromDict(t)},e.prototype.getOrCreateAppearanceCharacteristics=function(){var t=this.MK();if(t)return nG.fromDict(t);var e=nG.fromDict(this.dict.context.obj({}));return this.dict.set(rj.of("MK"),e.dict),e},e.prototype.getBorderStyle=function(){var t=this.BS();if(t)return nH.fromDict(t)},e.prototype.getOrCreateBorderStyle=function(){var t=this.BS();if(t)return nH.fromDict(t);var e=nH.fromDict(this.dict.context.obj({}));return this.dict.set(rj.of("BS"),e.dict),e},e.prototype.getOnValue=function(){var t,e=null==(t=this.getAppearances())?void 0:t.normal;if(e instanceof rL)for(var r=e.keys(),n=0,o=r.length;n<o;n++){var i=r[n];if(i!==rj.of("Off"))return i}},e.fromDict=function(t){return new e(t)},e.create=function(t,r){return new e(t.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:r}))},e}(nK),nq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.FT=function(){var t=this.getInheritableAttribute(rj.of("FT"));
1return this.dict.context.lookup(t,rj)},e.prototype.getWidgets=function(){var t=this.Kids();if(!t)return[nV.fromDict(this.dict)];for(var e=Array(t.size()),r=0,n=t.size();r<n;r++){var o=t.lookup(r,rL);e[r]=nV.fromDict(o)}return e},e.prototype.addWidget=function(t){this.normalizedEntries().Kids.push(t)},e.prototype.removeWidget=function(t){var e=this.Kids();if(e){if(t<0||t>e.size())throw new rh(t,0,e.size());e.remove(t)}else{if(0!==t)throw new rh(t,0,0);this.setKids([])}},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([this.ref]),this.dict.set(rj.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,r){return new e(t,r)},e}(nU),nZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.Opt=function(){return this.dict.lookupMaybe(rj.of("Opt"),nc,nt,rP)},e.prototype.setOpt=function(t){this.dict.set(rj.of("Opt"),this.dict.context.obj(t))},e.prototype.getExportValues=function(){var t=this.Opt();if(t){if(t instanceof nc||t instanceof nt)return[t];for(var e=[],r=0,n=t.size();r<n;r++){var o=t.lookup(r);(o instanceof nc||o instanceof nt)&&e.push(o)}return e}},e.prototype.removeExportValue=function(t){var e=this.Opt();if(e)if(e instanceof nc||e instanceof nt){if(0!==t)throw new rh(t,0,0);this.setOpt([])}else{if(t<0||t>e.size())throw new rh(t,0,e.size());e.remove(t)}},e.prototype.normalizeExportValues=function(){for(var t,e,r,n,o=null!=(t=this.getExportValues())?t:[],i=[],a=this.getWidgets(),s=0,u=a.length;s<u;s++){var c=a[s],l=null!=(e=o[s])?e:nt.fromText(null!=(n=null==(r=c.getOnValue())?void 0:r.decodeText())?n:"");i.push(l)}this.setOpt(i)},e.prototype.addOpt=function(t,e){this.normalizeExportValues();var r,n,o=t.decodeText();if(e)for(var i=null!=(r=this.getExportValues())?r:[],a=0,s=i.length;a<s;a++)i[a].decodeText()===o&&(n=a);var u=this.Opt();return u.push(t),null!=n?n:u.size()-1},e.prototype.addWidgetWithOpt=function(t,e,r){var n=this.addOpt(e,r),o=rj.of(String(n));return this.addWidget(t),o},e}(nq),nX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.setValue=function(t){if(t!==(null!=(e=this.getOnValue())?e:rj.of("Yes"))&&t!==rj.of("Off"))throw new rf;this.dict.set(rj.of("V"),t);for(var e,r=this.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n],a=i.getOnValue()===t?t:rj.of("Off");i.setAppearanceState(a)}},e.prototype.getValue=function(){var t=this.V();return t instanceof rj?t:rj.of("Off")},e.prototype.getOnValue=function(){var t=this.getWidgets()[0];return null==t?void 0:t.getOnValue()},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Kids:[]}),n=t.register(r);return new e(r,n)},e}(nZ),nY=function(t){return 1<<t};(y=H||(H={}))[y.ReadOnly=nY(0)]="ReadOnly",y[y.Required=nY(1)]="Required",y[y.NoExport=nY(2)]="NoExport",(v=K||(K={}))[v.NoToggleToOff=nY(14)]="NoToggleToOff",v[v.Radio=nY(15)]="Radio",v[v.PushButton=nY(16)]="PushButton",v[v.RadiosInUnison=nY(25)]="RadiosInUnison",(b=G||(G={}))[b.Multiline=nY(12)]="Multiline",b[b.Password=nY(13)]="Password",b[b.FileSelect=nY(20)]="FileSelect",b[b.DoNotSpellCheck=nY(22)]="DoNotSpellCheck",b[b.DoNotScroll=nY(23)]="DoNotScroll",b[b.Comb=nY(24)]="Comb",b[b.RichText=nY(25)]="RichText",(m=V||(V={}))[m.Combo=nY(17)]="Combo",m[m.Edit=nY(18)]="Edit",m[m.Sort=nY(19)]="Sort",m[m.MultiSelect=nY(21)]="MultiSelect",m[m.DoNotSpellCheck=nY(22)]="DoNotSpellCheck",m[m.CommitOnSelChange=nY(26)]="CommitOnSelChange",t.s(["AcroButtonFlags",()=>K,"AcroChoiceFlags",()=>V,"AcroFieldFlags",()=>H,"AcroTextFlags",()=>G],90121);var nJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.setValues=function(t){if(this.hasFlag(V.Combo)&&!this.hasFlag(V.Edit)&&!this.valuesAreValid(t))throw new rf;if(0===t.length&&this.dict.delete(rj.of("V")),1===t.length&&this.dict.set(rj.of("V"),t[0]),t.length>1){if(!this.hasFlag(V.MultiSelect))throw new rd;this.dict.set(rj.of("V"),this.dict.context.obj(t))}this.updateSelectedIndices(t)},e.prototype.valuesAreValid=function(t){for(var e=this.getOptions(),r=0,n=t.length;r<n;r++){var o=function(r,n){var o=t[r].decodeText();if(!e.find(function(t){return o===(t.display||t.value).decodeText()}))return{value:!1}}(r,0);if("object"==typeof o)return o.value}return!0},e.prototype.updateSelectedIndices=function(t){if(t.length>1){for(var e=Array(t.length),r=this.getOptions(),n=0,o=t.length;n<o;n++)!function(n,o){var i=t[n].decodeText();e[n]=r.findIndex(function(t){return i===(t.display||t.value).decodeText()})}(n,0);this.dict.set(rj.of("I"),this.dict.context.obj(e.sort()))}else this.dict.delete(rj.of("I"))},e.prototype.getValues=function(){var t=this.V();if(t instanceof nc||t instanceof nt)return[t];if(t instanceof rP){for(var e=[],r=0,n=t.size();r<n;r++){var o=t.lookup(r);(o instanceof nc||o instanceof nt)&&e.push(o)}return e}return[]},e.prototype.Opt=function(){return this.dict.lookupMaybe(rj.of("Opt"),nc,nt,rP)},e.prototype.setOptions=function(t){for(var e=Array(t.length),r=0,n=t.length;r<n;r++){var o=t[r],i=o.value,a=o.display;e[r]=this.dict.context.obj([i,a||i])}this.dict.set(rj.of("Opt"),this.dict.context.obj(e))},e.prototype.getOptions=function(){var t=this.Opt();if(t instanceof nc||t instanceof nt)return[{value:t,display:t}];if(t instanceof rP){for(var e=[],r=0,n=t.size();r<n;r++){var o=t.lookup(r);if((o instanceof nc||o instanceof nt)&&e.push({value:o,display:o}),o instanceof rP&&o.size()>0){var i=o.lookup(0,nc,nt),a=o.lookupMaybe(1,nc,nt);e.push({value:i,display:a||i})}}return e}return[]},e}(nq),nQ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Ch",Ff:V.Combo,Kids:[]}),n=t.register(r);return new e(r,n)},e}(nJ),n$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.addField=function(t){var e=this.normalizedEntries().Kids;null==e||e.push(t)},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([]),this.dict.set(rj.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({}),n=t.register(r);return new e(r,n)},e}(nU),n0=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.fromDict=function(t,r){return new e(t,r)},e}(nq),n1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.MaxLen=function(){var t=this.dict.lookup(rj.of("MaxLen"));if(t instanceof rB)return t},e.prototype.Q=function(){var t=this.dict.lookup(rj.of("Q"));if(t instanceof rB)return t},e.prototype.setMaxLength=function(t){this.dict.set(rj.of("MaxLen"),rB.of(t))},e.prototype.removeMaxLength=function(){this.dict.delete(rj.of("MaxLen"))},e.prototype.getMaxLength=function(){var t;return null==(t=this.MaxLen())?void 0:t.asNumber()},e.prototype.setQuadding=function(t){this.dict.set(rj.of("Q"),rB.of(t))},e.prototype.getQuadding=function(){var t;return null==(t=this.Q())?void 0:t.asNumber()},e.prototype.setValue=function(t){this.dict.set(rj.of("V"),t)},e.prototype.removeValue=function(){this.dict.delete(rj.of("V"))},e.prototype.getValue=function(){var t=this.V();if(t instanceof nc||t instanceof nt)return t},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Tx",Kids:[]}),n=t.register(r);return new e(r,n)},e}(nq),n2=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Ff:K.PushButton,Kids:[]}),n=t.register(r);return new e(r,n)},e}(nZ),n5=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.setValue=function(t){if(!this.getOnValues().includes(t)&&t!==rj.of("Off"))throw new rf;this.dict.set(rj.of("V"),t);for(var e=this.getWidgets(),r=0,n=e.length;r<n;r++){var o=e[r],i=o.getOnValue()===t?t:rj.of("Off");o.setAppearanceState(i)}},e.prototype.getValue=function(){var t=this.V();return t instanceof rj?t:rj.of("Off")},e.prototype.getOnValues=function(){for(var t=this.getWidgets(),e=[],r=0,n=t.length;r<n;r++){var o=t[r].getOnValue();o&&e.push(o)}return e},e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Btn",Ff:K.Radio,Kids:[]}),n=t.register(r);return new e(r,n)},e}(nZ),n3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.fromDict=function(t,r){return new e(t,r)},e.create=function(t){var r=t.obj({FT:"Ch",Kids:[]}),n=t.register(r);return new e(r,n)},e}(nJ),n4=function(t){if(!t)return[];for(var e=[],r=0,n=t.size();r<n;r++){var o=t.get(r),i=t.lookup(r);o instanceof rV&&i instanceof rL&&e.push([n6(i,o),o])}return e},n6=function(t,e){return n8(t)?n$.fromDict(t,e):n9(t,e)},n8=function(t){var e=t.lookup(rj.of("Kids"));if(e instanceof rP)for(var r=0,n=e.size();r<n;r++){var o=e.lookup(r);if(o instanceof rL&&o.has(rj.of("T")))return!0}return!1},n9=function(t,e){var r=or(t,rj.of("FT")),n=t.context.lookup(r,rj);return n===rj.of("Btn")?n7(t,e):n===rj.of("Ch")?ot(t,e):n===rj.of("Tx")?n1.fromDict(t,e):n===rj.of("Sig")?n0.fromDict(t,e):nq.fromDict(t,e)},n7=function(t,e){var r,n=or(t,rj.of("Ff")),o=t.context.lookupMaybe(n,rB),i=null!=(r=null==o?void 0:o.asNumber())?r:0;return oe(i,K.PushButton)?n2.fromDict(t,e):oe(i,K.Radio)?n5.fromDict(t,e):nX.fromDict(t,e)},ot=function(t,e){var r,n=or(t,rj.of("Ff")),o=t.context.lookupMaybe(n,rB);return oe(null!=(r=null==o?void 0:o.asNumber())?r:0,V.Combo)?nQ.fromDict(t,e):n3.fromDict(t,e)},oe=function(t,e){return(t&e)!=0},or=function(t,e){var r;return on(t,function(t){r||(r=t.get(e))}),r},on=function(t,e){e(t);var r=t.lookupMaybe(rj.of("Parent"),rL);r&&on(r,e)};t.s(["createPDFAcroField",()=>n6,"createPDFAcroFields",()=>n4],980793);var oo=function(){function t(t){this.dict=t}return t.prototype.Fields=function(){var t=this.dict.lookup(rj.of("Fields"));if(t instanceof rP)return t},t.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,e=Array(t.size()),r=0,n=t.size();r<n;r++){var o=t.get(r),i=t.lookup(r,rL);e[r]=[n6(i,o),o]}return e},t.prototype.getAllFields=function(){var t=[],e=function(r){if(r)for(var n=0,o=r.length;n<o;n++){var i=r[n];t.push(i);var a=i[0];a instanceof n$&&e(n4(a.Kids()))}};return e(this.getFields()),t},t.prototype.addField=function(t){var e=this.normalizedEntries().Fields;null==e||e.push(t)},t.prototype.removeField=function(t){var e=t.getParent(),r=void 0===e?this.normalizedEntries().Fields:e.Kids(),n=null==r?void 0:r.indexOf(t.ref);if(void 0===r||void 0===n)throw Error("Tried to remove inexistent field "+t.getFullyQualifiedName());r.remove(n),void 0!==e&&0===r.size()&&this.removeField(e)},t.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(rj.of("Fields"),t)),{Fields:t}},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({Fields:[]}))},t}();t.s([],441654);var oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.Pages=function(){return this.lookup(rj.of("Pages"),rL)},e.prototype.AcroForm=function(){return this.lookupMaybe(rj.of("AcroForm"),rL)},e.prototype.getAcroForm=function(){var t=this.AcroForm();if(t)return oo.fromDict(t)},e.prototype.getOrCreateAcroForm=function(){var t=this.getAcroForm();if(!t){t=oo.create(this.context);var e=this.context.register(t.dict);this.set(rj.of("AcroForm"),e)}return t},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(rj.of("ViewerPreferences"),rL)},e.prototype.getViewerPreferences=function(){var t=this.ViewerPreferences();if(t)return nW.fromDict(t)},e.prototype.getOrCreateViewerPreferences=function(){var t=this.getViewerPreferences();if(!t){t=nW.create(this.context);var e=this.context.register(t.dict);this.set(rj.of("ViewerPreferences"),e)}return t},e.prototype.insertLeafNode=function(t,e){var r=this.get(rj.of("Pages"));return this.Pages().insertLeafNode(t,e)||r},e.prototype.removeLeafNode=function(t){this.Pages().removeLeafNode(t)},e.withContextAndPages=function(t,r){var n=new Map;return n.set(rj.of("Type"),rj.of("Catalog")),n.set(rj.of("Pages"),r),new e(n,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(rL);t.s(["default",0,oi],841055);var oa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ti(e,t),e.prototype.Parent=function(){return this.lookup(rj.of("Parent"))},e.prototype.Kids=function(){return this.lookup(rj.of("Kids"),rP)},e.prototype.Count=function(){return this.lookup(rj.of("Count"),rB)},e.prototype.pushTreeNode=function(t){this.Kids().push(t)},e.prototype.pushLeafNode=function(t){var e=this.Kids();this.insertLeafKid(e.size(),t)},e.prototype.insertLeafNode=function(t,r){var n=this.Kids(),o=this.Count().asNumber();if(r>o)throw new rc(r,o);for(var i=r,a=0,s=n.size();a<s;a++){if(0===i)return void this.insertLeafKid(a,t);var u=n.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i)return c.insertLeafNode(t,i)||u;else i-=c.Count().asNumber();c instanceof r0&&(i-=1)}if(0===i)return void this.insertLeafKid(n.size(),t);throw new rl(r,"insertLeafNode")},e.prototype.removeLeafNode=function(t,r){void 0===r&&(r=!0);var n=this.Kids(),o=this.Count().asNumber();if(t>=o)throw new rc(t,o);for(var i=t,a=0,s=n.size();a<s;a++){var u=n.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i){c.removeLeafNode(i,r),r&&0===c.Kids().size()&&n.remove(a);return}else i-=c.Count().asNumber();if(c instanceof r0)if(0===i)return void this.removeKid(a);else i-=1}throw new rl(t,"removeLeafNode")},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.traverse=function(t){for(var r=this.Kids(),n=0,o=r.size();n<o;n++){var i=r.get(n),a=this.context.lookup(i);a instanceof e&&a.traverse(t),t(a,i)}},e.prototype.insertLeafKid=function(t,e){var r=this.Kids();this.ascend(function(t){var e=t.Count().asNumber()+1;t.set(rj.of("Count"),rB.of(e))}),r.insert(t,e)},e.prototype.removeKid=function(t){var e=this.Kids();e.lookup(t)instanceof r0&&this.ascend(function(t){var e=t.Count().asNumber()-1;t.set(rj.of("Count"),rB.of(e))}),e.remove(t)},e.withContext=function(t,r){var n=new Map;return n.set(rj.of("Type"),rj.of("Pages")),n.set(rj.of("Kids"),t.obj([])),n.set(rj.of("Count"),t.obj(0)),r&&n.set(rj.of("Parent"),r),new e(n,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(rL);t.s(["default",0,oa],101612);var os=new Uint8Array(256);os[rk.Zero]=1,os[rk.One]=1,os[rk.Two]=1,os[rk.Three]=1,os[rk.Four]=1,os[rk.Five]=1,os[rk.Six]=1,os[rk.Seven]=1,os[rk.Eight]=1,os[rk.Nine]=1;
vendor: 8,938 bytes, line 1
1var ou=new Uint8Array(256);ou[rk.Period]=1,ou[rk.Plus]=1,ou[rk.Minus]=1;for(var oc=new Uint8Array(256),ol=0;ol<256;ol++)oc[ol]=os[ol]||ou[ol]?1:0;var oh=rk.Newline,of=rk.CarriageReturn,od=function(){function t(t,e){void 0===e&&(e=!1),this.bytes=t,this.capNumbers=e}return t.prototype.parseRawInt=function(){for(var t="";!this.bytes.done()&&os[this.bytes.peek()];)t+=tx(this.bytes.next());var e=Number(t);if(!t||!isFinite(e))throw new ry(this.bytes.position(),t);return e},t.prototype.parseRawNumber=function(){for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(!oc[e]||(t+=tx(this.bytes.next()),e===rk.Period))break}for(;!this.bytes.done();){var e=this.bytes.peek();if(!os[e])break;t+=tx(this.bytes.next())}var r=Number(t);if(!t||!isFinite(r))throw new ry(this.bytes.position(),t);if(r>Number.MAX_SAFE_INTEGER)if(this.capNumbers){var n="Parsed number that is too large for some PDF readers: "+t+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(n),Number.MAX_SAFE_INTEGER}else{var n="Parsed number that is too large for some PDF readers: "+t+", not capping.";console.warn(n)}return r},t.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&rN[this.bytes.peek()];)this.bytes.next()},t.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===oh||t===of)return;this.bytes.next()}},t.prototype.skipComment=function(){if(this.bytes.peek()!==rk.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===oh||t===of)break;this.bytes.next()}return!0},t.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},t.prototype.matchKeyword=function(t){for(var e=this.bytes.offset(),r=0,n=t.length;r<n;r++)if(this.bytes.done()||this.bytes.next()!==t[r])return this.bytes.moveTo(e),!1;return!0},t}(),op=function(){function t(t){this.idx=0,this.line=0,this.column=0,this.bytes=t,this.length=this.bytes.length}return t.prototype.moveTo=function(t){this.idx=t},t.prototype.next=function(){var t=this.bytes[this.idx++];return t===rk.Newline?(this.line+=1,this.column=0):this.column+=1,t},t.prototype.assertNext=function(t){if(this.peek()!==t)throw new rb(this.position(),t,this.peek());return this.next()},t.prototype.peek=function(){return this.bytes[this.idx]},t.prototype.peekAhead=function(t){return this.bytes[this.idx+t]},t.prototype.peekAt=function(t){return this.bytes[t]},t.prototype.done=function(){return this.idx>=this.length},t.prototype.offset=function(){return this.idx},t.prototype.slice=function(t,e){return this.bytes.slice(t,e)},t.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},t.of=function(e){return new t(e)},t.fromPDFRawStream=function(e){return t.of(nE(e).decode())},t}(),og=rk.Space,oy=rk.CarriageReturn,ov=rk.Newline,ob=[rk.s,rk.t,rk.r,rk.e,rk.a,rk.m],om=[rk.e,rk.n,rk.d,rk.s,rk.t,rk.r,rk.e,rk.a,rk.m],ow={header:[rk.Percent,rk.P,rk.D,rk.F,rk.Dash],eof:[rk.Percent,rk.Percent,rk.E,rk.O,rk.F],obj:[rk.o,rk.b,rk.j],endobj:[rk.e,rk.n,rk.d,rk.o,rk.b,rk.j],xref:[rk.x,rk.r,rk.e,rk.f],trailer:[rk.t,rk.r,rk.a,rk.i,rk.l,rk.e,rk.r],startxref:[rk.s,rk.t,rk.a,rk.r,rk.t,rk.x,rk.r,rk.e,rk.f],true:[rk.t,rk.r,rk.u,rk.e],false:[rk.f,rk.a,rk.l,rk.s,rk.e],null:[rk.n,rk.u,rk.l,rk.l],stream:ob,streamEOF1:tc(ob,[og,oy,ov]),streamEOF2:tc(ob,[oy,ov]),streamEOF3:tc(ob,[oy]),streamEOF4:tc(ob,[ov]),endstream:om,EOF1endstream:tc([oy,ov],om),EOF2endstream:tc([oy],om),EOF3endstream:tc([ov],om)},ox=function(t){function e(e,r,n){void 0===n&&(n=!1);var o=t.call(this,e,n)||this;return o.context=r,o}return ti(e,t),e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ow.true))return rO.True;if(this.matchKeyword(ow.false))return rO.False;if(this.matchKeyword(ow.null))return rW;var t=this.bytes.peek();if(t===rk.LessThan&&this.bytes.peekAhead(1)===rk.LessThan)return this.parseDictOrStream();if(t===rk.LessThan)return this.parseHexString();if(t===rk.LeftParen)return this.parseString();if(t===rk.ForwardSlash)return this.parseName();if(t===rk.LeftSquareBracket)return this.parseArray();if(oc[t])return this.parseNumberOrRef();throw new rm(this.bytes.position(),t)},e.prototype.parseNumberOrRef=function(){var t=this.parseRawNumber();this.skipWhitespaceAndComments();var e=this.bytes.offset();if(os[this.bytes.peek()]){var r=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===rk.R)return this.bytes.assertNext(rk.R),rV.of(t,r)}return this.bytes.moveTo(e),rB.of(t)},e.prototype.parseHexString=function(){var t="";for(this.bytes.assertNext(rk.LessThan);!this.bytes.done()&&this.bytes.peek()!==rk.GreaterThan;)t+=tx(this.bytes.next());return this.bytes.assertNext(rk.GreaterThan),nt.of(t)},e.prototype.parseString=function(){for(var t=0,e=!1,r="";!this.bytes.done();){var n=this.bytes.next();if(r+=tx(n),e||(n===rk.LeftParen&&(t+=1),n===rk.RightParen&&(t-=1)),n===rk.BackSlash?e=!e:e&&(e=!1),0===t)return nc.of(r.substring(1,r.length-1))}throw new rC(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(rk.ForwardSlash);for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(rN[e]||rR[e])break;t+=tx(e),this.bytes.next()}return rj.of(t)},e.prototype.parseArray=function(){this.bytes.assertNext(rk.LeftSquareBracket),this.skipWhitespaceAndComments();for(var t=rP.withContext(this.context);this.bytes.peek()!==rk.RightSquareBracket;){var e=this.parseObject();t.push(e),this.skipWhitespaceAndComments()}return this.bytes.assertNext(rk.RightSquareBracket),t},e.prototype.parseDict=function(){this.bytes.assertNext(rk.LessThan),this.bytes.assertNext(rk.LessThan),this.skipWhitespaceAndComments();for(var t=new Map;!this.bytes.done()&&this.bytes.peek()!==rk.GreaterThan&&this.bytes.peekAhead(1)!==rk.GreaterThan;){var e=this.parseName(),r=this.parseObject();t.set(e,r),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(rk.GreaterThan),this.bytes.assertNext(rk.GreaterThan);var n=t.get(rj.of("Type"));return n===rj.of("Catalog")?oi.fromMapWithContext(t,this.context):n===rj.of("Pages")?oa.fromMapWithContext(t,this.context):n===rj.of("Page")?r0.fromMapWithContext(t,this.context):rL.fromMapWithContext(t,this.context)},e.prototype.parseDictOrStream=function(){var t,e=this.bytes.position(),r=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(ow.streamEOF1)&&!this.matchKeyword(ow.streamEOF2)&&!this.matchKeyword(ow.streamEOF3)&&!this.matchKeyword(ow.streamEOF4)&&!this.matchKeyword(ow.stream))return r;var n=this.bytes.offset(),o=r.get(rj.of("Length"));o instanceof rB?(t=n+o.asNumber(),this.bytes.moveTo(t),this.skipWhitespaceAndComments(),this.matchKeyword(ow.endstream)||(this.bytes.moveTo(n),t=this.findEndOfStreamFallback(e))):t=this.findEndOfStreamFallback(e);var i=this.bytes.slice(n,t);return rH.of(r,i)},e.prototype.findEndOfStreamFallback=function(t){for(var e=1,r=this.bytes.offset();!this.bytes.done()&&(r=this.bytes.offset(),this.matchKeyword(ow.stream)?e+=1:this.matchKeyword(ow.EOF1endstream)||this.matchKeyword(ow.EOF2endstream)||this.matchKeyword(ow.EOF3endstream)||this.matchKeyword(ow.endstream)?e-=1:this.bytes.next(),0!==e););if(0!==e)throw new rx(t);return r},e.forBytes=function(t,r,n){return new e(op.of(t),r,n)},e.forByteStream=function(t,r,n){return void 0===n&&(n=!1),new e(t,r,n)},e}(od);t.s(["default",0,ox],433995);var oC=function(t){function e(e,r){var n=t.call(this,op.fromPDFRawStream(e),e.dict.context)||this,o=e.dict;return n.alreadyParsed=!1,n.shouldWaitForTick=r||function(){return!1},n.firstOffset=o.lookup(rj.of("First"),rB).asNumber(),n.objectCount=o.lookup(rj.of("N"),rB).asNumber(),n}return ti(e,t),e.prototype.parseIntoContext=function(){return ts(this,void 0,void 0,function(){var t,e,r,n,o,i,a,s;return tu(this,function(u){switch(u.label){case 0:if(this.alreadyParsed)throw new rr("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,t=this.parseOffsetsAndObjectNumbers(),e=0,r=t.length,u.label=1;case 1:if(!(e<r))return[3,4];if(o=(n=t[e]).objectNumber,i=n.offset,this.bytes.moveTo(this.firstOffset+i),a=this.parseObject(),s=rV.of(o,0),this.context.assign(s,a),!this.shouldWaitForTick())return[3,3];return[4,t$()];case 2:u.sent(),u.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},e.prototype.parseOffsetsAndObjectNumbers=function(){for(var t=[],e=0,r=this.objectCount;e<r;e++){this.skipWhitespaceAndComments();var n=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.parseRawInt();t.push({objectNumber:n,offset:o})}return t},e.forStream=function(t,r){return new e(t,r)},e}(ox);t.s(["default",0,oC],95901);var oS=function(){function t(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=op.fromPDFRawStream(t),this.context=this.dict.context;var e=this.dict.lookup(rj.of("Size"),rB),r=this.dict.lookup(rj.of("Index"));if(r instanceof rP){this.subsections=[];for(var n=0,o=r.size();n<o;n+=2){var i=r.lookup(n+0,rB).asNumber(),a=r.lookup(n+1,rB).asNumber();
1this.subsections.push({firstObjectNumber:i,length:a})}}else this.subsections=[{firstObjectNumber:0,length:e.asNumber()}];var s=this.dict.lookup(rj.of("W"),rP);this.byteWidths=[-1,-1,-1];for(var n=0,o=s.size();n<o;n++)this.byteWidths[n]=s.lookup(n,rB).asNumber()}return t.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new rr("PDFXRefStreamParser","parseIntoContext");return this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(rj.of("Root")),Encrypt:this.dict.get(rj.of("Encrypt")),Info:this.dict.get(rj.of("Info")),ID:this.dict.get(rj.of("ID"))},this.parseEntries()},t.prototype.parseEntries=function(){for(var t=[],e=this.byteWidths,r=e[0],n=e[1],o=e[2],i=0,a=this.subsections.length;i<a;i++)for(var s=this.subsections[i],u=s.firstObjectNumber,c=s.length,l=0;l<c;l++){for(var h=0,f=0,d=r;f<d;f++)h=h<<8|this.bytes.next();for(var p=0,f=0,d=n;f<d;f++)p=p<<8|this.bytes.next();for(var g=0,f=0,d=o;f<d;f++)g=g<<8|this.bytes.next();0===r&&(h=1);var y=u+l,v={ref:rV.of(y,g),offset:p,deleted:0===h,inObjectStream:2===h};t.push(v)}return t},t.forStream=function(e){return new t(e)},t}();t.s(["default",0,oS],667433);var oF=function(t){function e(e,r,n,o){void 0===r&&(r=1/0),void 0===n&&(n=!1),void 0===o&&(o=!1);var i=t.call(this,op.of(e),r$.create(),o)||this;return i.alreadyParsed=!1,i.parsedObjects=0,i.shouldWaitForTick=function(){return i.parsedObjects+=1,i.parsedObjects%i.objectsPerTick==0},i.objectsPerTick=r,i.throwOnInvalidObject=n,i}return ti(e,t),e.prototype.parseDocument=function(){return ts(this,void 0,void 0,function(){var t,e;return tu(this,function(r){switch(r.label){case 0:if(this.alreadyParsed)throw new rr("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),r.label=1;case 1:if(this.bytes.done())return[3,3];return[4,this.parseDocumentSection()];case 2:if(r.sent(),(e=this.bytes.offset())===t)throw new rS(this.bytes.position());return t=e,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(rV.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(rV.of(0))),[2,this.context]}})})},e.prototype.maybeRecoverRoot=function(){var t=function(t){return t instanceof rL&&t.lookup(rj.of("Type"))===rj.of("Catalog")};if(!t(this.context.lookup(this.context.trailerInfo.Root)))for(var e=this.context.enumerateIndirectObjects(),r=0,n=e.length;r<n;r++){var o=e[r],i=o[0];t(o[1])&&(this.context.trailerInfo.Root=i)}},e.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(ow.header)){var t=this.parseRawInt();this.bytes.assertNext(rk.Period);var e=this.parseRawInt(),r=r_.forVersion(t,e);return this.skipBinaryHeaderComment(),r}this.bytes.next()}throw new rF(this.bytes.position())},e.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var t=this.parseRawInt();this.skipWhitespaceAndComments();var e=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(ow.obj))throw new rA(this.bytes.position(),ow.obj);return rV.of(t,e)},e.prototype.matchIndirectObjectHeader=function(){var t=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch(e){return this.bytes.moveTo(t),!1}},e.prototype.parseIndirectObject=function(){return ts(this,void 0,void 0,function(){var t,e;return tu(this,function(r){switch(r.label){case 0:if(t=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),e=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(ow.endobj),!(e instanceof rH&&e.dict.lookup(rj.of("Type"))===rj.of("ObjStm")))return[3,2];return[4,oC.forStream(e,this.shouldWaitForTick).parseIntoContext()];case 1:return r.sent(),[3,3];case 2:e instanceof rH&&e.dict.lookup(rj.of("Type"))===rj.of("XRef")?oS.forStream(e).parseIntoContext():this.context.assign(t,e),r.label=3;case 3:return[2,t]}})})},e.prototype.tryToParseInvalidIndirectObject=function(){var t=this.bytes.position(),e="Trying to parse invalid object: "+JSON.stringify(t)+")";if(this.throwOnInvalidObject)throw Error(e);console.warn(e);var r=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+r),this.skipWhitespaceAndComments();for(var n=this.bytes.offset(),o=!0;!this.bytes.done()&&(this.matchKeyword(ow.endobj)&&(o=!1),o);)this.bytes.next();if(o)throw new rw(t);var i=this.bytes.offset()-ow.endobj.length,a=r8.of(this.bytes.slice(n,i));return this.context.assign(r,a),r},e.prototype.parseIndirectObjects=function(){return ts(this,void 0,void 0,function(){var t;return tu(this,function(e){switch(e.label){case 0:this.skipWhitespaceAndComments(),e.label=1;case 1:if(!(!this.bytes.done()&&os[this.bytes.peek()]))return[3,8];t=this.bytes.offset(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return e.sent(),[3,5];case 4:return e.sent(),this.bytes.moveTo(t),this.tryToParseInvalidIndirectObject(),[3,5];case 5:if(this.skipWhitespaceAndComments(),this.skipJibberish(),!this.shouldWaitForTick())return[3,7];return[4,t$()];case 6:e.sent(),e.label=7;case 7:return[3,1];case 8:return[2]}})})},e.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ow.xref)){this.skipWhitespaceAndComments();for(var t=-1,e=r2.createEmpty();!this.bytes.done()&&os[this.bytes.peek()];){var r=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.bytes.peek();if(o===rk.n||o===rk.f){var i=rV.of(t,n);this.bytes.next()===rk.n?e.addEntry(i,r):e.addDeletedEntry(i,r),t+=1}else t=r;this.skipWhitespaceAndComments()}return e}},e.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ow.trailer)){this.skipWhitespaceAndComments();var t=this.parseDict(),e=this.context;e.trailerInfo={Root:t.get(rj.of("Root"))||e.trailerInfo.Root,Encrypt:t.get(rj.of("Encrypt"))||e.trailerInfo.Encrypt,Info:t.get(rj.of("Info"))||e.trailerInfo.Info,ID:t.get(rj.of("ID"))||e.trailerInfo.ID}}},e.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ow.startxref)){this.skipWhitespaceAndComments();var t=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(ow.eof),this.skipWhitespaceAndComments(),this.matchKeyword(ow.eof),this.skipWhitespaceAndComments(),r5.forLastCrossRefSectionOffset(t)}},e.prototype.parseDocumentSection=function(){return ts(this,void 0,void 0,function(){return tu(this,function(t){switch(t.label){case 0:return[4,this.parseIndirectObjects()];case 1:return t.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},e.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var t=this.bytes.offset(),e=this.bytes.peek();if(e>=rk.Space&&e<=rk.Tilde&&(this.matchKeyword(ow.xref)||this.matchKeyword(ow.trailer)||this.matchKeyword(ow.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(t);break}this.bytes.next()}},e.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var t=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(t)}catch(t){this.bytes.next(),this.skipWhitespaceAndComments()}},e.forBytesWithOptions=function(t,r,n,o){return new e(t,r,n,o)},e}(ox);t.s(["default",0,oF],741207);var oA=function(t){return 1<<t};(w=q||(q={}
1))[w.Invisible=oA(0)]="Invisible",w[w.Hidden=oA(1)]="Hidden",w[w.Print=oA(2)]="Print",w[w.NoZoom=oA(3)]="NoZoom",w[w.NoRotate=oA(4)]="NoRotate",w[w.NoView=oA(5)]="NoView",w[w.ReadOnly=oA(6)]="ReadOnly",w[w.Locked=oA(7)]="Locked",w[w.ToggleNoView=oA(8)]="ToggleNoView",w[w.LockedContents=oA(9)]="LockedContents",t.s(["AnnotationFlags",()=>q],196593),t.s([],97262),t.s([],252430);var ok=function(t){return t instanceof rj?t:rj.of(t)},o_=function(t){return t instanceof rB?t:rB.of(t)},oD=function(t){return t instanceof rB?t.asNumber():t};t.s(["asNumber",()=>oD,"asPDFName",()=>ok,"asPDFNumber",()=>o_],701370),(x=Z||(Z={})).Degrees="degrees",x.Radians="radians";var oB=function(t){return eY(t,"radianAngle",["number"]),{type:Z.Radians,angle:t}},oP=function(t){return eY(t,"degreeAngle",["number"]),{type:Z.Degrees,angle:t}},oT=Z.Radians,oO=Z.Degrees,oR=function(t){return t*Math.PI/180},oN=function(t){return 180*t/Math.PI},oI=function(t){return t.type===oT?t.angle:t.type===oO?oR(t.angle):es("Invalid rotation: "+JSON.stringify(t))},oE=function(t){return t.type===oT?oN(t.angle):t.type===oO?t.angle:es("Invalid rotation: "+JSON.stringify(t))},oz=function(t){void 0===t&&(t=0);var e=t/90%4;return 0===e?0:1===e?90:2===e?180:270*(3===e)},oM=function(t,e){void 0===e&&(e=0);var r=oz(e);return 90===r||270===r?{width:t.height,height:t.width}:{width:t.width,height:t.height}},oj=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0);var n=t.x,o=t.y,i=t.width,a=t.height,s=oz(r),u=e/2;return 0===s?{x:n-u,y:o-u,width:i,height:a}:90===s?{x:n-a+u,y:o-u,width:a,height:i}:180===s?{x:n-i+u,y:o-a+u,width:i,height:a}:270===s?{x:n-u,y:o-i+u,width:a,height:i}:{x:n-u,y:o-u,width:i,height:a}};t.s(["RotationTypes",()=>Z,"adjustDimsForRotation",()=>oM,"degrees",()=>oP,"degreesToRadians",()=>oR,"radians",()=>oB,"radiansToDegrees",()=>oN,"reduceRotation",()=>oz,"rotateRectangle",()=>oj,"toDegrees",()=>oE,"toRadians",()=>oI],422e3);var oW=function(){return rq.of(rZ.ClipNonZero)},oL=function(){return rq.of(rZ.ClipEvenOdd)},oU=Math.cos,oH=Math.sin,oK=Math.tan,oG=function(t,e,r,n,o,i){return rq.of(rZ.ConcatTransformationMatrix,[o_(t),o_(e),o_(r),o_(n),o_(o),o_(i)])},oV=function(t,e){return oG(1,0,0,1,t,e)},oq=function(t,e){return oG(t,0,0,e,0,0)},oZ=function(t){return oG(oU(oD(t)),oH(oD(t)),-oH(oD(t)),oU(oD(t)),0,0)},oX=function(t){return oZ(oR(oD(t)))},oY=function(t,e){return oG(1,oK(oD(t)),oK(oD(e)),1,0,0)},oJ=function(t,e){return oY(oR(oD(t)),oR(oD(e)))},oQ=function(t,e){return rq.of(rZ.SetLineDashPattern,["["+t.map(o_).join(" ")+"]",o_(e)])},o$=function(){return oQ([],0)};(C=X||(X={}))[C.Butt=0]="Butt",C[C.Round=1]="Round",C[C.Projecting=2]="Projecting";var o0=function(t){return rq.of(rZ.SetLineCapStyle,[o_(t)])};(S=Y||(Y={}))[S.Miter=0]="Miter",S[S.Round=1]="Round",S[S.Bevel=2]="Bevel";var o1=function(t){return rq.of(rZ.SetLineJoinStyle,[o_(t)])},o2=function(t){return rq.of(rZ.SetGraphicsStateParams,[ok(t)])},o5=function(){return rq.of(rZ.PushGraphicsState)},o3=function(){return rq.of(rZ.PopGraphicsState)},o4=function(t){return rq.of(rZ.SetLineWidth,[o_(t)])},o6=function(t,e,r,n,o,i){return rq.of(rZ.AppendBezierCurve,[o_(t),o_(e),o_(r),o_(n),o_(o),o_(i)])},o8=function(t,e,r,n){return rq.of(rZ.CurveToReplicateInitialPoint,[o_(t),o_(e),o_(r),o_(n)])},o9=function(){return rq.of(rZ.ClosePath)},o7=function(t,e){return rq.of(rZ.MoveTo,[o_(t),o_(e)])},it=function(t,e){return rq.of(rZ.LineTo,[o_(t),o_(e)])},ie=function(t,e,r,n){return rq.of(rZ.AppendRectangle,[o_(t),o_(e),o_(r),o_(n)])},ir=function(t,e,r){return ie(t,e,r,r)},io=function(){return rq.of(rZ.StrokePath)},ii=function(){return rq.of(rZ.FillNonZero)},ia=function(){return rq.of(rZ.FillNonZeroAndStroke)},is=function(){return rq.of(rZ.EndPath)},iu=function(){return rq.of(rZ.NextLine)},ic=function(t,e){return rq.of(rZ.MoveText,[o_(t),o_(e)])},il=function(t){return rq.of(rZ.ShowText,[t])},ih=function(){return rq.of(rZ.BeginText)},id=function(){return rq.of(rZ.EndText)},ip=function(t,e){return rq.of(rZ.SetFontAndSize,[ok(t),o_(e)])},ig=function(t){return rq.of(rZ.SetCharacterSpacing,[o_(t)])},iy=function(t){return rq.of(rZ.SetWordSpacing,[o_(t)])},iv=function(t){return rq.of(rZ.SetTextHorizontalScaling,[o_(t)])},ib=function(t){return rq.of(rZ.SetTextLineHeight,[o_(t)])},im=function(t){return rq.of(rZ.SetTextRise,[o_(t)])};(F=J||(J={}))[F.Fill=0]="Fill",F[F.Outline=1]="Outline",F[F.FillAndOutline=2]="FillAndOutline",F[F.Invisible=3]="Invisible",F[F.FillAndClip=4]="FillAndClip",F[F.OutlineAndClip=5]="OutlineAndClip",F[F.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",F[F.Clip=7]="Clip";var iw=function(t){return rq.of(rZ.SetTextRenderingMode,[o_(t)])},ix=function(t,e,r,n,o,i){return rq.of(rZ.SetTextMatrix,[o_(t),o_(e),o_(r),o_(n),o_(o
1),o_(i)])},iC=function(t,e,r,n,o){return ix(oU(oD(t)),oH(oD(t))+oK(oD(e)),-oH(oD(t))+oK(oD(r)),oU(oD(t)),n,o)},iS=function(t,e,r,n,o){return iC(oR(oD(t)),oR(oD(e)),oR(oD(r)),n,o)},iF=function(t){return rq.of(rZ.DrawObject,[ok(t)])},iA=function(t){return rq.of(rZ.NonStrokingColorGray,[o_(t)])},ik=function(t){return rq.of(rZ.StrokingColorGray,[o_(t)])},i_=function(t,e,r){return rq.of(rZ.NonStrokingColorRgb,[o_(t),o_(e),o_(r)])},iD=function(t,e,r){return rq.of(rZ.StrokingColorRgb,[o_(t),o_(e),o_(r)])},iB=function(t,e,r,n){return rq.of(rZ.NonStrokingColorCmyk,[o_(t),o_(e),o_(r),o_(n)])},iP=function(t,e,r,n){return rq.of(rZ.StrokingColorCmyk,[o_(t),o_(e),o_(r),o_(n)])},iT=function(t){return rq.of(rZ.BeginMarkedContent,[ok(t)])},iO=function(){return rq.of(rZ.EndMarkedContent)};t.s(["LineCapStyle",()=>X,"LineJoinStyle",()=>Y,"TextRenderingMode",()=>J,"appendBezierCurve",()=>o6,"appendQuadraticCurve",()=>o8,"beginMarkedContent",()=>iT,"beginText",()=>ih,"clip",()=>oW,"clipEvenOdd",()=>oL,"closePath",()=>o9,"concatTransformationMatrix",()=>oG,"drawObject",()=>iF,"endMarkedContent",()=>iO,"endPath",()=>is,"endText",()=>id,"fill",()=>ii,"fillAndStroke",()=>ia,"lineTo",()=>it,"moveText",()=>ic,"moveTo",()=>o7,"nextLine",()=>iu,"popGraphicsState",()=>o3,"pushGraphicsState",()=>o5,"rectangle",()=>ie,"restoreDashPattern",()=>o$,"rotateAndSkewTextDegreesAndTranslate",()=>iS,"rotateAndSkewTextRadiansAndTranslate",()=>iC,"rotateDegrees",()=>oX,"rotateRadians",()=>oZ,"scale",()=>oq,"setCharacterSpacing",()=>ig,"setCharacterSqueeze",()=>iv,"setDashPattern",()=>oQ,"setFillingCmykColor",()=>iB,"setFillingGrayscaleColor",()=>iA,"setFillingRgbColor",()=>i_,"setFontAndSize",()=>ip,"setGraphicsState",()=>o2,"setLineCap",()=>o0,"setLineHeight",()=>ib,"setLineJoin",()=>o1,"setLineWidth",()=>o4,"setStrokingCmykColor",()=>iP,"setStrokingGrayscaleColor",()=>ik,"setStrokingRgbColor",()=>iD,"setTextMatrix",()=>ix,"setTextRenderingMode",()=>iw,"setTextRise",()=>im,"setWordSpacing",()=>iy,"showText",()=>il,"skewDegrees",()=>oJ,"skewRadians",()=>oY,"square",()=>ir,"stroke",()=>io,"translate",()=>oV],593876),(A=Q||(Q={})).Grayscale="Grayscale",A.RGB="RGB",A.CMYK="CMYK";var iR=function(t){return e$(t,"gray",0,1),{type:Q.Grayscale,gray:t}},iN=function(t,e,r){return e$(t,"red",0,1),e$(e,"green",0,1),e$(r,"blue",0,1),{type:Q.RGB,red:t,green:e,blue:r}},iI=function(t,e,r,n){return e$(t,"cyan",0,1),e$(e,"magenta",0,1),e$(r,"yellow",0,1),e$(n,"key",0,1),{type:Q.CMYK,cyan:t,magenta:e,yellow:r,key:n}},iE=Q.Grayscale,iz=Q.RGB,iM=Q.CMYK,ij=function(t){return t.type===iE?iA(t.gray):t.type===iz?i_(t.red,t.green,t.blue):t.type===iM?iB(t.cyan,t.magenta,t.yellow,t.key):es("Invalid color: "+JSON.stringify(t))},iW=function(t){return t.type===iE?ik(t.gray):t.type===iz?iD(t.red,t.green,t.blue):t.type===iM?iP(t.cyan,t.magenta,t.yellow,t.key):es("Invalid color: "+JSON.stringify(t))},iL=function(t,e){return void 0===e&&(e=1),(null==t?void 0:t.length)===1?iR(t[0]*e):(null==t?void 0:t.length)===3?iN(t[0]*e,t[1]*e,t[2]*e):(null==t?void 0:t.length)===4?iI(t[0]*e,t[1]*e,t[2]*e,t[3]*e):void 0},iU=function(t){return t.type===iE?[t.gray]:t.type===iz?[t.red,t.green,t.blue]:t.type===iM?[t.cyan,t.magenta,t.yellow,t.key]:es("Invalid color: "+JSON.stringify(t))};t.s(["ColorTypes",()=>Q,"cmyk",()=>iI,"colorToComponents",()=>iU,"componentsToColor",()=>iL,"grayscale",()=>iR,"rgb",()=>iN,"setFillingColor",()=>ij,"setStrokingColor",()=>iW],601250);var iH=0,iK=0,iG=0,iV=0,iq=0,iZ=0,iX=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),iY=function(t){for(var e,r=[],n=[],o="",i=!1,a=0,s=0;s<t.length;s++){var u=t[s];if(iX.has(u))a=iX.get(u),e&&(o.length>0&&(n[n.length]=+o),r[r.length]={cmd:e,args:n},n=[],o="",i=!1),e=u;else if([" ",","].includes(u)||"-"===u&&o.length>0&&"e"!==o[o.length-1]||"."===u&&i){if(0===o.length)continue;n.length===a?(r[r.length]={cmd:e,args:n},n=[+o],"M"===e&&(e="L"),"m"===e&&(e="l")):n[n.length]=+o,i="."===u,o=["-","."].includes(u)?u:""}else o+=u,"."===u&&(i=!0)}return o.length>0&&(n.length===a?(r[r.length]={cmd:e,args:n},n=[+o],"M"===e&&(e="L"),"m"===e&&(e="l")):n[n.length]=+o),r[r.length]={cmd:e,args:n},r},iJ=function(t){iH=iK=iG=iV=iq=iZ=0;for(var e=[],r=0;r<t.length;r++){var n=t[r];
vendor: 4,459 bytes, line 1
1if(n.cmd&&"function"==typeof iQ[n.cmd]){var o=iQ[n.cmd](n.args);Array.isArray(o)?e=e.concat(o):e.push(o)}}return e},iQ={M:function(t){return iH=t[0],iK=t[1],iG=iV=null,iq=iH,iZ=iK,o7(iH,iK)},m:function(t){return iH+=t[0],iK+=t[1],iG=iV=null,iq=iH,iZ=iK,o7(iH,iK)},C:function(t){return iH=t[4],iK=t[5],iG=t[2],iV=t[3],o6(t[0],t[1],t[2],t[3],t[4],t[5])},c:function(t){var e=o6(t[0]+iH,t[1]+iK,t[2]+iH,t[3]+iK,t[4]+iH,t[5]+iK);return iG=iH+t[2],iV=iK+t[3],iH+=t[4],iK+=t[5],e},S:function(t){(null===iG||null===iV)&&(iG=iH,iV=iK);var e=o6(iH-(iG-iH),iK-(iV-iK),t[0],t[1],t[2],t[3]);return iG=t[0],iV=t[1],iH=t[2],iK=t[3],e},s:function(t){(null===iG||null===iV)&&(iG=iH,iV=iK);var e=o6(iH-(iG-iH),iK-(iV-iK),iH+t[0],iK+t[1],iH+t[2],iK+t[3]);return iG=iH+t[0],iV=iK+t[1],iH+=t[2],iK+=t[3],e},Q:function(t){return iG=t[0],iV=t[1],iH=t[2],iK=t[3],o8(t[0],t[1],iH,iK)},q:function(t){var e=o8(t[0]+iH,t[1]+iK,t[2]+iH,t[3]+iK);return iG=iH+t[0],iV=iK+t[1],iH+=t[2],iK+=t[3],e},T:function(t){null===iG||null===iV?(iG=iH,iV=iK):(iG=iH-(iG-iH),iV=iK-(iV-iK));var e=o8(iG,iV,t[0],t[1]);return iG=iH-(iG-iH),iV=iK-(iV-iK),iH=t[0],iK=t[1],e},t:function(t){null===iG||null===iV?(iG=iH,iV=iK):(iG=iH-(iG-iH),iV=iK-(iV-iK));var e=o8(iG,iV,iH+t[0],iK+t[1]);return iH+=t[0],iK+=t[1],e},A:function(t){var e=i$(iH,iK,t);return iH=t[5],iK=t[6],e},a:function(t){t[5]+=iH,t[6]+=iK;var e=i$(iH,iK,t);return iH=t[5],iK=t[6],e},L:function(t){return iH=t[0],iK=t[1],iG=iV=null,it(iH,iK)},l:function(t){return iH+=t[0],iK+=t[1],iG=iV=null,it(iH,iK)},H:function(t){return iH=t[0],iG=iV=null,it(iH,iK)},h:function(t){return iH+=t[0],iG=iV=null,it(iH,iK)},V:function(t){return iK=t[0],iG=iV=null,it(iH,iK)},v:function(t){return iK+=t[0],iG=iV=null,it(iH,iK)},Z:function(){var t=o9();return iH=iq,iK=iZ,t},z:function(){var t=o9();return iH=iq,iK=iZ,t}},i$=function(t,e,r){for(var n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=i0(r[5],r[6],n,o,a,s,i,t,e),c=[],l=0;l<u.length;l++){var h=i1.apply(void 0,u[l]);c.push(o6.apply(void 0,h))}return c},i0=function(t,e,r,n,o,i,a,s,u){var c=Math.PI/180*a,l=Math.sin(c),h=Math.cos(c);r=Math.abs(r),n=Math.abs(n);var f=(iG=h*(s-t)*.5+l*(u-e)*.5)*iG/(r*r)+(iV=h*(u-e)*.5-l*(s-t)*.5)*iV/(n*n);f>1&&(r*=f=Math.sqrt(f),n*=f);var d=h/r,p=l/r,g=-l/n,y=h/n,v=d*s+p*u,b=g*s+y*u,m=d*t+p*e,w=g*t+y*e,x=1/((m-v)*(m-v)+(w-b)*(w-b))-.25;x<0&&(x=0);var C=Math.sqrt(x);i===o&&(C=-C);var S=.5*(v+m)-C*(w-b),F=.5*(b+w)+C*(m-v),A=Math.atan2(b-F,v-S),k=Math.atan2(w-F,m-S)-A;k<0&&1===i?k+=2*Math.PI:k>0&&0===i&&(k-=2*Math.PI);for(var _=Math.ceil(Math.abs(k/(.5*Math.PI+.001))),D=[],B=0;B<_;B++){var P=A+B*k/_,T=A+(B+1)*k/_;D[B]=[S,F,P,T,r,n,l,h]}return D},i1=function(t,e,r,n,o,i,a,s){var u=s*o,c=-a*i,l=a*o,h=s*i,f=.5*(n-r),d=8/3*Math.sin(.5*f)*Math.sin(.5*f)/Math.sin(f),p=t+Math.cos(r)-d*Math.sin(r),g=e+Math.sin(r)+d*Math.cos(r),y=t+Math.cos(n),v=e+Math.sin(n),b=y+d*Math.sin(n),m=v-d*Math.cos(n);return[u*p+c*g,l*p+h*g,u*b+c*m,l*b+h*m,u*y+c*v,l*y+h*v]},i2=function(t,e){return[o5(),e.graphicsState&&o2(e.graphicsState),ih(),ij(e.color),ip(e.font,e.size),iC(oI(e.rotate),oI(e.xSkew),oI(e.ySkew),e.x,e.y),il(t),id(),o3()].filter(Boolean)},i5=function(t,e){for(var r=[o5(),e.graphicsState&&o2(e.graphicsState),ih(),ij(e.color),ip(e.font,e.size),ib(e.lineHeight),iC(oI(e.rotate),oI(e.xSkew),oI(e.ySkew),e.x,e.y)].filter(Boolean),n=0,o=t.length;n<o;n++)r.push(il(t[n]),iu());return r.push(id(),o3()),r},i3=function(t,e){return[o5(),e.graphicsState&&o2(e.graphicsState),oV(e.x,e.y),oZ(oI(e.rotate)),oq(e.width,e.height),oY(oI(e.xSkew),oI(e.ySkew)),iF(t),o3()].filter(Boolean)},i4=function(t,e){return[o5(),e.graphicsState&&o2(e.graphicsState),oV(e.x,e.y),oZ(oI(e.rotate)),oq(e.xScale,e.yScale),oY(oI(e.xSkew),oI(e.ySkew)),iF(t),o3()].filter(Boolean)},i6=function(t){var e,r;return[o5(),t.graphicsState&&o2(t.graphicsState),t.color&&iW(t.color),o4(t.thickness),oQ(null!=(e=t.dashArray)?e:[],null!=(r=t.dashPhase)?r:0),o7(t.start.x,t.start.y),t.lineCap&&o0(t.lineCap),o7(t.start.x,t.start.y),it(t.end.x,t.end.y),io(),o3()].filter(Boolean)},i8=function(t){var e,r;return[o5(),t.graphicsState&&o2(t.graphicsState),t.color&&ij(t.color),t.borderColor&&iW(t.borderColor),o4(t.borderWidth),t.borderLineCap&&o0(t.borderLineCap),oQ(null!=(e=t.borderDashArray)?e:[],null!=(r=t.borderDashPhase)?r:0),oV(t.x,t.y),oZ(oI(t.rotate)),oY(oI(t.xSkew),oI(t.ySkew)),o7(0,0),it(0,t.height),it(t.width,t.height),it(t.width,0),o9(),t.color&&t.borderWidth?ia():t.color?ii():t.borderColor?io():o9(),o3()].filter(
1Boolean)},i9=(Math.sqrt(2)-1)/3*4,i7=function(t){var e=oD(t.x),r=oD(t.y),n=oD(t.xScale),o=oD(t.yScale);e-=n,r-=o;var i=n*i9,a=o*i9,s=e+2*n,u=r+2*o,c=e+n,l=r+o;return[o5(),o7(e,l),o6(e,l-a,c-i,r,c,r),o6(c+i,r,s,l-a,s,l),o6(s,l+a,c+i,u,c,u),o6(c-i,u,e,l+a,e,l),o3()]},at=function(t){var e=oD(t.x),r=oD(t.y),n=oD(t.xScale),o=oD(t.yScale),i=-n,a=-o,s=n*i9,u=o*i9,c=i+2*n,l=a+2*o,h=i+n,f=a+o;return[oV(e,r),oZ(oI(t.rotate)),o7(i,f),o6(i,f-u,h-s,a,h,a),o6(h+s,a,c,f-u,c,f),o6(c,f+u,h+s,l,h,l),o6(h-s,l,i,f+u,i,f)]},ae=function(t){var e,r,n;return tc([o5(),t.graphicsState&&o2(t.graphicsState),t.color&&ij(t.color),t.borderColor&&iW(t.borderColor),o4(t.borderWidth),t.borderLineCap&&o0(t.borderLineCap),oQ(null!=(e=t.borderDashArray)?e:[],null!=(r=t.borderDashPhase)?r:0)],void 0===t.rotate?i7({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale}):at({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:null!=(n=t.rotate)?n:oP(0)}),[t.color&&t.borderWidth?ia():t.color?ii():t.borderColor?io():o9(),o3()]).filter(Boolean)},ar=function(t,e){var r,n,o;return tc([o5(),e.graphicsState&&o2(e.graphicsState),oV(e.x,e.y),oZ(oI(null!=(r=e.rotate)?r:oP(0))),e.scale?oq(e.scale,-e.scale):oq(1,-1),e.color&&ij(e.color),e.borderColor&&iW(e.borderColor),e.borderWidth&&o4(e.borderWidth),e.borderLineCap&&o0(e.borderLineCap),oQ(null!=(n=e.borderDashArray)?n:[],null!=(o=e.borderDashPhase)?o:0)],iJ(iY(t)),[e.color&&e.borderWidth?ia():e.color?ii():e.borderColor?io():o9(),o3()]).filter(Boolean)},an=function(t){var e=oD(t.size);return[o5(),t.color&&iW(t.color),o4(t.thickness),oV(t.x,t.y),o7(-.675*e,-.07601036269430045*e),it(-.25*e,-.49*e),it(.69*e,.475*e),io(),o3()].filter(Boolean)},ao=function(t){return 0===t.rotation?[oV(0,0),oX(0)]:90===t.rotation?[oV(t.width,0),oX(90)]:180===t.rotation?[oV(t.width,t.height),oX(180)]:270===t.rotation?[oV(0,t.height),oX(270)]:[]},ai=function(t){var e=i8({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)});if(!t.filled)return e;var r=oD(t.width),n=oD(t.height),o=Math.min(r,n)/2,i=an({x:r/2,y:n/2,size:o,thickness:t.thickness,color:t.markColor});return tc([o5()],e,i,[o3()])},aa=function(t){var e=Math.min(oD(t.width),oD(t.height))/2,r=ae({x:t.x,y:t.y,xScale:e,yScale:e,color:t.color,borderColor:t.borderColor,borderWidth:t.borderWidth});if(!t.filled)return r;var n=ae({x:t.x,y:t.y,xScale:.45*e,yScale:.45*e,color:t.dotColor,borderColor:void 0,borderWidth:0});return tc([o5()],r,n,[o3()])},as=function(t){var e=i8({x:oD(t.x),y:oD(t.y),width:oD(t.width),height:oD(t.height),borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)}),r=au(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)});return tc([o5()],e,r,[o3()])},au=function(t,e){for(var r=[ih(),ij(e.color),ip(e.font,e.size)],n=0,o=t.length;n<o;n++){var i=t[n],a=i.encoded,s=i.x,u=i.y;r.push(iC(oI(e.rotate),oI(e.xSkew),oI(e.ySkew),s,u),il(a))}return r.push(id()),r},ac=function(t){var e=oD(t.x),r=oD(t.y),n=oD(t.width),o=oD(t.height),i=oD(t.borderWidth),a=oD(t.padding),s=e+i/2+a,u=r+i/2+a,c=n-(i/2+a)*2,l=o-(i/2+a)*2,h=[o7(s,u),it(s,u+l),it(s+c,u+l),it(s+c,u),o9(),oW(),is()],f=i8({x:e,y:r,width:n,height:o,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)}),d=au(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)}),p=tc([iT("Tx"),o5()],d,[o3(),iO()]);return tc([o5()],f,h,p,[o3()])},al=function(t){for(var e=oD(t.x),r=oD(t.y),n=oD(t.width),o=oD(t.height),i=oD(t.lineHeight),a=oD(t.borderWidth),s=oD(t.padding),u=e+a/2+s,c=r+a/2+s,l=n-(a/2+s)*2,h=o-(a/2+s)*2,f=[o7(u,c),it(u,c+h),it(u+l,c+h),it(u+l,c),o9(),oW(),is()],d=i8({x:e,y:r,width:n,height:o,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)}),p=[],g=0,y=t.selectedLines.length;g<y;g++){var v=t.textLines[t.selectedLines[g]];p.push.apply(p,i8({x:v.x-s,y:v.y-(i-v.height)/2,width:n-a,height:v.height+(i-v.height)/2,borderWidth:0,color:t.selectedColor,borderColor:void 0,rotate:oP(0),xSkew:oP(0),ySkew:oP
1(0)}))}var b=au(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)}),m=tc([iT("Tx"),o5()],b,[o3(),iO()]);return tc([o5()],d,p,f,m,[o3()])};t.s(["drawButton",()=>as,"drawCheckBox",()=>ai,"drawCheckMark",()=>an,"drawEllipse",()=>ae,"drawEllipsePath",()=>i7,"drawImage",()=>i3,"drawLine",()=>i6,"drawLinesOfText",()=>i5,"drawOptionList",()=>al,"drawPage",()=>i4,"drawRadioButton",()=>aa,"drawRectangle",()=>i8,"drawSvgPath",()=>ar,"drawText",()=>i2,"drawTextField",()=>ac,"drawTextLines",()=>au,"rotateInPlace",()=>ao],499487);var ah=function(t){function e(){return t.call(this,"Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.")||this}return ti(e,t),e}(Error),af=function(t){function e(){return t.call(this,"Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.")||this}return ti(e,t),e}(Error),ad=function(t){function e(){return t.call(this,"A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.")||this}return ti(e,t),e}(Error),ap=function(t){function e(){return t.call(this,"PDFDocument has no pages so `PDFDocument.removePage` cannot be called")||this}return ti(e,t),e}(Error),ag=function(t){function e(e){return t.call(this,'PDFDocument has no form field with the name "'+e+'"')||this}return ti(e,t),e}(Error),ay=function(t){function e(e,r,n){var o,i,a='Expected field "'+e+'" to be of type '+(null==r?void 0:r.name)+", but it is actually of type "+(null!=(i=null==(o=null==n?void 0:n.constructor)?void 0:o.name)?i:n);return t.call(this,a)||this}return ti(e,t),e}(Error),av=function(t){function e(e){return t.call(this,'Failed to select check box due to missing onValue: "'+e+'"')||this}return ti(e,t),e}(Error),ab=function(t){function e(e){return t.call(this,'A field already exists with the specified name: "'+e+'"')||this}return ti(e,t),e}(Error),am=function(t){function e(e){return t.call(this,'Field name contains invalid component: "'+e+'"')||this}return ti(e,t),e}(Error),aw=function(t){function e(e){return t.call(this,'A non-terminal field already exists with the specified name: "'+e+'"')||this}return ti(e,t),e}(Error),ax=function(t){function e(e){return t.call(this,"Reading rich text fields is not supported: Attempted to read rich text field: "+e)||this}return ti(e,t),e}(Error),aC=function(t){function e(e,r){return t.call(this,"Failed to layout combed text as lineLength="+e+" is greater than cellCount="+r)||this}return ti(e,t),e}(Error),aS=function(t){function e(e,r,n){return t.call(this,"Attempted to set text with length="+e+" for TextField with maxLength="+r+" and name="+n)||this}return ti(e,t),e}(Error),aF=function(t){function e(e,r,n){var o="Attempted to set maxLength="+r+", which is less than "+e+", the length of this field's current value (name="+n+")";return t.call(this,o)||this}return ti(e,t),e}(Error);t.s(["CombedTextLayoutError",()=>aC,"EncryptedPDFError",()=>ah,"ExceededMaxLengthError",()=>aS,"FieldAlreadyExistsError",()=>ab,"FieldExistsAsNonTerminalError",()=>aw,"FontkitNotRegisteredError",()=>af,"ForeignPageError",()=>ad,"InvalidFieldNamePartError",()=>am,"InvalidMaxLengthError",()=>aF,"MissingOnValueCheckError",()=>av,"NoSuchFieldError",()=>ag,"RemovePageFromEmptyDocumentError",()=>ap,"RichTextFieldReadError",()=>ax,"UnexpectedFieldTypeError",()=>ay],70949),(k=$||($={}))[k.Left=0]="Left",k[k.Center=1]="Center",k[k.Right=2]="Right",t.s(["TextAlignment",()=>$],82335);var aA=function(t,e,r,n){void 0===n&&(n=!1);for(var o=4;o<500;){for(var i=0,a=0,s=t.length;a<s;a++){i+=1;for(var u=t[a].split(" "),c=r.width,l=0,h=u.length;l<h;l++){var f=l===h-1?u[l]:u[l]+" ",d=e.widthOfTextAtSize(f,o);(c-=d)<=0&&(i+=1,c=r.width-d)}}if(!n&&i>t.length)return o-1;var p=e.heightAtSize(o);
1if((p+.2*p)*i>Math.abs(r.height))return o-1;o+=1}return o},ak=function(t,e,r,n){for(var o=r.width/n,i=r.height,a=4,s=tN(t);a<500;){for(var u=0,c=s.length;u<c;u++){var l=s[u];if(e.widthOfTextAtSize(l,a)>.75*o)return a-1}if(e.heightAtSize(a,{descender:!1})>i)return a-1;a+=1}return a},a_=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},aD=function(t,e,r,n){for(var o,i=t.length;i>0;){var a=t.substring(0,i),s=r.encodeText(a),u=r.widthOfTextAtSize(a,n);if(u<e)return{line:a,encoded:s,width:u,remainder:t.substring(i)||void 0};i=null!=(o=a_(a))?o:0}return{line:t,encoded:r.encodeText(t),width:r.widthOfTextAtSize(t,n),remainder:void 0}},aB=function(t,e){var r=e.alignment,n=e.fontSize,o=e.font,i=e.bounds,a=tT(t_(t));(void 0===n||0===n)&&(n=aA(a,o,i,!0));for(var s=o.heightAtSize(n),u=s+.2*s,c=[],l=i.x,h=i.y,f=i.x+i.width,d=i.y+i.height,p=i.y+i.height,g=0,y=a.length;g<y;g++)for(var v=a[g];void 0!==v;){var b=aD(v,i.width,o,n),m=b.line,w=b.encoded,x=b.width,C=b.remainder,S=r===$.Left?i.x:r===$.Center?i.x+i.width/2-x/2:r===$.Right?i.x+i.width-x:i.x;p-=u,S<l&&(l=S),p<h&&(h=p),S+x>f&&(f=S+x),p+s>d&&(d=p+s),c.push({text:m,encoded:w,width:x,height:s,x:S,y:p}),v=null==C?void 0:C.trim()}return{fontSize:n,lineHeight:u,lines:c,bounds:{x:l,y:h,width:f-l,height:d-h}}},aP=function(t,e){var r=e.fontSize,n=e.font,o=e.bounds,i=e.cellCount,a=tO(t_(t));if(a.length>i)throw new aC(a.length,i);(void 0===r||0===r)&&(r=ak(a,n,o,i));for(var s=o.width/i,u=n.heightAtSize(r,{descender:!1}),c=o.y+(o.height/2-u/2),l=[],h=o.x,f=o.y,d=o.x+o.width,p=o.y+o.height,g=0,y=0;g<i;){var v=tR(a,y),b=v[0],m=v[1],w=n.encodeText(b),x=n.widthOfTextAtSize(b,r),C=o.x+(s*g+s/2)-x/2;C<h&&(h=C),c<f&&(f=c),C+x>d&&(d=C+x),c+u>p&&(p=c+u),l.push({text:a,encoded:w,width:x,height:u,x:C,y:c}),g+=1,y+=m}return{fontSize:r,cells:l,bounds:{x:h,y:f,width:d-h,height:p-f}}},aT=function(t,e){var r=e.alignment,n=e.fontSize,o=e.font,i=e.bounds,a=tO(t_(t));(void 0===n||0===n)&&(n=aA([a],o,i));var s=o.encodeText(a),u=o.widthOfTextAtSize(a,n),c=o.heightAtSize(n,{descender:!1}),l=r===$.Left?i.x:r===$.Center?i.x+i.width/2-u/2:r===$.Right?i.x+i.width-u:i.x,h=i.y+(i.height/2-c/2);return{fontSize:n,line:{text:a,encoded:s,width:u,height:c,x:l,y:h},bounds:{x:l,y:h,width:u,height:c}}};t.s(["layoutCombedText",()=>aP,"layoutMultilineText",()=>aB,"layoutSinglelineText",()=>aT],595215);var aO=function(t){return"normal"in t?t:{normal:t}},aR=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,aN=function(t){var e,r,n=Number((null!=(r=tj(null!=(e=t.getDefaultAppearance())?e:"",aR).match)?r:[])[2]);return isFinite(n)?n:void 0},aI=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,aE=function(t){var e,r=tj(null!=(e=t.getDefaultAppearance())?e:"",aI).match,n=null!=r?r:[],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5];return"g"===u&&o?iR(Number(o)):"rg"===u&&o&&i&&a?iN(Number(o),Number(i),Number(a)):"k"===u&&o&&i&&a&&s?iI(Number(o),Number(i),Number(a),Number(s)):void 0},az=function(t,e,r,n){void 0===n&&(n=0);var o,i=[ij(e).toString(),ip(null!=(o=null==r?void 0:r.name)?o:"dummy__noop",n).toString()].join("\n");t.setDefaultAppearance(i)},aM=function(t,e){var r,n,o,i=aE(e),a=aE(t.acroField),s=e.getRectangle(),u=e.getAppearanceCharacteristics(),c=e.getBorderStyle(),l=null!=(r=null==c?void 0:c.getWidth())?r:0,h=oz(null==u?void 0:u.getRotation()),f=oM(s,h),d=f.width,p=f.height,g=ao(ta(ta({},s),{rotation:h})),y=iN(0,0,0),v=null!=(n=iL(null==u?void 0:u.getBorderColor()))?n:y,b=iL(null==u?void 0:u.getBackgroundColor()),m=iL(null==u?void 0:u.getBackgroundColor(),.8),w=null!=(o=null!=i?i:a)?o:y;i?az(e,w):az(t.acroField,w);var x={x:0+l/2,y:0+l/2,width:d-l,height:p-l,thickness:1.5,borderWidth:l,borderColor:v,markColor:w};return{normal:{on:tc(g,ai(ta(ta({},x),{color:b,filled:!0}))),off:tc(g,ai(ta(ta({},x),{color:b,filled:!1})))},down:{on:tc(g,ai(ta(ta({},x),{color:m,filled:!0}))),off:tc(g,ai(ta(ta({},x),{color:m,filled:!1})))}}},aj=function(t,e){var r,n,o,i=aE(e),a=aE(t.acroField),s=e.getRectangle(),u=e.getAppearanceCharacteristics(),c=e.getBorderStyle(),l=null!=(r=null==c?void 0:c.getWidth())?r:0,h=oz(null==u?void 0:u.getRotation()),f=oM(s,h),d=f.width,p=f.height,g=ao(ta(ta({},s),{rotation:h}
1)),y=iN(0,0,0),v=null!=(n=iL(null==u?void 0:u.getBorderColor()))?n:y,b=iL(null==u?void 0:u.getBackgroundColor()),m=iL(null==u?void 0:u.getBackgroundColor(),.8),w=null!=(o=null!=i?i:a)?o:y;i?az(e,w):az(t.acroField,w);var x={x:d/2,y:p/2,width:d-l,height:p-l,borderWidth:l,borderColor:v,dotColor:w};return{normal:{on:tc(g,aa(ta(ta({},x),{color:b,filled:!0}))),off:tc(g,aa(ta(ta({},x),{color:b,filled:!1})))},down:{on:tc(g,aa(ta(ta({},x),{color:m,filled:!0}))),off:tc(g,aa(ta(ta({},x),{color:m,filled:!1})))}}},aW=function(t,e,r){var n,o,i,a,s,u=aE(e),c=aE(t.acroField),l=aN(e),h=aN(t.acroField),f=e.getRectangle(),d=e.getAppearanceCharacteristics(),p=e.getBorderStyle(),g=null==d?void 0:d.getCaptions(),y=null!=(n=null==g?void 0:g.normal)?n:"",v=null!=(i=null!=(o=null==g?void 0:g.down)?o:y)?i:"",b=null!=(a=null==p?void 0:p.getWidth())?a:0,m=oz(null==d?void 0:d.getRotation()),w=oM(f,m),x=w.width,C=w.height,S=ao(ta(ta({},f),{rotation:m})),F=iN(0,0,0),A=iL(null==d?void 0:d.getBorderColor()),k=iL(null==d?void 0:d.getBackgroundColor()),_=iL(null==d?void 0:d.getBackgroundColor(),.8),D={x:b,y:b,width:x-2*b,height:C-2*b},B=aT(y,{alignment:$.Center,fontSize:null!=l?l:h,font:r,bounds:D}),P=aT(v,{alignment:$.Center,fontSize:null!=l?l:h,font:r,bounds:D}),T=Math.min(B.fontSize,P.fontSize),O=null!=(s=null!=u?u:c)?s:F;u||void 0!==l?az(e,O,r,T):az(t.acroField,O,r,T);var R={x:0+b/2,y:0+b/2,width:x-b,height:C-b,borderWidth:b,borderColor:A,textColor:O,font:r.name,fontSize:T};return{normal:tc(S,as(ta(ta({},R),{color:k,textLines:[B.line]}))),down:tc(S,as(ta(ta({},R),{color:_,textLines:[P.line]})))}},aL=function(t,e,r){var n,o,i,a,s,u,c=aE(e),l=aE(t.acroField),h=aN(e),f=aN(t.acroField),d=e.getRectangle(),p=e.getAppearanceCharacteristics(),g=e.getBorderStyle(),y=null!=(n=t.getText())?n:"",v=null!=(o=null==g?void 0:g.getWidth())?o:0,b=oz(null==p?void 0:p.getRotation()),m=oM(d,b),w=m.width,x=m.height,C=ao(ta(ta({},d),{rotation:b})),S=iN(0,0,0),F=iL(null==p?void 0:p.getBorderColor()),A=iL(null==p?void 0:p.getBackgroundColor()),k=+!t.isCombed(),_={x:v+k,y:v+k,width:w-(v+k)*2,height:x-(v+k)*2};if(t.isMultiline()){var D=aB(y,{alignment:t.getAlignment(),fontSize:null!=h?h:f,font:r,bounds:_});s=D.lines,u=D.fontSize}else if(t.isCombed()){var D=aP(y,{fontSize:null!=h?h:f,font:r,bounds:_,cellCount:null!=(i=t.getMaxLength())?i:0});s=D.cells,u=D.fontSize}else{var D=aT(y,{alignment:t.getAlignment(),fontSize:null!=h?h:f,font:r,bounds:_});s=[D.line],u=D.fontSize}var B=null!=(a=null!=c?c:l)?a:S;return c||void 0!==h?az(e,B,r,u):az(t.acroField,B,r,u),tc(C,ac({x:0+v/2,y:0+v/2,width:w-v,height:x-v,borderWidth:null!=v?v:0,borderColor:F,textColor:B,font:r.name,fontSize:u,color:A,textLines:s,padding:k}))},aU=function(t,e,r){var n,o,i,a=aE(e),s=aE(t.acroField),u=aN(e),c=aN(t.acroField),l=e.getRectangle(),h=e.getAppearanceCharacteristics(),f=e.getBorderStyle(),d=null!=(n=t.getSelected()[0])?n:"",p=null!=(o=null==f?void 0:f.getWidth())?o:0,g=oz(null==h?void 0:h.getRotation()),y=oM(l,g),v=y.width,b=y.height,m=ao(ta(ta({},l),{rotation:g})),w=iN(0,0,0),x=iL(null==h?void 0:h.getBorderColor()),C=iL(null==h?void 0:h.getBackgroundColor()),S=aT(d,{alignment:$.Left,fontSize:null!=u?u:c,font:r,bounds:{x:p+1,y:p+1,width:v-(p+1)*2,height:b-(p+1)*2}}),F=S.line,A=S.fontSize,k=null!=(i=null!=a?a:s)?i:w;return a||void 0!==u?az(e,k,r,A):az(t.acroField,k,r,A),tc(m,ac({x:0+p/2,y:0+p/2,width:v-p,height:b-p,borderWidth:null!=p?p:0,borderColor:x,textColor:k,font:r.name,fontSize:A,color:C,textLines:[F],padding:1}))},aH=function(t,e,r){var n,o,i=aE(e),a=aE(t.acroField),s=aN(e),u=aN(t.acroField),c=e.getRectangle(),l=e.getAppearanceCharacteristics(),h=e.getBorderStyle(),f=null!=(n=null==h?void 0:h.getWidth())?n:0,d=oz(null==l?void 0:l.getRotation()),p=oM(c,d),g=p.width,y=p.height,v=ao(ta(ta({},c),{rotation:d})),b=iN(0,0,0),m=iL(null==l?void 0:l.getBorderColor()),w=iL(null==l?void 0:l.getBackgroundColor()),x=t.getOptions(),C=t.getSelected();t.isSorted()&&x.sort();for(var S="",F=0,A=x.length;F<A;F++)S+=x[F],F<A-1&&(S+="\n");for(var k=aB(S,{alignment:$.Left,fontSize:null!=s?s:u,font:r,bounds:{x:f+1,y:f+1,width:g-(f+1)*2,height:y-(f+1)*2}}),_=k.lines,D=k.fontSize,B=k.lineHeight,P=[],F=0,A=_.length;F<A;F++){var T=_[F];C.includes(T.text)&&P.push(F)}var O=iN(.6,193/255,218/255),R=null!=(o=null!=i?i:a)?o:b;return i||void 0!==s?az(e,R,r,D):az(t.acroField,R,r,D),tc(v,al({x:0+f/2,y:0+f/2,width:g-f,height:y-f,borderWidth:null!=f?f:0,borderColor:m,textColor:R,font:r.name,fontSize:D,color:w,textLines:_,lineHeight:B,selectedColor:O,selectedLines:P,padding:1}))};t.s(["defaultButtonAppearanceProvider",()=>aW,"defaultCheckBoxAppearanceProvider",()=>aM,"defaultDropdownAppearanceProvider",()=>aU,"defaultOptionListAppearanceProvider",()=>aH,"defaultRadioGroupAppearanceProvider",()=>aj,"defaultTextFieldAppearanceProvider",()=>aL,"normalizeAppearance",()=>aO],481595),t.s(["default",()=>sr],966242),t.s(["default",()=>se],133863),t.s(["default",()=>a7],835391),t.s(["default",()=>aK],68213);let aK=function(){function t(t,e,r){this.alreadyEmbedded=!1,eY(t,"ref",[[rV,"PDFRef"]]),eY(e,"doc",[[a7,"PDFDocument"]]),eY(r,"embedder",[[nM,"PDFPageEmbedder"]]),this.ref=t,this.doc=e,this.width=r.width,this.height=r.height,this.embedder=r}return t.prototype.scale=function(t){return eY(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return ts(this,void 0,void 0,function(){return tu(this,function(t){switch(t.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.alreadyEmbedded=!0,t.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}();t.s(["default",()=>aG],260636);let aG=function(){function t(t,e,r){this.modified=!0,eY(t,"ref",[[rV,"PDFRef"]]),eY(e,"doc",[[a7,"PDFDocument"]]),eY(r,"embedder",[[nl,"CustomFontEmbedder"],[ne,"StandardFontEmbedder"]]),this.ref=t,this.doc=e,this.name=r.fontName,this.embedder=r}return t.prototype.encodeText=function(t){return eY(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},t.prototype.widthOfTextAtSize=function(t,e){return eY(t,"text",["string"]),eY(e,"size",["number"]),this.embedder.widthOfTextAtSize(t,e)},t.prototype.heightAtSize=function(t,e){var r;
1return eY(t,"size",["number"]),eJ(null==e?void 0:e.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:null==(r=null==e?void 0:e.descender)||r})},t.prototype.sizeAtHeight=function(t){return eY(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},t.prototype.getCharacterSet=function(){return this.embedder instanceof ne?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},t.prototype.embed=function(){return ts(this,void 0,void 0,function(){return tu(this,function(t){switch(t.label){case 0:if(!this.modified)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.modified=!1,t.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}();t.s(["default",()=>aV],359213);let aV=function(){function t(t,e,r){eY(t,"ref",[[rV,"PDFRef"]]),eY(e,"doc",[[a7,"PDFDocument"]]),eY(r,"embedder",[[ng,"JpegEmbedder"],[nw,"PngEmbedder"]]),this.ref=t,this.doc=e,this.width=r.width,this.height=r.height,this.embedder=r}return t.prototype.scale=function(t){return eY(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.scaleToFit=function(t,e){eY(t,"width",["number"]),eY(e,"height",["number"]);var r=Math.min(t/this.width,e/this.height);return this.scale(r)},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return ts(this,void 0,void 0,function(){var t,e,r;return tu(this,function(n){switch(n.label){case 0:if(!this.embedder)return[2];return this.embedTask||(t=this,e=t.doc,r=t.ref,this.embedTask=this.embedder.embedIntoContext(e.context,r)),[4,this.embedTask];case 1:return n.sent(),this.embedder=void 0,[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}();t.s(["default",()=>a1],82001),t.s(["default",()=>aX],676539),t.s(["assertFieldAppearanceOptions",()=>aq,"default",()=>aZ],138159),t.i(97262),t.i(196593),t.s(["AnnotationFlags",()=>q,"AppearanceCharacteristics",0,nG,"PDFAnnotation",0,nK,"PDFWidgetAnnotation",0,nV],432877),t.i(441654),t.i(90121),t.i(980793),t.s(["AcroButtonFlags",()=>K,"AcroChoiceFlags",()=>V,"AcroFieldFlags",()=>H,"AcroTextFlags",()=>G,"PDFAcroButton",0,nZ,"PDFAcroCheckBox",0,nX,"PDFAcroChoice",0,nJ,"PDFAcroComboBox",0,nQ,"PDFAcroField",0,nU,"PDFAcroForm",0,oo,"PDFAcroListBox",0,n3,"PDFAcroNonTerminal",0,n$,"PDFAcroPushButton",0,n2,"PDFAcroRadioButton",0,n5,"PDFAcroSignature",0,n0,"PDFAcroTerminal",0,nq,"PDFAcroText",0,n1,"createPDFAcroField",()=>n6,"createPDFAcroFields",()=>n4],690271),(_=tt||(tt={}))[_.Left=0]="Left",_[_.Center=1]="Center",_[_.Right=2]="Right",t.s(["ImageAlignment",()=>tt],689021),t.s([],797767);var aq=function(t){eJ(null==t?void 0:t.x,"options.x",["number"]),eJ(null==t?void 0:t.y,"options.y",["number"]),eJ(null==t?void 0:t.width,"options.width",["number"]),eJ(null==t?void 0:t.height,"options.height",["number"]),eJ(null==t?void 0:t.textColor,"options.textColor",[[Object,"Color"]]),eJ(null==t?void 0:t.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),eJ(null==t?void 0:t.borderColor,"options.borderColor",[[Object,"Color"]]),eJ(null==t?void 0:t.borderWidth,"options.borderWidth",["number"]),eJ(null==t?void 0:t.rotate,"options.rotate",[[Object,"Rotation"]])};let aZ=function(){function t(t,e,r){eY(t,"acroField",[[nq,"PDFAcroTerminal"]]),eY(e,"ref",[[rV,"PDFRef"]]),eY(r,"doc",[[a7,"PDFDocument"]]),this.acroField=t,this.ref=e,this.doc=r}return t.prototype.getName=function(){var t;return null!=(t=this.acroField.getFullyQualifiedName())?t:""},t.prototype.isReadOnly=function(){return this.acroField.hasFlag(H.ReadOnly)},t.prototype.enableReadOnly=function(){this.acroField.setFlagTo(H.ReadOnly,!0)},t.prototype.disableReadOnly=function(){this.acroField.setFlagTo(H.ReadOnly,!1)},t.prototype.isRequired=function(){return this.acroField.hasFlag(H.Required)},t.prototype.enableRequired=function(){this.acroField.setFlagTo(H.Required,!0)},t.prototype.disableRequired=function(){this.acroField.setFlagTo(H.Required,!1)},t.prototype.isExported=function(){return!this.acroField.hasFlag(H.NoExport)},t.prototype.enableExporting=function(){this.acroField.setFlagTo(H.NoExport,!1)},t.prototype.disableExporting=function(){this.acroField.setFlagTo(H.NoExport,!0)},t.prototype.needsAppearancesUpdate=function(){throw new e9(this.constructor.name,"needsAppearancesUpdate")},t.prototype.defaultUpdateAppearances=function(t){throw new e9(this.constructor.name,"defaultUpdateAppearances")},t.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},t.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},t.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},t.prototype.createWidget=function(t){var e,r=t.textColor,n=t.backgroundColor,o=t.borderColor,i=t.borderWidth,a=oE(t.rotate),s=t.caption,u=t.x,c=t.y,l=t.width+i,h=t.height+i,f=!!t.hidden,d=t.page;e1(a,"degreesAngle",90);var p=nV.create(this.doc.context,this.ref),g=oj({x:u,y:c,width:l,height:h},i,a);p.setRectangle(g),d&&p.setP(d);var y=p.getOrCreateAppearanceCharacteristics();
1n&&y.setBackgroundColor(iU(n)),y.setRotation(a),s&&y.setCaptions({normal:s}),o&&y.setBorderColor(iU(o));var v=p.getOrCreateBorderStyle();if(void 0!==i&&v.setWidth(i),p.setFlagTo(q.Print,!0),p.setFlagTo(q.Hidden,f),p.setFlagTo(q.Invisible,!1),r){var b=(null!=(e=this.acroField.getDefaultAppearance())?e:"")+"\n"+ij(r).toString();this.acroField.setDefaultAppearance(b)}return p},t.prototype.updateWidgetAppearanceWithFont=function(t,e,r){var n=r.normal,o=r.rollover,i=r.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,n,e),rollover:o&&this.createAppearanceStream(t,o,e),down:i&&this.createAppearanceStream(t,i,e)})},t.prototype.updateOnOffWidgetAppearance=function(t,e,r){var n=r.normal,o=r.rollover,i=r.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,n,e),rollover:o&&this.createAppearanceDict(t,o,e),down:i&&this.createAppearanceDict(t,i,e)})},t.prototype.updateWidgetAppearances=function(t,e){var r=e.normal,n=e.rollover,o=e.down;t.setNormalAppearance(r),n?t.setRolloverAppearance(n):t.removeRolloverAppearance(),o?t.setDownAppearance(o):t.removeDownAppearance()},t.prototype.createAppearanceStream=function(t,e,r){var n,o=this.acroField.dict.context,i=t.getRectangle(),a=i.width,s=i.height,u=r&&{Font:((n={})[r.name]=r.ref,n)},c=o.formXObject(e,{Resources:u,BBox:o.obj([0,0,a,s]),Matrix:o.obj([1,0,0,1,0,0])});return o.register(c)},t.prototype.createImageAppearanceStream=function(t,e,r){var n,o,i=this.acroField.dict.context,a=t.getRectangle(),s=t.getAppearanceCharacteristics(),u=t.getBorderStyle(),c=null!=(o=null==u?void 0:u.getWidth())?o:0,l=oz(null==s?void 0:s.getRotation()),h=ao(ta(ta({},a),{rotation:l})),f=oM(a,l),d=e.scaleToFit(f.width-2*c,f.height-2*c),p={x:c,y:c,width:d.width,height:d.height,rotate:oP(0),xSkew:oP(0),ySkew:oP(0)};r===tt.Center?(p.x+=(f.width-2*c)/2-d.width/2,p.y+=(f.height-2*c)/2-d.height/2):r===tt.Right&&(p.x=f.width-c-d.width,p.y=f.height-c-d.height);var g=this.doc.context.addRandomSuffix("Image",10),y=tc(h,i3(g,p)),v={XObject:((n={})[g]=e.ref,n)},b=i.formXObject(y,{Resources:v,BBox:i.obj([0,0,a.width,a.height]),Matrix:i.obj([1,0,0,1,0,0])});return i.register(b)},t.prototype.createAppearanceDict=function(t,e,r){var n=this.acroField.dict.context,o=this.createAppearanceStream(t,e.on),i=this.createAppearanceStream(t,e.off),a=n.obj({});return a.set(r,o),a.set(rj.of("Off"),i),a},t}(),aX=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroCheckBox",[[nX,"PDFAcroCheckBox"]]),o.acroField=e,o}return ti(e,t),e.prototype.check=function(){var t,e=null!=(t=this.acroField.getOnValue())?t:rj.of("Yes");this.markAsDirty(),this.acroField.setValue(e)},e.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(rj.of("Off"))},e.prototype.isChecked=function(){var t=this.acroField.getOnValue();return!!t&&t===this.acroField.getValue()},e.prototype.addToPage=function(t,e){eY(t,"page",[[se,"PDFPage"]]),aq(e),e||(e={}),"textColor"in e||(e.textColor=iN(0,0,0)),"backgroundColor"in e||(e.backgroundColor=iN(1,1,1)),"borderColor"in e||(e.borderColor=iN(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,n,o,i,a,s,u=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(n=e.y)?n:0,width:null!=(o=e.width)?o:50,height:null!=(i=e.height)?i:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(a=e.borderWidth)?a:0,rotate:null!=(s=e.rotate)?s:oP(0),hidden:e.hidden,page:t.ref}),c=this.doc.context.register(u.dict);this.acroField.addWidget(c),u.setAppearanceState(rj.of("Off")),this.updateWidgetAppearance(u,rj.of("Yes")),t.node.addAnnot(c)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++){var o=e[r],i=o.getAppearanceState(),a=null==(t=o.getAppearances())?void 0:t.normal;if(!(a instanceof rL)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){eJ(t,"provider",[Function]);for(var e,r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n],a=null!=(e=i.getOnValue())?e:rj.of("Yes");a&&this.updateWidgetAppearance(i,a,t)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aM)(this,t));this.updateOnOffWidgetAppearance(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s(["default",()=>aY],9113);let aY=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroComboBox",[[nQ,"PDFAcroComboBox"]]),o.acroField=e,o}return ti(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),r=0,n=e.length;r<n;r++){var o=t[r],i=o.display,a=o.value;e[r]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]=t[r].decodeText();return e},e.prototype.setOptions=function(t){eY(t,"options",[Array]);for(var e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]={value:nt.fromText(t[r])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){eY(t,"options",["string",Array]);for(var e=Array.isArray(t)?t:[t],r=this.acroField.getOptions(),n=Array(e.length),o=0,i=e.length;o<i;o++)n[o]={value:nt.fromText(e[o])};this.acroField.setOptions(r.concat(n))},e.prototype.select=function(t,e){void 0===e&&(e=!1),eY(t,"options",["string",Array]),eY(e,"merge",["boolean"]);var r=Array.isArray(t)?t:[t],n=this.getOptions();r.find(function(t){return!n.includes(t)})&&this.enableEditing(),this.markAsDirty(),(r.length>1||1===r.length&&e)&&this.enableMultiselect();for(var o=Array(r.length),i=0,a=r.length;i<a;i++)o[i]=nt.fromText(r[i]);if(e){var s=this.acroField.getValues();this.acroField.setValues(s.concat(o))}else this.acroField.setValues(o)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){e5(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isEditable=function(){return this.acroField.hasFlag(V.Edit)},e.prototype.enableEditing=function(){this.acroField.setFlagTo(V.Edit,!0)},e.prototype.disableEditing=function(){this.acroField.setFlagTo(V.Edit,!1)},e.prototype.isSorted=function(){return this.acroField.hasFlag(V.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(V.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(V.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(V.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(V.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(V.MultiSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(V.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(V.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(V.DoNotSpellCheck,!0)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(V.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(V.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(V.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){eY(t,"page",[[se,"PDFPage"]]),aq(e),e||(e={}),"textColor"in e||(e.textColor=iN(0,0,0)),"backgroundColor"in e||(e.backgroundColor=iN(1,1,1)),"borderColor"in e||(e.borderColor=iN(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,n,o,i,a,s,u,c=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(n=e.y)?n:0,width:null!=(o=e.width)?o:200,height:null!=(i=e.height)?i:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(a=e.borderWidth)?a:0,rotate:null!=(s=e.rotate)?s:oP(0),hidden:e.hidden,page:t.ref}),l=this.doc.context.register(c.dict);this.acroField.addWidget(l);var h=null!=(u=e.font)?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(c,h),t.node.addAnnot(l)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof rU))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){eY(t,"font",[[aG,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){eY(t,"font",[[aG,"PDFFont"]]),eJ(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n];this.updateWidgetAppearance(i,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aU)(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s(["default",()=>aJ],232853);let aJ=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroListBox",[[n3,"PDFAcroListBox"]]),o.acroField=e,o}return ti(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),r=0,n=e.length;r<n;r++){var o=t[r],i=o.display,a=o.value;e[r]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]=t[r].decodeText();return e},e.prototype.setOptions=function(t){eY(t,"options",[Array]),this.markAsDirty();for(var e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]={value:nt.fromText(t[r])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){eY(t,"options",["string",Array]),this.markAsDirty();for(var e=Array.isArray(t)?t:[t],r=this.acroField.getOptions(),n=Array(e.length),o=0,i=e.length;o<i;o++)n[o]={value:nt.fromText(e[o])};this.acroField.setOptions(r.concat(n))},e.prototype.select=function(t,e){void 0===e&&(e=!1),eY(t,"options",["string",Array]),eY(e,"merge",["boolean"]);var r=Array.isArray(t)?t:[t];eV(r,"option",this.getOptions()),this.markAsDirty(),(r.length>1||1===r.length&&e)&&this.enableMultiselect();for(var n=Array(r.length),o=0,i=r.length;o<i;o++)n[o]=nt.fromText(r[o]);if(e){var a=this.acroField.getValues();this.acroField.setValues(a.concat(n))}else this.acroField.setValues(n)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){e5(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isSorted=function(){return this.acroField.hasFlag(V.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(V.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(V.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(V.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(V.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(V.MultiSelect,!1)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(V.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(V.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(V.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){eY(t,"page",[[se,"PDFPage"]]),aq(e),e||(e={}),"textColor"in e||(e.textColor=iN(0,0,0)),"backgroundColor"in e||(e.backgroundColor=iN(1,1,1)),"borderColor"in e||(e.borderColor=iN(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,n,o,i,a,s,u,c=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(n=e.y)?n:0,width:null!=(o=e.width)?o:200,height:null!=(i=e.height)?i:100,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(a=e.borderWidth)?a:0,rotate:null!=(s=e.rotate)?s:oP(0),hidden:e.hidden,page:t.ref}),l=this.doc.context.register(c.dict);this.acroField.addWidget(l);var h=null!=(u=e.font)?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(c,h),t.node.addAnnot(l)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof rU))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){eY(t,"font",[[aG,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){eY(t,"font",[[aG,"PDFFont"]]),eJ(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n];this.updateWidgetAppearance(i,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aH)(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s(["default",()=>aQ],559002);let aQ=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroRadioButton",[[n5,"PDFAcroRadioButton"]]),o.acroField=e,o}return ti(e,t),e.prototype.getOptions=function(){var t=this.acroField.getExportValues();if(t){for(var e=Array(t.length),r=0,n=t.length;r<n;r++)e[r]=t[r].decodeText();return e}for(var o=this.acroField.getOnValues(),i=Array(o.length),r=0,n=i.length;r<n;r++)i[r]=o[r].decodeText();return i},e.prototype.getSelected=function(){var t=this.acroField.getValue();if(t!==rj.of("Off")){var e=this.acroField.getExportValues();if(e){for(var r=this.acroField.getOnValues(),n=0,o=r.length;n<o;n++)if(r[n]===t)return e[n].decodeText()}return t.decodeText()}},e.prototype.select=function(t){eY(t,"option",["string"]),eK(t,"option",this.getOptions()),this.markAsDirty();var e=this.acroField.getOnValues(),r=this.acroField.getExportValues();if(r)for(var n=0,o=r.length;n<o;
1n++)r[n].decodeText()===t&&this.acroField.setValue(e[n]);else for(var n=0,o=e.length;n<o;n++){var i=e[n];i.decodeText()===t&&this.acroField.setValue(i)}},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(rj.of("Off"))},e.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(K.NoToggleToOff)},e.prototype.enableOffToggling=function(){this.acroField.setFlagTo(K.NoToggleToOff,!1)},e.prototype.disableOffToggling=function(){this.acroField.setFlagTo(K.NoToggleToOff,!0)},e.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(K.RadiosInUnison)},e.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(K.RadiosInUnison,!1)},e.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(K.RadiosInUnison,!0)},e.prototype.addOptionToPage=function(t,e,r){eY(t,"option",["string"]),eY(e,"page",[[se,"PDFPage"]]),aq(r);var n,o,i,a,s,u,c,l,h,f=this.createWidget({x:null!=(n=null==r?void 0:r.x)?n:0,y:null!=(o=null==r?void 0:r.y)?o:0,width:null!=(i=null==r?void 0:r.width)?i:50,height:null!=(a=null==r?void 0:r.height)?a:50,textColor:null!=(s=null==r?void 0:r.textColor)?s:iN(0,0,0),backgroundColor:null!=(u=null==r?void 0:r.backgroundColor)?u:iN(1,1,1),borderColor:null!=(c=null==r?void 0:r.borderColor)?c:iN(0,0,0),borderWidth:null!=(l=null==r?void 0:r.borderWidth)?l:1,rotate:null!=(h=null==r?void 0:r.rotate)?h:oP(0),hidden:null==r?void 0:r.hidden,page:e.ref}),d=this.doc.context.register(f.dict),p=this.acroField.addWidgetWithOpt(d,nt.fromText(t),!this.isMutuallyExclusive());f.setAppearanceState(rj.of("Off")),this.updateWidgetAppearance(f,p),e.node.addAnnot(d)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++){var o=e[r],i=o.getAppearanceState(),a=null==(t=o.getAppearances())?void 0:t.normal;if(!(a instanceof rL)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){eJ(t,"provider",[Function]);for(var e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++){var o=e[r],i=o.getOnValue();i&&this.updateWidgetAppearance(o,i,t)}},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aj)(this,t));this.updateOnOffWidgetAppearance(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s(["default",()=>a$],560282);let a$=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroSignature",[[n0,"PDFAcroSignature"]]),o.acroField=e,o}return ti(e,t),e.prototype.needsAppearancesUpdate=function(){return!1},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s(["default",()=>a0],221133);let a0=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroText",[[n1,"PDFAcroText"]]),o.acroField=e,o}return ti(e,t),e.prototype.getText=function(){var t=this.acroField.getValue();if(!t&&this.isRichFormatted())throw new ax(this.getName());return null==t?void 0:t.decodeText()},e.prototype.setText=function(t){eJ(t,"text",["string"]);var e=this.getMaxLength();if(void 0!==e&&t&&t.length>e)throw new aS(t.length,e,this.getName());this.markAsDirty(),this.disableRichFormatting(),t?this.acroField.setValue(nt.fromText(t)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var t=this.acroField.getQuadding();return 0===t?$.Left:1===t?$.Center:2===t?$.Right:$.Left},e.prototype.setAlignment=function(t){eK(t,"alignment",$),this.markAsDirty(),this.acroField.setQuadding(t)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(t){if(e0(t,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===t)this.acroField.removeMaxLength();else{var e=this.getText();if(e&&e.length>t)throw new aF(e.length,t,this.getName());this.acroField.setMaxLength(t)}},e.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},e.prototype.setImage=function(t){for(var e=this.getAlignment(),r=e===$.Center?tt.Center:e===$.Right?tt.Right:tt.Left,n=this.acroField.getWidgets(),o=0,i=n.length;o<i;o++){var a=n[o],s=this.createImageAppearanceStream(a,t,r);this.updateWidgetAppearances(a,{normal:s})}this.markAsClean()},e.prototype.setFontSize=function(t){e5(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isMultiline=function(){return this.acroField.hasFlag(G.Multiline)},e.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(G.Multiline,!0)},e.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(G.Multiline,!1)},e.prototype.isPassword=function(){return this.acroField.hasFlag(G.Password)},e.prototype.enablePassword=function(){this.acroField.setFlagTo(G.Password,!0)},e.prototype.disablePassword=function(){this.acroField.setFlagTo(G.Password,!1)},e.prototype.isFileSelector=function(){return this.acroField.hasFlag(G.FileSelect)}
1,e.prototype.enableFileSelection=function(){this.acroField.setFlagTo(G.FileSelect,!0)},e.prototype.disableFileSelection=function(){this.acroField.setFlagTo(G.FileSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(G.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(G.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(G.DoNotSpellCheck,!0)},e.prototype.isScrollable=function(){return!this.acroField.hasFlag(G.DoNotScroll)},e.prototype.enableScrolling=function(){this.acroField.setFlagTo(G.DoNotScroll,!1)},e.prototype.disableScrolling=function(){this.acroField.setFlagTo(G.DoNotScroll,!0)},e.prototype.isCombed=function(){return this.acroField.hasFlag(G.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&void 0!==this.getMaxLength()},e.prototype.enableCombing=function(){void 0===this.getMaxLength()&&console.warn("PDFTextFields must have a max length in order to be combed"),this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(G.Comb,!0)},e.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(G.Comb,!1)},e.prototype.isRichFormatted=function(){return this.acroField.hasFlag(G.RichText)},e.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(G.RichText,!0)},e.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(G.RichText,!1)},e.prototype.addToPage=function(t,e){eY(t,"page",[[se,"PDFPage"]]),aq(e),e||(e={}),"textColor"in e||(e.textColor=iN(0,0,0)),"backgroundColor"in e||(e.backgroundColor=iN(1,1,1)),"borderColor"in e||(e.borderColor=iN(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var r,n,o,i,a,s,u,c=this.createWidget({x:null!=(r=e.x)?r:0,y:null!=(n=e.y)?n:0,width:null!=(o=e.width)?o:200,height:null!=(i=e.height)?i:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(a=e.borderWidth)?a:0,rotate:null!=(s=e.rotate)?s:oP(0),hidden:e.hidden,page:t.ref}),l=this.doc.context.register(c.dict);this.acroField.addWidget(l);var h=null!=(u=e.font)?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(c,h),t.node.addAnnot(l)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof rU))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){eY(t,"font",[[aG,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){eY(t,"font",[[aG,"PDFFont"]]),eJ(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n];this.updateWidgetAppearance(i,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aL)(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);(D=te||(te={})).Courier="Courier",D.CourierBold="Courier-Bold",D.CourierOblique="Courier-Oblique",D.CourierBoldOblique="Courier-BoldOblique",D.Helvetica="Helvetica",D.HelveticaBold="Helvetica-Bold",D.HelveticaOblique="Helvetica-Oblique",D.HelveticaBoldOblique="Helvetica-BoldOblique",D.TimesRoman="Times-Roman",D.TimesRomanBold="Times-Bold",D.TimesRomanItalic="Times-Italic",D.TimesRomanBoldItalic="Times-BoldItalic",D.Symbol="Symbol",D.ZapfDingbats="ZapfDingbats",t.s(["StandardFonts",()=>te],569080);let a1=function(){function t(t,e){var r=this;this.embedDefaultFont=function(){return r.doc.embedStandardFont(te.Helvetica)},eY(t,"acroForm",[[oo,"PDFAcroForm"]]),eY(e,"doc",[[a7,"PDFDocument"]]),this.acroForm=t,this.doc=e,this.dirtyFields=new Set,this.defaultFontCache=e8.populatedBy(this.embedDefaultFont)}return t.prototype.hasXFA=function(){return this.acroForm.dict.has(rj.of("XFA"))},t.prototype.deleteXFA=function(){this.acroForm.dict.delete(rj.of("XFA"))},t.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),e=[],r=0,n=t.length;r<n;r++){var o=t[r],i=a2(o[0],o[1],this.doc);i&&e.push(i)}return e},t.prototype.getFieldMaybe=function(t){eY(t,"name",["string"]);for(var e=this.getFields(),r=0,n=e.length;r<n;r++){var o=e[r];if(o.getName()===t)return o}},t.prototype.getField=function(t){eY(t,"name",["string"]);var e=this.getFieldMaybe(t);if(e)return e;throw new ag(t)},t.prototype.getButton=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof sr)return e;throw new ay(t,sr,e)},t.prototype.getCheckBox=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof aX)return e;throw new ay(t,aX,e)},t.prototype.getDropdown=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof aY)return e;throw new ay(t,aY,e)}
1,t.prototype.getOptionList=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof aJ)return e;throw new ay(t,aJ,e)},t.prototype.getRadioGroup=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof aQ)return e;throw new ay(t,aQ,e)},t.prototype.getSignature=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof a$)return e;throw new ay(t,a$,e)},t.prototype.getTextField=function(t){eY(t,"name",["string"]);var e=this.getField(t);if(e instanceof a0)return e;throw new ay(t,a0,e)},t.prototype.createButton=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=n2.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),sr.of(n,n.ref,this.doc)},t.prototype.createCheckBox=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=nX.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),aX.of(n,n.ref,this.doc)},t.prototype.createDropdown=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=nQ.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),aY.of(n,n.ref,this.doc)},t.prototype.createOptionList=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=n3.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),aJ.of(n,n.ref,this.doc)},t.prototype.createRadioGroup=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=n5.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),aQ.of(n,n.ref,this.doc)},t.prototype.createTextField=function(t){eY(t,"name",["string"]);var e=a5(t),r=this.findOrCreateNonTerminals(e.nonTerminal),n=n1.create(this.doc.context);return n.setPartialName(e.terminal),a3(r,[n,n.ref],e.terminal),a0.of(n,n.ref,this.doc)},t.prototype.flatten=function(t){void 0===t&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var e=this.getFields(),r=0,n=e.length;r<n;r++){for(var o=e[r],i=o.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var u=i[a],c=this.findWidgetPage(u),l=this.findWidgetAppearanceRef(o,u),h=c.node.newXObject("FlatWidget",l),f=u.getRectangle(),d=tc([o5(),oV(f.x,f.y)],ao(ta(ta({},f),{rotation:0})),[iF(h),o3()]).filter(Boolean);c.pushOperators.apply(c,d)}this.removeField(o)}},t.prototype.removeField=function(t){for(var e=t.acroField.getWidgets(),r=new Set,n=0,o=e.length;n<o;n++){var i=e[n],a=this.findWidgetAppearanceRef(t,i),s=this.findWidgetPage(i);r.add(s),s.node.removeAnnot(a)}r.forEach(function(e){return e.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var u=t.acroField.normalizedEntries().Kids,c=u.size(),l=0;l<c;l++){var h=u.get(l);h instanceof rV&&this.doc.context.delete(h)}this.doc.context.delete(t.ref)},t.prototype.updateFieldAppearances=function(t){eJ(t,"font",[[aG,"PDFFont"]]),t=null!=t?t:this.getDefaultFont();for(var e=this.getFields(),r=0,n=e.length;r<n;r++){var o=e[r];o.needsAppearancesUpdate()&&o.defaultUpdateAppearances(t)}},t.prototype.markFieldAsDirty=function(t){eJ(t,"fieldRef",[[rV,"PDFRef"]]),this.dirtyFields.add(t)},t.prototype.markFieldAsClean=function(t){eJ(t,"fieldRef",[[rV,"PDFRef"]]),this.dirtyFields.delete(t)},t.prototype.fieldIsDirty=function(t){return eJ(t,"fieldRef",[[rV,"PDFRef"]]),this.dirtyFields.has(t)},t.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},t.prototype.findWidgetPage=function(t){var e=t.P(),r=this.doc.getPages().find(function(t){return t.ref===e});if(void 0===r){var n=this.doc.context.getObjectRef(t.dict);if(void 0===n)throw Error("Could not find PDFRef for PDFObject");if(void 0===(r=this.doc.findPageForAnnotationRef(n)))throw Error("Could not find page for PDFRef "+n)}return r},t.prototype.findWidgetAppearanceRef=function(t,e){var r,n=e.getNormalAppearance();if(n instanceof rL&&(t instanceof aX||t instanceof aQ)){var o=t.acroField.getValue(),i=null!=(r=n.get(o))?r:n.get(rj.of("Off"));i instanceof rV&&(n=i)}if(!(n instanceof rV))throw Error("Failed to extract appearance ref for: "+t.getName());return n},t.prototype.findOrCreateNonTerminals=function(t){for(var e=[this.acroForm],r=0,n=t.length;r<n;r++){var o=t[r];if(!o)throw new am(o);var i=e[0],a=e[1],s=this.findNonTerminal(o,i);if(s)e=s;else{var u=n$.create(this.doc.context);u.setPartialName(o),u.setParent(a);var c=this.doc.context.register(u.dict);i.addField(c),e=[u,c]}}return e},t.prototype.findNonTerminal=function(t,e){for(var r=e instanceof oo?this.acroForm.getFields():n4(e.Kids()),n=0,o=r.length;n<o;n++){var i=r[n],a=i[0],s=i[1];if(a.getPartialName()===t){if(a instanceof n$)return[a,s];throw new ab(t)}
1}},t.of=function(e,r){return new t(e,r)},t}();var a2=function(t,e,r){return t instanceof n2?sr.of(t,e,r):t instanceof nX?aX.of(t,e,r):t instanceof nQ?aY.of(t,e,r):t instanceof n3?aJ.of(t,e,r):t instanceof n1?a0.of(t,e,r):t instanceof n5?aQ.of(t,e,r):t instanceof n0?a$.of(t,e,r):void 0},a5=function(t){if(0===t.length)throw Error("PDF field names must not be empty strings");for(var e=t.split("."),r=0,n=e.length;r<n;r++)if(""===e[r])throw Error('Periods in PDF field names must be separated by at least one character: "'+t+'"');return 1===e.length?{nonTerminal:[],terminal:e[0]}:{nonTerminal:e.slice(0,e.length-1),terminal:e[e.length-1]}},a3=function(t,e,r){for(var n=t[0],o=t[1],i=e[0],a=e[1],s=n.normalizedEntries(),u=n4("Kids"in s?s.Kids:s.Fields),c=0,l=u.length;c<l;c++)if(u[c][0].getPartialName()===r)throw new ab(r);n.addField(a),i.setParent(o)},a4={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],Executive:[521.86,756],Folio:[612,936],Legal:[612,1008],Letter:[612,792],Tabloid:[792,1224]};t.s(["PageSizes",()=>a4],927174),(B=tr||(tr={}))[B.Fastest=1/0]="Fastest",B[B.Fast=1500]="Fast",B[B.Medium=500]="Medium",B[B.Slow=100]="Slow",t.s(["ParseSpeeds",()=>tr],850139);var a6=function(){function t(t,e,r){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=r}return t.prototype.embed=function(){return ts(this,void 0,void 0,function(){var t,e,r,n;return tu(this,function(o){switch(o.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t=o.sent(),this.doc.catalog.has(rj.of("Names"))||this.doc.catalog.set(rj.of("Names"),this.doc.context.obj({})),(e=this.doc.catalog.lookup(rj.of("Names"),rL)).has(rj.of("EmbeddedFiles"))||e.set(rj.of("EmbeddedFiles"),this.doc.context.obj({})),(r=e.lookup(rj.of("EmbeddedFiles"),rL)).has(rj.of("Names"))||r.set(rj.of("Names"),this.doc.context.obj([])),(n=r.lookup(rj.of("Names"),rP)).push(nt.fromText(this.embedder.fileName)),n.push(t),this.doc.catalog.has(rj.of("AF"))||this.doc.catalog.set(rj.of("AF"),this.doc.context.obj([])),this.doc.catalog.lookup(rj.of("AF"),rP).push(t),this.alreadyEmbedded=!0,o.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),a8=function(){function t(t,e,r){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=r}return t.prototype.embed=function(){return ts(this,void 0,void 0,function(){var t,e,r,n,o,i,a;return tu(this,function(s){switch(s.label){case 0:if(this.alreadyEmbedded)return[3,2];return e=(t=this.doc).catalog,r=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:n=s.sent(),e.has(rj.of("Names"))||e.set(rj.of("Names"),r.obj({})),(o=e.lookup(rj.of("Names"),rL)).has(rj.of("JavaScript"))||o.set(rj.of("JavaScript"),r.obj({})),(i=o.lookup(rj.of("JavaScript"),rL)).has(rj.of("Names"))||i.set(rj.of("Names"),r.obj([])),(a=i.lookup(rj.of("Names"),rP)).push(nt.fromText(this.embedder.scriptName)),a.push(n),this.alreadyEmbedded=!0,s.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}();t.s(["default",0,a8],533661);var a9=function(){function t(t,e){this.script=t,this.scriptName=e}return t.for=function(e,r){return new t(e,r)},t.prototype.embedIntoContext=function(t,e){return ts(this,void 0,void 0,function(){var r;return tu(this,function(n){return(r=t.obj({Type:"Action",S:"JavaScript",JS:nt.fromText(this.script)}),e)?(t.assign(e,r),[2,e]):[2,t.register(r)]})})},t}();let a7=function(){function t(t,e,r){var n=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var t=[];return n.catalog.Pages().traverse(function(e,r){if(e instanceof r0){var o=n.pageMap.get(e);o||(o=se.of(e,r,n),n.pageMap.set(e,o)),t.push(o)}}),t},this.getOrCreateForm=function(){var t=n.catalog.getOrCreateAcroForm();return a1.of(t,n)},eY(t,"context",[[r$,"PDFContext"]]),eY(e,"ignoreEncryption",["boolean"]),this.context=t,this.catalog=t.lookup(t.trailerInfo.Root),this.isEncrypted=!!t.lookup(t.trailerInfo.Encrypt),this.pageCache=e8.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=e8.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!e&&this.isEncrypted)throw new ah;r&&this.updateInfoDict()}return t.load=function(e,r){return void 0===r&&(r={}),ts(this,void 0,void 0,function(){var n,o,i,a,s,u,c,l,h,f,d;return tu(this,function(p){switch(p.label){case 0:return o=void 0!==(n=r.ignoreEncryption)&&n,a=void 0===(i=r.parseSpeed)?tr.Slow:i,u=void 0!==(s=r.throwOnInvali
1dObject)&&s,l=void 0===(c=r.updateMetadata)||c,f=void 0!==(h=r.capNumbers)&&h,eY(e,"pdf",["string",Uint8Array,ArrayBuffer]),eY(o,"ignoreEncryption",["boolean"]),eY(a,"parseSpeed",["number"]),eY(u,"throwOnInvalidObject",["boolean"]),d=tQ(e),[4,oF.forBytesWithOptions(d,a,u,f).parseDocument()];case 1:return[2,new t(p.sent(),o,l)]}})})},t.create=function(e){return void 0===e&&(e={}),ts(this,void 0,void 0,function(){var r,n,o,i,a,s;return tu(this,function(u){return n=void 0===(r=e.updateMetadata)||r,o=r$.create(),i=oa.withContext(o),a=o.register(i),s=oi.withContextAndPages(o,a),o.trailerInfo.Root=o.register(s),[2,new t(o,!1,n)]})})},t.prototype.registerFontkit=function(t){this.fontkit=t},t.prototype.getForm=function(){var t=this.formCache.access();return t.hasXFA()&&(console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"),t.deleteXFA()),t},t.prototype.getTitle=function(){var t=this.getInfoDict().lookup(rj.Title);if(t)return st(t),t.decodeText()},t.prototype.getAuthor=function(){var t=this.getInfoDict().lookup(rj.Author);if(t)return st(t),t.decodeText()},t.prototype.getSubject=function(){var t=this.getInfoDict().lookup(rj.Subject);if(t)return st(t),t.decodeText()},t.prototype.getKeywords=function(){var t=this.getInfoDict().lookup(rj.Keywords);if(t)return st(t),t.decodeText()},t.prototype.getCreator=function(){var t=this.getInfoDict().lookup(rj.Creator);if(t)return st(t),t.decodeText()},t.prototype.getProducer=function(){var t=this.getInfoDict().lookup(rj.Producer);if(t)return st(t),t.decodeText()},t.prototype.getCreationDate=function(){var t=this.getInfoDict().lookup(rj.CreationDate);if(t)return st(t),t.decodeDate()},t.prototype.getModificationDate=function(){var t=this.getInfoDict().lookup(rj.ModDate);if(t)return st(t),t.decodeDate()},t.prototype.setTitle=function(t,e){eY(t,"title",["string"]);var r=rj.of("Title");this.getInfoDict().set(r,nt.fromText(t)),(null==e?void 0:e.showInWindowTitleBar)&&this.catalog.getOrCreateViewerPreferences().setDisplayDocTitle(!0)},t.prototype.setAuthor=function(t){eY(t,"author",["string"]);var e=rj.of("Author");this.getInfoDict().set(e,nt.fromText(t))},t.prototype.setSubject=function(t){eY(t,"author",["string"]);var e=rj.of("Subject");this.getInfoDict().set(e,nt.fromText(t))},t.prototype.setKeywords=function(t){eY(t,"keywords",[Array]);var e=rj.of("Keywords");this.getInfoDict().set(e,nt.fromText(t.join(" ")))},t.prototype.setCreator=function(t){eY(t,"creator",["string"]);var e=rj.of("Creator");this.getInfoDict().set(e,nt.fromText(t))},t.prototype.setProducer=function(t){eY(t,"creator",["string"]);var e=rj.of("Producer");this.getInfoDict().set(e,nt.fromText(t))},t.prototype.setLanguage=function(t){eY(t,"language",["string"]);var e=rj.of("Lang");this.catalog.set(e,nc.of(t))},t.prototype.setCreationDate=function(t){eY(t,"creationDate",[[Date,"Date"]]);var e=rj.of("CreationDate");this.getInfoDict().set(e,nc.fromDate(t))},t.prototype.setModificationDate=function(t){eY(t,"modificationDate",[[Date,"Date"]]);var e=rj.of("ModDate");this.getInfoDict().set(e,nc.fromDate(t))},t.prototype.getPageCount=function(){return void 0===this.pageCount&&(this.pageCount=this.getPages().length),this.pageCount},t.prototype.getPages=function(){return this.pageCache.access()},t.prototype.getPage=function(t){var e=this.getPages();return e$(t,"index",0,e.length-1),e[t]},t.prototype.getPageIndices=function(){return tX(0,this.getPageCount())},t.prototype.removePage=function(t){var e=this.getPageCount();if(0===this.pageCount)throw new ap;e$(t,"index",0,e-1),this.catalog.removeLeafNode(t),this.pageCount=e-1},t.prototype.addPage=function(t){return eY(t,"page",["undefined",[se,"PDFPage"],Array]),this.insertPage(this.getPageCount(),t)},t.prototype.insertPage=function(t,e){var r=this.getPageCount();if(e$(t,"index",0,r),eY(e,"page",["undefined",[se,"PDFPage"],Array]),!e||Array.isArray(e)){var n=Array.isArray(e)?e:a4.A4;(e=se.create(this)).setSize.apply(e,n)}else if(e.doc!==this)throw new ad;var o=this.catalog.insertLeafNode(e.ref,t);return e.node.setParent(o),this.pageMap.set(e.node,e),this.pageCache.invalidate(),this.pageCount=r+1,e},t.prototype.copyPages=function(e,r){return ts(this,void 0,void 0,function(){var n,o,i,a,s,u,c,l;return tu(this,function(h){switch(h.label){case 0:return eY(e,"srcDoc",[[t,"PDFDocument"]]),eY(r,"indices",[Array]),[4,e.flush()];case 1:for(h.sent(),n=r1.for(e.context,this.context),o=e.getPages(),i=Array(r.length),a=0,s=r.length;a<s;
1a++)u=o[r[a]],c=n.copy(u.node),l=this.context.register(c),i[a]=se.of(c,l,this);return[2,i]}})})},t.prototype.copy=function(){return ts(this,void 0,void 0,function(){var e,r,n,o;return tu(this,function(i){switch(i.label){case 0:return[4,t.create()];case 1:return[4,(e=i.sent()).copyPages(this,this.getPageIndices())];case 2:for(n=0,o=(r=i.sent()).length;n<o;n++)e.addPage(r[n]);return void 0!==this.getAuthor()&&e.setAuthor(this.getAuthor()),void 0!==this.getCreationDate()&&e.setCreationDate(this.getCreationDate()),void 0!==this.getCreator()&&e.setCreator(this.getCreator()),void 0!==this.getModificationDate()&&e.setModificationDate(this.getModificationDate()),void 0!==this.getProducer()&&e.setProducer(this.getProducer()),void 0!==this.getSubject()&&e.setSubject(this.getSubject()),void 0!==this.getTitle()&&e.setTitle(this.getTitle()),e.defaultWordBreaks=this.defaultWordBreaks,[2,e]}})})},t.prototype.addJavaScript=function(t,e){eY(t,"name",["string"]),eY(e,"script",["string"]);var r=a9.for(e,t),n=this.context.nextRef(),o=a8.of(n,this,r);this.javaScripts.push(o)},t.prototype.attach=function(t,e,r){return void 0===r&&(r={}),ts(this,void 0,void 0,function(){var n,o,i,a;return tu(this,function(s){return eY(t,"attachment",["string",Uint8Array,ArrayBuffer]),eY(e,"name",["string"]),eJ(r.mimeType,"mimeType",["string"]),eJ(r.description,"description",["string"]),eJ(r.creationDate,"options.creationDate",[Date]),eJ(r.modificationDate,"options.modificationDate",[Date]),eG(r.afRelationship,"options.afRelationship",E),n=tQ(t),o=nf.for(n,e,r),i=this.context.nextRef(),a=a6.of(i,this,o),this.embeddedFiles.push(a),[2]})})},t.prototype.embedFont=function(t,e){return void 0===e&&(e={}),ts(this,void 0,void 0,function(){var r,n,o,i,a,s,u,c,l,h;return tu(this,function(f){switch(f.label){case 0:if(n=void 0!==(r=e.subset)&&r,o=e.customName,i=e.features,eY(t,"font",["string",Uint8Array,ArrayBuffer]),eY(n,"subset",["boolean"]),!eM(t))return[3,1];return a=ne.for(t,o),[3,7];case 1:if(!tJ(t))return[3,6];if(s=tQ(t),u=this.assertFontkit(),!n)return[3,3];return[4,nh.for(u,s,o,i)];case 2:return c=f.sent(),[3,5];case 3:return[4,nl.for(u,s,o,i)];case 4:c=f.sent(),f.label=5;case 5:return a=c,[3,7];case 6:throw TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return l=this.context.nextRef(),h=aG.of(l,this,a),this.fonts.push(h),[2,h]}})})},t.prototype.embedStandardFont=function(t,e){if(eY(t,"font",["string"]),!eM(t))throw TypeError("`font` must be one of type `StandardFonts`");var r=ne.for(t,e),n=this.context.nextRef(),o=aG.of(n,this,r);return this.fonts.push(o),o},t.prototype.embedJpg=function(t){return ts(this,void 0,void 0,function(){var e,r,n,o;return tu(this,function(i){switch(i.label){case 0:return eY(t,"jpg",["string",Uint8Array,ArrayBuffer]),e=tQ(t),[4,ng.for(e)];case 1:return r=i.sent(),n=this.context.nextRef(),o=aV.of(n,this,r),this.images.push(o),[2,o]}})})},t.prototype.embedPng=function(t){return ts(this,void 0,void 0,function(){var e,r,n,o;return tu(this,function(i){switch(i.label){case 0:return eY(t,"png",["string",Uint8Array,ArrayBuffer]),e=tQ(t),[4,nw.for(e)];case 1:return r=i.sent(),n=this.context.nextRef(),o=aV.of(n,this,r),this.images.push(o),[2,o]}})})},t.prototype.embedPdf=function(e,r){return void 0===r&&(r=[0]),ts(this,void 0,void 0,function(){var n,o;return tu(this,function(i){switch(i.label){case 0:if(eY(e,"pdf",["string",Uint8Array,ArrayBuffer,[t,"PDFDocument"]]),eY(r,"indices",[Array]),!(e instanceof t))return[3,1];return n=e,[3,3];case 1:return[4,t.load(e)];case 2:n=i.sent(),i.label=3;case 3:return o=tY(n.getPages(),r),[2,this.embedPages(o)]}})})},t.prototype.embedPage=function(t,e,r){return ts(this,void 0,void 0,function(){return tu(this,function(n){switch(n.label){case 0:return eY(t,"page",[[se,"PDFPage"]]),[4,this.embedPages([t],[e],[r])];case 1:return[2,n.sent()[0]]}})})},t.prototype.embedPages=function(t,e,r){return void 0===e&&(e=[]),void 0===r&&(r=[]),ts(this,void 0,void 0,function(){var n,o,i,a,s,u,c,l,h,f,d,p,g;return tu(this,function(y){switch(y.label){case 0:if(0===t.length)return[2,[]];for(n=0,o=t.length-1;n<o;n++)if(i=t[n],a=t[n+1],i.node.context!==a.node.context)throw new ra;u=(s=t[0].node.context)===this.context?function(t){return t}
1:r1.for(s,this.context).copy,c=Array(t.length),n=0,o=t.length,y.label=1;case 1:if(!(n<o))return[3,4];return l=u(t[n].node),h=e[n],f=r[n],[4,nM.for(l,h,f)];case 2:d=y.sent(),p=this.context.nextRef(),c[n]=aK.of(p,this,d),y.label=3;case 3:return n++,[3,1];case 4:return(g=this.embeddedPages).push.apply(g,c),[2,c]}})})},t.prototype.flush=function(){return ts(this,void 0,void 0,function(){return tu(this,function(t){switch(t.label){case 0:return[4,this.embedAll(this.fonts)];case 1:return t.sent(),[4,this.embedAll(this.images)];case 2:return t.sent(),[4,this.embedAll(this.embeddedPages)];case 3:return t.sent(),[4,this.embedAll(this.embeddedFiles)];case 4:return t.sent(),[4,this.embedAll(this.javaScripts)];case 5:return t.sent(),[2]}})})},t.prototype.save=function(t){return void 0===t&&(t={}),ts(this,void 0,void 0,function(){var e,r,n,o,i,a,s,u,c;return tu(this,function(l){switch(l.label){case 0:return r=void 0===(e=t.useObjectStreams)||e,o=void 0===(n=t.addDefaultPage)||n,a=void 0===(i=t.objectsPerTick)?50:i,u=void 0===(s=t.updateFieldAppearances)||s,eY(r,"useObjectStreams",["boolean"]),eY(o,"addDefaultPage",["boolean"]),eY(a,"objectsPerTick",["number"]),eY(u,"updateFieldAppearances",["boolean"]),o&&0===this.getPageCount()&&this.addPage(),u&&(c=this.formCache.getValue())&&c.updateFieldAppearances(),[4,this.flush()];case 1:return l.sent(),[2,(r?r7:r6).forContext(this.context,a).serializeToBuffer()]}})})},t.prototype.saveAsBase64=function(t){return void 0===t&&(t={}),ts(this,void 0,void 0,function(){var e,r,n,o;return tu(this,function(i){switch(i.label){case 0:return r=void 0!==(e=t.dataUri)&&e,n=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}(t,["dataUri"]),eY(r,"dataUri",["boolean"]),[4,this.save(n)];case 1:return o=td(i.sent()),[2,r?"data:application/pdf;base64,"+o:o]}})})},t.prototype.findPageForAnnotationRef=function(t){for(var e=this.getPages(),r=0,n=e.length;r<n;r++){var o=e[r],i=o.node.Annots();if((null==i?void 0:i.indexOf(t))!==void 0)return o}},t.prototype.embedAll=function(t){return ts(this,void 0,void 0,function(){var e,r;return tu(this,function(n){switch(n.label){case 0:e=0,r=t.length,n.label=1;case 1:if(!(e<r))return[3,4];return[4,t[e].embed()];case 2:n.sent(),n.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},t.prototype.updateInfoDict=function(){var t="pdf-lib (https://github.com/Hopding/pdf-lib)",e=new Date,r=this.getInfoDict();this.setProducer(t),this.setModificationDate(e),r.get(rj.of("Creator"))||this.setCreator(t),r.get(rj.of("CreationDate"))||this.setCreationDate(e)},t.prototype.getInfoDict=function(){var t=this.context.lookup(this.context.trailerInfo.Info);if(t instanceof rL)return t;var e=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(e),e},t.prototype.assertFontkit=function(){if(!this.fontkit)throw new af;return this.fontkit},t}();function st(t){if(!(t instanceof nt)&&!(t instanceof nc))throw new rt([nt,nc],t)}(P=tn||(tn={})).Normal="Normal",P.Multiply="Multiply",P.Screen="Screen",P.Overlay="Overlay",P.Darken="Darken",P.Lighten="Lighten",P.ColorDodge="ColorDodge",P.ColorBurn="ColorBurn",P.HardLight="HardLight",P.SoftLight="SoftLight",P.Difference="Difference",P.Exclusion="Exclusion",t.s(["BlendMode",()=>tn],605624);let se=function(){function t(t,e,r){this.fontSize=24,this.fontColor=iN(0,0,0),this.lineHeight=24,this.x=0,this.y=0,eY(t,"leafNode",[[r0,"PDFPageLeaf"]]),eY(e,"ref",[[rV,"PDFRef"]]),eY(r,"doc",[[a7,"PDFDocument"]]),this.node=t,this.ref=e,this.doc=r}return t.prototype.setRotation=function(t){var e=oE(t);e1(e,"degreesAngle",90),this.node.set(rj.of("Rotate"),this.doc.context.obj(e))},t.prototype.getRotation=function(){var t=this.node.Rotate();return oP(t?t.asNumber():0)},t.prototype.setSize=function(t,e){eY(t,"width",["number"]),eY(e,"height",["number"]);var r=this.getMediaBox();this.setMediaBox(r.x,r.y,t,e);var n=this.getCropBox(),o=this.getBleedBox(),i=this.getTrimBox(),a=this.getArtBox(),s=this.node.CropBox(),u=this.node.BleedBox(),c=this.node.TrimBox(),l=this.node.ArtBox();s&&ej(n,r)&&this.setCropBox(r.x,r.y,t,e),u&&ej(o,r)&&this.setBleedBox(r.x,r.y,t,e),c&&ej(i,r)&&this.setTrimBox(r.x,r.y,t,e),l&&ej(a,r)&&this.setArtBox(r.x,r.y,t,e)},t.prototype.setWidth=function(t){eY(t,"width",["number"]),this.setSize(t,this.get
1Size().height)},t.prototype.setHeight=function(t){eY(t,"height",["number"]),this.setSize(this.getSize().width,t)},t.prototype.setMediaBox=function(t,e,r,n){eY(t,"x",["number"]),eY(e,"y",["number"]),eY(r,"width",["number"]),eY(n,"height",["number"]);var o=this.doc.context.obj([t,e,t+r,e+n]);this.node.set(rj.MediaBox,o)},t.prototype.setCropBox=function(t,e,r,n){eY(t,"x",["number"]),eY(e,"y",["number"]),eY(r,"width",["number"]),eY(n,"height",["number"]);var o=this.doc.context.obj([t,e,t+r,e+n]);this.node.set(rj.CropBox,o)},t.prototype.setBleedBox=function(t,e,r,n){eY(t,"x",["number"]),eY(e,"y",["number"]),eY(r,"width",["number"]),eY(n,"height",["number"]);var o=this.doc.context.obj([t,e,t+r,e+n]);this.node.set(rj.BleedBox,o)},t.prototype.setTrimBox=function(t,e,r,n){eY(t,"x",["number"]),eY(e,"y",["number"]),eY(r,"width",["number"]),eY(n,"height",["number"]);var o=this.doc.context.obj([t,e,t+r,e+n]);this.node.set(rj.TrimBox,o)},t.prototype.setArtBox=function(t,e,r,n){eY(t,"x",["number"]),eY(e,"y",["number"]),eY(r,"width",["number"]),eY(n,"height",["number"]);var o=this.doc.context.obj([t,e,t+r,e+n]);this.node.set(rj.ArtBox,o)},t.prototype.getSize=function(){var t=this.getMediaBox();return{width:t.width,height:t.height}},t.prototype.getWidth=function(){return this.getSize().width},t.prototype.getHeight=function(){return this.getSize().height},t.prototype.getMediaBox=function(){return this.node.MediaBox().asRectangle()},t.prototype.getCropBox=function(){var t,e=this.node.CropBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getMediaBox()},t.prototype.getBleedBox=function(){var t,e=this.node.BleedBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getTrimBox=function(){var t,e=this.node.TrimBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getArtBox=function(){var t,e=this.node.ArtBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.translateContent=function(t,e){eY(t,"x",["number"]),eY(e,"y",["number"]),this.node.normalize(),this.getContentStream();var r=this.createContentStream(o5(),oV(t,e)),n=this.doc.context.register(r),o=this.createContentStream(o3()),i=this.doc.context.register(o);this.node.wrapContentStreams(n,i)},t.prototype.scale=function(t,e){eY(t,"x",["number"]),eY(e,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*e),this.scaleContent(t,e),this.scaleAnnotations(t,e)},t.prototype.scaleContent=function(t,e){eY(t,"x",["number"]),eY(e,"y",["number"]),this.node.normalize(),this.getContentStream();var r=this.createContentStream(o5(),oq(t,e)),n=this.doc.context.register(r),o=this.createContentStream(o3()),i=this.doc.context.register(o);this.node.wrapContentStreams(n,i)},t.prototype.scaleAnnotations=function(t,e){eY(t,"x",["number"]),eY(e,"y",["number"]);var r=this.node.Annots();if(r)for(var n=0;n<r.size();n++){var o=r.lookup(n);o instanceof rL&&this.scaleAnnot(o,t,e)}},t.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},t.prototype.setFont=function(t){eY(t,"font",[[aG,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},t.prototype.setFontSize=function(t){eY(t,"fontSize",["number"]),this.fontSize=t},t.prototype.setFontColor=function(t){eY(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},t.prototype.setLineHeight=function(t){eY(t,"lineHeight",["number"]),this.lineHeight=t},t.prototype.getPosition=function(){return{x:this.x,y:this.y}},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.moveTo=function(t,e){eY(t,"x",["number"]),eY(e,"y",["number"]),this.x=t,this.y=e},t.prototype.moveDown=function(t){eY(t,"yDecrease",["number"]),this.y-=t},t.prototype.moveUp=function(t){eY(t,"yIncrease",["number"]),this.y+=t},t.prototype.moveLeft=function(t){eY(t,"xDecrease",["number"]),this.x-=t},t.prototype.moveRight=function(t){eY(t,"xIncrease",["number"]),this.x+=t},t.prototype.pushOperators=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];eQ(t,"operator",[[rq,"PDFOperator"]]);var r=this.getContentStream();r.push.apply(r,t)},t.prototype.drawText=function(t,e){void 0===e&&(e={}),eY(t,"text",["string"]),eJ(e.color,"options.color",[[Object,"Color"]]),e0(e.opacity,"opacity.opacity",0,1),eJ(e.font,"options.font",[[aG,"PDFFont"]]),eJ(e.size,"options.size",["number"]),eJ(e.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),eJ(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),eJ(e.x,"options.x",["number"]),eJ(e.y,"options.y",["number"]),eJ(e.lineHeight,"options.lineHeight",["number"]),eJ(e.maxWidth,"options.maxWidth",["number"]),eJ(e.wordBreaks,"options.wordBreaks",[Array]),eG(e.blendMode,"options.blendMode",tn);for(var r,n,o,i,a,s,u,c=this.setOrEmbedFont(e.font),l=c.oldFont,h=c.newFont,f=c.newFontKey,d=e.size||this.fontSize,p=e.wordBreaks||this.doc.defaultWordBreaks,g=void 0===e.maxWidth?tT(t_(t)):tE(t,p,e.maxWidth,function(t){return h.widthOfTextAtSize(t,d)}),y=Array(g.length),v=0,b=g.length;v<b;v++)y[v]=h.encodeText(g[v]);var m=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),w=this.getContentStream();w.push.apply(w,i5(y,{color:null!=(r=e.color)?r:this.fontColor,font:f,size:d,rotate:null!=(n=e.rotate)?n:oP(0),xSkew:null!=(o=e.xSkew)?o:oP(0),ySkew:null!=(i=e.ySkew)?i:oP(0),x:null!=(a=e.x)?a:this.x,y:null!=(s=e.y)?s:this.y,lineHeight:null!=(u=e.lineHeight)?u:this.lineHeight,graphicsState:m})),e.font&&(l?this.setFont(l):this.resetFont())},t.prototype.drawImage=function(t,e){void 0===e&&(e={}),eY(t,"image",[[aV,"PDFImage"]]),eJ(e.x,"options.x",["number"]),eJ(e.y,"options.y",["number"]),eJ(e.width,"options.width",["number"]),eJ(e.height,"options.height",["number"]),eJ(e.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),eJ(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),e0(e.opacity,"opacity.opacity",0,1),eG(e.blendMode,"options.blendMode",tn);var r,n,o,i,a,s,u,c=this.node.newXObject("Image",t.ref),l=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),h=this.getContentStream();h.push.apply(h,i3(c,{x:null!=(r=e.x)?r:this.x,y:null!=(n=e.y)?n:this.y,width:null!=(o=e.width)?o:t.size().width,height:null!=(i=e.height)?i:t.size().height,rotate:null!=(a=e.rotate)?a:oP(0),xSkew:null!=(s=e.xSkew)?s:oP(0),ySkew:null!=(u=e.ySkew)?u:oP(0),graphicsState:l}))},t.prototype.drawPage=function(t,e){void 0===e&&(e={}),eY(t,"embeddedPage",[[aK,"PDFEmbeddedPage"]]),eJ(e.x,"options.x",["number"]),eJ(e.y,"options.y",["number"]),eJ(e.xScale,"options.xScale",["
1number"]),eJ(e.yScale,"options.yScale",["number"]),eJ(e.width,"options.width",["number"]),eJ(e.height,"options.height",["number"]),eJ(e.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),eJ(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),e0(e.opacity,"opacity.opacity",0,1),eG(e.blendMode,"options.blendMode",tn);var r,n,o,i,a,s=this.node.newXObject("EmbeddedPdfPage",t.ref),u=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),c=void 0!==e.width?e.width/t.width:void 0!==e.xScale?e.xScale:1,l=void 0!==e.height?e.height/t.height:void 0!==e.yScale?e.yScale:1,h=this.getContentStream();h.push.apply(h,i4(s,{x:null!=(r=e.x)?r:this.x,y:null!=(n=e.y)?n:this.y,xScale:c,yScale:l,rotate:null!=(o=e.rotate)?o:oP(0),xSkew:null!=(i=e.xSkew)?i:oP(0),ySkew:null!=(a=e.ySkew)?a:oP(0),graphicsState:u}))},t.prototype.drawSvgPath=function(t,e){void 0===e&&(e={}),eY(t,"path",["string"]),eJ(e.x,"options.x",["number"]),eJ(e.y,"options.y",["number"]),eJ(e.scale,"options.scale",["number"]),eJ(e.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(e.borderWidth,"options.borderWidth",["number"]),eJ(e.color,"options.color",[[Object,"Color"]]),e0(e.opacity,"opacity.opacity",0,1),eJ(e.borderColor,"options.borderColor",[[Object,"Color"]]),eJ(e.borderDashArray,"options.borderDashArray",[Array]),eJ(e.borderDashPhase,"options.borderDashPhase",["number"]),eG(e.borderLineCap,"options.borderLineCap",X),e0(e.borderOpacity,"options.borderOpacity",0,1),eG(e.blendMode,"options.blendMode",tn);var r,n,o,i,a,s,u,c,l,h=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.borderColor=iN(0,0,0));var f=this.getContentStream();f.push.apply(f,ar(t,{x:null!=(r=e.x)?r:this.x,y:null!=(n=e.y)?n:this.y,scale:e.scale,rotate:null!=(o=e.rotate)?o:oP(0),color:null!=(i=e.color)?i:void 0,borderColor:null!=(a=e.borderColor)?a:void 0,borderWidth:null!=(s=e.borderWidth)?s:0,borderDashArray:null!=(u=e.borderDashArray)?u:void 0,borderDashPhase:null!=(c=e.borderDashPhase)?c:void 0,borderLineCap:null!=(l=e.borderLineCap)?l:void 0,graphicsState:h}))},t.prototype.drawLine=function(t){eY(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),eY(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),eY(t.start.x,"options.start.x",["number"]),eY(t.start.y,"options.start.y",["number"]),eY(t.end.x,"options.end.x",["number"]),eY(t.end.y,"options.end.y",["number"]),eJ(t.thickness,"options.thickness",["number"]),eJ(t.color,"options.color",[[Object,"Color"]]),eJ(t.dashArray,"options.dashArray",[Array]),eJ(t.dashPhase,"options.dashPhase",["number"]),eG(t.lineCap,"options.lineCap",X),e0(t.opacity,"opacity.opacity",0,1),eG(t.blendMode,"options.blendMode",tn);var e,r,n,o,i,a=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=iN(0,0,0));var s=this.getContentStream();s.push.apply(s,i6({start:t.start,end:t.end,thickness:null!=(e=t.thickness)?e:1,color:null!=(r=t.color)?r:void 0,dashArray:null!=(n=t.dashArray)?n:void 0,dashPhase:null!=(o=t.dashPhase)?o:void 0,lineCap:null!=(i=t.lineCap)?i:void 0,graphicsState:a}))},t.prototype.drawRectangle=function(t){void 0===t&&(t={}),eJ(t.x,"options.x",["number"]),eJ(t.y,"options.y",["number"]),eJ(t.width,"options.width",["number"]),eJ(t.height,"options.height",["number"]),eJ(t.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),eJ(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),eJ(t.borderWidth,"options.borderWidth",["number"]),eJ(t.color,"options.color",[[Object,"Color"]]),e0(t.opacity,"opacity.opacity",0,1),eJ(t.borderColor,"options.borderColor",[[Object,"Color"]]),eJ(t.borderDashArray,"options.borderDashArray",[Array]),eJ(t.borderDashPhase,"options.borderDashPhase",["number"]),eG(t.borderLineCap,"options.borderLineCap",X),e0(t.borderOpacity,"options.borderOpacity",0,1),eG(t.blendMode,"options.blendMode",tn);var e,r,n,o,i,a,s,u,c,l,h,f,d,p=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=iN(0,0,0));var g=this.getContentStream();g.push.apply(g,i8({x:null!=(e=t.x)?e:this.x,y:null!=(r=t.y)?r:this.y,width:null!=(n=t.width)?n:150,height:null!=(o=t.height)?o:100,rotate:null!=(i=t.rotate)?i:oP
1(0),xSkew:null!=(a=t.xSkew)?a:oP(0),ySkew:null!=(s=t.ySkew)?s:oP(0),borderWidth:null!=(u=t.borderWidth)?u:0,color:null!=(c=t.color)?c:void 0,borderColor:null!=(l=t.borderColor)?l:void 0,borderDashArray:null!=(h=t.borderDashArray)?h:void 0,borderDashPhase:null!=(f=t.borderDashPhase)?f:void 0,graphicsState:p,borderLineCap:null!=(d=t.borderLineCap)?d:void 0}))},t.prototype.drawSquare=function(t){void 0===t&&(t={});var e=t.size;eJ(e,"size",["number"]),this.drawRectangle(ta(ta({},t),{width:e,height:e}))},t.prototype.drawEllipse=function(t){void 0===t&&(t={}),eJ(t.x,"options.x",["number"]),eJ(t.y,"options.y",["number"]),eJ(t.xScale,"options.xScale",["number"]),eJ(t.yScale,"options.yScale",["number"]),eJ(t.rotate,"options.rotate",[[Object,"Rotation"]]),eJ(t.color,"options.color",[[Object,"Color"]]),e0(t.opacity,"opacity.opacity",0,1),eJ(t.borderColor,"options.borderColor",[[Object,"Color"]]),e0(t.borderOpacity,"options.borderOpacity",0,1),eJ(t.borderWidth,"options.borderWidth",["number"]),eJ(t.borderDashArray,"options.borderDashArray",[Array]),eJ(t.borderDashPhase,"options.borderDashPhase",["number"]),eG(t.borderLineCap,"options.borderLineCap",X),eG(t.blendMode,"options.blendMode",tn);var e,r,n,o,i,a,s,u,c,l,h,f=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=iN(0,0,0));var d=this.getContentStream();d.push.apply(d,ae({x:null!=(e=t.x)?e:this.x,y:null!=(r=t.y)?r:this.y,xScale:null!=(n=t.xScale)?n:100,yScale:null!=(o=t.yScale)?o:100,rotate:null!=(i=t.rotate)?i:void 0,color:null!=(a=t.color)?a:void 0,borderColor:null!=(s=t.borderColor)?s:void 0,borderWidth:null!=(u=t.borderWidth)?u:0,borderDashArray:null!=(c=t.borderDashArray)?c:void 0,borderDashPhase:null!=(l=t.borderDashPhase)?l:void 0,borderLineCap:null!=(h=t.borderLineCap)?h:void 0,graphicsState:f}))},t.prototype.drawCircle=function(t){void 0===t&&(t={});var e=t.size,r=void 0===e?100:e;eJ(r,"size",["number"]),this.drawEllipse(ta(ta({},t),{xScale:r,yScale:r}))},t.prototype.setOrEmbedFont=function(t){var e=this.font,r=this.fontKey;return t?this.setFont(t):this.getFont(),{oldFont:e,oldFontKey:r,newFont:this.font,newFontKey:this.fontKey}},t.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(te.Helvetica);this.setFont(t)}return[this.font,this.fontKey]},t.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},t.prototype.getContentStream=function(t){return void 0===t&&(t=!0),t&&this.contentStream||(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef)),this.contentStream},t.prototype.createContentStream=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this.doc.context.obj({});return rY.of(r,t)},t.prototype.maybeEmbedGraphicsState=function(t){var e=t.opacity,r=t.borderOpacity,n=t.blendMode;if(void 0!==e||void 0!==r||void 0!==n){var o=this.doc.context.obj({Type:"ExtGState",ca:e,CA:r,BM:n});return this.node.newExtGState("GS",o)}},t.prototype.scaleAnnot=function(t,e,r){for(var n=["RD","CL","Vertices","QuadPoints","L","Rect"],o=0,i=n.length;o<i;o++){var a=t.lookup(rj.of(n[o]));a instanceof rP&&a.scalePDFNumbers(e,r)}var s=t.lookup(rj.of("InkList"));if(s instanceof rP)for(var o=0,i=s.size();o<i;o++){var u=s.lookup(o);u instanceof rP&&u.scalePDFNumbers(e,r)}},t.of=function(e,r,n){return new t(e,r,n)},t.create=function(e){eY(e,"doc",[[a7,"PDFDocument"]]);var r=rV.of(-1),n=r0.withContextAndParent(e.context,r),o=e.context.register(n);return new t(n,o,e)},t}(),sr=function(t){function e(e,r,n){var o=t.call(this,e,r,n)||this;return eY(e,"acroButton",[[n2,"PDFAcroPushButton"]]),o.acroField=e,o}return ti(e,t),e.prototype.setImage=function(t,e){void 0===e&&(e=tt.Center);for(var r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n],a=this.createImageAppearanceStream(i,t,e);this.updateWidgetAppearances(i,{normal:a})}this.markAsClean()},e.prototype.setFontSize=function(t){e5(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.addToPage=function(t,e,r){eJ(t,"text",["string"]),eJ(e,"page",[[se,"PDFPage"]]),aq(r);var n,o,i,a,s,u,c,l,h,f,d,p=this.createWidget({x:(null!=(n=null==r?void 0:r.x)?n:0)-(null!=(o=null==r?void 0:r.borderWidth)?o:0)/2,y:(null!=(i=null==r?void 0:r.y
1)?i:0)-(null!=(a=null==r?void 0:r.borderWidth)?a:0)/2,width:null!=(s=null==r?void 0:r.width)?s:100,height:null!=(u=null==r?void 0:r.height)?u:50,textColor:null!=(c=null==r?void 0:r.textColor)?c:iN(0,0,0),backgroundColor:null!=(l=null==r?void 0:r.backgroundColor)?l:iN(.75,.75,.75),borderColor:null==r?void 0:r.borderColor,borderWidth:null!=(h=null==r?void 0:r.borderWidth)?h:0,rotate:null!=(f=null==r?void 0:r.rotate)?f:oP(0),caption:t,hidden:null==r?void 0:r.hidden,page:e.ref}),g=this.doc.context.register(p.dict);this.acroField.addWidget(g);var y=null!=(d=null==r?void 0:r.font)?d:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,y),e.node.addAnnot(g)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),r=0,n=e.length;r<n;r++)if(!((null==(t=e[r].getAppearances())?void 0:t.normal)instanceof rU))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){eY(t,"font",[[aG,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){eY(t,"font",[[aG,"PDFFont"]]),eJ(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),n=0,o=r.length;n<o;n++){var i=r[n];this.updateWidgetAppearance(i,t,e)}},e.prototype.updateWidgetAppearance=function(t,e,r){var n=aO((null!=r?r:aW)(this,t,e));this.updateWidgetAppearanceWithFont(t,e,n)},e.of=function(t,r,n){return new e(t,r,n)},e}(aZ);t.s([],674196),t.s([],748154),t.s([],255235),t.i(496615),t.s([],373373)}]);

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.