ofd-view 0.1.51 → 0.1.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4350 +1,2 @@
1
- /******/ (function() { // webpackBootstrap
2
- /******/ var __webpack_modules__ = ({
3
-
4
- /***/ 9662:
5
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
6
-
7
- var isCallable = __webpack_require__(614);
8
- var tryToString = __webpack_require__(6330);
9
-
10
- var $TypeError = TypeError;
11
-
12
- // `Assert: IsCallable(argument) is true`
13
- module.exports = function (argument) {
14
- if (isCallable(argument)) return argument;
15
- throw $TypeError(tryToString(argument) + ' is not a function');
16
- };
17
-
18
-
19
- /***/ }),
20
-
21
- /***/ 9670:
22
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
23
-
24
- var isObject = __webpack_require__(111);
25
-
26
- var $String = String;
27
- var $TypeError = TypeError;
28
-
29
- // `Assert: Type(argument) is Object`
30
- module.exports = function (argument) {
31
- if (isObject(argument)) return argument;
32
- throw $TypeError($String(argument) + ' is not an object');
33
- };
34
-
35
-
36
- /***/ }),
37
-
38
- /***/ 1318:
39
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
40
-
41
- var toIndexedObject = __webpack_require__(5656);
42
- var toAbsoluteIndex = __webpack_require__(1400);
43
- var lengthOfArrayLike = __webpack_require__(6244);
44
-
45
- // `Array.prototype.{ indexOf, includes }` methods implementation
46
- var createMethod = function (IS_INCLUDES) {
47
- return function ($this, el, fromIndex) {
48
- var O = toIndexedObject($this);
49
- var length = lengthOfArrayLike(O);
50
- var index = toAbsoluteIndex(fromIndex, length);
51
- var value;
52
- // Array#includes uses SameValueZero equality algorithm
53
- // eslint-disable-next-line no-self-compare -- NaN check
54
- if (IS_INCLUDES && el != el) while (length > index) {
55
- value = O[index++];
56
- // eslint-disable-next-line no-self-compare -- NaN check
57
- if (value != value) return true;
58
- // Array#indexOf ignores holes, Array#includes - not
59
- } else for (;length > index; index++) {
60
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
61
- } return !IS_INCLUDES && -1;
62
- };
63
- };
64
-
65
- module.exports = {
66
- // `Array.prototype.includes` method
67
- // https://tc39.es/ecma262/#sec-array.prototype.includes
68
- includes: createMethod(true),
69
- // `Array.prototype.indexOf` method
70
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
71
- indexOf: createMethod(false)
72
- };
73
-
74
-
75
- /***/ }),
76
-
77
- /***/ 3658:
78
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
79
-
80
- "use strict";
81
-
82
- var DESCRIPTORS = __webpack_require__(9781);
83
- var isArray = __webpack_require__(3157);
84
-
85
- var $TypeError = TypeError;
86
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
87
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
88
-
89
- // Safari < 13 does not throw an error in this case
90
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
91
- // makes no sense without proper strict mode support
92
- if (this !== undefined) return true;
93
- try {
94
- // eslint-disable-next-line es/no-object-defineproperty -- safe
95
- Object.defineProperty([], 'length', { writable: false }).length = 1;
96
- } catch (error) {
97
- return error instanceof TypeError;
98
- }
99
- }();
100
-
101
- module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
102
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
103
- throw $TypeError('Cannot set read only .length');
104
- } return O.length = length;
105
- } : function (O, length) {
106
- return O.length = length;
107
- };
108
-
109
-
110
- /***/ }),
111
-
112
- /***/ 4326:
113
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
114
-
115
- var uncurryThis = __webpack_require__(1702);
116
-
117
- var toString = uncurryThis({}.toString);
118
- var stringSlice = uncurryThis(''.slice);
119
-
120
- module.exports = function (it) {
121
- return stringSlice(toString(it), 8, -1);
122
- };
123
-
124
-
125
- /***/ }),
126
-
127
- /***/ 9920:
128
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
129
-
130
- var hasOwn = __webpack_require__(2597);
131
- var ownKeys = __webpack_require__(3887);
132
- var getOwnPropertyDescriptorModule = __webpack_require__(1236);
133
- var definePropertyModule = __webpack_require__(3070);
134
-
135
- module.exports = function (target, source, exceptions) {
136
- var keys = ownKeys(source);
137
- var defineProperty = definePropertyModule.f;
138
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
139
- for (var i = 0; i < keys.length; i++) {
140
- var key = keys[i];
141
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
142
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
143
- }
144
- }
145
- };
146
-
147
-
148
- /***/ }),
149
-
150
- /***/ 8880:
151
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
152
-
153
- var DESCRIPTORS = __webpack_require__(9781);
154
- var definePropertyModule = __webpack_require__(3070);
155
- var createPropertyDescriptor = __webpack_require__(9114);
156
-
157
- module.exports = DESCRIPTORS ? function (object, key, value) {
158
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
159
- } : function (object, key, value) {
160
- object[key] = value;
161
- return object;
162
- };
163
-
164
-
165
- /***/ }),
166
-
167
- /***/ 9114:
168
- /***/ (function(module) {
169
-
170
- module.exports = function (bitmap, value) {
171
- return {
172
- enumerable: !(bitmap & 1),
173
- configurable: !(bitmap & 2),
174
- writable: !(bitmap & 4),
175
- value: value
176
- };
177
- };
178
-
179
-
180
- /***/ }),
181
-
182
- /***/ 8052:
183
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
184
-
185
- var isCallable = __webpack_require__(614);
186
- var definePropertyModule = __webpack_require__(3070);
187
- var makeBuiltIn = __webpack_require__(6339);
188
- var defineGlobalProperty = __webpack_require__(3072);
189
-
190
- module.exports = function (O, key, value, options) {
191
- if (!options) options = {};
192
- var simple = options.enumerable;
193
- var name = options.name !== undefined ? options.name : key;
194
- if (isCallable(value)) makeBuiltIn(value, name, options);
195
- if (options.global) {
196
- if (simple) O[key] = value;
197
- else defineGlobalProperty(key, value);
198
- } else {
199
- try {
200
- if (!options.unsafe) delete O[key];
201
- else if (O[key]) simple = true;
202
- } catch (error) { /* empty */ }
203
- if (simple) O[key] = value;
204
- else definePropertyModule.f(O, key, {
205
- value: value,
206
- enumerable: false,
207
- configurable: !options.nonConfigurable,
208
- writable: !options.nonWritable
209
- });
210
- } return O;
211
- };
212
-
213
-
214
- /***/ }),
215
-
216
- /***/ 3072:
217
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
218
-
219
- var global = __webpack_require__(7854);
220
-
221
- // eslint-disable-next-line es/no-object-defineproperty -- safe
222
- var defineProperty = Object.defineProperty;
223
-
224
- module.exports = function (key, value) {
225
- try {
226
- defineProperty(global, key, { value: value, configurable: true, writable: true });
227
- } catch (error) {
228
- global[key] = value;
229
- } return value;
230
- };
231
-
232
-
233
- /***/ }),
234
-
235
- /***/ 9781:
236
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
237
-
238
- var fails = __webpack_require__(7293);
239
-
240
- // Detect IE8's incomplete defineProperty implementation
241
- module.exports = !fails(function () {
242
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
243
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
244
- });
245
-
246
-
247
- /***/ }),
248
-
249
- /***/ 4154:
250
- /***/ (function(module) {
251
-
252
- var documentAll = typeof document == 'object' && document.all;
253
-
254
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
255
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
256
- var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
257
-
258
- module.exports = {
259
- all: documentAll,
260
- IS_HTMLDDA: IS_HTMLDDA
261
- };
262
-
263
-
264
- /***/ }),
265
-
266
- /***/ 317:
267
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
268
-
269
- var global = __webpack_require__(7854);
270
- var isObject = __webpack_require__(111);
271
-
272
- var document = global.document;
273
- // typeof document.createElement is 'object' in old IE
274
- var EXISTS = isObject(document) && isObject(document.createElement);
275
-
276
- module.exports = function (it) {
277
- return EXISTS ? document.createElement(it) : {};
278
- };
279
-
280
-
281
- /***/ }),
282
-
283
- /***/ 7207:
284
- /***/ (function(module) {
285
-
286
- var $TypeError = TypeError;
287
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
288
-
289
- module.exports = function (it) {
290
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
291
- return it;
292
- };
293
-
294
-
295
- /***/ }),
296
-
297
- /***/ 8113:
298
- /***/ (function(module) {
299
-
300
- module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
301
-
302
-
303
- /***/ }),
304
-
305
- /***/ 7392:
306
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
307
-
308
- var global = __webpack_require__(7854);
309
- var userAgent = __webpack_require__(8113);
310
-
311
- var process = global.process;
312
- var Deno = global.Deno;
313
- var versions = process && process.versions || Deno && Deno.version;
314
- var v8 = versions && versions.v8;
315
- var match, version;
316
-
317
- if (v8) {
318
- match = v8.split('.');
319
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
320
- // but their correct versions are not interesting for us
321
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
322
- }
323
-
324
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
325
- // so check `userAgent` even if `.v8` exists, but 0
326
- if (!version && userAgent) {
327
- match = userAgent.match(/Edge\/(\d+)/);
328
- if (!match || match[1] >= 74) {
329
- match = userAgent.match(/Chrome\/(\d+)/);
330
- if (match) version = +match[1];
331
- }
332
- }
333
-
334
- module.exports = version;
335
-
336
-
337
- /***/ }),
338
-
339
- /***/ 748:
340
- /***/ (function(module) {
341
-
342
- // IE8- don't enum bug keys
343
- module.exports = [
344
- 'constructor',
345
- 'hasOwnProperty',
346
- 'isPrototypeOf',
347
- 'propertyIsEnumerable',
348
- 'toLocaleString',
349
- 'toString',
350
- 'valueOf'
351
- ];
352
-
353
-
354
- /***/ }),
355
-
356
- /***/ 2109:
357
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
358
-
359
- var global = __webpack_require__(7854);
360
- var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
361
- var createNonEnumerableProperty = __webpack_require__(8880);
362
- var defineBuiltIn = __webpack_require__(8052);
363
- var defineGlobalProperty = __webpack_require__(3072);
364
- var copyConstructorProperties = __webpack_require__(9920);
365
- var isForced = __webpack_require__(4705);
366
-
367
- /*
368
- options.target - name of the target object
369
- options.global - target is the global object
370
- options.stat - export as static methods of target
371
- options.proto - export as prototype methods of target
372
- options.real - real prototype method for the `pure` version
373
- options.forced - export even if the native feature is available
374
- options.bind - bind methods to the target, required for the `pure` version
375
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
376
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
377
- options.sham - add a flag to not completely full polyfills
378
- options.enumerable - export as enumerable property
379
- options.dontCallGetSet - prevent calling a getter on target
380
- options.name - the .name of the function if it does not match the key
381
- */
382
- module.exports = function (options, source) {
383
- var TARGET = options.target;
384
- var GLOBAL = options.global;
385
- var STATIC = options.stat;
386
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
387
- if (GLOBAL) {
388
- target = global;
389
- } else if (STATIC) {
390
- target = global[TARGET] || defineGlobalProperty(TARGET, {});
391
- } else {
392
- target = (global[TARGET] || {}).prototype;
393
- }
394
- if (target) for (key in source) {
395
- sourceProperty = source[key];
396
- if (options.dontCallGetSet) {
397
- descriptor = getOwnPropertyDescriptor(target, key);
398
- targetProperty = descriptor && descriptor.value;
399
- } else targetProperty = target[key];
400
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
401
- // contained in target
402
- if (!FORCED && targetProperty !== undefined) {
403
- if (typeof sourceProperty == typeof targetProperty) continue;
404
- copyConstructorProperties(sourceProperty, targetProperty);
405
- }
406
- // add a flag to not completely full polyfills
407
- if (options.sham || (targetProperty && targetProperty.sham)) {
408
- createNonEnumerableProperty(sourceProperty, 'sham', true);
409
- }
410
- defineBuiltIn(target, key, sourceProperty, options);
411
- }
412
- };
413
-
414
-
415
- /***/ }),
416
-
417
- /***/ 7293:
418
- /***/ (function(module) {
419
-
420
- module.exports = function (exec) {
421
- try {
422
- return !!exec();
423
- } catch (error) {
424
- return true;
425
- }
426
- };
427
-
428
-
429
- /***/ }),
430
-
431
- /***/ 4374:
432
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
433
-
434
- var fails = __webpack_require__(7293);
435
-
436
- module.exports = !fails(function () {
437
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
438
- var test = (function () { /* empty */ }).bind();
439
- // eslint-disable-next-line no-prototype-builtins -- safe
440
- return typeof test != 'function' || test.hasOwnProperty('prototype');
441
- });
442
-
443
-
444
- /***/ }),
445
-
446
- /***/ 6916:
447
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
448
-
449
- var NATIVE_BIND = __webpack_require__(4374);
450
-
451
- var call = Function.prototype.call;
452
-
453
- module.exports = NATIVE_BIND ? call.bind(call) : function () {
454
- return call.apply(call, arguments);
455
- };
456
-
457
-
458
- /***/ }),
459
-
460
- /***/ 6530:
461
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
462
-
463
- var DESCRIPTORS = __webpack_require__(9781);
464
- var hasOwn = __webpack_require__(2597);
465
-
466
- var FunctionPrototype = Function.prototype;
467
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
468
- var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
469
-
470
- var EXISTS = hasOwn(FunctionPrototype, 'name');
471
- // additional protection from minified / mangled / dropped function names
472
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
473
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
474
-
475
- module.exports = {
476
- EXISTS: EXISTS,
477
- PROPER: PROPER,
478
- CONFIGURABLE: CONFIGURABLE
479
- };
480
-
481
-
482
- /***/ }),
483
-
484
- /***/ 1702:
485
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
486
-
487
- var NATIVE_BIND = __webpack_require__(4374);
488
-
489
- var FunctionPrototype = Function.prototype;
490
- var call = FunctionPrototype.call;
491
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
492
-
493
- module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
494
- return function () {
495
- return call.apply(fn, arguments);
496
- };
497
- };
498
-
499
-
500
- /***/ }),
501
-
502
- /***/ 5005:
503
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
504
-
505
- var global = __webpack_require__(7854);
506
- var isCallable = __webpack_require__(614);
507
-
508
- var aFunction = function (argument) {
509
- return isCallable(argument) ? argument : undefined;
510
- };
511
-
512
- module.exports = function (namespace, method) {
513
- return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
514
- };
515
-
516
-
517
- /***/ }),
518
-
519
- /***/ 8173:
520
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
521
-
522
- var aCallable = __webpack_require__(9662);
523
- var isNullOrUndefined = __webpack_require__(8554);
524
-
525
- // `GetMethod` abstract operation
526
- // https://tc39.es/ecma262/#sec-getmethod
527
- module.exports = function (V, P) {
528
- var func = V[P];
529
- return isNullOrUndefined(func) ? undefined : aCallable(func);
530
- };
531
-
532
-
533
- /***/ }),
534
-
535
- /***/ 7854:
536
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
537
-
538
- var check = function (it) {
539
- return it && it.Math == Math && it;
540
- };
541
-
542
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
543
- module.exports =
544
- // eslint-disable-next-line es/no-global-this -- safe
545
- check(typeof globalThis == 'object' && globalThis) ||
546
- check(typeof window == 'object' && window) ||
547
- // eslint-disable-next-line no-restricted-globals -- safe
548
- check(typeof self == 'object' && self) ||
549
- check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
550
- // eslint-disable-next-line no-new-func -- fallback
551
- (function () { return this; })() || Function('return this')();
552
-
553
-
554
- /***/ }),
555
-
556
- /***/ 2597:
557
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
558
-
559
- var uncurryThis = __webpack_require__(1702);
560
- var toObject = __webpack_require__(7908);
561
-
562
- var hasOwnProperty = uncurryThis({}.hasOwnProperty);
563
-
564
- // `HasOwnProperty` abstract operation
565
- // https://tc39.es/ecma262/#sec-hasownproperty
566
- // eslint-disable-next-line es/no-object-hasown -- safe
567
- module.exports = Object.hasOwn || function hasOwn(it, key) {
568
- return hasOwnProperty(toObject(it), key);
569
- };
570
-
571
-
572
- /***/ }),
573
-
574
- /***/ 3501:
575
- /***/ (function(module) {
576
-
577
- module.exports = {};
578
-
579
-
580
- /***/ }),
581
-
582
- /***/ 4664:
583
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
584
-
585
- var DESCRIPTORS = __webpack_require__(9781);
586
- var fails = __webpack_require__(7293);
587
- var createElement = __webpack_require__(317);
588
-
589
- // Thanks to IE8 for its funny defineProperty
590
- module.exports = !DESCRIPTORS && !fails(function () {
591
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
592
- return Object.defineProperty(createElement('div'), 'a', {
593
- get: function () { return 7; }
594
- }).a != 7;
595
- });
596
-
597
-
598
- /***/ }),
599
-
600
- /***/ 8361:
601
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
602
-
603
- var uncurryThis = __webpack_require__(1702);
604
- var fails = __webpack_require__(7293);
605
- var classof = __webpack_require__(4326);
606
-
607
- var $Object = Object;
608
- var split = uncurryThis(''.split);
609
-
610
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
611
- module.exports = fails(function () {
612
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
613
- // eslint-disable-next-line no-prototype-builtins -- safe
614
- return !$Object('z').propertyIsEnumerable(0);
615
- }) ? function (it) {
616
- return classof(it) == 'String' ? split(it, '') : $Object(it);
617
- } : $Object;
618
-
619
-
620
- /***/ }),
621
-
622
- /***/ 2788:
623
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
624
-
625
- var uncurryThis = __webpack_require__(1702);
626
- var isCallable = __webpack_require__(614);
627
- var store = __webpack_require__(5465);
628
-
629
- var functionToString = uncurryThis(Function.toString);
630
-
631
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
632
- if (!isCallable(store.inspectSource)) {
633
- store.inspectSource = function (it) {
634
- return functionToString(it);
635
- };
636
- }
637
-
638
- module.exports = store.inspectSource;
639
-
640
-
641
- /***/ }),
642
-
643
- /***/ 9909:
644
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
645
-
646
- var NATIVE_WEAK_MAP = __webpack_require__(4811);
647
- var global = __webpack_require__(7854);
648
- var isObject = __webpack_require__(111);
649
- var createNonEnumerableProperty = __webpack_require__(8880);
650
- var hasOwn = __webpack_require__(2597);
651
- var shared = __webpack_require__(5465);
652
- var sharedKey = __webpack_require__(6200);
653
- var hiddenKeys = __webpack_require__(3501);
654
-
655
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
656
- var TypeError = global.TypeError;
657
- var WeakMap = global.WeakMap;
658
- var set, get, has;
659
-
660
- var enforce = function (it) {
661
- return has(it) ? get(it) : set(it, {});
662
- };
663
-
664
- var getterFor = function (TYPE) {
665
- return function (it) {
666
- var state;
667
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
668
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
669
- } return state;
670
- };
671
- };
672
-
673
- if (NATIVE_WEAK_MAP || shared.state) {
674
- var store = shared.state || (shared.state = new WeakMap());
675
- /* eslint-disable no-self-assign -- prototype methods protection */
676
- store.get = store.get;
677
- store.has = store.has;
678
- store.set = store.set;
679
- /* eslint-enable no-self-assign -- prototype methods protection */
680
- set = function (it, metadata) {
681
- if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
682
- metadata.facade = it;
683
- store.set(it, metadata);
684
- return metadata;
685
- };
686
- get = function (it) {
687
- return store.get(it) || {};
688
- };
689
- has = function (it) {
690
- return store.has(it);
691
- };
692
- } else {
693
- var STATE = sharedKey('state');
694
- hiddenKeys[STATE] = true;
695
- set = function (it, metadata) {
696
- if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
697
- metadata.facade = it;
698
- createNonEnumerableProperty(it, STATE, metadata);
699
- return metadata;
700
- };
701
- get = function (it) {
702
- return hasOwn(it, STATE) ? it[STATE] : {};
703
- };
704
- has = function (it) {
705
- return hasOwn(it, STATE);
706
- };
707
- }
708
-
709
- module.exports = {
710
- set: set,
711
- get: get,
712
- has: has,
713
- enforce: enforce,
714
- getterFor: getterFor
715
- };
716
-
717
-
718
- /***/ }),
719
-
720
- /***/ 3157:
721
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
722
-
723
- var classof = __webpack_require__(4326);
724
-
725
- // `IsArray` abstract operation
726
- // https://tc39.es/ecma262/#sec-isarray
727
- // eslint-disable-next-line es/no-array-isarray -- safe
728
- module.exports = Array.isArray || function isArray(argument) {
729
- return classof(argument) == 'Array';
730
- };
731
-
732
-
733
- /***/ }),
734
-
735
- /***/ 614:
736
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
737
-
738
- var $documentAll = __webpack_require__(4154);
739
-
740
- var documentAll = $documentAll.all;
741
-
742
- // `IsCallable` abstract operation
743
- // https://tc39.es/ecma262/#sec-iscallable
744
- module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
745
- return typeof argument == 'function' || argument === documentAll;
746
- } : function (argument) {
747
- return typeof argument == 'function';
748
- };
749
-
750
-
751
- /***/ }),
752
-
753
- /***/ 4705:
754
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
755
-
756
- var fails = __webpack_require__(7293);
757
- var isCallable = __webpack_require__(614);
758
-
759
- var replacement = /#|\.prototype\./;
760
-
761
- var isForced = function (feature, detection) {
762
- var value = data[normalize(feature)];
763
- return value == POLYFILL ? true
764
- : value == NATIVE ? false
765
- : isCallable(detection) ? fails(detection)
766
- : !!detection;
767
- };
768
-
769
- var normalize = isForced.normalize = function (string) {
770
- return String(string).replace(replacement, '.').toLowerCase();
771
- };
772
-
773
- var data = isForced.data = {};
774
- var NATIVE = isForced.NATIVE = 'N';
775
- var POLYFILL = isForced.POLYFILL = 'P';
776
-
777
- module.exports = isForced;
778
-
779
-
780
- /***/ }),
781
-
782
- /***/ 8554:
783
- /***/ (function(module) {
784
-
785
- // we can't use just `it == null` since of `document.all` special case
786
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
787
- module.exports = function (it) {
788
- return it === null || it === undefined;
789
- };
790
-
791
-
792
- /***/ }),
793
-
794
- /***/ 111:
795
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
796
-
797
- var isCallable = __webpack_require__(614);
798
- var $documentAll = __webpack_require__(4154);
799
-
800
- var documentAll = $documentAll.all;
801
-
802
- module.exports = $documentAll.IS_HTMLDDA ? function (it) {
803
- return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
804
- } : function (it) {
805
- return typeof it == 'object' ? it !== null : isCallable(it);
806
- };
807
-
808
-
809
- /***/ }),
810
-
811
- /***/ 1913:
812
- /***/ (function(module) {
813
-
814
- module.exports = false;
815
-
816
-
817
- /***/ }),
818
-
819
- /***/ 2190:
820
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
821
-
822
- var getBuiltIn = __webpack_require__(5005);
823
- var isCallable = __webpack_require__(614);
824
- var isPrototypeOf = __webpack_require__(7976);
825
- var USE_SYMBOL_AS_UID = __webpack_require__(3307);
826
-
827
- var $Object = Object;
828
-
829
- module.exports = USE_SYMBOL_AS_UID ? function (it) {
830
- return typeof it == 'symbol';
831
- } : function (it) {
832
- var $Symbol = getBuiltIn('Symbol');
833
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
834
- };
835
-
836
-
837
- /***/ }),
838
-
839
- /***/ 6244:
840
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
841
-
842
- var toLength = __webpack_require__(7466);
843
-
844
- // `LengthOfArrayLike` abstract operation
845
- // https://tc39.es/ecma262/#sec-lengthofarraylike
846
- module.exports = function (obj) {
847
- return toLength(obj.length);
848
- };
849
-
850
-
851
- /***/ }),
852
-
853
- /***/ 6339:
854
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
855
-
856
- var uncurryThis = __webpack_require__(1702);
857
- var fails = __webpack_require__(7293);
858
- var isCallable = __webpack_require__(614);
859
- var hasOwn = __webpack_require__(2597);
860
- var DESCRIPTORS = __webpack_require__(9781);
861
- var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(6530).CONFIGURABLE);
862
- var inspectSource = __webpack_require__(2788);
863
- var InternalStateModule = __webpack_require__(9909);
864
-
865
- var enforceInternalState = InternalStateModule.enforce;
866
- var getInternalState = InternalStateModule.get;
867
- var $String = String;
868
- // eslint-disable-next-line es/no-object-defineproperty -- safe
869
- var defineProperty = Object.defineProperty;
870
- var stringSlice = uncurryThis(''.slice);
871
- var replace = uncurryThis(''.replace);
872
- var join = uncurryThis([].join);
873
-
874
- var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
875
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
876
- });
877
-
878
- var TEMPLATE = String(String).split('String');
879
-
880
- var makeBuiltIn = module.exports = function (value, name, options) {
881
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
882
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
883
- }
884
- if (options && options.getter) name = 'get ' + name;
885
- if (options && options.setter) name = 'set ' + name;
886
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
887
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
888
- else value.name = name;
889
- }
890
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
891
- defineProperty(value, 'length', { value: options.arity });
892
- }
893
- try {
894
- if (options && hasOwn(options, 'constructor') && options.constructor) {
895
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
896
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
897
- } else if (value.prototype) value.prototype = undefined;
898
- } catch (error) { /* empty */ }
899
- var state = enforceInternalState(value);
900
- if (!hasOwn(state, 'source')) {
901
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
902
- } return value;
903
- };
904
-
905
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
906
- // eslint-disable-next-line no-extend-native -- required
907
- Function.prototype.toString = makeBuiltIn(function toString() {
908
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
909
- }, 'toString');
910
-
911
-
912
- /***/ }),
913
-
914
- /***/ 4758:
915
- /***/ (function(module) {
916
-
917
- var ceil = Math.ceil;
918
- var floor = Math.floor;
919
-
920
- // `Math.trunc` method
921
- // https://tc39.es/ecma262/#sec-math.trunc
922
- // eslint-disable-next-line es/no-math-trunc -- safe
923
- module.exports = Math.trunc || function trunc(x) {
924
- var n = +x;
925
- return (n > 0 ? floor : ceil)(n);
926
- };
927
-
928
-
929
- /***/ }),
930
-
931
- /***/ 3070:
932
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
933
-
934
- var DESCRIPTORS = __webpack_require__(9781);
935
- var IE8_DOM_DEFINE = __webpack_require__(4664);
936
- var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3353);
937
- var anObject = __webpack_require__(9670);
938
- var toPropertyKey = __webpack_require__(4948);
939
-
940
- var $TypeError = TypeError;
941
- // eslint-disable-next-line es/no-object-defineproperty -- safe
942
- var $defineProperty = Object.defineProperty;
943
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
944
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
945
- var ENUMERABLE = 'enumerable';
946
- var CONFIGURABLE = 'configurable';
947
- var WRITABLE = 'writable';
948
-
949
- // `Object.defineProperty` method
950
- // https://tc39.es/ecma262/#sec-object.defineproperty
951
- exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
952
- anObject(O);
953
- P = toPropertyKey(P);
954
- anObject(Attributes);
955
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
956
- var current = $getOwnPropertyDescriptor(O, P);
957
- if (current && current[WRITABLE]) {
958
- O[P] = Attributes.value;
959
- Attributes = {
960
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
961
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
962
- writable: false
963
- };
964
- }
965
- } return $defineProperty(O, P, Attributes);
966
- } : $defineProperty : function defineProperty(O, P, Attributes) {
967
- anObject(O);
968
- P = toPropertyKey(P);
969
- anObject(Attributes);
970
- if (IE8_DOM_DEFINE) try {
971
- return $defineProperty(O, P, Attributes);
972
- } catch (error) { /* empty */ }
973
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
974
- if ('value' in Attributes) O[P] = Attributes.value;
975
- return O;
976
- };
977
-
978
-
979
- /***/ }),
980
-
981
- /***/ 1236:
982
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
983
-
984
- var DESCRIPTORS = __webpack_require__(9781);
985
- var call = __webpack_require__(6916);
986
- var propertyIsEnumerableModule = __webpack_require__(5296);
987
- var createPropertyDescriptor = __webpack_require__(9114);
988
- var toIndexedObject = __webpack_require__(5656);
989
- var toPropertyKey = __webpack_require__(4948);
990
- var hasOwn = __webpack_require__(2597);
991
- var IE8_DOM_DEFINE = __webpack_require__(4664);
992
-
993
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
994
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
995
-
996
- // `Object.getOwnPropertyDescriptor` method
997
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
998
- exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
999
- O = toIndexedObject(O);
1000
- P = toPropertyKey(P);
1001
- if (IE8_DOM_DEFINE) try {
1002
- return $getOwnPropertyDescriptor(O, P);
1003
- } catch (error) { /* empty */ }
1004
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
1005
- };
1006
-
1007
-
1008
- /***/ }),
1009
-
1010
- /***/ 8006:
1011
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1012
-
1013
- var internalObjectKeys = __webpack_require__(6324);
1014
- var enumBugKeys = __webpack_require__(748);
1015
-
1016
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
1017
-
1018
- // `Object.getOwnPropertyNames` method
1019
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
1020
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1021
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1022
- return internalObjectKeys(O, hiddenKeys);
1023
- };
1024
-
1025
-
1026
- /***/ }),
1027
-
1028
- /***/ 5181:
1029
- /***/ (function(__unused_webpack_module, exports) {
1030
-
1031
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1032
- exports.f = Object.getOwnPropertySymbols;
1033
-
1034
-
1035
- /***/ }),
1036
-
1037
- /***/ 7976:
1038
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1039
-
1040
- var uncurryThis = __webpack_require__(1702);
1041
-
1042
- module.exports = uncurryThis({}.isPrototypeOf);
1043
-
1044
-
1045
- /***/ }),
1046
-
1047
- /***/ 6324:
1048
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1049
-
1050
- var uncurryThis = __webpack_require__(1702);
1051
- var hasOwn = __webpack_require__(2597);
1052
- var toIndexedObject = __webpack_require__(5656);
1053
- var indexOf = (__webpack_require__(1318).indexOf);
1054
- var hiddenKeys = __webpack_require__(3501);
1055
-
1056
- var push = uncurryThis([].push);
1057
-
1058
- module.exports = function (object, names) {
1059
- var O = toIndexedObject(object);
1060
- var i = 0;
1061
- var result = [];
1062
- var key;
1063
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
1064
- // Don't enum bug & hidden keys
1065
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
1066
- ~indexOf(result, key) || push(result, key);
1067
- }
1068
- return result;
1069
- };
1070
-
1071
-
1072
- /***/ }),
1073
-
1074
- /***/ 5296:
1075
- /***/ (function(__unused_webpack_module, exports) {
1076
-
1077
- "use strict";
1078
-
1079
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
1080
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1081
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1082
-
1083
- // Nashorn ~ JDK8 bug
1084
- var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
1085
-
1086
- // `Object.prototype.propertyIsEnumerable` method implementation
1087
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
1088
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1089
- var descriptor = getOwnPropertyDescriptor(this, V);
1090
- return !!descriptor && descriptor.enumerable;
1091
- } : $propertyIsEnumerable;
1092
-
1093
-
1094
- /***/ }),
1095
-
1096
- /***/ 2140:
1097
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1098
-
1099
- var call = __webpack_require__(6916);
1100
- var isCallable = __webpack_require__(614);
1101
- var isObject = __webpack_require__(111);
1102
-
1103
- var $TypeError = TypeError;
1104
-
1105
- // `OrdinaryToPrimitive` abstract operation
1106
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1107
- module.exports = function (input, pref) {
1108
- var fn, val;
1109
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
1110
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
1111
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
1112
- throw $TypeError("Can't convert object to primitive value");
1113
- };
1114
-
1115
-
1116
- /***/ }),
1117
-
1118
- /***/ 3887:
1119
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1120
-
1121
- var getBuiltIn = __webpack_require__(5005);
1122
- var uncurryThis = __webpack_require__(1702);
1123
- var getOwnPropertyNamesModule = __webpack_require__(8006);
1124
- var getOwnPropertySymbolsModule = __webpack_require__(5181);
1125
- var anObject = __webpack_require__(9670);
1126
-
1127
- var concat = uncurryThis([].concat);
1128
-
1129
- // all object keys, includes non-enumerable and symbols
1130
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1131
- var keys = getOwnPropertyNamesModule.f(anObject(it));
1132
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1133
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1134
- };
1135
-
1136
-
1137
- /***/ }),
1138
-
1139
- /***/ 4488:
1140
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1141
-
1142
- var isNullOrUndefined = __webpack_require__(8554);
1143
-
1144
- var $TypeError = TypeError;
1145
-
1146
- // `RequireObjectCoercible` abstract operation
1147
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
1148
- module.exports = function (it) {
1149
- if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
1150
- return it;
1151
- };
1152
-
1153
-
1154
- /***/ }),
1155
-
1156
- /***/ 6200:
1157
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1158
-
1159
- var shared = __webpack_require__(2309);
1160
- var uid = __webpack_require__(9711);
1161
-
1162
- var keys = shared('keys');
1163
-
1164
- module.exports = function (key) {
1165
- return keys[key] || (keys[key] = uid(key));
1166
- };
1167
-
1168
-
1169
- /***/ }),
1170
-
1171
- /***/ 5465:
1172
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1173
-
1174
- var global = __webpack_require__(7854);
1175
- var defineGlobalProperty = __webpack_require__(3072);
1176
-
1177
- var SHARED = '__core-js_shared__';
1178
- var store = global[SHARED] || defineGlobalProperty(SHARED, {});
1179
-
1180
- module.exports = store;
1181
-
1182
-
1183
- /***/ }),
1184
-
1185
- /***/ 2309:
1186
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1187
-
1188
- var IS_PURE = __webpack_require__(1913);
1189
- var store = __webpack_require__(5465);
1190
-
1191
- (module.exports = function (key, value) {
1192
- return store[key] || (store[key] = value !== undefined ? value : {});
1193
- })('versions', []).push({
1194
- version: '3.27.2',
1195
- mode: IS_PURE ? 'pure' : 'global',
1196
- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
1197
- license: 'https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE',
1198
- source: 'https://github.com/zloirock/core-js'
1199
- });
1200
-
1201
-
1202
- /***/ }),
1203
-
1204
- /***/ 6293:
1205
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1206
-
1207
- /* eslint-disable es/no-symbol -- required for testing */
1208
- var V8_VERSION = __webpack_require__(7392);
1209
- var fails = __webpack_require__(7293);
1210
-
1211
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1212
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
1213
- var symbol = Symbol();
1214
- // Chrome 38 Symbol has incorrect toString conversion
1215
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
1216
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
1217
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
1218
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
1219
- });
1220
-
1221
-
1222
- /***/ }),
1223
-
1224
- /***/ 1400:
1225
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1226
-
1227
- var toIntegerOrInfinity = __webpack_require__(9303);
1228
-
1229
- var max = Math.max;
1230
- var min = Math.min;
1231
-
1232
- // Helper for a popular repeating case of the spec:
1233
- // Let integer be ? ToInteger(index).
1234
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1235
- module.exports = function (index, length) {
1236
- var integer = toIntegerOrInfinity(index);
1237
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
1238
- };
1239
-
1240
-
1241
- /***/ }),
1242
-
1243
- /***/ 5656:
1244
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1245
-
1246
- // toObject with fallback for non-array-like ES3 strings
1247
- var IndexedObject = __webpack_require__(8361);
1248
- var requireObjectCoercible = __webpack_require__(4488);
1249
-
1250
- module.exports = function (it) {
1251
- return IndexedObject(requireObjectCoercible(it));
1252
- };
1253
-
1254
-
1255
- /***/ }),
1256
-
1257
- /***/ 9303:
1258
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1259
-
1260
- var trunc = __webpack_require__(4758);
1261
-
1262
- // `ToIntegerOrInfinity` abstract operation
1263
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
1264
- module.exports = function (argument) {
1265
- var number = +argument;
1266
- // eslint-disable-next-line no-self-compare -- NaN check
1267
- return number !== number || number === 0 ? 0 : trunc(number);
1268
- };
1269
-
1270
-
1271
- /***/ }),
1272
-
1273
- /***/ 7466:
1274
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1275
-
1276
- var toIntegerOrInfinity = __webpack_require__(9303);
1277
-
1278
- var min = Math.min;
1279
-
1280
- // `ToLength` abstract operation
1281
- // https://tc39.es/ecma262/#sec-tolength
1282
- module.exports = function (argument) {
1283
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1284
- };
1285
-
1286
-
1287
- /***/ }),
1288
-
1289
- /***/ 7908:
1290
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1291
-
1292
- var requireObjectCoercible = __webpack_require__(4488);
1293
-
1294
- var $Object = Object;
1295
-
1296
- // `ToObject` abstract operation
1297
- // https://tc39.es/ecma262/#sec-toobject
1298
- module.exports = function (argument) {
1299
- return $Object(requireObjectCoercible(argument));
1300
- };
1301
-
1302
-
1303
- /***/ }),
1304
-
1305
- /***/ 7593:
1306
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1307
-
1308
- var call = __webpack_require__(6916);
1309
- var isObject = __webpack_require__(111);
1310
- var isSymbol = __webpack_require__(2190);
1311
- var getMethod = __webpack_require__(8173);
1312
- var ordinaryToPrimitive = __webpack_require__(2140);
1313
- var wellKnownSymbol = __webpack_require__(5112);
1314
-
1315
- var $TypeError = TypeError;
1316
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
1317
-
1318
- // `ToPrimitive` abstract operation
1319
- // https://tc39.es/ecma262/#sec-toprimitive
1320
- module.exports = function (input, pref) {
1321
- if (!isObject(input) || isSymbol(input)) return input;
1322
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
1323
- var result;
1324
- if (exoticToPrim) {
1325
- if (pref === undefined) pref = 'default';
1326
- result = call(exoticToPrim, input, pref);
1327
- if (!isObject(result) || isSymbol(result)) return result;
1328
- throw $TypeError("Can't convert object to primitive value");
1329
- }
1330
- if (pref === undefined) pref = 'number';
1331
- return ordinaryToPrimitive(input, pref);
1332
- };
1333
-
1334
-
1335
- /***/ }),
1336
-
1337
- /***/ 4948:
1338
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1339
-
1340
- var toPrimitive = __webpack_require__(7593);
1341
- var isSymbol = __webpack_require__(2190);
1342
-
1343
- // `ToPropertyKey` abstract operation
1344
- // https://tc39.es/ecma262/#sec-topropertykey
1345
- module.exports = function (argument) {
1346
- var key = toPrimitive(argument, 'string');
1347
- return isSymbol(key) ? key : key + '';
1348
- };
1349
-
1350
-
1351
- /***/ }),
1352
-
1353
- /***/ 6330:
1354
- /***/ (function(module) {
1355
-
1356
- var $String = String;
1357
-
1358
- module.exports = function (argument) {
1359
- try {
1360
- return $String(argument);
1361
- } catch (error) {
1362
- return 'Object';
1363
- }
1364
- };
1365
-
1366
-
1367
- /***/ }),
1368
-
1369
- /***/ 9711:
1370
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1371
-
1372
- var uncurryThis = __webpack_require__(1702);
1373
-
1374
- var id = 0;
1375
- var postfix = Math.random();
1376
- var toString = uncurryThis(1.0.toString);
1377
-
1378
- module.exports = function (key) {
1379
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
1380
- };
1381
-
1382
-
1383
- /***/ }),
1384
-
1385
- /***/ 3307:
1386
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1387
-
1388
- /* eslint-disable es/no-symbol -- required for testing */
1389
- var NATIVE_SYMBOL = __webpack_require__(6293);
1390
-
1391
- module.exports = NATIVE_SYMBOL
1392
- && !Symbol.sham
1393
- && typeof Symbol.iterator == 'symbol';
1394
-
1395
-
1396
- /***/ }),
1397
-
1398
- /***/ 3353:
1399
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1400
-
1401
- var DESCRIPTORS = __webpack_require__(9781);
1402
- var fails = __webpack_require__(7293);
1403
-
1404
- // V8 ~ Chrome 36-
1405
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1406
- module.exports = DESCRIPTORS && fails(function () {
1407
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1408
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1409
- value: 42,
1410
- writable: false
1411
- }).prototype != 42;
1412
- });
1413
-
1414
-
1415
- /***/ }),
1416
-
1417
- /***/ 4811:
1418
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1419
-
1420
- var global = __webpack_require__(7854);
1421
- var isCallable = __webpack_require__(614);
1422
-
1423
- var WeakMap = global.WeakMap;
1424
-
1425
- module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
1426
-
1427
-
1428
- /***/ }),
1429
-
1430
- /***/ 5112:
1431
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1432
-
1433
- var global = __webpack_require__(7854);
1434
- var shared = __webpack_require__(2309);
1435
- var hasOwn = __webpack_require__(2597);
1436
- var uid = __webpack_require__(9711);
1437
- var NATIVE_SYMBOL = __webpack_require__(6293);
1438
- var USE_SYMBOL_AS_UID = __webpack_require__(3307);
1439
-
1440
- var Symbol = global.Symbol;
1441
- var WellKnownSymbolsStore = shared('wks');
1442
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
1443
-
1444
- module.exports = function (name) {
1445
- if (!hasOwn(WellKnownSymbolsStore, name)) {
1446
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
1447
- ? Symbol[name]
1448
- : createWellKnownSymbol('Symbol.' + name);
1449
- } return WellKnownSymbolsStore[name];
1450
- };
1451
-
1452
-
1453
- /***/ }),
1454
-
1455
- /***/ 7658:
1456
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1457
-
1458
- "use strict";
1459
-
1460
- var $ = __webpack_require__(2109);
1461
- var toObject = __webpack_require__(7908);
1462
- var lengthOfArrayLike = __webpack_require__(6244);
1463
- var setArrayLength = __webpack_require__(3658);
1464
- var doesNotExceedSafeInteger = __webpack_require__(7207);
1465
- var fails = __webpack_require__(7293);
1466
-
1467
- var INCORRECT_TO_LENGTH = fails(function () {
1468
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1469
- });
1470
-
1471
- // V8 and Safari <= 15.4, FF < 23 throws InternalError
1472
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1473
- var properErrorOnNonWritableLength = function () {
1474
- try {
1475
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1476
- Object.defineProperty([], 'length', { writable: false }).push();
1477
- } catch (error) {
1478
- return error instanceof TypeError;
1479
- }
1480
- };
1481
-
1482
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1483
-
1484
- // `Array.prototype.push` method
1485
- // https://tc39.es/ecma262/#sec-array.prototype.push
1486
- $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1487
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1488
- push: function push(item) {
1489
- var O = toObject(this);
1490
- var len = lengthOfArrayLike(O);
1491
- var argCount = arguments.length;
1492
- doesNotExceedSafeInteger(len + argCount);
1493
- for (var i = 0; i < argCount; i++) {
1494
- O[len] = arguments[i];
1495
- len++;
1496
- }
1497
- setArrayLength(O, len);
1498
- return len;
1499
- }
1500
- });
1501
-
1502
-
1503
- /***/ }),
1504
-
1505
- /***/ 9944:
1506
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1507
-
1508
- "use strict";
1509
- __webpack_require__.r(__webpack_exports__);
1510
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
1511
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
1512
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
1513
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
1514
- // Imports
1515
-
1516
-
1517
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1518
- // Module
1519
- ___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-316ef3a2]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-316ef3a2]{display:none}.vdr[data-v-316ef3a2]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-316ef3a2]{display:block}.handle[data-v-316ef3a2]{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-316ef3a2]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-316ef3a2]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-316ef3a2]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-316ef3a2]{left:-10px;cursor:w-resize}.handle-ml[data-v-316ef3a2],.handle-mr[data-v-316ef3a2]{top:50%;margin-top:-5px}.handle-mr[data-v-316ef3a2]{right:-10px;cursor:e-resize}.handle-bl[data-v-316ef3a2]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-316ef3a2]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-316ef3a2]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-316ef3a2]:before{content:\"\";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-316ef3a2]{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-316ef3a2]:before{content:\"\\2716\"}.close[data-v-316ef3a2]{top:5px;right:2px;position:absolute}", ""]);
1520
- // Exports
1521
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1522
-
1523
-
1524
- /***/ }),
1525
-
1526
- /***/ 3418:
1527
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1528
-
1529
- "use strict";
1530
- __webpack_require__.r(__webpack_exports__);
1531
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
1532
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
1533
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
1534
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
1535
- // Imports
1536
-
1537
-
1538
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1539
- // Module
1540
- ___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-213c0dff]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
1541
- // Exports
1542
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1543
-
1544
-
1545
- /***/ }),
1546
-
1547
- /***/ 3645:
1548
- /***/ (function(module) {
1549
-
1550
- "use strict";
1551
-
1552
-
1553
- /*
1554
- MIT License http://www.opensource.org/licenses/mit-license.php
1555
- Author Tobias Koppers @sokra
1556
- */
1557
- module.exports = function (cssWithMappingToString) {
1558
- var list = []; // return the list of modules as css string
1559
-
1560
- list.toString = function toString() {
1561
- return this.map(function (item) {
1562
- var content = "";
1563
- var needLayer = typeof item[5] !== "undefined";
1564
-
1565
- if (item[4]) {
1566
- content += "@supports (".concat(item[4], ") {");
1567
- }
1568
-
1569
- if (item[2]) {
1570
- content += "@media ".concat(item[2], " {");
1571
- }
1572
-
1573
- if (needLayer) {
1574
- content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
1575
- }
1576
-
1577
- content += cssWithMappingToString(item);
1578
-
1579
- if (needLayer) {
1580
- content += "}";
1581
- }
1582
-
1583
- if (item[2]) {
1584
- content += "}";
1585
- }
1586
-
1587
- if (item[4]) {
1588
- content += "}";
1589
- }
1590
-
1591
- return content;
1592
- }).join("");
1593
- }; // import a list of modules into the list
1594
-
1595
-
1596
- list.i = function i(modules, media, dedupe, supports, layer) {
1597
- if (typeof modules === "string") {
1598
- modules = [[null, modules, undefined]];
1599
- }
1600
-
1601
- var alreadyImportedModules = {};
1602
-
1603
- if (dedupe) {
1604
- for (var k = 0; k < this.length; k++) {
1605
- var id = this[k][0];
1606
-
1607
- if (id != null) {
1608
- alreadyImportedModules[id] = true;
1609
- }
1610
- }
1611
- }
1612
-
1613
- for (var _k = 0; _k < modules.length; _k++) {
1614
- var item = [].concat(modules[_k]);
1615
-
1616
- if (dedupe && alreadyImportedModules[item[0]]) {
1617
- continue;
1618
- }
1619
-
1620
- if (typeof layer !== "undefined") {
1621
- if (typeof item[5] === "undefined") {
1622
- item[5] = layer;
1623
- } else {
1624
- item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
1625
- item[5] = layer;
1626
- }
1627
- }
1628
-
1629
- if (media) {
1630
- if (!item[2]) {
1631
- item[2] = media;
1632
- } else {
1633
- item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
1634
- item[2] = media;
1635
- }
1636
- }
1637
-
1638
- if (supports) {
1639
- if (!item[4]) {
1640
- item[4] = "".concat(supports);
1641
- } else {
1642
- item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
1643
- item[4] = supports;
1644
- }
1645
- }
1646
-
1647
- list.push(item);
1648
- }
1649
- };
1650
-
1651
- return list;
1652
- };
1653
-
1654
- /***/ }),
1655
-
1656
- /***/ 8081:
1657
- /***/ (function(module) {
1658
-
1659
- "use strict";
1660
-
1661
-
1662
- module.exports = function (i) {
1663
- return i[1];
1664
- };
1665
-
1666
- /***/ }),
1667
-
1668
- /***/ 4954:
1669
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1670
-
1671
- // style-loader: Adds some css to the DOM by adding a <style> tag
1672
-
1673
- // load the styles
1674
- var content = __webpack_require__(9944);
1675
- if(content.__esModule) content = content.default;
1676
- if(typeof content === 'string') content = [[module.id, content, '']];
1677
- if(content.locals) module.exports = content.locals;
1678
- // add the styles to the DOM
1679
- var add = (__webpack_require__(4402)/* ["default"] */ .Z)
1680
- var update = add("4d76d678", content, true, {"sourceMap":false,"shadowMode":false});
1681
-
1682
- /***/ }),
1683
-
1684
- /***/ 9254:
1685
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1686
-
1687
- // style-loader: Adds some css to the DOM by adding a <style> tag
1688
-
1689
- // load the styles
1690
- var content = __webpack_require__(3418);
1691
- if(content.__esModule) content = content.default;
1692
- if(typeof content === 'string') content = [[module.id, content, '']];
1693
- if(content.locals) module.exports = content.locals;
1694
- // add the styles to the DOM
1695
- var add = (__webpack_require__(4402)/* ["default"] */ .Z)
1696
- var update = add("12dd7072", content, true, {"sourceMap":false,"shadowMode":false});
1697
-
1698
- /***/ }),
1699
-
1700
- /***/ 4402:
1701
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1702
-
1703
- "use strict";
1704
-
1705
- // EXPORTS
1706
- __webpack_require__.d(__webpack_exports__, {
1707
- "Z": function() { return /* binding */ addStylesClient; }
1708
- });
1709
-
1710
- ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
1711
- /**
1712
- * Translates the list format produced by css-loader into something
1713
- * easier to manipulate.
1714
- */
1715
- function listToStyles (parentId, list) {
1716
- var styles = []
1717
- var newStyles = {}
1718
- for (var i = 0; i < list.length; i++) {
1719
- var item = list[i]
1720
- var id = item[0]
1721
- var css = item[1]
1722
- var media = item[2]
1723
- var sourceMap = item[3]
1724
- var part = {
1725
- id: parentId + ':' + i,
1726
- css: css,
1727
- media: media,
1728
- sourceMap: sourceMap
1729
- }
1730
- if (!newStyles[id]) {
1731
- styles.push(newStyles[id] = { id: id, parts: [part] })
1732
- } else {
1733
- newStyles[id].parts.push(part)
1734
- }
1735
- }
1736
- return styles
1737
- }
1738
-
1739
- ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
1740
- /*
1741
- MIT License http://www.opensource.org/licenses/mit-license.php
1742
- Author Tobias Koppers @sokra
1743
- Modified by Evan You @yyx990803
1744
- */
1745
-
1746
-
1747
-
1748
- var hasDocument = typeof document !== 'undefined'
1749
-
1750
- if (typeof DEBUG !== 'undefined' && DEBUG) {
1751
- if (!hasDocument) {
1752
- throw new Error(
1753
- 'vue-style-loader cannot be used in a non-browser environment. ' +
1754
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
1755
- ) }
1756
- }
1757
-
1758
- /*
1759
- type StyleObject = {
1760
- id: number;
1761
- parts: Array<StyleObjectPart>
1762
- }
1763
-
1764
- type StyleObjectPart = {
1765
- css: string;
1766
- media: string;
1767
- sourceMap: ?string
1768
- }
1769
- */
1770
-
1771
- var stylesInDom = {/*
1772
- [id: number]: {
1773
- id: number,
1774
- refs: number,
1775
- parts: Array<(obj?: StyleObjectPart) => void>
1776
- }
1777
- */}
1778
-
1779
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
1780
- var singletonElement = null
1781
- var singletonCounter = 0
1782
- var isProduction = false
1783
- var noop = function () {}
1784
- var options = null
1785
- var ssrIdKey = 'data-vue-ssr-id'
1786
-
1787
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
1788
- // tags it will allow on a page
1789
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
1790
-
1791
- function addStylesClient (parentId, list, _isProduction, _options) {
1792
- isProduction = _isProduction
1793
-
1794
- options = _options || {}
1795
-
1796
- var styles = listToStyles(parentId, list)
1797
- addStylesToDom(styles)
1798
-
1799
- return function update (newList) {
1800
- var mayRemove = []
1801
- for (var i = 0; i < styles.length; i++) {
1802
- var item = styles[i]
1803
- var domStyle = stylesInDom[item.id]
1804
- domStyle.refs--
1805
- mayRemove.push(domStyle)
1806
- }
1807
- if (newList) {
1808
- styles = listToStyles(parentId, newList)
1809
- addStylesToDom(styles)
1810
- } else {
1811
- styles = []
1812
- }
1813
- for (var i = 0; i < mayRemove.length; i++) {
1814
- var domStyle = mayRemove[i]
1815
- if (domStyle.refs === 0) {
1816
- for (var j = 0; j < domStyle.parts.length; j++) {
1817
- domStyle.parts[j]()
1818
- }
1819
- delete stylesInDom[domStyle.id]
1820
- }
1821
- }
1822
- }
1823
- }
1824
-
1825
- function addStylesToDom (styles /* Array<StyleObject> */) {
1826
- for (var i = 0; i < styles.length; i++) {
1827
- var item = styles[i]
1828
- var domStyle = stylesInDom[item.id]
1829
- if (domStyle) {
1830
- domStyle.refs++
1831
- for (var j = 0; j < domStyle.parts.length; j++) {
1832
- domStyle.parts[j](item.parts[j])
1833
- }
1834
- for (; j < item.parts.length; j++) {
1835
- domStyle.parts.push(addStyle(item.parts[j]))
1836
- }
1837
- if (domStyle.parts.length > item.parts.length) {
1838
- domStyle.parts.length = item.parts.length
1839
- }
1840
- } else {
1841
- var parts = []
1842
- for (var j = 0; j < item.parts.length; j++) {
1843
- parts.push(addStyle(item.parts[j]))
1844
- }
1845
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
1846
- }
1847
- }
1848
- }
1849
-
1850
- function createStyleElement () {
1851
- var styleElement = document.createElement('style')
1852
- styleElement.type = 'text/css'
1853
- head.appendChild(styleElement)
1854
- return styleElement
1855
- }
1856
-
1857
- function addStyle (obj /* StyleObjectPart */) {
1858
- var update, remove
1859
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
1860
-
1861
- if (styleElement) {
1862
- if (isProduction) {
1863
- // has SSR styles and in production mode.
1864
- // simply do nothing.
1865
- return noop
1866
- } else {
1867
- // has SSR styles but in dev mode.
1868
- // for some reason Chrome can't handle source map in server-rendered
1869
- // style tags - source maps in <style> only works if the style tag is
1870
- // created and inserted dynamically. So we remove the server rendered
1871
- // styles and inject new ones.
1872
- styleElement.parentNode.removeChild(styleElement)
1873
- }
1874
- }
1875
-
1876
- if (isOldIE) {
1877
- // use singleton mode for IE9.
1878
- var styleIndex = singletonCounter++
1879
- styleElement = singletonElement || (singletonElement = createStyleElement())
1880
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
1881
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
1882
- } else {
1883
- // use multi-style-tag mode in all other cases
1884
- styleElement = createStyleElement()
1885
- update = applyToTag.bind(null, styleElement)
1886
- remove = function () {
1887
- styleElement.parentNode.removeChild(styleElement)
1888
- }
1889
- }
1890
-
1891
- update(obj)
1892
-
1893
- return function updateStyle (newObj /* StyleObjectPart */) {
1894
- if (newObj) {
1895
- if (newObj.css === obj.css &&
1896
- newObj.media === obj.media &&
1897
- newObj.sourceMap === obj.sourceMap) {
1898
- return
1899
- }
1900
- update(obj = newObj)
1901
- } else {
1902
- remove()
1903
- }
1904
- }
1905
- }
1906
-
1907
- var replaceText = (function () {
1908
- var textStore = []
1909
-
1910
- return function (index, replacement) {
1911
- textStore[index] = replacement
1912
- return textStore.filter(Boolean).join('\n')
1913
- }
1914
- })()
1915
-
1916
- function applyToSingletonTag (styleElement, index, remove, obj) {
1917
- var css = remove ? '' : obj.css
1918
-
1919
- if (styleElement.styleSheet) {
1920
- styleElement.styleSheet.cssText = replaceText(index, css)
1921
- } else {
1922
- var cssNode = document.createTextNode(css)
1923
- var childNodes = styleElement.childNodes
1924
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
1925
- if (childNodes.length) {
1926
- styleElement.insertBefore(cssNode, childNodes[index])
1927
- } else {
1928
- styleElement.appendChild(cssNode)
1929
- }
1930
- }
1931
- }
1932
-
1933
- function applyToTag (styleElement, obj) {
1934
- var css = obj.css
1935
- var media = obj.media
1936
- var sourceMap = obj.sourceMap
1937
-
1938
- if (media) {
1939
- styleElement.setAttribute('media', media)
1940
- }
1941
- if (options.ssrId) {
1942
- styleElement.setAttribute(ssrIdKey, obj.id)
1943
- }
1944
-
1945
- if (sourceMap) {
1946
- // https://developer.chrome.com/devtools/docs/javascript-debugging
1947
- // this makes source maps inside style tags work properly in Chrome
1948
- css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
1949
- // http://stackoverflow.com/a/26603875
1950
- css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
1951
- }
1952
-
1953
- if (styleElement.styleSheet) {
1954
- styleElement.styleSheet.cssText = css
1955
- } else {
1956
- while (styleElement.firstChild) {
1957
- styleElement.removeChild(styleElement.firstChild)
1958
- }
1959
- styleElement.appendChild(document.createTextNode(css))
1960
- }
1961
- }
1962
-
1963
-
1964
- /***/ })
1965
-
1966
- /******/ });
1967
- /************************************************************************/
1968
- /******/ // The module cache
1969
- /******/ var __webpack_module_cache__ = {};
1970
- /******/
1971
- /******/ // The require function
1972
- /******/ function __webpack_require__(moduleId) {
1973
- /******/ // Check if module is in cache
1974
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
1975
- /******/ if (cachedModule !== undefined) {
1976
- /******/ return cachedModule.exports;
1977
- /******/ }
1978
- /******/ // Create a new module (and put it into the cache)
1979
- /******/ var module = __webpack_module_cache__[moduleId] = {
1980
- /******/ id: moduleId,
1981
- /******/ // no module.loaded needed
1982
- /******/ exports: {}
1983
- /******/ };
1984
- /******/
1985
- /******/ // Execute the module function
1986
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1987
- /******/
1988
- /******/ // Return the exports of the module
1989
- /******/ return module.exports;
1990
- /******/ }
1991
- /******/
1992
- /************************************************************************/
1993
- /******/ /* webpack/runtime/compat get default export */
1994
- /******/ !function() {
1995
- /******/ // getDefaultExport function for compatibility with non-harmony modules
1996
- /******/ __webpack_require__.n = function(module) {
1997
- /******/ var getter = module && module.__esModule ?
1998
- /******/ function() { return module['default']; } :
1999
- /******/ function() { return module; };
2000
- /******/ __webpack_require__.d(getter, { a: getter });
2001
- /******/ return getter;
2002
- /******/ };
2003
- /******/ }();
2004
- /******/
2005
- /******/ /* webpack/runtime/define property getters */
2006
- /******/ !function() {
2007
- /******/ // define getter functions for harmony exports
2008
- /******/ __webpack_require__.d = function(exports, definition) {
2009
- /******/ for(var key in definition) {
2010
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
2011
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
2012
- /******/ }
2013
- /******/ }
2014
- /******/ };
2015
- /******/ }();
2016
- /******/
2017
- /******/ /* webpack/runtime/global */
2018
- /******/ !function() {
2019
- /******/ __webpack_require__.g = (function() {
2020
- /******/ if (typeof globalThis === 'object') return globalThis;
2021
- /******/ try {
2022
- /******/ return this || new Function('return this')();
2023
- /******/ } catch (e) {
2024
- /******/ if (typeof window === 'object') return window;
2025
- /******/ }
2026
- /******/ })();
2027
- /******/ }();
2028
- /******/
2029
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
2030
- /******/ !function() {
2031
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
2032
- /******/ }();
2033
- /******/
2034
- /******/ /* webpack/runtime/make namespace object */
2035
- /******/ !function() {
2036
- /******/ // define __esModule on exports
2037
- /******/ __webpack_require__.r = function(exports) {
2038
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
2039
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2040
- /******/ }
2041
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
2042
- /******/ };
2043
- /******/ }();
2044
- /******/
2045
- /******/ /* webpack/runtime/publicPath */
2046
- /******/ !function() {
2047
- /******/ __webpack_require__.p = "";
2048
- /******/ }();
2049
- /******/
2050
- /************************************************************************/
2051
- var __webpack_exports__ = {};
2052
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
2053
- !function() {
2054
- "use strict";
2055
- // ESM COMPAT FLAG
2056
- __webpack_require__.r(__webpack_exports__);
2057
-
2058
- // EXPORTS
2059
- __webpack_require__.d(__webpack_exports__, {
2060
- "default": function() { return /* binding */ entry_lib; }
2061
- });
2062
-
2063
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
2064
- /* eslint-disable no-var */
2065
- // This file is imported into lib/wc client bundles.
2066
-
2067
- if (typeof window !== 'undefined') {
2068
- var currentScript = window.document.currentScript
2069
- if (false) { var getCurrentScript; }
2070
-
2071
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
2072
- if (src) {
2073
- __webpack_require__.p = src[1] // eslint-disable-line
2074
- }
2075
- }
2076
-
2077
- // Indicate to webpack that this file can be concatenated
2078
- /* harmony default export */ var setPublicPath = (null);
2079
-
2080
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=template&id=213c0dff&scoped=true&
2081
- var render = function render() {
2082
- var _vm = this,
2083
- _c = _vm._self._c;
2084
- return _c('div', {
2085
- attrs: {
2086
- "id": "outerContainer"
2087
- }
2088
- }, [_vm._m(0), _vm._v(" "), _c('div', {
2089
- attrs: {
2090
- "id": "mainContainer"
2091
- }
2092
- }, [_vm._m(1), _vm._v(" "), _vm._m(2), _c('div', {
2093
- attrs: {
2094
- "id": "viewerContainer",
2095
- "tabindex": "0"
2096
- }
2097
- }, [_c('div', {
2098
- staticClass: "pdfViewer",
2099
- attrs: {
2100
- "id": "viewer"
2101
- },
2102
- on: {
2103
- "dragover": function ($event) {
2104
- $event.preventDefault();
2105
- return _vm.onStampDragOver.apply(null, arguments);
2106
- }
2107
- }
2108
- }, _vm._l(_vm.stamps, function (stamp, index) {
2109
- return _vm.viewVisible ? _c('vue-draggable-resizable', {
2110
- attrs: {
2111
- "w": stamp.w ? stamp.w : 174,
2112
- "h": stamp.h ? stamp.h : 174,
2113
- "parent": _vm.config.viewerContainer,
2114
- "customForStamp": true,
2115
- "eventBus": _vm.eventBus,
2116
- "handles": ['tl', 'tr', 'bl', 'br'],
2117
- "index": index,
2118
- "x": stamp.x,
2119
- "y": stamp.located ? stamp.y : stamp.y + _vm.config.mainContainer.scrollTop,
2120
- "pages": _vm.ofdViewer._pages,
2121
- "currentPage": _vm.sp,
2122
- "origin-bottom": false,
2123
- "stampId": stamp.source.stampId,
2124
- "draggable": _vm.draggable,
2125
- "resizable": _vm.resizable,
2126
- "editable": _vm.editable
2127
- },
2128
- on: {
2129
- "dropitem": _vm.removeStamp,
2130
- "dragstop": _vm.onStampDragStop,
2131
- "placed": _vm.placed
2132
- }
2133
- }, [_c('div', {
2134
- staticClass: "stamp",
2135
- style: {
2136
- backgroundImage: 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'
2137
- }
2138
- })]) : _vm._e();
2139
- }), 1), _vm._t("openFileRef")], 2), _vm._m(3)]), _vm._v(" "), _vm._m(4)]);
2140
- };
2141
- var staticRenderFns = [function () {
2142
- var _vm = this,
2143
- _c = _vm._self._c;
2144
- return _c('div', {
2145
- attrs: {
2146
- "id": "sidebarContainer"
2147
- }
2148
- }, [_c('div', {
2149
- attrs: {
2150
- "id": "toolbarSidebar"
2151
- }
2152
- }, [_c('div', {
2153
- attrs: {
2154
- "id": "toolbarSidebarLeft"
2155
- }
2156
- }, [_c('div', {
2157
- staticClass: "splitToolbarButton toggled",
2158
- attrs: {
2159
- "id": "sidebarViewButtons",
2160
- "role": "radiogroup"
2161
- }
2162
- }, [_c('button', {
2163
- staticClass: "toolbarButton toggled",
2164
- attrs: {
2165
- "id": "viewOutline",
2166
- "title": "Show Document Outline (double-click to expand/collapse all items)",
2167
- "tabindex": "3",
2168
- "data-l10n-id": "document_outline",
2169
- "role": "radio",
2170
- "aria-checked": "false",
2171
- "aria-controls": "outlineView"
2172
- }
2173
- }, [_c('span', {
2174
- attrs: {
2175
- "data-l10n-id": "document_outline_label"
2176
- }
2177
- }, [_vm._v("Document Outline")])]), _c('button', {
2178
- staticClass: "toolbarButton",
2179
- attrs: {
2180
- "id": "viewAttachments",
2181
- "title": "Show Attachments",
2182
- "tabindex": "4",
2183
- "data-l10n-id": "attachments",
2184
- "role": "radio",
2185
- "aria-checked": "false",
2186
- "aria-controls": "attachmentsView"
2187
- }
2188
- }, [_c('span', {
2189
- attrs: {
2190
- "data-l10n-id": "attachments_label"
2191
- }
2192
- }, [_vm._v("Attachments")])]), _c('button', {
2193
- staticClass: "toolbarButton",
2194
- attrs: {
2195
- "id": "viewSignatures",
2196
- "title": "Show Signatures",
2197
- "tabindex": "6",
2198
- "data-l10n-id": "layers",
2199
- "role": "radio",
2200
- "aria-checked": "false",
2201
- "aria-controls": "signaturesView"
2202
- }
2203
- }, [_c('span', {
2204
- attrs: {
2205
- "data-l10n-id": "signatures_label"
2206
- }
2207
- }, [_vm._v("Signatures")])])])]), _c('div', {
2208
- attrs: {
2209
- "id": "toolbarSidebarRight"
2210
- }
2211
- }, [_c('div', {
2212
- staticClass: "hidden",
2213
- attrs: {
2214
- "id": "outlineOptionsContainer"
2215
- }
2216
- }, [_c('div', {
2217
- staticClass: "verticalToolbarSeparator"
2218
- }), _c('button', {
2219
- staticClass: "toolbarButton",
2220
- attrs: {
2221
- "id": "currentOutlineItem",
2222
- "disabled": "disabled",
2223
- "title": "Find Current Outline Item",
2224
- "tabindex": "6",
2225
- "data-l10n-id": "current_outline_item"
2226
- }
2227
- }, [_c('span', {
2228
- attrs: {
2229
- "data-l10n-id": "current_outline_item_label"
2230
- }
2231
- }, [_vm._v("Current Outline Item")])])])])]), _c('div', {
2232
- attrs: {
2233
- "id": "sidebarContent"
2234
- }
2235
- }, [_c('div', {
2236
- attrs: {
2237
- "id": "outlineView"
2238
- }
2239
- }), _c('div', {
2240
- staticClass: "hidden",
2241
- attrs: {
2242
- "id": "attachmentsView"
2243
- }
2244
- }), _c('div', {
2245
- staticClass: "hidden",
2246
- attrs: {
2247
- "id": "signaturesView"
2248
- }
2249
- })]), _c('div', {
2250
- attrs: {
2251
- "id": "sidebarResizer"
2252
- }
2253
- })]);
2254
- }, function () {
2255
- var _vm = this,
2256
- _c = _vm._self._c;
2257
- return _c('div', {
2258
- staticClass: "secondaryToolbar hidden doorHangerRight",
2259
- attrs: {
2260
- "id": "secondaryToolbar"
2261
- }
2262
- }, [_c('div', {
2263
- attrs: {
2264
- "id": "secondaryToolbarButtonContainer"
2265
- }
2266
- }, [_c('button', {
2267
- staticClass: "secondaryToolbarButton openFile visibleLargeView",
2268
- attrs: {
2269
- "id": "secondaryOpenFile",
2270
- "title": "打开文件",
2271
- "tabindex": "52",
2272
- "data-l10n-id": "open_file"
2273
- }
2274
- }, [_c('span', {
2275
- attrs: {
2276
- "data-l10n-id": "open_file_label"
2277
- }
2278
- }, [_vm._v("打开")])]), _c('button', {
2279
- staticClass: "secondaryToolbarButton print visibleMediumView",
2280
- attrs: {
2281
- "id": "secondaryPrint",
2282
- "title": "打印",
2283
- "tabindex": "53",
2284
- "data-l10n-id": "print"
2285
- }
2286
- }, [_c('span', {
2287
- attrs: {
2288
- "data-l10n-id": "print_label"
2289
- }
2290
- }, [_vm._v("打印")])]), _c('button', {
2291
- staticClass: "secondaryToolbarButton download visibleMediumView",
2292
- attrs: {
2293
- "id": "secondaryDownload",
2294
- "title": "Download",
2295
- "tabindex": "54",
2296
- "data-l10n-id": "download"
2297
- }
2298
- }, [_c('span', {
2299
- attrs: {
2300
- "data-l10n-id": "download_label"
2301
- }
2302
- }, [_vm._v("Download")])]), _c('a', {
2303
- staticClass: "secondaryToolbarButton bookmark visibleSmallView",
2304
- attrs: {
2305
- "href": "#",
2306
- "id": "secondaryViewBookmark",
2307
- "title": "Current view (copy or open in new window)",
2308
- "tabindex": "55",
2309
- "data-l10n-id": "bookmark"
2310
- }
2311
- }, [_c('span', {
2312
- attrs: {
2313
- "data-l10n-id": "bookmark_label"
2314
- }
2315
- }, [_vm._v("Current View")])]), _c('div', {
2316
- staticClass: "horizontalToolbarSeparator visibleLargeView"
2317
- }), _c('button', {
2318
- staticClass: "secondaryToolbarButton firstPage",
2319
- attrs: {
2320
- "id": "firstPage",
2321
- "title": "Go to First Page",
2322
- "tabindex": "56",
2323
- "data-l10n-id": "first_page"
2324
- }
2325
- }, [_c('span', {
2326
- attrs: {
2327
- "data-l10n-id": "first_page_label"
2328
- }
2329
- }, [_vm._v("Go to First Page")])]), _c('button', {
2330
- staticClass: "secondaryToolbarButton lastPage",
2331
- attrs: {
2332
- "id": "lastPage",
2333
- "title": "Go to Last Page",
2334
- "tabindex": "57",
2335
- "data-l10n-id": "last_page"
2336
- }
2337
- }, [_c('span', {
2338
- attrs: {
2339
- "data-l10n-id": "last_page_label"
2340
- }
2341
- }, [_vm._v("Go to Last Page")])]), _c('div', {
2342
- staticClass: "horizontalToolbarSeparator"
2343
- }), _c('button', {
2344
- staticClass: "secondaryToolbarButton rotateCw",
2345
- attrs: {
2346
- "id": "pageRotateCw",
2347
- "title": "Rotate Clockwise",
2348
- "tabindex": "58",
2349
- "data-l10n-id": "page_rotate_cw"
2350
- }
2351
- }, [_c('span', {
2352
- attrs: {
2353
- "data-l10n-id": "page_rotate_cw_label"
2354
- }
2355
- }, [_vm._v("Rotate Clockwise")])]), _c('button', {
2356
- staticClass: "secondaryToolbarButton rotateCcw",
2357
- attrs: {
2358
- "id": "pageRotateCcw",
2359
- "title": "Rotate Counterclockwise",
2360
- "tabindex": "59",
2361
- "data-l10n-id": "page_rotate_ccw"
2362
- }
2363
- }, [_c('span', {
2364
- attrs: {
2365
- "data-l10n-id": "page_rotate_ccw_label"
2366
- }
2367
- }, [_vm._v("Rotate Counterclockwise")])]), _c('div', {
2368
- staticClass: "horizontalToolbarSeparator"
2369
- }), _c('div', {
2370
- attrs: {
2371
- "id": "cursorToolButtons",
2372
- "role": "radiogroup"
2373
- }
2374
- }, [_c('button', {
2375
- staticClass: "secondaryToolbarButton selectTool toggled",
2376
- attrs: {
2377
- "id": "cursorSelectTool",
2378
- "title": "Enable Text Selection Tool",
2379
- "tabindex": "60",
2380
- "data-l10n-id": "cursor_text_select_tool",
2381
- "role": "radio",
2382
- "aria-checked": "true"
2383
- }
2384
- }, [_c('span', {
2385
- attrs: {
2386
- "data-l10n-id": "cursor_text_select_tool_label"
2387
- }
2388
- }, [_vm._v("Text Selection Tool")])]), _c('button', {
2389
- staticClass: "secondaryToolbarButton handTool",
2390
- attrs: {
2391
- "id": "cursorHandTool",
2392
- "title": "Enable Hand Tool",
2393
- "tabindex": "61",
2394
- "data-l10n-id": "cursor_hand_tool",
2395
- "role": "radio",
2396
- "aria-checked": "false"
2397
- }
2398
- }, [_c('span', {
2399
- attrs: {
2400
- "data-l10n-id": "cursor_hand_tool_label"
2401
- }
2402
- }, [_vm._v("Hand Tool")])])]), _c('div', {
2403
- attrs: {
2404
- "id": "scrollModeButtons",
2405
- "role": "radiogroup"
2406
- }
2407
- }, [_c('div', {
2408
- staticClass: "horizontalToolbarSeparator"
2409
- }), _c('button', {
2410
- staticClass: "secondaryToolbarButton scrollPage",
2411
- attrs: {
2412
- "id": "scrollPage",
2413
- "title": "Use Page Scrolling",
2414
- "tabindex": "62",
2415
- "data-l10n-id": "scroll_page",
2416
- "role": "radio",
2417
- "aria-checked": "false"
2418
- }
2419
- }, [_c('span', {
2420
- attrs: {
2421
- "data-l10n-id": "scroll_page_label"
2422
- }
2423
- }, [_vm._v("Page Scrolling")])]), _c('button', {
2424
- staticClass: "secondaryToolbarButton scrollVertical toggled",
2425
- attrs: {
2426
- "id": "scrollVertical",
2427
- "title": "Use Vertical Scrolling",
2428
- "tabindex": "63",
2429
- "data-l10n-id": "scroll_vertical",
2430
- "role": "radio",
2431
- "aria-checked": "true"
2432
- }
2433
- }, [_c('span', {
2434
- attrs: {
2435
- "data-l10n-id": "scroll_vertical_label"
2436
- }
2437
- }, [_vm._v("Vertical Scrolling")])]), _c('button', {
2438
- staticClass: "secondaryToolbarButton scrollHorizontal",
2439
- attrs: {
2440
- "id": "scrollHorizontal",
2441
- "title": "Use Horizontal Scrolling",
2442
- "tabindex": "64",
2443
- "data-l10n-id": "scroll_horizontal",
2444
- "role": "radio",
2445
- "aria-checked": "false"
2446
- }
2447
- }, [_c('span', {
2448
- attrs: {
2449
- "data-l10n-id": "scroll_horizontal_label"
2450
- }
2451
- }, [_vm._v("Horizontal Scrolling")])]), _c('button', {
2452
- staticClass: "secondaryToolbarButton scrollWrapped",
2453
- attrs: {
2454
- "id": "scrollWrapped",
2455
- "title": "Use Wrapped Scrolling",
2456
- "tabindex": "65",
2457
- "data-l10n-id": "scroll_wrapped",
2458
- "role": "radio",
2459
- "aria-checked": "false"
2460
- }
2461
- }, [_c('span', {
2462
- attrs: {
2463
- "data-l10n-id": "scroll_wrapped_label"
2464
- }
2465
- }, [_vm._v("Wrapped Scrolling")])])]), _c('div', {
2466
- attrs: {
2467
- "id": "spreadModeButtons",
2468
- "role": "radiogroup"
2469
- }
2470
- }, [_c('div', {
2471
- staticClass: "horizontalToolbarSeparator"
2472
- }), _c('button', {
2473
- staticClass: "secondaryToolbarButton spreadNone toggled",
2474
- attrs: {
2475
- "id": "spreadNone",
2476
- "title": "Do not join page spreads",
2477
- "tabindex": "66",
2478
- "data-l10n-id": "spread_none",
2479
- "role": "radio",
2480
- "aria-checked": "true"
2481
- }
2482
- }, [_c('span', {
2483
- attrs: {
2484
- "data-l10n-id": "spread_none_label"
2485
- }
2486
- }, [_vm._v("No Spreads")])]), _c('button', {
2487
- staticClass: "secondaryToolbarButton spreadOdd",
2488
- attrs: {
2489
- "id": "spreadOdd",
2490
- "title": "Join page spreads starting with odd-numbered pages",
2491
- "tabindex": "67",
2492
- "data-l10n-id": "spread_odd",
2493
- "role": "radio",
2494
- "aria-checked": "false"
2495
- }
2496
- }, [_c('span', {
2497
- attrs: {
2498
- "data-l10n-id": "spread_odd_label"
2499
- }
2500
- }, [_vm._v("Odd Spreads")])]), _c('button', {
2501
- staticClass: "secondaryToolbarButton spreadEven",
2502
- attrs: {
2503
- "id": "spreadEven",
2504
- "title": "Join page spreads starting with even-numbered pages",
2505
- "tabindex": "68",
2506
- "data-l10n-id": "spread_even",
2507
- "role": "radio",
2508
- "aria-checked": "false"
2509
- }
2510
- }, [_c('span', {
2511
- attrs: {
2512
- "data-l10n-id": "spread_even_label"
2513
- }
2514
- }, [_vm._v("Even Spreads")])])]), _c('div', {
2515
- staticClass: "horizontalToolbarSeparator"
2516
- }), _c('button', {
2517
- staticClass: "secondaryToolbarButton documentProperties",
2518
- attrs: {
2519
- "id": "documentProperties",
2520
- "title": "文档属性…",
2521
- "tabindex": "69",
2522
- "data-l10n-id": "document_properties",
2523
- "aria-controls": "documentPropertiesDialog"
2524
- }
2525
- }, [_c('span', {
2526
- attrs: {
2527
- "data-l10n-id": "document_properties_label"
2528
- }
2529
- }, [_vm._v("文档属性…")])])])]);
2530
- }, function () {
2531
- var _vm = this,
2532
- _c = _vm._self._c;
2533
- return _c('div', {
2534
- staticClass: "toolbar"
2535
- }, [_c('div', {
2536
- attrs: {
2537
- "id": "toolbarContainer"
2538
- }
2539
- }, [_c('div', {
2540
- attrs: {
2541
- "id": "toolbarViewer"
2542
- }
2543
- }, [_c('div', {
2544
- attrs: {
2545
- "id": "toolbarViewerLeft"
2546
- }
2547
- }, [_c('button', {
2548
- staticClass: "toolbarButton",
2549
- attrs: {
2550
- "id": "sidebarToggle",
2551
- "title": "Toggle Sidebar",
2552
- "tabindex": "11",
2553
- "data-l10n-id": "toggle_sidebar",
2554
- "aria-expanded": "false",
2555
- "aria-controls": "sidebarContainer"
2556
- }
2557
- }, [_c('span', {
2558
- attrs: {
2559
- "data-l10n-id": "toggle_sidebar_label"
2560
- }
2561
- }, [_vm._v("切换侧栏")])]), _c('div', {
2562
- staticClass: "splitToolbarButton hiddenSmallView"
2563
- }, [_c('button', {
2564
- staticClass: "toolbarButton pageUp",
2565
- attrs: {
2566
- "title": "上一页",
2567
- "id": "previous",
2568
- "tabindex": "13",
2569
- "data-l10n-id": "previous"
2570
- }
2571
- }, [_c('span', {
2572
- attrs: {
2573
- "data-l10n-id": "previous_label"
2574
- }
2575
- }, [_vm._v("上一页")])]), _c('div', {
2576
- staticClass: "splitToolbarButtonSeparator"
2577
- }), _c('button', {
2578
- staticClass: "toolbarButton pageDown",
2579
- attrs: {
2580
- "title": "下一页",
2581
- "id": "next",
2582
- "tabindex": "14",
2583
- "data-l10n-id": "next"
2584
- }
2585
- }, [_c('span', {
2586
- attrs: {
2587
- "data-l10n-id": "next_label"
2588
- }
2589
- }, [_vm._v("下一页")])])]), _c('input', {
2590
- staticClass: "toolbarField pageNumber",
2591
- attrs: {
2592
- "type": "number",
2593
- "id": "pageNumber",
2594
- "title": "页面",
2595
- "value": "1",
2596
- "size": "4",
2597
- "min": "1",
2598
- "tabindex": "15",
2599
- "data-l10n-id": "page",
2600
- "autocomplete": "off"
2601
- }
2602
- }), _c('span', {
2603
- staticClass: "toolbarLabel",
2604
- attrs: {
2605
- "id": "numPages"
2606
- }
2607
- })]), _c('div', {
2608
- attrs: {
2609
- "id": "toolbarViewerRight"
2610
- }
2611
- }, [_c('button', {
2612
- staticClass: "toolbarButton openFile hiddenLargeView",
2613
- attrs: {
2614
- "id": "openFile",
2615
- "title": "打开文件",
2616
- "tabindex": "32",
2617
- "data-l10n-id": "open_file"
2618
- }
2619
- }, [_c('span', {
2620
- attrs: {
2621
- "data-l10n-id": "open_file_label"
2622
- }
2623
- }, [_vm._v("打开")])]), _c('button', {
2624
- staticClass: "toolbarButton print hiddenMediumView",
2625
- attrs: {
2626
- "id": "print",
2627
- "title": "打印",
2628
- "tabindex": "33",
2629
- "data-l10n-id": "print"
2630
- }
2631
- }, [_c('span', {
2632
- attrs: {
2633
- "data-l10n-id": "print_label"
2634
- }
2635
- }, [_vm._v("打印")])]), _c('button', {
2636
- staticClass: "toolbarButton download hiddenMediumView",
2637
- attrs: {
2638
- "id": "download",
2639
- "title": "Download",
2640
- "tabindex": "34",
2641
- "data-l10n-id": "download"
2642
- }
2643
- }, [_c('span', {
2644
- attrs: {
2645
- "data-l10n-id": "download_label"
2646
- }
2647
- }, [_vm._v("Download")])]), _c('div', {
2648
- staticClass: "verticalToolbarSeparator hiddenSmallView"
2649
- }), _c('button', {
2650
- staticClass: "toolbarButton",
2651
- attrs: {
2652
- "id": "secondaryToolbarToggle",
2653
- "title": "工具",
2654
- "tabindex": "36",
2655
- "data-l10n-id": "tools",
2656
- "aria-expanded": "false",
2657
- "aria-controls": "secondaryToolbar"
2658
- }
2659
- }, [_c('span', {
2660
- attrs: {
2661
- "data-l10n-id": "tools_label"
2662
- }
2663
- }, [_vm._v("工具")])])]), _c('div', {
2664
- attrs: {
2665
- "id": "toolbarViewerMiddle"
2666
- }
2667
- }, [_c('div', {
2668
- staticClass: "splitToolbarButton"
2669
- }, [_c('button', {
2670
- staticClass: "toolbarButton zoomOut",
2671
- attrs: {
2672
- "id": "zoomOut",
2673
- "title": "缩小",
2674
- "tabindex": "21",
2675
- "data-l10n-id": "zoom_out"
2676
- }
2677
- }, [_c('span', {
2678
- attrs: {
2679
- "data-l10n-id": "zoom_out_label"
2680
- }
2681
- }, [_vm._v("缩小")])]), _c('div', {
2682
- staticClass: "splitToolbarButtonSeparator"
2683
- }), _c('button', {
2684
- staticClass: "toolbarButton zoomIn",
2685
- attrs: {
2686
- "id": "zoomIn",
2687
- "title": "放大",
2688
- "tabindex": "22",
2689
- "data-l10n-id": "zoom_in"
2690
- }
2691
- }, [_c('span', {
2692
- attrs: {
2693
- "data-l10n-id": "zoom_in_label"
2694
- }
2695
- }, [_vm._v("放大")])])]), _c('span', {
2696
- staticClass: "dropdownToolbarButton",
2697
- attrs: {
2698
- "id": "scaleSelectContainer"
2699
- }
2700
- }, [_c('select', {
2701
- attrs: {
2702
- "id": "scaleSelect",
2703
- "title": "缩放",
2704
- "tabindex": "23",
2705
- "data-l10n-id": "zoom"
2706
- }
2707
- }, [_c('option', {
2708
- attrs: {
2709
- "id": "pageAutoOption",
2710
- "title": "",
2711
- "value": "auto",
2712
- "selected": "selected",
2713
- "data-l10n-id": "page_scale_auto"
2714
- }
2715
- }, [_vm._v("自动缩放")]), _c('option', {
2716
- attrs: {
2717
- "id": "pageActualOption",
2718
- "title": "",
2719
- "value": "page-actual",
2720
- "data-l10n-id": "page_scale_actual"
2721
- }
2722
- }, [_vm._v("实际大小")]), _c('option', {
2723
- attrs: {
2724
- "id": "pageFitOption",
2725
- "title": "",
2726
- "value": "page-fit",
2727
- "data-l10n-id": "page_scale_fit"
2728
- }
2729
- }, [_vm._v("适合页面")]), _c('option', {
2730
- attrs: {
2731
- "id": "pageWidthOption",
2732
- "title": "",
2733
- "value": "page-width",
2734
- "data-l10n-id": "page_scale_width"
2735
- }
2736
- }, [_vm._v("适合页宽")]), _c('option', {
2737
- attrs: {
2738
- "id": "customScaleOption",
2739
- "title": "",
2740
- "value": "custom",
2741
- "disabled": "disabled",
2742
- "hidden": "true"
2743
- }
2744
- }), _c('option', {
2745
- attrs: {
2746
- "title": "",
2747
- "value": "0.5",
2748
- "data-l10n-id": "page_scale_percent",
2749
- "data-l10n-args": "{ \"scale\": 50 }"
2750
- }
2751
- }, [_vm._v("50%")]), _c('option', {
2752
- attrs: {
2753
- "title": "",
2754
- "value": "0.75",
2755
- "data-l10n-id": "page_scale_percent",
2756
- "data-l10n-args": "{ \"scale\": 75 }"
2757
- }
2758
- }, [_vm._v("75%")]), _c('option', {
2759
- attrs: {
2760
- "title": "",
2761
- "value": "1",
2762
- "data-l10n-id": "page_scale_percent",
2763
- "data-l10n-args": "{ \"scale\": 100 }"
2764
- }
2765
- }, [_vm._v("100%")]), _c('option', {
2766
- attrs: {
2767
- "title": "",
2768
- "value": "1.25",
2769
- "data-l10n-id": "page_scale_percent",
2770
- "data-l10n-args": "{ \"scale\": 125 }"
2771
- }
2772
- }, [_vm._v("125%")]), _c('option', {
2773
- attrs: {
2774
- "title": "",
2775
- "value": "1.5",
2776
- "data-l10n-id": "page_scale_percent",
2777
- "data-l10n-args": "{ \"scale\": 150 }"
2778
- }
2779
- }, [_vm._v("150%")]), _c('option', {
2780
- attrs: {
2781
- "title": "",
2782
- "value": "2",
2783
- "data-l10n-id": "page_scale_percent",
2784
- "data-l10n-args": "{ \"scale\": 200 }"
2785
- }
2786
- }, [_vm._v("200%")]), _c('option', {
2787
- attrs: {
2788
- "title": "",
2789
- "value": "3",
2790
- "data-l10n-id": "page_scale_percent",
2791
- "data-l10n-args": "{ \"scale\": 300 }"
2792
- }
2793
- }, [_vm._v("300%")]), _c('option', {
2794
- attrs: {
2795
- "title": "",
2796
- "value": "4",
2797
- "data-l10n-id": "page_scale_percent",
2798
- "data-l10n-args": "{ \"scale\": 400 }"
2799
- }
2800
- }, [_vm._v("400%")])])])])])])]);
2801
- }, function () {
2802
- var _vm = this,
2803
- _c = _vm._self._c;
2804
- return _c('div', {
2805
- attrs: {
2806
- "id": "errorWrapper",
2807
- "hidden": "true"
2808
- }
2809
- }, [_c('div', {
2810
- attrs: {
2811
- "id": "errorMessageLeft"
2812
- }
2813
- }, [_c('span', {
2814
- attrs: {
2815
- "id": "errorMessage"
2816
- }
2817
- }), _c('button', {
2818
- attrs: {
2819
- "id": "errorShowMore",
2820
- "data-l10n-id": "error_more_info"
2821
- }
2822
- }, [_vm._v(" More Information ")]), _c('button', {
2823
- attrs: {
2824
- "id": "errorShowLess",
2825
- "data-l10n-id": "error_less_info",
2826
- "hidden": "true"
2827
- }
2828
- }, [_vm._v(" Less Information ")])]), _c('div', {
2829
- attrs: {
2830
- "id": "errorMessageRight"
2831
- }
2832
- }, [_c('button', {
2833
- attrs: {
2834
- "id": "errorClose",
2835
- "data-l10n-id": "error_close"
2836
- }
2837
- }, [_vm._v(" Close ")])]), _c('div', {
2838
- staticClass: "clearBoth"
2839
- }), _c('textarea', {
2840
- attrs: {
2841
- "id": "errorMoreInfo",
2842
- "hidden": "true",
2843
- "readonly": "readonly"
2844
- }
2845
- })]);
2846
- }, function () {
2847
- var _vm = this,
2848
- _c = _vm._self._c;
2849
- return _c('div', {
2850
- attrs: {
2851
- "id": "dialogContainer"
2852
- }
2853
- }, [_c('dialog', {
2854
- attrs: {
2855
- "id": "documentPropertiesDialog"
2856
- }
2857
- }, [_c('div', {
2858
- staticClass: "row"
2859
- }, [_c('span', {
2860
- attrs: {
2861
- "id": "fileNameLabel",
2862
- "data-l10n-id": "document_properties_file_name"
2863
- }
2864
- }, [_vm._v("文件名:")]), _c('p', {
2865
- attrs: {
2866
- "id": "fileNameField",
2867
- "aria-labelledby": "fileNameLabel"
2868
- }
2869
- }, [_vm._v("-")])]), _c('div', {
2870
- staticClass: "row"
2871
- }, [_c('span', {
2872
- attrs: {
2873
- "id": "fileSizeLabel",
2874
- "data-l10n-id": "document_properties_file_size"
2875
- }
2876
- }, [_vm._v("文件大小:")]), _c('p', {
2877
- attrs: {
2878
- "id": "fileSizeField",
2879
- "aria-labelledby": "fileSizeLabel"
2880
- }
2881
- }, [_vm._v("-")])]), _c('div', {
2882
- staticClass: "separator"
2883
- }), _c('div', {
2884
- staticClass: "row"
2885
- }, [_c('span', {
2886
- attrs: {
2887
- "id": "titleLabel",
2888
- "data-l10n-id": "document_properties_title"
2889
- }
2890
- }, [_vm._v("标题:")]), _c('p', {
2891
- attrs: {
2892
- "id": "titleField",
2893
- "aria-labelledby": "titleLabel"
2894
- }
2895
- }, [_vm._v("-")])]), _c('div', {
2896
- staticClass: "row"
2897
- }, [_c('span', {
2898
- attrs: {
2899
- "id": "authorLabel",
2900
- "data-l10n-id": "document_properties_author"
2901
- }
2902
- }, [_vm._v("作者:")]), _c('p', {
2903
- attrs: {
2904
- "id": "authorField",
2905
- "aria-labelledby": "authorLabel"
2906
- }
2907
- }, [_vm._v("-")])]), _c('div', {
2908
- staticClass: "row"
2909
- }, [_c('span', {
2910
- attrs: {
2911
- "id": "subjectLabel",
2912
- "data-l10n-id": "document_properties_subject"
2913
- }
2914
- }, [_vm._v("主题:")]), _c('p', {
2915
- attrs: {
2916
- "id": "subjectField",
2917
- "aria-labelledby": "subjectLabel"
2918
- }
2919
- }, [_vm._v("-")])]), _c('div', {
2920
- staticClass: "row"
2921
- }, [_c('span', {
2922
- attrs: {
2923
- "id": "keywordsLabel",
2924
- "data-l10n-id": "document_properties_keywords"
2925
- }
2926
- }, [_vm._v("关键词:")]), _c('p', {
2927
- attrs: {
2928
- "id": "keywordsField",
2929
- "aria-labelledby": "keywordsLabel"
2930
- }
2931
- }, [_vm._v("-")])]), _c('div', {
2932
- staticClass: "row"
2933
- }, [_c('span', {
2934
- attrs: {
2935
- "id": "creationDateLabel",
2936
- "data-l10n-id": "document_properties_creation_date"
2937
- }
2938
- }, [_vm._v("创建日期:")]), _c('p', {
2939
- attrs: {
2940
- "id": "creationDateField",
2941
- "aria-labelledby": "creationDateLabel"
2942
- }
2943
- }, [_vm._v("-")])]), _c('div', {
2944
- staticClass: "row"
2945
- }, [_c('span', {
2946
- attrs: {
2947
- "id": "modificationDateLabel",
2948
- "data-l10n-id": "document_properties_modification_date"
2949
- }
2950
- }, [_vm._v("修改日期:")]), _c('p', {
2951
- attrs: {
2952
- "id": "modificationDateField",
2953
- "aria-labelledby": "modificationDateLabel"
2954
- }
2955
- }, [_vm._v("-")])]), _c('div', {
2956
- staticClass: "row"
2957
- }, [_c('span', {
2958
- attrs: {
2959
- "id": "creatorLabel",
2960
- "data-l10n-id": "document_properties_creator"
2961
- }
2962
- }, [_vm._v("创建者:")]), _c('p', {
2963
- attrs: {
2964
- "id": "creatorField",
2965
- "aria-labelledby": "creatorLabel"
2966
- }
2967
- }, [_vm._v("-")])]), _c('div', {
2968
- staticClass: "separator"
2969
- }), _c('div', {
2970
- staticClass: "row"
2971
- }, [_c('span', {
2972
- attrs: {
2973
- "id": "producerLabel",
2974
- "data-l10n-id": "document_properties_producer"
2975
- }
2976
- }, [_vm._v("OFD 生成器:")]), _c('p', {
2977
- attrs: {
2978
- "id": "producerField",
2979
- "aria-labelledby": "producerLabel"
2980
- }
2981
- }, [_vm._v("-")])]), _c('div', {
2982
- staticClass: "row"
2983
- }, [_c('span', {
2984
- attrs: {
2985
- "id": "versionLabel",
2986
- "data-l10n-id": "document_properties_version"
2987
- }
2988
- }, [_vm._v("OFD 版本:")]), _c('p', {
2989
- attrs: {
2990
- "id": "versionField",
2991
- "aria-labelledby": "versionLabel"
2992
- }
2993
- }, [_vm._v("-")])]), _c('div', {
2994
- staticClass: "row"
2995
- }, [_c('span', {
2996
- attrs: {
2997
- "id": "pageCountLabel",
2998
- "data-l10n-id": "document_properties_page_count"
2999
- }
3000
- }, [_vm._v("页数:")]), _c('p', {
3001
- attrs: {
3002
- "id": "pageCountField",
3003
- "aria-labelledby": "pageCountLabel"
3004
- }
3005
- }, [_vm._v("-")])]), _c('div', {
3006
- staticClass: "row"
3007
- }, [_c('span', {
3008
- attrs: {
3009
- "id": "pageSizeLabel",
3010
- "data-l10n-id": "document_properties_page_size"
3011
- }
3012
- }, [_vm._v("页面大小:")]), _c('p', {
3013
- attrs: {
3014
- "id": "pageSizeField",
3015
- "aria-labelledby": "pageSizeLabel"
3016
- }
3017
- }, [_vm._v("-")])]), _c('div', {
3018
- staticClass: "separator"
3019
- }), _c('div', {
3020
- staticClass: "row",
3021
- attrs: {
3022
- "hidden": "hidden"
3023
- }
3024
- }, [_c('span', {
3025
- attrs: {
3026
- "id": "linearizedLabel",
3027
- "data-l10n-id": "document_properties_linearized"
3028
- }
3029
- }, [_vm._v("快速 Web 视图:")]), _c('p', {
3030
- attrs: {
3031
- "id": "linearizedField",
3032
- "aria-labelledby": "linearizedLabel"
3033
- }
3034
- }, [_vm._v("-")])]), _c('div', {
3035
- staticClass: "buttonRow"
3036
- }, [_c('button', {
3037
- staticClass: "dialogButton",
3038
- attrs: {
3039
- "id": "documentPropertiesClose"
3040
- }
3041
- }, [_c('span', {
3042
- attrs: {
3043
- "data-l10n-id": "document_properties_close"
3044
- }
3045
- }, [_vm._v("关闭")])])])]), _c('dialog', {
3046
- staticStyle: {
3047
- "min-width": "200px"
3048
- },
3049
- attrs: {
3050
- "id": "printServiceDialog"
3051
- }
3052
- }, [_c('div', {
3053
- staticClass: "row"
3054
- }, [_c('span', {
3055
- attrs: {
3056
- "data-l10n-id": "print_progress_message"
3057
- }
3058
- }, [_vm._v("正在准备打印文档…")])]), _c('div', {
3059
- staticClass: "row"
3060
- }, [_c('progress', {
3061
- attrs: {
3062
- "id": "printProgress",
3063
- "value": "0",
3064
- "max": "100"
3065
- }
3066
- }), _c('span', {
3067
- staticClass: "relative-progress",
3068
- attrs: {
3069
- "data-l10n-id": "print_progress_percent",
3070
- "data-l10n-args": "{ \"progress\": 0 }"
3071
- }
3072
- }, [_vm._v("0%")])]), _c('div', {
3073
- staticClass: "buttonRow"
3074
- }, [_c('button', {
3075
- staticClass: "dialogButton",
3076
- attrs: {
3077
- "id": "printCancel"
3078
- }
3079
- }, [_c('span', {
3080
- attrs: {
3081
- "data-l10n-id": "print_progress_close"
3082
- }
3083
- }, [_vm._v("取消")])])])]), _c('dialog', {
3084
- attrs: {
3085
- "id": "signaturePropertiesDialog"
3086
- }
3087
- }, [_c('div', {
3088
- staticClass: "row"
3089
- }, [_c('span', {
3090
- attrs: {
3091
- "id": "signerLabel"
3092
- }
3093
- }, [_vm._v("签章人:")]), _c('p', {
3094
- attrs: {
3095
- "id": "signerField",
3096
- "aria-labelledby": "fileNameLabel"
3097
- }
3098
- }, [_vm._v("-")])]), _c('div', {
3099
- staticClass: "row"
3100
- }, [_c('span', {
3101
- attrs: {
3102
- "id": "providerLabel"
3103
- }
3104
- }, [_vm._v("签章提供者:")]), _c('p', {
3105
- attrs: {
3106
- "id": "providerField",
3107
- "aria-labelledby": "fileNameLabel"
3108
- }
3109
- }, [_vm._v("-")])]), _c('div', {
3110
- staticClass: "row"
3111
- }, [_c('span', {
3112
- attrs: {
3113
- "id": "hashedValueLabel"
3114
- }
3115
- }, [_vm._v("原文摘要值:")]), _c('p', {
3116
- attrs: {
3117
- "id": "hashedValueField",
3118
- "aria-labelledby": "fileNameLabel"
3119
- }
3120
- }, [_vm._v("-")])]), _c('div', {
3121
- staticClass: "row"
3122
- }, [_c('span', {
3123
- attrs: {
3124
- "id": "signedValueLabel"
3125
- }
3126
- }, [_vm._v("签名值:")]), _c('p', {
3127
- attrs: {
3128
- "id": "signedValueField",
3129
- "aria-labelledby": "fileNameLabel"
3130
- }
3131
- }, [_vm._v("-")])]), _c('div', {
3132
- staticClass: "row"
3133
- }, [_c('span', {
3134
- attrs: {
3135
- "id": "signMethodLabel"
3136
- }
3137
- }, [_vm._v("签名算法:")]), _c('p', {
3138
- attrs: {
3139
- "id": "signMethodField",
3140
- "aria-labelledby": "fileNameLabel"
3141
- }
3142
- }, [_vm._v("-")])]), _c('div', {
3143
- staticClass: "row"
3144
- }, [_c('span', {
3145
- attrs: {
3146
- "id": "signVersionLabel"
3147
- }
3148
- }, [_vm._v("版本号:")]), _c('p', {
3149
- attrs: {
3150
- "id": "signVersionField",
3151
- "aria-labelledby": "fileNameLabel"
3152
- }
3153
- }, [_vm._v("-")])]), _c('div', {
3154
- staticClass: "row"
3155
- }, [_c('span', {
3156
- attrs: {
3157
- "id": "verifyLabel"
3158
- }
3159
- }, [_vm._v("验签结果:")]), _c('p', {
3160
- attrs: {
3161
- "id": "verifyField",
3162
- "aria-labelledby": "fileNameLabel"
3163
- }
3164
- }, [_vm._v("-")])]), _c('div', {
3165
- staticClass: "separator"
3166
- }), _c('div', {
3167
- staticClass: "row"
3168
- }, [_c('span', {
3169
- attrs: {
3170
- "id": "sealIDLabel"
3171
- }
3172
- }, [_vm._v("印章标识:")]), _c('p', {
3173
- attrs: {
3174
- "id": "sealIDField",
3175
- "aria-labelledby": "fileNameLabel"
3176
- }
3177
- }, [_vm._v("-")])]), _c('div', {
3178
- staticClass: "row"
3179
- }, [_c('span', {
3180
- attrs: {
3181
- "id": "sealNameLabel"
3182
- }
3183
- }, [_vm._v("印章名称:")]), _c('p', {
3184
- attrs: {
3185
- "id": "sealNameField",
3186
- "aria-labelledby": "fileNameLabel"
3187
- }
3188
- }, [_vm._v("-")])]), _c('div', {
3189
- staticClass: "row"
3190
- }, [_c('span', {
3191
- attrs: {
3192
- "id": "sealTypeLabel"
3193
- }
3194
- }, [_vm._v("印章类型:")]), _c('p', {
3195
- attrs: {
3196
- "id": "sealTypeField",
3197
- "aria-labelledby": "fileNameLabel"
3198
- }
3199
- }, [_vm._v("-")])]), _c('div', {
3200
- staticClass: "row"
3201
- }, [_c('span', {
3202
- attrs: {
3203
- "id": "sealAuthTimeLabel"
3204
- }
3205
- }, [_vm._v("有效时间:")]), _c('p', {
3206
- attrs: {
3207
- "id": "sealAuthTimeField",
3208
- "aria-labelledby": "fileNameLabel"
3209
- }
3210
- }, [_vm._v("-")])]), _c('div', {
3211
- staticClass: "row"
3212
- }, [_c('span', {
3213
- attrs: {
3214
- "id": "sealMakeTimeLabel"
3215
- }
3216
- }, [_vm._v("制章日期:")]), _c('p', {
3217
- attrs: {
3218
- "id": "sealMakeTimeField",
3219
- "aria-labelledby": "fileNameLabel"
3220
- }
3221
- }, [_vm._v("-")])]), _c('div', {
3222
- staticClass: "row"
3223
- }, [_c('span', {
3224
- attrs: {
3225
- "id": "sealVersionLabel"
3226
- }
3227
- }, [_vm._v("印章版本:")]), _c('p', {
3228
- attrs: {
3229
- "id": "sealVersionField",
3230
- "aria-labelledby": "fileNameLabel"
3231
- }
3232
- }, [_vm._v("-")])]), _c('div', {
3233
- staticClass: "buttonRow"
3234
- }, [_c('button', {
3235
- staticClass: "dialogButton",
3236
- attrs: {
3237
- "id": "signaturePropertiesClose"
3238
- }
3239
- }, [_c('span', {
3240
- attrs: {
3241
- "data-l10n-id": "document_properties_close"
3242
- }
3243
- }, [_vm._v("关闭")])])])])]);
3244
- }];
3245
-
3246
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=213c0dff&scoped=true&
3247
-
3248
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=template&id=316ef3a2&scoped=true&
3249
- var draggable_resizablevue_type_template_id_316ef3a2_scoped_true_render = function render() {
3250
- var _vm = this,
3251
- _c = _vm._self._c;
3252
- return _c('div', {
3253
- staticClass: "vdr",
3254
- class: {
3255
- draggable: _vm.draggable,
3256
- resizable: _vm.resizable,
3257
- active: _vm.enabled,
3258
- dragging: _vm.dragging,
3259
- resizing: _vm.resizing
3260
- },
3261
- style: _vm.style,
3262
- on: {
3263
- "mousedown": _vm.elmDown,
3264
- "touchstart": _vm.elmDown
3265
- }
3266
- }, [_vm.editable ? _c('button', {
3267
- staticClass: "btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",
3268
- staticStyle: {
3269
- "position": "absolute",
3270
- "right": "5px",
3271
- "top": "-20px"
3272
- },
3273
- attrs: {
3274
- "type": "button"
3275
- },
3276
- on: {
3277
- "click": function ($event) {
3278
- $event.stopPropagation();
3279
- return _vm.dropItem.apply(null, arguments);
3280
- }
3281
- }
3282
- }, [_c('span', {
3283
- staticClass: "close"
3284
- })]) : _vm._e(), _vm._l(_vm.handles, function (handle) {
3285
- return _vm.resizable ? _c('div', {
3286
- key: handle,
3287
- staticClass: "handle",
3288
- class: 'handle-' + handle,
3289
- style: {
3290
- display: _vm.enabled ? 'block' : 'none'
3291
- },
3292
- on: {
3293
- "mousedown": function ($event) {
3294
- return _vm.handleDown(handle, $event);
3295
- },
3296
- "touchstart": function ($event) {
3297
- return _vm.handleDown(handle, $event);
3298
- }
3299
- }
3300
- }) : _vm._e();
3301
- }), _vm._t("default")], 2);
3302
- };
3303
- var draggable_resizablevue_type_template_id_316ef3a2_scoped_true_staticRenderFns = [];
3304
-
3305
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
3306
- var es_array_push = __webpack_require__(7658);
3307
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
3308
-
3309
- function isFunction(func) {
3310
- return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]';
3311
- }
3312
- function matchesSelectorToParentElements(el, selector, baseNode) {
3313
- let node = el;
3314
- const matchesSelectorFunc = ['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'].find(func => isFunction(node[func]));
3315
- if (!isFunction(node[matchesSelectorFunc])) return false;
3316
- do {
3317
- if (node[matchesSelectorFunc](selector)) return true;
3318
- if (node === baseNode) return false;
3319
- node = node.parentNode;
3320
- } while (node);
3321
- return false;
3322
- }
3323
- /* harmony default export */ var draggable_resizablevue_type_script_lang_js_ = ({
3324
- replace: true,
3325
- name: 'VueDraggableResizable',
3326
- props: {
3327
- active: {
3328
- type: Boolean,
3329
- default: false
3330
- },
3331
- draggable: {
3332
- type: Boolean,
3333
- default: true
3334
- },
3335
- resizable: {
3336
- type: Boolean,
3337
- default: true
3338
- },
3339
- editable: {
3340
- type: Boolean,
3341
- default: true
3342
- },
3343
- w: {
3344
- type: Number,
3345
- default: 200,
3346
- validator: function (val) {
3347
- return val > 0;
3348
- }
3349
- },
3350
- h: {
3351
- type: Number,
3352
- default: 200,
3353
- validator: function (val) {
3354
- return val > 0;
3355
- }
3356
- },
3357
- minw: {
3358
- type: Number,
3359
- default: 50,
3360
- validator: function (val) {
3361
- return val >= 0;
3362
- }
3363
- },
3364
- minh: {
3365
- type: Number,
3366
- default: 50,
3367
- validator: function (val) {
3368
- return val >= 0;
3369
- }
3370
- },
3371
- x: {
3372
- type: Number,
3373
- default: 0,
3374
- validator: function (val) {
3375
- return typeof val === 'number';
3376
- }
3377
- },
3378
- y: {
3379
- type: Number,
3380
- default: 0,
3381
- validator: function (val) {
3382
- return typeof val === 'number';
3383
- }
3384
- },
3385
- z: {
3386
- type: [String, Number],
3387
- default: 'auto',
3388
- validator: function (val) {
3389
- return typeof val === 'string' ? val === 'auto' : val >= 0;
3390
- }
3391
- },
3392
- handles: {
3393
- type: Array,
3394
- default: function () {
3395
- return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml'];
3396
- },
3397
- validator: function (val) {
3398
- let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);
3399
- return new Set(val.filter(h => s.has(h))).size === val.length;
3400
- }
3401
- },
3402
- dragHandle: {
3403
- type: String,
3404
- default: null
3405
- },
3406
- dragCancel: {
3407
- type: String,
3408
- default: null
3409
- },
3410
- axis: {
3411
- type: String,
3412
- default: 'both',
3413
- validator: function (val) {
3414
- return ['x', 'y', 'both'].indexOf(val) !== -1;
3415
- }
3416
- },
3417
- grid: {
3418
- type: Array,
3419
- default: function () {
3420
- return [1, 1];
3421
- }
3422
- },
3423
- parent: {
3424
- type: Element,
3425
- default: null
3426
- },
3427
- maximize: {
3428
- type: Boolean,
3429
- default: false
3430
- },
3431
- pages: {
3432
- type: Array,
3433
- required: false,
3434
- default: null
3435
- },
3436
- eventBus: {
3437
- type: Object,
3438
- default: null
3439
- },
3440
- index: {
3441
- type: Number,
3442
- required: false,
3443
- default: 0
3444
- },
3445
- currentPage: {
3446
- type: Number,
3447
- required: false,
3448
- default: 0
3449
- },
3450
- stampId: {
3451
- type: String,
3452
- required: false,
3453
- default: null
3454
- }
3455
- },
3456
- created: function () {
3457
- this.parentX = 0;
3458
- this.parentW = 9999;
3459
- this.parentY = 0;
3460
- this.parentH = 9999;
3461
- this.mouseX = 0;
3462
- this.mouseY = 0;
3463
- this.lastMouseX = 0;
3464
- this.lastMouseY = 0;
3465
- this.mouseOffX = 0;
3466
- this.mouseOffY = 0;
3467
- this.elmX = 0;
3468
- this.elmY = 0;
3469
- this.elmW = 0;
3470
- this.elmH = 0;
3471
- this.scrollPosition = 0;
3472
- this.scrollDist = 0;
3473
- this.pagesCount = this.pages ? this.pages.length : 0;
3474
- this.section = [];
3475
- this.scale = null;
3476
- },
3477
- mounted: function () {
3478
- this.parent.addEventListener('mousemove', this.handleMove, false);
3479
- this.parent.addEventListener('mousedown', this.deselect, false);
3480
- this.parent.addEventListener('mouseup', this.handleUp, false);
3481
- // touch events bindings
3482
- this.parent.addEventListener('touchmove', this.handleMove, false);
3483
- this.parent.addEventListener('touchend', this.handleUp, false);
3484
- // this.parent.addEventListener('touchstart', this.handleUp, false);
3485
- this.parent.addEventListener('touchstart', this.deselect, false);
3486
- if (this.parent) {
3487
- this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);
3488
- }
3489
- //resize
3490
- if (this.eventBus) {
3491
- this.eventBus.on('stampResize', this.stampResize);
3492
- }
3493
- this.elmX = parseInt(this.$el.style.left);
3494
- this.elmY = parseInt(this.$el.style.top);
3495
- this.elmW = this.$el.offsetWidth || this.$el.clientWidth;
3496
- this.elmH = this.$el.offsetHeight || this.$el.clientHeight;
3497
- this._reviewDimensions();
3498
- if (this.pages) {
3499
- if (!this.scale) {
3500
- this.scale = this.pages[0].viewport.scale;
3501
- }
3502
- this.updateSection();
3503
- this.top = this.y + 10 < 0 ? 10 : this.y + 10;
3504
- if (this.top < 10) {
3505
- this.top = 10;
3506
- }
3507
- let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
3508
- this.elmY = this.top;
3509
- let placed = this.pages[pageIndex];
3510
- if (placed && this.x - placed.div.offsetLeft - 9 > 0) {
3511
- //nothing
3512
- } else if (placed) {
3513
- this.left = placed.div.offsetLeft + 9;
3514
- }
3515
- this.elmX = this.left;
3516
- this._emitPlaced(pageIndex);
3517
- }
3518
- },
3519
- beforeUnmount: function () {
3520
- this.parent.removeEventListener('mousemove', this.handleMove, false);
3521
- this.parent.removeEventListener('mousedown', this.deselect, false);
3522
- this.parent.removeEventListener('mouseup', this.handleUp, false);
3523
- if (this.parent) {
3524
- this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);
3525
- }
3526
- if (this.eventBus) {
3527
- this.eventBus.off('stampResize', this.stampResize);
3528
- }
3529
- // touch events bindings removed
3530
- this.parent.removeEventListener('touchmove', this.handleMove, false);
3531
- this.parent.removeEventListener('touchend', this.handleUp, false);
3532
- // this.parent.removeEventListener('touchstart', this.handleUp, false);
3533
- this.parent.removeEventListener('touchstart', this.deselect, false);
3534
- },
3535
- data: function () {
3536
- return {
3537
- top: this.y,
3538
- left: this.x,
3539
- width: this.w,
3540
- height: this.h,
3541
- resizing: false,
3542
- dragging: false,
3543
- enabled: this.active,
3544
- handle: null,
3545
- zIndex: this.z
3546
- };
3547
- },
3548
- methods: {
3549
- adjust(arr, val, leftIndex, rightIndex) {
3550
- let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);
3551
- if (pageIndex < 0 || pageIndex > this.pagesCount - 1) {
3552
- pageIndex = 0;
3553
- }
3554
- pageIndex = this.adjustBoundary(pageIndex);
3555
- return pageIndex;
3556
- },
3557
- handleScrollMove(e) {
3558
- if (this.dragging) {
3559
- this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;
3560
- this.top = this.top + this.scrollDist;
3561
- this.elmY = this.top;
3562
- }
3563
- this.scrollPosition = e.currentTarget.scrollTop;
3564
- },
3565
- stampAreaUpdate(sp) {
3566
- //update sp-1 and sp area
3567
- for (let i = sp - 1; i < sp + 1; i++) {
3568
- if (i - 1 > 0 && i < this.pagesCount) {
3569
- this.section[i].t = this.section[i - 1].t + this.pages[i - 1].viewport.height + 11;
3570
- this.section[i].o = this.pages[i - 1].div.offsetLeft + 9;
3571
- }
3572
- }
3573
- },
3574
- adjustBoundary(pageIndex) {
3575
- if (this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
3576
- if (this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {
3577
- this.top = this.section[pageIndex + 1].t;
3578
- pageIndex++;
3579
- } else {
3580
- this.top = this.section[pageIndex + 1].t - this.elmH - 9 - 2;
3581
- }
3582
- }
3583
- return pageIndex;
3584
- },
3585
- //二分查找
3586
- binarySearch(arr, val, leftIndex, rightIndex) {
3587
- if (leftIndex > rightIndex) {
3588
- return leftIndex - 1;
3589
- }
3590
- let midIndex = Math.floor((leftIndex + rightIndex) / 2);
3591
- let midVal = arr[midIndex].t;
3592
- if (midVal > val) {
3593
- return this.binarySearch(arr, val, leftIndex, midIndex - 1);
3594
- } else if (midVal < val) {
3595
- return this.binarySearch(arr, val, midIndex + 1, rightIndex);
3596
- } else {
3597
- return midIndex;
3598
- }
3599
- },
3600
- updateSection() {
3601
- this.section.length = 0;
3602
- let t = 10;
3603
- for (let i = 0; i < this.pagesCount; i++) {
3604
- t = t + (i > 0 ? this.pages[i - 1].viewport.height : 0) + (i > 0 ? 9 + 2 : 0);
3605
- this.section.push({
3606
- t,
3607
- o: this.pages[i].div.offsetLeft + 9
3608
- });
3609
- }
3610
- this.section.push({
3611
- t: this.section[this.pagesCount - 1].t + this.pages[this.pagesCount - 1].viewport.height + 9 + 2,
3612
- o: this.pages[this.pagesCount - 1].div.offsetLeft + 9
3613
- });
3614
- },
3615
- stampResize() {
3616
- if (this.scale != null) {
3617
- const section = [].concat(this.section);
3618
- this.updateSection();
3619
- const TOP = this.top;
3620
- let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);
3621
- if (pageIndex < 0) {
3622
- pageIndex = 0;
3623
- }
3624
- const currentScale = this.pages[0].viewport.scale;
3625
- const WIDTH = this.width;
3626
- const HEIGHT = this.height;
3627
- this.width = WIDTH * currentScale / this.scale;
3628
- this.height = HEIGHT * currentScale / this.scale;
3629
- const LEFT = this.left;
3630
- this.top = (TOP - 10) * currentScale / this.scale + 10;
3631
- this.left = this.pages[pageIndex].div.offsetLeft + (LEFT - section[pageIndex].o) * currentScale / this.scale + 9;
3632
- this.elmW = this.width;
3633
- this.elmH = this.height;
3634
- this.elmX = this.left;
3635
- this.elmY = this.top;
3636
- this.scale = currentScale;
3637
- this._emitPlaced(pageIndex);
3638
- }
3639
- },
3640
- _emitPlaced(pageIndex) {
3641
- this.$emit('placed', pageIndex, this.index, {
3642
- x: (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
3643
- y: (this.top - this.section[pageIndex].t) / this.pages[pageIndex].viewport.height,
3644
- w: this.elmW / this.pages[pageIndex].viewport.width,
3645
- h: this.elmH / this.pages[pageIndex].viewport.height
3646
- }, this.stampId);
3647
- },
3648
- _reviewDimensions() {
3649
- if (this.minw > this.w) this.width = this.minw;
3650
- if (this.minh > this.h) this.height = this.minh;
3651
- if (this.parent) {
3652
- const parentW = parseInt(this.parent.scrollWidth, 10);
3653
- const parentH = parseInt(this.parent.scrollHeight, 10);
3654
- this.parentW = parentW;
3655
- this.parentH = parentH;
3656
- if (this.w > this.parentW) this.width = parentW;
3657
- if (this.h > this.parentH) this.height = parentH;
3658
- if (this.x + this.w > this.parentW && parentW - this.x > 0) this.width = parentW - this.x;
3659
- if (this.y + this.h > this.parentH && parentH - this.y > 0) this.height = parentH - this.y;
3660
- }
3661
- this.elmW = this.width;
3662
- this.elmH = this.height;
3663
- },
3664
- reviewDimensions: function () {
3665
- this._reviewDimensions();
3666
- this.$emit('resizing', this.left, this.top, this.width, this.height);
3667
- },
3668
- elmDown: function (e) {
3669
- const target = e.target || e.srcElement;
3670
- if (this.$el.contains(target)) {
3671
- if (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el) || this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el)) {
3672
- return;
3673
- }
3674
- this.reviewDimensions();
3675
- if (!this.enabled) {
3676
- this.enabled = true;
3677
- this.$emit('activated');
3678
- this.$emit('update:active', true);
3679
- }
3680
- if (this.draggable) {
3681
- this.dragging = true;
3682
- }
3683
- }
3684
- },
3685
- deselect: function (e) {
3686
- if (e.type.indexOf('touch') !== -1) {
3687
- this.mouseX = e.changedTouches[0].clientX;
3688
- this.mouseY = e.changedTouches[0].clientY;
3689
- } else {
3690
- this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft;
3691
- this.mouseY = e.pageY || e.clientY + this.parent.scrollTop;
3692
- }
3693
- this.lastMouseX = this.mouseX;
3694
- this.lastMouseY = this.mouseY;
3695
- const target = e.target || e.srcElement;
3696
- const regex = new RegExp('handle-([trmbl]{2})', '');
3697
- if (!this.$el.contains(target) && !regex.test(target.className)) {
3698
- if (this.enabled) {
3699
- this.enabled = false;
3700
- this.$emit('deactivated');
3701
- this.$emit('update:active', false);
3702
- }
3703
- }
3704
- },
3705
- handleDown: function (handle, e) {
3706
- this.handle = handle;
3707
- if (e.cancelable) {
3708
- e.stopPropagation();
3709
- e.preventDefault();
3710
- }
3711
- this.resizing = true;
3712
- },
3713
- // fillParent: function (e) {
3714
- // if (!this.parent || !this.resizable || !this.maximize) return
3715
- // let done = false
3716
- // const animate = () => {
3717
- // if (!done) {
3718
- // window.requestAnimationFrame(animate)
3719
- // }
3720
- // if (this.axis === 'x') {
3721
- // if (
3722
- // this.width === this.parentW && this.left === this.parentX
3723
- // ) done = true
3724
- // } else if (this.axis === 'y') {
3725
- // if (
3726
- // this.height === this.parentH && this.top === this.parentY
3727
- // ) done = true
3728
- // } else if (this.axis === 'both') {
3729
- // if (
3730
- // this.width === this.parentW &&
3731
- // this.height === this.parentH &&
3732
- // this.top === this.parentY &&
3733
- // this.left === this.parentX
3734
- // ) done = true
3735
- // }
3736
- // if (this.axis === 'x' || this.axis === 'both') {
3737
- // if (this.width < this.parentW) {
3738
- // this.width++
3739
- // this.elmW++
3740
- // }
3741
- // if (this.left > this.parentX) {
3742
- // this.left--
3743
- // this.elmX--
3744
- // }
3745
- // }
3746
- // if (this.axis === 'y' || this.axis === 'both') {
3747
- // if (this.height < this.parentH) {
3748
- // this.height++
3749
- // this.elmH++
3750
- // }
3751
- // if (this.top > this.parentY) {
3752
- // this.top--
3753
- // this.elmY--
3754
- // }
3755
- // }
3756
- // this.$emit('resizing', this.left, this.top, this.width, this.height)
3757
- // }
3758
- // window.requestAnimationFrame(animate)
3759
- // },
3760
- handleMove: function (e) {
3761
- const isTouchMove = e.type.indexOf('touchmove') !== -1;
3762
- this.mouseX = isTouchMove ? e.touches[0].clientX : e.pageX || e.clientX + document.documentElement.scrollLeft;
3763
- this.mouseY = isTouchMove ? e.touches[0].clientY : e.pageY || e.clientY + document.documentElement.scrollTop;
3764
- let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;
3765
- let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;
3766
- this.mouseOffX = this.mouseOffY = 0;
3767
- this.lastMouseX = this.mouseX;
3768
- this.lastMouseY = this.mouseY;
3769
- let dX = diffX;
3770
- let dY = diffY;
3771
- if (this.resizing) {
3772
- if (this.handle.indexOf('t') >= 0) {
3773
- if (this.elmH - dY < this.minh) this.mouseOffY = dY - (diffY = this.elmH - this.minh);else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = dY - (diffY = this.parentY - this.elmY);
3774
- this.elmY += diffY;
3775
- this.elmH -= diffY;
3776
- }
3777
- if (this.handle.indexOf('b') >= 0) {
3778
- if (this.elmH + dY < this.minh) this.mouseOffY = dY - (diffY = this.minh - this.elmH);else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = dY - (diffY = this.parentH - this.elmY - this.elmH);
3779
- this.elmH += diffY;
3780
- }
3781
- if (this.handle.indexOf('l') >= 0) {
3782
- if (this.elmW - dX < this.minw) this.mouseOffX = dX - (diffX = this.elmW - this.minw);else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = dX - (diffX = this.parentX - this.elmX);
3783
- this.elmX += diffX;
3784
- this.elmW -= diffX;
3785
- }
3786
- if (this.handle.indexOf('r') >= 0) {
3787
- if (this.elmW + dX < this.minw) this.mouseOffX = dX - (diffX = this.minw - this.elmW);else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = dX - (diffX = this.parentW - this.elmX - this.elmW);
3788
- this.elmW += diffX;
3789
- }
3790
- this.left = Math.round(this.elmX / this.grid[0]) * this.grid[0];
3791
- this.top = Math.round(this.elmY / this.grid[1]) * this.grid[1];
3792
- this.width = Math.round(this.elmW / this.grid[0]) * this.grid[0];
3793
- this.height = Math.round(this.elmH / this.grid[1]) * this.grid[1];
3794
- this.$emit('resizing', this.left, this.top, this.width, this.height);
3795
- } else if (this.dragging) {
3796
- if (this.parent) {
3797
- this._reviewDimensions();
3798
- let [_x, _y] = [0, 10];
3799
- if (this.pages) {
3800
- let pageIndex = this.binarySearch(this.section, this.elmY + diffY, this.currentPage - 1, this.pagesCount - 1);
3801
- if (pageIndex < 0) {
3802
- pageIndex = 0;
3803
- }
3804
- if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
3805
- if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH * 0.9 - 11 > 0) {
3806
- pageIndex++;
3807
- }
3808
- }
3809
- _x = this.pages[pageIndex].div.offsetLeft + 9;
3810
- }
3811
- if (this.elmX + dX < this.parentX + _x) {
3812
- this.mouseOffX = dX - (diffX = this.parentX + _x - this.elmX);
3813
- } else if (this.elmX + this.elmW + dX > this.parentW - _x) {
3814
- this.mouseOffX = dX - (diffX = this.parentW - _x - this.elmX - this.elmW);
3815
- }
3816
- if (this.elmY + dY < this.parentY + _y) {
3817
- this.mouseOffY = dY - (diffY = this.parentY + _y - this.elmY);
3818
- } else if (this.elmY + this.elmH + dY > this.parentH) {
3819
- this.mouseOffY = dY - (diffY = this.parentH - this.elmY - this.elmH);
3820
- }
3821
- }
3822
- this.elmX += diffX;
3823
- this.elmY += diffY;
3824
- if (this.axis === 'x' || this.axis === 'both') {
3825
- this.left = Math.round(this.elmX / this.grid[0]) * this.grid[0];
3826
- }
3827
- if (this.axis === 'y' || this.axis === 'both') {
3828
- this.top = Math.round(this.elmY / this.grid[1]) * this.grid[1];
3829
- }
3830
- this.$emit('dragging', this.left, this.top);
3831
- }
3832
- },
3833
- handleUp: function (e) {
3834
- if (e.type.indexOf('touch') !== -1) {
3835
- this.lastMouseX = e.changedTouches[0].clientX;
3836
- this.lastMouseY = e.changedTouches[0].clientY;
3837
- }
3838
- this.handle = null;
3839
- //this.enabled = false;
3840
- if (this.resizing) {
3841
- this.resizing = false;
3842
- this.$emit('resizestop', this.left, this.top, this.width, this.height);
3843
- }
3844
- if (this.dragging) {
3845
- this.dragging = false;
3846
- let pageIndex = 0;
3847
- if (this.pages) {
3848
- pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
3849
- }
3850
- this._emitPlaced(pageIndex);
3851
- this.$emit('dragstop', this.left, this.top);
3852
- }
3853
- this.elmX = this.left;
3854
- this.elmY = this.top;
3855
- },
3856
- dropItem() {
3857
- this.$emit('dropitem', this.index);
3858
- }
3859
- },
3860
- computed: {
3861
- style: function () {
3862
- return {
3863
- top: this.top + 'px',
3864
- left: this.left + 'px',
3865
- width: this.width + 'px',
3866
- height: this.height + 'px',
3867
- zIndex: this.zIndex
3868
- };
3869
- }
3870
- },
3871
- watch: {
3872
- active: function (val) {
3873
- this.enabled = val;
3874
- },
3875
- z: function (val) {
3876
- if (val >= 0 || val === 'auto') {
3877
- this.zIndex = val;
3878
- }
3879
- },
3880
- currentPage: function (newVal) {
3881
- this.stampAreaUpdate(newVal);
3882
- }
3883
- }
3884
- });
3885
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
3886
- /* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
3887
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=316ef3a2&prod&scoped=true&lang=css&
3888
- var draggable_resizablevue_type_style_index_0_id_316ef3a2_prod_scoped_true_lang_css_ = __webpack_require__(4954);
3889
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=316ef3a2&prod&scoped=true&lang=css&
3890
-
3891
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
3892
- /* globals __VUE_SSR_CONTEXT__ */
3893
-
3894
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
3895
- // This module is a runtime utility for cleaner component module output and will
3896
- // be included in the final webpack user bundle.
3897
-
3898
- function normalizeComponent(
3899
- scriptExports,
3900
- render,
3901
- staticRenderFns,
3902
- functionalTemplate,
3903
- injectStyles,
3904
- scopeId,
3905
- moduleIdentifier /* server only */,
3906
- shadowMode /* vue-cli only */
3907
- ) {
3908
- // Vue.extend constructor export interop
3909
- var options =
3910
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
3911
-
3912
- // render functions
3913
- if (render) {
3914
- options.render = render
3915
- options.staticRenderFns = staticRenderFns
3916
- options._compiled = true
3917
- }
3918
-
3919
- // functional template
3920
- if (functionalTemplate) {
3921
- options.functional = true
3922
- }
3923
-
3924
- // scopedId
3925
- if (scopeId) {
3926
- options._scopeId = 'data-v-' + scopeId
3927
- }
3928
-
3929
- var hook
3930
- if (moduleIdentifier) {
3931
- // server build
3932
- hook = function (context) {
3933
- // 2.3 injection
3934
- context =
3935
- context || // cached call
3936
- (this.$vnode && this.$vnode.ssrContext) || // stateful
3937
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
3938
- // 2.2 with runInNewContext: true
3939
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
3940
- context = __VUE_SSR_CONTEXT__
3941
- }
3942
- // inject component styles
3943
- if (injectStyles) {
3944
- injectStyles.call(this, context)
3945
- }
3946
- // register component module identifier for async chunk inferrence
3947
- if (context && context._registeredComponents) {
3948
- context._registeredComponents.add(moduleIdentifier)
3949
- }
3950
- }
3951
- // used by ssr in case component is cached and beforeCreate
3952
- // never gets called
3953
- options._ssrRegister = hook
3954
- } else if (injectStyles) {
3955
- hook = shadowMode
3956
- ? function () {
3957
- injectStyles.call(
3958
- this,
3959
- (options.functional ? this.parent : this).$root.$options.shadowRoot
3960
- )
3961
- }
3962
- : injectStyles
3963
- }
3964
-
3965
- if (hook) {
3966
- if (options.functional) {
3967
- // for template-only hot-reload because in that case the render fn doesn't
3968
- // go through the normalizer
3969
- options._injectStyles = hook
3970
- // register for functional component in vue file
3971
- var originalRender = options.render
3972
- options.render = function renderWithStyleInjection(h, context) {
3973
- hook.call(context)
3974
- return originalRender(h, context)
3975
- }
3976
- } else {
3977
- // inject component registration as beforeCreate hook
3978
- var existing = options.beforeCreate
3979
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
3980
- }
3981
- }
3982
-
3983
- return {
3984
- exports: scriptExports,
3985
- options: options
3986
- }
3987
- }
3988
-
3989
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue
3990
-
3991
-
3992
-
3993
- ;
3994
-
3995
-
3996
- /* normalize component */
3997
-
3998
- var component = normalizeComponent(
3999
- draggable_resizable_draggable_resizablevue_type_script_lang_js_,
4000
- draggable_resizablevue_type_template_id_316ef3a2_scoped_true_render,
4001
- draggable_resizablevue_type_template_id_316ef3a2_scoped_true_staticRenderFns,
4002
- false,
4003
- null,
4004
- "316ef3a2",
4005
- null
4006
-
4007
- )
4008
-
4009
- /* harmony default export */ var draggable_resizable = (component.exports);
4010
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=script&lang=js&
4011
-
4012
- /* harmony default export */ var srcvue_type_script_lang_js_ = ({
4013
- name: "OfdView",
4014
- components: {
4015
- VueDraggableResizable: draggable_resizable
4016
- },
4017
- props: {
4018
- file: {
4019
- required: false
4020
- },
4021
- mem: {
4022
- required: true
4023
- },
4024
- secret: {
4025
- type: String,
4026
- required: false
4027
- },
4028
- digest: {
4029
- type: String,
4030
- required: false
4031
- },
4032
- draggable: {
4033
- type: Boolean,
4034
- required: false,
4035
- default: true
4036
- },
4037
- resizable: {
4038
- type: Boolean,
4039
- required: false,
4040
- default: false
4041
- },
4042
- editable: {
4043
- type: Boolean,
4044
- required: false,
4045
- default: true
4046
- },
4047
- stamps: {
4048
- type: Array,
4049
- required: false,
4050
- default: () => []
4051
- },
4052
- sidebarForceOpen: {
4053
- type: Boolean,
4054
- required: false,
4055
- default: false
4056
- },
4057
- signatureViewerForceCheck: {
4058
- type: Boolean,
4059
- required: false,
4060
- default: false
4061
- }
4062
- },
4063
- watch: {
4064
- file: {
4065
- immediate: true,
4066
- handler(val) {
4067
- if (this.config && this.mem) {
4068
- this.ofdViewer = null;
4069
- this.mem.openOFD(val);
4070
- }
4071
- }
4072
- },
4073
- stamps: {
4074
- immediate: true,
4075
- handler(val) {
4076
- if (val.length > 0 && this.config) {
4077
- document.getElementById('scrollModeButtons').hidden = true;
4078
- document.getElementById('spreadModeButtons').hidden = true;
4079
- document.getElementById('secondaryOpenFile').hidden = true;
4080
- document.getElementById('openFile').hidden = true;
4081
- }
4082
- }
4083
- }
4084
- },
4085
- data() {
4086
- return {
4087
- viewVisible: false,
4088
- config: null,
4089
- eventBus: null,
4090
- sp: 1,
4091
- ofdViewer: null
4092
- };
4093
- },
4094
- mounted() {
4095
- if (!this.config) {
4096
- this.config = this.getViewerConfiguration();
4097
- //vue下viewerContainer必须设置height
4098
- // this.containerHeight = `${window.innerHeight - 100}px`
4099
- let img = new Image();
4100
- img.style.position = 'absolute';
4101
- img.style.left = 0;
4102
- img.style.right = 0;
4103
- img.style.margin = 'auto';
4104
- img.style.top = 0;
4105
- img.style.bottom = 0;
4106
- img.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==';
4107
- img.draggable = false;
4108
- this.config.loadingContainer = img;
4109
- this.config.onPageChanging = pageNumber => {
4110
- this.sp = pageNumber;
4111
- };
4112
- this.config.parserOFDSuccess = core => {
4113
- // console.log(core)
4114
- };
4115
- this.config.onPageScale = scale => {
4116
- // this.viewVisible = false
4117
- this.eventBus.dispatch('stampResize', {
4118
- source: null
4119
- });
4120
- };
4121
- this.config.onViewportChange = view => {
4122
- if (!this.ofdViewer) {
4123
- this.viewVisible = true;
4124
- this.$emit('viewready', view);
4125
- }
4126
- this.ofdViewer = view;
4127
- // this.eventBus.dispatch('stampResize', {source: null});
4128
- };
4129
-
4130
- this.config.secret = this.secret;
4131
- this.config.digest = this.digest;
4132
- this.config.sidebarForceOpen = this.sidebarForceOpen;
4133
- this.config.signatureViewerForceCheck = this.signatureViewerForceCheck;
4134
- this.mem.initOFDViewer(this.config);
4135
- this.eventBus = this.mem.getEventBus();
4136
- }
4137
- if (this.file) {
4138
- this.mem.openOFD(this.file);
4139
- }
4140
- },
4141
- methods: {
4142
- getViewerConfiguration() {
4143
- let openFileTip;
4144
- if (this.$slots && this.$slots.openFileRef && this.$slots.openFileRef[0].elm) {
4145
- openFileTip = this.$slots.openFileRef[0].elm;
4146
- }
4147
- let errorWrapper = null;
4148
- errorWrapper = {
4149
- container: document.getElementById('errorWrapper'),
4150
- errorMessage: document.getElementById('errorMessage'),
4151
- closeButton: document.getElementById('errorClose'),
4152
- errorMoreInfo: document.getElementById('errorMoreInfo'),
4153
- moreInfoButton: document.getElementById('errorShowMore'),
4154
- lessInfoButton: document.getElementById('errorShowLess')
4155
- };
4156
- return {
4157
- appContainer: document.body,
4158
- mainContainer: document.getElementById('viewerContainer'),
4159
- viewerContainer: document.getElementById('viewer'),
4160
- openFileTip: openFileTip,
4161
- toolbar: {
4162
- container: document.getElementById('toolbarViewer'),
4163
- numPages: document.getElementById('numPages'),
4164
- pageNumber: document.getElementById('pageNumber'),
4165
- scaleSelect: document.getElementById('scaleSelect'),
4166
- customScaleOption: document.getElementById('customScaleOption'),
4167
- previous: document.getElementById('previous'),
4168
- next: document.getElementById('next'),
4169
- zoomIn: document.getElementById('zoomIn'),
4170
- zoomOut: document.getElementById('zoomOut'),
4171
- openFile: document.getElementById('openFile'),
4172
- print: document.getElementById('print'),
4173
- download: document.getElementById("download")
4174
- },
4175
- secondaryToolbar: {
4176
- toolbar: document.getElementById('secondaryToolbar'),
4177
- toggleButton: document.getElementById('secondaryToolbarToggle'),
4178
- toolbarButtonContainer: document.getElementById('secondaryToolbarButtonContainer'),
4179
- openFileButton: document.getElementById('secondaryOpenFile'),
4180
- printButton: document.getElementById('secondaryPrint'),
4181
- downloadButton: document.getElementById("secondaryDownload"),
4182
- viewBookmarkButton: document.getElementById("secondaryViewBookmark"),
4183
- firstPageButton: document.getElementById("firstPage"),
4184
- lastPageButton: document.getElementById("lastPage"),
4185
- pageRotateCwButton: document.getElementById("pageRotateCw"),
4186
- pageRotateCcwButton: document.getElementById("pageRotateCcw"),
4187
- cursorSelectToolButton: document.getElementById("cursorSelectTool"),
4188
- cursorHandToolButton: document.getElementById("cursorHandTool"),
4189
- scrollPageButton: document.getElementById("scrollPage"),
4190
- scrollVerticalButton: document.getElementById("scrollVertical"),
4191
- scrollHorizontalButton: document.getElementById("scrollHorizontal"),
4192
- scrollWrappedButton: document.getElementById("scrollWrapped"),
4193
- spreadNoneButton: document.getElementById("spreadNone"),
4194
- spreadOddButton: document.getElementById("spreadOdd"),
4195
- spreadEvenButton: document.getElementById("spreadEven"),
4196
- documentPropertiesButton: document.getElementById('documentProperties')
4197
- },
4198
- sidebar: {
4199
- // Divs (and sidebar button)
4200
- outerContainer: document.getElementById('outerContainer'),
4201
- viewerContainer: document.getElementById('viewerContainer'),
4202
- toggleButton: document.getElementById("sidebarToggle"),
4203
- // Buttons
4204
- // thumbnailButton: document.getElementById("viewThumbnail"),
4205
- outlineButton: document.getElementById("viewOutline"),
4206
- attachmentsButton: document.getElementById("viewAttachments"),
4207
- // layersButton: document.getElementById("viewLayers"),
4208
- signaturesButton: document.getElementById("viewSignatures"),
4209
- // Views
4210
- // thumbnailView: document.getElementById("thumbnailView"),
4211
- outlineView: document.getElementById("outlineView"),
4212
- attachmentsView: document.getElementById("attachmentsView"),
4213
- // layersView: document.getElementById("layersView"),
4214
- signaturesView: document.getElementById("signaturesView"),
4215
- // View-specific options
4216
- // outlineOptionsContainer: document.getElementById(
4217
- // "outlineOptionsContainer"
4218
- // ),
4219
- currentOutlineItemButton: document.getElementById("currentOutlineItem")
4220
- },
4221
- sidebarResizer: {
4222
- outerContainer: document.getElementById('outerContainer')
4223
- },
4224
- documentProperties: {
4225
- dialog: document.getElementById('documentPropertiesDialog'),
4226
- closeButton: document.getElementById('documentPropertiesClose'),
4227
- fields: {
4228
- fileName: document.getElementById('fileNameField'),
4229
- fileSize: document.getElementById('fileSizeField'),
4230
- title: document.getElementById('titleField'),
4231
- author: document.getElementById('authorField'),
4232
- subject: document.getElementById('subjectField'),
4233
- keywords: document.getElementById('keywordsField'),
4234
- creationDate: document.getElementById('creationDateField'),
4235
- modificationDate: document.getElementById('modificationDateField'),
4236
- creator: document.getElementById('creatorField'),
4237
- producer: document.getElementById('producerField'),
4238
- version: document.getElementById('versionField'),
4239
- pageCount: document.getElementById('pageCountField'),
4240
- pageSize: document.getElementById('pageSizeField'),
4241
- linearized: document.getElementById('linearizedField')
4242
- }
4243
- },
4244
- signatureProperties: {
4245
- dialog: document.getElementById('signaturePropertiesDialog'),
4246
- closeButton: document.getElementById('signaturePropertiesClose'),
4247
- fields: {
4248
- signer: document.getElementById('signerField'),
4249
- provider: document.getElementById('providerField'),
4250
- hashedValue: document.getElementById('hashedValueField'),
4251
- signedValue: document.getElementById('signedValueField'),
4252
- signMethod: document.getElementById('signMethodField'),
4253
- signVersion: document.getElementById('signVersionField'),
4254
- verify: document.getElementById('verifyField'),
4255
- sealID: document.getElementById('sealIDField'),
4256
- sealName: document.getElementById('sealNameField'),
4257
- sealType: document.getElementById('sealTypeField'),
4258
- sealAuthTime: document.getElementById('sealAuthTimeField'),
4259
- sealMakeTime: document.getElementById('sealMakeTimeField'),
4260
- sealVersion: document.getElementById('sealVersionField')
4261
- }
4262
- },
4263
- errorWrapper,
4264
- printContainer: document.getElementById('printContainer'),
4265
- openFileInputName: 'fileInput'
4266
- };
4267
- },
4268
- onStampDragOver(e) {
4269
- e.dataTransfer.dropEffect = 'move';
4270
- },
4271
- removeStamp(index) {
4272
- this.$emit('removePos', index);
4273
- },
4274
- // eslint-disable-next-line no-unused-vars
4275
- onStampDragStop(ctx) {},
4276
- placed(pageNum, index, params, stampId) {
4277
- this.$emit('itemDropped', index, pageNum, params, stampId);
4278
- }
4279
- }
4280
- });
4281
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
4282
- /* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
4283
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=style&index=0&id=213c0dff&prod&scoped=true&lang=css&
4284
- var srcvue_type_style_index_0_id_213c0dff_prod_scoped_true_lang_css_ = __webpack_require__(9254);
4285
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=213c0dff&prod&scoped=true&lang=css&
4286
-
4287
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
4288
-
4289
-
4290
-
4291
- ;
4292
-
4293
-
4294
- /* normalize component */
4295
-
4296
- var src_component = normalizeComponent(
4297
- ofdView_srcvue_type_script_lang_js_,
4298
- render,
4299
- staticRenderFns,
4300
- false,
4301
- null,
4302
- "213c0dff",
4303
- null
4304
-
4305
- )
4306
-
4307
- /* harmony default export */ var ofdView_src = (src_component.exports);
4308
- ;// CONCATENATED MODULE: ./packages/ofdView/index.js
4309
-
4310
- ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src); //注册组件
4311
-
4312
- /* harmony default export */ var ofdView = (ofdView_src);
4313
- ;// CONCATENATED MODULE: ./packages/index.js
4314
-
4315
- // import PdvView from './pdfView'
4316
-
4317
- const components = [ofdView
4318
- // PdvView
4319
- ];
4320
-
4321
- // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
4322
- const install = function (Vue) {
4323
- // 判断是否安装
4324
- if (install.installed) return;
4325
- // 遍历注册全局组件
4326
- components.map(component => Vue.component(component.name, component));
4327
- };
4328
-
4329
- // 判断是否是直接引入文件
4330
- if (typeof window !== 'undefined' && window.Vue) {
4331
- install(window.Vue);
4332
- }
4333
- /* harmony default export */ var packages_0 = ({
4334
- // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
4335
- install,
4336
- // 以下是具体的组件列表
4337
- OfdView: ofdView
4338
- // PdvView
4339
- });
4340
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
4341
-
4342
-
4343
- /* harmony default export */ var entry_lib = (packages_0);
4344
-
4345
-
4346
- }();
4347
- module.exports = __webpack_exports__;
4348
- /******/ })()
4349
- ;
1
+ !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(1702),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){t.exports="undefined"!=typeof navigator&&String(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}},1702:function(t,e,i){var a=i(4374),n=Function.prototype,r=n.call,o=a&&n.bind.bind(r,r);t.exports=a?o:function(t){return function(){return r.apply(t,arguments)}}},5005:function(t,e,i){var a=i(7854),n=i(614),r=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(a[t]):a[t]&&a[t][e]}},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(1702),n=i(7293),r=i(614),o=i(2597),s=i(9781),l=i(6530).CONFIGURABLE,d=i(2788),c=i(9909),u=c.enforce,p=c.get,h=String,f=Object.defineProperty,m=a("".slice),g=a("".replace),v=a([].join),b=s&&!n((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=t.exports=function(t,e,i){"Symbol("===m(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!o(t,"name")||l&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e),b&&i&&o(i,"arity")&&t.length!==i.arity&&f(t,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=u(t);return o(a,"source")||(a.source=v(y,"string"==typeof e?e:"")),t};Function.prototype.toString=_((function(){return r(this)&&p(this).source||d(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.27.2",mode:a?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/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=a.Symbol,c=n("wks"),u=l?d.for||d:d&&d.withoutSetter||o;t.exports=function(t){return r(c,t)||(c[t]=s&&r(d,t)?d[t]:u("Symbol."+t)),c[t]}},7658:function(t,e,i){"use strict";var a=i(2109),n=i(7908),r=i(6244),o=i(3658),s=i(7207);a({target:"Array",proto:!0,arity:1,forced:i(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{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}})},9944: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-316ef3a2]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-316ef3a2]{display:none}.vdr[data-v-316ef3a2]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-316ef3a2]{display:block}.handle[data-v-316ef3a2]{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-316ef3a2]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-316ef3a2]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-316ef3a2]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-316ef3a2]{left:-10px;cursor:w-resize}.handle-ml[data-v-316ef3a2],.handle-mr[data-v-316ef3a2]{top:50%;margin-top:-5px}.handle-mr[data-v-316ef3a2]{right:-10px;cursor:e-resize}.handle-bl[data-v-316ef3a2]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-316ef3a2]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-316ef3a2]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-316ef3a2]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-316ef3a2]{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-316ef3a2]:before{content:"\\2716"}.close[data-v-316ef3a2]{top:5px;right:2px;position:absolute}',""]),e.default=o},2485: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-521dadf2]{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]}},4954:function(t,e,i){var a=i(9944);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("4d76d678",a,!0,{sourceMap:!1,shadowMode:!1})},5159:function(t,e,i){var a=i(2485);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("0656d5e3",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={};!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:50,validator:function(t){return t>=0}},minh:{type:Number,default:50,validator:function(t){return t>=0}},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=this.y+10<0?10:this.y+10,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?(this.top=this.section[t+1].t,t++):this.top=this.section[t+1].t-this.elmH-9-2),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.left=this.pages[i].div.offsetLeft+(o-t[i].o)*a/this.scale+9,this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=a,this._emitPlaced(i)}},_emitPlaced(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},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&&t-this.x>0&&(this.width=t-this.x),this.y+this.h>this.parentH&&e-this.y>0&&(this.height=e-this.y)}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._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",this.index)}},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(4954);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,"316ef3a2",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},mem:{required:!0},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}},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.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file)},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(5159),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"}},[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._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",{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,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,"521dadf2",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}}(),module.exports=a}();
4350
2
  //# sourceMappingURL=ofd-view.common.js.map