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