ofd-view 0.2.14 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["ofd-view"]=e():t["ofd-view"]=e()}("undefined"!=typeof self?self:this,(function(){return function(){var t={9662:function(t,e,i){var a=i(614),n=i(6330),r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not a function")}},9670:function(t,e,i){var a=i(111),n=String,r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not an object")}},1318:function(t,e,i){var a=i(5656),n=i(1400),r=i(6244),o=function(t){return function(e,i,o){var s,l=a(e),d=r(l),c=n(o,d);if(t&&i!=i){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},3658:function(t,e,i){"use strict";var a=i(9781),n=i(3157),r=TypeError,o=Object.getOwnPropertyDescriptor,s=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(n(t)&&!o(t,"length").writable)throw r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,i){var a=i(84),n=a({}.toString),r=a("".slice);t.exports=function(t){return r(n(t),8,-1)}},9920:function(t,e,i){var a=i(2597),n=i(3887),r=i(1236),o=i(3070);t.exports=function(t,e,i){for(var s=n(e),l=o.f,d=r.f,c=0;c<s.length;c++){var u=s[c];a(t,u)||i&&a(i,u)||l(t,u,d(e,u))}}},8880:function(t,e,i){var a=i(9781),n=i(3070),r=i(9114);t.exports=a?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,i){var a=i(614),n=i(3070),r=i(6339),o=i(3072);t.exports=function(t,e,i,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:e;if(a(i)&&r(i,d,s),s.global)l?t[e]=i:o(e,i);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,i){var a=i(7854),n=Object.defineProperty;t.exports=function(t,e){try{n(a,t,{value:e,configurable:!0,writable:!0})}catch(i){a[t]=e}return e}},9781:function(t,e,i){var a=i(7293);t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:function(t,e,i){var a=i(7854),n=i(111),r=a.document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t,e,i){var a=i(5005);t.exports=a("navigator","userAgent")||""},7392:function(t,e,i){var a,n,r=i(7854),o=i(8113),s=r.process,l=r.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(n=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(n=+a[1]),t.exports=n},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,i){var a=i(7854),n=i(1236).f,r=i(8880),o=i(8052),s=i(3072),l=i(9920),d=i(4705);t.exports=function(t,e){var i,c,u,p,h,f=t.target,m=t.global,g=t.stat;if(i=m?a:g?a[f]||s(f,{}):(a[f]||{}).prototype)for(c in e){if(p=e[c],u=t.dontCallGetSet?(h=n(i,c))&&h.value:i[c],!d(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(t.sham||u&&u.sham)&&r(p,"sham",!0),o(i,c,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},4374:function(t,e,i){var a=i(7293);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,i){var a=i(4374),n=Function.prototype.call;t.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,e,i){var a=i(9781),n=i(2597),r=Function.prototype,o=a&&Object.getOwnPropertyDescriptor,s=n(r,"name"),l=s&&"something"===function(){}.name,d=s&&(!a||a&&o(r,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},84:function(t,e,i){var a=i(4374),n=Function.prototype,r=n.call,o=a&&n.bind.bind(r,r);t.exports=function(t){return a?o(t):function(){return r.apply(t,arguments)}}},1702:function(t,e,i){var a=i(4326),n=i(84);t.exports=function(t){if("Function"===a(t))return n(t)}},5005:function(t,e,i){var a=i(7854),n=i(614);t.exports=function(t,e){return arguments.length<2?(i=a[t],n(i)?i:void 0):a[t]&&a[t][e];var i}},8173:function(t,e,i){var a=i(9662),n=i(8554);t.exports=function(t,e){var i=t[e];return n(i)?void 0:a(i)}},7854:function(t,e,i){var a=function(t){return t&&t.Math==Math&&t};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(t,e,i){var a=i(1702),n=i(7908),r=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,i){var a=i(9781),n=i(7293),r=i(317);t.exports=!a&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,i){var a=i(1702),n=i(7293),r=i(4326),o=Object,s=a("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):o(t)}:o},2788:function(t,e,i){var a=i(1702),n=i(614),r=i(5465),o=a(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),t.exports=r.inspectSource},9909:function(t,e,i){var a,n,r,o=i(4811),s=i(7854),l=i(111),d=i(8880),c=i(2597),u=i(5465),p=i(6200),h=i(3501),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw m(f);return e.facade=t,v.set(t,e),e},n=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var b=p("state");h[b]=!0,a=function(t,e){if(c(t,b))throw m(f);return e.facade=t,d(t,b,e),e},n=function(t){return c(t,b)?t[b]:{}},r=function(t){return c(t,b)}}t.exports={set:a,get:n,has:r,enforce:function(t){return r(t)?n(t):a(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}}}},3157:function(t,e,i){var a=i(4326);t.exports=Array.isArray||function(t){return"Array"==a(t)}},614:function(t,e,i){var a=i(4154),n=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},4705:function(t,e,i){var a=i(7293),n=i(614),r=/#|\.prototype\./,o=function(t,e){var i=l[s(t)];return i==c||i!=d&&(n(e)?a(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=o.data={},d=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,i){var a=i(614),n=i(4154),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===r}:function(t){return"object"==typeof t?null!==t:a(t)}},1913:function(t){t.exports=!1},2190:function(t,e,i){var a=i(5005),n=i(614),r=i(7976),o=i(3307),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return n(e)&&r(e.prototype,s(t))}},6244:function(t,e,i){var a=i(7466);t.exports=function(t){return a(t.length)}},6339:function(t,e,i){var a=i(7293),n=i(614),r=i(2597),o=i(9781),s=i(6530).CONFIGURABLE,l=i(2788),d=i(9909),c=d.enforce,u=d.get,p=Object.defineProperty,h=o&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||s&&t.name!==e)&&(o?p(t,"name",{value:e,configurable:!0}):t.name=e),h&&i&&r(i,"arity")&&t.length!==i.arity&&p(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?o&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return r(a,"source")||(a.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return n(this)&&u(this).source||l(this)}),"toString")},4758:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?i:e)(a)}},3070:function(t,e,i){var a=i(9781),n=i(4664),r=i(3353),o=i(9670),s=i(4948),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";e.f=a?r?function(t,e,i){if(o(t),e=s(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&h in i&&!i[h]){var a=c(t,e);a&&a[h]&&(t[e]=i.value,i={configurable:p in i?i[p]:a[p],enumerable:u in i?i[u]:a[u],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(o(t),e=s(e),o(i),n)try{return d(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:function(t,e,i){var a=i(9781),n=i(6916),r=i(5296),o=i(9114),s=i(5656),l=i(4948),d=i(2597),c=i(4664),u=Object.getOwnPropertyDescriptor;e.f=a?u:function(t,e){if(t=s(t),e=l(e),c)try{return u(t,e)}catch(t){}if(d(t,e))return o(!n(r.f,t,e),t[e])}},8006:function(t,e,i){var a=i(6324),n=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,i){var a=i(1702);t.exports=a({}.isPrototypeOf)},6324:function(t,e,i){var a=i(1702),n=i(2597),r=i(5656),o=i(1318).indexOf,s=i(3501),l=a([].push);t.exports=function(t,e){var i,a=r(t),d=0,c=[];for(i in a)!n(s,i)&&n(a,i)&&l(c,i);for(;e.length>d;)n(a,i=e[d++])&&(~o(c,i)||l(c,i));return c}},5296:function(t,e){"use strict";var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!i.call({1:2},1);e.f=n?function(t){var e=a(this,t);return!!e&&e.enumerable}:i},2140:function(t,e,i){var a=i(6916),n=i(614),r=i(111),o=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&n(i=t.toString)&&!r(s=a(i,t)))return s;if(n(i=t.valueOf)&&!r(s=a(i,t)))return s;if("string"!==e&&n(i=t.toString)&&!r(s=a(i,t)))return s;throw o("Can't convert object to primitive value")}},3887:function(t,e,i){var a=i(5005),n=i(1702),r=i(8006),o=i(5181),s=i(9670),l=n([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?l(e,i(t)):e}},4488:function(t,e,i){var a=i(8554),n=TypeError;t.exports=function(t){if(a(t))throw n("Can't call method on "+t);return t}},6200:function(t,e,i){var a=i(2309),n=i(9711),r=a("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},5465:function(t,e,i){var a=i(7854),n=i(3072),r="__core-js_shared__",o=a[r]||n(r,{});t.exports=o},2309:function(t,e,i){var a=i(1913),n=i(5465);(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,i){var a=i(7392),n=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},1400:function(t,e,i){var a=i(9303),n=Math.max,r=Math.min;t.exports=function(t,e){var i=a(t);return i<0?n(i+e,0):r(i,e)}},5656:function(t,e,i){var a=i(8361),n=i(4488);t.exports=function(t){return a(n(t))}},9303:function(t,e,i){var a=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},7466:function(t,e,i){var a=i(9303),n=Math.min;t.exports=function(t){return t>0?n(a(t),9007199254740991):0}},7908:function(t,e,i){var a=i(4488),n=Object;t.exports=function(t){return n(a(t))}},7593:function(t,e,i){var a=i(6916),n=i(111),r=i(2190),o=i(8173),s=i(2140),l=i(5112),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=o(t,c);if(l){if(void 0===e&&(e="default"),i=a(l,t,e),!n(i)||r(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,i){var a=i(7593),n=i(2190);t.exports=function(t){var e=a(t,"string");return n(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,i){var a=i(1702),n=0,r=Math.random(),o=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+r,36)}},3307:function(t,e,i){var a=i(6293);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,i){var a=i(9781),n=i(7293);t.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,i){var a=i(7854),n=i(614),r=a.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},5112:function(t,e,i){var a=i(7854),n=i(2309),r=i(2597),o=i(9711),s=i(6293),l=i(3307),d=n("wks"),c=a.Symbol,u=c&&c.for,p=l?c:c&&c.withoutSetter||o;t.exports=function(t){if(!r(d,t)||!s&&"string"!=typeof d[t]){var e="Symbol."+t;s&&r(c,t)?d[t]=c[t]:d[t]=l&&u?u(e):p(e)}return d[t]}},7658:function(t,e,i){"use strict";var a=i(2109),n=i(7908),r=i(6244),o=i(3658),s=i(7207),l=i(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:l||d},{push:function(t){var e=n(this),i=r(e),a=arguments.length;s(i+a);for(var l=0;l<a;l++)e[i]=arguments[l],i++;return o(e,i),i}})},4481:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,'.vdr[data-v-239042d1]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-239042d1]{display:none}.vdr[data-v-239042d1]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-239042d1]{display:block}.handle[data-v-239042d1]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-239042d1]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-239042d1]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-239042d1]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-239042d1]{left:-10px;cursor:w-resize}.handle-ml[data-v-239042d1],.handle-mr[data-v-239042d1]{top:50%;margin-top:-5px}.handle-mr[data-v-239042d1]{right:-10px;cursor:e-resize}.handle-bl[data-v-239042d1]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-239042d1]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-239042d1]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-239042d1]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-239042d1]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-239042d1]:before{content:"\\2716"}.close[data-v-239042d1]{top:5px;right:2px;position:absolute}',""]),e.default=o},5600:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,".stamp[data-v-f18015b4]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}",""]),e.default=o},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",a=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),a&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),a&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,a,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);a&&o[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),e.push(c))}},e}},8081:function(t){"use strict";t.exports=function(t){return t[1]}},8618:function(t,e,i){var a=i(4481);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("1e9de6da",a,!0,{sourceMap:!1,shadowMode:!1})},9656:function(t,e,i){var a=i(5600);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("15bff8bf",a,!0,{sourceMap:!1,shadowMode:!1})},4402:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var r=e[n],o=r[0],s={id:t+":"+n,css:r[1],media:r[2],sourceMap:r[3]};a[o]?a[o].parts.push(s):i.push(a[o]={id:o,parts:[s]})}return i}i.d(e,{Z:function(){return f}});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){d=i,u=n||{};var o=a(t,e);return m(o),function(e){for(var i=[],n=0;n<o.length;n++){var s=o[n];(l=r[s.id]).refs--,i.push(l)}e?m(o=a(t,e)):o=[];for(n=0;n<i.length;n++){var l;if(0===(l=i[n]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var i=t[e],a=r[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(v(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var o=[];for(n=0;n<i.parts.length;n++)o.push(v(i.parts[n]));r[i.id]={id:i.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(h){var n=l++;a=s||(s=g()),e=_.bind(null,a,n,!1),i=_.bind(null,a,n,!0)}else a=g(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function _(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var r=document.createTextNode(n),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function w(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}}},e={};function i(a){var n=e[a];if(void 0!==n)return n.exports;var r=e[a]={id:a,exports:{}};return t[a](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.p="";var a={};return function(){"use strict";if(i.r(a),i.d(a,{default:function(){return m}}),"undefined"!=typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}i(7658);function n(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)}function r(t,e,i){let a=t;const r=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((t=>n(a[t])));if(!n(a[r]))return!1;do{if(a[r](e))return!0;if(a===i)return!1;a=a.parentNode}while(a);return!1}var o={replace:!0,name:"VueDraggableResizable",props:{active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},w:{type:Number,default:200,validator:function(t){return t>0}},h:{type:Number,default:200,validator:function(t){return t>0}},minw:{type:Number,default:5,validator:function(t){return t>=0}},minh:{type:Number,default:5,validator:function(t){return t>=0}},fixX:{type:Number,default:-1,validator:function(t){return"number"==typeof t}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){let e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((t=>e.has(t)))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both"].indexOf(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Element,default:null},maximize:{type:Boolean,default:!1},pages:{type:Array,required:!1,default:null},eventBus:{type:Object,default:null},index:{type:Number,required:!1,default:0},currentPage:{type:Number,required:!1,default:0},stampId:{type:String,required:!1,default:null}},created:function(){this.parentX=0,this.parentW=9999,this.parentY=0,this.parentH=9999,this.mouseX=0,this.mouseY=0,this.lastMouseX=0,this.lastMouseY=0,this.mouseOffX=0,this.mouseOffY=0,this.elmX=0,this.elmY=0,this.elmW=0,this.elmH=0,this.scrollPosition=0,this.scrollDist=0,this.pagesCount=this.pages?this.pages.length:0,this.section=[],this.scale=null},mounted:function(){if(this.parent.addEventListener("mousemove",this.handleMove,!1),this.parent.addEventListener("mousedown",this.deselect,!1),this.parent.addEventListener("mouseup",this.handleUp,!1),this.parent.addEventListener("touchmove",this.handleMove,!1),this.parent.addEventListener("touchend",this.handleUp,!1),this.parent.addEventListener("touchstart",this.deselect,!1),this.parent&&this.parent.parentNode.addEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.on("stampResize",this.stampResize),this.elmX=parseInt(this.$el.style.left),this.elmY=parseInt(this.$el.style.top),this.elmW=this.$el.offsetWidth||this.$el.clientWidth,this.elmH=this.$el.offsetHeight||this.$el.clientHeight,this._reviewDimensions(),this.pages){this.scale||(this.scale=this.pages[0].viewport.scale),this.updateSection(),this.top<10&&(this.top=10);let t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1);this.elmY=this.top;let e=this.pages[t];e&&this.x-e.div.offsetLeft-9>0||e&&(this.left=e.div.offsetLeft+9),this.elmX=this.left,this._emitPlaced(t)}},beforeUnmount:function(){this.parent.removeEventListener("mousemove",this.handleMove,!1),this.parent.removeEventListener("mousedown",this.deselect,!1),this.parent.removeEventListener("mouseup",this.handleUp,!1),this.parent&&this.parent.parentNode.removeEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.off("stampResize",this.stampResize),this.parent.removeEventListener("touchmove",this.handleMove,!1),this.parent.removeEventListener("touchend",this.handleUp,!1),this.parent.removeEventListener("touchstart",this.deselect,!1)},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,resizing:!1,dragging:!1,enabled:this.active,handle:null,zIndex:this.z}},methods:{adjust(t,e,i,a){let n=this.binarySearch(t,e,i,a);return(n<0||n>this.pagesCount-1)&&(n=0),n=this.adjustBoundary(n),n},handleScrollMove(t){this.dragging&&(this.scrollDist=t.currentTarget.scrollTop-this.scrollPosition,this.top=this.top+this.scrollDist,this.elmY=this.top),this.scrollPosition=t.currentTarget.scrollTop},stampAreaUpdate(t){for(let e=t-1;e<t+1;e++)e-1>0&&e<this.pagesCount&&(this.section[e].t=this.section[e-1].t+this.pages[e-1].viewport.height+11,this.section[e].o=this.pages[e-1].div.offsetLeft+9)},adjustBoundary(t){return this.pages[t]&&this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height>0&&(this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height-this.elmH/2>0?t+1<this.section.length?(this.top=this.section[t+1].t,t++):this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH:1===this.section.length?this.top=this.top-(this.top+this.elmH-this.pages[t].viewport.height)+9+2:t+1<this.section.length?this.top=this.section[t+1].t-this.elmH-9-2:this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH),t},binarySearch(t,e,i,a){if(i>a)return i-1;let n=Math.floor((i+a)/2),r=t[n].t;return r>e?this.binarySearch(t,e,i,n-1):r<e?this.binarySearch(t,e,n+1,a):n},updateSection(){this.section.length=0;let t=10;for(let e=0;e<this.pagesCount;e++)t=t+(e>0?this.pages[e-1].viewport.height:0)+(e>0?11:0),this.section.push({t:t,o:this.pages[e].div.offsetLeft+9});this.section.push({t:this.section[this.pagesCount-1].t+this.pages[this.pagesCount-1].viewport.height+9+2,o:this.pages[this.pagesCount-1].div.offsetLeft+9})},stampResize(){if(null!=this.scale){const t=[].concat(this.section);this.updateSection();const e=this.top;let i=this.binarySearch(t,e,this.currentPage-1,this.pagesCount-1);i<0&&(i=0);const a=this.pages[0].viewport.scale,n=this.width,r=this.height;this.width=n*a/this.scale,this.height=r*a/this.scale;const o=this.left;this.top=(e-10)*a/this.scale+10,this._reviewDimensions(),this.left=this.pages[i].div.offsetLeft+(o-t[i].o)*a/this.scale+9,i=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1),this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=a,this._emitPlaced(i)}},_emitPlaced(t){t===this.pages.length&&t--,this.$emit("placed",t,this.index,{x:(this.left-this.section[t].o)/this.pages[t].viewport.width,y:(this.top-this.section[t].t)/this.pages[t].viewport.height,w:this.elmW/this.pages[t].viewport.width,h:this.elmH/this.pages[t].viewport.height,pageWidth:this.pages[t].viewport.width,pageHeight:this.pages[t].viewport.height,pageWidthMM:this.pages[t].viewport.pageWidthMM,pageHeightMM:this.pages[t].viewport.pageHeightMM},this.stampId)},_reviewDimensions(){if(this.minw>this.w&&(this.width=this.minw),this.minh>this.h&&(this.height=this.minh),this.parent){const t=parseInt(this.parent.scrollWidth,10),e=parseInt(this.parent.scrollHeight,10);this.parentW=t,this.parentH=e,this.w>this.parentW&&(this.width=t),this.h>this.parentH&&(this.height=e),this.x+this.w>this.parentW-20&&(this.left=this.x-(this.x+this.w-this.parentW)-20),this.y+this.h>this.parentH&&(this.top=this.y-(this.y+this.h-this.parentH))}this.elmW=this.width,this.elmH=this.height},reviewDimensions:function(){this._reviewDimensions(),this.$emit("resizing",this.left,this.top,this.width,this.height)},elmDown:function(t){const e=t.target||t.srcElement;if(this.$el.contains(e)){if(this.dragHandle&&!r(e,this.dragHandle,this.$el)||this.dragCancel&&r(e,this.dragCancel,this.$el))return;this.reviewDimensions(),this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragging=!0)}},deselect:function(t){-1!==t.type.indexOf("touch")?(this.mouseX=t.changedTouches[0].clientX,this.mouseY=t.changedTouches[0].clientY):(this.mouseX=t.pageX||t.clientX+this.parent.scrollLeft,this.mouseY=t.pageY||t.clientY+this.parent.scrollTop),this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;const e=t.target||t.srcElement,i=new RegExp("handle-([trmbl]{2})","");this.$el.contains(e)||i.test(e.className)||this.enabled&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1))},handleDown:function(t,e){this.handle=t,e.cancelable&&(e.stopPropagation(),e.preventDefault()),this.resizing=!0},handleMove:function(t){const e=-1!==t.type.indexOf("touchmove");this.mouseX=e?t.touches[0].clientX:t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=e?t.touches[0].clientY:t.pageY||t.clientY+document.documentElement.scrollTop;let i=this.mouseX-this.lastMouseX+this.mouseOffX,a=this.mouseY-this.lastMouseY+this.mouseOffY;this.mouseOffX=this.mouseOffY=0,this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;let n=i,r=a;if(this.resizing)this.handle.indexOf("t")>=0&&(this.elmH-r<this.minh?this.mouseOffY=r-(a=this.elmH-this.minh):this.parent&&this.elmY+r<this.parentY&&(this.mouseOffY=r-(a=this.parentY-this.elmY)),this.elmY+=a,this.elmH-=a),this.handle.indexOf("b")>=0&&(this.elmH+r<this.minh?this.mouseOffY=r-(a=this.minh-this.elmH):this.parent&&this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH)),this.elmH+=a),this.handle.indexOf("l")>=0&&(this.elmW-n<this.minw?this.mouseOffX=n-(i=this.elmW-this.minw):this.parent&&this.elmX+n<this.parentX&&(this.mouseOffX=n-(i=this.parentX-this.elmX)),this.elmX+=i,this.elmW-=i),this.handle.indexOf("r")>=0&&(this.elmW+n<this.minw?this.mouseOffX=n-(i=this.minw-this.elmW):this.parent&&this.elmX+this.elmW+n>this.parentW&&(this.mouseOffX=n-(i=this.parentW-this.elmX-this.elmW)),this.elmW+=i),this.left=Math.round(this.elmX/this.grid[0])*this.grid[0],this.top=Math.round(this.elmY/this.grid[1])*this.grid[1],this.width=Math.round(this.elmW/this.grid[0])*this.grid[0],this.height=Math.round(this.elmH/this.grid[1])*this.grid[1],this.$emit("resizing",this.left,this.top,this.width,this.height);else if(this.dragging){if(this.parent){this._reviewDimensions();let[t,e]=[0,10];if(this.pages){let e=this.binarySearch(this.section,this.elmY+a,this.currentPage-1,this.pagesCount-1);e<0&&(e=0),this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height>0&&this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height-.9*this.elmH-11>0&&e++,t=this.pages[e].div.offsetLeft+9}this.elmX+n<this.parentX+t?this.mouseOffX=n-(i=this.parentX+t-this.elmX):this.elmX+this.elmW+n>this.parentW-t&&(this.mouseOffX=n-(i=this.parentW-t-this.elmX-this.elmW)),this.elmY+r<this.parentY+e?this.mouseOffY=r-(a=this.parentY+e-this.elmY):this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH))}this.elmX+=i,this.elmY+=a,"x"!==this.axis&&"both"!==this.axis||(this.left=Math.round(this.elmX/this.grid[0])*this.grid[0]),"y"!==this.axis&&"both"!==this.axis||(this.top=Math.round(this.elmY/this.grid[1])*this.grid[1]),this.$emit("dragging",this.left,this.top)}},handleUp:function(t){if(-1!==t.type.indexOf("touch")&&(this.lastMouseX=t.changedTouches[0].clientX,this.lastMouseY=t.changedTouches[0].clientY),this.handle=null,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging){this.dragging=!1;let t=0;this.pages&&(t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1)),this.left<this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft);let e=this.mouseX-this.lastMouseX+this.mouseOffX;this.left+this.elmW+e>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.fixX>=0&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft+this.fixX),this._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",{index:this.index,stampId:this.stampId})}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}}},watch:{active:function(t){this.enabled=t},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},currentPage:function(t){this.stampAreaUpdate(t)}}};i(8618);function s(t,e,i,a,n,r,o,s){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):n&&(l=s?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var l=s(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vdr",class:{draggable:t.draggable,resizable:t.resizable,active:t.enabled,dragging:t.dragging,resizing:t.resizing},style:t.style,on:{mousedown:t.elmDown,touchstart:t.elmDown}},[t.editable?e("button",{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{position:"absolute",right:"5px",top:"-20px"},attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.dropItem.apply(null,arguments)}}},[e("span",{staticClass:"close"})]):t._e(),t._l(t.handles,(function(i){return t.resizable?e("div",{key:i,staticClass:"handle",class:"handle-"+i,style:{display:t.enabled?"block":"none"},on:{mousedown:function(e){return t.handleDown(i,e)},touchstart:function(e){return t.handleDown(i,e)}}}):t._e()})),t._t("default")],2)}),[],!1,null,"239042d1",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},fileBase64:{required:!1},mem:{required:!0},water_text:{type:String,required:!1},secret:{type:String,required:!1},digest:{type:String,required:!1},draggable:{type:Boolean,required:!1,default:!0},resizable:{type:Boolean,required:!1,default:!1},editable:{type:Boolean,required:!1,default:!0},stamps:{type:Array,required:!1,default:()=>[]},sidebarForceOpen:{type:Boolean,required:!1,default:!1},signatureViewerForceCheck:{type:Boolean,required:!1,default:!1},canOpen:{type:Boolean,required:!1,default:!1},canDownload:{type:Boolean,required:!1,default:!1},canPrint:{type:Boolean,required:!1,default:!1},displayToolbar:{type:Boolean,required:!1,default:!0}},watch:{file:{immediate:!0,handler(t){this.config&&this.mem&&(this.ofdViewer=null,this.mem.openOFD(t))}},stamps:{immediate:!0,handler(t){t.length>0&&this.config&&(document.getElementById("scrollModeButtons")&&(document.getElementById("scrollModeButtons").hidden=!0),document.getElementById("spreadModeButtons")&&(document.getElementById("spreadModeButtons").hidden=!0),document.getElementById("secondaryOpenFile")&&(document.getElementById("secondaryOpenFile").hidden=!0),document.getElementById("openFile")&&(document.getElementById("openFile").hidden=!0))}}},data:()=>({viewVisible:!1,config:null,eventBus:null,sp:1,ofdViewer:null}),mounted(){if(!this.config){this.config=this.getViewerConfiguration();let t=new Image;t.style.position="absolute",t.style.left=0,t.style.right=0,t.style.margin="auto",t.style.top=0,t.style.bottom=0,t.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",t.draggable=!1,this.config.loadingContainer=t,this.config.onPageChanging=t=>{this.sp=t},this.config.parserOFDSuccess=t=>{},this.config.onPageScale=t=>{this.eventBus.dispatch("stampResize",{source:null})},this.config.onViewportChange=t=>{this.ofdViewer||(this.viewVisible=!0,this.$emit("viewready",t)),this.ofdViewer=t},this.config.secret=this.secret,this.config.digest=this.digest,this.config.sidebarForceOpen=this.sidebarForceOpen,this.config.signatureViewerForceCheck=this.signatureViewerForceCheck,this.config.onPrintFinishEvent=()=>{this.$emit("onPrintFinishEvent")},this.config.downloadFinishEvent=()=>{this.$emit("onDownloadFinishEvent")},this.config.waterText=this.water_text,this.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file),this.fileBase64&&this.mem.openFileBase64(this.fileBase64),this.displayToolbar||(this.config.toolbar.container.parentElement.hidden=!0)},methods:{getViewerConfiguration(){let t;this.$slots&&this.$slots.openFileRef&&this.$slots.openFileRef[0].elm&&(t=this.$slots.openFileRef[0].elm);let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),openFileTip:t,toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print"),download:document.getElementById("download")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),downloadButton:document.getElementById("secondaryDownload"),viewBookmarkButton:document.getElementById("secondaryViewBookmark"),firstPageButton:document.getElementById("firstPage"),lastPageButton:document.getElementById("lastPage"),pageRotateCwButton:document.getElementById("pageRotateCw"),pageRotateCcwButton:document.getElementById("pageRotateCcw"),cursorSelectToolButton:document.getElementById("cursorSelectTool"),cursorHandToolButton:document.getElementById("cursorHandTool"),scrollPageButton:document.getElementById("scrollPage"),scrollVerticalButton:document.getElementById("scrollVertical"),scrollHorizontalButton:document.getElementById("scrollHorizontal"),scrollWrappedButton:document.getElementById("scrollWrapped"),spreadNoneButton:document.getElementById("spreadNone"),spreadOddButton:document.getElementById("spreadOdd"),spreadEvenButton:document.getElementById("spreadEven"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer"),toggleButton:document.getElementById("sidebarToggle"),outlineButton:document.getElementById("viewOutline"),attachmentsButton:document.getElementById("viewAttachments"),signaturesButton:document.getElementById("viewSignatures"),outlineView:document.getElementById("outlineView"),attachmentsView:document.getElementById("attachmentsView"),signaturesView:document.getElementById("signaturesView"),currentOutlineItemButton:document.getElementById("currentOutlineItem")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}},onStampDragOver(t){t.dataTransfer.dropEffect="move"},removeStamp(t){this.$emit("removePos",t)},onStampDragStop(t){},placed(t,e,i,a){this.$emit("itemDropped",e,t,i,a)}}},c=(i(9656),s(d,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"outerContainer"}},[t._m(0),t._v(" "),e("div",{attrs:{id:"mainContainer"}},[t.displayToolbar?e("div",{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{id:"secondaryToolbar"}},[e("div",{attrs:{id:"secondaryToolbarButtonContainer"}},[t.canOpen?e("button",{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{id:"secondaryOpenFile",title:"打开文件",tabindex:"52","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{id:"secondaryPrint",title:"打印",tabindex:"53","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{id:"secondaryDownload",title:"Download",tabindex:"54","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),t._m(1),e("div",{staticClass:"horizontalToolbarSeparator visibleLargeView"}),t._m(2),t._m(3),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(4),t._m(5),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(6),t._m(7),t._m(8),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(9)])]):t._e(),t._v(" "),e("div",{staticClass:"toolbar"},[e("div",{attrs:{id:"toolbarContainer"}},[e("div",{attrs:{id:"toolbarViewer"}},[t._m(10),e("div",{attrs:{id:"toolbarViewerRight"}},[t.canOpen?e("button",{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{id:"openFile",title:"打开文件",tabindex:"32","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"toolbarButton print hiddenMediumView",attrs:{id:"print",title:"打印",tabindex:"33","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"toolbarButton download hiddenMediumView",attrs:{id:"download",title:"Download",tabindex:"34","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),e("div",{staticClass:"verticalToolbarSeparator hiddenSmallView"}),t._m(11)]),t._m(12)])])]),e("div",{attrs:{id:"viewerContainer",tabindex:"0"}},[e("div",{staticClass:"pdfViewer",attrs:{id:"viewer"},on:{dragover:function(e){return e.preventDefault(),t.onStampDragOver.apply(null,arguments)}}},t._l(t.stamps,(function(i,a){return t.viewVisible?e("vue-draggable-resizable",{key:i.key,attrs:{w:i.w?i.w:174,h:i.h?i.h:174,parent:t.config.viewerContainer,customForStamp:!0,eventBus:t.eventBus,handles:["tl","tr","bl","br"],index:a,x:i.x,y:i.located?i.y:i.y+t.config.mainContainer.scrollTop,fixX:i.fixX,pages:t.ofdViewer._pages,currentPage:t.sp,"origin-bottom":!1,stampId:i.source.stampId,draggable:t.draggable,resizable:t.resizable,editable:t.editable},on:{dropitem:t.removeStamp,dragstop:t.onStampDragStop,placed:t.placed}},[e("div",{staticClass:"stamp",style:{backgroundImage:"url(data:image/png;base64,"+i.source.stampBase64+")"}})]):t._e()})),1),t._t("openFileRef")],2),t._m(13)]),t._v(" "),t._m(14)])}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"sidebarContainer"}},[e("div",{attrs:{id:"toolbarSidebar"}},[e("div",{attrs:{id:"toolbarSidebarLeft"}},[e("div",{staticClass:"splitToolbarButton toggled",attrs:{id:"sidebarViewButtons",role:"radiogroup"}},[e("button",{staticClass:"toolbarButton toggled",attrs:{id:"viewOutline",title:"Show Document Outline (double-click to expand/collapse all items)",tabindex:"3","data-l10n-id":"document_outline",role:"radio","aria-checked":"false","aria-controls":"outlineView"}},[e("span",{attrs:{"data-l10n-id":"document_outline_label"}},[t._v("Document Outline")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewAttachments",title:"Show Attachments",tabindex:"4","data-l10n-id":"attachments",role:"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[e("span",{attrs:{"data-l10n-id":"attachments_label"}},[t._v("Attachments")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewSignatures",title:"Show Signatures",tabindex:"6","data-l10n-id":"layers",role:"radio","aria-checked":"false","aria-controls":"signaturesView"}},[e("span",{attrs:{"data-l10n-id":"signatures_label"}},[t._v("Signatures")])])])]),e("div",{attrs:{id:"toolbarSidebarRight"}},[e("div",{staticClass:"hidden",attrs:{id:"outlineOptionsContainer"}},[e("div",{staticClass:"verticalToolbarSeparator"}),e("button",{staticClass:"toolbarButton",attrs:{id:"currentOutlineItem",disabled:"disabled",title:"Find Current Outline Item",tabindex:"6","data-l10n-id":"current_outline_item"}},[e("span",{attrs:{"data-l10n-id":"current_outline_item_label"}},[t._v("Current Outline Item")])])])])]),e("div",{attrs:{id:"sidebarContent"}},[e("div",{attrs:{id:"outlineView"}}),e("div",{staticClass:"hidden",attrs:{id:"attachmentsView"}}),e("div",{staticClass:"hidden",attrs:{id:"signaturesView"}})]),e("div",{attrs:{id:"sidebarResizer"}})])},function(){var t=this._self._c;return t("a",{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{href:"#",id:"secondaryViewBookmark",title:"Current view (copy or open in new window)",tabindex:"55","data-l10n-id":"bookmark"}},[t("span",{attrs:{"data-l10n-id":"bookmark_label"}},[this._v("Current View")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton firstPage",attrs:{id:"firstPage",title:"Go to First Page",tabindex:"56","data-l10n-id":"first_page"}},[t("span",{attrs:{"data-l10n-id":"first_page_label"}},[this._v("Go to First Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton lastPage",attrs:{id:"lastPage",title:"Go to Last Page",tabindex:"57","data-l10n-id":"last_page"}},[t("span",{attrs:{"data-l10n-id":"last_page_label"}},[this._v("Go to Last Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCw",attrs:{id:"pageRotateCw",title:"Rotate Clockwise",tabindex:"58","data-l10n-id":"page_rotate_cw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[this._v("Rotate Clockwise")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCcw",attrs:{id:"pageRotateCcw",title:"Rotate Counterclockwise",tabindex:"59","data-l10n-id":"page_rotate_ccw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[this._v("Rotate Counterclockwise")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"cursorToolButtons",role:"radiogroup"}},[e("button",{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{id:"cursorSelectTool",title:"Enable Text Selection Tool",tabindex:"60","data-l10n-id":"cursor_text_select_tool",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[t._v("Text Selection Tool")])]),e("button",{staticClass:"secondaryToolbarButton handTool",attrs:{id:"cursorHandTool",title:"Enable Hand Tool",tabindex:"61","data-l10n-id":"cursor_hand_tool",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[t._v("Hand Tool")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"scrollModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton scrollPage",attrs:{id:"scrollPage",title:"Use Page Scrolling",tabindex:"62","data-l10n-id":"scroll_page",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_page_label"}},[t._v("Page Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{id:"scrollVertical",title:"Use Vertical Scrolling",tabindex:"63","data-l10n-id":"scroll_vertical",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"scroll_vertical_label"}},[t._v("Vertical Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{id:"scrollHorizontal",title:"Use Horizontal Scrolling",tabindex:"64","data-l10n-id":"scroll_horizontal",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[t._v("Horizontal Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{id:"scrollWrapped",title:"Use Wrapped Scrolling",tabindex:"65","data-l10n-id":"scroll_wrapped",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[t._v("Wrapped Scrolling")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"spreadModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{id:"spreadNone",title:"Do not join page spreads",tabindex:"66","data-l10n-id":"spread_none",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"spread_none_label"}},[t._v("No Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadOdd",attrs:{id:"spreadOdd",title:"Join page spreads starting with odd-numbered pages",tabindex:"67","data-l10n-id":"spread_odd",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_odd_label"}},[t._v("Odd Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadEven",attrs:{id:"spreadEven",title:"Join page spreads starting with even-numbered pages",tabindex:"68","data-l10n-id":"spread_even",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_even_label"}},[t._v("Even Spreads")])])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton documentProperties",attrs:{id:"documentProperties",title:"文档属性…",tabindex:"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[t("span",{attrs:{"data-l10n-id":"document_properties_label"}},[this._v("文档属性…")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerLeft"}},[e("button",{staticClass:"toolbarButton",attrs:{id:"sidebarToggle",title:"Toggle Sidebar",tabindex:"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[e("span",{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[t._v("切换侧栏")])]),e("div",{staticClass:"splitToolbarButton hiddenSmallView"},[e("button",{staticClass:"toolbarButton pageUp",attrs:{title:"上一页",id:"previous",tabindex:"13","data-l10n-id":"previous"}},[e("span",{attrs:{"data-l10n-id":"previous_label"}},[t._v("上一页")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton pageDown",attrs:{title:"下一页",id:"next",tabindex:"14","data-l10n-id":"next"}},[e("span",{attrs:{"data-l10n-id":"next_label"}},[t._v("下一页")])])]),e("input",{staticClass:"toolbarField pageNumber",attrs:{type:"number",id:"pageNumber",title:"页面",value:"1",size:"4",min:"1",tabindex:"15","data-l10n-id":"page",autocomplete:"off"}}),e("span",{staticClass:"toolbarLabel",attrs:{id:"numPages"}})])},function(){var t=this._self._c;return t("button",{staticClass:"toolbarButton",attrs:{id:"secondaryToolbarToggle",title:"工具",tabindex:"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[t("span",{attrs:{"data-l10n-id":"tools_label"}},[this._v("工具")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerMiddle"}},[e("div",{staticClass:"splitToolbarButton"},[e("button",{staticClass:"toolbarButton zoomOut",attrs:{id:"zoomOut",title:"缩小",tabindex:"21","data-l10n-id":"zoom_out"}},[e("span",{attrs:{"data-l10n-id":"zoom_out_label"}},[t._v("缩小")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton zoomIn",attrs:{id:"zoomIn",title:"放大",tabindex:"22","data-l10n-id":"zoom_in"}},[e("span",{attrs:{"data-l10n-id":"zoom_in_label"}},[t._v("放大")])])]),e("span",{staticClass:"dropdownToolbarButton",attrs:{id:"scaleSelectContainer"}},[e("select",{attrs:{id:"scaleSelect",title:"缩放",tabindex:"23","data-l10n-id":"zoom"}},[e("option",{attrs:{id:"pageAutoOption",title:"",value:"auto",selected:"selected","data-l10n-id":"page_scale_auto"}},[t._v("自动缩放")]),e("option",{attrs:{id:"pageActualOption",title:"",value:"page-actual","data-l10n-id":"page_scale_actual"}},[t._v("实际大小")]),e("option",{attrs:{id:"pageFitOption",title:"",value:"page-fit","data-l10n-id":"page_scale_fit"}},[t._v("适合页面")]),e("option",{attrs:{id:"pageWidthOption",title:"",value:"page-width","data-l10n-id":"page_scale_width"}},[t._v("适合页宽")]),e("option",{attrs:{id:"customScaleOption",title:"",value:"custom",disabled:"disabled",hidden:"true"}}),e("option",{attrs:{title:"",value:"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 50 }'}},[t._v("50%")]),e("option",{attrs:{title:"",value:"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 75 }'}},[t._v("75%")]),e("option",{attrs:{title:"",value:"1","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 100 }'}},[t._v("100%")]),e("option",{attrs:{title:"",value:"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 125 }'}},[t._v("125%")]),e("option",{attrs:{title:"",value:"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 150 }'}},[t._v("150%")]),e("option",{attrs:{title:"",value:"2","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 200 }'}},[t._v("200%")]),e("option",{attrs:{title:"",value:"3","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 300 }'}},[t._v("300%")]),e("option",{attrs:{title:"",value:"4","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 400 }'}},[t._v("400%")])])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"errorWrapper",hidden:"true"}},[e("div",{attrs:{id:"errorMessageLeft"}},[e("span",{attrs:{id:"errorMessage"}}),e("button",{attrs:{id:"errorShowMore","data-l10n-id":"error_more_info"}},[t._v(" More Information ")]),e("button",{attrs:{id:"errorShowLess","data-l10n-id":"error_less_info",hidden:"true"}},[t._v(" Less Information ")])]),e("div",{attrs:{id:"errorMessageRight"}},[e("button",{attrs:{id:"errorClose","data-l10n-id":"error_close"}},[t._v(" Close ")])]),e("div",{staticClass:"clearBoth"}),e("textarea",{attrs:{id:"errorMoreInfo",hidden:"true",readonly:"readonly"}})])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"dialogContainer"}},[e("dialog",{attrs:{id:"documentPropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[t._v("文件名:")]),e("p",{attrs:{id:"fileNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[t._v("文件大小:")]),e("p",{attrs:{id:"fileSizeField","aria-labelledby":"fileSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"titleLabel","data-l10n-id":"document_properties_title"}},[t._v("标题:")]),e("p",{attrs:{id:"titleField","aria-labelledby":"titleLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"authorLabel","data-l10n-id":"document_properties_author"}},[t._v("作者:")]),e("p",{attrs:{id:"authorField","aria-labelledby":"authorLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"subjectLabel","data-l10n-id":"document_properties_subject"}},[t._v("主题:")]),e("p",{attrs:{id:"subjectField","aria-labelledby":"subjectLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[t._v("关键词:")]),e("p",{attrs:{id:"keywordsField","aria-labelledby":"keywordsLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[t._v("创建日期:")]),e("p",{attrs:{id:"creationDateField","aria-labelledby":"creationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[t._v("修改日期:")]),e("p",{attrs:{id:"modificationDateField","aria-labelledby":"modificationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creatorLabel","data-l10n-id":"document_properties_creator"}},[t._v("创建者:")]),e("p",{attrs:{id:"creatorField","aria-labelledby":"creatorLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"producerLabel","data-l10n-id":"document_properties_producer"}},[t._v("OFD 生成器:")]),e("p",{attrs:{id:"producerField","aria-labelledby":"producerLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"versionLabel","data-l10n-id":"document_properties_version"}},[t._v("OFD 版本:")]),e("p",{attrs:{id:"versionField","aria-labelledby":"versionLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[t._v("页数:")]),e("p",{attrs:{id:"pageCountField","aria-labelledby":"pageCountLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[t._v("页面大小:")]),e("p",{attrs:{id:"pageSizeField","aria-labelledby":"pageSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row",attrs:{hidden:"hidden"}},[e("span",{attrs:{id:"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[t._v("快速 Web 视图:")]),e("p",{attrs:{id:"linearizedField","aria-labelledby":"linearizedLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"documentPropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])]),e("dialog",{staticStyle:{"min-width":"200px"},attrs:{id:"printServiceDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{"data-l10n-id":"print_progress_message"}},[t._v("正在准备打印文档…")])]),e("div",{staticClass:"row"},[e("progress",{attrs:{id:"printProgress",value:"0",max:"100"}}),e("span",{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":'{ "progress": 0 }'}},[t._v("0%")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"printCancel"}},[e("span",{attrs:{"data-l10n-id":"print_progress_close"}},[t._v("取消")])])])]),e("dialog",{attrs:{id:"signaturePropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"signerLabel"}},[t._v("签章人:")]),e("p",{attrs:{id:"signerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"providerLabel"}},[t._v("签章提供者:")]),e("p",{attrs:{id:"providerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"hashedValueLabel"}},[t._v("原文摘要值:")]),e("p",{attrs:{id:"hashedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signedValueLabel"}},[t._v("签名值:")]),e("p",{attrs:{id:"signedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signMethodLabel"}},[t._v("签名算法:")]),e("p",{attrs:{id:"signMethodField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signVersionLabel"}},[t._v("版本号:")]),e("p",{attrs:{id:"signVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"verifyLabel"}},[t._v("验签结果:")]),e("p",{attrs:{id:"verifyField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealIDLabel"}},[t._v("印章标识:")]),e("p",{attrs:{id:"sealIDField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealNameLabel"}},[t._v("印章名称:")]),e("p",{attrs:{id:"sealNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealTypeLabel"}},[t._v("印章类型:")]),e("p",{attrs:{id:"sealTypeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealAuthTimeLabel"}},[t._v("有效时间:")]),e("p",{attrs:{id:"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealMakeTimeLabel"}},[t._v("制章日期:")]),e("p",{attrs:{id:"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealVersionLabel"}},[t._v("印章版本:")]),e("p",{attrs:{id:"sealVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"signaturePropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])])])}],!1,null,"f18015b4",null)),u=c.exports;u.install=t=>t.component(u.name,u);var p=u;const h=[p],f=function(t){f.installed||h.map((e=>t.component(e.name,e)))};"undefined"!=typeof window&&window.Vue&&f(window.Vue);var m={install:f,OfdView:p}}(),a}()}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["ofd-view"]=e():t["ofd-view"]=e()}("undefined"!=typeof self?self:this,(function(){return function(){var t={9662:function(t,e,i){var a=i(614),n=i(6330),r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not a function")}},9670:function(t,e,i){var a=i(111),n=String,r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not an object")}},1318:function(t,e,i){var a=i(5656),n=i(1400),r=i(6244),o=function(t){return function(e,i,o){var s,l=a(e),d=r(l),c=n(o,d);if(t&&i!=i){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},3658:function(t,e,i){"use strict";var a=i(9781),n=i(3157),r=TypeError,o=Object.getOwnPropertyDescriptor,s=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(n(t)&&!o(t,"length").writable)throw r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,i){var a=i(84),n=a({}.toString),r=a("".slice);t.exports=function(t){return r(n(t),8,-1)}},9920:function(t,e,i){var a=i(2597),n=i(3887),r=i(1236),o=i(3070);t.exports=function(t,e,i){for(var s=n(e),l=o.f,d=r.f,c=0;c<s.length;c++){var u=s[c];a(t,u)||i&&a(i,u)||l(t,u,d(e,u))}}},8880:function(t,e,i){var a=i(9781),n=i(3070),r=i(9114);t.exports=a?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,i){var a=i(614),n=i(3070),r=i(6339),o=i(3072);t.exports=function(t,e,i,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:e;if(a(i)&&r(i,d,s),s.global)l?t[e]=i:o(e,i);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,i){var a=i(7854),n=Object.defineProperty;t.exports=function(t,e){try{n(a,t,{value:e,configurable:!0,writable:!0})}catch(i){a[t]=e}return e}},9781:function(t,e,i){var a=i(7293);t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:function(t,e,i){var a=i(7854),n=i(111),r=a.document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t,e,i){var a=i(5005);t.exports=a("navigator","userAgent")||""},7392:function(t,e,i){var a,n,r=i(7854),o=i(8113),s=r.process,l=r.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(n=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(n=+a[1]),t.exports=n},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,i){var a=i(7854),n=i(1236).f,r=i(8880),o=i(8052),s=i(3072),l=i(9920),d=i(4705);t.exports=function(t,e){var i,c,u,p,h,f=t.target,m=t.global,g=t.stat;if(i=m?a:g?a[f]||s(f,{}):(a[f]||{}).prototype)for(c in e){if(p=e[c],u=t.dontCallGetSet?(h=n(i,c))&&h.value:i[c],!d(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(t.sham||u&&u.sham)&&r(p,"sham",!0),o(i,c,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},4374:function(t,e,i){var a=i(7293);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,i){var a=i(4374),n=Function.prototype.call;t.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,e,i){var a=i(9781),n=i(2597),r=Function.prototype,o=a&&Object.getOwnPropertyDescriptor,s=n(r,"name"),l=s&&"something"===function(){}.name,d=s&&(!a||a&&o(r,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},84:function(t,e,i){var a=i(4374),n=Function.prototype,r=n.call,o=a&&n.bind.bind(r,r);t.exports=function(t){return a?o(t):function(){return r.apply(t,arguments)}}},1702:function(t,e,i){var a=i(4326),n=i(84);t.exports=function(t){if("Function"===a(t))return n(t)}},5005:function(t,e,i){var a=i(7854),n=i(614);t.exports=function(t,e){return arguments.length<2?(i=a[t],n(i)?i:void 0):a[t]&&a[t][e];var i}},8173:function(t,e,i){var a=i(9662),n=i(8554);t.exports=function(t,e){var i=t[e];return n(i)?void 0:a(i)}},7854:function(t,e,i){var a=function(t){return t&&t.Math==Math&&t};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(t,e,i){var a=i(1702),n=i(7908),r=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,i){var a=i(9781),n=i(7293),r=i(317);t.exports=!a&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,i){var a=i(1702),n=i(7293),r=i(4326),o=Object,s=a("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):o(t)}:o},2788:function(t,e,i){var a=i(1702),n=i(614),r=i(5465),o=a(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),t.exports=r.inspectSource},9909:function(t,e,i){var a,n,r,o=i(4811),s=i(7854),l=i(111),d=i(8880),c=i(2597),u=i(5465),p=i(6200),h=i(3501),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw m(f);return e.facade=t,v.set(t,e),e},n=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var b=p("state");h[b]=!0,a=function(t,e){if(c(t,b))throw m(f);return e.facade=t,d(t,b,e),e},n=function(t){return c(t,b)?t[b]:{}},r=function(t){return c(t,b)}}t.exports={set:a,get:n,has:r,enforce:function(t){return r(t)?n(t):a(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}}}},3157:function(t,e,i){var a=i(4326);t.exports=Array.isArray||function(t){return"Array"==a(t)}},614:function(t,e,i){var a=i(4154),n=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},4705:function(t,e,i){var a=i(7293),n=i(614),r=/#|\.prototype\./,o=function(t,e){var i=l[s(t)];return i==c||i!=d&&(n(e)?a(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=o.data={},d=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,i){var a=i(614),n=i(4154),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===r}:function(t){return"object"==typeof t?null!==t:a(t)}},1913:function(t){t.exports=!1},2190:function(t,e,i){var a=i(5005),n=i(614),r=i(7976),o=i(3307),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return n(e)&&r(e.prototype,s(t))}},6244:function(t,e,i){var a=i(7466);t.exports=function(t){return a(t.length)}},6339:function(t,e,i){var a=i(7293),n=i(614),r=i(2597),o=i(9781),s=i(6530).CONFIGURABLE,l=i(2788),d=i(9909),c=d.enforce,u=d.get,p=Object.defineProperty,h=o&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||s&&t.name!==e)&&(o?p(t,"name",{value:e,configurable:!0}):t.name=e),h&&i&&r(i,"arity")&&t.length!==i.arity&&p(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?o&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return r(a,"source")||(a.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return n(this)&&u(this).source||l(this)}),"toString")},4758:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?i:e)(a)}},3070:function(t,e,i){var a=i(9781),n=i(4664),r=i(3353),o=i(9670),s=i(4948),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";e.f=a?r?function(t,e,i){if(o(t),e=s(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&h in i&&!i[h]){var a=c(t,e);a&&a[h]&&(t[e]=i.value,i={configurable:p in i?i[p]:a[p],enumerable:u in i?i[u]:a[u],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(o(t),e=s(e),o(i),n)try{return d(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:function(t,e,i){var a=i(9781),n=i(6916),r=i(5296),o=i(9114),s=i(5656),l=i(4948),d=i(2597),c=i(4664),u=Object.getOwnPropertyDescriptor;e.f=a?u:function(t,e){if(t=s(t),e=l(e),c)try{return u(t,e)}catch(t){}if(d(t,e))return o(!n(r.f,t,e),t[e])}},8006:function(t,e,i){var a=i(6324),n=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,i){var a=i(1702);t.exports=a({}.isPrototypeOf)},6324:function(t,e,i){var a=i(1702),n=i(2597),r=i(5656),o=i(1318).indexOf,s=i(3501),l=a([].push);t.exports=function(t,e){var i,a=r(t),d=0,c=[];for(i in a)!n(s,i)&&n(a,i)&&l(c,i);for(;e.length>d;)n(a,i=e[d++])&&(~o(c,i)||l(c,i));return c}},5296:function(t,e){"use strict";var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!i.call({1:2},1);e.f=n?function(t){var e=a(this,t);return!!e&&e.enumerable}:i},2140:function(t,e,i){var a=i(6916),n=i(614),r=i(111),o=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&n(i=t.toString)&&!r(s=a(i,t)))return s;if(n(i=t.valueOf)&&!r(s=a(i,t)))return s;if("string"!==e&&n(i=t.toString)&&!r(s=a(i,t)))return s;throw o("Can't convert object to primitive value")}},3887:function(t,e,i){var a=i(5005),n=i(1702),r=i(8006),o=i(5181),s=i(9670),l=n([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?l(e,i(t)):e}},4488:function(t,e,i){var a=i(8554),n=TypeError;t.exports=function(t){if(a(t))throw n("Can't call method on "+t);return t}},6200:function(t,e,i){var a=i(2309),n=i(9711),r=a("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},5465:function(t,e,i){var a=i(7854),n=i(3072),r="__core-js_shared__",o=a[r]||n(r,{});t.exports=o},2309:function(t,e,i){var a=i(1913),n=i(5465);(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,i){var a=i(7392),n=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},1400:function(t,e,i){var a=i(9303),n=Math.max,r=Math.min;t.exports=function(t,e){var i=a(t);return i<0?n(i+e,0):r(i,e)}},5656:function(t,e,i){var a=i(8361),n=i(4488);t.exports=function(t){return a(n(t))}},9303:function(t,e,i){var a=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},7466:function(t,e,i){var a=i(9303),n=Math.min;t.exports=function(t){return t>0?n(a(t),9007199254740991):0}},7908:function(t,e,i){var a=i(4488),n=Object;t.exports=function(t){return n(a(t))}},7593:function(t,e,i){var a=i(6916),n=i(111),r=i(2190),o=i(8173),s=i(2140),l=i(5112),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=o(t,c);if(l){if(void 0===e&&(e="default"),i=a(l,t,e),!n(i)||r(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,i){var a=i(7593),n=i(2190);t.exports=function(t){var e=a(t,"string");return n(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,i){var a=i(1702),n=0,r=Math.random(),o=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+r,36)}},3307:function(t,e,i){var a=i(6293);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,i){var a=i(9781),n=i(7293);t.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,i){var a=i(7854),n=i(614),r=a.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},5112:function(t,e,i){var a=i(7854),n=i(2309),r=i(2597),o=i(9711),s=i(6293),l=i(3307),d=n("wks"),c=a.Symbol,u=c&&c.for,p=l?c:c&&c.withoutSetter||o;t.exports=function(t){if(!r(d,t)||!s&&"string"!=typeof d[t]){var e="Symbol."+t;s&&r(c,t)?d[t]=c[t]:d[t]=l&&u?u(e):p(e)}return d[t]}},7658:function(t,e,i){"use strict";var a=i(2109),n=i(7908),r=i(6244),o=i(3658),s=i(7207),l=i(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:l||d},{push:function(t){var e=n(this),i=r(e),a=arguments.length;s(i+a);for(var l=0;l<a;l++)e[i]=arguments[l],i++;return o(e,i),i}})},3862:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,'.vdr[data-v-669761ac]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-669761ac]{display:none}.vdr[data-v-669761ac]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-669761ac]{display:block}.handle[data-v-669761ac]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-669761ac]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-669761ac]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-669761ac]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-669761ac]{left:-10px;cursor:w-resize}.handle-ml[data-v-669761ac],.handle-mr[data-v-669761ac]{top:50%;margin-top:-5px}.handle-mr[data-v-669761ac]{right:-10px;cursor:e-resize}.handle-bl[data-v-669761ac]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-669761ac]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-669761ac]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-669761ac]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-669761ac]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-669761ac]:before{content:"\\2716"}.close[data-v-669761ac]{top:5px;right:2px;position:absolute}',""]),e.default=o},5600:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,".stamp[data-v-f18015b4]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}",""]),e.default=o},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",a=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),a&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),a&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,a,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);a&&o[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),e.push(c))}},e}},8081:function(t){"use strict";t.exports=function(t){return t[1]}},5064:function(t,e,i){var a=i(3862);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("6ff49372",a,!0,{sourceMap:!1,shadowMode:!1})},9656:function(t,e,i){var a=i(5600);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("15bff8bf",a,!0,{sourceMap:!1,shadowMode:!1})},4402:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var r=e[n],o=r[0],s={id:t+":"+n,css:r[1],media:r[2],sourceMap:r[3]};a[o]?a[o].parts.push(s):i.push(a[o]={id:o,parts:[s]})}return i}i.d(e,{Z:function(){return f}});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){d=i,u=n||{};var o=a(t,e);return m(o),function(e){for(var i=[],n=0;n<o.length;n++){var s=o[n];(l=r[s.id]).refs--,i.push(l)}e?m(o=a(t,e)):o=[];for(n=0;n<i.length;n++){var l;if(0===(l=i[n]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var i=t[e],a=r[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(v(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var o=[];for(n=0;n<i.parts.length;n++)o.push(v(i.parts[n]));r[i.id]={id:i.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(h){var n=l++;a=s||(s=g()),e=_.bind(null,a,n,!1),i=_.bind(null,a,n,!0)}else a=g(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function _(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var r=document.createTextNode(n),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function w(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}}},e={};function i(a){var n=e[a];if(void 0!==n)return n.exports;var r=e[a]={id:a,exports:{}};return t[a](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.p="";var a={};return function(){"use strict";if(i.r(a),i.d(a,{default:function(){return m}}),"undefined"!=typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}i(7658);function n(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)}function r(t,e,i){let a=t;const r=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((t=>n(a[t])));if(!n(a[r]))return!1;do{if(a[r](e))return!0;if(a===i)return!1;a=a.parentNode}while(a);return!1}var o={replace:!0,name:"VueDraggableResizable",props:{active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},w:{type:Number,default:200,validator:function(t){return t>0}},h:{type:Number,default:200,validator:function(t){return t>0}},minw:{type:Number,default:5,validator:function(t){return t>=0}},minh:{type:Number,default:5,validator:function(t){return t>=0}},fixX:{type:Number,default:-1,validator:function(t){return"number"==typeof t}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){let e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((t=>e.has(t)))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both"].indexOf(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Element,default:null},maximize:{type:Boolean,default:!1},pages:{type:Array,required:!1,default:null},eventBus:{type:Object,default:null},index:{type:Number,required:!1,default:0},currentPage:{type:Number,required:!1,default:0},stampId:{type:String,required:!1,default:null}},created:function(){this.parentX=0,this.parentW=9999,this.parentY=0,this.parentH=9999,this.mouseX=0,this.mouseY=0,this.lastMouseX=0,this.lastMouseY=0,this.mouseOffX=0,this.mouseOffY=0,this.elmX=0,this.elmY=0,this.elmW=0,this.elmH=0,this.scrollPosition=0,this.scrollDist=0,this.pagesCount=this.pages?this.pages.length:0,this.section=[],this.scale=null},mounted:function(){if(this.parent.addEventListener("mousemove",this.handleMove,!1),this.parent.addEventListener("mousedown",this.deselect,!1),this.parent.addEventListener("mouseup",this.handleUp,!1),this.parent.addEventListener("touchmove",this.handleMove,!1),this.parent.addEventListener("touchend",this.handleUp,!1),this.parent.addEventListener("touchstart",this.deselect,!1),this.parent&&this.parent.parentNode.addEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.on("stampResize",this.stampResize),this.elmX=parseInt(this.$el.style.left),this.elmY=parseInt(this.$el.style.top),this.elmW=this.$el.offsetWidth||this.$el.clientWidth,this.elmH=this.$el.offsetHeight||this.$el.clientHeight,this._reviewDimensions(),this.pages){this.scale||(this.scale=this.pages[0].viewport.scale),this.updateSection(),this.top<10&&(this.top=10);let t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1);this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW,this.elmY=this.top;let e=this.pages[t];e&&this.x-e.div.offsetLeft-9>0||e&&(this.left=e.div.offsetLeft+9),this.elmX=this.left,this._emitPlaced(t)}},beforeUnmount:function(){this.parent.removeEventListener("mousemove",this.handleMove,!1),this.parent.removeEventListener("mousedown",this.deselect,!1),this.parent.removeEventListener("mouseup",this.handleUp,!1),this.parent&&this.parent.parentNode.removeEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.off("stampResize",this.stampResize),this.parent.removeEventListener("touchmove",this.handleMove,!1),this.parent.removeEventListener("touchend",this.handleUp,!1),this.parent.removeEventListener("touchstart",this.deselect,!1)},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,resizing:!1,dragging:!1,enabled:this.active,handle:null,zIndex:this.z}},methods:{adjust(t,e,i,a){let n=this.binarySearch(t,e,i,a);return(n<0||n>this.pagesCount-1)&&(n=0),n=this.adjustBoundary(n),n},handleScrollMove(t){this.dragging&&(this.scrollDist=t.currentTarget.scrollTop-this.scrollPosition,this.top=this.top+this.scrollDist,this.elmY=this.top),this.scrollPosition=t.currentTarget.scrollTop},stampAreaUpdate(t){for(let e=t-1;e<t+1;e++)e-1>0&&e<this.pagesCount&&(this.section[e].t=this.section[e-1].t+this.pages[e-1].viewport.height+11,this.section[e].o=this.pages[e-1].div.offsetLeft+9)},adjustBoundary(t){return this.pages[t]&&this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height>0&&(this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height-this.elmH/2>0?t+1<this.section.length?(this.top=this.section[t+1].t,t++):this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH:1===this.section.length?this.top=this.top-(this.top+this.elmH-this.pages[t].viewport.height)+9+2:t+1<this.section.length?this.top=this.section[t+1].t-this.elmH-9-2:this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH),t},binarySearch(t,e,i,a){if(i>a)return i-1;let n=Math.floor((i+a)/2),r=t[n].t;return r>e?this.binarySearch(t,e,i,n-1):r<e?this.binarySearch(t,e,n+1,a):n},updateSection(){this.section.length=0;let t=10;for(let e=0;e<this.pagesCount;e++)t=t+(e>0?this.pages[e-1].viewport.height:0)+(e>0?11:0),this.section.push({t:t,o:this.pages[e].div.offsetLeft+9});this.section.push({t:this.section[this.pagesCount-1].t+this.pages[this.pagesCount-1].viewport.height+9+2,o:this.pages[this.pagesCount-1].div.offsetLeft+9})},stampResize(){if(null!=this.scale){const t=[].concat(this.section);this.updateSection();const e=this.top;let i=this.binarySearch(t,e,this.currentPage-1,this.pagesCount-1);i<0&&(i=0);const a=this.pages[0].viewport.scale,n=this.width,r=this.height;this.width=n*a/this.scale,this.height=r*a/this.scale;const o=this.left;this.top=(e-10)*a/this.scale+10,this._reviewDimensions(),this.left=this.pages[i].div.offsetLeft+(o-t[i].o)*a/this.scale+9,i=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1),this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=a,this._emitPlaced(i)}},_emitPlaced(t){t===this.pages.length&&t--,this.$emit("placed",t,this.index,{x:(this.left-this.section[t].o)/this.pages[t].viewport.width,y:(this.top-this.section[t].t)/this.pages[t].viewport.height,w:this.elmW/this.pages[t].viewport.width,h:this.elmH/this.pages[t].viewport.height,pageWidth:this.pages[t].viewport.width,pageHeight:this.pages[t].viewport.height,pageWidthMM:this.pages[t].viewport.pageWidthMM,pageHeightMM:this.pages[t].viewport.pageHeightMM},this.stampId)},_reviewDimensions(){if(this.minw>this.w&&(this.width=this.minw),this.minh>this.h&&(this.height=this.minh),this.parent){const t=parseInt(this.parent.scrollWidth,10),e=parseInt(this.parent.scrollHeight,10);this.parentW=t,this.parentH=e,this.w>this.parentW&&(this.width=t),this.h>this.parentH&&(this.height=e),this.x+this.w>this.parentW&&(this.left=this.x-(this.x+this.w-this.parentW)-20),this.y+this.h>this.parentH&&(this.top=this.y-(this.y+this.h-this.parentH))}this.elmW=this.width,this.elmH=this.height},reviewDimensions:function(){this._reviewDimensions(),this.$emit("resizing",this.left,this.top,this.width,this.height)},elmDown:function(t){const e=t.target||t.srcElement;if(this.$el.contains(e)){if(this.dragHandle&&!r(e,this.dragHandle,this.$el)||this.dragCancel&&r(e,this.dragCancel,this.$el))return;this.reviewDimensions(),this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragging=!0)}},deselect:function(t){-1!==t.type.indexOf("touch")?(this.mouseX=t.changedTouches[0].clientX,this.mouseY=t.changedTouches[0].clientY):(this.mouseX=t.pageX||t.clientX+this.parent.scrollLeft,this.mouseY=t.pageY||t.clientY+this.parent.scrollTop),this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;const e=t.target||t.srcElement,i=new RegExp("handle-([trmbl]{2})","");this.$el.contains(e)||i.test(e.className)||this.enabled&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1))},handleDown:function(t,e){this.handle=t,e.cancelable&&(e.stopPropagation(),e.preventDefault()),this.resizing=!0},handleMove:function(t){const e=-1!==t.type.indexOf("touchmove");this.mouseX=e?t.touches[0].clientX:t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=e?t.touches[0].clientY:t.pageY||t.clientY+document.documentElement.scrollTop;let i=this.mouseX-this.lastMouseX+this.mouseOffX,a=this.mouseY-this.lastMouseY+this.mouseOffY;this.mouseOffX=this.mouseOffY=0,this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;let n=i,r=a;if(this.resizing)this.handle.indexOf("t")>=0&&(this.elmH-r<this.minh?this.mouseOffY=r-(a=this.elmH-this.minh):this.parent&&this.elmY+r<this.parentY&&(this.mouseOffY=r-(a=this.parentY-this.elmY)),this.elmY+=a,this.elmH-=a),this.handle.indexOf("b")>=0&&(this.elmH+r<this.minh?this.mouseOffY=r-(a=this.minh-this.elmH):this.parent&&this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH)),this.elmH+=a),this.handle.indexOf("l")>=0&&(this.elmW-n<this.minw?this.mouseOffX=n-(i=this.elmW-this.minw):this.parent&&this.elmX+n<this.parentX&&(this.mouseOffX=n-(i=this.parentX-this.elmX)),this.elmX+=i,this.elmW-=i),this.handle.indexOf("r")>=0&&(this.elmW+n<this.minw?this.mouseOffX=n-(i=this.minw-this.elmW):this.parent&&this.elmX+this.elmW+n>this.parentW&&(this.mouseOffX=n-(i=this.parentW-this.elmX-this.elmW)),this.elmW+=i),this.left=Math.round(this.elmX/this.grid[0])*this.grid[0],this.top=Math.round(this.elmY/this.grid[1])*this.grid[1],this.width=Math.round(this.elmW/this.grid[0])*this.grid[0],this.height=Math.round(this.elmH/this.grid[1])*this.grid[1],this.$emit("resizing",this.left,this.top,this.width,this.height);else if(this.dragging){if(this.parent){this._reviewDimensions();let[t,e]=[0,10];if(this.pages){let e=this.binarySearch(this.section,this.elmY+a,this.currentPage-1,this.pagesCount-1);e<0&&(e=0),this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height>0&&this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height-.9*this.elmH-11>0&&e++,t=this.pages[e].div.offsetLeft+9}this.elmX+n<this.parentX+t?this.mouseOffX=n-(i=this.parentX+t-this.elmX):this.elmX+this.elmW+n>this.parentW-t&&(this.mouseOffX=n-(i=this.parentW-t-this.elmX-this.elmW)),this.elmY+r<this.parentY+e?this.mouseOffY=r-(a=this.parentY+e-this.elmY):this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH))}this.elmX+=i,this.elmY+=a,"x"!==this.axis&&"both"!==this.axis||(this.left=Math.round(this.elmX/this.grid[0])*this.grid[0]),"y"!==this.axis&&"both"!==this.axis||(this.top=Math.round(this.elmY/this.grid[1])*this.grid[1]),this.$emit("dragging",this.left,this.top)}},handleUp:function(t){if(-1!==t.type.indexOf("touch")&&(this.lastMouseX=t.changedTouches[0].clientX,this.lastMouseY=t.changedTouches[0].clientY),this.handle=null,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging){this.dragging=!1;let t=0;this.pages&&(t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1)),this.left<this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft);let e=this.mouseX-this.lastMouseX+this.mouseOffX;this.left+this.elmW+e>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.fixX>=0&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft+this.fixX),this._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",{index:this.index,stampId:this.stampId})}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}}},watch:{active:function(t){this.enabled=t},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},currentPage:function(t){this.stampAreaUpdate(t)}}};i(5064);function s(t,e,i,a,n,r,o,s){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):n&&(l=s?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var l=s(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vdr",class:{draggable:t.draggable,resizable:t.resizable,active:t.enabled,dragging:t.dragging,resizing:t.resizing},style:t.style,on:{mousedown:t.elmDown,touchstart:t.elmDown}},[t.editable?e("button",{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{position:"absolute",right:"5px",top:"-20px"},attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.dropItem.apply(null,arguments)}}},[e("span",{staticClass:"close"})]):t._e(),t._l(t.handles,(function(i){return t.resizable?e("div",{key:i,staticClass:"handle",class:"handle-"+i,style:{display:t.enabled?"block":"none"},on:{mousedown:function(e){return t.handleDown(i,e)},touchstart:function(e){return t.handleDown(i,e)}}}):t._e()})),t._t("default")],2)}),[],!1,null,"669761ac",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},fileBase64:{required:!1},mem:{required:!0},water_text:{type:String,required:!1},secret:{type:String,required:!1},digest:{type:String,required:!1},draggable:{type:Boolean,required:!1,default:!0},resizable:{type:Boolean,required:!1,default:!1},editable:{type:Boolean,required:!1,default:!0},stamps:{type:Array,required:!1,default:()=>[]},sidebarForceOpen:{type:Boolean,required:!1,default:!1},signatureViewerForceCheck:{type:Boolean,required:!1,default:!1},canOpen:{type:Boolean,required:!1,default:!1},canDownload:{type:Boolean,required:!1,default:!1},canPrint:{type:Boolean,required:!1,default:!1},displayToolbar:{type:Boolean,required:!1,default:!0}},watch:{file:{immediate:!0,handler(t){this.config&&this.mem&&(this.ofdViewer=null,this.mem.openOFD(t))}},stamps:{immediate:!0,handler(t){t.length>0&&this.config&&(document.getElementById("scrollModeButtons")&&(document.getElementById("scrollModeButtons").hidden=!0),document.getElementById("spreadModeButtons")&&(document.getElementById("spreadModeButtons").hidden=!0),document.getElementById("secondaryOpenFile")&&(document.getElementById("secondaryOpenFile").hidden=!0),document.getElementById("openFile")&&(document.getElementById("openFile").hidden=!0))}}},data:()=>({viewVisible:!1,config:null,eventBus:null,sp:1,ofdViewer:null}),mounted(){if(!this.config){this.config=this.getViewerConfiguration();let t=new Image;t.style.position="absolute",t.style.left=0,t.style.right=0,t.style.margin="auto",t.style.top=0,t.style.bottom=0,t.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",t.draggable=!1,this.config.loadingContainer=t,this.config.onPageChanging=t=>{this.sp=t},this.config.parserOFDSuccess=t=>{},this.config.onPageScale=t=>{this.eventBus.dispatch("stampResize",{source:null})},this.config.onViewportChange=t=>{this.ofdViewer||(this.viewVisible=!0,this.$emit("viewready",t)),this.ofdViewer=t},this.config.secret=this.secret,this.config.digest=this.digest,this.config.sidebarForceOpen=this.sidebarForceOpen,this.config.signatureViewerForceCheck=this.signatureViewerForceCheck,this.config.onPrintFinishEvent=()=>{this.$emit("onPrintFinishEvent")},this.config.downloadFinishEvent=()=>{this.$emit("onDownloadFinishEvent")},this.config.waterText=this.water_text,this.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file),this.fileBase64&&this.mem.openFileBase64(this.fileBase64),this.displayToolbar||(this.config.toolbar.container.parentElement.hidden=!0)},methods:{getViewerConfiguration(){let t;this.$slots&&this.$slots.openFileRef&&this.$slots.openFileRef[0].elm&&(t=this.$slots.openFileRef[0].elm);let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),openFileTip:t,toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print"),download:document.getElementById("download")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),downloadButton:document.getElementById("secondaryDownload"),viewBookmarkButton:document.getElementById("secondaryViewBookmark"),firstPageButton:document.getElementById("firstPage"),lastPageButton:document.getElementById("lastPage"),pageRotateCwButton:document.getElementById("pageRotateCw"),pageRotateCcwButton:document.getElementById("pageRotateCcw"),cursorSelectToolButton:document.getElementById("cursorSelectTool"),cursorHandToolButton:document.getElementById("cursorHandTool"),scrollPageButton:document.getElementById("scrollPage"),scrollVerticalButton:document.getElementById("scrollVertical"),scrollHorizontalButton:document.getElementById("scrollHorizontal"),scrollWrappedButton:document.getElementById("scrollWrapped"),spreadNoneButton:document.getElementById("spreadNone"),spreadOddButton:document.getElementById("spreadOdd"),spreadEvenButton:document.getElementById("spreadEven"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer"),toggleButton:document.getElementById("sidebarToggle"),outlineButton:document.getElementById("viewOutline"),attachmentsButton:document.getElementById("viewAttachments"),signaturesButton:document.getElementById("viewSignatures"),outlineView:document.getElementById("outlineView"),attachmentsView:document.getElementById("attachmentsView"),signaturesView:document.getElementById("signaturesView"),currentOutlineItemButton:document.getElementById("currentOutlineItem")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}},onStampDragOver(t){t.dataTransfer.dropEffect="move"},removeStamp(t){this.$emit("removePos",t)},onStampDragStop(t){},placed(t,e,i,a){this.$emit("itemDropped",e,t,i,a)}}},c=(i(9656),s(d,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"outerContainer"}},[t._m(0),t._v(" "),e("div",{attrs:{id:"mainContainer"}},[t.displayToolbar?e("div",{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{id:"secondaryToolbar"}},[e("div",{attrs:{id:"secondaryToolbarButtonContainer"}},[t.canOpen?e("button",{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{id:"secondaryOpenFile",title:"打开文件",tabindex:"52","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{id:"secondaryPrint",title:"打印",tabindex:"53","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{id:"secondaryDownload",title:"Download",tabindex:"54","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),t._m(1),e("div",{staticClass:"horizontalToolbarSeparator visibleLargeView"}),t._m(2),t._m(3),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(4),t._m(5),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(6),t._m(7),t._m(8),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(9)])]):t._e(),t._v(" "),e("div",{staticClass:"toolbar"},[e("div",{attrs:{id:"toolbarContainer"}},[e("div",{attrs:{id:"toolbarViewer"}},[t._m(10),e("div",{attrs:{id:"toolbarViewerRight"}},[t.canOpen?e("button",{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{id:"openFile",title:"打开文件",tabindex:"32","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"toolbarButton print hiddenMediumView",attrs:{id:"print",title:"打印",tabindex:"33","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"toolbarButton download hiddenMediumView",attrs:{id:"download",title:"Download",tabindex:"34","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),e("div",{staticClass:"verticalToolbarSeparator hiddenSmallView"}),t._m(11)]),t._m(12)])])]),e("div",{attrs:{id:"viewerContainer",tabindex:"0"}},[e("div",{staticClass:"pdfViewer",attrs:{id:"viewer"},on:{dragover:function(e){return e.preventDefault(),t.onStampDragOver.apply(null,arguments)}}},t._l(t.stamps,(function(i,a){return t.viewVisible?e("vue-draggable-resizable",{key:i.key,attrs:{w:i.w?i.w:174,h:i.h?i.h:174,parent:t.config.viewerContainer,customForStamp:!0,eventBus:t.eventBus,handles:["tl","tr","bl","br"],index:a,x:i.x,y:i.located?i.y:i.y+t.config.mainContainer.scrollTop,fixX:i.fixX,pages:t.ofdViewer._pages,currentPage:t.sp,"origin-bottom":!1,stampId:i.source.stampId,draggable:t.draggable,resizable:t.resizable,editable:t.editable},on:{dropitem:t.removeStamp,dragstop:t.onStampDragStop,placed:t.placed}},[e("div",{staticClass:"stamp",style:{backgroundImage:"url(data:image/png;base64,"+i.source.stampBase64+")"}})]):t._e()})),1),t._t("openFileRef")],2),t._m(13)]),t._v(" "),t._m(14)])}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"sidebarContainer"}},[e("div",{attrs:{id:"toolbarSidebar"}},[e("div",{attrs:{id:"toolbarSidebarLeft"}},[e("div",{staticClass:"splitToolbarButton toggled",attrs:{id:"sidebarViewButtons",role:"radiogroup"}},[e("button",{staticClass:"toolbarButton toggled",attrs:{id:"viewOutline",title:"Show Document Outline (double-click to expand/collapse all items)",tabindex:"3","data-l10n-id":"document_outline",role:"radio","aria-checked":"false","aria-controls":"outlineView"}},[e("span",{attrs:{"data-l10n-id":"document_outline_label"}},[t._v("Document Outline")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewAttachments",title:"Show Attachments",tabindex:"4","data-l10n-id":"attachments",role:"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[e("span",{attrs:{"data-l10n-id":"attachments_label"}},[t._v("Attachments")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewSignatures",title:"Show Signatures",tabindex:"6","data-l10n-id":"layers",role:"radio","aria-checked":"false","aria-controls":"signaturesView"}},[e("span",{attrs:{"data-l10n-id":"signatures_label"}},[t._v("Signatures")])])])]),e("div",{attrs:{id:"toolbarSidebarRight"}},[e("div",{staticClass:"hidden",attrs:{id:"outlineOptionsContainer"}},[e("div",{staticClass:"verticalToolbarSeparator"}),e("button",{staticClass:"toolbarButton",attrs:{id:"currentOutlineItem",disabled:"disabled",title:"Find Current Outline Item",tabindex:"6","data-l10n-id":"current_outline_item"}},[e("span",{attrs:{"data-l10n-id":"current_outline_item_label"}},[t._v("Current Outline Item")])])])])]),e("div",{attrs:{id:"sidebarContent"}},[e("div",{attrs:{id:"outlineView"}}),e("div",{staticClass:"hidden",attrs:{id:"attachmentsView"}}),e("div",{staticClass:"hidden",attrs:{id:"signaturesView"}})]),e("div",{attrs:{id:"sidebarResizer"}})])},function(){var t=this._self._c;return t("a",{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{href:"#",id:"secondaryViewBookmark",title:"Current view (copy or open in new window)",tabindex:"55","data-l10n-id":"bookmark"}},[t("span",{attrs:{"data-l10n-id":"bookmark_label"}},[this._v("Current View")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton firstPage",attrs:{id:"firstPage",title:"Go to First Page",tabindex:"56","data-l10n-id":"first_page"}},[t("span",{attrs:{"data-l10n-id":"first_page_label"}},[this._v("Go to First Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton lastPage",attrs:{id:"lastPage",title:"Go to Last Page",tabindex:"57","data-l10n-id":"last_page"}},[t("span",{attrs:{"data-l10n-id":"last_page_label"}},[this._v("Go to Last Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCw",attrs:{id:"pageRotateCw",title:"Rotate Clockwise",tabindex:"58","data-l10n-id":"page_rotate_cw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[this._v("Rotate Clockwise")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCcw",attrs:{id:"pageRotateCcw",title:"Rotate Counterclockwise",tabindex:"59","data-l10n-id":"page_rotate_ccw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[this._v("Rotate Counterclockwise")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"cursorToolButtons",role:"radiogroup"}},[e("button",{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{id:"cursorSelectTool",title:"Enable Text Selection Tool",tabindex:"60","data-l10n-id":"cursor_text_select_tool",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[t._v("Text Selection Tool")])]),e("button",{staticClass:"secondaryToolbarButton handTool",attrs:{id:"cursorHandTool",title:"Enable Hand Tool",tabindex:"61","data-l10n-id":"cursor_hand_tool",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[t._v("Hand Tool")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"scrollModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton scrollPage",attrs:{id:"scrollPage",title:"Use Page Scrolling",tabindex:"62","data-l10n-id":"scroll_page",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_page_label"}},[t._v("Page Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{id:"scrollVertical",title:"Use Vertical Scrolling",tabindex:"63","data-l10n-id":"scroll_vertical",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"scroll_vertical_label"}},[t._v("Vertical Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{id:"scrollHorizontal",title:"Use Horizontal Scrolling",tabindex:"64","data-l10n-id":"scroll_horizontal",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[t._v("Horizontal Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{id:"scrollWrapped",title:"Use Wrapped Scrolling",tabindex:"65","data-l10n-id":"scroll_wrapped",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[t._v("Wrapped Scrolling")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"spreadModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{id:"spreadNone",title:"Do not join page spreads",tabindex:"66","data-l10n-id":"spread_none",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"spread_none_label"}},[t._v("No Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadOdd",attrs:{id:"spreadOdd",title:"Join page spreads starting with odd-numbered pages",tabindex:"67","data-l10n-id":"spread_odd",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_odd_label"}},[t._v("Odd Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadEven",attrs:{id:"spreadEven",title:"Join page spreads starting with even-numbered pages",tabindex:"68","data-l10n-id":"spread_even",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_even_label"}},[t._v("Even Spreads")])])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton documentProperties",attrs:{id:"documentProperties",title:"文档属性…",tabindex:"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[t("span",{attrs:{"data-l10n-id":"document_properties_label"}},[this._v("文档属性…")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerLeft"}},[e("button",{staticClass:"toolbarButton",attrs:{id:"sidebarToggle",title:"Toggle Sidebar",tabindex:"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[e("span",{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[t._v("切换侧栏")])]),e("div",{staticClass:"splitToolbarButton hiddenSmallView"},[e("button",{staticClass:"toolbarButton pageUp",attrs:{title:"上一页",id:"previous",tabindex:"13","data-l10n-id":"previous"}},[e("span",{attrs:{"data-l10n-id":"previous_label"}},[t._v("上一页")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton pageDown",attrs:{title:"下一页",id:"next",tabindex:"14","data-l10n-id":"next"}},[e("span",{attrs:{"data-l10n-id":"next_label"}},[t._v("下一页")])])]),e("input",{staticClass:"toolbarField pageNumber",attrs:{type:"number",id:"pageNumber",title:"页面",value:"1",size:"4",min:"1",tabindex:"15","data-l10n-id":"page",autocomplete:"off"}}),e("span",{staticClass:"toolbarLabel",attrs:{id:"numPages"}})])},function(){var t=this._self._c;return t("button",{staticClass:"toolbarButton",attrs:{id:"secondaryToolbarToggle",title:"工具",tabindex:"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[t("span",{attrs:{"data-l10n-id":"tools_label"}},[this._v("工具")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerMiddle"}},[e("div",{staticClass:"splitToolbarButton"},[e("button",{staticClass:"toolbarButton zoomOut",attrs:{id:"zoomOut",title:"缩小",tabindex:"21","data-l10n-id":"zoom_out"}},[e("span",{attrs:{"data-l10n-id":"zoom_out_label"}},[t._v("缩小")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton zoomIn",attrs:{id:"zoomIn",title:"放大",tabindex:"22","data-l10n-id":"zoom_in"}},[e("span",{attrs:{"data-l10n-id":"zoom_in_label"}},[t._v("放大")])])]),e("span",{staticClass:"dropdownToolbarButton",attrs:{id:"scaleSelectContainer"}},[e("select",{attrs:{id:"scaleSelect",title:"缩放",tabindex:"23","data-l10n-id":"zoom"}},[e("option",{attrs:{id:"pageAutoOption",title:"",value:"auto",selected:"selected","data-l10n-id":"page_scale_auto"}},[t._v("自动缩放")]),e("option",{attrs:{id:"pageActualOption",title:"",value:"page-actual","data-l10n-id":"page_scale_actual"}},[t._v("实际大小")]),e("option",{attrs:{id:"pageFitOption",title:"",value:"page-fit","data-l10n-id":"page_scale_fit"}},[t._v("适合页面")]),e("option",{attrs:{id:"pageWidthOption",title:"",value:"page-width","data-l10n-id":"page_scale_width"}},[t._v("适合页宽")]),e("option",{attrs:{id:"customScaleOption",title:"",value:"custom",disabled:"disabled",hidden:"true"}}),e("option",{attrs:{title:"",value:"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 50 }'}},[t._v("50%")]),e("option",{attrs:{title:"",value:"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 75 }'}},[t._v("75%")]),e("option",{attrs:{title:"",value:"1","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 100 }'}},[t._v("100%")]),e("option",{attrs:{title:"",value:"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 125 }'}},[t._v("125%")]),e("option",{attrs:{title:"",value:"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 150 }'}},[t._v("150%")]),e("option",{attrs:{title:"",value:"2","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 200 }'}},[t._v("200%")]),e("option",{attrs:{title:"",value:"3","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 300 }'}},[t._v("300%")]),e("option",{attrs:{title:"",value:"4","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 400 }'}},[t._v("400%")])])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"errorWrapper",hidden:"true"}},[e("div",{attrs:{id:"errorMessageLeft"}},[e("span",{attrs:{id:"errorMessage"}}),e("button",{attrs:{id:"errorShowMore","data-l10n-id":"error_more_info"}},[t._v(" More Information ")]),e("button",{attrs:{id:"errorShowLess","data-l10n-id":"error_less_info",hidden:"true"}},[t._v(" Less Information ")])]),e("div",{attrs:{id:"errorMessageRight"}},[e("button",{attrs:{id:"errorClose","data-l10n-id":"error_close"}},[t._v(" Close ")])]),e("div",{staticClass:"clearBoth"}),e("textarea",{attrs:{id:"errorMoreInfo",hidden:"true",readonly:"readonly"}})])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"dialogContainer"}},[e("dialog",{attrs:{id:"documentPropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[t._v("文件名:")]),e("p",{attrs:{id:"fileNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[t._v("文件大小:")]),e("p",{attrs:{id:"fileSizeField","aria-labelledby":"fileSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"titleLabel","data-l10n-id":"document_properties_title"}},[t._v("标题:")]),e("p",{attrs:{id:"titleField","aria-labelledby":"titleLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"authorLabel","data-l10n-id":"document_properties_author"}},[t._v("作者:")]),e("p",{attrs:{id:"authorField","aria-labelledby":"authorLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"subjectLabel","data-l10n-id":"document_properties_subject"}},[t._v("主题:")]),e("p",{attrs:{id:"subjectField","aria-labelledby":"subjectLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[t._v("关键词:")]),e("p",{attrs:{id:"keywordsField","aria-labelledby":"keywordsLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[t._v("创建日期:")]),e("p",{attrs:{id:"creationDateField","aria-labelledby":"creationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[t._v("修改日期:")]),e("p",{attrs:{id:"modificationDateField","aria-labelledby":"modificationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creatorLabel","data-l10n-id":"document_properties_creator"}},[t._v("创建者:")]),e("p",{attrs:{id:"creatorField","aria-labelledby":"creatorLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"producerLabel","data-l10n-id":"document_properties_producer"}},[t._v("OFD 生成器:")]),e("p",{attrs:{id:"producerField","aria-labelledby":"producerLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"versionLabel","data-l10n-id":"document_properties_version"}},[t._v("OFD 版本:")]),e("p",{attrs:{id:"versionField","aria-labelledby":"versionLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[t._v("页数:")]),e("p",{attrs:{id:"pageCountField","aria-labelledby":"pageCountLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[t._v("页面大小:")]),e("p",{attrs:{id:"pageSizeField","aria-labelledby":"pageSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row",attrs:{hidden:"hidden"}},[e("span",{attrs:{id:"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[t._v("快速 Web 视图:")]),e("p",{attrs:{id:"linearizedField","aria-labelledby":"linearizedLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"documentPropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])]),e("dialog",{staticStyle:{"min-width":"200px"},attrs:{id:"printServiceDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{"data-l10n-id":"print_progress_message"}},[t._v("正在准备打印文档…")])]),e("div",{staticClass:"row"},[e("progress",{attrs:{id:"printProgress",value:"0",max:"100"}}),e("span",{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":'{ "progress": 0 }'}},[t._v("0%")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"printCancel"}},[e("span",{attrs:{"data-l10n-id":"print_progress_close"}},[t._v("取消")])])])]),e("dialog",{attrs:{id:"signaturePropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"signerLabel"}},[t._v("签章人:")]),e("p",{attrs:{id:"signerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"providerLabel"}},[t._v("签章提供者:")]),e("p",{attrs:{id:"providerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"hashedValueLabel"}},[t._v("原文摘要值:")]),e("p",{attrs:{id:"hashedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signedValueLabel"}},[t._v("签名值:")]),e("p",{attrs:{id:"signedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signMethodLabel"}},[t._v("签名算法:")]),e("p",{attrs:{id:"signMethodField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signVersionLabel"}},[t._v("版本号:")]),e("p",{attrs:{id:"signVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"verifyLabel"}},[t._v("验签结果:")]),e("p",{attrs:{id:"verifyField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealIDLabel"}},[t._v("印章标识:")]),e("p",{attrs:{id:"sealIDField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealNameLabel"}},[t._v("印章名称:")]),e("p",{attrs:{id:"sealNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealTypeLabel"}},[t._v("印章类型:")]),e("p",{attrs:{id:"sealTypeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealAuthTimeLabel"}},[t._v("有效时间:")]),e("p",{attrs:{id:"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealMakeTimeLabel"}},[t._v("制章日期:")]),e("p",{attrs:{id:"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealVersionLabel"}},[t._v("印章版本:")]),e("p",{attrs:{id:"sealVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"signaturePropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])])])}],!1,null,"f18015b4",null)),u=c.exports;u.install=t=>t.component(u.name,u);var p=u;const h=[p],f=function(t){f.installed||h.map((e=>t.component(e.name,e)))};"undefined"!=typeof window&&window.Vue&&f(window.Vue);var m={install:f,OfdView:p}}(),a}()}));
2
2
  //# sourceMappingURL=ofd-view.umd.js.map