@iamjariwala/react-doc-viewer 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-DdxtHbXJ.js → index-BDy_G-6x.js} +2 -2
- package/dist/{index-DDciENnB.cjs → index-BMTSVg1c.cjs} +1 -1
- package/dist/{index-DHsZZ2xX.js → index-Ba7-TkGo.js} +17914 -11927
- package/dist/index-CnEWg8Vs.cjs +77 -0
- package/dist/{index-B_9N115A.cjs → index-DN_5oCsl.cjs} +1 -1
- package/dist/{index-yeyotorh.js → index-MuffK10n.js} +2 -2
- package/dist/index.css +1 -1
- package/dist/react-doc-viewer.cjs +1 -1
- package/dist/react-doc-viewer.js +21 -18
- package/dist/renderers/docx/index.d.ts +4 -0
- package/dist/{src/renderers → renderers}/index.d.ts +4 -1
- package/dist/renderers/markdown/index.d.ts +4 -0
- package/dist/renderers/rtf/index.d.ts +4 -0
- package/dist/{url-CJMs95kL.cjs → url-BKzIFWJ6.cjs} +1 -1
- package/dist/{url-DNNqPKsX.js → url-CBUIAJr7.js} +1 -1
- package/package.json +2 -1
- package/dist/docs-site/docusaurus.config.d.ts +0 -4
- package/dist/docs-site/sidebars.d.ts +0 -4
- package/dist/docs-site/src/components/HomepageFeatures/index.d.ts +0 -3
- package/dist/docs-site/src/pages/index.d.ts +0 -3
- package/dist/index-Bxz55fXL.cjs +0 -42
- /package/dist/{src/DocViewer.d.ts → DocViewer.d.ts} +0 -0
- /package/dist/{src/components → components}/DocumentNav.d.ts +0 -0
- /package/dist/{src/components → components}/FileName.d.ts +0 -0
- /package/dist/{src/components → components}/HeaderBar.d.ts +0 -0
- /package/dist/{src/components → components}/LoadingTimout.d.ts +0 -0
- /package/dist/{src/components → components}/ProxyRenderer.d.ts +0 -0
- /package/dist/{src/components → components}/common/Button.d.ts +0 -0
- /package/dist/{src/components → components}/common/index.d.ts +0 -0
- /package/dist/{src/components → components}/icons/index.d.ts +0 -0
- /package/dist/{src/cssStyles.d.ts → cssStyles.d.ts} +0 -0
- /package/dist/{src/defaultTheme.d.ts → defaultTheme.d.ts} +0 -0
- /package/dist/{src/features → features}/annotations/components/AnnotationLayer.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/AnnotationToolbar.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/ColorPicker.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/CommentMarker.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/CommentPopover.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/TextHighlight.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/components/icons/index.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/hooks/useAnnotationExport.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/hooks/useDrawingCanvas.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/hooks/useTextSelection.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/index.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/state/actions.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/state/index.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/state/reducer.d.ts +0 -0
- /package/dist/{src/features → features}/annotations/types/index.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/components/BookmarkItem.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/components/BookmarksSidebar.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/components/BookmarksToggle.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/hooks/useBookmarks.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/index.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/state/actions.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/state/context.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/state/provider.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/state/reducer.d.ts +0 -0
- /package/dist/{src/features → features}/bookmarks/types/index.d.ts +0 -0
- /package/dist/{src/features → features}/drag-drop/components/DropZoneOverlay.d.ts +0 -0
- /package/dist/{src/features → features}/drag-drop/hooks/useDragDrop.d.ts +0 -0
- /package/dist/{src/features → features}/drag-drop/hooks/useFileProcessor.d.ts +0 -0
- /package/dist/{src/features → features}/drag-drop/index.d.ts +0 -0
- /package/dist/{src/features → features}/drag-drop/types/index.d.ts +0 -0
- /package/dist/{src/features → features}/keyboard-shortcuts/hooks/useKeyboardShortcuts.d.ts +0 -0
- /package/dist/{src/features → features}/keyboard-shortcuts/index.d.ts +0 -0
- /package/dist/{src/features → features}/keyboard-shortcuts/types/index.d.ts +0 -0
- /package/dist/{src/features → features}/password-pdf/components/PasswordPrompt.d.ts +0 -0
- /package/dist/{src/features → features}/password-pdf/index.d.ts +0 -0
- /package/dist/{src/features → features}/split-view/components/SplitViewContainer.d.ts +0 -0
- /package/dist/{src/features → features}/split-view/index.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/components/SearchBar.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/hooks/useTextSearch.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/index.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/state/actions.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/state/context.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/state/provider.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/state/reducer.d.ts +0 -0
- /package/dist/{src/features → features}/text-search/types/index.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailItem.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailSidebar.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailToggle.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/hooks/useThumbnailGenerator.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/index.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/state/actions.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/state/index.d.ts +0 -0
- /package/dist/{src/features → features}/thumbnail-sidebar/state/reducer.d.ts +0 -0
- /package/dist/{src/features → features}/watermark/components/WatermarkOverlay.d.ts +0 -0
- /package/dist/{src/features → features}/watermark/index.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useDocumentLoader.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useFullscreen.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useRendererSelector.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useTranslation.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useWindowSize.d.ts +0 -0
- /package/dist/{src/i18n.d.ts → i18n.d.ts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/locales → locales}/ar.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/de.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/en.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/es.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/fr.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/it.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/ja.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/pl.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/pt.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/ru.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/se.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/sr.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/sr_cyr.json.d.ts +0 -0
- /package/dist/{src/locales → locales}/tr.json.d.ts +0 -0
- /package/dist/{src/models.d.ts → models.d.ts} +0 -0
- /package/dist/{src/renderers → renderers}/bmp/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/csv/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/gif/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/html/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/image/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/jpg/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/msdoc/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/PDFControls.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/PDFPagination.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/PDFThumbnailGenerator.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/icons/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFAllPages.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFPages.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFSinglePage.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/state/actions.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/state/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/pdf/state/reducer.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/png/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/tiff/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/tiff/tiffToCanvas.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/txt/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/video/index.d.ts +0 -0
- /package/dist/{src/renderers → renderers}/webp/index.d.ts +0 -0
- /package/dist/{src/store → store}/DocViewerProvider.d.ts +0 -0
- /package/dist/{src/store → store}/actions.d.ts +0 -0
- /package/dist/{src/store → store}/mainStateReducer.d.ts +0 -0
- /package/dist/{src/utils → utils}/fileLoaders.d.ts +0 -0
- /package/dist/{src/utils → utils}/getFileName.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const R=require("./index-Bxz55fXL.cjs"),rn=require("./url-CJMs95kL.cjs");function nn(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const c=Object.getOwnPropertyDescriptor(n,i);c&&Object.defineProperty(e,i,c.get?c:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var qe={},gr={exports:{}},Rt={};(function(e){e.fetch=i(R.commonjsGlobal.fetch)&&i(R.commonjsGlobal.ReadableStream),e.writableStream=i(R.commonjsGlobal.WritableStream),e.abortController=i(R.commonjsGlobal.AbortController);var t;function r(){if(t!==void 0)return t;if(R.commonjsGlobal.XMLHttpRequest){t=new R.commonjsGlobal.XMLHttpRequest;try{t.open("GET",R.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(c){var l=r();if(!l)return!1;try{return l.responseType=c,l.responseType===c}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?i(r().overrideMimeType):!1);function i(c){return typeof c=="function"}t=null})(Rt);var gt={exports:{}};typeof Object.create=="function"?gt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:gt.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var ue=gt.exports,We={},vt={exports:{}},Tt={exports:{}},_e=typeof Reflect=="object"?Reflect:null,Ut=_e&&typeof _e.apply=="function"?_e.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Le;_e&&typeof _e.ownKeys=="function"?Le=_e.ownKeys:Object.getOwnPropertySymbols?Le=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Le=function(t){return Object.getOwnPropertyNames(t)};function on(e){console&&console.warn&&console.warn(e)}var vr=Number.isNaN||function(t){return t!==t};function x(){x.init.call(this)}Tt.exports=x;Tt.exports.once=un;x.EventEmitter=x;x.prototype._events=void 0;x.prototype._eventsCount=0;x.prototype._maxListeners=void 0;var kt=10;function Ge(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(x,"defaultMaxListeners",{enumerable:!0,get:function(){return kt},set:function(e){if(typeof e!="number"||e<0||vr(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");kt=e}});x.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};x.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||vr(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function br(e){return e._maxListeners===void 0?x.defaultMaxListeners:e._maxListeners}x.prototype.getMaxListeners=function(){return br(this)};x.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",c=this._events;if(c!==void 0)i=i&&c.error===void 0;else if(!i)return!1;if(i){var l;if(r.length>0&&(l=r[0]),l instanceof Error)throw l;var h=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw h.context=l,h}var p=c[t];if(p===void 0)return!1;if(typeof p=="function")Ut(p,this,r);else for(var A=p.length,C=Er(p,A),n=0;n<A;++n)Ut(C[n],this,r);return!0};function mr(e,t,r,n){var i,c,l;if(Ge(r),c=e._events,c===void 0?(c=e._events=Object.create(null),e._eventsCount=0):(c.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),c=e._events),l=c[t]),l===void 0)l=c[t]=r,++e._eventsCount;else if(typeof l=="function"?l=c[t]=n?[r,l]:[l,r]:n?l.unshift(r):l.push(r),i=br(e),i>0&&l.length>i&&!l.warned){l.warned=!0;var h=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");h.name="MaxListenersExceededWarning",h.emitter=e,h.type=t,h.count=l.length,on(h)}return e}x.prototype.addListener=function(t,r){return mr(this,t,r,!1)};x.prototype.on=x.prototype.addListener;x.prototype.prependListener=function(t,r){return mr(this,t,r,!0)};function an(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _r(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=an.bind(n);return i.listener=r,n.wrapFn=i,i}x.prototype.once=function(t,r){return Ge(r),this.on(t,_r(this,t,r)),this};x.prototype.prependOnceListener=function(t,r){return Ge(r),this.prependListener(t,_r(this,t,r)),this};x.prototype.removeListener=function(t,r){var n,i,c,l,h;if(Ge(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(c=-1,l=n.length-1;l>=0;l--)if(n[l]===r||n[l].listener===r){h=n[l].listener,c=l;break}if(c<0)return this;c===0?n.shift():fn(n,c),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,h||r)}return this};x.prototype.off=x.prototype.removeListener;x.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var c=Object.keys(n),l;for(i=0;i<c.length;++i)l=c[i],l!=="removeListener"&&this.removeAllListeners(l);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function wr(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?sn(i):Er(i,i.length)}x.prototype.listeners=function(t){return wr(this,t,!0)};x.prototype.rawListeners=function(t){return wr(this,t,!1)};x.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Sr.call(e,t)};x.prototype.listenerCount=Sr;function Sr(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}x.prototype.eventNames=function(){return this._eventsCount>0?Le(this._events):[]};function Er(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function fn(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function sn(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function un(e,t){return new Promise(function(r,n){function i(l){e.removeListener(t,c),n(l)}function c(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}Ar(e,t,c,{once:!0}),t!=="error"&&ln(e,i,{once:!0})})}function ln(e,t,r){typeof e.on=="function"&&Ar(e,"error",t,r)}function Ar(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(c){n.once&&e.removeEventListener(t,i),r(c)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Rr=Tt.exports,Tr=Rr.EventEmitter;const xe=R.getAugmentedNamespace(R.dist);var Ot={},Or={},Pr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0},cn=Pr,Pt=function(){return cn()&&!!Symbol.toStringTag},dn=Error,pn=EvalError,hn=RangeError,yn=ReferenceError,jr=SyntaxError,He=TypeError,gn=URIError,qt=typeof Symbol<"u"&&Symbol,vn=Pr,bn=function(){return typeof qt!="function"||typeof Symbol!="function"||typeof qt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vn()},Ze={__proto__:null,foo:{}},mn=Object,_n=function(){return{__proto__:Ze}.foo===Ze.foo&&!(Ze instanceof mn)},wn="Function.prototype.bind called on incompatible ",Sn=Object.prototype.toString,En=Math.max,An="[object Function]",Wt=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var c=0;c<r.length;c+=1)n[c+t.length]=r[c];return n},Rn=function(t,r){for(var n=[],i=r,c=0;i<t.length;i+=1,c+=1)n[c]=t[i];return n},Tn=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},On=function(t){var r=this;if(typeof r!="function"||Sn.apply(r)!==An)throw new TypeError(wn+r);for(var n=Rn(arguments,1),i,c=function(){if(this instanceof i){var C=r.apply(this,Wt(n,arguments));return Object(C)===C?C:this}return r.apply(t,Wt(n,arguments))},l=En(0,r.length-n.length),h=[],p=0;p<l;p++)h[p]="$"+p;if(i=Function("binder","return function ("+Tn(h,",")+"){ return binder.apply(this,arguments); }")(c),r.prototype){var A=function(){};A.prototype=r.prototype,i.prototype=new A,A.prototype=null}return i},Pn=On,jt=Function.prototype.bind||Pn,jn=Function.prototype.call,Mn=Object.prototype.hasOwnProperty,Ln=jt,Cn=Ln.call(jn,Mn),k,Nn=dn,In=pn,Dn=hn,Bn=yn,Se=jr,we=He,Fn=gn,Mr=Function,Qe=function(e){try{return Mr('"use strict"; return ('+e+").constructor;")()}catch{}},ce=Object.getOwnPropertyDescriptor;if(ce)try{ce({},"")}catch{ce=null}var et=function(){throw new we},$n=ce?function(){try{return arguments.callee,et}catch{try{return ce(arguments,"callee").get}catch{return et}}}():et,ge=bn(),Un=_n(),V=Object.getPrototypeOf||(Un?function(e){return e.__proto__}:null),be={},kn=typeof Uint8Array>"u"||!V?k:V(Uint8Array),de={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?k:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?k:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&V?V([][Symbol.iterator]()):k,"%AsyncFromSyncIteratorPrototype%":k,"%AsyncFunction%":be,"%AsyncGenerator%":be,"%AsyncGeneratorFunction%":be,"%AsyncIteratorPrototype%":be,"%Atomics%":typeof Atomics>"u"?k:Atomics,"%BigInt%":typeof BigInt>"u"?k:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?k:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?k:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?k:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Nn,"%eval%":eval,"%EvalError%":In,"%Float32Array%":typeof Float32Array>"u"?k:Float32Array,"%Float64Array%":typeof Float64Array>"u"?k:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?k:FinalizationRegistry,"%Function%":Mr,"%GeneratorFunction%":be,"%Int8Array%":typeof Int8Array>"u"?k:Int8Array,"%Int16Array%":typeof Int16Array>"u"?k:Int16Array,"%Int32Array%":typeof Int32Array>"u"?k:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&V?V(V([][Symbol.iterator]())):k,"%JSON%":typeof JSON=="object"?JSON:k,"%Map%":typeof Map>"u"?k:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ge||!V?k:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?k:Promise,"%Proxy%":typeof Proxy>"u"?k:Proxy,"%RangeError%":Dn,"%ReferenceError%":Bn,"%Reflect%":typeof Reflect>"u"?k:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?k:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ge||!V?k:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?k:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&V?V(""[Symbol.iterator]()):k,"%Symbol%":ge?Symbol:k,"%SyntaxError%":Se,"%ThrowTypeError%":$n,"%TypedArray%":kn,"%TypeError%":we,"%Uint8Array%":typeof Uint8Array>"u"?k:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?k:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?k:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?k:Uint32Array,"%URIError%":Fn,"%WeakMap%":typeof WeakMap>"u"?k:WeakMap,"%WeakRef%":typeof WeakRef>"u"?k:WeakRef,"%WeakSet%":typeof WeakSet>"u"?k:WeakSet};if(V)try{null.error}catch(e){var qn=V(V(e));de["%Error.prototype%"]=qn}var Wn=function e(t){var r;if(t==="%AsyncFunction%")r=Qe("async function () {}");else if(t==="%GeneratorFunction%")r=Qe("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Qe("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&V&&(r=V(i.prototype))}return de[t]=r,r},Gt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Te=jt,Fe=Cn,Gn=Te.call(Function.call,Array.prototype.concat),xn=Te.call(Function.apply,Array.prototype.splice),xt=Te.call(Function.call,String.prototype.replace),$e=Te.call(Function.call,String.prototype.slice),Hn=Te.call(Function.call,RegExp.prototype.exec),Vn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,zn=/\\(\\)?/g,Kn=function(t){var r=$e(t,0,1),n=$e(t,-1);if(r==="%"&&n!=="%")throw new Se("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Se("invalid intrinsic syntax, expected opening `%`");var i=[];return xt(t,Vn,function(c,l,h,p){i[i.length]=h?xt(p,zn,"$1"):l||c}),i},Yn=function(t,r){var n=t,i;if(Fe(Gt,n)&&(i=Gt[n],n="%"+i[0]+"%"),Fe(de,n)){var c=de[n];if(c===be&&(c=Wn(n)),typeof c>"u"&&!r)throw new we("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:c}}throw new Se("intrinsic "+t+" does not exist!")},Oe=function(t,r){if(typeof t!="string"||t.length===0)throw new we("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new we('"allowMissing" argument must be a boolean');if(Hn(/^%?[^%]*%?$/,t)===null)throw new Se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Kn(t),i=n.length>0?n[0]:"",c=Yn("%"+i+"%",r),l=c.name,h=c.value,p=!1,A=c.alias;A&&(i=A[0],xn(n,Gn([0,1],A)));for(var C=1,E=!0;C<n.length;C+=1){var I=n[C],q=$e(I,0,1),P=$e(I,-1);if((q==='"'||q==="'"||q==="`"||P==='"'||P==="'"||P==="`")&&q!==P)throw new Se("property names with quotes must have matching quotes");if((I==="constructor"||!E)&&(p=!0),i+="."+I,l="%"+i+"%",Fe(de,l))h=de[l];else if(h!=null){if(!(I in h)){if(!r)throw new we("base intrinsic for "+t+" exists, but the property is not available.");return}if(ce&&C+1>=n.length){var N=ce(h,I);E=!!N,E&&"get"in N&&!("originalValue"in N.get)?h=N.get:h=h[I]}else E=Fe(h,I),h=h[I];E&&!p&&(de[l]=h)}}return h},Lr={exports:{}},tt,Ht;function Mt(){if(Ht)return tt;Ht=1;var e=Oe,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return tt=t,tt}var Jn=Oe,Ce=Jn("%Object.getOwnPropertyDescriptor%",!0);if(Ce)try{Ce([],"length")}catch{Ce=null}var Lt=Ce,Vt=Mt(),Xn=jr,ve=He,zt=Lt,Zn=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ve("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ve("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ve("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ve("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ve("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ve("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,p=!!zt&&zt(t,r);if(Vt)Vt(t,r,{configurable:l===null&&p?p.configurable:!l,enumerable:i===null&&p?p.enumerable:!i,value:n,writable:c===null&&p?p.writable:!c});else if(h||!i&&!c&&!l)t[r]=n;else throw new Xn("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},bt=Mt(),Cr=function(){return!!bt};Cr.hasArrayLengthDefineBug=function(){if(!bt)return null;try{return bt([],"length",{value:1}).length!==1}catch{return!0}};var Qn=Cr,ei=Oe,Kt=Zn,ti=Qn(),Yt=Lt,Jt=He,ri=ei("%Math.floor%"),ni=function(t,r){if(typeof t!="function")throw new Jt("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||ri(r)!==r)throw new Jt("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in t&&Yt){var l=Yt(t,"length");l&&!l.configurable&&(i=!1),l&&!l.writable&&(c=!1)}return(i||c||!n)&&(ti?Kt(t,"length",r,!0,!0):Kt(t,"length",r)),t};(function(e){var t=jt,r=Oe,n=ni,i=He,c=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),h=r("%Reflect.apply%",!0)||t.call(l,c),p=Mt(),A=r("%Math.max%");e.exports=function(I){if(typeof I!="function")throw new i("a function is required");var q=h(t,l,arguments);return n(q,1+A(0,I.length-(arguments.length-1)),!0)};var C=function(){return h(t,c,arguments)};p?p(e.exports,"apply",{value:C}):e.exports.apply=C})(Lr);var Nr=Lr.exports,Ir=Oe,Dr=Nr,ii=Dr(Ir("String.prototype.indexOf")),Br=function(t,r){var n=Ir(t,!!r);return typeof n=="function"&&ii(t,".prototype.")>-1?Dr(n):n},oi=Pt(),ai=Br,mt=ai("Object.prototype.toString"),Ve=function(t){return oi&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:mt(t)==="[object Arguments]"},Fr=function(t){return Ve(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&mt(t)!=="[object Array]"&&mt(t.callee)==="[object Function]"},fi=function(){return Ve(arguments)}();Ve.isLegacyArguments=Fr;var si=fi?Ve:Fr,ui=Object.prototype.toString,li=Function.prototype.toString,ci=/^\s*(?:function)?\*/,$r=Pt(),rt=Object.getPrototypeOf,di=function(){if(!$r)return!1;try{return Function("return function*() {}")()}catch{}},nt,pi=function(t){if(typeof t!="function")return!1;if(ci.test(li.call(t)))return!0;if(!$r){var r=ui.call(t);return r==="[object GeneratorFunction]"}if(!rt)return!1;if(typeof nt>"u"){var n=di();nt=n?rt(n):!1}return rt(t)===nt},Ur=Function.prototype.toString,me=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,_t,Ne;if(typeof me=="function"&&typeof Object.defineProperty=="function")try{_t=Object.defineProperty({},"length",{get:function(){throw Ne}}),Ne={},me(function(){throw 42},null,_t)}catch(e){e!==Ne&&(me=null)}else me=null;var hi=/^\s*class\b/,wt=function(t){try{var r=Ur.call(t);return hi.test(r)}catch{return!1}},it=function(t){try{return wt(t)?!1:(Ur.call(t),!0)}catch{return!1}},Ie=Object.prototype.toString,yi="[object Object]",gi="[object Function]",vi="[object GeneratorFunction]",bi="[object HTMLAllCollection]",mi="[object HTML document.all class]",_i="[object HTMLCollection]",wi=typeof Symbol=="function"&&!!Symbol.toStringTag,Si=!(0 in[,]),St=function(){return!1};if(typeof document=="object"){var Ei=document.all;Ie.call(Ei)===Ie.call(document.all)&&(St=function(t){if((Si||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Ie.call(t);return(r===bi||r===mi||r===_i||r===yi)&&t("")==null}catch{}return!1})}var Ai=me?function(t){if(St(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{me(t,null,_t)}catch(r){if(r!==Ne)return!1}return!wt(t)&&it(t)}:function(t){if(St(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(wi)return it(t);if(wt(t))return!1;var r=Ie.call(t);return r!==gi&&r!==vi&&!/^\[object HTML/.test(r)?!1:it(t)},Ri=Ai,Ti=Object.prototype.toString,kr=Object.prototype.hasOwnProperty,Oi=function(t,r,n){for(var i=0,c=t.length;i<c;i++)kr.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Pi=function(t,r,n){for(var i=0,c=t.length;i<c;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},ji=function(t,r,n){for(var i in t)kr.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Mi=function(t,r,n){if(!Ri(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Ti.call(t)==="[object Array]"?Oi(t,r,i):typeof t=="string"?Pi(t,r,i):ji(t,r,i)},Li=Mi,Ci=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],ot=Ci,Ni=typeof globalThis>"u"?R.commonjsGlobal:globalThis,Ii=function(){for(var t=[],r=0;r<ot.length;r++)typeof Ni[ot[r]]=="function"&&(t[t.length]=ot[r]);return t},Ue=Li,Di=Ii,Xt=Nr,Ct=Br,De=Lt,Bi=Ct("Object.prototype.toString"),qr=Pt(),Zt=typeof globalThis>"u"?R.commonjsGlobal:globalThis,Et=Di(),Nt=Ct("String.prototype.slice"),at=Object.getPrototypeOf,Fi=Ct("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},ke={__proto__:null};qr&&De&&at?Ue(Et,function(e){var t=new Zt[e];if(Symbol.toStringTag in t){var r=at(t),n=De(r,Symbol.toStringTag);if(!n){var i=at(r);n=De(i,Symbol.toStringTag)}ke["$"+e]=Xt(n.get)}}):Ue(Et,function(e){var t=new Zt[e],r=t.slice||t.set;r&&(ke["$"+e]=Xt(r))});var $i=function(t){var r=!1;return Ue(ke,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Nt(i,1))}catch{}}),r},Ui=function(t){var r=!1;return Ue(ke,function(n,i){if(!r)try{n(t),r=Nt(i,1)}catch{}}),r},Wr=function(t){if(!t||typeof t!="object")return!1;if(!qr){var r=Nt(Bi(t),8,-1);return Fi(Et,r)>-1?r:r!=="Object"?!1:Ui(t)}return De?$i(t):null},ki=Wr,qi=function(t){return!!ki(t)};(function(e){var t=si,r=pi,n=Wr,i=qi;function c(v){return v.call.bind(v)}var l=typeof BigInt<"u",h=typeof Symbol<"u",p=c(Object.prototype.toString),A=c(Number.prototype.valueOf),C=c(String.prototype.valueOf),E=c(Boolean.prototype.valueOf);if(l)var I=c(BigInt.prototype.valueOf);if(h)var q=c(Symbol.prototype.valueOf);function P(v,Pe){if(typeof v!="object")return!1;try{return Pe(v),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=i;function N(v){return typeof Promise<"u"&&v instanceof Promise||v!==null&&typeof v=="object"&&typeof v.then=="function"&&typeof v.catch=="function"}e.isPromise=N;function M(v){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(v):i(v)||g(v)}e.isArrayBufferView=M;function u(v){return n(v)==="Uint8Array"}e.isUint8Array=u;function m(v){return n(v)==="Uint8ClampedArray"}e.isUint8ClampedArray=m;function S(v){return n(v)==="Uint16Array"}e.isUint16Array=S;function T(v){return n(v)==="Uint32Array"}e.isUint32Array=T;function j(v){return n(v)==="Int8Array"}e.isInt8Array=j;function F(v){return n(v)==="Int16Array"}e.isInt16Array=F;function W(v){return n(v)==="Int32Array"}e.isInt32Array=W;function $(v){return n(v)==="Float32Array"}e.isFloat32Array=$;function D(v){return n(v)==="Float64Array"}e.isFloat64Array=D;function z(v){return n(v)==="BigInt64Array"}e.isBigInt64Array=z;function J(v){return n(v)==="BigUint64Array"}e.isBigUint64Array=J;function X(v){return p(v)==="[object Map]"}X.working=typeof Map<"u"&&X(new Map);function ne(v){return typeof Map>"u"?!1:X.working?X(v):v instanceof Map}e.isMap=ne;function Z(v){return p(v)==="[object Set]"}Z.working=typeof Set<"u"&&Z(new Set);function ie(v){return typeof Set>"u"?!1:Z.working?Z(v):v instanceof Set}e.isSet=ie;function oe(v){return p(v)==="[object WeakMap]"}oe.working=typeof WeakMap<"u"&&oe(new WeakMap);function ee(v){return typeof WeakMap>"u"?!1:oe.working?oe(v):v instanceof WeakMap}e.isWeakMap=ee;function te(v){return p(v)==="[object WeakSet]"}te.working=typeof WeakSet<"u"&&te(new WeakSet);function K(v){return te(v)}e.isWeakSet=K;function re(v){return p(v)==="[object ArrayBuffer]"}re.working=typeof ArrayBuffer<"u"&&re(new ArrayBuffer);function fe(v){return typeof ArrayBuffer>"u"?!1:re.working?re(v):v instanceof ArrayBuffer}e.isArrayBuffer=fe;function d(v){return p(v)==="[object DataView]"}d.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&d(new DataView(new ArrayBuffer(1),0,1));function g(v){return typeof DataView>"u"?!1:d.working?d(v):v instanceof DataView}e.isDataView=g;var _=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function B(v){return p(v)==="[object SharedArrayBuffer]"}function s(v){return typeof _>"u"?!1:(typeof B.working>"u"&&(B.working=B(new _)),B.working?B(v):v instanceof _)}e.isSharedArrayBuffer=s;function f(v){return p(v)==="[object AsyncFunction]"}e.isAsyncFunction=f;function y(v){return p(v)==="[object Map Iterator]"}e.isMapIterator=y;function w(v){return p(v)==="[object Set Iterator]"}e.isSetIterator=w;function L(v){return p(v)==="[object Generator]"}e.isGeneratorObject=L;function o(v){return p(v)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=o;function a(v){return P(v,A)}e.isNumberObject=a;function b(v){return P(v,C)}e.isStringObject=b;function O(v){return P(v,E)}e.isBooleanObject=O;function H(v){return l&&P(v,I)}e.isBigIntObject=H;function U(v){return h&&P(v,q)}e.isSymbolObject=U;function G(v){return a(v)||b(v)||O(v)||H(v)||U(v)}e.isBoxedPrimitive=G;function se(v){return typeof Uint8Array<"u"&&(fe(v)||s(v))}e.isAnyArrayBuffer=se,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(v){Object.defineProperty(e,v,{enumerable:!1,value:function(){throw new Error(v+" is not supported in userland")}})})})(Or);var Wi=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t=Object.getOwnPropertyDescriptors||function(g){for(var _=Object.keys(g),B={},s=0;s<_.length;s++)B[_[s]]=Object.getOwnPropertyDescriptor(g,_[s]);return B},r=/%[sdj%]/g;e.format=function(d){if(!j(d)){for(var g=[],_=0;_<arguments.length;_++)g.push(l(arguments[_]));return g.join(" ")}for(var _=1,B=arguments,s=B.length,f=String(d).replace(r,function(w){if(w==="%%")return"%";if(_>=s)return w;switch(w){case"%s":return String(B[_++]);case"%d":return Number(B[_++]);case"%j":try{return JSON.stringify(B[_++])}catch{return"[Circular]"}default:return w}}),y=B[_];_<s;y=B[++_])m(y)||!D(y)?f+=" "+y:f+=" "+l(y);return f},e.deprecate=function(d,g){if(typeof R.process$1<"u"&&R.process$1.noDeprecation===!0)return d;if(typeof R.process$1>"u")return function(){return e.deprecate(d,g).apply(this,arguments)};var _=!1;function B(){if(!_){if(R.process$1.throwDeprecation)throw new Error(g);R.process$1.traceDeprecation?console.trace(g):console.error(g),_=!0}return d.apply(this,arguments)}return B};var n={},i=/^$/;if(R.process$1.env.NODE_DEBUG){var c=R.process$1.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+c+"$","i")}e.debuglog=function(d){if(d=d.toUpperCase(),!n[d])if(i.test(d)){var g=R.process$1.pid;n[d]=function(){var _=e.format.apply(e,arguments);console.error("%s %d: %s",d,g,_)}}else n[d]=function(){};return n[d]};function l(d,g){var _={seen:[],stylize:p};return arguments.length>=3&&(_.depth=arguments[2]),arguments.length>=4&&(_.colors=arguments[3]),u(g)?_.showHidden=g:g&&e._extend(_,g),W(_.showHidden)&&(_.showHidden=!1),W(_.depth)&&(_.depth=2),W(_.colors)&&(_.colors=!1),W(_.customInspect)&&(_.customInspect=!0),_.colors&&(_.stylize=h),C(_,d,_.depth)}e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function h(d,g){var _=l.styles[g];return _?"\x1B["+l.colors[_][0]+"m"+d+"\x1B["+l.colors[_][1]+"m":d}function p(d,g){return d}function A(d){var g={};return d.forEach(function(_,B){g[_]=!0}),g}function C(d,g,_){if(d.customInspect&&g&&X(g.inspect)&&g.inspect!==e.inspect&&!(g.constructor&&g.constructor.prototype===g)){var B=g.inspect(_,d);return j(B)||(B=C(d,B,_)),B}var s=E(d,g);if(s)return s;var f=Object.keys(g),y=A(f);if(d.showHidden&&(f=Object.getOwnPropertyNames(g)),J(g)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return I(g);if(f.length===0){if(X(g)){var w=g.name?": "+g.name:"";return d.stylize("[Function"+w+"]","special")}if($(g))return d.stylize(RegExp.prototype.toString.call(g),"regexp");if(z(g))return d.stylize(Date.prototype.toString.call(g),"date");if(J(g))return I(g)}var L="",o=!1,a=["{","}"];if(M(g)&&(o=!0,a=["[","]"]),X(g)){var b=g.name?": "+g.name:"";L=" [Function"+b+"]"}if($(g)&&(L=" "+RegExp.prototype.toString.call(g)),z(g)&&(L=" "+Date.prototype.toUTCString.call(g)),J(g)&&(L=" "+I(g)),f.length===0&&(!o||g.length==0))return a[0]+L+a[1];if(_<0)return $(g)?d.stylize(RegExp.prototype.toString.call(g),"regexp"):d.stylize("[Object]","special");d.seen.push(g);var O;return o?O=q(d,g,_,y,f):O=f.map(function(H){return P(d,g,_,y,H,o)}),d.seen.pop(),N(O,L,a)}function E(d,g){if(W(g))return d.stylize("undefined","undefined");if(j(g)){var _="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(_,"string")}if(T(g))return d.stylize(""+g,"number");if(u(g))return d.stylize(""+g,"boolean");if(m(g))return d.stylize("null","null")}function I(d){return"["+Error.prototype.toString.call(d)+"]"}function q(d,g,_,B,s){for(var f=[],y=0,w=g.length;y<w;++y)te(g,String(y))?f.push(P(d,g,_,B,String(y),!0)):f.push("");return s.forEach(function(L){L.match(/^\d+$/)||f.push(P(d,g,_,B,L,!0))}),f}function P(d,g,_,B,s,f){var y,w,L;if(L=Object.getOwnPropertyDescriptor(g,s)||{value:g[s]},L.get?L.set?w=d.stylize("[Getter/Setter]","special"):w=d.stylize("[Getter]","special"):L.set&&(w=d.stylize("[Setter]","special")),te(B,s)||(y="["+s+"]"),w||(d.seen.indexOf(L.value)<0?(m(_)?w=C(d,L.value,null):w=C(d,L.value,_-1),w.indexOf(`
|
|
1
|
+
"use strict";const R=require("./index-CnEWg8Vs.cjs"),rn=require("./url-BKzIFWJ6.cjs");function nn(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const c=Object.getOwnPropertyDescriptor(n,i);c&&Object.defineProperty(e,i,c.get?c:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var qe={},gr={exports:{}},Rt={};(function(e){e.fetch=i(R.commonjsGlobal.fetch)&&i(R.commonjsGlobal.ReadableStream),e.writableStream=i(R.commonjsGlobal.WritableStream),e.abortController=i(R.commonjsGlobal.AbortController);var t;function r(){if(t!==void 0)return t;if(R.commonjsGlobal.XMLHttpRequest){t=new R.commonjsGlobal.XMLHttpRequest;try{t.open("GET",R.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(c){var l=r();if(!l)return!1;try{return l.responseType=c,l.responseType===c}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?i(r().overrideMimeType):!1);function i(c){return typeof c=="function"}t=null})(Rt);var gt={exports:{}};typeof Object.create=="function"?gt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:gt.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var ue=gt.exports,We={},vt={exports:{}},Tt={exports:{}},_e=typeof Reflect=="object"?Reflect:null,Ut=_e&&typeof _e.apply=="function"?_e.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Le;_e&&typeof _e.ownKeys=="function"?Le=_e.ownKeys:Object.getOwnPropertySymbols?Le=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Le=function(t){return Object.getOwnPropertyNames(t)};function on(e){console&&console.warn&&console.warn(e)}var vr=Number.isNaN||function(t){return t!==t};function x(){x.init.call(this)}Tt.exports=x;Tt.exports.once=un;x.EventEmitter=x;x.prototype._events=void 0;x.prototype._eventsCount=0;x.prototype._maxListeners=void 0;var kt=10;function Ge(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(x,"defaultMaxListeners",{enumerable:!0,get:function(){return kt},set:function(e){if(typeof e!="number"||e<0||vr(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");kt=e}});x.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};x.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||vr(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function br(e){return e._maxListeners===void 0?x.defaultMaxListeners:e._maxListeners}x.prototype.getMaxListeners=function(){return br(this)};x.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",c=this._events;if(c!==void 0)i=i&&c.error===void 0;else if(!i)return!1;if(i){var l;if(r.length>0&&(l=r[0]),l instanceof Error)throw l;var h=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw h.context=l,h}var p=c[t];if(p===void 0)return!1;if(typeof p=="function")Ut(p,this,r);else for(var A=p.length,C=Er(p,A),n=0;n<A;++n)Ut(C[n],this,r);return!0};function mr(e,t,r,n){var i,c,l;if(Ge(r),c=e._events,c===void 0?(c=e._events=Object.create(null),e._eventsCount=0):(c.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),c=e._events),l=c[t]),l===void 0)l=c[t]=r,++e._eventsCount;else if(typeof l=="function"?l=c[t]=n?[r,l]:[l,r]:n?l.unshift(r):l.push(r),i=br(e),i>0&&l.length>i&&!l.warned){l.warned=!0;var h=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");h.name="MaxListenersExceededWarning",h.emitter=e,h.type=t,h.count=l.length,on(h)}return e}x.prototype.addListener=function(t,r){return mr(this,t,r,!1)};x.prototype.on=x.prototype.addListener;x.prototype.prependListener=function(t,r){return mr(this,t,r,!0)};function an(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _r(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=an.bind(n);return i.listener=r,n.wrapFn=i,i}x.prototype.once=function(t,r){return Ge(r),this.on(t,_r(this,t,r)),this};x.prototype.prependOnceListener=function(t,r){return Ge(r),this.prependListener(t,_r(this,t,r)),this};x.prototype.removeListener=function(t,r){var n,i,c,l,h;if(Ge(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(c=-1,l=n.length-1;l>=0;l--)if(n[l]===r||n[l].listener===r){h=n[l].listener,c=l;break}if(c<0)return this;c===0?n.shift():fn(n,c),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,h||r)}return this};x.prototype.off=x.prototype.removeListener;x.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var c=Object.keys(n),l;for(i=0;i<c.length;++i)l=c[i],l!=="removeListener"&&this.removeAllListeners(l);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function wr(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?sn(i):Er(i,i.length)}x.prototype.listeners=function(t){return wr(this,t,!0)};x.prototype.rawListeners=function(t){return wr(this,t,!1)};x.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Sr.call(e,t)};x.prototype.listenerCount=Sr;function Sr(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}x.prototype.eventNames=function(){return this._eventsCount>0?Le(this._events):[]};function Er(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function fn(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function sn(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function un(e,t){return new Promise(function(r,n){function i(l){e.removeListener(t,c),n(l)}function c(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}Ar(e,t,c,{once:!0}),t!=="error"&&ln(e,i,{once:!0})})}function ln(e,t,r){typeof e.on=="function"&&Ar(e,"error",t,r)}function Ar(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(c){n.once&&e.removeEventListener(t,i),r(c)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Rr=Tt.exports,Tr=Rr.EventEmitter;const xe=R.getAugmentedNamespace(R.dist);var Ot={},Or={},Pr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0},cn=Pr,Pt=function(){return cn()&&!!Symbol.toStringTag},dn=Error,pn=EvalError,hn=RangeError,yn=ReferenceError,jr=SyntaxError,He=TypeError,gn=URIError,qt=typeof Symbol<"u"&&Symbol,vn=Pr,bn=function(){return typeof qt!="function"||typeof Symbol!="function"||typeof qt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vn()},Ze={__proto__:null,foo:{}},mn=Object,_n=function(){return{__proto__:Ze}.foo===Ze.foo&&!(Ze instanceof mn)},wn="Function.prototype.bind called on incompatible ",Sn=Object.prototype.toString,En=Math.max,An="[object Function]",Wt=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var c=0;c<r.length;c+=1)n[c+t.length]=r[c];return n},Rn=function(t,r){for(var n=[],i=r,c=0;i<t.length;i+=1,c+=1)n[c]=t[i];return n},Tn=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},On=function(t){var r=this;if(typeof r!="function"||Sn.apply(r)!==An)throw new TypeError(wn+r);for(var n=Rn(arguments,1),i,c=function(){if(this instanceof i){var C=r.apply(this,Wt(n,arguments));return Object(C)===C?C:this}return r.apply(t,Wt(n,arguments))},l=En(0,r.length-n.length),h=[],p=0;p<l;p++)h[p]="$"+p;if(i=Function("binder","return function ("+Tn(h,",")+"){ return binder.apply(this,arguments); }")(c),r.prototype){var A=function(){};A.prototype=r.prototype,i.prototype=new A,A.prototype=null}return i},Pn=On,jt=Function.prototype.bind||Pn,jn=Function.prototype.call,Mn=Object.prototype.hasOwnProperty,Ln=jt,Cn=Ln.call(jn,Mn),k,Nn=dn,In=pn,Dn=hn,Bn=yn,Se=jr,we=He,Fn=gn,Mr=Function,Qe=function(e){try{return Mr('"use strict"; return ('+e+").constructor;")()}catch{}},ce=Object.getOwnPropertyDescriptor;if(ce)try{ce({},"")}catch{ce=null}var et=function(){throw new we},$n=ce?function(){try{return arguments.callee,et}catch{try{return ce(arguments,"callee").get}catch{return et}}}():et,ge=bn(),Un=_n(),V=Object.getPrototypeOf||(Un?function(e){return e.__proto__}:null),be={},kn=typeof Uint8Array>"u"||!V?k:V(Uint8Array),de={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?k:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?k:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&V?V([][Symbol.iterator]()):k,"%AsyncFromSyncIteratorPrototype%":k,"%AsyncFunction%":be,"%AsyncGenerator%":be,"%AsyncGeneratorFunction%":be,"%AsyncIteratorPrototype%":be,"%Atomics%":typeof Atomics>"u"?k:Atomics,"%BigInt%":typeof BigInt>"u"?k:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?k:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?k:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?k:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Nn,"%eval%":eval,"%EvalError%":In,"%Float32Array%":typeof Float32Array>"u"?k:Float32Array,"%Float64Array%":typeof Float64Array>"u"?k:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?k:FinalizationRegistry,"%Function%":Mr,"%GeneratorFunction%":be,"%Int8Array%":typeof Int8Array>"u"?k:Int8Array,"%Int16Array%":typeof Int16Array>"u"?k:Int16Array,"%Int32Array%":typeof Int32Array>"u"?k:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&V?V(V([][Symbol.iterator]())):k,"%JSON%":typeof JSON=="object"?JSON:k,"%Map%":typeof Map>"u"?k:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ge||!V?k:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?k:Promise,"%Proxy%":typeof Proxy>"u"?k:Proxy,"%RangeError%":Dn,"%ReferenceError%":Bn,"%Reflect%":typeof Reflect>"u"?k:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?k:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ge||!V?k:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?k:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&V?V(""[Symbol.iterator]()):k,"%Symbol%":ge?Symbol:k,"%SyntaxError%":Se,"%ThrowTypeError%":$n,"%TypedArray%":kn,"%TypeError%":we,"%Uint8Array%":typeof Uint8Array>"u"?k:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?k:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?k:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?k:Uint32Array,"%URIError%":Fn,"%WeakMap%":typeof WeakMap>"u"?k:WeakMap,"%WeakRef%":typeof WeakRef>"u"?k:WeakRef,"%WeakSet%":typeof WeakSet>"u"?k:WeakSet};if(V)try{null.error}catch(e){var qn=V(V(e));de["%Error.prototype%"]=qn}var Wn=function e(t){var r;if(t==="%AsyncFunction%")r=Qe("async function () {}");else if(t==="%GeneratorFunction%")r=Qe("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Qe("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&V&&(r=V(i.prototype))}return de[t]=r,r},Gt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Te=jt,Fe=Cn,Gn=Te.call(Function.call,Array.prototype.concat),xn=Te.call(Function.apply,Array.prototype.splice),xt=Te.call(Function.call,String.prototype.replace),$e=Te.call(Function.call,String.prototype.slice),Hn=Te.call(Function.call,RegExp.prototype.exec),Vn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,zn=/\\(\\)?/g,Kn=function(t){var r=$e(t,0,1),n=$e(t,-1);if(r==="%"&&n!=="%")throw new Se("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Se("invalid intrinsic syntax, expected opening `%`");var i=[];return xt(t,Vn,function(c,l,h,p){i[i.length]=h?xt(p,zn,"$1"):l||c}),i},Yn=function(t,r){var n=t,i;if(Fe(Gt,n)&&(i=Gt[n],n="%"+i[0]+"%"),Fe(de,n)){var c=de[n];if(c===be&&(c=Wn(n)),typeof c>"u"&&!r)throw new we("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:c}}throw new Se("intrinsic "+t+" does not exist!")},Oe=function(t,r){if(typeof t!="string"||t.length===0)throw new we("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new we('"allowMissing" argument must be a boolean');if(Hn(/^%?[^%]*%?$/,t)===null)throw new Se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Kn(t),i=n.length>0?n[0]:"",c=Yn("%"+i+"%",r),l=c.name,h=c.value,p=!1,A=c.alias;A&&(i=A[0],xn(n,Gn([0,1],A)));for(var C=1,E=!0;C<n.length;C+=1){var I=n[C],q=$e(I,0,1),P=$e(I,-1);if((q==='"'||q==="'"||q==="`"||P==='"'||P==="'"||P==="`")&&q!==P)throw new Se("property names with quotes must have matching quotes");if((I==="constructor"||!E)&&(p=!0),i+="."+I,l="%"+i+"%",Fe(de,l))h=de[l];else if(h!=null){if(!(I in h)){if(!r)throw new we("base intrinsic for "+t+" exists, but the property is not available.");return}if(ce&&C+1>=n.length){var N=ce(h,I);E=!!N,E&&"get"in N&&!("originalValue"in N.get)?h=N.get:h=h[I]}else E=Fe(h,I),h=h[I];E&&!p&&(de[l]=h)}}return h},Lr={exports:{}},tt,Ht;function Mt(){if(Ht)return tt;Ht=1;var e=Oe,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return tt=t,tt}var Jn=Oe,Ce=Jn("%Object.getOwnPropertyDescriptor%",!0);if(Ce)try{Ce([],"length")}catch{Ce=null}var Lt=Ce,Vt=Mt(),Xn=jr,ve=He,zt=Lt,Zn=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ve("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ve("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ve("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ve("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ve("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ve("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,p=!!zt&&zt(t,r);if(Vt)Vt(t,r,{configurable:l===null&&p?p.configurable:!l,enumerable:i===null&&p?p.enumerable:!i,value:n,writable:c===null&&p?p.writable:!c});else if(h||!i&&!c&&!l)t[r]=n;else throw new Xn("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},bt=Mt(),Cr=function(){return!!bt};Cr.hasArrayLengthDefineBug=function(){if(!bt)return null;try{return bt([],"length",{value:1}).length!==1}catch{return!0}};var Qn=Cr,ei=Oe,Kt=Zn,ti=Qn(),Yt=Lt,Jt=He,ri=ei("%Math.floor%"),ni=function(t,r){if(typeof t!="function")throw new Jt("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||ri(r)!==r)throw new Jt("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in t&&Yt){var l=Yt(t,"length");l&&!l.configurable&&(i=!1),l&&!l.writable&&(c=!1)}return(i||c||!n)&&(ti?Kt(t,"length",r,!0,!0):Kt(t,"length",r)),t};(function(e){var t=jt,r=Oe,n=ni,i=He,c=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),h=r("%Reflect.apply%",!0)||t.call(l,c),p=Mt(),A=r("%Math.max%");e.exports=function(I){if(typeof I!="function")throw new i("a function is required");var q=h(t,l,arguments);return n(q,1+A(0,I.length-(arguments.length-1)),!0)};var C=function(){return h(t,c,arguments)};p?p(e.exports,"apply",{value:C}):e.exports.apply=C})(Lr);var Nr=Lr.exports,Ir=Oe,Dr=Nr,ii=Dr(Ir("String.prototype.indexOf")),Br=function(t,r){var n=Ir(t,!!r);return typeof n=="function"&&ii(t,".prototype.")>-1?Dr(n):n},oi=Pt(),ai=Br,mt=ai("Object.prototype.toString"),Ve=function(t){return oi&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:mt(t)==="[object Arguments]"},Fr=function(t){return Ve(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&mt(t)!=="[object Array]"&&mt(t.callee)==="[object Function]"},fi=function(){return Ve(arguments)}();Ve.isLegacyArguments=Fr;var si=fi?Ve:Fr,ui=Object.prototype.toString,li=Function.prototype.toString,ci=/^\s*(?:function)?\*/,$r=Pt(),rt=Object.getPrototypeOf,di=function(){if(!$r)return!1;try{return Function("return function*() {}")()}catch{}},nt,pi=function(t){if(typeof t!="function")return!1;if(ci.test(li.call(t)))return!0;if(!$r){var r=ui.call(t);return r==="[object GeneratorFunction]"}if(!rt)return!1;if(typeof nt>"u"){var n=di();nt=n?rt(n):!1}return rt(t)===nt},Ur=Function.prototype.toString,me=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,_t,Ne;if(typeof me=="function"&&typeof Object.defineProperty=="function")try{_t=Object.defineProperty({},"length",{get:function(){throw Ne}}),Ne={},me(function(){throw 42},null,_t)}catch(e){e!==Ne&&(me=null)}else me=null;var hi=/^\s*class\b/,wt=function(t){try{var r=Ur.call(t);return hi.test(r)}catch{return!1}},it=function(t){try{return wt(t)?!1:(Ur.call(t),!0)}catch{return!1}},Ie=Object.prototype.toString,yi="[object Object]",gi="[object Function]",vi="[object GeneratorFunction]",bi="[object HTMLAllCollection]",mi="[object HTML document.all class]",_i="[object HTMLCollection]",wi=typeof Symbol=="function"&&!!Symbol.toStringTag,Si=!(0 in[,]),St=function(){return!1};if(typeof document=="object"){var Ei=document.all;Ie.call(Ei)===Ie.call(document.all)&&(St=function(t){if((Si||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Ie.call(t);return(r===bi||r===mi||r===_i||r===yi)&&t("")==null}catch{}return!1})}var Ai=me?function(t){if(St(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{me(t,null,_t)}catch(r){if(r!==Ne)return!1}return!wt(t)&&it(t)}:function(t){if(St(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(wi)return it(t);if(wt(t))return!1;var r=Ie.call(t);return r!==gi&&r!==vi&&!/^\[object HTML/.test(r)?!1:it(t)},Ri=Ai,Ti=Object.prototype.toString,kr=Object.prototype.hasOwnProperty,Oi=function(t,r,n){for(var i=0,c=t.length;i<c;i++)kr.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Pi=function(t,r,n){for(var i=0,c=t.length;i<c;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},ji=function(t,r,n){for(var i in t)kr.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Mi=function(t,r,n){if(!Ri(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Ti.call(t)==="[object Array]"?Oi(t,r,i):typeof t=="string"?Pi(t,r,i):ji(t,r,i)},Li=Mi,Ci=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],ot=Ci,Ni=typeof globalThis>"u"?R.commonjsGlobal:globalThis,Ii=function(){for(var t=[],r=0;r<ot.length;r++)typeof Ni[ot[r]]=="function"&&(t[t.length]=ot[r]);return t},Ue=Li,Di=Ii,Xt=Nr,Ct=Br,De=Lt,Bi=Ct("Object.prototype.toString"),qr=Pt(),Zt=typeof globalThis>"u"?R.commonjsGlobal:globalThis,Et=Di(),Nt=Ct("String.prototype.slice"),at=Object.getPrototypeOf,Fi=Ct("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},ke={__proto__:null};qr&&De&&at?Ue(Et,function(e){var t=new Zt[e];if(Symbol.toStringTag in t){var r=at(t),n=De(r,Symbol.toStringTag);if(!n){var i=at(r);n=De(i,Symbol.toStringTag)}ke["$"+e]=Xt(n.get)}}):Ue(Et,function(e){var t=new Zt[e],r=t.slice||t.set;r&&(ke["$"+e]=Xt(r))});var $i=function(t){var r=!1;return Ue(ke,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Nt(i,1))}catch{}}),r},Ui=function(t){var r=!1;return Ue(ke,function(n,i){if(!r)try{n(t),r=Nt(i,1)}catch{}}),r},Wr=function(t){if(!t||typeof t!="object")return!1;if(!qr){var r=Nt(Bi(t),8,-1);return Fi(Et,r)>-1?r:r!=="Object"?!1:Ui(t)}return De?$i(t):null},ki=Wr,qi=function(t){return!!ki(t)};(function(e){var t=si,r=pi,n=Wr,i=qi;function c(v){return v.call.bind(v)}var l=typeof BigInt<"u",h=typeof Symbol<"u",p=c(Object.prototype.toString),A=c(Number.prototype.valueOf),C=c(String.prototype.valueOf),E=c(Boolean.prototype.valueOf);if(l)var I=c(BigInt.prototype.valueOf);if(h)var q=c(Symbol.prototype.valueOf);function P(v,Pe){if(typeof v!="object")return!1;try{return Pe(v),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=i;function N(v){return typeof Promise<"u"&&v instanceof Promise||v!==null&&typeof v=="object"&&typeof v.then=="function"&&typeof v.catch=="function"}e.isPromise=N;function M(v){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(v):i(v)||g(v)}e.isArrayBufferView=M;function u(v){return n(v)==="Uint8Array"}e.isUint8Array=u;function m(v){return n(v)==="Uint8ClampedArray"}e.isUint8ClampedArray=m;function S(v){return n(v)==="Uint16Array"}e.isUint16Array=S;function T(v){return n(v)==="Uint32Array"}e.isUint32Array=T;function j(v){return n(v)==="Int8Array"}e.isInt8Array=j;function F(v){return n(v)==="Int16Array"}e.isInt16Array=F;function W(v){return n(v)==="Int32Array"}e.isInt32Array=W;function $(v){return n(v)==="Float32Array"}e.isFloat32Array=$;function D(v){return n(v)==="Float64Array"}e.isFloat64Array=D;function z(v){return n(v)==="BigInt64Array"}e.isBigInt64Array=z;function J(v){return n(v)==="BigUint64Array"}e.isBigUint64Array=J;function X(v){return p(v)==="[object Map]"}X.working=typeof Map<"u"&&X(new Map);function ne(v){return typeof Map>"u"?!1:X.working?X(v):v instanceof Map}e.isMap=ne;function Z(v){return p(v)==="[object Set]"}Z.working=typeof Set<"u"&&Z(new Set);function ie(v){return typeof Set>"u"?!1:Z.working?Z(v):v instanceof Set}e.isSet=ie;function oe(v){return p(v)==="[object WeakMap]"}oe.working=typeof WeakMap<"u"&&oe(new WeakMap);function ee(v){return typeof WeakMap>"u"?!1:oe.working?oe(v):v instanceof WeakMap}e.isWeakMap=ee;function te(v){return p(v)==="[object WeakSet]"}te.working=typeof WeakSet<"u"&&te(new WeakSet);function K(v){return te(v)}e.isWeakSet=K;function re(v){return p(v)==="[object ArrayBuffer]"}re.working=typeof ArrayBuffer<"u"&&re(new ArrayBuffer);function fe(v){return typeof ArrayBuffer>"u"?!1:re.working?re(v):v instanceof ArrayBuffer}e.isArrayBuffer=fe;function d(v){return p(v)==="[object DataView]"}d.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&d(new DataView(new ArrayBuffer(1),0,1));function g(v){return typeof DataView>"u"?!1:d.working?d(v):v instanceof DataView}e.isDataView=g;var _=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function B(v){return p(v)==="[object SharedArrayBuffer]"}function s(v){return typeof _>"u"?!1:(typeof B.working>"u"&&(B.working=B(new _)),B.working?B(v):v instanceof _)}e.isSharedArrayBuffer=s;function f(v){return p(v)==="[object AsyncFunction]"}e.isAsyncFunction=f;function y(v){return p(v)==="[object Map Iterator]"}e.isMapIterator=y;function w(v){return p(v)==="[object Set Iterator]"}e.isSetIterator=w;function L(v){return p(v)==="[object Generator]"}e.isGeneratorObject=L;function o(v){return p(v)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=o;function a(v){return P(v,A)}e.isNumberObject=a;function b(v){return P(v,C)}e.isStringObject=b;function O(v){return P(v,E)}e.isBooleanObject=O;function H(v){return l&&P(v,I)}e.isBigIntObject=H;function U(v){return h&&P(v,q)}e.isSymbolObject=U;function G(v){return a(v)||b(v)||O(v)||H(v)||U(v)}e.isBoxedPrimitive=G;function se(v){return typeof Uint8Array<"u"&&(fe(v)||s(v))}e.isAnyArrayBuffer=se,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(v){Object.defineProperty(e,v,{enumerable:!1,value:function(){throw new Error(v+" is not supported in userland")}})})})(Or);var Wi=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t=Object.getOwnPropertyDescriptors||function(g){for(var _=Object.keys(g),B={},s=0;s<_.length;s++)B[_[s]]=Object.getOwnPropertyDescriptor(g,_[s]);return B},r=/%[sdj%]/g;e.format=function(d){if(!j(d)){for(var g=[],_=0;_<arguments.length;_++)g.push(l(arguments[_]));return g.join(" ")}for(var _=1,B=arguments,s=B.length,f=String(d).replace(r,function(w){if(w==="%%")return"%";if(_>=s)return w;switch(w){case"%s":return String(B[_++]);case"%d":return Number(B[_++]);case"%j":try{return JSON.stringify(B[_++])}catch{return"[Circular]"}default:return w}}),y=B[_];_<s;y=B[++_])m(y)||!D(y)?f+=" "+y:f+=" "+l(y);return f},e.deprecate=function(d,g){if(typeof R.process$1<"u"&&R.process$1.noDeprecation===!0)return d;if(typeof R.process$1>"u")return function(){return e.deprecate(d,g).apply(this,arguments)};var _=!1;function B(){if(!_){if(R.process$1.throwDeprecation)throw new Error(g);R.process$1.traceDeprecation?console.trace(g):console.error(g),_=!0}return d.apply(this,arguments)}return B};var n={},i=/^$/;if(R.process$1.env.NODE_DEBUG){var c=R.process$1.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+c+"$","i")}e.debuglog=function(d){if(d=d.toUpperCase(),!n[d])if(i.test(d)){var g=R.process$1.pid;n[d]=function(){var _=e.format.apply(e,arguments);console.error("%s %d: %s",d,g,_)}}else n[d]=function(){};return n[d]};function l(d,g){var _={seen:[],stylize:p};return arguments.length>=3&&(_.depth=arguments[2]),arguments.length>=4&&(_.colors=arguments[3]),u(g)?_.showHidden=g:g&&e._extend(_,g),W(_.showHidden)&&(_.showHidden=!1),W(_.depth)&&(_.depth=2),W(_.colors)&&(_.colors=!1),W(_.customInspect)&&(_.customInspect=!0),_.colors&&(_.stylize=h),C(_,d,_.depth)}e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function h(d,g){var _=l.styles[g];return _?"\x1B["+l.colors[_][0]+"m"+d+"\x1B["+l.colors[_][1]+"m":d}function p(d,g){return d}function A(d){var g={};return d.forEach(function(_,B){g[_]=!0}),g}function C(d,g,_){if(d.customInspect&&g&&X(g.inspect)&&g.inspect!==e.inspect&&!(g.constructor&&g.constructor.prototype===g)){var B=g.inspect(_,d);return j(B)||(B=C(d,B,_)),B}var s=E(d,g);if(s)return s;var f=Object.keys(g),y=A(f);if(d.showHidden&&(f=Object.getOwnPropertyNames(g)),J(g)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return I(g);if(f.length===0){if(X(g)){var w=g.name?": "+g.name:"";return d.stylize("[Function"+w+"]","special")}if($(g))return d.stylize(RegExp.prototype.toString.call(g),"regexp");if(z(g))return d.stylize(Date.prototype.toString.call(g),"date");if(J(g))return I(g)}var L="",o=!1,a=["{","}"];if(M(g)&&(o=!0,a=["[","]"]),X(g)){var b=g.name?": "+g.name:"";L=" [Function"+b+"]"}if($(g)&&(L=" "+RegExp.prototype.toString.call(g)),z(g)&&(L=" "+Date.prototype.toUTCString.call(g)),J(g)&&(L=" "+I(g)),f.length===0&&(!o||g.length==0))return a[0]+L+a[1];if(_<0)return $(g)?d.stylize(RegExp.prototype.toString.call(g),"regexp"):d.stylize("[Object]","special");d.seen.push(g);var O;return o?O=q(d,g,_,y,f):O=f.map(function(H){return P(d,g,_,y,H,o)}),d.seen.pop(),N(O,L,a)}function E(d,g){if(W(g))return d.stylize("undefined","undefined");if(j(g)){var _="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(_,"string")}if(T(g))return d.stylize(""+g,"number");if(u(g))return d.stylize(""+g,"boolean");if(m(g))return d.stylize("null","null")}function I(d){return"["+Error.prototype.toString.call(d)+"]"}function q(d,g,_,B,s){for(var f=[],y=0,w=g.length;y<w;++y)te(g,String(y))?f.push(P(d,g,_,B,String(y),!0)):f.push("");return s.forEach(function(L){L.match(/^\d+$/)||f.push(P(d,g,_,B,L,!0))}),f}function P(d,g,_,B,s,f){var y,w,L;if(L=Object.getOwnPropertyDescriptor(g,s)||{value:g[s]},L.get?L.set?w=d.stylize("[Getter/Setter]","special"):w=d.stylize("[Getter]","special"):L.set&&(w=d.stylize("[Setter]","special")),te(B,s)||(y="["+s+"]"),w||(d.seen.indexOf(L.value)<0?(m(_)?w=C(d,L.value,null):w=C(d,L.value,_-1),w.indexOf(`
|
|
2
2
|
`)>-1&&(f?w=w.split(`
|
|
3
3
|
`).map(function(o){return" "+o}).join(`
|
|
4
4
|
`).slice(2):w=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as V, a as br, d as on, p as U, B as ce, g as an } from "./index-
|
|
2
|
-
import { u as fn } from "./url-
|
|
1
|
+
import { c as V, a as br, d as on, p as U, B as ce, g as an } from "./index-Ba7-TkGo.js";
|
|
2
|
+
import { u as fn } from "./url-CBUIAJr7.js";
|
|
3
3
|
function un(e, t) {
|
|
4
4
|
for (var r = 0; r < t.length; r++) {
|
|
5
5
|
const n = t[r];
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}#react-doc-viewer{--rdv-primary: #fff;--rdv-secondary: #000;--rdv-tertiary: #ffffff99;--rdv-text-primary: #000;--rdv-text-secondary: #fff;--rdv-text-tertiary: #00000044}@keyframes rdv-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rdv-pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.8}to{transform:scale(1);opacity:1}}@keyframes rdv-thumbnail-spin{to{transform:rotate(360deg)}}.rdv-container{display:flex;flex-direction:column;background:#fff;width:100%;height:100%;position:relative}.rdv-btn{display:flex;justify-content:center;align-items:center;width:35px;height:35px;padding:0;margin:0 0 0 5px;text-align:center;font-size:18px;border:0;outline:none;cursor:pointer;text-decoration:none;border-radius:35px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003}.rdv-btn:disabled{opacity:.4;pointer-events:none}.rdv-btn-secondary{background-color:var(--rdv-secondary);color:var(--rdv-text-secondary)}.rdv-link-btn{display:flex;justify-content:center;align-items:center;border:0;outline:none;cursor:pointer;text-decoration:none;border-radius:35px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003;width:35px;height:35px;font-size:18px}.rdv-header-bar{display:flex;justify-content:flex-end;align-items:center;z-index:1;padding:0 10px;background-color:var(--rdv-primary);font-size:16px;min-height:50px}.rdv-file-name{flex:1;text-align:left;color:var(--rdv-text-primary);font-weight:700;margin:0 10px;overflow:hidden}.rdv-doc-nav{min-width:150px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin:0 10px;color:var(--rdv-text-primary)}.rdv-doc-nav-btn-prev{width:30px;height:30px;margin:0 5px 0 10px}.rdv-doc-nav-btn-next{width:30px;height:30px;margin:0 5px}.rdv-loading-container{display:flex;flex:1;height:75px;align-items:center;justify-content:center}.rdv-loading-icon{animation-name:rdv-spin;animation-duration:4s;animation-timing-function:linear;animation-iteration-count:infinite}.rdv-download-btn{width:130px;height:30px;background-color:var(--rdv-primary)}.rdv-html-container{display:flex;flex-direction:column;width:100%;padding:0 30px}.rdv-html-iframe{height:100%;padding:15px;margin:20px 0;border:1px solid var(--rdv-secondary)}.rdv-csv-container{width:100%}.rdv-csv-table{width:100%;text-align:left}.rdv-csv-table th,.rdv-csv-table td{padding:5px 10px}.rdv-csv-table th:empty,.rdv-csv-table td:empty{display:none}.rdv-txt-container{display:flex;flex-direction:column;width:100%;padding:30px}.rdv-image-container{display:flex;flex:1;align-items:center;justify-content:center;width:100%;height:100%;background-color:#fff}.rdv-image-img{max-width:95%;max-height:95%}.rdv-png-checkerboard,.rdv-png-checkerboard .rdv-image-container{background-image:linear-gradient(45deg,#e0e0e0 25%,transparent 25%),linear-gradient(-45deg,#e0e0e0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e0 75%),linear-gradient(-45deg,transparent 75%,#e0e0e0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px}.rdv-tiff-canvas{max-width:95%;max-height:95%}.rdv-video-container{width:100%}.rdv-video-player{width:100%;height:100%;border:0}.rdv-msdoc-container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:300px}.rdv-msdoc-content{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px;text-align:center}.rdv-msdoc-file-icon{color:var(--rdv-text-secondary, #666);margin-bottom:8px}.rdv-msdoc-file-name{font-size:18px;font-weight:600;color:var(--rdv-text-primary, #333);word-break:break-word;max-width:400px}.rdv-msdoc-file-type{font-size:14px;color:var(--rdv-text-secondary, #888)}.rdv-msdoc-download-link{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:10px 24px;font-size:14px;font-weight:500;color:#fff;background:var(--rdv-primary, #3366cc);border-radius:6px;text-decoration:none;transition:opacity .15s}.rdv-msdoc-download-link:hover{opacity:.85}.rdv-pdf-container{display:flex;flex-direction:column;flex:1;overflow:hidden}.rdv-pdf-container::-webkit-scrollbar{width:10px}.rdv-pdf-container[data-disable-scrollbar]::-webkit-scrollbar{width:0}.rdv-pdf-container::-webkit-scrollbar-thumb{background:var(--rdv-tertiary)}.rdv-pdf-container::-webkit-scrollbar-thumb:hover{background:var(--rdv-primary)}.rdv-pdf-content-wrapper{display:flex;flex:1;overflow:hidden}.rdv-pdf-main-content{display:flex;flex-direction:column;flex:1;overflow:auto}.rdv-pdf-controls{display:flex;position:sticky;top:0;left:0;z-index:1;justify-content:center;padding:6px 8px;background:#ffffffe0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 1px 3px #0000000a}.rdv-toolbar-inner,.rdv-toolbar-group{display:flex;align-items:center;gap:2px}.rdv-toolbar-divider{width:1px;height:20px;margin:0 6px;background:#0000001a;flex-shrink:0}.rdv-toolbar-btn{display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding:0;margin:0;border:0;outline:none;cursor:pointer;border-radius:6px;background:transparent;color:#4b5563;transition:background .15s ease,opacity .15s ease;flex-shrink:0;box-sizing:border-box}.rdv-toolbar-btn:hover{background:#0000000f}.rdv-toolbar-btn:active{background:#0000001a}.rdv-toolbar-btn:disabled{opacity:.3;pointer-events:none}.rdv-toolbar-btn:focus-visible{box-shadow:0 0 0 2px #3b82f680}.rdv-toolbar-page-info{display:flex;align-items:center;gap:4px;margin:0 2px}.rdv-toolbar-page-input{width:44px;height:28px;text-align:center;font-size:13px;font-family:inherit;font-variant-numeric:tabular-nums;border:1px solid rgba(0,0,0,.12);border-radius:6px;outline:none;padding:0 4px;box-sizing:border-box;background:#00000008;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.rdv-toolbar-page-input:hover{border-color:#0003}.rdv-toolbar-page-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;background:#fff}.rdv-toolbar-page-total{font-size:13px;font-variant-numeric:tabular-nums;color:#9ca3af;white-space:nowrap;-webkit-user-select:none;user-select:none}.rdv-toolbar-zoom-label{font-size:12px;font-variant-numeric:tabular-nums;color:#6b7280;white-space:nowrap;-webkit-user-select:none;user-select:none;min-width:38px;text-align:center}.rdv-pdf-control-btn,.rdv-pdf-download-btn{width:32px;height:32px}.rdv-pdf-pagination{display:flex;align-items:center}.rdv-pdf-page-nav-btn-left,.rdv-pdf-page-nav-btn-right{width:32px;height:32px}.rdv-pdf-page-tag{color:var(--rdv-text-primary);font-size:13px}.rdv-pdf-document{display:flex;flex-direction:column;margin:0 auto}.rdv-pdf-page-wrapper{margin:0}.rdv-pdf-page-wrapper[data-last-page]{margin:20px 0}.rdv-pdf-page-tag-info{padding:0 0 10px 10px;color:var(--rdv-text-tertiary);font-size:14px;text-align:left}.rdv-pdf-page-container{position:relative;display:inline-block}.rdv-pdf-thumbnail-hidden{position:absolute;left:-9999px;top:-9999px;visibility:hidden;pointer-events:none}.rdv-pdf-thumbnail-page{display:inline-block}.rdv-dropzone-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#0064c8d9;display:flex;align-items:center;justify-content:center;z-index:1000;animation:rdv-pulse 1.5s ease-in-out infinite}.rdv-dropzone-content{display:flex;flex-direction:column;align-items:center;gap:16px;padding:40px;border:3px dashed rgba(255,255,255,.7);border-radius:16px;color:#fff}.rdv-dropzone-message{font-size:20px;font-weight:600;color:#fff;text-align:center}.rdv-thumbnail-sidebar{display:flex;flex-direction:column;background-color:var(--rdv-primary);border-right:1px solid #e0e0e0;flex-shrink:0;width:fit-content;height:100%;overflow:hidden}.rdv-thumbnail-scroll-area{display:flex;flex-direction:column;gap:8px;padding:12px;overflow-y:auto;flex:1;min-height:0}.rdv-thumbnail-scroll-area::-webkit-scrollbar{width:6px}.rdv-thumbnail-scroll-area::-webkit-scrollbar-track{background:transparent}.rdv-thumbnail-scroll-area::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:3px}.rdv-thumbnail-scroll-area::-webkit-scrollbar-thumb:hover{background-color:#aaa}.rdv-thumbnail-item{display:flex;flex-direction:column;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:background-color .2s ease;background-color:transparent;border:2px solid transparent}.rdv-thumbnail-item[data-selected]{background-color:#0064c826;border-color:#0064c8}.rdv-thumbnail-item:hover{background-color:#0000000d}.rdv-thumbnail-item[data-selected]:hover{background-color:#0064c833}.rdv-thumbnail-item:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-thumbnail-wrapper{box-shadow:0 2px 4px #00000026;border-radius:2px;overflow:hidden}.rdv-thumbnail-image{height:auto;display:block}.rdv-thumbnail-loading{background-color:#f0f0f0;display:flex;align-items:center;justify-content:center}.rdv-thumbnail-placeholder{background-color:#e0e0e0;display:flex;align-items:center;justify-content:center;font-size:24px;color:#888}.rdv-thumbnail-page-number{margin-top:4px;font-size:12px;color:#666}.rdv-thumbnail-spinner{width:20px;height:20px;border:2px solid #e0e0e0;border-top-color:#666;border-radius:50%;animation:rdv-thumbnail-spin 1s linear infinite}.rdv-thumbnail-toggle{display:flex;justify-content:center;align-items:center;width:30px;height:30px;padding:0;margin:0 0 0 5px;border:0;outline:none;cursor:pointer;border-radius:30px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003;transition:transform .2s ease}.rdv-thumbnail-toggle:hover{transform:scale(1.05)}.rdv-annotation-layer{position:absolute;top:0;left:0;pointer-events:none}.rdv-annotation-layer>*{pointer-events:auto}.rdv-annotation-drawing-canvas{position:absolute;top:0;left:0;pointer-events:none}.rdv-annotation-drawing-canvas[data-pen-active]{pointer-events:auto}.rdv-annotation-toolbar{display:flex;align-items:center;gap:8px;padding:8px;background-color:var(--rdv-tertiary);border-bottom:1px solid #e0e0e0}.rdv-annotation-tool-group{display:flex;gap:4px}.rdv-annotation-tool-btn{display:flex;justify-content:center;align-items:center;width:36px;height:36px;padding:0;border:none;border-radius:6px;background-color:#fff;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.rdv-annotation-tool-btn[data-active]{background-color:#0064c826}.rdv-annotation-tool-btn:hover{background-color:#f0f0f0}.rdv-annotation-tool-btn[data-active]:hover{background-color:#0064c833}.rdv-annotation-tool-btn:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-annotation-separator{width:1px;height:24px;background-color:#ccc}.rdv-color-picker{display:flex;gap:4px;padding:4px;background:#fff;border-radius:4px;box-shadow:0 2px 4px #0000001a}.rdv-color-btn{width:24px;height:24px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s ease,border-color .15s ease;padding:0}.rdv-color-btn[data-selected]{border-color:#333}.rdv-color-btn:hover{transform:scale(1.15)}.rdv-color-btn:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-comment-container{position:absolute;z-index:10}.rdv-comment-marker{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:2px solid white;cursor:pointer;box-shadow:0 2px 4px #0003;transition:transform .15s ease;padding:0}.rdv-comment-marker[data-selected]{border-color:#0064c8}.rdv-comment-marker:hover{transform:scale(1.1)}.rdv-comment-marker:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-comment-popover{position:absolute;top:32px;left:0;width:250px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:100;overflow:hidden}.rdv-comment-popover-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #e0e0e0;background:#f8f8f8}.rdv-comment-popover-title{font-size:12px;font-weight:600;color:#333}.rdv-comment-popover-delete{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent;cursor:pointer;border-radius:4px}.rdv-comment-popover-delete:hover{background:#e0e0e0}.rdv-comment-popover-textarea{width:100%;min-height:80px;padding:12px;border:none;resize:none;font-family:inherit;font-size:14px;box-sizing:border-box}.rdv-comment-popover-textarea:focus{outline:none}.rdv-comment-popover-textarea::placeholder{color:#999}.rdv-comment-popover-text{padding:12px;font-size:14px;color:#333;cursor:text;min-height:40px}.rdv-comment-popover-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-top:1px solid #e0e0e0}.rdv-comment-popover-timestamp{font-size:11px;color:#999}.rdv-comment-popover-save{padding:4px 12px;border:none;border-radius:4px;background:#0064c8;color:#fff;font-size:12px;cursor:pointer}.rdv-comment-popover-save:disabled{background:#ccc;cursor:not-allowed}.rdv-comment-popover-save:hover:not(:disabled){background:#0054a8}.rdv-highlight-rect{position:absolute;opacity:.4;pointer-events:auto;cursor:pointer;box-sizing:border-box;transition:opacity .15s ease}.rdv-highlight-rect[data-selected]{border:2px solid #0064c8}.rdv-highlight-rect:hover{opacity:.6}.rdv-pdf-progress-bar{height:3px;width:100%;background:#0000000f;overflow:hidden;flex-shrink:0}.rdv-pdf-progress-fill{height:100%;background:#3b82f6;transition:width .3s ease;border-radius:0 2px 2px 0}.rdv-watermark-overlay{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;overflow:hidden;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-template-rows:repeat(auto-fill,minmax(120px,1fr));align-items:center;justify-items:center;z-index:5}.rdv-watermark-text{white-space:nowrap;-webkit-user-select:none;user-select:none;font-weight:700;letter-spacing:2px}.react-pdf__Page__textContent{position:absolute!important;top:0;left:0;right:0;bottom:0;overflow:hidden;line-height:1}.react-pdf__Page__textContent span{color:transparent;position:absolute;white-space:pre;transform-origin:0% 0%}.react-pdf__Page__textContent span::selection{background:#0064c84d}.rdv-password-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#00000080;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.rdv-password-modal{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 40px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:360px;width:90%}.rdv-password-icon{color:#6b7280}.rdv-password-title{font-size:16px;font-weight:600;color:#1f2937;text-align:center;margin:0}.rdv-password-error{font-size:13px;color:#ef4444;margin:0;text-align:center}.rdv-password-input{width:100%;padding:10px 14px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.rdv-password-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.rdv-password-submit{width:100%;padding:10px;font-size:14px;font-weight:500;color:#fff;background:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:background .15s ease}.rdv-password-submit:hover{background:#2563eb}.rdv-search-bar{display:flex;align-items:center;gap:4px;padding:6px 8px;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 1px 3px #0000000a}.rdv-search-input{flex:1;min-width:120px;max-width:280px;height:30px;padding:0 10px;font-size:13px;border:1px solid rgba(0,0,0,.12);border-radius:6px;outline:none;background:#00000008;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease}.rdv-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;background:#fff}.rdv-search-count{font-size:12px;color:#6b7280;white-space:nowrap;min-width:60px;text-align:center}.rdv-bookmarks-sidebar{display:flex;flex-direction:column;width:240px;flex-shrink:0;background:#f9fafb;border-right:1px solid #e5e7eb;overflow:hidden}.rdv-bookmarks-header{padding:12px 16px;font-size:14px;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;flex-shrink:0}.rdv-bookmarks-title{-webkit-user-select:none;user-select:none}.rdv-bookmarks-list{overflow-y:auto;flex:1;min-height:0}.rdv-bookmarks-list::-webkit-scrollbar{width:6px}.rdv-bookmarks-list::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:3px}.rdv-bookmarks-empty{padding:24px 16px;text-align:center;font-size:13px;color:#9ca3af}.rdv-bookmark-item-wrapper{display:flex;flex-direction:column}.rdv-bookmark-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:none;background:transparent;cursor:pointer;text-align:left;font-size:13px;color:#374151;width:100%;box-sizing:border-box;transition:background .12s ease}.rdv-bookmark-item:hover{background:#0000000a}.rdv-bookmark-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdv-bookmark-page{font-size:11px;color:#9ca3af;flex-shrink:0}.rdv-bookmark-children{display:flex;flex-direction:column}.rdv-split-container{display:flex;width:100%;height:100%;overflow:hidden}.rdv-split-panel{overflow:hidden;min-width:200px}.rdv-split-panel>.rdv-container{width:100%;height:100%}.rdv-split-divider{width:6px;cursor:col-resize;background:#e5e7eb;flex-shrink:0;transition:background .15s ease;position:relative}.rdv-split-divider:hover{background:#3b82f6}.rdv-split-divider:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2px;height:24px;background:#9ca3af;border-radius:1px}.rdv-split-divider:hover:after{background:#fff}.rdv-pdf-container:fullscreen{background:#fff}.rdv-pdf-container:fullscreen .rdv-pdf-main-content{height:100vh}@media print{.rdv-pdf-controls,.rdv-header-bar,.rdv-thumbnail-sidebar,.rdv-annotation-toolbar,.rdv-bookmarks-sidebar,.rdv-search-bar,.rdv-dropzone-overlay{display:none!important}.rdv-pdf-main-content{overflow:visible!important}}#react-doc-viewer[data-theme=dark]{--rdv-primary: #1f2937;--rdv-secondary: #f9fafb;--rdv-tertiary: #37415199;--rdv-text-primary: #f9fafb;--rdv-text-secondary: #1f2937;--rdv-text-tertiary: #ffffff44}#react-doc-viewer[data-theme=dark] .rdv-container{background:#111827;color:#f9fafb}#react-doc-viewer[data-theme=dark] .rdv-pdf-controls{background:#1f2937eb;border-bottom-color:#ffffff0f}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn:hover{background:#ffffff14}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn:active{background:#ffffff1f}#react-doc-viewer[data-theme=dark] .rdv-toolbar-divider{background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-input{background:#ffffff0f;border-color:#ffffff1f;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-input:focus{border-color:#3b82f6;background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-total{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-toolbar-zoom-label{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-sidebar{background:#1f2937;border-right-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-item:hover{background:#ffffff0d}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-page-number{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-annotation-toolbar{background:#1f2937e6;border-bottom-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-annotation-tool-btn{background:#374151;color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-annotation-tool-btn:hover{background:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-bookmarks-sidebar{background:#1f2937;border-right-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-bookmarks-header{color:#e5e7eb;border-bottom-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-bookmark-item{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-bookmark-item:hover{background:#ffffff0d}#react-doc-viewer[data-theme=dark] .rdv-bookmark-page{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-search-bar{background:#1f2937f2;border-bottom-color:#ffffff14}#react-doc-viewer[data-theme=dark] .rdv-search-input{background:#ffffff0f;border-color:#ffffff1f;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-search-input:focus{border-color:#3b82f6;background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-search-count{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-password-modal{background:#1f2937;box-shadow:0 8px 32px #0006}#react-doc-viewer[data-theme=dark] .rdv-password-title{color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-password-input{background:#374151;border-color:#4b5563;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-password-input:focus{border-color:#3b82f6}#react-doc-viewer[data-theme=dark] .rdv-pdf-page-tag-info{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-comment-popover{background:#1f2937}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-header{background:#374151;border-bottom-color:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-title{color:#e5e7eb}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-textarea{background:#1f2937;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-text{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-footer{border-top-color:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-color-picker,#react-doc-viewer[data-theme=dark] .rdv-split-divider{background:#374151}#react-doc-viewer[data-theme=dark] .rdv-split-divider:after{background:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-pdf-container:fullscreen{background:#111827}@media (max-width: 768px){.rdv-btn,.rdv-link-btn{width:30px;height:30px;font-size:15px}.rdv-header-bar{min-height:30px;padding:5px;font-size:10px}.rdv-doc-nav-btn-prev,.rdv-doc-nav-btn-next{width:25px;height:25px}.rdv-download-btn{width:125px;height:25px}.rdv-pdf-controls{padding:4px 6px}.rdv-toolbar-btn{width:28px;height:28px;border-radius:5px}.rdv-toolbar-divider{height:16px;margin:0 4px}.rdv-toolbar-page-input{width:36px;height:24px;font-size:11px}.rdv-toolbar-page-total{font-size:11px}.rdv-toolbar-zoom-label{font-size:11px;min-width:32px}.rdv-pdf-control-btn,.rdv-pdf-download-btn,.rdv-pdf-page-nav-btn-left,.rdv-pdf-page-nav-btn-right{width:28px;height:28px}.rdv-pdf-page-tag,.rdv-pdf-page-tag-info{font-size:10px}.rdv-dropzone-message{font-size:16px}.rdv-thumbnail-scroll-area{padding:8px}.rdv-thumbnail-toggle{width:28px;height:28px}.rdv-annotation-toolbar{padding:6px;gap:4px}.rdv-annotation-tool-btn{width:30px;height:30px}.rdv-color-btn{width:20px;height:20px}}
|
|
1
|
+
:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}#react-doc-viewer{--rdv-primary: #fff;--rdv-secondary: #000;--rdv-tertiary: #ffffff99;--rdv-text-primary: #000;--rdv-text-secondary: #fff;--rdv-text-tertiary: #00000044}@keyframes rdv-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rdv-pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.8}to{transform:scale(1);opacity:1}}@keyframes rdv-thumbnail-spin{to{transform:rotate(360deg)}}.rdv-container{display:flex;flex-direction:column;background:#fff;width:100%;height:100%;position:relative}.rdv-btn{display:flex;justify-content:center;align-items:center;width:35px;height:35px;padding:0;margin:0 0 0 5px;text-align:center;font-size:18px;border:0;outline:none;cursor:pointer;text-decoration:none;border-radius:35px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003}.rdv-btn:disabled{opacity:.4;pointer-events:none}.rdv-btn-secondary{background-color:var(--rdv-secondary);color:var(--rdv-text-secondary)}.rdv-link-btn{display:flex;justify-content:center;align-items:center;border:0;outline:none;cursor:pointer;text-decoration:none;border-radius:35px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003;width:35px;height:35px;font-size:18px}.rdv-header-bar{display:flex;justify-content:flex-end;align-items:center;z-index:1;padding:0 10px;background-color:var(--rdv-primary);font-size:16px;min-height:50px}.rdv-file-name{flex:1;text-align:left;color:var(--rdv-text-primary);font-weight:700;margin:0 10px;overflow:hidden}.rdv-doc-nav{min-width:150px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin:0 10px;color:var(--rdv-text-primary)}.rdv-doc-nav-btn-prev{width:30px;height:30px;margin:0 5px 0 10px}.rdv-doc-nav-btn-next{width:30px;height:30px;margin:0 5px}.rdv-loading-container{display:flex;flex:1;height:75px;align-items:center;justify-content:center}.rdv-loading-icon{animation-name:rdv-spin;animation-duration:4s;animation-timing-function:linear;animation-iteration-count:infinite}.rdv-download-btn{width:130px;height:30px;background-color:var(--rdv-primary)}.rdv-html-container{display:flex;flex-direction:column;width:100%;padding:0 30px}.rdv-html-iframe{height:100%;padding:15px;margin:20px 0;border:1px solid var(--rdv-secondary)}.rdv-csv-container{width:100%}.rdv-csv-table{width:100%;text-align:left}.rdv-csv-table th,.rdv-csv-table td{padding:5px 10px}.rdv-csv-table th:empty,.rdv-csv-table td:empty{display:none}.rdv-txt-container{display:flex;flex-direction:column;width:100%;padding:30px}.rdv-image-container{display:flex;flex:1;align-items:center;justify-content:center;width:100%;height:100%;background-color:#fff}.rdv-image-img{max-width:95%;max-height:95%}.rdv-png-checkerboard,.rdv-png-checkerboard .rdv-image-container{background-image:linear-gradient(45deg,#e0e0e0 25%,transparent 25%),linear-gradient(-45deg,#e0e0e0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e0 75%),linear-gradient(-45deg,transparent 75%,#e0e0e0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px}.rdv-tiff-canvas{max-width:95%;max-height:95%}.rdv-video-container{width:100%}.rdv-video-player{width:100%;height:100%;border:0}.rdv-docx-viewer{width:100%;height:100%;overflow:auto;background:#fff}.rdv-docx-viewer .docx-wrapper{background:#fff;padding:20px}.rdv-msdoc-container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:300px}.rdv-msdoc-content{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px;text-align:center}.rdv-msdoc-file-icon{color:var(--rdv-text-secondary, #666);margin-bottom:8px}.rdv-msdoc-file-name{font-size:18px;font-weight:600;color:var(--rdv-text-primary, #333);word-break:break-word;max-width:400px}.rdv-msdoc-file-type{font-size:14px;color:var(--rdv-text-secondary, #888)}.rdv-msdoc-download-link{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:10px 24px;font-size:14px;font-weight:500;color:#fff;background:var(--rdv-primary, #3366cc);border-radius:6px;text-decoration:none;transition:opacity .15s}.rdv-msdoc-download-link:hover{opacity:.85}.rdv-msdoc-iframe-container{width:100%;height:100%;min-height:500px}.rdv-msdoc-iframe{width:100%;height:100%;border:0}.rdv-markdown-container{width:100%;height:100%;overflow:auto;background:#fff}.rdv-markdown-content{max-width:800px;margin:0 auto;padding:30px;font-size:16px;line-height:1.6;color:#1f2937}.rdv-markdown-content h1{font-size:2em;margin:.67em 0;font-weight:700}.rdv-markdown-content h2{font-size:1.5em;margin:.75em 0;font-weight:600;border-bottom:1px solid #e5e7eb;padding-bottom:.3em}.rdv-markdown-content h3{font-size:1.25em;margin:.75em 0;font-weight:600}.rdv-markdown-content h4{font-size:1em;margin:.75em 0;font-weight:600}.rdv-markdown-content p{margin:.75em 0}.rdv-markdown-content a{color:#2563eb;text-decoration:underline}.rdv-markdown-content a:hover{color:#1d4ed8}.rdv-markdown-content code{background:#f3f4f6;padding:.2em .4em;border-radius:4px;font-size:.9em;font-family:monospace}.rdv-markdown-content pre{background:#1f2937;color:#e5e7eb;padding:16px;border-radius:8px;overflow-x:auto;margin:1em 0}.rdv-markdown-content pre code{background:none;padding:0;color:inherit;font-size:.9em}.rdv-markdown-content ul{padding-left:2em;margin:.75em 0}.rdv-markdown-content li{margin:.25em 0}.rdv-markdown-content hr{border:none;border-top:1px solid #e5e7eb;margin:1.5em 0}.rdv-markdown-content img{max-width:100%;border-radius:8px}.rdv-pdf-container{display:flex;flex-direction:column;flex:1;overflow:hidden}.rdv-pdf-container::-webkit-scrollbar{width:10px}.rdv-pdf-container[data-disable-scrollbar]::-webkit-scrollbar{width:0}.rdv-pdf-container::-webkit-scrollbar-thumb{background:var(--rdv-tertiary)}.rdv-pdf-container::-webkit-scrollbar-thumb:hover{background:var(--rdv-primary)}.rdv-pdf-content-wrapper{display:flex;flex:1;overflow:hidden}.rdv-pdf-main-content{display:flex;flex-direction:column;flex:1;overflow:auto}.rdv-pdf-controls{display:flex;position:sticky;top:0;left:0;z-index:1;justify-content:center;padding:6px 8px;background:#ffffffe0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 1px 3px #0000000a}.rdv-toolbar-inner,.rdv-toolbar-group{display:flex;align-items:center;gap:2px}.rdv-toolbar-divider{width:1px;height:20px;margin:0 6px;background:#0000001a;flex-shrink:0}.rdv-toolbar-btn{display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding:0;margin:0;border:0;outline:none;cursor:pointer;border-radius:6px;background:transparent;color:#4b5563;transition:background .15s ease,opacity .15s ease;flex-shrink:0;box-sizing:border-box}.rdv-toolbar-btn:hover{background:#0000000f}.rdv-toolbar-btn:active{background:#0000001a}.rdv-toolbar-btn:disabled{opacity:.3;pointer-events:none}.rdv-toolbar-btn:focus-visible{box-shadow:0 0 0 2px #3b82f680}.rdv-toolbar-page-info{display:flex;align-items:center;gap:4px;margin:0 2px}.rdv-toolbar-page-input{width:44px;height:28px;text-align:center;font-size:13px;font-family:inherit;font-variant-numeric:tabular-nums;border:1px solid rgba(0,0,0,.12);border-radius:6px;outline:none;padding:0 4px;box-sizing:border-box;background:#00000008;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.rdv-toolbar-page-input:hover{border-color:#0003}.rdv-toolbar-page-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;background:#fff}.rdv-toolbar-page-total{font-size:13px;font-variant-numeric:tabular-nums;color:#9ca3af;white-space:nowrap;-webkit-user-select:none;user-select:none}.rdv-toolbar-zoom-label{font-size:12px;font-variant-numeric:tabular-nums;color:#6b7280;white-space:nowrap;-webkit-user-select:none;user-select:none;min-width:38px;text-align:center}.rdv-pdf-control-btn,.rdv-pdf-download-btn{width:32px;height:32px}.rdv-pdf-pagination{display:flex;align-items:center}.rdv-pdf-page-nav-btn-left,.rdv-pdf-page-nav-btn-right{width:32px;height:32px}.rdv-pdf-page-tag{color:var(--rdv-text-primary);font-size:13px}.rdv-pdf-document{display:flex;flex-direction:column;margin:0 auto}.rdv-pdf-page-wrapper{margin:0}.rdv-pdf-page-wrapper[data-last-page]{margin:20px 0}.rdv-pdf-page-tag-info{padding:0 0 10px 10px;color:var(--rdv-text-tertiary);font-size:14px;text-align:left}.rdv-pdf-page-container{position:relative;display:inline-block}.rdv-pdf-thumbnail-hidden{position:absolute;left:-9999px;top:-9999px;visibility:hidden;pointer-events:none}.rdv-pdf-thumbnail-page{display:inline-block}.rdv-dropzone-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#0064c8d9;display:flex;align-items:center;justify-content:center;z-index:1000;animation:rdv-pulse 1.5s ease-in-out infinite}.rdv-dropzone-content{display:flex;flex-direction:column;align-items:center;gap:16px;padding:40px;border:3px dashed rgba(255,255,255,.7);border-radius:16px;color:#fff}.rdv-dropzone-message{font-size:20px;font-weight:600;color:#fff;text-align:center}.rdv-thumbnail-sidebar{display:flex;flex-direction:column;background-color:var(--rdv-primary);border-right:1px solid #e0e0e0;flex-shrink:0;width:fit-content;height:100%;overflow:hidden}.rdv-thumbnail-scroll-area{display:flex;flex-direction:column;gap:8px;padding:12px;overflow-y:auto;flex:1;min-height:0}.rdv-thumbnail-scroll-area::-webkit-scrollbar{width:6px}.rdv-thumbnail-scroll-area::-webkit-scrollbar-track{background:transparent}.rdv-thumbnail-scroll-area::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:3px}.rdv-thumbnail-scroll-area::-webkit-scrollbar-thumb:hover{background-color:#aaa}.rdv-thumbnail-item{display:flex;flex-direction:column;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:background-color .2s ease;background-color:transparent;border:2px solid transparent}.rdv-thumbnail-item[data-selected]{background-color:#0064c826;border-color:#0064c8}.rdv-thumbnail-item:hover{background-color:#0000000d}.rdv-thumbnail-item[data-selected]:hover{background-color:#0064c833}.rdv-thumbnail-item:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-thumbnail-wrapper{box-shadow:0 2px 4px #00000026;border-radius:2px;overflow:hidden}.rdv-thumbnail-image{height:auto;display:block}.rdv-thumbnail-loading{background-color:#f0f0f0;display:flex;align-items:center;justify-content:center}.rdv-thumbnail-placeholder{background-color:#e0e0e0;display:flex;align-items:center;justify-content:center;font-size:24px;color:#888}.rdv-thumbnail-page-number{margin-top:4px;font-size:12px;color:#666}.rdv-thumbnail-spinner{width:20px;height:20px;border:2px solid #e0e0e0;border-top-color:#666;border-radius:50%;animation:rdv-thumbnail-spin 1s linear infinite}.rdv-thumbnail-toggle{display:flex;justify-content:center;align-items:center;width:30px;height:30px;padding:0;margin:0 0 0 5px;border:0;outline:none;cursor:pointer;border-radius:30px;background-color:var(--rdv-primary);color:var(--rdv-text-primary);box-shadow:2px 2px 3px #0003;transition:transform .2s ease}.rdv-thumbnail-toggle:hover{transform:scale(1.05)}.rdv-annotation-layer{position:absolute;top:0;left:0;pointer-events:none}.rdv-annotation-layer>*{pointer-events:auto}.rdv-annotation-drawing-canvas{position:absolute;top:0;left:0;pointer-events:none}.rdv-annotation-drawing-canvas[data-pen-active]{pointer-events:auto}.rdv-annotation-toolbar{display:flex;align-items:center;gap:8px;padding:8px;background-color:var(--rdv-tertiary);border-bottom:1px solid #e0e0e0}.rdv-annotation-tool-group{display:flex;gap:4px}.rdv-annotation-tool-btn{display:flex;justify-content:center;align-items:center;width:36px;height:36px;padding:0;border:none;border-radius:6px;background-color:#fff;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.rdv-annotation-tool-btn[data-active]{background-color:#0064c826}.rdv-annotation-tool-btn:hover{background-color:#f0f0f0}.rdv-annotation-tool-btn[data-active]:hover{background-color:#0064c833}.rdv-annotation-tool-btn:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-annotation-separator{width:1px;height:24px;background-color:#ccc}.rdv-color-picker{display:flex;gap:4px;padding:4px;background:#fff;border-radius:4px;box-shadow:0 2px 4px #0000001a}.rdv-color-btn{width:24px;height:24px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s ease,border-color .15s ease;padding:0}.rdv-color-btn[data-selected]{border-color:#333}.rdv-color-btn:hover{transform:scale(1.15)}.rdv-color-btn:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-comment-container{position:absolute;z-index:10}.rdv-comment-marker{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:2px solid white;cursor:pointer;box-shadow:0 2px 4px #0003;transition:transform .15s ease;padding:0}.rdv-comment-marker[data-selected]{border-color:#0064c8}.rdv-comment-marker:hover{transform:scale(1.1)}.rdv-comment-marker:focus{outline:2px solid #0064c8;outline-offset:2px}.rdv-comment-popover{position:absolute;top:32px;left:0;width:250px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:100;overflow:hidden}.rdv-comment-popover-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #e0e0e0;background:#f8f8f8}.rdv-comment-popover-title{font-size:12px;font-weight:600;color:#333}.rdv-comment-popover-delete{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent;cursor:pointer;border-radius:4px}.rdv-comment-popover-delete:hover{background:#e0e0e0}.rdv-comment-popover-textarea{width:100%;min-height:80px;padding:12px;border:none;resize:none;font-family:inherit;font-size:14px;box-sizing:border-box}.rdv-comment-popover-textarea:focus{outline:none}.rdv-comment-popover-textarea::placeholder{color:#999}.rdv-comment-popover-text{padding:12px;font-size:14px;color:#333;cursor:text;min-height:40px}.rdv-comment-popover-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-top:1px solid #e0e0e0}.rdv-comment-popover-timestamp{font-size:11px;color:#999}.rdv-comment-popover-save{padding:4px 12px;border:none;border-radius:4px;background:#0064c8;color:#fff;font-size:12px;cursor:pointer}.rdv-comment-popover-save:disabled{background:#ccc;cursor:not-allowed}.rdv-comment-popover-save:hover:not(:disabled){background:#0054a8}.rdv-highlight-rect{position:absolute;opacity:.4;pointer-events:auto;cursor:pointer;box-sizing:border-box;transition:opacity .15s ease}.rdv-highlight-rect[data-selected]{border:2px solid #0064c8}.rdv-highlight-rect:hover{opacity:.6}.rdv-pdf-progress-bar{height:3px;width:100%;background:#0000000f;overflow:hidden;flex-shrink:0}.rdv-pdf-progress-fill{height:100%;background:#3b82f6;transition:width .3s ease;border-radius:0 2px 2px 0}.rdv-watermark-overlay{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;overflow:hidden;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-template-rows:repeat(auto-fill,minmax(120px,1fr));align-items:center;justify-items:center;z-index:5}.rdv-watermark-text{white-space:nowrap;-webkit-user-select:none;user-select:none;font-weight:700;letter-spacing:2px}.react-pdf__Page__textContent{position:absolute!important;top:0;left:0;right:0;bottom:0;overflow:hidden;line-height:1}.react-pdf__Page__textContent span{color:transparent;position:absolute;white-space:pre;transform-origin:0% 0%}.react-pdf__Page__textContent span::selection{background:#0064c84d}.rdv-password-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#00000080;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.rdv-password-modal{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 40px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:360px;width:90%}.rdv-password-icon{color:#6b7280}.rdv-password-title{font-size:16px;font-weight:600;color:#1f2937;text-align:center;margin:0}.rdv-password-error{font-size:13px;color:#ef4444;margin:0;text-align:center}.rdv-password-input{width:100%;padding:10px 14px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.rdv-password-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.rdv-password-submit{width:100%;padding:10px;font-size:14px;font-weight:500;color:#fff;background:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:background .15s ease}.rdv-password-submit:hover{background:#2563eb}.rdv-search-bar{display:flex;align-items:center;gap:4px;padding:6px 8px;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 1px 3px #0000000a}.rdv-search-input{flex:1;min-width:120px;max-width:280px;height:30px;padding:0 10px;font-size:13px;border:1px solid rgba(0,0,0,.12);border-radius:6px;outline:none;background:#00000008;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease}.rdv-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;background:#fff}.rdv-search-count{font-size:12px;color:#6b7280;white-space:nowrap;min-width:60px;text-align:center}.rdv-bookmarks-sidebar{display:flex;flex-direction:column;width:240px;flex-shrink:0;background:#f9fafb;border-right:1px solid #e5e7eb;overflow:hidden}.rdv-bookmarks-header{padding:12px 16px;font-size:14px;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;flex-shrink:0}.rdv-bookmarks-title{-webkit-user-select:none;user-select:none}.rdv-bookmarks-list{overflow-y:auto;flex:1;min-height:0}.rdv-bookmarks-list::-webkit-scrollbar{width:6px}.rdv-bookmarks-list::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:3px}.rdv-bookmarks-empty{padding:24px 16px;text-align:center;font-size:13px;color:#9ca3af}.rdv-bookmark-item-wrapper{display:flex;flex-direction:column}.rdv-bookmark-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:none;background:transparent;cursor:pointer;text-align:left;font-size:13px;color:#374151;width:100%;box-sizing:border-box;transition:background .12s ease}.rdv-bookmark-item:hover{background:#0000000a}.rdv-bookmark-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdv-bookmark-page{font-size:11px;color:#9ca3af;flex-shrink:0}.rdv-bookmark-children{display:flex;flex-direction:column}.rdv-split-container{display:flex;width:100%;height:100%;overflow:hidden}.rdv-split-panel{overflow:hidden;min-width:200px}.rdv-split-panel>.rdv-container{width:100%;height:100%}.rdv-split-divider{width:6px;cursor:col-resize;background:#e5e7eb;flex-shrink:0;transition:background .15s ease;position:relative}.rdv-split-divider:hover{background:#3b82f6}.rdv-split-divider:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2px;height:24px;background:#9ca3af;border-radius:1px}.rdv-split-divider:hover:after{background:#fff}.rdv-pdf-container:fullscreen{background:#fff}.rdv-pdf-container:fullscreen .rdv-pdf-main-content{height:100vh}@media print{.rdv-pdf-controls,.rdv-header-bar,.rdv-thumbnail-sidebar,.rdv-annotation-toolbar,.rdv-bookmarks-sidebar,.rdv-search-bar,.rdv-dropzone-overlay{display:none!important}.rdv-pdf-main-content{overflow:visible!important}}#react-doc-viewer[data-theme=dark]{--rdv-primary: #1f2937;--rdv-secondary: #f9fafb;--rdv-tertiary: #37415199;--rdv-text-primary: #f9fafb;--rdv-text-secondary: #1f2937;--rdv-text-tertiary: #ffffff44}#react-doc-viewer[data-theme=dark] .rdv-container{background:#111827;color:#f9fafb}#react-doc-viewer[data-theme=dark] .rdv-pdf-controls{background:#1f2937eb;border-bottom-color:#ffffff0f}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn:hover{background:#ffffff14}#react-doc-viewer[data-theme=dark] .rdv-toolbar-btn:active{background:#ffffff1f}#react-doc-viewer[data-theme=dark] .rdv-toolbar-divider{background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-input{background:#ffffff0f;border-color:#ffffff1f;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-input:focus{border-color:#3b82f6;background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-toolbar-page-total{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-toolbar-zoom-label{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-sidebar{background:#1f2937;border-right-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-item:hover{background:#ffffff0d}#react-doc-viewer[data-theme=dark] .rdv-thumbnail-page-number{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-annotation-toolbar{background:#1f2937e6;border-bottom-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-annotation-tool-btn{background:#374151;color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-annotation-tool-btn:hover{background:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-bookmarks-sidebar{background:#1f2937;border-right-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-bookmarks-header{color:#e5e7eb;border-bottom-color:#374151}#react-doc-viewer[data-theme=dark] .rdv-bookmark-item{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-bookmark-item:hover{background:#ffffff0d}#react-doc-viewer[data-theme=dark] .rdv-bookmark-page{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-search-bar{background:#1f2937f2;border-bottom-color:#ffffff14}#react-doc-viewer[data-theme=dark] .rdv-search-input{background:#ffffff0f;border-color:#ffffff1f;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-search-input:focus{border-color:#3b82f6;background:#ffffff1a}#react-doc-viewer[data-theme=dark] .rdv-search-count{color:#9ca3af}#react-doc-viewer[data-theme=dark] .rdv-password-modal{background:#1f2937;box-shadow:0 8px 32px #0006}#react-doc-viewer[data-theme=dark] .rdv-password-title{color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-password-input{background:#374151;border-color:#4b5563;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-password-input:focus{border-color:#3b82f6}#react-doc-viewer[data-theme=dark] .rdv-pdf-page-tag-info{color:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-comment-popover{background:#1f2937}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-header{background:#374151;border-bottom-color:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-title{color:#e5e7eb}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-textarea{background:#1f2937;color:#f3f4f6}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-text{color:#d1d5db}#react-doc-viewer[data-theme=dark] .rdv-comment-popover-footer{border-top-color:#4b5563}#react-doc-viewer[data-theme=dark] .rdv-color-picker,#react-doc-viewer[data-theme=dark] .rdv-split-divider{background:#374151}#react-doc-viewer[data-theme=dark] .rdv-split-divider:after{background:#6b7280}#react-doc-viewer[data-theme=dark] .rdv-pdf-container:fullscreen{background:#111827}@media (max-width: 768px){.rdv-btn,.rdv-link-btn{width:30px;height:30px;font-size:15px}.rdv-header-bar{min-height:30px;padding:5px;font-size:10px}.rdv-doc-nav-btn-prev,.rdv-doc-nav-btn-next{width:25px;height:25px}.rdv-download-btn{width:125px;height:25px}.rdv-pdf-controls{padding:4px 6px}.rdv-toolbar-btn{width:28px;height:28px;border-radius:5px}.rdv-toolbar-divider{height:16px;margin:0 4px}.rdv-toolbar-page-input{width:36px;height:24px;font-size:11px}.rdv-toolbar-page-total{font-size:11px}.rdv-toolbar-zoom-label{font-size:11px;min-width:32px}.rdv-pdf-control-btn,.rdv-pdf-download-btn,.rdv-pdf-page-nav-btn-left,.rdv-pdf-page-nav-btn-right{width:28px;height:28px}.rdv-pdf-page-tag,.rdv-pdf-page-tag-info{font-size:10px}.rdv-dropzone-message{font-size:16px}.rdv-thumbnail-scroll-area{padding:8px}.rdv-thumbnail-toggle{width:28px;height:28px}.rdv-annotation-toolbar{padding:6px;gap:4px}.rdv-annotation-tool-btn{width:30px;height:30px}.rdv-color-btn{width:20px;height:20px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-CnEWg8Vs.cjs");exports.BMPRenderer=e.BMPRenderer;exports.CSVRenderer=e.CSVRenderer;exports.DocViewerRenderers=e.DocViewerRenderers;exports.DocxRenderer=e.DocxRenderer;exports.GIFRenderer=e.JPGRenderer$1;exports.HTMLRenderer=e.HTMLRenderer;exports.JPGRenderer=e.JPGRenderer;exports.MSDocRenderer=e.MSDocRenderer;exports.MarkdownRenderer=e.MarkdownRenderer;exports.PDFRenderer=e.PDFRenderer;exports.PNGRenderer=e.PNGRenderer;exports.RTFRenderer=e.RTFRenderer;exports.SplitDocViewer=e.SplitDocViewer;exports.TIFFRenderer=e.TIFFRenderer;exports.TXTRenderer=e.TXTRenderer;exports.VideoRenderer=e.VideoRenderer;exports.WebPRenderer=e.WebPRenderer;exports.arrayBufferFileLoader=e.arrayBufferFileLoader;exports.binaryStringFileLoader=e.binaryStringFileLoader;exports.dataURLFileLoader=e.dataURLFileLoader;exports.default=e.DocViewer;exports.defaultFileLoader=e.defaultFileLoader;exports.supportedLanguages=e.supportedLanguages;exports.textFileLoader=e.textFileLoader;
|
package/dist/react-doc-viewer.js
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { j as a, C as s, b as d,
|
|
1
|
+
import { j as a, C as s, b as d, k as n, o as R, H as o, J as i, l as t, M as F, P as l, m as L, R as f, S as D, T as P, n as T, V as u, W as M, e as S, h as V, f as c, D as p, i as b, s as g, t as w } from "./index-Ba7-TkGo.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BMPRenderer,
|
|
4
4
|
s as CSVRenderer,
|
|
5
5
|
d as DocViewerRenderers,
|
|
6
|
-
n as
|
|
7
|
-
R as
|
|
6
|
+
n as DocxRenderer,
|
|
7
|
+
R as GIFRenderer,
|
|
8
|
+
o as HTMLRenderer,
|
|
8
9
|
i as JPGRenderer,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
l as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
P as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
V as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
b as
|
|
10
|
+
t as MSDocRenderer,
|
|
11
|
+
F as MarkdownRenderer,
|
|
12
|
+
l as PDFRenderer,
|
|
13
|
+
L as PNGRenderer,
|
|
14
|
+
f as RTFRenderer,
|
|
15
|
+
D as SplitDocViewer,
|
|
16
|
+
P as TIFFRenderer,
|
|
17
|
+
T as TXTRenderer,
|
|
18
|
+
u as VideoRenderer,
|
|
19
|
+
M as WebPRenderer,
|
|
20
|
+
S as arrayBufferFileLoader,
|
|
21
|
+
V as binaryStringFileLoader,
|
|
22
|
+
c as dataURLFileLoader,
|
|
23
|
+
p as default,
|
|
24
|
+
b as defaultFileLoader,
|
|
25
|
+
g as supportedLanguages,
|
|
26
|
+
w as textFileLoader
|
|
24
27
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { default as BMPRenderer } from './bmp';
|
|
2
|
+
import { default as DocxRenderer } from './docx';
|
|
2
3
|
import { default as HTMLRenderer } from './html';
|
|
3
4
|
import { default as JPGRenderer } from './jpg';
|
|
5
|
+
import { default as MarkdownRenderer } from './markdown';
|
|
4
6
|
import { default as MSDocRenderer } from './msdoc';
|
|
5
7
|
import { default as PDFRenderer } from './pdf';
|
|
6
8
|
import { default as PNGRenderer } from './png';
|
|
9
|
+
import { default as RTFRenderer } from './rtf';
|
|
7
10
|
import { default as TIFFRenderer } from './tiff';
|
|
8
11
|
import { default as TXTRenderer } from './txt';
|
|
9
12
|
import { default as CSVRenderer } from './csv';
|
|
@@ -12,4 +15,4 @@ import { default as VideoRenderer } from './video';
|
|
|
12
15
|
import { default as WebPRenderer } from './webp';
|
|
13
16
|
|
|
14
17
|
export declare const DocViewerRenderers: import('..').DocRenderer[];
|
|
15
|
-
export { BMPRenderer, HTMLRenderer, JPGRenderer, MSDocRenderer, PDFRenderer, PNGRenderer, TIFFRenderer, TXTRenderer, CSVRenderer, GIFRenderer, VideoRenderer, WebPRenderer, };
|
|
18
|
+
export { BMPRenderer, DocxRenderer, HTMLRenderer, JPGRenderer, MarkdownRenderer, MSDocRenderer, PDFRenderer, PNGRenderer, RTFRenderer, TIFFRenderer, TXTRenderer, CSVRenderer, GIFRenderer, VideoRenderer, WebPRenderer, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";const re=require("./index-
|
|
1
|
+
"use strict";const re=require("./index-CnEWg8Vs.cjs");var ne={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */ne.exports;(function(e,r){(function(t){var o=r&&!r.nodeType&&r,a=e&&!e.nodeType&&e,p=typeof re.commonjsGlobal=="object"&&re.commonjsGlobal;(p.global===p||p.window===p||p.self===p)&&(t=p);var l,n=2147483647,m=36,c=1,x=26,_=38,g=700,u=72,w=128,N="-",A=/^xn--/,K=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},T=m-c,v=Math.floor,C=String.fromCharCode,z;function U(s){throw new RangeError(y[s])}function j(s,i){for(var f=s.length,d=[];f--;)d[f]=i(s[f]);return d}function M(s,i){var f=s.split("@"),d="";f.length>1&&(d=f[0]+"@",s=f[1]),s=s.replace(h,".");var b=s.split("."),I=j(b,i).join(".");return d+I}function J(s){for(var i=[],f=0,d=s.length,b,I;f<d;)b=s.charCodeAt(f++),b>=55296&&b<=56319&&f<d?(I=s.charCodeAt(f++),(I&64512)==56320?i.push(((b&1023)<<10)+(I&1023)+65536):(i.push(b),f--)):i.push(b);return i}function ee(s){return j(s,function(i){var f="";return i>65535&&(i-=65536,f+=C(i>>>10&1023|55296),i=56320|i&1023),f+=C(i),f}).join("")}function W(s){return s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:m}function X(s,i){return s+22+75*(s<26)-((i!=0)<<5)}function Y(s,i,f){var d=0;for(s=f?v(s/g):s>>1,s+=v(s/i);s>T*x>>1;d+=m)s=v(s/T);return v(d+(T+1)*s/(s+_))}function Z(s){var i=[],f=s.length,d,b=0,I=w,R=u,F,S,$,D,O,L,q,B,V;for(F=s.lastIndexOf(N),F<0&&(F=0),S=0;S<F;++S)s.charCodeAt(S)>=128&&U("not-basic"),i.push(s.charCodeAt(S));for($=F>0?F+1:0;$<f;){for(D=b,O=1,L=m;$>=f&&U("invalid-input"),q=W(s.charCodeAt($++)),(q>=m||q>v((n-b)/O))&&U("overflow"),b+=q*O,B=L<=R?c:L>=R+x?x:L-R,!(q<B);L+=m)V=m-B,O>v(n/V)&&U("overflow"),O*=V;d=i.length+1,R=Y(b-D,d,D==0),v(b/d)>n-I&&U("overflow"),I+=v(b/d),b%=d,i.splice(b++,0,I)}return ee(i)}function te(s){var i,f,d,b,I,R,F,S,$,D,O,L=[],q,B,V,oe;for(s=J(s),q=s.length,i=w,f=0,I=u,R=0;R<q;++R)O=s[R],O<128&&L.push(C(O));for(d=b=L.length,b&&L.push(N);d<q;){for(F=n,R=0;R<q;++R)O=s[R],O>=i&&O<F&&(F=O);for(B=d+1,F-i>v((n-f)/B)&&U("overflow"),f+=(F-i)*B,i=F,R=0;R<q;++R)if(O=s[R],O<i&&++f>n&&U("overflow"),O==i){for(S=f,$=m;D=$<=I?c:$>=I+x?x:$-I,!(S<D);$+=m)oe=S-D,V=m-D,L.push(C(X(D+oe%V,0))),S=v(oe/V);L.push(C(X(S,0))),I=Y(f,B,d==b),f=0,++d}++f,++i}return L.join("")}function Ue(s){return M(s,function(i){return A.test(i)?Z(i.slice(4).toLowerCase()):i})}function Oe(s){return M(s,function(i){return K.test(i)?"xn--"+te(i):i})}if(l={version:"1.4.1",ucs2:{decode:J,encode:ee},decode:Z,encode:te,toASCII:Oe,toUnicode:Ue},o&&a)if(e.exports==o)a.exports=l;else for(z in l)l.hasOwnProperty(z)&&(o[z]=l[z]);else t.punycode=l})(re.commonjsGlobal)})(ne,ne.exports);var Ie=ne.exports;const Te=re.getDefaultExportFromCjs(Ie);function je(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var Fe=function(e,r,t,o){r=r||"&",t=t||"=";var a={};if(typeof e!="string"||e.length===0)return a;var p=/\+/g;e=e.split(r);var l=1e3;o&&typeof o.maxKeys=="number"&&(l=o.maxKeys);var n=e.length;l>0&&n>l&&(n=l);for(var m=0;m<n;++m){var c=e[m].replace(p,"%20"),x=c.indexOf(t),_,g,u,w;x>=0?(_=c.substr(0,x),g=c.substr(x+1)):(_=c,g=""),u=decodeURIComponent(_),w=decodeURIComponent(g),je(a,u)?Le(a[u])?a[u].push(w):a[u]=[a[u],w]:a[u]=w}return a},Le=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"},Q=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Pe=function(e,r,t,o){return r=r||"&",t=t||"=",e===null&&(e=void 0),typeof e=="object"?ie(Se(e),function(a){var p=encodeURIComponent(Q(a))+t;return _e(e[a])?ie(e[a],function(l){return p+encodeURIComponent(Q(l))}).join(r):p+encodeURIComponent(Q(e[a]))}).join(r):o?encodeURIComponent(Q(o))+t+encodeURIComponent(Q(e)):""},_e=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function ie(e,r){if(e.map)return e.map(r);for(var t=[],o=0;o<e.length;o++)t.push(r(e[o],o));return t}var Se=Object.keys||function(e){var r=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r},le,pe,qe=pe=Fe,$e=le=Pe;function Ee(e){return encodeURIComponent(e)}function Me(e){return decodeURIComponent(e)}var De={decode:qe,encode:$e,parse:pe,stringify:le,escape:Ee,unescape:Me},Ne={isString:function(e){return typeof e=="string"},isObject:function(e){return typeof e=="object"&&e!==null},isNull:function(e){return e===null},isNullOrUndefined:function(e){return e==null}},ze=Te,E=Ne,Be=k,Ge=tt,me=rt,Ke=et,We=P;function P(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Ze=/^([a-z0-9.+-]+:)/i,Ve=/:[0-9]*$/,Je=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Xe=["<",">",'"',"`"," ","\r",`
|
|
2
2
|
`," "],Ye=["{","}","|","\\","^","`"].concat(Xe),se=["'"].concat(Ye),fe=["%","/","?",";","#"].concat(se),ue=["/","?","#"],He=255,ce=/^[+a-z0-9A-Z_-]{0,63}$/,Qe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ke={javascript:!0,"javascript:":!0},ae={javascript:!0,"javascript:":!0},H={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},he=De;function k(e,r,t){if(e&&E.isObject(e)&&e instanceof P)return e;var o=new P;return o.parse(e,r,t),o}P.prototype.parse=function(e,r,t){if(!E.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=o!==-1&&o<e.indexOf("#")?"?":"#",p=e.split(a),l=/\\/g;p[0]=p[0].replace(l,"/"),e=p.join(a);var n=e;if(n=n.trim(),!t&&e.split("#").length===1){var m=Je.exec(n);if(m)return this.path=n,this.href=n,this.pathname=m[1],m[2]?(this.search=m[2],r?this.query=he.parse(this.search.substr(1)):this.query=this.search.substr(1)):r&&(this.search="",this.query={}),this}var c=Ze.exec(n);if(c){c=c[0];var x=c.toLowerCase();this.protocol=x,n=n.substr(c.length)}if(t||c||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var _=n.substr(0,2)==="//";_&&!(c&&ae[c])&&(n=n.substr(2),this.slashes=!0)}if(!ae[c]&&(_||c&&!H[c])){for(var g=-1,u=0;u<ue.length;u++){var w=n.indexOf(ue[u]);w!==-1&&(g===-1||w<g)&&(g=w)}var N,A;g===-1?A=n.lastIndexOf("@"):A=n.lastIndexOf("@",g),A!==-1&&(N=n.slice(0,A),n=n.slice(A+1),this.auth=decodeURIComponent(N)),g=-1;for(var u=0;u<fe.length;u++){var w=n.indexOf(fe[u]);w!==-1&&(g===-1||w<g)&&(g=w)}g===-1&&(g=n.length),this.host=n.slice(0,g),n=n.slice(g),this.parseHost(),this.hostname=this.hostname||"";var K=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!K)for(var h=this.hostname.split(/\./),u=0,y=h.length;u<y;u++){var T=h[u];if(T&&!T.match(ce)){for(var v="",C=0,z=T.length;C<z;C++)T.charCodeAt(C)>127?v+="x":v+=T[C];if(!v.match(ce)){var U=h.slice(0,u),j=h.slice(u+1),M=T.match(Qe);M&&(U.push(M[1]),j.unshift(M[2])),j.length&&(n="/"+j.join(".")+n),this.hostname=U.join(".");break}}}this.hostname.length>He?this.hostname="":this.hostname=this.hostname.toLowerCase(),K||(this.hostname=ze.toASCII(this.hostname));var J=this.port?":"+this.port:"",ee=this.hostname||"";this.host=ee+J,this.href+=this.host,K&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),n[0]!=="/"&&(n="/"+n))}if(!ke[x])for(var u=0,y=se.length;u<y;u++){var W=se[u];if(n.indexOf(W)!==-1){var X=encodeURIComponent(W);X===W&&(X=escape(W)),n=n.split(W).join(X)}}var Y=n.indexOf("#");Y!==-1&&(this.hash=n.substr(Y),n=n.slice(0,Y));var Z=n.indexOf("?");if(Z!==-1?(this.search=n.substr(Z),this.query=n.substr(Z+1),r&&(this.query=he.parse(this.query)),n=n.slice(0,Z)):r&&(this.search="",this.query={}),n&&(this.pathname=n),H[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var J=this.pathname||"",te=this.search||"";this.path=J+te}return this.href=this.format(),this};function et(e){return E.isString(e)&&(e=k(e)),e instanceof P?e.format():P.prototype.format.call(e)}P.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var r=this.protocol||"",t=this.pathname||"",o=this.hash||"",a=!1,p="";this.host?a=e+this.host:this.hostname&&(a=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&E.isObject(this.query)&&Object.keys(this.query).length&&(p=he.stringify(this.query));var l=this.search||p&&"?"+p||"";return r&&r.substr(-1)!==":"&&(r+=":"),this.slashes||(!r||H[r])&&a!==!1?(a="//"+(a||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):a||(a=""),o&&o.charAt(0)!=="#"&&(o="#"+o),l&&l.charAt(0)!=="?"&&(l="?"+l),t=t.replace(/[?#]/g,function(n){return encodeURIComponent(n)}),l=l.replace("#","%23"),r+a+t+l+o};function tt(e,r){return k(e,!1,!0).resolve(r)}P.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()};function rt(e,r){return e?k(e,!1,!0).resolveObject(r):r}P.prototype.resolveObject=function(e){if(E.isString(e)){var r=new P;r.parse(e,!1,!0),e=r}for(var t=new P,o=Object.keys(this),a=0;a<o.length;a++){var p=o[a];t[p]=this[p]}if(t.hash=e.hash,e.href==="")return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),n=0;n<l.length;n++){var m=l[n];m!=="protocol"&&(t[m]=e[m])}return H[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!H[e.protocol]){for(var c=Object.keys(e),x=0;x<c.length;x++){var _=c[x];t[_]=e[_]}return t.href=t.format(),t}if(t.protocol=e.protocol,!e.host&&!ae[e.protocol]){for(var y=(e.pathname||"").split("/");y.length&&!(e.host=y.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),y[0]!==""&&y.unshift(""),y.length<2&&y.unshift(""),t.pathname=y.join("/")}else t.pathname=e.pathname;if(t.search=e.search,t.query=e.query,t.host=e.host||"",t.auth=e.auth,t.hostname=e.hostname||e.host,t.port=e.port,t.pathname||t.search){var g=t.pathname||"",u=t.search||"";t.path=g+u}return t.slashes=t.slashes||e.slashes,t.href=t.format(),t}var w=t.pathname&&t.pathname.charAt(0)==="/",N=e.host||e.pathname&&e.pathname.charAt(0)==="/",A=N||w||t.host&&e.pathname,K=A,h=t.pathname&&t.pathname.split("/")||[],y=e.pathname&&e.pathname.split("/")||[],T=t.protocol&&!H[t.protocol];if(T&&(t.hostname="",t.port=null,t.host&&(h[0]===""?h[0]=t.host:h.unshift(t.host)),t.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(y[0]===""?y[0]=e.host:y.unshift(e.host)),e.host=null),A=A&&(y[0]===""||h[0]==="")),N)t.host=e.host||e.host===""?e.host:t.host,t.hostname=e.hostname||e.hostname===""?e.hostname:t.hostname,t.search=e.search,t.query=e.query,h=y;else if(y.length)h||(h=[]),h.pop(),h=h.concat(y),t.search=e.search,t.query=e.query;else if(!E.isNullOrUndefined(e.search)){if(T){t.hostname=t.host=h.shift();var v=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1;v&&(t.auth=v.shift(),t.host=t.hostname=v.shift())}return t.search=e.search,t.query=e.query,(!E.isNull(t.pathname)||!E.isNull(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t}if(!h.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var C=h.slice(-1)[0],z=(t.host||e.host||h.length>1)&&(C==="."||C==="..")||C==="",U=0,j=h.length;j>=0;j--)C=h[j],C==="."?h.splice(j,1):C===".."?(h.splice(j,1),U++):U&&(h.splice(j,1),U--);if(!A&&!K)for(;U--;U)h.unshift("..");A&&h[0]!==""&&(!h[0]||h[0].charAt(0)!=="/")&&h.unshift(""),z&&h.join("/").substr(-1)!=="/"&&h.push("");var M=h[0]===""||h[0]&&h[0].charAt(0)==="/";if(T){t.hostname=t.host=M?"":h.length?h.shift():"";var v=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1;v&&(t.auth=v.shift(),t.host=t.hostname=v.shift())}return A=A||t.host&&h.length,A&&!M&&h.unshift(""),h.length?t.pathname=h.join("/"):(t.pathname=null,t.path=null),(!E.isNull(t.pathname)||!E.isNull(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=e.auth||t.auth,t.slashes=t.slashes||e.slashes,t.href=t.format(),t};P.prototype.parseHost=function(){var e=this.host,r=Ve.exec(e);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(this.hostname=e)};function nt(e,r){for(var t=0,o=e.length-1;o>=0;o--){var a=e[o];a==="."?e.splice(o,1):a===".."?(e.splice(o,1),t++):t&&(e.splice(o,1),t--)}if(r)for(;t--;t)e.unshift("..");return e}function ot(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var o=t>=0?arguments[t]:"/";if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;e=o+"/"+e,r=o.charAt(0)==="/"}return e=nt(st(e.split("/"),function(a){return!!a}),!r).join("/"),(r?"/":"")+e||"."}function st(e,r){if(e.filter)return e.filter(r);for(var t=[],o=0;o<e.length;o++)r(e[o],o,e)&&t.push(e[o]);return t}var de=function(e){function r(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object),at=Ke,ve=Be,ge=Ge,ye=We,G=de.URL,be=de.URLSearchParams,ht=/%/g,it=/\\/g,ft=/\n/g,ut=/\r/g,ct=/\t/g,lt=47;function pt(e){var r=e??null;return!!(r!==null&&(r!=null&&r.href)&&(r!=null&&r.origin))}function mt(e){if(e.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var r=e.pathname,t=0;t<r.length;t++)if(r[t]==="%"){var o=r.codePointAt(t+2)|32;if(r[t+1]==="2"&&o===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(r)}function dt(e){return e.includes("%")&&(e=e.replace(ht,"%25")),e.includes("\\")&&(e=e.replace(it,"%5C")),e.includes(`
|
|
3
3
|
`)&&(e=e.replace(ft,"%0A")),e.includes("\r")&&(e=e.replace(ut,"%0D")),e.includes(" ")&&(e=e.replace(ct,"%09")),e}var xe=function(r){if(typeof r>"u")throw new TypeError('The "domain" argument must be specified');return new G("http://"+r).hostname},we=function(r){if(typeof r>"u")throw new TypeError('The "domain" argument must be specified');return new G("http://"+r).hostname},Ce=function(r){var t=new G("file://"),o=ot(r),a=r.charCodeAt(r.length-1);return a===lt&&o[o.length-1]!=="/"&&(o+="/"),t.pathname=dt(o),t},Re=function(r){if(!pt(r)&&typeof r!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof r+" ("+r+")");var t=new G(r);if(t.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return mt(t)},Ae=function(r,t){var o,a,p;if(t===void 0&&(t={}),!(r instanceof G))return at(r);if(typeof t!="object"||t===null)throw new TypeError('The "options" argument must be of type object.');var l=(o=t.auth)!=null?o:!0,n=(a=t.fragment)!=null?a:!0,m=(p=t.search)!=null?p:!0,c=new G(r.toString());return l||(c.username="",c.password=""),n||(c.hash=""),m||(c.search=""),c.toString()},vt={format:Ae,parse:ve,resolve:ge,resolveObject:me,Url:ye,URL:G,URLSearchParams:be,domainToASCII:xe,domainToUnicode:we,pathToFileURL:Ce,fileURLToPath:Re};const gt=Object.freeze(Object.defineProperty({__proto__:null,URL:G,URLSearchParams:be,Url:ye,default:vt,domainToASCII:xe,domainToUnicode:we,fileURLToPath:Re,format:Ae,parse:ve,pathToFileURL:Ce,resolve:ge,resolveObject:me},Symbol.toStringTag,{value:"Module"}));exports.url=gt;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iamjariwala/react-doc-viewer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "React document viewer and PDF viewer component — render PDF, Word, Excel, PowerPoint, images, video, CSV and 20+ file types with drag-and-drop, annotations, thumbnails and i18n.",
|
|
5
5
|
"author": "Mehul Jariwala",
|
|
6
6
|
"type": "module",
|
|
@@ -134,6 +134,7 @@
|
|
|
134
134
|
"prepublish": "npm run build-readme-toc"
|
|
135
135
|
},
|
|
136
136
|
"dependencies": {
|
|
137
|
+
"docx-preview": "^0.3.7",
|
|
137
138
|
"dompurify": "^3.3.1",
|
|
138
139
|
"mustache": "^4.2.0",
|
|
139
140
|
"papaparse": "^5.4.1",
|