(self.webpackChunk_cocalc_static=self.webpackChunk_cocalc_static||[]).push([[2406],{75781:(e,t,n)=>{"use strict";n.d(t,{l:()=>c,v:()=>i});var a=n(80643),r=n(91702),s=n(19036);function c(e){const t=(0,a.path_split)(e),n=(0,a.separate_file_extension)(t.tail);return{directory:t.head,base:n.name,filename:t.tail}}function i(e,t){const n=(0,a.encode_path)(t);return(0,r.join)(s.appBasePath,e,"raw",n)}},63e3:(e,t,n)=>{"use strict";n.d(t,{Me:()=>f,j5:()=>h,t$:()=>d});var a=n(50481),r=n.n(a),s=n(34904),c=n(95650),i=n(19036),o=n(32522),u=n(75781),l=n(32190);function d(e,t,n){return`${(0,u.v)(e,(0,l.n)(t))}?param=${n}`}const p=new(r())({max:1e3,length:function(e){return e.numPages}}),f=(0,s.reuseInFlight)((function(e){return t=this,null,n=function*(){let t=p.get(e);if(void 0===t){const n=`pdfjs-dist-${c.dd["pdfjs-dist"]}`;t=yield(0,o.getDocument)({url:e,cMapUrl:`${i.appBasePath}/cdn/${n}/cmaps/`,cMapPacked:!0,disableStream:!0,disableAutoFetch:!0}).promise,p.set(e,t)}return t},new Promise(((e,a)=>{var r=e=>{try{c(n.next(e))}catch(e){a(e)}},s=e=>{try{c(n.throw(e))}catch(e){a(e)}},c=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);c((n=n.apply(t,null)).next())}));var t,n}));function h(e){p.del(e)}},32190:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,q:()=>s});var a=n(80643);function r(e){const{name:t,ext:n}=(0,a.separate_file_extension)(e);return"pdf"==n.toLowerCase()?e:`${t}.pdf`}function s(e,t){const n=`'${t}'`,a=(e=e.trim()).indexOf("'");if(-1==a){const t=e.lastIndexOf(" ");return-1==t?e:e.slice(0,t)+" "+n}return e.slice(0,a).trim()+" "+n}},93414:()=>{},70172:()=>{},2001:()=>{},33779:()=>{},66558:()=>{},82258:()=>{}}]);