UNPKG

@suns/react-monorepo-nx

Version:

To evaluate and compare the bundled and unbundled builds on large codebase.

1 lines 3.17 MB
!function(e){function t(t){for(var n,o,i=t[0],a=t[1],l=0,s=[];l<i.length;l++)o=i[l],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&s.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);s.length;)s.shift()()}var n={},r={12:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var a,l=document.createElement("script");l.charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.src=function(e){return o.p+"chunks/"+({5:"vendors.html2canvas"}[e]||e)+".chunk.js"}(e);var c=new Error;a=function(t){l.onerror=l.onload=null,clearTimeout(s);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,n[1](c)}r[e]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:l})}),12e4);l.onerror=l.onload=a,document.head.appendChild(l)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var c=a;o(o.s=1222)}([function(e,t,n){"use strict";e.exports=n(584)},function(e,t,n){"use strict";n(24),n(7),n(25),n(38),n(15),n(14),n(20),n(9),n(16),n(11),n(13),n(12),n(8),n(10),n(18);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager()};function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(53),n(23),n(67),n(68),n(69),n(70),n(42),n(45),n(46),n(66);var c=n(80);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),l=new _(o||[]);return r(a,"_invoke",{value:O(e,n,l)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var f={};function h(){}function m(){}function g(){}var v={};c(v,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==t&&n.call(b,i)&&(v=b);var w=g.prototype=h.prototype=Object.create(v);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==s(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function O(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===f)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=p(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return m.prototype=g,r(w,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:m,configurable:!0}),m.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,l,"next",e)}function l(e){d(i,r,o,a,l,"throw",e)}a(void 0)}))}}n(36),n(37),n(33);var f=n(44);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===h(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=E.getDocumentViewer(t),r=n.getAnnotationManager(),o=n.getContentEditManager(),i=n.getAnnotationHistoryManager(),a=r.getEditBoxManager(),l=r.getFormFieldCreationManager(),c=n.getMeasurementManager();return m(e={cursorPropertiesUpdated:n,selectionPropertiesUpdated:n,officeDocumentEdited:n,signatureSaved:n,signatureDeleted:n,annotationsLoaded:n,tap:n,longTap:n,click:n,dblClick:n,displayPageLocation:n,keyDown:n,keyUp:n,mouseEnter:n,mouseLeave:n,mouseLeftDown:n,mouseLeftUp:n,mouseMove:n,mouseRightDown:n,mouseRightUp:n,pageComplete:n,readOnlyModeChanged:n,searchInProgress:n,activeSearchResultChanged:n,searchResultsChanged:n,textSelected:n,beginRendering:n,finishedRendering:n,beforeDocumentLoaded:n,displayModeUpdated:n,documentLoaded:n,documentUnloaded:n,fitModeUpdated:n,rotationUpdated:n,toolUpdated:n,toolModeUpdated:n,zoomUpdated:n,pageNumberUpdated:n,pagesUpdated:n,"fitModeUpdated.fitbutton":n},f.a.COMPARE_ANNOTATIONS_LOADED,n),m(e,"historyChanged",i),m(e,"annotationSelected",r),m(e,"annotationChanged",r),m(e,"outlineSetDestination",r),m(e,"updateAnnotationPermission",r),m(e,"addReply",r),m(e,"deleteReply",r),m(e,"annotationHidden",r),m(e,"annotationDoubleClicked",r),m(e,"annotationNumberingUpdated",r),m(e,"annotationFiltered",r),m(e,"annotationToggled",r),m(e,"fieldChanged",r),m(e,"notify",r),m(e,"setNoteText",r),m(e,"fileAttachmentDataAvailable",r),m(e,"digitalSignatureAvailable",r),m(e,"editorFocus",a),m(e,"editorBlur",a),m(e,"editorTextChanged",a),m(e,"editorSelectionChanged",a),m(e,"formFieldCreationModeStarted",l),m(e,"formFieldCreationModeEnded",l),m(e,"scaleUpdated",c),m(e,"contentEditModeStarted",o),m(e,"contentEditModeEnded",o),m(e,"contentBoxEditStarted",o),m(e,"contentBoxEditEnded",o),m(e,"contentEditSelectionChange",o),m(e,"createAnnotationWithNoScale",c),e};function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return r(a,"_invoke",{value:O(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d={};function p(){}function f(){}function h(){}var m={};c(m,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==t&&n.call(b,i)&&(m=b);var w=h.prototype=p.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,l){var c=u(e[o],e,i);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==v(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function O(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=h,r(w,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:f,configurable:!0}),f.displayName=c(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function b(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}var w=function(){var e,t=(e=y().mark((function e(t,n){var r,o,i,a=arguments;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=a.length>2&&void 0!==a[2]?a[2]:1,!(o=E.getDocumentViewer(r)).getDocument()){e.next=4;break}return e.abrupt("return",o.getDocument().mergeDocument(t,n));case 4:return e.next=6,o.loadDocument(t);case 6:return i=o.getDocument(),e.abrupt("return",{filename:i.getFilename(),pages:[1]});case 8:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){b(i,r,o,a,l,"next",e)}function l(e){b(i,r,o,a,l,"throw",e)}a(void 0)}))});return function(e,n){return t.apply(this,arguments)}}(),x=(n(272),new Map),E=t.a={getSemanticDiffAnnotations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().getSemanticDiffAnnotations()},getDocumentViewers:function(){return Array.from(x.values())},getDocumentViewer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return x.get(e)},setDocumentViewer:function(e,t){return x.set(e,t),t},deleteDocumentViewer:function(e){x.delete(e)},setToolMode:function(e){E.getDocumentViewers().forEach((function(t){return t.setToolMode(t.getTool(e))}))},getToolMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getToolMode()},getTool:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getTool(e)},getToolsFromAllDocumentViewers:function(e){return E.getDocumentViewers().map((function(t){return t.getTool(e)}))},setDisplayMode:function(e){var t,n=r(E.getDocumentViewers());try{for(n.s();!(t=n.n()).done;){var o=t.value,i=o.getDisplayModeManager(),a=i.isVirtualDisplayEnabled()?new window.Core.VirtualDisplayMode(o,e):new window.Core.DisplayMode(o,e);i.setDisplayMode(a)}}catch(e){n.e(e)}finally{n.f()}},getDisplayMode:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return null===(e=E.getDocumentViewer(t))||void 0===e?void 0:e.getDisplayModeManager().getDisplayMode().mode},rotateClockwise:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).rotateClockwise()},rotateCounterClockwise:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).rotateCounterClockwise()},rotatePages:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return E.getDocumentViewer(n).getDocument().rotatePages(e,t)},movePages:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return E.getDocumentViewer(n).getDocument().movePages(e,t)},removePages:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getDocument().removePages(e)},getFitMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getFitMode()},fitToPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).setFitMode(E.getDocumentViewer(e).FitMode.FitPage)},fitToWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).setFitMode(E.getDocumentViewer(e).FitMode.FitWidth)},fitToHeight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).setFitMode(E.getDocumentViewer(e).FitMode.FitHeight)},fitToZoom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).setFitMode(E.getDocumentViewer(e).FitMode.Zoom)},zoomToMouse:function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2?arguments[2]:void 0,a=(null===(t=document.querySelector("[data-element=leftPanel]:not(.closed)"))||void 0===t?void 0:t.offsetWidth)||0,l=(null===(n=document.querySelector("[data-element=header]"))||void 0===n?void 0:n.offsetHeight)||0,c=(null===(r=document.querySelector("[data-element=toolsHeader]"))||void 0===r?void 0:r.offsetHeight)||0,s=l+c;E.getDocumentViewer(o).zoomToMouse(e,a,s,i)},getZoom:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return null===(e=E.getDocumentViewer(t))||void 0===e?void 0:e.getZoomLevel()},zoomTo:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;E.getDocumentViewer(r).zoomTo(e,t,n)},getAnnotationManager:i,getTotalPages:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getPageCount()},getCurrentPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getCurrentPage()},setCurrentPage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).setCurrentPage(e)},getType:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDocument().getType()},getScales:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getMeasurementManager().getScales()},isWebViewerServerDocument:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDocument().isWebViewerServerDocument()},getSelectedText:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getSelectedText()},clearSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).clearSelection()},closeDocument:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).closeDocument()},getToolModeMap:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getToolModeMap()},getCurrentUser:function(){return E.getDocumentViewer(1).getAnnotationManager().getCurrentUser()},getIsAdminUser:function(){return E.getDocumentViewer(1).getAnnotationManager().isUserAdmin()},setIsAdminUser:function(e){var t=E.getDocumentViewers();e?t.forEach((function(e){return e.getAnnotationManager().promoteUserToAdmin()})):t.forEach((function(e){return e.getAnnotationManager().demoteUserFromAdmin()}))},exportAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().exportAnnotations(e)},setCurrentUser:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().setCurrentUser(e)},setReadOnly:function(e){var t,n=a(E.getDocumentViewers());try{for(n.s();!(t=n.n()).done;){var r=t.value;e?(r.getAnnotationManager().enableReadOnlyMode(),r.enableReadOnlyMode()):(r.getAnnotationManager().disableReadOnlyMode(),r.disableReadOnlyMode())}}catch(e){n.e(e)}finally{n.f()}},setScrollViewElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setScrollViewElement(e)},setViewerElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setViewerElement(e)},isContinuousDisplayMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDisplayModeManager().getDisplayMode().isContinuous()},isScrollableDisplayMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDisplayModeManager().getDisplayMode().IsScrollable()},isSearchResultEqual:function(e,t){return window.Core.Search.isSearchResultEqual(e,t)},scrollViewUpdated:function(e){e?E.getDocumentViewer(e).scrollViewUpdated():E.getDocumentViewers().forEach((function(e){e.scrollViewUpdated()}))},canModify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().canModify(e)},canModifyContents:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().canModifyContents(e)},deleteAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().deleteAnnotations(e,t)},getDisplayAuthor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().getDisplayAuthor(e)},getDocument:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDocument()},getCompleteRotation:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getCompleteRotation(e)},getRotation:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getRotation(e)},getPageInfo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getDocument().getPageInfo(e)},clearSearchResults:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).clearSearchResults()},getPageSearchResults:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getPageSearchResults(e)},displayAdditionalSearchResult:function(e,t){E.getDocumentViewer(t).displayAdditionalSearchResult(e)},displayAdditionalSearchResults:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).displayAdditionalSearchResults(e)},getActiveSearchResult:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getActiveSearchResult()},setActiveSearchResult:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setActiveSearchResult(e)},textSearchInit:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;E.getDocumentViewer(o).textSearchInit(e,t,n,r)},displaySearchResult:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).displaySearchResult(e)},getSearchMode:function(){return window.Core.Search.Mode},getResultCode:function(){return window.Core.Search.ResultCode},getPageWidth:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getPageWidth(e)},getPageHeight:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getPageHeight(e)},drawAnnotations:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;return E.getDocumentViewer(o).getAnnotationManager().drawAnnotations(e,t,n,r)},getOutlines:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getDocument().getBookmarks().then(function(){var t=p(u().mark((function t(n){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!E.isFullPDFEnabled()){t.next=3;break}return t.next=3,c.a.attachColorPropertyToOutlines(n);case 3:e(n);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},getSelectedAnnotations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().getSelectedAnnotations()},updateCopiedAnnotations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).getAnnotationManager().updateCopiedAnnotations()},pasteCopiedAnnotations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).getAnnotationManager().pasteCopiedAnnotations()},selectAnnotation:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().selectAnnotation(e)},selectAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().selectAnnotations(e)},addAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().addAnnotations(e)},applyRedactions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().applyRedactions(e)},isCreateRedactionEnabled:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().isCreateRedactionEnabled()},isApplyRedactionEnabled:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().isApplyRedactionEnabled()},isAnnotationRedactable:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().isAnnotationRedactable(e)},enableRedaction:function(e){e?E.getDocumentViewers().forEach((function(e){return e.getAnnotationManager().enableRedaction()})):E.getDocumentViewers().forEach((function(e){return e.getAnnotationManager().disableRedaction()}))},drawAnnotationsFromList:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().drawAnnotationsFromList(e)},setInternalAnnotationsTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setInternalAnnotationsTransform(e)},setPagesUpdatedInternalAnnotationsTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setPagesUpdatedInternalAnnotationsTransform(e)},loadThumbnailAsync:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=E.getDocumentViewer(n).getDocument().loadThumbnail(e,(function(e){t(e)}));return r},loadDocument:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return E.getDocumentViewer(n).loadDocument(e,t)},getSelectedTextQuads:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getSelectedTextQuads()},getDisplayModeObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDisplayModeManager().getDisplayMode()},getScrollViewElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getScrollViewElement()},getAnnotationById:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().getAnnotationById(e)},isFullPDFEnabled:function(){return window.Core.isFullPDFEnabled()},isBlendModeSupported:function(e){return window.Core.isBlendModeSupported(e)},isAnnotationSelected:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().isAnnotationSelected(e)},setAnnotationStyles:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().setAnnotationStyles(e,t)},deselectAnnotation:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().deselectAnnotation(e)},deselectAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getAnnotationManager().deselectAnnotations(e)},deselectAllAnnotations:function(){E.getDocumentViewers().forEach((function(e){return e.getAnnotationManager().deselectAllAnnotations()}))},jumpToAnnotation:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().jumpToAnnotation(e)},insertBlankPages:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return E.getDocumentViewer(r).getDocument().insertBlankPages(e,t,n)},createAnnotationReply:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().createAnnotationReply(e,t)},setNoteContents:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().setNoteContents(e,t)},setAnnotationRichTextStyle:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().setAnnotationRichTextStyle(e,t)},updateAnnotationRichTextStyle:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getAnnotationManager().updateAnnotationRichTextStyle(e,t)},getAnnotationsList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().getAnnotationsList()},getAnnotationsLoadedPromise:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationsLoadedPromise()},getPrintablePDF:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDocument().getPrintablePDF()},addEventListener:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=g(r),i=o[e];n?i.addEventListener(e,t,n):i.addEventListener(e,t)},removeEventListener:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(E.getDocumentViewer(n)){var r=g(n),o=r[e];o.removeEventListener(e,t)}},getIsReadOnly:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getAnnotationManager().isReadOnlyModeEnabled()},cancelLoadThumbnail:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getDocument().cancelLoadThumbnail(e)},showAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().showAnnotations(e)},hideAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().hideAnnotations(e)},goToOutline:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).displayBookmark(e)},getViewerElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getViewerElement()},setAnnotationCanvasTransform:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;E.getDocumentViewer(r).getAnnotationManager().setAnnotationCanvasTransform(e,t,n)},getAnnotationCopy:function(e){return E.getDocumentViewer(1).getAnnotationManager().getAnnotationCopy(e)},setWatermark:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).setWatermark(e)},getWatermark:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getWatermark()},getAnnotationByMouseEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().getAnnotationByMouseEvent(e)},groupAnnotations:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return E.getDocumentViewer(n).getAnnotationManager().groupAnnotations(e,t)},ungroupAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().ungroupAnnotations(e)},getNumberOfGroups:function(e,t){return E.getDocumentViewer(t).getAnnotationManager().getNumberOfGroups(e)},getGroupAnnotations:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getAnnotationManager().getGroupAnnotations(e)},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).getAnnotationHistoryManager().undo()},redo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;E.getDocumentViewer(e).getAnnotationHistoryManager().redo()},updateAnnotationState:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;return E.getDocumentViewer(o).getAnnotationManager().updateAnnotationState(e,t,n,r)},getFontStyles:function(){return window.Core.FontStyles},mergeDocument:w,getFormFieldCreationManager:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=i(e);return t.getFormFieldCreationManager()},syncNamespaces:function(e){return window.Core.syncNamespaces(e)},createDocument:function(e,t){return window.Core.createDocument(e,t)},getContentEditManager:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getContentEditManager()},setUserBookmarks:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setUserBookmarks(e)},setBookmarkIconShortcutVisibility:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setBookmarkIconShortcutVisibility(e)},setBookmarkShortcutToggleOnFunction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setBookmarkShortcutToggleOnFunction(e)},setBookmarkShortcutToggleOffFunction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).setBookmarkShortcutToggleOffFunction(e)},createAndApplyScale:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getMeasurementManager().createAndApplyScale({scale:e,applyTo:t})},replaceScales:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;E.getDocumentViewer(n).getMeasurementManager().replaceScales(e,t)},deleteScale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;E.getDocumentViewer(t).getMeasurementManager().deleteScale(e)},getScalePrecision:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).getMeasurementManager().getScalePrecision(e)},enableAnnotationNumbering:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;i(e).enableAnnotationNumbering()},getOfficeEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return E.getDocumentViewer(e).getDocument().getOfficeEditor()},loadBlankOfficeEditorDocument:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return E.getDocumentViewer(t).loadBlankOfficeEditorDocument(e)},isValidURI:function(){return E.isValidURI}}},function(e,t,n){"use strict";n(36),n(37),n(11),n(13),n(7),n(33),n(23),n(35),n(31),n(71),n(24),n(25),n(73),n(72),n(12),n(8),n(9),n(10);var r=n(363),o=n(206);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=l(l({},r),o)},function(e,t,n){"use strict";var r=n(219);t.a=r},function(e,t,n){e.exports=n(877)()},function(e,t,n){"use strict";var r={LEGACY_RICH_TEXT_POPUP:"legacyRichTextPopup",ANNOTATION_NOTE_CONNECTOR_LINE:"annotationNoteConnectorLine",ANNOTATION_STYLE_POPUP:"annotationStylePopup",ANNOTATION_STYLE_POPUP_BACK_BUTTON:"annotationStylePopupBackButton",ANNOTATION_STYLE_POPUP_BACK_BUTTON_CONTAINER:"annotationStylePopupBackButtonContainer",INLINE_COMMENT_POPUP_EXPAND_BUTTON:"inlineCommentPopupExpandButton",INLINE_COMMENT_POPUP_CLOSE_BUTTON:"inlineCommentPopupCloseButton",LOGO_BAR:"logoBar",COLOR_PALETTE:"colorPalette",OPACITY_SLIDER:"opacitySlider",STROKE_THICKNESS_SLIDER:"strokeThicknessSlider",FONT_SIZE_SLIDER:"fontSizeSlider",STYLE_OPTION:"styleOption",STYLE_POPUP:"stylePopup",SCALE_INPUT_CONTAINER:"scaleInputContainer",PRECISION_INPUT_CONTAINER:"precisionInputContainer",STYLE_POPUP_TEXT_STYLE_CONTAINER:"stylePopupTextStyleContainer",STYLE_POPUP_COLORS_CONTAINER:"stylePopupColorsContainer",STYLE_POPUP_LABEL_TEXT_CONTAINER:"stylePopupLabelTextContainer",REDACTION_PANEL:"redactionPanel",REDACTION_PANEL_TOGGLE:"redactionPanelToggle",WV3D_PROPERTIES_PANEL:"wv3dPropertiesPanel",WV3D_PROPERTIES_PANEL_TOGGLE:"wv3dPropertiesPanelToggle",LEFT_PANEL:"leftPanel",OUTLINE_PANEL:"outlinesPanel",OUTLINE_MULTI_SELECT:"outlineMultiSelect",OUTLINE_CONTROLS:"outlineControls",OUTLINE_ADD_NEW_BUTTON_CONTAINER:"addNewOutlineButtonContainer",OUTLINE_ADD_NEW_BUTTON:"addNewOutlineButton",OUTLINE_MOVE_UP_BUTTON:"moveOutlineUpButton",OUTLINE_MOVE_DOWN_BUTTON:"moveOutlineDownButton",OUTLINE_MOVE_OUTWARD_BUTTON:"moveOutlineOutwardButton",OUTLINE_MOVE_INWARD_BUTTON:"moveOutlineInwardButton",BOOKMARK_PANEL:"bookmarksPanel",BOOKMARK_MULTI_SELECT:"bookmarkMultiSelect",BOOKMARK_SHORTCUT_OPTION:"bookmarkShortcutOption",BOOKMARK_ADD_NEW_BUTTON_CONTAINER:"addNewBookmarkButtonContainer",BOOKMARK_ADD_NEW_BUTTON:"addNewBookmarkButton",NOTES_PANEL:"notesPanel",FORM_FIELD_INDICATOR_CONTAINER:"formFieldIndicatorContainer",WATERMARK_PANEL:"watermarkPanel",WATERMARK_PANEL_TOGGLE:"watermarkPanelToggle",WATERMARK_PANEL_IMAGE_TAB:"watermarkPanelImageTab",WATERMARK_PANEL_TEXT_TAB:"watermarkPanelTextTab",SEARCH_PANEL:"searchPanel",TEXT_EDITING_PANEL:"textEditingPanel",COMPARE_PANEL:"comparePanel",PORTFOLIO_PANEL:"portfolioPanel",PORTFOLIO_PANEL_BUTTON:"portfolioPanelButton",PORTFOLIO_ADD_FILE:"portfolioAddFile",PORTFOLIO_ADD_FOLDER:"portfolioAddFolder",PORTFOLIO_ADD_NEW_BUTTON:"portfolioAddNewButton",CALIBRATION_POPUP_BUTTON:"calibratePopupButton",CALIBRATION_MODAL:"calibrationModal",NotesPanel:{DefaultHeader:{INPUT_CONTAINER:"notesPanelHeader-inputContainer",COMMENTS_COUNTER:"notesPanelHeader-commentsCounter",SORT_ROW:"notesPanelHeader-sortRow"},ADD_REPLY_ATTACHMENT_BUTTON:"addReplyAttachmentButton"},MULTITABS_EMPTY_PAGE:"multiTabsEmptyPage",SCALE_OVERLAY_CONTAINER:"scaleOverlayContainer",MEASUREMENT_OVERLAY:"measurementOverlay",VIEW_CONTROLS_OVERLAY:"viewControlsOverlay",VIEW_CONTROLS_OVERLAY_BUTTON:"viewControlsButton",SEARCH_OVERLAY:"searchOverlay",MENU_OVERLAY:"menuOverlay",MENU_OVERLAY_BUTTON:"menuButton",ZOOM_OVERLAY:"zoomOverlay",ZOOM_OVERLAY_BUTTON:"zoomOverlayButton",PAGE_MANIPULATION_OVERLAY:"pageManipulationOverlay",PAGE_MANIPULATION_OVERLAY_BUTTON:"pageManipulationOverlayButton",TOOLS_OVERLAY:"toolsOverlay",STAMP_OVERLAY:"stampOverlay",SIGNATURE_OVERLAY:"signatureOverlay",REDACTION_OVERLAY:"redactionOverlay",ANNOTATION_CONTENT_OVERLAY:"annotationContentOverlay",THUMBNAILS_CONTROL_ROTATE_POPUP:"thumbnailsControlRotatePopup",THUMBNAILS_CONTROL_ROTATE_POPUP_TRIGGER:"thumbnailsControlRotatePopupTrigger",THUMBNAILS_CONTROL_MANIPULATE_POPUP:"thumbnailsControlManipulatePopup",THUMBNAILS_CONTROL_MANIPULATE_POPUP_TRIGGER:"thumbnailsControlManipulatePopupTrigger",THUMBNAILS_CONTROL_MANIPULATE_POPUP_SMALL:"thumbnailsControlManipulatePopupSmall",THUMBNAILS_CONTROL_MANIPULATE_POPUP_SMALL_TRIGGER:"thumbnailsControlManipulatePopupSmallTrigger",RUBBER_STAMP_TAB_HEADER:"rubberStampTabHeader",STANDARD_STAMPS_PANEL_BUTTON:"standardStampPanelButton",CUSTOM_STAMPS_PANEL_BUTTON:"customStampPanelButton",STANDARD_STAMPS_PANEL:"standardStampPanel",CUSTOM_STAMPS_PANEL:"customStampPanel",CREATE_CUSTOM_STAMP_BUTTON:"createCustomStampButton",DELETE_CUSTOM_STAMP_BUTTON:"deleteCustomStampButton",ANNOTATION_POPUP:"annotationPopup",FORM_FIELD_EDIT_POPUP:"formFieldEditPopup",TEXT_POPUP:"textPopup",CONTEXT_MENU_POPUP:"contextMenuPopup",INLINE_COMMENT_POPUP:"inlineCommentPopup",TOOL_STYLE_POPUP:"toolStylePopup",RICH_TEXT_PO