@sparkle-learning/core 0.0.36 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/PrivateRoute-4abc9d29.js +35 -0
- package/dist/cjs/{PrivateRoute-074c584e.js → auth.service-4b584cd7.js} +0 -30
- package/dist/cjs/dom-utils-b8befdd5.js +63 -0
- package/dist/cjs/header-mobile-collapse.cjs.entry.js +90 -0
- package/dist/cjs/index-70e63f5b.js +3071 -0
- package/dist/cjs/index.cjs.js +6 -5
- package/dist/cjs/injectHistory-7206bbb9.js +9 -0
- package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
- package/dist/cjs/ion-button.cjs.entry.js +129 -0
- package/dist/cjs/ion-card_2.cjs.entry.js +91 -0
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
- package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
- package/dist/cjs/ion-icon_13.cjs.entry.js +1505 -0
- package/dist/cjs/ion-input_2.cjs.entry.js +313 -0
- package/dist/cjs/ion-label_2.cjs.entry.js +126 -0
- package/dist/cjs/ion-spinner.cjs.entry.js +64 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/match-path-84c9f7ca.js +511 -0
- package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
- package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8864 -17750
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-feedback.cjs.entry.js +2 -1
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
- package/dist/cjs/student.service-d48f1c99.js +61 -0
- package/dist/cjs/user.store-8a049c4e.js +21 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +30 -28
- package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +2 -1
- package/dist/esm/PrivateRoute-7b526801.js +33 -0
- package/dist/esm/{animation-12377cb3.js → animation-e0716b39.js} +1 -1
- package/dist/esm/{PrivateRoute-c5441f35.js → auth.service-9fb86455.js} +4 -33
- package/dist/esm/{auth.store-dba2c2da.js → auth.store-633e8414.js} +1 -1
- package/dist/esm/dom-utils-109a7d75.js +55 -0
- package/dist/esm/{facilitator.service-b0292f7f.js → facilitator.service-8fd435bf.js} +2 -2
- package/dist/esm/{feed.service-8fbe4ce3.js → feed.service-ace049e5.js} +3 -3
- package/dist/esm/{framework-delegate-3e634a5c.js → framework-delegate-e4f8013b.js} +1 -1
- package/dist/esm/header-mobile-collapse.entry.js +86 -0
- package/dist/esm/{helpers-bf0e23d6.js → helpers-03073fe4.js} +1 -1
- package/dist/esm/{httpService-7b75b095.js → httpService-61864992.js} +2 -2
- package/dist/esm/{icons-9b62a1ec.js → icons-90b957ab.js} +1 -1
- package/dist/esm/{index-5e8971ae.js → index-37004831.js} +1 -1
- package/dist/esm/{index-45fec1e7.js → index-a2d2941d.js} +1 -1
- package/dist/esm/{index-2b84cad2.js → index-b4b4e503.js} +3 -3
- package/dist/esm/{index-cded2d87.js → index-dedabca0.js} +2 -2
- package/dist/esm/index-f9b9ba5d.js +3067 -0
- package/dist/esm/{index.es-e0c0f891.js → index.es-283fbd2e.js} +1 -1
- package/dist/esm/index.js +6 -5
- package/dist/esm/injectHistory-968f626d.js +7 -0
- package/dist/esm/{input-shims-671d8d9f.js → input-shims-cc3720a0.js} +2 -2
- package/dist/esm/ion-accordion.entry.js +1 -1
- package/dist/esm/ion-action-sheet_4.entry.js +5 -5
- package/dist/esm/ion-app.entry.js +3 -3
- package/dist/esm/ion-avatar.entry.js +21 -0
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb.entry.js +1 -1
- package/dist/esm/ion-button.entry.js +125 -0
- package/dist/esm/ion-card_2.entry.js +86 -0
- package/dist/esm/ion-checkbox_4.entry.js +353 -0
- package/dist/esm/ion-col_3.entry.js +153 -0
- package/dist/esm/ion-content_2.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime.entry.js +1 -1
- package/dist/esm/ion-fab-button.entry.js +1 -1
- package/dist/esm/ion-footer.entry.js +2 -2
- package/dist/esm/ion-icon_13.entry.js +1489 -0
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll.entry.js +2 -2
- package/dist/esm/ion-input_2.entry.js +308 -0
- package/dist/esm/ion-item-options.entry.js +1 -1
- package/dist/esm/ion-item-sliding.entry.js +2 -2
- package/dist/esm/ion-label_2.entry.js +121 -0
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav.entry.js +4 -4
- package/dist/esm/ion-picker-column-internal_2.entry.js +1 -1
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-refresher.entry.js +3 -3
- package/dist/esm/ion-reorder-group.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +4 -4
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment-button.entry.js +1 -1
- package/dist/esm/ion-segment.entry.js +1 -1
- package/dist/esm/ion-select_2.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +1 -1
- package/dist/esm/ion-spinner.entry.js +60 -0
- package/dist/esm/ion-tab.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/ion-virtual-scroll.entry.js +1 -1
- package/dist/esm/{ios.transition-131d64fe.js → ios.transition-3a6179bb.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/match-path-36fdf5c7.js +499 -0
- package/dist/esm/{md.transition-f6126011.js → md.transition-cff16bf3.js} +3 -3
- package/dist/esm/{menu-toggle-util-bace8ae6.js → menu-toggle-util-59241733.js} +1 -1
- package/dist/esm/{overlays-3b4dca92.js → overlays-bdd9344a.js} +2 -2
- package/dist/esm/{purify-85bfcc69.js → purify-7085b248.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +1 -1
- package/dist/esm/sparkle-card_3.entry.js +85 -0
- package/dist/esm/sparkle-code.entry.js +1 -1
- package/dist/esm/sparkle-core.js +1 -1
- package/dist/esm/sparkle-course-root.entry.js +142 -0
- package/dist/esm/sparkle-dropdown.entry.js +57 -0
- package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8859 -17690
- package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -5
- package/dist/esm/sparkle-feed-post.entry.js +3 -3
- package/dist/esm/sparkle-feedback.entry.js +6 -5
- package/dist/esm/sparkle-goal-form.entry.js +6 -6
- package/dist/esm/sparkle-goal-progress.entry.js +15 -0
- package/dist/esm/sparkle-gww-item.entry.js +70 -0
- package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
- package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
- package/dist/esm/sparkle-validation-error.entry.js +17 -0
- package/dist/esm/{status-tap-dde52787.js → status-tap-463d0f87.js} +2 -2
- package/dist/esm/stencil-router-redirect.entry.js +28 -0
- package/dist/esm/{student.service-0746418b.js → student.service-e6eb1f99.js} +3 -19
- package/dist/esm/{swipe-back-7847a0c1.js → swipe-back-f8765ac9.js} +1 -1
- package/dist/esm/user.store-b8645067.js +19 -0
- package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/{p-2c1ca854.entry.js → p-014b5707.entry.js} +1 -1
- package/dist/sparkle-core/p-03585916.js +1 -0
- package/dist/sparkle-core/p-08d97c59.entry.js +1 -0
- package/dist/sparkle-core/{p-cabfbf22.entry.js → p-0bb0cf41.entry.js} +1 -1
- package/dist/sparkle-core/{p-30b810d1.entry.js → p-0c0f8acd.entry.js} +1 -1
- package/dist/sparkle-core/{p-de4deb61.entry.js → p-0ea2518d.entry.js} +1 -1
- package/dist/sparkle-core/p-1019ebc3.js +1 -0
- package/dist/sparkle-core/p-1728ead7.js +1 -0
- package/dist/sparkle-core/{p-d68092b7.js → p-17eb4633.js} +1 -1
- package/dist/sparkle-core/{p-e686d8b5.entry.js → p-1f0b3ff9.entry.js} +1 -1
- package/dist/sparkle-core/{p-a102341e.entry.js → p-25e556cc.entry.js} +1 -1
- package/dist/sparkle-core/{p-0c3f3ea6.entry.js → p-285ab4ed.entry.js} +1 -1
- package/dist/sparkle-core/{p-c60b29bd.entry.js → p-2d4a5ddf.entry.js} +2 -2
- package/dist/sparkle-core/{p-641bfc92.entry.js → p-2e035338.entry.js} +1 -1
- package/dist/sparkle-core/{p-2ff67662.js → p-2e2b813c.js} +2 -2
- package/dist/sparkle-core/{p-6ffd2420.entry.js → p-2f10208d.entry.js} +1 -1
- package/dist/sparkle-core/{p-b5f3e1bf.entry.js → p-2fba9a3a.entry.js} +1 -1
- package/dist/sparkle-core/{p-b3f375fb.entry.js → p-317037de.entry.js} +1 -1
- package/dist/sparkle-core/p-32762a44.entry.js +1 -0
- package/dist/sparkle-core/{p-2f569553.js → p-340754ed.js} +1 -1
- package/dist/sparkle-core/p-3bc68dd0.js +1 -0
- package/dist/sparkle-core/p-3c133235.entry.js +1 -0
- package/dist/sparkle-core/{p-48f72e63.js → p-3f85e1ca.js} +2 -2
- package/dist/sparkle-core/{p-2033cd86.js → p-405f7c58.js} +2 -2
- package/dist/sparkle-core/{p-9ebf0537.entry.js → p-4320dac0.entry.js} +1 -1
- package/dist/sparkle-core/{p-e863bf1d.entry.js → p-44f813b7.entry.js} +1 -1
- package/dist/sparkle-core/p-46869031.entry.js +1 -0
- package/dist/sparkle-core/p-4a5f2b2b.js +1 -0
- package/dist/sparkle-core/{p-894ff7e6.entry.js → p-4ae75caa.entry.js} +1 -1
- package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
- package/dist/sparkle-core/{p-00d10dc9.js → p-539bf742.js} +2 -2
- package/dist/sparkle-core/p-53bcbd1d.js +1 -0
- package/dist/sparkle-core/p-54ada5e3.entry.js +1 -0
- package/dist/sparkle-core/{p-9289cdbc.entry.js → p-5519d283.entry.js} +1 -1
- package/dist/sparkle-core/p-554da5b8.entry.js +1 -0
- package/dist/sparkle-core/{p-e8073714.js → p-56a2e8a2.js} +1 -1
- package/dist/sparkle-core/p-5da2d95a.entry.js +1 -0
- package/dist/sparkle-core/{p-b0603d19.js → p-5fc26938.js} +1 -1
- package/dist/sparkle-core/{p-ebd4354b.entry.js → p-63f69cdc.entry.js} +1 -1
- package/dist/sparkle-core/{p-11356b03.entry.js → p-64e814b9.entry.js} +1 -1
- package/dist/sparkle-core/{p-ce4b22f7.entry.js → p-66a85393.entry.js} +1 -1
- package/dist/sparkle-core/p-6b05a1d3.entry.js +1 -0
- package/dist/sparkle-core/p-6ea246fe.js +4 -0
- package/dist/sparkle-core/p-6ed0236e.entry.js +1 -0
- package/dist/sparkle-core/{p-54dd894f.entry.js → p-6f0545b3.entry.js} +1 -1
- package/dist/sparkle-core/{p-0f1c5899.entry.js → p-727e1c28.entry.js} +1 -1
- package/dist/sparkle-core/p-7f25366a.entry.js +1 -0
- package/dist/sparkle-core/{p-b96f3c84.entry.js → p-82ad4e7c.entry.js} +2 -2
- package/dist/sparkle-core/p-91accfc1.js +1 -0
- package/dist/sparkle-core/{p-af3cc111.entry.js → p-93e74f1b.entry.js} +1 -1
- package/dist/sparkle-core/{p-86ed13f0.js → p-a019ad0c.js} +1 -1
- package/dist/sparkle-core/p-a5c5da9a.entry.js +1 -0
- package/dist/sparkle-core/{p-1d4c7c11.js → p-a85598ad.js} +1 -1
- package/dist/sparkle-core/p-a8a77bec.entry.js +1 -0
- package/dist/sparkle-core/{p-bd80ff43.js → p-ad102371.js} +1 -1
- package/dist/sparkle-core/{p-377b04c2.entry.js → p-b236d258.entry.js} +1 -1
- package/dist/sparkle-core/{p-9abbd715.entry.js → p-b4b01fa2.entry.js} +1 -1
- package/dist/sparkle-core/{p-6faa194c.entry.js → p-b4bc8b02.entry.js} +1 -1
- package/dist/sparkle-core/{p-0fa3fd63.entry.js → p-b5ec8fb0.entry.js} +1 -1
- package/dist/sparkle-core/{p-fb757951.entry.js → p-b83444c7.entry.js} +1 -1
- package/dist/sparkle-core/{p-05c032dd.js → p-b9933822.js} +1 -1
- package/dist/sparkle-core/{p-0afa3a4d.entry.js → p-b9b1d4da.entry.js} +1 -1
- package/dist/sparkle-core/{p-3de0e00c.js → p-be28346b.js} +1 -1
- package/dist/sparkle-core/{p-0ad5c123.entry.js → p-c278db5f.entry.js} +1 -1
- package/dist/sparkle-core/{p-fb0ca75e.entry.js → p-c2bbaf55.entry.js} +1 -1
- package/dist/sparkle-core/p-c4af184b.entry.js +1 -0
- package/dist/sparkle-core/p-c71cbbf7.entry.js +1 -0
- package/dist/sparkle-core/p-c8c73fa7.js +4 -0
- package/dist/sparkle-core/{p-1e125ca5.entry.js → p-c8fe45df.entry.js} +1 -1
- package/dist/sparkle-core/{p-600cf6a3.js → p-c9cd4ff1.js} +1 -1
- package/dist/sparkle-core/{p-5cad23f1.js → p-ca4c8a10.js} +1 -1
- package/dist/sparkle-core/{p-1e4f65ee.entry.js → p-cab3da3c.entry.js} +1 -1
- package/dist/sparkle-core/p-cd832fbf.entry.js +1 -0
- package/dist/sparkle-core/{p-564e64fc.entry.js → p-ce94efdb.entry.js} +1 -1
- package/dist/sparkle-core/p-d0ac5f17.js +1 -0
- package/dist/sparkle-core/p-d1fcbfc2.js +4 -0
- package/dist/sparkle-core/p-d432d3ac.entry.js +1 -0
- package/dist/sparkle-core/{p-fbccd30c.js → p-d81a0680.js} +1 -1
- package/dist/sparkle-core/p-d969f7d0.entry.js +348 -0
- package/dist/sparkle-core/{p-0664370b.entry.js → p-dabc80c4.entry.js} +1 -1
- package/dist/sparkle-core/{p-58e4bbe5.entry.js → p-db8387eb.entry.js} +1 -1
- package/dist/sparkle-core/p-dca90a55.entry.js +4 -0
- package/dist/sparkle-core/p-dd2e7f84.js +4 -0
- package/dist/sparkle-core/p-e0429a19.entry.js +1 -0
- package/dist/sparkle-core/{p-24cb9a33.entry.js → p-e65c72cc.entry.js} +1 -1
- package/dist/sparkle-core/p-e7066c64.entry.js +1 -0
- package/dist/sparkle-core/{p-9d894ed4.js → p-e7568d4b.js} +1 -1
- package/dist/sparkle-core/p-eb40a191.entry.js +1 -0
- package/dist/sparkle-core/p-ecdea569.entry.js +1 -0
- package/dist/sparkle-core/{p-74864276.entry.js → p-ed9f48c4.entry.js} +1 -1
- package/dist/sparkle-core/p-ef6c2352.entry.js +1 -0
- package/dist/sparkle-core/{p-be64105c.entry.js → p-f0cf4a8f.entry.js} +1 -1
- package/dist/sparkle-core/{p-c0533c23.entry.js → p-f4b0b6a4.entry.js} +1 -1
- package/dist/sparkle-core/{p-ef4edc48.entry.js → p-fc965b88.entry.js} +1 -1
- package/dist/sparkle-core/{p-39712c56.entry.js → p-fde382f0.entry.js} +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
- package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -119
- package/dist/cjs/student.service-2e58f237.js +0 -78
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
- package/dist/esm/sparkle-quiz.entry.js +0 -115
- package/dist/sparkle-core/p-077c732b.js +0 -4
- package/dist/sparkle-core/p-12dd96d7.js +0 -4
- package/dist/sparkle-core/p-23aca7ca.js +0 -4
- package/dist/sparkle-core/p-3a965828.entry.js +0 -1
- package/dist/sparkle-core/p-462bffba.js +0 -1
- package/dist/sparkle-core/p-590266d6.entry.js +0 -1
- package/dist/sparkle-core/p-5efc6566.js +0 -1
- package/dist/sparkle-core/p-73721c84.js +0 -4
- package/dist/sparkle-core/p-80d6b0e6.entry.js +0 -1
- package/dist/sparkle-core/p-8492a765.entry.js +0 -1
- package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
- package/dist/sparkle-core/p-eaf76d1d.entry.js +0 -352
@@ -0,0 +1,348 @@
|
|
1
|
+
import{r as A,h as t,H as r}from"./p-ee1e0eb4.js";import{E as e}from"./p-b226f54d.js";import{A as n}from"./p-9a443f51.js";import{b as i,g as s,d as o}from"./p-340754ed.js";import{t as a,S as u}from"./p-d0ac5f17.js";import{F as c,f as B}from"./p-d81a0680.js";import{m as f}from"./p-2e2b813c.js";import{B as h,F as l}from"./p-56a2e8a2.js";import"./p-4bd4dab2.js";import"./p-a85598ad.js";import"./p-871106e0.js";import"./p-add30d46.js";import"./p-17eb4633.js";const w=s(i((function(A){function t(r){return A.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},A.exports.__esModule=!0,A.exports.default=A.exports,t(r)}A.exports=t,A.exports.__esModule=!0,A.exports.default=A.exports})));var g=Uint8Array,Q=Uint16Array,F=Uint32Array,U=new g([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),d=new g([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),C=new g([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),v=function(A,t){for(var r=new Q(31),e=0;e<31;++e)r[e]=t+=1<<A[e-1];var n=new F(r[30]);for(e=1;e<30;++e)for(var i=r[e];i<r[e+1];++i)n[i]=i-r[e]<<5|e;return[r,n]},p=v(U,2),m=p[0],L=p[1];m[28]=258,L[258]=28;for(var b=v(d,0),H=b[0],E=b[1],y=new Q(32768),I=0;I<32768;++I){var N=(43690&I)>>>1|(21845&I)<<1;y[I]=((65280&(N=(61680&(N=(52428&N)>>>2|(13107&N)<<2))>>>4|(3855&N)<<4))>>>8|(255&N)<<8)>>>1}var K=function(A,t,r){for(var e=A.length,n=0,i=new Q(t);n<e;++n)++i[A[n]-1];var s,o=new Q(t);for(n=0;n<t;++n)o[n]=o[n-1]+i[n-1]<<1;if(r){s=new Q(1<<t);var a=15-t;for(n=0;n<e;++n)if(A[n])for(var u=n<<4|A[n],c=t-A[n],B=o[A[n]-1]++<<c,f=B|(1<<c)-1;B<=f;++B)s[y[B]>>>a]=u}else for(s=new Q(e),n=0;n<e;++n)s[n]=y[o[A[n]-1]++]>>>15-A[n];return s},S=new g(288);for(I=0;I<144;++I)S[I]=8;for(I=144;I<256;++I)S[I]=9;for(I=256;I<280;++I)S[I]=7;for(I=280;I<288;++I)S[I]=8;var M=new g(32);for(I=0;I<32;++I)M[I]=5;var k=K(S,9,0),D=K(S,9,1),x=K(M,5,0),O=K(M,5,1),T=function(A){for(var t=A[0],r=1;r<A.length;++r)A[r]>t&&(t=A[r]);return t},G=function(A,t,r){var e=t/8>>0;return(A[e]|A[e+1]<<8)>>>(7&t)&r},q=function(A,t){var r=t/8>>0;return(A[r]|A[r+1]<<8|A[r+2]<<16)>>>(7&t)},V=function(A){return(A/8>>0)+(7&A&&1)},R=function(A,t,r){(null==t||t<0)&&(t=0),(null==r||r>A.length)&&(r=A.length);var e=new(A instanceof Q?Q:A instanceof F?F:g)(r-t);return e.set(A.subarray(t,r)),e},j=function(A,t,r){var e=t/8>>0;A[e]|=r<<=7&t,A[e+1]|=r>>>8},P=function(A,t,r){var e=t/8>>0;A[e]|=r<<=7&t,A[e+1]|=r>>>8,A[e+2]|=r>>>16},J=function(A,t){for(var r=[],e=0;e<A.length;++e)A[e]&&r.push({s:e,f:A[e]});var n=r.length,i=r.slice();if(!n)return[new g(0),0];if(1==n){var s=new g(r[0].s+1);return s[r[0].s]=1,[s,1]}r.sort((function(A,t){return A.f-t.f})),r.push({s:-1,f:25001});var o=r[0],a=r[1],u=0,c=1,B=2;for(r[0]={s:-1,f:o.f+a.f,l:o,r:a};c!=n-1;)o=r[r[u].f<r[B].f?u++:B++],a=r[u!=c&&r[u].f<r[B].f?u++:B++],r[c++]={s:-1,f:o.f+a.f,l:o,r:a};var f=i[0].s;for(e=1;e<n;++e)i[e].s>f&&(f=i[e].s);var h=new Q(f+1),l=X(r[c-1],h,0);if(l>t){e=0;var w=0,F=l-t,U=1<<F;for(i.sort((function(A,t){return h[t.s]-h[A.s]||A.f-t.f}));e<n;++e){var d=i[e].s;if(!(h[d]>t))break;w+=U-(1<<l-h[d]),h[d]=t}for(w>>>=F;w>0;){var C=i[e].s;h[C]<t?w-=1<<t-h[C]++-1:++e}for(;e>=0&&w;--e){var v=i[e].s;h[v]==t&&(--h[v],++w)}l=t}return[new g(h),l]},X=function(A,t,r){return-1==A.s?Math.max(X(A.l,t,r+1),X(A.r,t,r+1)):t[A.s]=r},Y=function(A){for(var t=A.length;t&&!A[--t];);for(var r=new Q(++t),e=0,n=A[0],i=1,s=function(A){r[e++]=A},o=1;o<=t;++o)if(A[o]==n&&o!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(n),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(n);i=1,n=A[o]}return[r.subarray(0,e),t]},W=function(A,t){for(var r=0,e=0;e<t.length;++e)r+=A[e]*t[e];return r},z=function(A,t,r){var e=r.length,n=V(t+2);A[n]=255&e,A[n+1]=e>>>8,A[n+2]=255^A[n],A[n+3]=255^A[n+1];for(var i=0;i<e;++i)A[n+i+4]=r[i];return 8*(n+4+e)},Z=function(A,t,r,e,n,i,s,o,a,u,c){j(t,c++,r),++n[256];for(var B=J(n,15),f=B[0],h=B[1],l=J(i,15),w=l[0],g=l[1],F=Y(f),v=F[0],p=F[1],m=Y(w),L=m[0],b=m[1],H=new Q(19),E=0;E<v.length;++E)H[31&v[E]]++;for(E=0;E<L.length;++E)H[31&L[E]]++;for(var y=J(H,7),I=y[0],N=y[1],D=19;D>4&&!I[C[D-1]];--D);var O,T,G,q,V=u+5<<3,R=W(n,S)+W(i,M)+s,X=W(n,f)+W(i,w)+s+14+3*D+W(H,I)+(2*H[16]+3*H[17]+7*H[18]);if(V<=R&&V<=X)return z(t,c,A.subarray(a,a+u));if(j(t,c,1+(X<R)),c+=2,X<R){O=K(f,h,0),T=f,G=K(w,g,0),q=w;var Z=K(I,N,0);for(j(t,c,p-257),j(t,c+5,b-1),j(t,c+10,D-4),c+=14,E=0;E<D;++E)j(t,c+3*E,I[C[E]]);c+=3*D;for(var _=[v,L],$=0;$<2;++$){var AA=_[$];for(E=0;E<AA.length;++E)j(t,c,Z[tA=31&AA[E]]),c+=I[tA],tA>15&&(j(t,c,AA[E]>>>5&127),c+=AA[E]>>>12)}}else O=k,T=S,G=x,q=M;for(E=0;E<o;++E)if(e[E]>255){var tA;P(t,c,O[257+(tA=e[E]>>>18&31)]),c+=T[tA+257],tA>7&&(j(t,c,e[E]>>>23&31),c+=U[tA]);var rA=31&e[E];P(t,c,G[rA]),c+=q[rA],rA>3&&(P(t,c,e[E]>>>5&8191),c+=d[rA])}else P(t,c,O[e[E]]),c+=T[e[E]];return P(t,c,O[256]),c+T[256]},_=new F([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),$=new g(0);function AA(A,t){void 0===t&&(t={});var r=function(){var A=1,t=0;return{p:function(r){for(var e=A,n=t,i=r.length,s=0;s!=i;){for(var o=Math.min(s+5552,i);s<o;++s)n+=e+=r[s];e%=65521,n%=65521}A=e,t=n},d:function(){return(A>>>8<<16|(255&t)<<8|t>>>8)+2*((255&A)<<23)}}}();r.p(A);var e=function(A,t,r,e,n){return function(A,t,r,e,n,i){var s=A.length,o=new g(e+s+5*(1+Math.floor(s/7e3))+n),a=o.subarray(e,o.length-n),u=0;if(!t||s<8)for(var c=0;c<=s;c+=65535){var B=c+65535;B<s?u=z(a,u,A.subarray(c,B)):(a[c]=i,u=z(a,u,A.subarray(c,s)))}else{for(var f=_[t-1],h=f>>>13,l=8191&f,w=(1<<r)-1,C=new Q(32768),v=new Q(w+1),p=Math.ceil(r/3),m=2*p,b=function(t){return(A[t]^A[t+1]<<p^A[t+2]<<m)&w},H=new F(25e3),y=new Q(288),I=new Q(32),N=0,K=0,S=(c=0,0),M=0,k=0;c<s;++c){var D=b(c),x=32767&c,O=v[D];if(C[x]=O,v[D]=x,M<=c){var T=s-c;if((N>7e3||S>24576)&&T>423){u=Z(A,a,0,H,y,I,K,S,k,c-k,u),S=N=K=0,k=c;for(var G=0;G<286;++G)y[G]=0;for(G=0;G<30;++G)I[G]=0}var q=2,j=0,P=l,J=x-O&32767;if(T>2&&D==b(c-J))for(var X=Math.min(h,T)-1,Y=Math.min(32767,c),W=Math.min(258,T);J<=Y&&--P&&x!=O;){if(A[c+q]==A[c+q-J]){for(var AA=0;AA<W&&A[c+AA]==A[c+AA-J];++AA);if(AA>q){if(q=AA,j=J,AA>X)break;var tA=Math.min(J,AA-2),rA=0;for(G=0;G<tA;++G){var eA=c-J+G+32768&32767,nA=eA-C[eA]+32768&32767;nA>rA&&(rA=nA,O=eA)}}}J+=(x=O)-(O=C[x])+32768&32767}if(j){H[S++]=268435456|L[q]<<18|E[j];var iA=31&L[q],sA=31&E[j];K+=U[iA]+d[sA],++y[257+iA],++I[sA],M=c+q,++N}else H[S++]=A[c],++y[A[c]]}}u=Z(A,a,i,H,y,I,K,S,k,c-k,u),i||(u=z(a,u,$))}return R(o,0,e+V(u)+n)}(A,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(A.length)))):12+t.mem,r,e,!n)}(A,t,2,4);return function(A,t){var r=t.level,e=0==r?0:r<6?1:9==r?3:2;A[0]=120,A[1]=e<<6|(e?32-2*e:1)}(e,t),function(A,t,r){for(;r;++t)A[t]=r,r>>>=8}(e,e.length-4,r.d()),e}
|
2
|
+
/** @license
|
3
|
+
*
|
4
|
+
* jsPDF - PDF Document creation from JavaScript
|
5
|
+
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
6
|
+
* CommitID 00000000
|
7
|
+
*
|
8
|
+
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
9
|
+
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
10
|
+
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
11
|
+
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
12
|
+
* 2010 Aaron Spike, https://github.com/acspike
|
13
|
+
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
14
|
+
* 2012 Pablo Hess, https://github.com/pablohess
|
15
|
+
* 2012 Florian Jenett, https://github.com/fjenett
|
16
|
+
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
17
|
+
* 2013 Youssef Beddad, https://github.com/lifof
|
18
|
+
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
19
|
+
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
20
|
+
* 2013 Jeremy Morel, https://github.com/jmorel
|
21
|
+
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
22
|
+
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
23
|
+
* 2014 James Makes, https://github.com/dollaruw
|
24
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
25
|
+
* 2014 Steven Spungin, https://github.com/Flamenco
|
26
|
+
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
27
|
+
*
|
28
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
29
|
+
* a copy of this software and associated documentation files (the
|
30
|
+
* "Software"), to deal in the Software without restriction, including
|
31
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
32
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
33
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
34
|
+
* the following conditions:
|
35
|
+
*
|
36
|
+
* The above copyright notice and this permission notice shall be
|
37
|
+
* included in all copies or substantial portions of the Software.
|
38
|
+
*
|
39
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
40
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
41
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
42
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
43
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
44
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
45
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
46
|
+
*
|
47
|
+
* Contributor(s):
|
48
|
+
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
49
|
+
* kim3er, mfo, alnorth, Flamenco
|
50
|
+
*/
|
51
|
+
var tA=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function rA(){tA.console&&"function"==typeof tA.console.log&&tA.console.log.apply(tA.console,arguments)}var eA={log:rA,warn:function(){tA.console&&("function"==typeof tA.console.warn?tA.console.warn.apply(tA.console,arguments):rA.call(null,arguments))},error:function(A){tA.console&&("function"==typeof tA.console.error?tA.console.error.apply(tA.console,arguments):rA(A))}};function nA(A,t,r){var e=new XMLHttpRequest;e.open("GET",A),e.responseType="blob",e.onload=function(){uA(e.response,t,r)},e.onerror=function(){eA.error("could not download file")},e.send()}function iA(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function sA(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(t)}}var oA,aA,uA=tA.saveAs||("object"!==("undefined"==typeof window?"undefined":w(window))||window!==tA?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,r){var e=tA.URL||tA.webkitURL,n=document.createElement("a");n.download=t=t||A.name||"download",n.rel="noopener","string"==typeof A?(n.href=A,n.origin!==location.origin?iA(n.href)?nA(A,t,r):sA(n,n.target="_blank"):sA(n)):(n.href=e.createObjectURL(A),setTimeout((function(){e.revokeObjectURL(n.href)}),4e4),setTimeout((function(){sA(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,r){if(t=t||A.name||"download","string"==typeof A)if(iA(A))nA(A,t,r);else{var e=document.createElement("a");e.href=A,e.target="_blank",setTimeout((function(){sA(e)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==w(t)&&(eA.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob([String.fromCharCode(65279),A],{type:A.type}):A}(A,r),t)}:function(A,t,r,e){if((e=e||open("","_blank"))&&(e.document.title=e.document.body.innerText="downloading..."),"string"==typeof A)return nA(A,t,r);var n="application/octet-stream"===A.type,i=/constructor/i.test(tA.HTMLElement)||tA.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||n&&i)&&"object"===("undefined"==typeof FileReader?"undefined":w(FileReader))){var o=new FileReader;o.onloadend=function(){var A=o.result;A=s?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),e?e.location.href=A:location=A,e=null},o.readAsDataURL(A)}else{var a=tA.URL||tA.webkitURL,u=a.createObjectURL(A);e?e.location=u:location.href=u,e=null,setTimeout((function(){a.revokeObjectURL(u)}),4e4)}});
|
52
|
+
/**
|
53
|
+
* A class to parse color values
|
54
|
+
* @author Stoyan Stefanov <sstoo@gmail.com>
|
55
|
+
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
56
|
+
* @license Use it if you like it
|
57
|
+
*/function cA(A){var t;A=A||"",this.ok=!1,"#"==A.charAt(0)&&(A=A.substr(1,6)),A={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[A=(A=A.replace(/ /g,"")).toLowerCase()]||A;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(A){return[parseInt(A[1]),parseInt(A[2]),parseInt(A[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(A){return[parseInt(A[1],16),parseInt(A[2],16),parseInt(A[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(A){return[parseInt(A[1]+A[1],16),parseInt(A[2]+A[2],16),parseInt(A[3]+A[3],16)]}}],e=0;e<r.length;e++){var n=r[e].process,i=r[e].re.exec(A);i&&(t=n(i),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var A=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==A.length&&(A="0"+A),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+A+t+r}}
|
58
|
+
/**
|
59
|
+
* @license
|
60
|
+
* Joseph Myers does not specify a particular license for his work.
|
61
|
+
*
|
62
|
+
* Author: Joseph Myers
|
63
|
+
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
64
|
+
*
|
65
|
+
* Modified by: Owen Leong
|
66
|
+
*/function BA(A,t){var r=A[0],e=A[1],n=A[2],i=A[3];r=hA(r,e,n,i,t[0],7,-680876936),i=hA(i,r,e,n,t[1],12,-389564586),n=hA(n,i,r,e,t[2],17,606105819),e=hA(e,n,i,r,t[3],22,-1044525330),r=hA(r,e,n,i,t[4],7,-176418897),i=hA(i,r,e,n,t[5],12,1200080426),n=hA(n,i,r,e,t[6],17,-1473231341),e=hA(e,n,i,r,t[7],22,-45705983),r=hA(r,e,n,i,t[8],7,1770035416),i=hA(i,r,e,n,t[9],12,-1958414417),n=hA(n,i,r,e,t[10],17,-42063),e=hA(e,n,i,r,t[11],22,-1990404162),r=hA(r,e,n,i,t[12],7,1804603682),i=hA(i,r,e,n,t[13],12,-40341101),n=hA(n,i,r,e,t[14],17,-1502002290),r=lA(r,e=hA(e,n,i,r,t[15],22,1236535329),n,i,t[1],5,-165796510),i=lA(i,r,e,n,t[6],9,-1069501632),n=lA(n,i,r,e,t[11],14,643717713),e=lA(e,n,i,r,t[0],20,-373897302),r=lA(r,e,n,i,t[5],5,-701558691),i=lA(i,r,e,n,t[10],9,38016083),n=lA(n,i,r,e,t[15],14,-660478335),e=lA(e,n,i,r,t[4],20,-405537848),r=lA(r,e,n,i,t[9],5,568446438),i=lA(i,r,e,n,t[14],9,-1019803690),n=lA(n,i,r,e,t[3],14,-187363961),e=lA(e,n,i,r,t[8],20,1163531501),r=lA(r,e,n,i,t[13],5,-1444681467),i=lA(i,r,e,n,t[2],9,-51403784),n=lA(n,i,r,e,t[7],14,1735328473),r=wA(r,e=lA(e,n,i,r,t[12],20,-1926607734),n,i,t[5],4,-378558),i=wA(i,r,e,n,t[8],11,-2022574463),n=wA(n,i,r,e,t[11],16,1839030562),e=wA(e,n,i,r,t[14],23,-35309556),r=wA(r,e,n,i,t[1],4,-1530992060),i=wA(i,r,e,n,t[4],11,1272893353),n=wA(n,i,r,e,t[7],16,-155497632),e=wA(e,n,i,r,t[10],23,-1094730640),r=wA(r,e,n,i,t[13],4,681279174),i=wA(i,r,e,n,t[0],11,-358537222),n=wA(n,i,r,e,t[3],16,-722521979),e=wA(e,n,i,r,t[6],23,76029189),r=wA(r,e,n,i,t[9],4,-640364487),i=wA(i,r,e,n,t[12],11,-421815835),n=wA(n,i,r,e,t[15],16,530742520),r=gA(r,e=wA(e,n,i,r,t[2],23,-995338651),n,i,t[0],6,-198630844),i=gA(i,r,e,n,t[7],10,1126891415),n=gA(n,i,r,e,t[14],15,-1416354905),e=gA(e,n,i,r,t[5],21,-57434055),r=gA(r,e,n,i,t[12],6,1700485571),i=gA(i,r,e,n,t[3],10,-1894986606),n=gA(n,i,r,e,t[10],15,-1051523),e=gA(e,n,i,r,t[1],21,-2054922799),r=gA(r,e,n,i,t[8],6,1873313359),i=gA(i,r,e,n,t[15],10,-30611744),n=gA(n,i,r,e,t[6],15,-1560198380),e=gA(e,n,i,r,t[13],21,1309151649),r=gA(r,e,n,i,t[4],6,-145523070),i=gA(i,r,e,n,t[11],10,-1120210379),n=gA(n,i,r,e,t[2],15,718787259),e=gA(e,n,i,r,t[9],21,-343485551),A[0]=mA(r,A[0]),A[1]=mA(e,A[1]),A[2]=mA(n,A[2]),A[3]=mA(i,A[3])}function fA(A,t,r,e,n,i){return t=mA(mA(t,A),mA(e,i)),mA(t<<n|t>>>32-n,r)}function hA(A,t,r,e,n,i,s){return fA(t&r|~t&e,A,t,n,i,s)}function lA(A,t,r,e,n,i,s){return fA(t&e|r&~e,A,t,n,i,s)}function wA(A,t,r,e,n,i,s){return fA(t^r^e,A,t,n,i,s)}function gA(A,t,r,e,n,i,s){return fA(r^(t|~e),A,t,n,i,s)}function QA(A){var t,r=A.length,e=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)BA(e,FA(A.substring(t-64,t)));A=A.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<A.length;t++)n[t>>2]|=A.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(BA(e,n),t=0;t<16;t++)n[t]=0;return n[14]=8*r,BA(e,n),e}function FA(A){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=A.charCodeAt(t)+(A.charCodeAt(t+1)<<8)+(A.charCodeAt(t+2)<<16)+(A.charCodeAt(t+3)<<24);return r}oA=tA.atob.bind(tA),aA=tA.btoa.bind(tA);var UA="0123456789abcdef".split("");function dA(A){for(var t="",r=0;r<4;r++)t+=UA[A>>8*r+4&15]+UA[A>>8*r&15];return t}function CA(A){return String.fromCharCode((255&A)>>0,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function vA(A){return QA(A).map(CA).join("")}var pA="5d41402abc4b2a76b9719d911017c592"!=function(A){for(var t=0;t<A.length;t++)A[t]=dA(A[t]);return A.join("")}(QA("hello"));function mA(A,t){if(pA){var r=(65535&A)+(65535&t);return(A>>16)+(t>>16)+(r>>16)<<16|65535&r}return A+t&4294967295}
|
67
|
+
/**
|
68
|
+
* @license
|
69
|
+
* FPDF is released under a permissive license: there is no usage restriction.
|
70
|
+
* You may embed it freely in your application (commercial or not), with or
|
71
|
+
* without modifications.
|
72
|
+
*
|
73
|
+
* Reference: http://www.fpdf.org/en/script/script37.php
|
74
|
+
*/function LA(A,t){var r,e,n;if(A!==r){for(var i=(n=A,new Array(1+(256/A.length>>0)+1).join(n)),s=[],o=0;o<256;o++)s[o]=o;var a=0;for(o=0;o<256;o++){var u=s[o];a=(a+u+i.charCodeAt(o))%256,s[o]=s[a],s[a]=u}r=A,e=s}else s=e;var c=t.length,B=0,f=0,h="";for(o=0;o<c;o++)f=(f+(u=s[B=(B+1)%256]))%256,s[B]=s[f],s[f]=u,i=s[(s[B]+s[f])%256],h+=String.fromCharCode(t.charCodeAt(o)^i);return h}
|
75
|
+
/**
|
76
|
+
* @license
|
77
|
+
* Licensed under the MIT License.
|
78
|
+
* http://opensource.org/licenses/mit-license
|
79
|
+
* Author: Owen Leong (@owenl131)
|
80
|
+
* Date: 15 Oct 2020
|
81
|
+
* References:
|
82
|
+
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
83
|
+
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
84
|
+
* http://www.fpdf.org/en/script/script37.php
|
85
|
+
*/var bA={print:4,modify:8,copy:16,"annot-forms":32};function HA(A,t,r,e){this.v=1,this.r=2;var n=192;A.forEach((function(A){if(void 0!==bA.perm)throw new Error("Invalid permission: "+A);n+=bA[A]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var i=(t+this.padding).substr(0,32),s=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=vA(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(e)).substr(0,5),this.U=LA(this.encryptionKey,this.padding)}function EA(A){if(/[^\u0000-\u00ff]/.test(A))throw new Error("Invalid PDF Name Object: "+A+", Only accept ASCII characters.");for(var t="",r=A.length,e=0;e<r;e++){var n=A.charCodeAt(e);t+=n<33||35===n||37===n||40===n||41===n||47===n||60===n||62===n||91===n||93===n||123===n||125===n||n>126?"#"+("0"+n.toString(16)).slice(-2):A[e]}return t}function yA(A){if("object"!==w(A))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(A,r,e){if(e=e||!1,"string"!=typeof A||"function"!=typeof r||"boolean"!=typeof e)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(A)||(t[A]={});var n=Math.random().toString(35);return t[A][n]=[r,!!e],n},this.unsubscribe=function(A){for(var r in t)if(t[r][A])return delete t[r][A],0===Object.keys(t[r]).length&&delete t[r],!0;return!1},this.publish=function(r){if(t.hasOwnProperty(r)){var e=Array.prototype.slice.call(arguments,1),n=[];for(var i in t[r]){var s=t[r][i];try{s[0].apply(A,e)}catch(r){tA.console&&eA.error("jsPDF PubSub Error",r.message,r)}s[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function IA(A){if(!(this instanceof IA))return new IA(A);var t="opacity,stroke-opacity".split(",");for(var r in A)A.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=A[r]);this.id="",this.objectNumber=-1}function NA(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function KA(A,t,r,e,n){if(!(this instanceof KA))return new KA(A,t,r,e,n);this.type="axial"===A?2:3,this.coords=t,this.colors=r,NA.call(this,e,n)}function SA(A,t,r,e,n){if(!(this instanceof SA))return new SA(A,t,r,e,n);this.boundingBox=A,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,NA.call(this,e,n)}function MA(A){var t,r="string"==typeof arguments[0]?arguments[0]:"p",e=arguments[1],n=arguments[2],i=arguments[3],s=[],o=1,a=16,u="S",c=null;"object"===w(A=A||{})&&(r=A.orientation,e=A.unit||e,n=A.format||n,i=A.compress||A.compressPdf||i,null!==(c=A.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),o="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(a=A.floatPrecision),u=A.defaultPathOperation||"S"),s=A.filters||(!0===i?["FlateEncode"]:s),e=e||"mm",r=(""+(r||"P")).toLowerCase();var B=A.putOnlyUsedFonts||!1,f={},h={internal:{},__private__:{}};h.__private__.PubSub=yA;var l="1.3",g=h.__private__.getPdfVersion=function(){return l};h.__private__.setPdfVersion=function(A){l=A};var Q={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return Q};var F=h.__private__.getPageFormat=function(A){return Q[A]};n=n||"a4";var U={COMPAT:"compat",ADVANCED:"advanced"},d=U.COMPAT;function C(){this.saveGraphicsState(),$(new PA(UA,0,0,-UA,0,Tr()*UA).toString()+" cm"),this.setFontSize(this.getFontSize()/UA),u="n",d=U.ADVANCED}function v(){this.restoreGraphicsState(),u="S",d=U.COMPAT}var p=h.__private__.combineFontStyleAndFontWeight=function(A,t){if("bold"==A&&"normal"==t||"bold"==A&&400==t||"normal"==A&&"italic"==t||"bold"==A&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(A=400==t||"normal"===t?"italic"===A?"italic":"normal":700!=t&&"bold"!==t||"normal"!==A?(700==t?"bold":t)+""+A:"bold"),A};h.advancedAPI=function(A){var t=d===U.COMPAT;return t&&C.call(this),"function"!=typeof A||(A(this),t&&v.call(this)),this},h.compatAPI=function(A){var t=d===U.ADVANCED;return t&&v.call(this),"function"!=typeof A||(A(this),t&&C.call(this)),this},h.isAdvancedAPI=function(){return d===U.ADVANCED};var m,L=function(A){if(d!==U.ADVANCED)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},b=h.roundToPrecision=h.__private__.roundToPrecision=function(A,r){var e=t||r;if(isNaN(A)||isNaN(e))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return A.toFixed(e).replace(/0+$/,"")};m=h.hpf=h.__private__.hpf="number"==typeof a?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return b(A,a)}:"smart"===a?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return b(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return b(A,16)};var H=h.f2=h.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return b(A,2)},E=h.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return b(A,3)},y=h.scale=h.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return d===U.COMPAT?A*UA:d===U.ADVANCED?A:void 0},I=function(A){return d===U.COMPAT?Tr()-A:d===U.ADVANCED?A:void 0},N=function(A){return y(I(A))};h.__private__.setPrecision=h.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var K,S="00000000000000000000000000000000",M=h.__private__.getFileId=function(){return S},k=h.__private__.setFileId=function(A){return S=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():S.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==c&&(Xt=new HA(c.userPermissions,c.userPassword,c.ownerPassword,S)),S};h.setFileId=function(A){return k(A),this},h.getFileId=function(){return M()};var D=h.__private__.convertDateToPDFDate=function(A){var t=A.getTimezoneOffset(),r=t<0?"+":"-",e=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),i=[r,q(e),"'",q(n),"'"].join("");return["D:",A.getFullYear(),q(A.getMonth()+1),q(A.getDate()),q(A.getHours()),q(A.getMinutes()),q(A.getSeconds()),i].join("")},x=h.__private__.convertPDFDateToDate=function(A){var t=parseInt(A.substr(2,4),10),r=parseInt(A.substr(6,2),10)-1,e=parseInt(A.substr(8,2),10),n=parseInt(A.substr(10,2),10),i=parseInt(A.substr(12,2),10),s=parseInt(A.substr(14,2),10);return new Date(t,r,e,n,i,s,0)},O=h.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=D(A);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(A))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=A}return K=t},T=h.__private__.getCreationDate=function(A){var t=K;return"jsDate"===A&&(t=x(K)),t};h.setCreationDate=function(A){return O(A),this},h.getCreationDate=function(A){return T(A)};var G,q=h.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},V=h.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},R=0,j=[],P=[],J=0,X=[],Y=[],W=!1,z=P,Z=function(){R=0,J=0,P=[],j=[],X=[],$A=zA(),At=zA()};h.__private__.setCustomOutputDestination=function(A){W=!0,z=A};var _=function(A){W||(z=A)};h.__private__.resetCustomOutputDestination=function(){W=!1,z=P};var $=h.__private__.out=function(A){return A=A.toString(),J+=A.length+1,z.push(A),z},AA=h.__private__.write=function(A){return $(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},rA=h.__private__.getArrayBuffer=function(A){for(var t=A.length,r=new ArrayBuffer(t),e=new Uint8Array(r);t--;)e[t]=A.charCodeAt(t);return r},nA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return nA};var iA=A.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(A){return iA=d===U.ADVANCED?A/UA:A,this};var sA,oA=h.__private__.getFontSize=h.getFontSize=function(){return d===U.COMPAT?iA:iA*UA},BA=A.R2L||!1;h.__private__.setR2L=h.setR2L=function(A){return BA=A,this},h.__private__.getR2L=h.getR2L=function(){return BA};var fA,hA=h.__private__.setZoomMode=function(A){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))sA=A;else if(isNaN(A)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(A))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+A+'" is not recognized.');sA=A}else sA=parseInt(A,10)};h.__private__.getZoomMode=function(){return sA};var lA,wA=h.__private__.setPageMode=function(A){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(A))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+A+'" is not recognized.');fA=A};h.__private__.getPageMode=function(){return fA};var gA=h.__private__.setLayoutMode=function(A){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(A))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+A+'" is not recognized.');lA=A};h.__private__.getLayoutMode=function(){return lA},h.__private__.setDisplayMode=h.setDisplayMode=function(A,t,r){return hA(A),gA(t),wA(r),this};var QA={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(A){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return QA[A]},h.__private__.getDocumentProperties=function(){return QA},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(A){for(var t in QA)QA.hasOwnProperty(t)&&A[t]&&(QA[t]=A[t]);return this},h.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return QA[A]=t};var FA,UA,dA,CA,vA,pA={},mA={},LA=[],bA={},NA={},kA={},DA={},xA=null,OA=0,TA=[],GA=new yA(h),qA=A.hotfixes||[],VA={},RA={},jA=[],PA=function A(t,r,e,n,i,s){if(!(this instanceof A))return new A(t,r,e,n,i,s);isNaN(t)&&(t=1),isNaN(r)&&(r=0),isNaN(e)&&(e=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(s)&&(s=0),this._matrix=[t,r,e,n,i,s]};Object.defineProperty(PA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(PA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(PA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(PA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(PA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(PA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(PA.prototype,"a",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(PA.prototype,"b",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(PA.prototype,"c",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(PA.prototype,"d",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(PA.prototype,"e",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(PA.prototype,"f",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(PA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(PA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(PA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(PA.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),PA.prototype.join=function(A){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(m).join(A)},PA.prototype.multiply=function(A){return new PA(A.sx*this.sx+A.shy*this.shx,A.sx*this.shy+A.shy*this.sy,A.shx*this.sx+A.sy*this.shx,A.shx*this.shy+A.sy*this.sy,A.tx*this.sx+A.ty*this.shx+this.tx,A.tx*this.shy+A.ty*this.sy+this.ty)},PA.prototype.decompose=function(){var A=this.sx,t=this.shy,r=this.shx,e=this.sy,n=this.tx,i=this.ty,s=Math.sqrt(A*A+t*t),o=(A/=s)*r+(t/=s)*e;r-=A*o,e-=t*o;var a=Math.sqrt(r*r+e*e);return o/=a,A*(e/=a)<t*(r/=a)&&(A=-A,t=-t,o=-o,s=-s),{scale:new PA(s,0,0,a,0,0),translate:new PA(1,0,0,1,n,i),rotate:new PA(A,t,-t,A,0,0),skew:new PA(1,0,o,1,0,0)}},PA.prototype.toString=function(){return this.join(" ")},PA.prototype.inversed=function(){var A=this.sx,t=this.shy,r=this.shx,e=this.sy,n=this.tx,i=this.ty,s=1/(A*e-t*r),o=e*s,a=-t*s,u=-r*s,c=A*s;return new PA(o,a,u,c,-o*n-u*i,-a*n-c*i)},PA.prototype.applyToPoint=function(A){return new Nr(A.x*this.sx+A.y*this.shx+this.tx,A.x*this.shy+A.y*this.sy+this.ty)},PA.prototype.applyToRectangle=function(A){var t=this.applyToPoint(A),r=this.applyToPoint(new Nr(A.x+A.w,A.y+A.h));return new Kr(t.x,t.y,r.x-t.x,r.y-t.y)},PA.prototype.clone=function(){return new PA(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},h.Matrix=PA;var JA=h.matrixMult=function(A,t){return t.multiply(A)},XA=new PA(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=XA;var YA=function(A,t){if(!NA[A]){var r=(t instanceof KA?"Sh":"P")+(Object.keys(bA).length+1).toString(10);t.id=r,NA[A]=r,bA[r]=t,GA.publish("addPattern",t)}};h.ShadingPattern=KA,h.TilingPattern=SA,h.addShadingPattern=function(A,t){return L("addShadingPattern()"),YA(A,t),this},h.beginTilingPattern=function(A){L("beginTilingPattern()"),Mr(A.boundingBox[0],A.boundingBox[1],A.boundingBox[2]-A.boundingBox[0],A.boundingBox[3]-A.boundingBox[1],A.matrix)},h.endTilingPattern=function(A,t){L("endTilingPattern()"),t.stream=Y[G].join("\n"),YA(A,t),GA.publish("endTilingPattern",t),jA.pop().restore()};var WA=h.__private__.newObject=function(){var A=zA();return ZA(A,!0),A},zA=h.__private__.newObjectDeferred=function(){return R++,j[R]=function(){return J},R},ZA=function(A,t){return t="boolean"==typeof t&&t,j[A]=J,t&&$(A+" 0 obj"),A},_A=h.__private__.newAdditionalObject=function(){var A={objId:zA(),content:""};return X.push(A),A},$A=zA(),At=zA(),tt=h.__private__.decodeColorString=function(A){var t=A.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var e="#",n=0;n<3;n++)e+=("0"+Math.floor(255*parseFloat(t[n])).toString(16)).slice(-2);return e},rt=h.__private__.encodeColorString=function(A){var t;"string"==typeof A&&(A={ch1:A});var r=A.ch1,e=A.ch2,n=A.ch3,i=A.ch4,s="draw"===A.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var o=new cA(r);if(o.ok)r=o.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var a=parseInt(r.substr(1),16);r=a>>16&255,e=a>>8&255,n=255&a}if(void 0===e||void 0===i&&r===e&&e===n)if("string"==typeof r)t=r+" "+s[0];else switch(A.precision){case 2:t=H(r/255)+" "+s[0];break;case 3:default:t=E(r/255)+" "+s[0]}else if(void 0===i||"object"===w(i)){if(i&&!isNaN(i.a)&&0===i.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)t=[r,e,n,s[1]].join(" ");else switch(A.precision){case 2:t=[H(r/255),H(e/255),H(n/255),s[1]].join(" ");break;default:case 3:t=[E(r/255),E(e/255),E(n/255),s[1]].join(" ")}}else if("string"==typeof r)t=[r,e,n,i,s[2]].join(" ");else switch(A.precision){case 2:t=[H(r),H(e),H(n),H(i),s[2]].join(" ");break;case 3:default:t=[E(r),E(e),E(n),E(i),s[2]].join(" ")}return t},et=h.__private__.getFilters=function(){return s},nt=h.__private__.putStream=function(A){var t=(A=A||{}).data||"",r=A.filters||et(),e=A.alreadyAppliedFilters||[],n=A.addLength1||!1,i=t.length,s=A.objectId,o=function(A){return A};if(null!==c&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==c&&(o=Xt.encryptor(s,0));var a={};!0===r&&(r=["FlateEncode"]);var u=A.additionalKeyValues||[],B=(a=void 0!==MA.API.processDataByFilters?MA.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(e)?e.join(" "):e.toString());if(0!==a.data.length&&(u.push({key:"Length",value:a.data.length}),!0===n&&u.push({key:"Length1",value:i})),0!=B.length)if(B.split("/").length-1==1)u.push({key:"Filter",value:B});else{u.push({key:"Filter",value:"["+B+"]"});for(var f=0;f<u.length;f+=1)if("DecodeParms"===u[f].key){for(var h=[],l=0;l<a.reverseChain.split("/").length-1;l+=1)h.push("null");h.push(u[f].value),u[f].value="["+h.join(" ")+"]"}}$("<<");for(var w=0;w<u.length;w++)$("/"+u[w].key+" "+u[w].value);$(">>"),0!==a.data.length&&($("stream"),$(o(a.data)),$("endstream"))},it=h.__private__.putPage=function(A){var t=A.number,r=A.data,e=A.objId,n=A.contentsObjId;ZA(e,!0),$("<</Type /Page"),$("/Parent "+A.rootDictionaryObjId+" 0 R"),$("/Resources "+A.resourceDictionaryObjId+" 0 R"),$("/MediaBox ["+parseFloat(m(A.mediaBox.bottomLeftX))+" "+parseFloat(m(A.mediaBox.bottomLeftY))+" "+m(A.mediaBox.topRightX)+" "+m(A.mediaBox.topRightY)+"]"),null!==A.cropBox&&$("/CropBox ["+m(A.cropBox.bottomLeftX)+" "+m(A.cropBox.bottomLeftY)+" "+m(A.cropBox.topRightX)+" "+m(A.cropBox.topRightY)+"]"),null!==A.bleedBox&&$("/BleedBox ["+m(A.bleedBox.bottomLeftX)+" "+m(A.bleedBox.bottomLeftY)+" "+m(A.bleedBox.topRightX)+" "+m(A.bleedBox.topRightY)+"]"),null!==A.trimBox&&$("/TrimBox ["+m(A.trimBox.bottomLeftX)+" "+m(A.trimBox.bottomLeftY)+" "+m(A.trimBox.topRightX)+" "+m(A.trimBox.topRightY)+"]"),null!==A.artBox&&$("/ArtBox ["+m(A.artBox.bottomLeftX)+" "+m(A.artBox.bottomLeftY)+" "+m(A.artBox.topRightX)+" "+m(A.artBox.topRightY)+"]"),"number"==typeof A.userUnit&&1!==A.userUnit&&$("/UserUnit "+A.userUnit),GA.publish("putPage",{objId:e,pageContext:TA[t],pageNumber:t,page:r}),$("/Contents "+n+" 0 R"),$(">>"),$("endobj");var i=r.join("\n");return d===U.ADVANCED&&(i+="\nQ"),ZA(n,!0),nt({data:i,filters:et(),objectId:n}),$("endobj"),e},st=h.__private__.putPages=function(){var A,t,r=[];for(A=1;A<=OA;A++)TA[A].objId=zA(),TA[A].contentsObjId=zA();for(A=1;A<=OA;A++)r.push(it({number:A,data:Y[A],objId:TA[A].objId,contentsObjId:TA[A].contentsObjId,mediaBox:TA[A].mediaBox,cropBox:TA[A].cropBox,bleedBox:TA[A].bleedBox,trimBox:TA[A].trimBox,artBox:TA[A].artBox,userUnit:TA[A].userUnit,rootDictionaryObjId:$A,resourceDictionaryObjId:At}));ZA($A,!0),$("<</Type /Pages");var e="/Kids [";for(t=0;t<OA;t++)e+=r[t]+" 0 R ";$(e+"]"),$("/Count "+OA),$(">>"),$("endobj"),GA.publish("postPutPages")},ot=function(A){GA.publish("putFont",{font:A,out:$,newObject:WA,putStream:nt}),!0!==A.isAlreadyPutted&&(A.objectNumber=WA(),$("<<"),$("/Type /Font"),$("/BaseFont /"+EA(A.postScriptName)),$("/Subtype /Type1"),"string"==typeof A.encoding&&$("/Encoding /"+A.encoding),$("/FirstChar 32"),$("/LastChar 255"),$(">>"),$("endobj"))},at=function(){for(var A in pA)pA.hasOwnProperty(A)&&(!1===B||!0===B&&f.hasOwnProperty(A))&&ot(pA[A])},ut=function(A){A.objectNumber=WA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[m(A.x),m(A.y),m(A.x+A.width),m(A.y+A.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+A.matrix.toString()+"]"});var r=A.pages[1].join("\n");nt({data:r,additionalKeyValues:t,objectId:A.objectNumber}),$("endobj")},ct=function(){for(var A in VA)VA.hasOwnProperty(A)&&ut(VA[A])},Bt=function(A,t){var r,e=[],n=1/(t-1);for(r=0;r<1;r+=n)e.push(r);e.push(1),0!=A[0].offset&&A.unshift({offset:0,color:A[0].color}),1!=A[A.length-1].offset&&A.push({offset:1,color:A[A.length-1].color});for(var i="",s=0,o=0;o<e.length;o++){for(r=e[o];r>A[s+1].offset;)s++;var a=A[s].offset,u=(r-a)/(A[s+1].offset-a),c=A[s].color,B=A[s+1].color;i+=V(Math.round((1-u)*c[0]+u*B[0]).toString(16))+V(Math.round((1-u)*c[1]+u*B[1]).toString(16))+V(Math.round((1-u)*c[2]+u*B[2]).toString(16))}return i.trim()},ft=function(A,t){t||(t=21);var r=WA(),e=Bt(A.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:e,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),$("endobj"),A.objectNumber=WA(),$("<< /ShadingType "+A.type),$("/ColorSpace /DeviceRGB");var i="/Coords ["+m(parseFloat(A.coords[0]))+" "+m(parseFloat(A.coords[1]))+" ";i+=2===A.type?m(parseFloat(A.coords[2]))+" "+m(parseFloat(A.coords[3])):m(parseFloat(A.coords[2]))+" "+m(parseFloat(A.coords[3]))+" "+m(parseFloat(A.coords[4]))+" "+m(parseFloat(A.coords[5])),$(i+="]"),A.matrix&&$("/Matrix ["+A.matrix.toString()+"]"),$("/Function "+r+" 0 R"),$("/Extend [true true]"),$(">>"),$("endobj")},ht=function(A,t){var r=zA(),e=WA();t.push({resourcesOid:r,objectOid:e}),A.objectNumber=e;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+A.boundingBox.map(m).join(" ")+"]"}),n.push({key:"XStep",value:m(A.xStep)}),n.push({key:"YStep",value:m(A.yStep)}),n.push({key:"Resources",value:r+" 0 R"}),A.matrix&&n.push({key:"Matrix",value:"["+A.matrix.toString()+"]"}),nt({data:A.stream,additionalKeyValues:n,objectId:A.objectNumber}),$("endobj")},lt=function(A){var t;for(t in bA)bA.hasOwnProperty(t)&&(bA[t]instanceof KA?ft(bA[t]):bA[t]instanceof SA&&ht(bA[t],A))},wt=function(A){for(var t in A.objectNumber=WA(),$("<<"),A)switch(t){case"opacity":$("/ca "+H(A[t]));break;case"stroke-opacity":$("/CA "+H(A[t]))}$(">>"),$("endobj")},gt=function(){var A;for(A in kA)kA.hasOwnProperty(A)&&wt(kA[A])},Qt=function(){for(var A in $("/XObject <<"),VA)VA.hasOwnProperty(A)&&VA[A].objectNumber>=0&&$("/"+A+" "+VA[A].objectNumber+" 0 R");GA.publish("putXobjectDict"),$(">>")},Ft=function(){Xt.oid=WA(),$("<<"),$("/Filter /Standard"),$("/V "+Xt.v),$("/R "+Xt.r),$("/U <"+Xt.toHexString(Xt.U)+">"),$("/O <"+Xt.toHexString(Xt.O)+">"),$("/P "+Xt.P),$(">>"),$("endobj")},Ut=function(){for(var A in $("/Font <<"),pA)pA.hasOwnProperty(A)&&(!1===B||!0===B&&f.hasOwnProperty(A))&&$("/"+A+" "+pA[A].objectNumber+" 0 R");$(">>")},dt=function(){if(Object.keys(bA).length>0){for(var A in $("/Shading <<"),bA)bA.hasOwnProperty(A)&&bA[A]instanceof KA&&bA[A].objectNumber>=0&&$("/"+A+" "+bA[A].objectNumber+" 0 R");GA.publish("putShadingPatternDict"),$(">>")}},Ct=function(A){if(Object.keys(bA).length>0){for(var t in $("/Pattern <<"),bA)bA.hasOwnProperty(t)&&bA[t]instanceof h.TilingPattern&&bA[t].objectNumber>=0&&bA[t].objectNumber<A&&$("/"+t+" "+bA[t].objectNumber+" 0 R");GA.publish("putTilingPatternDict"),$(">>")}},vt=function(){if(Object.keys(kA).length>0){var A;for(A in $("/ExtGState <<"),kA)kA.hasOwnProperty(A)&&kA[A].objectNumber>=0&&$("/"+A+" "+kA[A].objectNumber+" 0 R");GA.publish("putGStateDict"),$(">>")}},pt=function(A){ZA(A.resourcesOid,!0),$("<<"),$("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ut(),dt(),Ct(A.objectOid),vt(),Qt(),$(">>"),$("endobj")},mt=function(){var A=[];at(),gt(),ct(),lt(A),GA.publish("putResources"),A.forEach(pt),pt({resourcesOid:At,objectOid:Number.MAX_SAFE_INTEGER}),GA.publish("postPutResources")},Lt=function(){GA.publish("putAdditionalObjects");for(var A=0;A<X.length;A++){var t=X[A];ZA(t.objId,!0),$(t.content),$("endobj")}GA.publish("postPutAdditionalObjects")},bt=function(A){mA[A.fontName]=mA[A.fontName]||{},mA[A.fontName][A.fontStyle]=A.id},Ht=function(A,t,r,e,n){var i={id:"F"+(Object.keys(pA).length+1).toString(10),postScriptName:A,fontName:t,fontStyle:r,encoding:e,isStandardFont:n||!1,metadata:{}};return GA.publish("addFont",{font:i,instance:this}),pA[i.id]=i,bt(i),i.id},Et=function(A){for(var t=0,r=nA.length;t<r;t++){var e=Ht.call(this,A[t][0],A[t][1],A[t][2],nA[t][3],!0);!1===B&&(f[e]=!0);var n=A[t][0].split("-");bt({id:e,fontName:n[0],fontStyle:n[1]||""})}GA.publish("addFonts",{fonts:pA,dictionary:mA})},yt=function(A){return A.foo=function(){try{return A.apply(this,arguments)}catch(A){var t=A.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var r="Error in function "+t.split("\n")[0].split("<")[0]+": "+A.message;if(!tA.console)throw new Error(r);tA.console.error(r,A),tA.alert&&alert(r)}},A.foo.bar=A,A.foo},It=function(A,t){var r,e,n,i,s,o,a,u,c;if(n=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&pA[FA].metadata&&pA[FA].metadata[n]&&pA[FA].metadata[n].encoding&&(i=pA[FA].metadata[n].encoding,!s&&pA[FA].encoding&&(s=pA[FA].encoding),!s&&i.codePages&&(s=i.codePages[0]),"string"==typeof s&&(s=i[s]),s)){for(a=!1,o=[],r=0,e=A.length;r<e;r++)(u=s[A.charCodeAt(r)])?o.push(String.fromCharCode(u)):o.push(A[r]),o[r].charCodeAt(0)>>8&&(a=!0);A=o.join("")}for(r=A.length;void 0===a&&0!==r;)A.charCodeAt(r-1)>>8&&(a=!0),r--;if(!a)return A;for(o=t.noBOM?[]:[254,255],r=0,e=A.length;r<e;r++){if((c=(u=A.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(c),o.push(u-(c<<8))}return String.fromCharCode.apply(void 0,o)},Nt=h.__private__.pdfEscape=h.pdfEscape=function(A,t){return It(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Kt=h.__private__.beginPage=function(A){Y[++OA]=[],TA[OA]={objId:0,contentsObjId:0,userUnit:Number(o),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},kt(OA),_(Y[G])},St=function(A,t){var e,i,s;switch(r=t||r,"string"==typeof A&&(e=F(A.toLowerCase()),Array.isArray(e)&&(i=e[0],s=e[1])),Array.isArray(A)&&(i=A[0]*UA,s=A[1]*UA),isNaN(i)&&(i=n[0],s=n[1]),(i>14400||s>14400)&&(eA.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),s=Math.min(14400,s)),n=[i,s],r.substr(0,1)){case"l":s>i&&(n=[s,i]);break;case"p":i>s&&(n=[s,i])}Kt(n),lr(fr),$(vr),0!==Er&&$(Er+" J"),0!==yr&&$(yr+" j"),GA.publish("addPage",{pageNumber:OA})},Mt=function(A){A>0&&A<=OA&&(Y.splice(A,1),TA.splice(A,1),OA--,G>OA&&(G=OA),this.setPage(G))},kt=function(A){A>0&&A<=OA&&(G=A)},Dt=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return Y.length-1},xt=function(A,t,r){var e,n=void 0;return r=r||{},t=void 0!==t?t:pA[FA].fontStyle,e=(A=void 0!==A?A:pA[FA].fontName).toLowerCase(),void 0!==mA[e]&&void 0!==mA[e][t]?n=mA[e][t]:void 0!==mA[A]&&void 0!==mA[A][t]?n=mA[A][t]:!1===r.disableWarning&&eA.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||r.noFallback||null==(n=mA.times[t])&&(n=mA.times.normal),n},Ot=h.__private__.putInfo=function(){var A=WA(),t=function(A){return A};for(var r in null!==c&&(t=Xt.encryptor(A,0)),$("<<"),$("/Producer ("+Nt(t("jsPDF "+MA.version))+")"),QA)QA.hasOwnProperty(r)&&QA[r]&&$("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Nt(t(QA[r]))+")");$("/CreationDate ("+Nt(t(K))+")"),$(">>"),$("endobj")},Tt=h.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||$A;switch(WA(),$("<<"),$("/Type /Catalog"),$("/Pages "+t+" 0 R"),sA||(sA="fullwidth"),sA){case"fullwidth":$("/OpenAction [3 0 R /FitH null]");break;case"fullheight":$("/OpenAction [3 0 R /FitV null]");break;case"fullpage":$("/OpenAction [3 0 R /Fit]");break;case"original":$("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+sA;"%"===r.substr(r.length-1)&&(sA=parseInt(sA)/100),"number"==typeof sA&&$("/OpenAction [3 0 R /XYZ null null "+H(sA)+"]")}switch(lA||(lA="continuous"),lA){case"continuous":$("/PageLayout /OneColumn");break;case"single":$("/PageLayout /SinglePage");break;case"two":case"twoleft":$("/PageLayout /TwoColumnLeft");break;case"tworight":$("/PageLayout /TwoColumnRight")}fA&&$("/PageMode /"+fA),GA.publish("putCatalog"),$(">>"),$("endobj")},Gt=h.__private__.putTrailer=function(){$("trailer"),$("<<"),$("/Size "+(R+1)),$("/Root "+R+" 0 R"),$("/Info "+(R-1)+" 0 R"),null!==c&&$("/Encrypt "+Xt.oid+" 0 R"),$("/ID [ <"+S+"> <"+S+"> ]"),$(">>")},qt=h.__private__.putHeader=function(){$("%PDF-"+l),$("%ºß¬à")},Vt=h.__private__.putXRef=function(){var A="0000000000";$("xref"),$("0 "+(R+1)),$("0000000000 65535 f ");for(var t=1;t<=R;t++)$("function"==typeof j[t]?(A+j[t]()).slice(-10)+" 00000 n ":void 0!==j[t]?(A+j[t]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},Rt=h.__private__.buildDocument=function(){Z(),_(P),GA.publish("buildDocument"),qt(),st(),Lt(),mt(),null!==c&&Ft(),Ot(),Tt();var A=J;return Vt(),Gt(),$("startxref"),$(""+A),$("%%EOF"),_(Y[G]),P.join("\n")},jt=h.__private__.getBlob=function(A){return new Blob([rA(A)],{type:"application/pdf"})},Pt=h.output=h.__private__.output=yt((function(A,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",A){case void 0:return Rt();case"save":h.save(t.filename);break;case"arraybuffer":return rA(Rt());case"blob":return jt(Rt());case"bloburi":case"bloburl":if(void 0!==tA.URL&&"function"==typeof tA.URL.createObjectURL)return tA.URL&&tA.URL.createObjectURL(jt(Rt()))||void 0;eA.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",e=Rt();try{r=aA(e)}catch(A){r=aA(unescape(encodeURIComponent(e)))}return"data:application/pdf;filename="+t.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(tA)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,i="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+n+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",o=tA.open();return null!==o&&o.document.write(s),o}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(tA)){var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',u=tA.open();if(null!==u){u.document.write(a);var c=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=t.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(tA))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var B='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',f=tA.open();if(null!==f&&(f.document.write(B),f.document.title=t.filename),f||"undefined"==typeof safari)return f;break;case"datauri":case"dataurl":return tA.document.location.href=this.output("datauristring",t);default:return null}})),Jt=function(A){return!0===Array.isArray(qA)&&qA.indexOf(A)>-1};switch(e){case"pt":UA=1;break;case"mm":UA=72/25.4;break;case"cm":UA=72/2.54;break;case"in":UA=72;break;case"px":UA=1==Jt("px_scaling")?.75:96/72;break;case"pc":case"em":UA=12;break;case"ex":UA=6;break;default:if("number"!=typeof e)throw new Error("Invalid unit: "+e);UA=e}var Xt=null;O(),k();var Yt=function(A){return null!==c?Xt.encryptor(A,0):function(A){return A}},Wt=h.__private__.getPageInfo=h.getPageInfo=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:TA[A].objId,pageNumber:A,pageContext:TA[A]}},zt=h.__private__.getPageInfoByObjId=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in TA)if(TA[t].objId===A)break;return Wt(t)},Zt=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:TA[G].objId,pageNumber:G,pageContext:TA[G]}};h.addPage=function(){return St.apply(this,arguments),this},h.setPage=function(){return kt.apply(this,arguments),_.call(this,Y[G]),this},h.insertPage=function(A){return this.addPage(),this.movePage(G,A),this},h.movePage=function(A,t){var r,e;if(A>t){r=Y[A],e=TA[A];for(var n=A;n>t;n--)Y[n]=Y[n-1],TA[n]=TA[n-1];Y[t]=r,TA[t]=e,this.setPage(t)}else if(A<t){r=Y[A],e=TA[A];for(var i=A;i<t;i++)Y[i]=Y[i+1],TA[i]=TA[i+1];Y[t]=r,TA[t]=e,this.setPage(t)}return this},h.deletePage=function(){return Mt.apply(this,arguments),this},h.__private__.text=h.text=function(A,t,r,e,n){var i,s,o,a,u,c,B,h,l,g=(e=e||{}).scope||this;if("number"==typeof A&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var Q=r;r=t,t=A,A=Q}if(arguments[3]instanceof PA==0?(o=arguments[4],a=arguments[5],"object"===w(B=arguments[3])&&null!==B||("string"==typeof o&&(a=o,o=null),"string"==typeof B&&(a=B,B=null),"number"==typeof B&&(o=B,B=null),e={flags:B,angle:o,align:a})):(L("The transform parameter of text() with a Matrix value"),l=n),isNaN(t)||isNaN(r)||null==A)throw new Error("Invalid arguments passed to jsPDF.text");if(0===A.length)return g;var F="",C=!1,v="number"==typeof e.lineHeightFactor?e.lineHeightFactor:Br,p=g.internal.scaleFactor;function b(A){return A=A.split("\t").join(Array(e.TabLen||9).join(" ")),Nt(A,B)}function H(A){for(var t,r=A.concat(),e=[],n=r.length;n--;)"string"==typeof(t=r.shift())?e.push(t):Array.isArray(A)&&(1===t.length||void 0===t[1]&&void 0===t[2])?e.push(t[0]):e.push([t[0],t[1],t[2]]);return e}function E(A,t){var r;if("string"==typeof A)r=t(A)[0];else if(Array.isArray(A)){for(var e,n,i=A.concat(),s=[],o=i.length;o--;)"string"==typeof(e=i.shift())?s.push(t(e)[0]):Array.isArray(e)&&"string"==typeof e[0]&&(n=t(e[0],e[1],e[2]),s.push([n[0],n[1],n[2]]));r=s}return r}var I=!1,N=!0;if("string"==typeof A)I=!0;else if(Array.isArray(A)){var K=A.concat();s=[];for(var S,M=K.length;M--;)("string"!=typeof(S=K.shift())||Array.isArray(S)&&"string"!=typeof S[0])&&(N=!1);I=N}if(!1===I)throw new Error('Type of text must be string or Array. "'+A+'" is not recognized.');"string"==typeof A&&(A=A.match(/[\r?\n]/)?A.split(/\r\n|\r|\n/g):[A]);var k=iA/g.internal.scaleFactor,D=k*(v-1);switch(e.baseline){case"bottom":r-=D;break;case"top":r+=k-D;break;case"hanging":r+=k-2*D;break;case"middle":r+=k/2-D}if((c=e.maxWidth||0)>0&&("string"==typeof A?A=g.splitTextToSize(A,c):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(g.splitTextToSize(t,c))}),[]))),GA.publish("preProcessText",i={text:A,x:t,y:r,options:e,mutex:{pdfEscape:Nt,activeFontKey:FA,fonts:pA,activeFontSize:iA}}),A=i.text,o=(e=i.options).angle,l instanceof PA==0&&o&&"number"==typeof o){o*=Math.PI/180,0===e.rotationDirection&&(o=-o),d===U.ADVANCED&&(o=-o);var x=Math.cos(o),O=Math.sin(o);l=new PA(x,O,-O,x,0,0)}else o&&o instanceof PA&&(l=o);d!==U.ADVANCED||l||(l=XA),void 0!==(u=e.charSpace||br)&&(F+=m(y(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(h=e.horizontalScale)&&(F+=m(100*h)+" Tz\n");var T=-1,G=void 0!==e.renderingMode?e.renderingMode:e.stroke,q=g.internal.getCurrentPageInfo().pageContext;switch(G){case 0:case!1:case"fill":T=0;break;case 1:case!0:case"stroke":T=1;break;case 2:case"fillThenStroke":T=2;break;case 3:case"invisible":T=3;break;case 4:case"fillAndAddForClipping":T=4;break;case 5:case"strokeAndAddPathForClipping":T=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":T=6;break;case 7:case"addToPathForClipping":T=7}var V=void 0!==q.usedRenderingMode?q.usedRenderingMode:-1;-1!==T?F+=T+" Tr\n":-1!==V&&(F+="0 Tr\n"),-1!==T&&(q.usedRenderingMode=T),a=e.align||"left";var R,j=iA*v,P=g.internal.pageSize.getWidth(),J=pA[FA];u=e.charSpace||br,c=e.maxWidth||0,B=Object.assign({autoencode:!0,noBOM:!0},e.flags);var X=[];if("[object Array]"===Object.prototype.toString.call(A)){var Y;s=H(A),"left"!==a&&(R=s.map((function(A){return g.getStringUnitWidth(A,{font:J,charSpace:u,fontSize:iA,doKerning:!1})*iA/p})));var W,z=0;if("right"===a){t-=R[0],A=[],M=s.length;for(var Z=0;Z<M;Z++)0===Z?(W=Fr(t),Y=Ur(r)):(W=y(z-R[Z]),Y=-j),A.push([s[Z],W,Y]),z=R[Z]}else if("center"===a){t-=R[0]/2,A=[],M=s.length;for(var _=0;_<M;_++)0===_?(W=Fr(t),Y=Ur(r)):(W=y((z-R[_])/2),Y=-j),A.push([s[_],W,Y]),z=R[_]}else if("left"===a){A=[],M=s.length;for(var AA=0;AA<M;AA++)A.push(s[AA])}else{if("justify"!==a)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');A=[],M=s.length,c=0!==c?c:P;for(var tA=0;tA<M;tA++)Y=0===tA?Ur(r):-j,W=0===tA?Fr(t):0,X.push(tA<M-1?m(y((c-R[tA])/(s[tA].split(" ").length-1))):0),A.push([s[tA],W,Y])}}var rA="boolean"==typeof e.R2L?e.R2L:BA;!0===rA&&(A=E(A,(function(A,t,r){return[A.split("").reverse().join(""),t,r]}))),GA.publish("postProcessText",i={text:A,x:t,y:r,options:e,mutex:{pdfEscape:Nt,activeFontKey:FA,fonts:pA,activeFontSize:iA}}),A=i.text,C=i.mutex.isHex||!1;var eA=pA[FA].encoding;"WinAnsiEncoding"!==eA&&"StandardEncoding"!==eA||(A=E(A,(function(A,t,r){return[b(A),t,r]}))),s=H(A),A=[];for(var nA,sA,oA,aA=0,uA=1,cA=Array.isArray(s[0])?uA:aA,fA="",hA=function(A,t,r){var n="";return r instanceof PA?(r="number"==typeof e.angle?JA(r,new PA(1,0,0,1,A,t)):JA(new PA(1,0,0,1,A,t),r),d===U.ADVANCED&&(r=JA(new PA(1,0,0,-1,0,0),r)),n=r.join(" ")+" Tm\n"):n=m(A)+" "+m(t)+" Td\n",n},lA=0;lA<s.length;lA++){switch(fA="",cA){case uA:oA=(C?"<":"(")+s[lA][0]+(C?">":")"),nA=parseFloat(s[lA][1]),sA=parseFloat(s[lA][2]);break;case aA:oA=(C?"<":"(")+s[lA]+(C?">":")"),nA=Fr(t),sA=Ur(r)}void 0!==X&&void 0!==X[lA]&&(fA=X[lA]+" Tw\n"),0===lA?A.push(fA+hA(nA,sA,l)+oA):cA===aA?A.push(fA+oA):cA===uA&&A.push(fA+hA(nA,sA,l)+oA)}A=A.join(cA===aA?" Tj\nT* ":" Tj\n"),A+=" Tj\n";var wA="BT\n/";return wA+=FA+" "+iA+" Tf\n",wA+=m(iA*v)+" TL\n",wA+=mr+"\n",wA+=F,wA+=A,$(wA+="ET"),f[FA]=!0,g};var _t=h.__private__.clip=h.clip=function(A){return $("evenodd"===A?"W*":"W"),this};h.clipEvenOdd=function(){return _t("evenodd")},h.__private__.discardPath=h.discardPath=function(){return $("n"),this};var $t=h.__private__.isValidStyle=function(A){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(A)&&(t=!0),t};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(A){return $t(A)&&(u=A),this};var Ar=h.__private__.getStyle=h.getStyle=function(A){var t=u;switch(A){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=A}return t},tr=h.close=function(){return $("h"),this};h.stroke=function(){return $("S"),this},h.fill=function(A){return rr("f",A),this},h.fillEvenOdd=function(A){return rr("f*",A),this},h.fillStroke=function(A){return rr("B",A),this},h.fillStrokeEvenOdd=function(A){return rr("B*",A),this};var rr=function(A,t){"object"===w(t)?ir(t,A):$(A)},er=function(A){null===A||d===U.ADVANCED&&void 0===A||(A=Ar(A),$(A))};function nr(A,t,r,e,n){var i=new SA(t||this.boundingBox,r||this.xStep,e||this.yStep,this.gState,n||this.matrix);i.stream=this.stream;var s=A+"$$"+this.cloneIndex+++"$$";return YA(s,i),i}var ir=function(A,t){var r=NA[A.key],e=bA[r];if(e instanceof KA)$("q"),$(sr(t)),e.gState&&h.setGState(e.gState),$(A.matrix.toString()+" cm"),$("/"+r+" sh"),$("Q");else if(e instanceof SA){var n=new PA(1,0,0,-1,0,Tr());A.matrix&&(n=n.multiply(A.matrix||XA),r=nr.call(e,A.key,A.boundingBox,A.xStep,A.yStep,n).id),$("q"),$("/Pattern cs"),$("/"+r+" scn"),e.gState&&h.setGState(e.gState),$(t),$("Q")}},sr=function(A){switch(A){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},or=h.moveTo=function(A,t){return $(m(y(A))+" "+m(N(t))+" m"),this},ar=h.lineTo=function(A,t){return $(m(y(A))+" "+m(N(t))+" l"),this},ur=h.curveTo=function(A,t,r,e,n,i){return $([m(y(A)),m(N(t)),m(y(r)),m(N(e)),m(y(n)),m(N(i)),"c"].join(" ")),this};h.__private__.line=h.line=function(A,t,r,e,n){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.line");return d===U.COMPAT?this.lines([[r-A,e-t]],A,t,[1,1],n||"S"):this.lines([[r-A,e-t]],A,t,[1,1]).stroke()},h.__private__.lines=h.lines=function(A,t,r,e,n,i){var s,o,a,u,c,B,f,h;if("number"==typeof A&&(h=r,r=t,t=A,A=h),e=e||[1,1],i=i||!1,isNaN(t)||isNaN(r)||!Array.isArray(A)||!Array.isArray(e)||!$t(n)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(or(t,r),s=e[0],o=e[1],u=A.length,B=t,f=r,a=0;a<u;a++)2===(c=A[a]).length?ar(B=c[0]*s+B,f=c[1]*o+f):ur(c[0]*s+B,c[1]*o+f,c[2]*s+B,c[3]*o+f,B=c[4]*s+B,f=c[5]*o+f);return i&&tr(),er(n),this},h.path=function(A){for(var t=0;t<A.length;t++){var r=A[t],e=r.c;switch(r.op){case"m":or(e[0],e[1]);break;case"l":ar(e[0],e[1]);break;case"c":ur.apply(this,e);break;case"h":tr()}}return this},h.__private__.rect=h.rect=function(A,t,r,e,n){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.rect");return d===U.COMPAT&&(e=-e),$([m(y(A)),m(N(t)),m(y(r)),m(y(e)),"re"].join(" ")),er(n),this},h.__private__.triangle=h.triangle=function(A,t,r,e,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||isNaN(n)||isNaN(i)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-A,e-t],[n-r,i-e],[A-n,t-i]],A,t,[1,1],s,!0),this},h.__private__.roundedRect=h.roundedRect=function(A,t,r,e,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||isNaN(n)||isNaN(i)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var o=4/3*(Math.SQRT2-1);return n=Math.min(n,.5*r),i=Math.min(i,.5*e),this.lines([[r-2*n,0],[n*o,0,n,i-i*o,n,i],[0,e-2*i],[0,i*o,-n*o,i,-n,i],[2*n-r,0],[-n*o,0,-n,-i*o,-n,-i],[0,2*i-e],[0,-i*o,n*o,-i,n,-i]],A+n,t,[1,1],s,!0),this},h.__private__.ellipse=h.ellipse=function(A,t,r,e,n){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*r,s=4/3*(Math.SQRT2-1)*e;return or(A+r,t),ur(A+r,t-s,A+i,t-e,A,t-e),ur(A-i,t-e,A-r,t-s,A-r,t),ur(A-r,t+s,A-i,t+e,A,t+e),ur(A+i,t+e,A+r,t+s,A+r,t),er(n),this},h.__private__.circle=h.circle=function(A,t,r,e){if(isNaN(A)||isNaN(t)||isNaN(r)||!$t(e))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(A,t,r,r,e)},h.setFont=function(A,t,r){return r&&(t=p(t,r)),FA=xt(A,t,{disableWarning:!1}),this};var cr=h.__private__.getFont=h.getFont=function(){return pA[xt.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var A,t,r={};for(A in mA)if(mA.hasOwnProperty(A))for(t in r[A]=[],mA[A])mA[A].hasOwnProperty(t)&&r[A].push(t);return r},h.addFont=function(A,t,r,e,n){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?n=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(r=p(r,e)),Ht.call(this,A,t,r,n=n||"Identity-H")};var Br,fr=A.lineWidth||.200025,hr=h.__private__.getLineWidth=h.getLineWidth=function(){return fr},lr=h.__private__.setLineWidth=h.setLineWidth=function(A){return fr=A,$(m(y(A))+" w"),this};h.__private__.setLineDash=MA.API.setLineDash=MA.API.setLineDashPattern=function(A,t){if(A=A||[],t=t||0,isNaN(t)||!Array.isArray(A))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return A=A.map((function(A){return m(y(A))})).join(" "),t=m(y(t)),$("["+A+"] "+t+" d"),this};var wr=h.__private__.getLineHeight=h.getLineHeight=function(){return iA*Br};h.__private__.getLineHeight=h.getLineHeight=function(){return iA*Br};var gr=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(A){return"number"==typeof(A=A||1.15)&&(Br=A),this},Qr=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return Br};gr(A.lineHeight);var Fr=h.__private__.getHorizontalCoordinate=function(A){return y(A)},Ur=h.__private__.getVerticalCoordinate=function(A){return d===U.ADVANCED?A:TA[G].mediaBox.topRightY-TA[G].mediaBox.bottomLeftY-y(A)},dr=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(A){return m(Fr(A))},Cr=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(A){return m(Ur(A))},vr=A.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return tt(vr)},h.__private__.setStrokeColor=h.setDrawColor=function(A,t,r,e){return vr=rt({ch1:A,ch2:t,ch3:r,ch4:e,pdfColorType:"draw",precision:2}),$(vr),this};var pr=A.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return tt(pr)},h.__private__.setFillColor=h.setFillColor=function(A,t,r,e){return pr=rt({ch1:A,ch2:t,ch3:r,ch4:e,pdfColorType:"fill",precision:2}),$(pr),this};var mr=A.textColor||"0 g",Lr=h.__private__.getTextColor=h.getTextColor=function(){return tt(mr)};h.__private__.setTextColor=h.setTextColor=function(A,t,r,e){return mr=rt({ch1:A,ch2:t,ch3:r,ch4:e,pdfColorType:"text",precision:3}),this};var br=A.charSpace,Hr=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(br||0)};h.__private__.setCharSpace=h.setCharSpace=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return br=A,this};var Er=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(A){var t=h.CapJoinStyles[A];if(void 0===t)throw new Error("Line cap style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Er=t,$(t+" J"),this};var yr=0;h.__private__.setLineJoin=h.setLineJoin=function(A){var t=h.CapJoinStyles[A];if(void 0===t)throw new Error("Line join style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return yr=t,$(t+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(A){if(A=A||0,isNaN(A))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return $(m(y(A))+" M"),this},h.GState=IA,h.setGState=function(A){(A="string"==typeof A?kA[DA[A]]:Ir(null,A)).equals(xA)||($("/"+A.id+" gs"),xA=A)};var Ir=function(A,t){if(!A||!DA[A]){var r=!1;for(var e in kA)if(kA.hasOwnProperty(e)&&kA[e].equals(t)){r=!0;break}if(r)t=kA[e];else{var n="GS"+(Object.keys(kA).length+1).toString(10);kA[n]=t,t.id=n}return A&&(DA[A]=t.id),GA.publish("addGState",t),t}};h.addGState=function(A,t){return Ir(A,t),this},h.saveGraphicsState=function(){return $("q"),LA.push({key:FA,size:iA,color:mr}),this},h.restoreGraphicsState=function(){$("Q");var A=LA.pop();return FA=A.key,iA=A.size,mr=A.color,xA=null,this},h.setCurrentTransformationMatrix=function(A){return $(A.toString()+" cm"),this},h.comment=function(A){return $("#"+A),this};var Nr=function(A,t){var r=A||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(A){isNaN(A)||(r=parseFloat(A))}});var e=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(A){isNaN(A)||(e=parseFloat(A))}});var n="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return n},set:function(A){n=A.toString()}}),this},Kr=function(A,t,r,e){Nr.call(this,A,t),this.type="rect";var n=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return n},set:function(A){isNaN(A)||(n=parseFloat(A))}});var i=e||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(A){isNaN(A)||(i=parseFloat(A))}}),this},Sr=function(){this.page=OA,this.currentPage=G,this.pages=Y.slice(0),this.pagesContext=TA.slice(0),this.x=dA,this.y=CA,this.matrix=vA,this.width=xr(G),this.height=Tr(G),this.outputDestination=z,this.id="",this.objectNumber=-1};Sr.prototype.restore=function(){OA=this.page,TA=this.pagesContext,Y=this.pages,dA=this.x,CA=this.y,vA=this.matrix,Or(G=this.currentPage,this.width),Gr(G,this.height),z=this.outputDestination};var Mr=function(A,t,r,e,n){jA.push(new Sr),OA=G=0,Y=[],dA=A,CA=t,vA=n,Kt([r,e])},kr=function(A){if(RA[A])jA.pop().restore();else{var t=new Sr,r="Xo"+(Object.keys(VA).length+1).toString(10);t.id=r,RA[A]=r,VA[r]=t,GA.publish("addFormObject",t),jA.pop().restore()}};for(var Dr in h.beginFormObject=function(A,t,r,e,n){return Mr(A,t,r,e,n),this},h.endFormObject=function(A){return kr(A),this},h.doFormObject=function(A,t){var r=VA[RA[A]];return $("q"),$(t.toString()+" cm"),$("/"+r.id+" Do"),$("Q"),this},h.getFormObject=function(A){var t=VA[RA[A]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},h.save=function(A,t){return A=A||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(uA(jt(Rt()),A),"function"==typeof uA.unload&&tA.setTimeout&&setTimeout(uA.unload,911),this):new Promise((function(t,r){try{var e=uA(jt(Rt()),A);"function"==typeof uA.unload&&tA.setTimeout&&setTimeout(uA.unload,911),t(e)}catch(A){r(A.message)}}))},MA.API)MA.API.hasOwnProperty(Dr)&&("events"===Dr&&MA.API.events.length?function(A,t){var r,e;for(e=t.length-1;-1!==e;e--)A.subscribe.apply(A,[t[e][0]].concat("function"==typeof(r=t[e][1])?[r]:r))}(GA,MA.API.events):h[Dr]=MA.API[Dr]);var xr=h.getPageWidth=function(A){return(TA[A=A||G].mediaBox.topRightX-TA[A].mediaBox.bottomLeftX)/UA},Or=h.setPageWidth=function(A,t){TA[A].mediaBox.topRightX=t*UA+TA[A].mediaBox.bottomLeftX},Tr=h.getPageHeight=function(A){return(TA[A=A||G].mediaBox.topRightY-TA[A].mediaBox.bottomLeftY)/UA},Gr=h.setPageHeight=function(A,t){TA[A].mediaBox.topRightY=t*UA+TA[A].mediaBox.bottomLeftY};return h.internal={pdfEscape:Nt,getStyle:Ar,getFont:cr,getFontSize:oA,getCharSpace:Hr,getTextColor:Lr,getLineHeight:wr,getLineHeightFactor:Qr,getLineWidth:hr,write:AA,getHorizontalCoordinate:Fr,getVerticalCoordinate:Ur,getCoordinateString:dr,getVerticalCoordinateString:Cr,collections:{},newObject:WA,newAdditionalObject:_A,newObjectDeferred:zA,newObjectDeferredBegin:ZA,getFilters:et,putStream:nt,events:GA,scaleFactor:UA,pageSize:{getWidth:function(){return xr(G)},setWidth:function(A){Or(G,A)},getHeight:function(){return Tr(G)},setHeight:function(A){Gr(G,A)}},encryptionOptions:c,encryption:Xt,getEncryptor:Yt,output:Pt,getNumberOfPages:Dt,pages:Y,out:$,f2:H,f3:E,getPageInfo:Wt,getPageInfoByObjId:zt,getCurrentPageInfo:Zt,getPDFVersion:g,Point:Nr,Rectangle:Kr,Matrix:PA,hasHotfix:Jt},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return xr(G)},set:function(A){Or(G,A)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return Tr(G)},set:function(A){Gr(G,A)},enumerable:!0,configurable:!0}),Et.call(h,nA),FA="F1",St(n,r),GA.publish("initialized"),h}HA.prototype.lsbFirstWord=function(A){return String.fromCharCode(A>>0&255,A>>8&255,A>>16&255,A>>24&255)},HA.prototype.toHexString=function(A){return A.split("").map((function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)})).join("")},HA.prototype.hexToBytes=function(A){for(var t=[],r=0;r<A.length;r+=2)t.push(String.fromCharCode(parseInt(A.substr(r,2),16)));return t.join("")},HA.prototype.processOwnerPassword=function(A,t){return LA(vA(t).substr(0,5),A)},HA.prototype.encryptor=function(A,t){var r=vA(this.encryptionKey+String.fromCharCode(255&A,A>>8&255,A>>16&255,255&t,t>>8&255)).substr(0,10);return function(A){return LA(r,A)}},IA.prototype.equals=function(A){var t,r="id,objectNumber,equals";if(!A||w(A)!==w(this))return!1;var e=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!A.hasOwnProperty(t))return!1;if(this[t]!==A[t])return!1;e++}for(t in A)A.hasOwnProperty(t)&&r.indexOf(t)<0&&e--;return 0===e},MA.API={events:[]},MA.version="2.5.1";var kA=MA.API,DA=1,xA=function(A){return A.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},OA=function(A){return A.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},TA=function(A){return A.toFixed(2)},GA=function(A){return A.toFixed(5)};kA.__acroform__={};var qA=function(A,t){A.prototype=Object.create(t.prototype),A.prototype.constructor=A},VA=function(A){return A*DA},RA=function(A){var t=new st,r=dt.internal.getHeight(A)||0,e=dt.internal.getWidth(A)||0;return t.BBox=[0,0,Number(TA(e)),Number(TA(r))],t},jA=kA.__acroform__.setBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return A|1<<t},PA=kA.__acroform__.clearBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return A&~(1<<t)},JA=kA.__acroform__.getBit=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(A&1<<t)?0:1},XA=kA.__acroform__.getBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return JA(A,t-1)},YA=kA.__acroform__.setBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return jA(A,t-1)},WA=kA.__acroform__.clearBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return PA(A,t-1)},zA=kA.__acroform__.calculateCoordinates=function(A,t){var r=t.internal.getHorizontalCoordinate,e=t.internal.getVerticalCoordinate,n=A[0],i=A[1],s=A[2],o=A[3],a={};return a.lowerLeft_X=r(n)||0,a.lowerLeft_Y=e(i+o)||0,a.upperRight_X=r(n+s)||0,a.upperRight_Y=e(i)||0,[Number(TA(a.lowerLeft_X)),Number(TA(a.lowerLeft_Y)),Number(TA(a.upperRight_X)),Number(TA(a.upperRight_Y))]},ZA=function(A){if(A.appearanceStreamContent)return A.appearanceStreamContent;if(A.V||A.DV){var t=[],r=_A(A,A._V||A.DV),e=A.scope.internal.getFont(A.fontName,A.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(A.scope.__private__.encodeColorString(A.color)),t.push("/"+e+" "+TA(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var n=RA(A);return n.scope=A.scope,n.stream=t.join("\n"),n}},_A=function(A,t){var r=0===A.fontSize?A.maxFontSize:A.fontSize,e={text:"",fontSize:""},n=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");n=n.map(A.multiline?function(A){return A.split("\n")}:function(A){return[A]});var i=r,s=dt.internal.getHeight(A)||0;s=s<0?-s:s;var o=dt.internal.getWidth(A)||0;o=o<0?-o:o;var a=function(t,r,e){return t+1<n.length&&$A(r+" "+n[t+1][0],A,e).width<=o-4};i++;A:for(;i>0;){t="",i--;var u,c,B=$A("3",A,i).height,f=A.multiline?s-i:(s-B)/2,h=f+=2,l=0,w=0,g=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+$A(t,A,i=12).width+", FieldWidth:"+o+"\n";break}for(var Q="",F=0,U=0;U<n.length;U++)if(n.hasOwnProperty(U)){var d=!1;if(1!==n[U].length&&g!==n[U].length-1){if((B+2)*(F+2)+2>s)continue A;Q+=n[U][g],d=!0,w=U,U--}else{Q=" "==(Q+=n[U][g]+" ").substr(Q.length-1)?Q.substr(0,Q.length-1):Q;var C=parseInt(U),v=a(C,Q,i),p=U>=n.length-1;if(v&&!p){Q+=" ",g=0;continue}if(v||p){if(p)w=C;else if(A.multiline&&(B+2)*(F+2)+2>s)continue A}else{if(!A.multiline)continue A;if((B+2)*(F+2)+2>s)continue A;w=C}}for(var m="",L=l;L<=w;L++){var b=n[L];if(A.multiline){if(L===w){m+=b[g]+" ",g=(g+1)%b.length;continue}if(L===l){m+=b[b.length-1]+" ";continue}}m+=b[0]+" "}switch(m=" "==m.substr(m.length-1)?m.substr(0,m.length-1):m,c=$A(m,A,i).width,A.textAlign){case"right":u=o-c-2;break;case"center":u=(o-c)/2;break;case"left":default:u=2}t+=TA(u)+" "+TA(h)+" Td\n",t+="("+xA(m)+") Tj\n",t+=-TA(u)+" 0 Td\n",h=-(i+2),c=0,l=d?w:w+1,F++,Q=""}break}return e.text=t,e.fontSize=i,e},$A=function(A,t,r){var e=t.scope.internal.getFont(t.fontName,t.fontStyle),n=t.scope.getStringUnitWidth(A,{font:e,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:e,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:n}},At={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},tt=function(A,t){var r={type:"reference",object:A};void 0===t.internal.getPageInfo(A.page).pageContext.annotations.find((function(A){return A.type===r.type&&A.object===r.object}))&&t.internal.getPageInfo(A.page).pageContext.annotations.push(r)},rt=function(A,t){if(t.scope=A,void 0!==A.internal&&(void 0===A.internal.acroformPlugin||!1===A.internal.acroformPlugin.isInitialized)){if(at.FieldNum=0,A.internal.acroformPlugin=JSON.parse(JSON.stringify(At)),A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");DA=A.internal.scaleFactor,A.internal.acroformPlugin.acroFormDictionaryRoot=new ot,A.internal.acroformPlugin.acroFormDictionaryRoot.scope=A,A.internal.acroformPlugin.acroFormDictionaryRoot._eventID=A.internal.events.subscribe("postPutResources",(function(){!function(A){A.internal.events.unsubscribe(A.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete A.internal.acroformPlugin.acroFormDictionaryRoot._eventID,A.internal.acroformPlugin.printedOut=!0}(A)})),A.internal.events.subscribe("buildDocument",(function(){!function(A){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var e=t[r];e.objId=void 0,e.hasAnnotation&&tt(e,A)}}(A)})),A.internal.events.subscribe("putCatalog",(function(){!function(A){if(void 0===A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(A)})),A.internal.events.subscribe("postPutPages",(function(t){!function(A,t){var r=!A;for(var e in A||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),A=A||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(A.hasOwnProperty(e)){var n=A[e],i=[],s=n.Rect;if(n.Rect&&(n.Rect=zA(n.Rect,t)),t.internal.newObjectDeferredBegin(n.objId,!0),n.DA=dt.createDefaultAppearanceStream(n),"object"===w(n)&&"function"==typeof n.getKeyValueListForStream&&(i=n.getKeyValueListForStream()),n.Rect=s,n.hasAppearanceStream&&!n.appearanceStreamContent){var o=ZA(n);i.push({key:"AP",value:"<</N "+o+">>"}),t.internal.acroformPlugin.xForms.push(o)}if(n.appearanceStreamContent){var a="";for(var u in n.appearanceStreamContent)if(n.appearanceStreamContent.hasOwnProperty(u)){var c=n.appearanceStreamContent[u];if(a+="/"+u+" ",a+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var e in c)if(c.hasOwnProperty(e)){var B=c[e];"function"==typeof B&&(B=B.call(t,n)),a+="/"+e+" "+B+" ",t.internal.acroformPlugin.xForms.indexOf(B)>=0||t.internal.acroformPlugin.xForms.push(B)}}else"function"==typeof(B=c)&&(B=B.call(t,n)),a+="/"+e+" "+B,t.internal.acroformPlugin.xForms.indexOf(B)>=0||t.internal.acroformPlugin.xForms.push(B);a+=">>"}i.push({key:"AP",value:"<<\n"+a+">>"})}t.internal.putStream({additionalKeyValues:i,objectId:n.objId}),t.internal.out("endobj")}r&&function(A,t){for(var r in A)if(A.hasOwnProperty(r)){var e=r,n=A[r];t.internal.newObjectDeferredBegin(n.objId,!0),"object"===w(n)&&"function"==typeof n.putStream&&n.putStream(),delete A[e]}}(t.internal.acroformPlugin.xForms,t)}(t,A)})),A.internal.acroformPlugin.isInitialized=!0}},et=kA.__acroform__.arrayToPdfArray=function(A,t,r){var e=function(A){return A};if(Array.isArray(A)){for(var n="[",i=0;i<A.length;i++)switch(0!==i&&(n+=" "),w(A[i])){case"boolean":case"number":case"object":n+=A[i].toString();break;case"string":"/"!==A[i].substr(0,1)?(void 0!==t&&r&&(e=r.internal.getEncryptor(t)),n+="("+xA(e(A[i].toString()))+")"):n+=A[i].toString()}return n+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},nt=function(A,t,r){var e=function(A){return A};return void 0!==t&&r&&(e=r.internal.getEncryptor(t)),(A=A||"").toString(),"("+xA(e(A))+")"},it=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(A){this._objId=A}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};it.prototype.toString=function(){return this.objId+" 0 R"},it.prototype.putStream=function(){var A=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:A,objectId:this.objId}),this.scope.internal.out("endobj")},it.prototype.getKeyValueListForStream=function(){var A=[],t=Object.getOwnPropertyNames(this).filter((function(A){return"content"!=A&&"appearanceStreamContent"!=A&&"scope"!=A&&"objId"!=A&&"_"!=A.substring(0,1)}));for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var e=t[r],n=this[e];n&&(Array.isArray(n)?A.push({key:e,value:et(n,this.objId,this.scope)}):n instanceof it?(n.scope=this.scope,A.push({key:e,value:n.objId+" 0 R"})):"function"!=typeof n&&A.push({key:e,value:n}))}return A};var st=function(){it.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var A,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){A=t.trim()},get:function(){return A||null}})};qA(st,it);var ot=function(){it.call(this);var A,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(A){var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+xA(t(A))+")"}},set:function(t){A=t}})};qA(ot,it);var at=function A(){it.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute F supplied.');t=A}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(t,3))},set:function(A){this.F=!0===Boolean(A)?YA(t,3):WA(t,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute Ff supplied.');r=A}});var e=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==e.length)return e},set:function(A){e=void 0!==A?A:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!e||isNaN(e[0])?0:e[0]},set:function(A){e[0]=A}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!e||isNaN(e[1])?0:e[1]},set:function(A){e[1]=A}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!e||isNaN(e[2])?0:e[2]},set:function(A){e[2]=A}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!e||isNaN(e[3])?0:e[3]},set:function(A){e[3]=A}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(A){switch(A){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=A;break;default:throw new Error('Invalid value "'+A+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof gt)return;i="FieldObject"+A.FieldNum++}var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+xA(t(i))+")"},set:function(A){i=A.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(A){i=A}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(A){s=A}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(A){o=A}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(A){a=A}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/DA:u},set:function(A){u=A}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(A){c=A}});var B="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!B||this instanceof gt||this instanceof Ft))return nt(B,this.objId,this.scope)},set:function(A){A=A.toString(),B=A}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ht==0?nt(f,this.objId,this.scope):f},set:function(A){A=A.toString(),f=this instanceof ht==0?"("===A.substr(0,1)?OA(A.substr(1,A.length-2)):OA(A):A}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==1?OA(f.substr(1,f.length-1)):f},set:function(A){A=A.toString(),f=this instanceof ht==1?"/"+A:A}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(A){this.V=A}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ht==0?nt(h,this.objId,this.scope):h},set:function(A){A=A.toString(),h=this instanceof ht==0?"("===A.substr(0,1)?OA(A.substr(1,A.length-2)):OA(A):A}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==1?OA(h.substr(1,h.length-1)):h},set:function(A){A=A.toString(),h=this instanceof ht==1?"/"+A:A}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var l,w=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return w},set:function(A){A=Boolean(A),w=A}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(l)return l},set:function(A){l=A}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,1))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,1):WA(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,2))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,2):WA(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,3))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,3):WA(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(A){if(-1===[0,1,2].indexOf(A))throw new Error('Invalid value "'+A+'" for attribute Q supplied.');g=A}}),Object.defineProperty(this,"textAlign",{get:function(){var A;switch(g){case 0:default:A="left";break;case 1:A="center";break;case 2:A="right"}return A},configurable:!0,enumerable:!0,set:function(A){switch(A){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};qA(at,it);var ut=function(){at.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var A=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){A=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return et(t,this.objId,this.scope)},set:function(A){var r,e;e=[],"string"==typeof(r=A)&&(e=function(A,t,r){r||(r=1);for(var e,n=[];e=t.exec(A);)n.push(e[r]);return n}(r,/\((.*?)\)/g)),t=e}}),this.getOptions=function(){return t},this.setOptions=function(A){t=A,this.sort&&t.sort()},this.addOption=function(A){A=(A=A||"").toString(),t.push(A),this.sort&&t.sort()},this.removeOption=function(A,r){for(r=r||!1,A=(A=A||"").toString();-1!==t.indexOf(A)&&(t.splice(t.indexOf(A),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,18))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,18):WA(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,19))},set:function(A){!0===this.combo&&(this.Ff=!0===Boolean(A)?YA(this.Ff,19):WA(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,20))},set:function(A){!0===Boolean(A)?(this.Ff=YA(this.Ff,20),t.sort()):this.Ff=WA(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,22))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,22):WA(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,23))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,23):WA(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,27))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,27):WA(this.Ff,27)}}),this.hasAppearanceStream=!1};qA(ut,at);var ct=function(){ut.call(this),this.fontName="helvetica",this.combo=!1};qA(ct,ut);var Bt=function(){ct.call(this),this.combo=!0};qA(Bt,ct);var ft=function(){Bt.call(this),this.edit=!0};qA(ft,Bt);var ht=function(){at.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,15))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,15):WA(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,16))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,16):WA(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,17))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,17):WA(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,26))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,26):WA(this.Ff,26)}});var A,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};if(this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,e=[];for(r in e.push("<<"),t)e.push("/"+r+" ("+xA(A(t[r]))+")");return e.push(">>"),e.join("\n")}},set:function(A){"object"===w(A)&&(t=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(A){"string"==typeof A&&(t.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(t){A="/"+t}})};qA(ht,at);var lt=function(){ht.call(this),this.pushButton=!0};qA(lt,ht);var wt=function(){ht.call(this),this.radio=!0,this.pushButton=!1;var A=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=void 0!==t?t:[]}})};qA(wt,ht);var gt=function(){var A,t;at.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(A){t=A}});var r,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};this.scope&&(A=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),e)r.push("/"+t+" ("+xA(A(e[t]))+")");return r.push(">>"),r.join("\n")},set:function(A){"object"===w(A)&&(e=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(A){"string"==typeof A&&(e.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(A){r=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(A){r="/"+A}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=dt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};qA(gt,at),wt.prototype.setAppearance=function(A){if(!("createAppearanceStream"in A)||!("getCA"in A))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=A.createAppearanceStream(r.optionName),r.caption=A.getCA()}},wt.prototype.createOption=function(A){var t=new gt;return t.Parent=this,t.optionName=A,this.Kids.push(t),Ct.call(this.scope,t),t};var Qt=function(){ht.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=dt.CheckBox.createAppearanceStream()};qA(Qt,ht);var Ft=function(){at.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,13))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,13):WA(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,21))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,21):WA(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,23))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,23):WA(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,24))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,24):WA(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,25))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,25):WA(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,26))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,26):WA(this.Ff,26)}});var A=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){Number.isInteger(t)&&(A=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};qA(Ft,at);var Ut=function(){Ft.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(XA(this.Ff,14))},set:function(A){this.Ff=!0===Boolean(A)?YA(this.Ff,14):WA(this.Ff,14)}}),this.password=!0};qA(Ut,Ft);var dt={CheckBox:{createAppearanceStream:function(){return{N:{On:dt.CheckBox.YesNormal},D:{On:dt.CheckBox.YesPushDown,Off:dt.CheckBox.OffPushDown}}},YesPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=[],e=A.scope.internal.getFont(A.fontName,A.fontStyle).id,n=A.scope.__private__.encodeColorString(A.color),i=_A(A,A.caption);return r.push("0.749023 g"),r.push("0 0 "+TA(dt.internal.getWidth(A))+" "+TA(dt.internal.getHeight(A))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+e+" "+TA(i.fontSize)+" Tf "+n),r.push("BT"),r.push(i.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(A){var t=RA(A);t.scope=A.scope;var r=A.scope.internal.getFont(A.fontName,A.fontStyle).id,e=A.scope.__private__.encodeColorString(A.color),n=[],i=dt.internal.getHeight(A),s=dt.internal.getWidth(A),o=_A(A,A.caption);return n.push("1 g"),n.push("0 0 "+TA(s)+" "+TA(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+TA(s-1)+" "+TA(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+r+" "+TA(o.fontSize)+" Tf "+e),n.push(o.text),n.push("ET"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+TA(dt.internal.getWidth(A))+" "+TA(dt.internal.getHeight(A))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(A){var t={D:{Off:dt.RadioButton.Circle.OffPushDown},N:{}};return t.N[A]=dt.RadioButton.Circle.YesNormal,t.D[A]=dt.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(A){var t=RA(A);t.scope=A.scope;var r=[],e=dt.internal.getWidth(A)<=dt.internal.getHeight(A)?dt.internal.getWidth(A)/4:dt.internal.getHeight(A)/4;e=Number((.9*e).toFixed(5));var n=Number((e*dt.internal.Bezier_C).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+GA(dt.internal.getWidth(A)/2)+" "+GA(dt.internal.getHeight(A)/2)+" cm"),r.push(e+" 0 m"),r.push(e+" "+n+" "+n+" "+e+" 0 "+e+" c"),r.push("-"+n+" "+e+" -"+e+" "+n+" -"+e+" 0 c"),r.push("-"+e+" -"+n+" -"+n+" -"+e+" 0 -"+e+" c"),r.push(n+" -"+e+" "+e+" -"+n+" "+e+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=[],e=dt.internal.getWidth(A)<=dt.internal.getHeight(A)?dt.internal.getWidth(A)/4:dt.internal.getHeight(A)/4;e=Number((.9*e).toFixed(5));var n=Number((2*e).toFixed(5)),i=Number((n*dt.internal.Bezier_C).toFixed(5)),s=Number((e*dt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+GA(dt.internal.getWidth(A)/2)+" "+GA(dt.internal.getHeight(A)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+GA(dt.internal.getWidth(A)/2)+" "+GA(dt.internal.getHeight(A)/2)+" cm"),r.push(e+" 0 m"),r.push(e+" "+s+" "+s+" "+e+" 0 "+e+" c"),r.push("-"+s+" "+e+" -"+e+" "+s+" -"+e+" 0 c"),r.push("-"+e+" -"+s+" -"+s+" -"+e+" 0 -"+e+" c"),r.push(s+" -"+e+" "+e+" -"+s+" "+e+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=[],e=dt.internal.getWidth(A)<=dt.internal.getHeight(A)?dt.internal.getWidth(A)/4:dt.internal.getHeight(A)/4;e=Number((.9*e).toFixed(5));var n=Number((2*e).toFixed(5)),i=Number((n*dt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+GA(dt.internal.getWidth(A)/2)+" "+GA(dt.internal.getHeight(A)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(A){var t={D:{Off:dt.RadioButton.Cross.OffPushDown},N:{}};return t.N[A]=dt.RadioButton.Cross.YesNormal,t.D[A]=dt.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(A){var t=RA(A);t.scope=A.scope;var r=[],e=dt.internal.calculateCross(A);return r.push("q"),r.push("1 1 "+TA(dt.internal.getWidth(A)-2)+" "+TA(dt.internal.getHeight(A)-2)+" re"),r.push("W"),r.push("n"),r.push(TA(e.x1.x)+" "+TA(e.x1.y)+" m"),r.push(TA(e.x2.x)+" "+TA(e.x2.y)+" l"),r.push(TA(e.x4.x)+" "+TA(e.x4.y)+" m"),r.push(TA(e.x3.x)+" "+TA(e.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=dt.internal.calculateCross(A),e=[];return e.push("0.749023 g"),e.push("0 0 "+TA(dt.internal.getWidth(A))+" "+TA(dt.internal.getHeight(A))+" re"),e.push("f"),e.push("q"),e.push("1 1 "+TA(dt.internal.getWidth(A)-2)+" "+TA(dt.internal.getHeight(A)-2)+" re"),e.push("W"),e.push("n"),e.push(TA(r.x1.x)+" "+TA(r.x1.y)+" m"),e.push(TA(r.x2.x)+" "+TA(r.x2.y)+" l"),e.push(TA(r.x4.x)+" "+TA(r.x4.y)+" m"),e.push(TA(r.x3.x)+" "+TA(r.x3.y)+" l"),e.push("s"),e.push("Q"),t.stream=e.join("\n"),t},OffPushDown:function(A){var t=RA(A);t.scope=A.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+TA(dt.internal.getWidth(A))+" "+TA(dt.internal.getHeight(A))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(A){var t=A.scope.internal.getFont(A.fontName,A.fontStyle).id,r=A.scope.__private__.encodeColorString(A.color);return"/"+t+" "+A.fontSize+" Tf "+r}};dt.internal={Bezier_C:.551915024494,calculateCross:function(A){var t=dt.internal.getWidth(A),r=dt.internal.getHeight(A),e=Math.min(t,r);return{x1:{x:(t-e)/2,y:(r-e)/2+e},x2:{x:(t-e)/2+e,y:(r-e)/2},x3:{x:(t-e)/2,y:(r-e)/2},x4:{x:(t-e)/2+e,y:(r-e)/2+e}}}},dt.internal.getWidth=function(A){var t=0;return"object"===w(A)&&(t=VA(A.Rect[2])),t},dt.internal.getHeight=function(A){var t=0;return"object"===w(A)&&(t=VA(A.Rect[3])),t};var Ct=kA.addField=function(A){if(rt(this,A),!(A instanceof at))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=A).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),A.page=A.scope.internal.getCurrentPageInfo().pageNumber,this};function vt(A){return A.reduce((function(A,t,r){return A[t]=r,A}),{})}kA.AcroFormChoiceField=ut,kA.AcroFormListBox=ct,kA.AcroFormComboBox=Bt,kA.AcroFormEditBox=ft,kA.AcroFormButton=ht,kA.AcroFormPushButton=lt,kA.AcroFormRadioButton=wt,kA.AcroFormCheckBox=Qt,kA.AcroFormTextField=Ft,kA.AcroFormPasswordField=Ut,kA.AcroFormAppearance=dt,kA.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:Bt,EditBox:ft,Button:ht,PushButton:lt,RadioButton:wt,CheckBox:Qt,TextField:Ft,PasswordField:Ut,Appearance:dt},MA.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:Bt,EditBox:ft,Button:ht,PushButton:lt,RadioButton:wt,CheckBox:Qt,TextField:Ft,PasswordField:Ut,Appearance:dt},function(A){A.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},e=A.__addimage__.getImageFileTypeByImageData=function(A,e){var n,i,s,o,a,u=t;if("RGBA"===(e=e||t)||void 0!==A.data&&A.data instanceof Uint8ClampedArray&&"height"in A&&"width"in A)return"RGBA";if(p(A))for(a in r)for(s=r[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A[i]){o=!1;break}if(!0===o){u=a;break}}else for(a in r)for(s=r[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A.charCodeAt(i)){o=!1;break}if(!0===o){u=a;break}}return u===t&&e!==t&&(u=e),u},n=function A(t){for(var r=this.internal.write,e=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===Q.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===Q.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var s="",o=0,a=t.transparency.length;o<a;o++)s+=t.transparency[o]+" "+t.transparency[o]+" ";i.push({key:"Mask",value:"["+s+"]"})}if(void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"}),e({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:void 0!==t.filter?["/"+t.filter]:void 0,objectId:t.objectId}),r("endobj"),"sMask"in t&&void 0!==t.sMask){var u={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:"/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,data:t.sMask};"filter"in t&&(u.filter=t.filter),A.call(this,u)}if(t.colorSpace===Q.INDEXED){var c=this.internal.newObject();e({data:L(new Uint8Array(t.palette)),objectId:c}),r("endobj")}},i=function(){var A=this.internal.collections.addImage_images;for(var t in A)n.call(this,A[t])},s=function(){var A,t=this.internal.collections.addImage_images,r=this.internal.write;for(var e in t)r("/I"+(A=t[e]).index,A.objectId,"0","R")},o=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",s))},a=function(){var A=this.internal.collections.addImage_images;return o.call(this),A},u=function(){return Object.keys(this.internal.collections.addImage_images).length},c=function(t){return"function"==typeof A["process"+t.toUpperCase()]},B=function(A){return"object"===w(A)&&1===A.nodeType},f=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var e=""+t.getAttribute("src");if(0===e.indexOf("data:image/"))return oA(unescape(e).split("base64,").pop());var n=A.loadFile(e,!0);if(void 0!==n)return n}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(r){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;case"JPEG":case"JPG":default:i="image/jpeg"}return oA(t.toDataURL(i,1).split("base64,").pop())}},h=function(A){var t=this.internal.collections.addImage_images;if(t)for(var r in t)if(A===t[r].alias)return t[r]},l=function(A,t,r){return A||t||(A=-96,t=-96),A<0&&(A=-1*r.width*72/A/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===A&&(A=t*r.width/r.height),0===t&&(t=A*r.height/r.width),[A,t]},g=function(A,t,r,e,n,i){var s=l.call(this,r,e,n),o=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,c=a.call(this);if(r=s[0],e=s[1],c[n.index]=n,i){i*=Math.PI/180;var B=Math.cos(i),f=Math.sin(i),h=function(A){return A.toFixed(4)},w=[h(B),h(f),h(-1*f),h(B),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,o(A),u(t+e),"cm"].join(" ")),this.internal.write(w.join(" ")),this.internal.write([o(r),"0","0",o(e),"0","0","cm"].join(" "))):this.internal.write([o(r),"0","0",o(e),o(A),u(t+e),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+n.index+" Do"),this.internal.write("Q")},Q=A.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};A.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var F=A.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},U=A.__addimage__.sHashCode=function(A){var t,r,e=0;if("string"==typeof A)for(r=A.length,t=0;t<r;t++)e=(e<<5)-e+A.charCodeAt(t),e|=0;else if(p(A))for(r=A.byteLength/2,t=0;t<r;t++)e=(e<<5)-e+A[t],e|=0;return e},d=A.__addimage__.validateStringAsBase64=function(A){(A=A||"").toString().trim();var t=!0;return 0===A.length&&(t=!1),A.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(A.substr(0,A.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(A.substr(-2))&&(t=!1),t},C=A.__addimage__.extractImageFromDataUrl=function(A){var t=(A=A||"").split("base64,"),r=null;if(2===t.length){var e=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(e)&&(r={mimeType:e[1],charset:e[2],data:t[1]})}return r},v=A.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};A.__addimage__.isArrayBuffer=function(A){return v()&&A instanceof ArrayBuffer};var p=A.__addimage__.isArrayBufferView=function(A){return v()&&"undefined"!=typeof Uint32Array&&(A instanceof Int8Array||A instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array)},m=A.__addimage__.binaryStringToUint8Array=function(A){for(var t=A.length,r=new Uint8Array(t),e=0;e<t;e++)r[e]=A.charCodeAt(e);return r},L=A.__addimage__.arrayBufferToBinaryString=function(A){for(var t="",r=p(A)?A:new Uint8Array(A),e=0;e<r.length;e+=8192)t+=String.fromCharCode.apply(null,r.subarray(e,e+8192));return t};A.addImage=function(){var A,r,e,n,i,s,a,u,c;if("number"==typeof arguments[1]?(r=t,e=arguments[1],n=arguments[2],i=arguments[3],s=arguments[4],a=arguments[5],u=arguments[6],c=arguments[7]):(r=arguments[1],e=arguments[2],n=arguments[3],i=arguments[4],s=arguments[5],a=arguments[6],u=arguments[7],c=arguments[8]),"object"===w(A=arguments[0])&&!B(A)&&"imageData"in A){var f=A;A=f.imageData,r=f.format||r||t,e=f.x||e||0,n=f.y||n||0,i=f.w||f.width||i,s=f.h||f.height||s,a=f.alias||a,u=f.compression||u,c=f.rotation||f.angle||c}var h=this.internal.getFilters();if(void 0===u&&-1!==h.indexOf("FlateEncode")&&(u="SLOW"),isNaN(e)||isNaN(n))throw new Error("Invalid coordinates passed to jsPDF.addImage");o.call(this);var l=b.call(this,A,r,a,u);return g.call(this,e,n,i,s,l,c),this};var b=function(r,n,i,s){var o,a,l;if("string"==typeof r&&e(r)===t){r=unescape(r);var w=H(r,!1);(""!==w||void 0!==(w=A.loadFile(r,!0)))&&(r=w)}if(B(r)&&(r=f(r,n)),n=e(r,n),!c(n))throw new Error("addImage does not support files of type '"+n+"', please ensure that a plugin for '"+n+"' support is added.");if((null==(l=i)||0===l.length)&&(i=function(A){return"string"==typeof A||p(A)?U(A):p(A.data)?U(A.data):null}(r)),(o=h.call(this,i))||(v()&&(r instanceof Uint8Array||"RGBA"===n||(a=r,r=m(r))),o=this["process"+n.toUpperCase()](r,u.call(this),i,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in A.image_compression?t:F.NONE}(s),a)),!o)throw new Error("An unknown error occurred whilst processing the image.");return o},H=A.__addimage__.convertBase64ToBinaryString=function(A,t){var r;t="boolean"!=typeof t||t;var e,n="";if("string"==typeof A){e=null!==(r=C(A))?r.data:A;try{n=oA(e)}catch(A){if(t)throw d(e)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+A.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return n};A.getImageProperties=function(r){var n,i,s="";if(B(r)&&(r=f(r)),"string"==typeof r&&e(r)===t&&(""===(s=H(r,!1))&&(s=A.loadFile(r)||""),r=s),i=e(r),!c(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(!v()||r instanceof Uint8Array||(r=m(r)),!(n=this["process"+i.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return n.fileType=i,n}}(MA.API),
|
86
|
+
/**
|
87
|
+
* @license
|
88
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
89
|
+
*
|
90
|
+
* Licensed under the MIT License.
|
91
|
+
* http://opensource.org/licenses/mit-license
|
92
|
+
*/
|
93
|
+
function(A){var t=function(A){if(void 0!==A&&""!=A)return!0};MA.API.events.push(["addPage",function(A){this.internal.getPageInfo(A.pageNumber).pageContext.annotations=[]}]),A.events.push(["putPage",function(A){for(var r,e,n,i=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(A.objId),a=A.pageContext.annotations,u=!1,c=0;c<a.length&&!u;c++)switch((r=a[c]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var B=0;B<a.length;B++){r=a[B];var f=this.internal.pdfEscape,h=this.internal.getEncryptor(A.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var l=this.internal.newAdditionalObject(),w=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(l.objId),Q=r.title||"Note";n="<</Type /Annot /Subtype /Text "+(e="/Rect ["+i(r.bounds.x)+" "+s(r.bounds.y+r.bounds.h)+" "+i(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y)+"] ")+"/Contents ("+f(g(r.contents))+")",n+=" /Popup "+w.objId+" 0 R",n+=" /P "+o.objId+" 0 R",n+=" /T ("+f(g(Q))+") >>",l.content=n;var F=l.objId+" 0 R";n="<</Type /Annot /Subtype /Popup "+(e="/Rect ["+i(r.bounds.x+30)+" "+s(r.bounds.y+r.bounds.h)+" "+i(r.bounds.x+r.bounds.w+30)+" "+s(r.bounds.y)+"] ")+" /Parent "+F,r.open&&(n+=" /Open true"),w.content=n+=" >>",this.internal.write(l.objId,"0 R",w.objId,"0 R");break;case"freetext":e="/Rect ["+i(r.bounds.x)+" "+s(r.bounds.y)+" "+i(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y+r.bounds.h)+"] ";var U=r.color||"#000000";n="<</Type /Annot /Subtype /FreeText "+e+"/Contents ("+f(h(r.contents))+")",n+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+U+")",n+=" /Border [0 0 0]",this.internal.write(n+=" >>");break;case"link":if(r.options.name){var d=this.annotations._nameMap[r.options.name];r.options.pageNumber=d.page,r.options.top=d.y}else r.options.top||(r.options.top=0);if(e="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",n="",r.options.url)n="<</Type /Annot /Subtype /Link "+e+"/Border [0 0 0] /A <</S /URI /URI ("+f(h(r.options.url))+") >>";else if(r.options.pageNumber)switch(n="<</Type /Annot /Subtype /Link "+e+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":n+=" /Fit]";break;case"FitH":n+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,n+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var C=s(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),n+=" /XYZ "+r.options.left+" "+C+" "+r.options.zoom+"]"}""!=n&&this.internal.write(n+=" >>")}}this.internal.write("]")}}]),A.createAnnotation=function(A){var t=this.internal.getCurrentPageInfo();switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":t.pageContext.annotations.push(A)}},A.link=function(A,t,r,e,n){var i=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:s(A),y:o(t),w:s(A+r),h:o(t+e)},options:n,type:"link"})},A.textWithLink=function(A,t,r,e){var n,i,s=this.getTextWidth(A),o=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==e.maxWidth){var a=this.splitTextToSize(A,i=e.maxWidth).length;n=Math.ceil(o*a)}else i=s,n=o;return this.text(A,t,r,e),"center"===e.align&&(t-=s/2),"right"===e.align&&(t-=s),this.link(t,(r+=.2*o)-o,i,n,e),s},A.getTextWidth=function(A){var t=this.internal.getFontSize();return this.getStringUnitWidth(A)*t/this.internal.scaleFactor}}(MA.API),
|
94
|
+
/**
|
95
|
+
* @license
|
96
|
+
* Copyright (c) 2017 Aras Abbasi
|
97
|
+
*
|
98
|
+
* Licensed under the MIT License.
|
99
|
+
* http://opensource.org/licenses/mit-license
|
100
|
+
*/
|
101
|
+
function(A){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},e={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];A.__arabicParser__={};var i=A.__arabicParser__.isInArabicSubstitutionA=function(A){return void 0!==t[A.charCodeAt(0)]},s=A.__arabicParser__.isArabicLetter=function(A){return"string"==typeof A&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(A)},o=A.__arabicParser__.isArabicEndLetter=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length<=2},a=A.__arabicParser__.isArabicAlfLetter=function(A){return s(A)&&n.indexOf(A.charCodeAt(0))>=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=1};var u=A.__arabicParser__.arabicLetterHasFinalForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=3};var c=A.__arabicParser__.arabicLetterHasMedialForm=function(A){return s(A)&&i(A)&&4==t[A.charCodeAt(0)].length},B=A.__arabicParser__.resolveLigatures=function(A){var t=0,e=r,n="",i=0;for(t=0;t<A.length;t+=1)void 0!==e[A.charCodeAt(t)]?(i++,"number"==typeof(e=e[A.charCodeAt(t)])&&(n+=String.fromCharCode(e),e=r,i=0),t===A.length-1&&(e=r,n+=A.charAt(t-(i-1)),t-=i-1,i=0)):(e=r,n+=A.charAt(t-i),t-=i,i=0);return n};A.__arabicParser__.isArabicDiacritic=function(A){return void 0!==A&&void 0!==e[A.charCodeAt(0)]};var f=A.__arabicParser__.getCorrectForm=function(A,t,r){return s(A)?!1===i(A)?-1:!u(A)||!s(t)&&!s(r)||!s(r)&&o(t)||o(A)&&!s(t)||o(A)&&a(t)||o(A)&&o(t)?0:c(A)&&s(t)&&!o(t)&&s(r)&&u(r)?3:o(A)||!s(r)?1:2:-1},h=function(A){var r=0,e=0,n=0,i="",o="",a="",u=(A=A||"").split("\\s+"),c=[];for(r=0;r<u.length;r+=1){for(c.push(""),e=0;e<u[r].length;e+=1)o=u[r][e-1],a=u[r][e+1],s(i=u[r][e])?(n=f(i,o,a),c[r]+=-1!==n?String.fromCharCode(t[i.charCodeAt(0)][n]):i):c[r]+=i;c[r]=B(c[r])}return c.join(" ")},l=A.__arabicParser__.processArabic=A.processArabic=function(){var A,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var e=0;for(r=[],e=0;e<t.length;e+=1)Array.isArray(t[e])?r.push([h(t[e][0]),t[e][1],t[e][2]]):r.push([h(t[e])]);A=r}else A=h(t);return"string"==typeof arguments[0]?A:(arguments[0].text=A,arguments[0])};A.events.push(["preProcessText",l])}(MA.API),MA.API.autoPrint=function(A){var t;switch((A=A||{}).variant=A.variant||"non-conform",A.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))}return this},
|
102
|
+
/**
|
103
|
+
* @license
|
104
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
105
|
+
*
|
106
|
+
* Licensed under the MIT License.
|
107
|
+
* http://opensource.org/licenses/mit-license
|
108
|
+
*/
|
109
|
+
function(A){var t=function(){var A=void 0;Object.defineProperty(this,"pdf",{get:function(){return A},set:function(t){A=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(A){t=isNaN(A)||!1===Number.isInteger(A)||A<0?150:A,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(A){r=isNaN(A)||!1===Number.isInteger(A)||A<0?300:A,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var e=[];Object.defineProperty(this,"childNodes",{get:function(){return e},set:function(A){e=A}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(A){n=A}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(A,t){var r;if("2d"!==(A=A||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(MA.API),function(A){var t={left:0,top:0,bottom:0,right:0},r=!1,e=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var A=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(A){t=A}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(A){r=A}});var e=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return e},set:function(A){e=A}});var n=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return n},set:function(A){n=A}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(A){i=A}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(A){s=A}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(A){return e.call(this),this.internal.__cell__.headerFunction="function"==typeof A?A:void 0,this},A.getTextDimensions=function(A,t){e.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,s=0,o=0,a=0,u=this;if(!Array.isArray(A)&&"string"!=typeof A){if("number"!=typeof A)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");A=String(A)}var c=t.maxWidth;c>0?"string"==typeof A?A=this.splitTextToSize(A,c):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(u.splitTextToSize(t,c))}),[])):A=Array.isArray(A)?A:[A];for(var B=0;B<A.length;B++)s<(a=this.getStringUnitWidth(A[B],{font:n})*r)&&(s=a);return 0!==s&&(o=A.length),{w:s/=i,h:Math.max((o*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/i,0)}},A.cellAddPage=function(){e.call(this),this.addPage();var A=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new i(A.left,A.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=A.cell=function(){var A;A=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),e.call(this);var n=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,o=this.internal.__cell__.margins||t,a=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===A.lineNumber?(A.x=(n.x||0)+(n.width||0),A.y=n.y||0):n.y+n.height+A.height+o.bottom>this.getPageHeight()?(this.cellAddPage(),A.y=o.top,u&&a&&(this.printHeaderRow(A.lineNumber,!0),A.y+=a[0].height)):A.y=n.y+n.height||A.y),void 0!==A.text[0]&&(this.rect(A.x,A.y,A.width,A.height,!0===r?"FD":void 0),"right"===A.align?this.text(A.text,A.x+A.width-s,A.y+s,{align:"right",baseline:"top"}):"center"===A.align?this.text(A.text,A.x+A.width/2,A.y+s,{align:"center",baseline:"top",maxWidth:A.width-s-s}):this.text(A.text,A.x+s,A.y+s,{align:"left",baseline:"top",maxWidth:A.width-s-s})),this.internal.__cell__.lastCell=A,this};A.table=function(A,r,a,u,c){if(e.call(this),!a)throw new Error("No data for PDF table.");var B,f,h,l,g=[],Q=[],F=[],U={},d={},C=[],v=[],p=(c=c||{}).autoSize||!1,m=!1!==c.printHeaders,L=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,b=c.margins||Object.assign({width:this.getPageWidth()},t),H="number"==typeof c.padding?c.padding:3,E=c.headerBackgroundColor||"#c8c8c8",y=c.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=m,this.internal.__cell__.margins=b,this.internal.__cell__.table_font_size=L,this.internal.__cell__.padding=H,this.internal.__cell__.headerBackgroundColor=E,this.internal.__cell__.headerTextColor=y,this.setFontSize(L),null==u)Q=g=Object.keys(a[0]),F=g.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===w(u[0]))for(g=u.map((function(A){return A.name})),Q=u.map((function(A){return A.prompt||A.name||""})),F=u.map((function(A){return A.align||"left"})),B=0;B<u.length;B+=1)d[u[B].name]=u[B].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(Q=g=u,F=g.map((function(){return"left"})));if(p||Array.isArray(u)&&"string"==typeof u[0])for(B=0;B<g.length;B+=1){for(U[l=g[B]]=a.map((function(A){return A[l]})),this.setFont(void 0,"bold"),C.push(this.getTextDimensions(Q[B],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=U[l],this.setFont(void 0,"normal"),h=0;h<f.length;h+=1)C.push(this.getTextDimensions(f[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);d[l]=Math.max.apply(null,C)+H+H,C=[]}if(m){var I={};for(B=0;B<g.length;B+=1)I[g[B]]={},I[g[B]].text=Q[B],I[g[B]].align=F[B];var N=o.call(this,I,d);v=g.map((function(t){return new i(A,r,d[t],N,I[t].text,void 0,I[t].align)})),this.setTableHeaderRow(v),this.printHeaderRow(1,!1)}var K=u.reduce((function(A,t){return A[t.name]=t.align,A}),{});for(B=0;B<a.length;B+=1){"rowStart"in c&&c.rowStart instanceof Function&&c.rowStart({row:B,data:a[B]},this);var S=o.call(this,a[B],d);for(h=0;h<g.length;h+=1){var M=a[B][g[h]];"cellStart"in c&&c.cellStart instanceof Function&&c.cellStart({row:B,col:h,data:M},this),s.call(this,new i(A,r,d[g[h]],S,M,B+2,K[g[h]]))}}return this.internal.__cell__.table_x=A,this.internal.__cell__.table_y=r,this};var o=function(A,t){var r=this.internal.__cell__.padding,e=this.internal.__cell__.table_font_size,n=this.internal.scaleFactor;return Object.keys(A).map((function(e){var n=A[e];return this.splitTextToSize(n.hasOwnProperty("text")?n.text:n,t[e]-r-r)}),this).map((function(A){return this.getLineHeightFactor()*A.length*e/n+r+r}),this).reduce((function(A,t){return Math.max(A,t)}),0)};A.setTableHeaderRow=function(A){e.call(this),this.internal.__cell__.tableHeaderRow=A},A.printHeaderRow=function(A,t){if(e.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var n;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var a=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){n=this.internal.__cell__.tableHeaderRow[u].clone(),t&&(n.y=this.internal.__cell__.margins.top||0,a.push(n)),n.lineNumber=A;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,n),this.setTextColor(c)}a.length>0&&this.setTableHeaderRow(a),this.setFont(void 0,"normal"),r=!1}}(MA.API);var pt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},mt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Lt=vt(mt),bt=[100,200,300,400,500,600,700,800,900],Ht=vt(bt);function Et(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),r=function(A){return pt[A=A||"normal"]?A:"normal"}(A.style),e=function(A){if(!A)return 400;if("number"==typeof A)return A>=100&&A<=900&&A%100==0?A:400;if(/^\d00$/.test(A))return parseInt(A);switch(A){case"bold":return 700;case"normal":default:return 400}}(A.weight),n=function(A){return"number"==typeof Lt[A=A||"normal"]?A:"normal"}(A.stretch);return{family:t,style:r,weight:e,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,r,e].join(" ")}}}function yt(A,t,r,e){var n;for(n=r;n>=0&&n<t.length;n+=e)if(A[t[n]])return A[t[n]];for(n=r;n>=0&&n<t.length;n-=e)if(A[t[n]])return A[t[n]]}var It={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Nt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Kt(A){return[A.stretch,A.style,A.weight,A.family].join(" ")}function St(A){return A.trimLeft()}function Mt(A,t){for(var r=0;r<A.length;){if(A.charAt(r)===t)return[A.substring(0,r),A.substring(r+1)];r+=1}return null}function kt(A){var t=A.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],A.substring(t[0].length)]}var Dt,xt,Ot,Tt,Gt=["times"];!function(A){var t,r,e,n,i,s,o,a,u,c=function(A){return this.isStrokeTransparent=(A=A||{}).isStrokeTransparent||!1,this.strokeOpacity=A.strokeOpacity||1,this.strokeStyle=A.strokeStyle||"#000000",this.fillStyle=A.fillStyle||"#000000",this.isFillTransparent=A.isFillTransparent||!1,this.fillOpacity=A.fillOpacity||1,this.font=A.font||"10px sans-serif",this.textBaseline=A.textBaseline||"alphabetic",this.textAlign=A.textAlign||"left",this.lineWidth=A.lineWidth||1,this.lineJoin=A.lineJoin||"miter",this.lineCap=A.lineCap||"butt",this.path=A.path||[],this.transform=void 0!==A.transform?A.transform.clone():new a,this.globalCompositeOperation=A.globalCompositeOperation||"normal",this.globalAlpha=A.globalAlpha||1,this.clip_path=A.clip_path||[],this.currentPoint=A.currentPoint||new s,this.miterLimit=A.miterLimit||10,this.lastPoint=A.lastPoint||new s,this.lineDashOffset=A.lineDashOffset||0,this.lineDash=A.lineDash||[],this.margin=A.margin||[0,0,0,0],this.prevPageLastElemOffset=A.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof A.ignoreClearRect||A.ignoreClearRect,this};A.events.push(["initialized",function(){this.context2d=new B(this),t=this.internal.f2,r=this.internal.getCoordinateString,e=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,o=this.internal.Rectangle,a=this.internal.Matrix,u=new c}]);var B=function(A){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=A;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(A){r=Boolean(A)}});var e=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return e},set:function(A){e=Boolean(A)}});var n=0;Object.defineProperty(this,"posX",{get:function(){return n},set:function(A){isNaN(A)||(n=A)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(A){isNaN(A)||(i=A)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(A){var t;"number"==typeof A?t=[A,A,A,A]:((t=new Array(4))[0]=A[0],t[1]=A.length>=2?A[1]:t[0],t[2]=A.length>=3?A[2]:t[0],t[3]=A.length>=4?A[3]:t[1]),u.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(A){s=A}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(A){o=A}});var a=[];Object.defineProperty(this,"pageBreaks",{get:function(){return a},set:function(A){a=A}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(A){A instanceof c&&(u=A)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(A){u.path=A}});var B=[];Object.defineProperty(this,"ctxStack",{get:function(){return B},set:function(A){B=A}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(A){var t;t=f(A),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(A){var t=f(A);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(t.r,t.g,t.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(A){-1!==["butt","round","square"].indexOf(A)&&(this.ctx.lineCap=A,this.pdf.setLineCap(A))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(A){isNaN(A)||(this.ctx.lineWidth=A,this.pdf.setLineWidth(A))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(A){-1!==["bevel","round","miter"].indexOf(A)&&(this.ctx.lineJoin=A,this.pdf.setLineJoin(A))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(A){isNaN(A)||(this.ctx.miterLimit=A,this.pdf.setMiterLimit(A))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(A){this.ctx.textBaseline=A}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(A){-1!==["right","end","center","left","start"].indexOf(A)&&(this.ctx.textAlign=A)}});var h=null;function l(A,t){if(null===h){var r=function(A){var t=[];return Object.keys(A).forEach((function(r){A[r].forEach((function(A){var e=null;switch(A){case"bold":e={family:r,weight:"bold"};break;case"italic":e={family:r,style:"italic"};break;case"bolditalic":e={family:r,weight:"bold",style:"italic"};break;case"":case"normal":e={family:r}}null!==e&&(e.ref={name:r,style:A},t.push(e))}))})),t}(A.getFontList());h=function(A){for(var t={},r=0;r<A.length;++r){var e=Et(A[r]),n=e.family,i=e.stretch,s=e.style,o=e.weight;t[n]=t[n]||{},t[n][i]=t[n][i]||{},t[n][i][s]=t[n][i][s]||{},t[n][i][s][o]=e}return t}(r.concat(t))}return h}var w=null;Object.defineProperty(this,"fontFaces",{get:function(){return w},set:function(A){h=null,w=A}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(A){var t;if(this.ctx.font=A,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(A))){var r=t[1],e=t[3],n=t[4],i=t[6],s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(n)[2];n="px"===s?Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(n)*this.pdf.getFontSize()):Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(n);var o=function(A){var t,r,e=[],n=A.trim();if(""===n)return Gt;if(n in Nt)return[Nt[n]];for(;""!==n;){switch(r=null,t=(n=St(n)).charAt(0)){case'"':case"'":r=Mt(n.substring(1),t);break;default:r=kt(n)}if(null===r)return Gt;if(e.push(r[0]),""!==(n=St(r[1]))&&","!==n.charAt(0))return Gt;n=n.replace(/^,/,"")}return e}(i);if(this.fontFaces){var a=function(A,t,r){for(var e=(r=r||{}).defaultFontFamily||"times",n=Object.assign({},It,r.genericFontFamilies||{}),i=null,s=null,o=0;o<t.length;++o)if(n[(i=Et(t[o])).family]&&(i.family=n[i.family]),A.hasOwnProperty(i.family)){s=A[i.family];break}if(!(s=s||A[e]))throw new Error("Could not find a font-family for the rule '"+Kt(i)+"' and default family '"+e+"'.");if(s=function(A,t){if(t[A])return t[A];var r=Lt[A],e=yt(t,mt,r,r<=Lt.normal?-1:1);if(!e)throw new Error("Could not find a matching font-stretch value for "+A);return e}(i.stretch,s),s=function(A,t){if(t[A])return t[A];for(var r=pt[A],e=0;e<r.length;++e)if(t[r[e]])return t[r[e]];throw new Error("Could not find a matching font-style for "+A)}(i.style,s),!(s=function(A,t){if(t[A])return t[A];if(400===A&&t[500])return t[500];if(500===A&&t[400])return t[400];var r=yt(t,bt,Ht[A],A<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+A);return r}(i.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Kt(i)+"'.");return s}(l(this.pdf,this.fontFaces),o.map((function(A){return{family:A,stretch:"normal",weight:e,style:r}})));this.pdf.setFont(a.ref.name,a.ref.style)}else{var u="";("bold"===e||parseInt(e,10)>=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var c="",B={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f<o.length;f++){if(void 0!==this.pdf.internal.getFont(o[f],u,{noFallback:!0,disableWarning:!0})){c=o[f];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(o[f],"bold",{noFallback:!0,disableWarning:!0}))c=o[f],u="bold";else if(void 0!==this.pdf.internal.getFont(o[f],"normal",{noFallback:!0,disableWarning:!0})){c=o[f],u="normal";break}}if(""===c)for(var h=0;h<o.length;h++)if(B[o[h]]){c=B[o[h]];break}this.pdf.setFont(c=""===c?"Times":c,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(A){this.ctx.globalCompositeOperation=A}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(A){this.ctx.globalAlpha=A}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(A){this.ctx.lineDashOffset=A,O.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(A){this.ctx.lineDash=A,O.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(A){this.ctx.ignoreClearRect=Boolean(A)}})};B.prototype.setLineDash=function(A){this.lineDash=A},B.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},B.prototype.fill=function(){C.call(this,"fill",!1)},B.prototype.stroke=function(){C.call(this,"stroke",!1)},B.prototype.beginPath=function(){this.path=[{type:"begin"}]},B.prototype.moveTo=function(A,t){if(isNaN(A)||isNaN(t))throw eA.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(A,t)},B.prototype.closePath=function(){var A=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===w(this.path[t+1])&&"number"==typeof this.path[t+1].x){A=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(A.x,A.y)},B.prototype.lineTo=function(A,t){if(isNaN(A)||isNaN(t))throw eA.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},B.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),C.call(this,null,!0)},B.prototype.quadraticCurveTo=function(A,t,r,e){if(isNaN(r)||isNaN(e)||isNaN(A)||isNaN(t))throw eA.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var n=this.ctx.transform.applyToPoint(new s(r,e)),i=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},B.prototype.bezierCurveTo=function(A,t,r,e,n,i){if(isNaN(n)||isNaN(i)||isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e))throw eA.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new s(n,i)),a=this.ctx.transform.applyToPoint(new s(A,t)),u=this.ctx.transform.applyToPoint(new s(r,e));this.path.push({type:"bct",x1:a.x,y1:a.y,x2:u.x,y2:u.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},B.prototype.arc=function(A,t,r,e,n,i){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||isNaN(n))throw eA.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new s(A,t));A=o.x,t=o.y;var a=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(a.x-u.x,2)+Math.pow(a.y-u.y,2))}Math.abs(n-e)>=2*Math.PI&&(e=0,n=2*Math.PI),this.path.push({type:"arc",x:A,y:t,radius:r,startAngle:e,endAngle:n,counterclockwise:i})},B.prototype.arcTo=function(){throw new Error("arcTo not implemented.")},B.prototype.rect=function(A,t,r,e){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e))throw eA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(A,t),this.lineTo(A+r,t),this.lineTo(A+r,t+e),this.lineTo(A,t+e),this.lineTo(A,t),this.lineTo(A+r,t),this.lineTo(A,t)},B.prototype.fillRect=function(A,t,r,e){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e))throw eA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(A,t,r,e),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},B.prototype.strokeRect=function(A,t,r,e){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e))throw eA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");l.call(this)||(this.beginPath(),this.rect(A,t,r,e),this.stroke())},B.prototype.clearRect=function(A,t,r,e){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e))throw eA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(A,t,r,e))},B.prototype.save=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),A){this.ctx.fontSize=this.pdf.internal.getFontSize();var e=new c(this.ctx);this.ctxStack.push(this.ctx),this.ctx=e}},B.prototype.restore=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),A&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},B.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(A){var t,r,e,n;if(!0===A.isCanvasGradient&&(A=A.getColor()),!A)return{r:0,g:0,b:0,a:0,style:A};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(A))t=0,r=0,e=0,n=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(A);if(null!==i)t=parseInt(i[1]),r=parseInt(i[2]),e=parseInt(i[3]),n=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A)))t=parseInt(i[1]),r=parseInt(i[2]),e=parseInt(i[3]),n=parseFloat(i[4]);else{if(n=1,"string"==typeof A&&"#"!==A.charAt(0)){var s=new cA(A);A=s.ok?s.toHex():"#000000"}4===A.length?(t=A.substring(1,2),t+=t,r=A.substring(2,3),r+=r,e=A.substring(3,4),e+=e):(t=A.substring(1,3),r=A.substring(3,5),e=A.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),e=parseInt(e,16)}}return{r:t,g:r,b:e,a:n,style:A}},h=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},l=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};B.prototype.fillText=function(A,t,r,e){if(isNaN(t)||isNaN(r)||"string"!=typeof A)throw eA.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(e=isNaN(e)?void 0:e,!h.call(this)){var n=k(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;y.call(this,{text:A,x:t,y:r,scale:i,angle:n,align:this.textAlign,maxWidth:e})}},B.prototype.strokeText=function(A,t,r,e){if(isNaN(t)||isNaN(r)||"string"!=typeof A)throw eA.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!l.call(this)){e=isNaN(e)?void 0:e;var n=k(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;y.call(this,{text:A,x:t,y:r,scale:i,renderingMode:"stroke",angle:n,align:this.textAlign,maxWidth:e})}},B.prototype.measureText=function(A){if("string"!=typeof A)throw eA.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,e=t.internal.getFontSize(),n=t.getStringUnitWidth(A)*e/t.internal.scaleFactor,i=function(A){var t=(A=A||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new i({width:n*=Math.round(96*r/72*1e4)/1e4})},B.prototype.scale=function(A,t){if(isNaN(A)||isNaN(t))throw eA.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new a(A,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},B.prototype.rotate=function(A){if(isNaN(A))throw eA.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new a(Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},B.prototype.translate=function(A,t){if(isNaN(A)||isNaN(t))throw eA.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new a(1,0,0,1,A,t);this.ctx.transform=this.ctx.transform.multiply(r)},B.prototype.transform=function(A,t,r,e,n,i){if(isNaN(A)||isNaN(t)||isNaN(r)||isNaN(e)||isNaN(n)||isNaN(i))throw eA.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new a(A,t,r,e,n,i);this.ctx.transform=this.ctx.transform.multiply(s)},B.prototype.setTransform=function(A,t,r,e,n,i){A=isNaN(A)?1:A,t=isNaN(t)?0:t,r=isNaN(r)?0:r,e=isNaN(e)?1:e,n=isNaN(n)?0:n,i=isNaN(i)?0:i,this.ctx.transform=new a(A,t,r,e,n,i)};var g=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};B.prototype.drawImage=function(A,t,r,e,n,i,s,u,c){var B=this.pdf.getImageProperties(A),f=1,h=1,l=1,w=1;void 0!==e&&void 0!==u&&(l=u/e,w=c/n,f=B.width/e*u/e,h=B.height/n*c/n),void 0===i&&(i=t,s=r,t=0,r=0),void 0!==e&&void 0===u&&(u=e,c=n),void 0===e&&void 0===u&&(u=B.width,c=B.height);for(var F,C=this.ctx.transform.decompose(),p=k(C.rotate.shx),m=new a,L=(m=(m=(m=m.multiply(C.translate)).multiply(C.skew)).multiply(C.scale)).applyToRectangle(new o(i-t*l,s-r*w,e*f,n*h)),b=Q.call(this,L),H=[],E=0;E<b.length;E+=1)-1===H.indexOf(b[E])&&H.push(b[E]);if(d(H),this.autoPaging)for(var y=H[0],I=H[H.length-1],N=y;N<I+1;N++){this.pdf.setPage(N);var K=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],S=1===N?this.posY+this.margin[0]:this.margin[0],M=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===N?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(N-2)*M;if(0!==this.ctx.clip_path.length){var x=this.path;F=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(F,this.posX+this.margin[3],-D+S+this.ctx.prevPageLastElemOffset),v.call(this,"fill",!0),this.path=x}var O=JSON.parse(JSON.stringify(L));O=U([O],this.posX+this.margin[3],-D+S+this.ctx.prevPageLastElemOffset)[0];var T=(N>y||N<I)&&g.call(this);T&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],K,M,null).clip().discardPath()),this.pdf.addImage(A,"JPEG",O.x,O.y,O.w,O.h,null,null,p),T&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(A,"JPEG",L.x,L.y,L.w,L.h,null,null,p)};var Q=function(A,t,r){var e=[];r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var n=this.posY+this.ctx.prevPageLastElemOffset;switch(A.type){default:case"mt":case"lt":e.push(Math.floor((A.y+n)/r)+1);break;case"arc":e.push(Math.floor((A.y+n-A.radius)/r)+1),e.push(Math.floor((A.y+n+A.radius)/r)+1);break;case"qct":var i=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x,A.y);e.push(Math.floor((i.y+n)/r)+1),e.push(Math.floor((i.y+i.h+n)/r)+1);break;case"bct":var s=x(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x2,A.y2,A.x,A.y);e.push(Math.floor((s.y+n)/r)+1),e.push(Math.floor((s.y+s.h+n)/r)+1);break;case"rect":e.push(Math.floor((A.y+n)/r)+1),e.push(Math.floor((A.y+A.h+n)/r)+1)}for(var o=0;o<e.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<e[o];)F.call(this);return e},F=function(){var A=this.fillStyle,t=this.strokeStyle,r=this.font,e=this.lineCap,n=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=A,this.strokeStyle=t,this.font=r,this.lineCap=e,this.lineWidth=n,this.lineJoin=i},U=function(A,t,r){for(var e=0;e<A.length;e++)switch(A[e].type){case"bct":A[e].x2+=t,A[e].y2+=r;case"qct":A[e].x1+=t,A[e].y1+=r;case"mt":case"lt":case"arc":default:A[e].x+=t,A[e].y+=r}return A},d=function(A){return A.sort((function(A,t){return A-t}))},C=function(A,t){for(var r,e,n=this.fillStyle,i=this.strokeStyle,s=this.lineCap,o=this.lineWidth,a=Math.abs(o*this.ctx.transform.scaleX),u=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),B=JSON.parse(JSON.stringify(this.path)),f=[],h=0;h<B.length;h++)if(void 0!==B[h].x)for(var l=Q.call(this,B[h]),w=0;w<l.length;w+=1)-1===f.indexOf(l[w])&&f.push(l[w]);for(var C=0;C<f.length;C++)for(;this.pdf.internal.getNumberOfPages()<f[C];)F.call(this);if(d(f),this.autoPaging)for(var p=f[0],m=f[f.length-1],L=p;L<m+1;L++){this.pdf.setPage(L),this.fillStyle=n,this.strokeStyle=i,this.lineCap=s,this.lineWidth=a,this.lineJoin=u;var b=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],H=1===L?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],y=1===L?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(L-2)*E;if(0!==this.ctx.clip_path.length){var I=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(r,this.posX+this.margin[3],-y+H+this.ctx.prevPageLastElemOffset),v.call(this,A,!0),this.path=I}if(e=JSON.parse(JSON.stringify(c)),this.path=U(e,this.posX+this.margin[3],-y+H+this.ctx.prevPageLastElemOffset),!1===t||0===L){var N=(L>p||L<m)&&g.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],b,E,null).clip().discardPath()),v.call(this,A,t),N&&this.pdf.restoreGraphicsState()}this.lineWidth=o}else this.lineWidth=a,v.call(this,A,t),this.lineWidth=o;this.path=c},v=function(A,t){if(("stroke"!==A||t||!l.call(this))&&("stroke"===A||t||!h.call(this))){for(var r,e,n=[],i=this.path,s=0;s<i.length;s++){var o=i[s];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var a=n.length;if(i[s-1]&&!isNaN(i[s-1].x)&&(r=[o.x-i[s-1].x,o.y-i[s-1].y],a>0))for(;a>=0;a--)if(!0!==n[a-1].close&&!0!==n[a-1].begin){n[a-1].deltas.push(r),n[a-1].abs.push(o);break}break;case"bct":n[n.length-1].deltas.push(r=[o.x1-i[s-1].x,o.y1-i[s-1].y,o.x2-i[s-1].x,o.y2-i[s-1].y,o.x-i[s-1].x,o.y-i[s-1].y]);break;case"qct":n[n.length-1].deltas.push(r=[i[s-1].x+2/3*(o.x1-i[s-1].x)-i[s-1].x,i[s-1].y+2/3*(o.y1-i[s-1].y)-i[s-1].y,o.x+2/3*(o.x1-o.x)-i[s-1].x,o.y+2/3*(o.y1-o.y)-i[s-1].y,o.x-i[s-1].x,o.y-i[s-1].y]);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}e=t?null:"stroke"===A?"stroke":"fill";for(var u=!1,c=0;c<n.length;c++)if(n[c].arc)for(var B=n[c].abs,f=0;f<B.length;f++){var w=B[f];"arc"===w.type?L.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t,!u):I.call(this,w.x,w.y),u=!0}else!0===n[c].close?(this.pdf.internal.out("h"),u=!1):!0!==n[c].begin&&(N.call(this,n[c].deltas,n[c].start.x,n[c].start.y),u=!0);e&&b.call(this,e),t&&H.call(this)}},p=function(A){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return A-r;case"top":return A+t-r;case"hanging":return A+t-2*r;case"middle":return A+t/2-r;case"ideographic":return A;case"alphabetic":default:return A}},m=function(A){return A+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};B.prototype.createLinearGradient=function(){var A=function(){};return A.colorStops=[],A.addColorStop=function(A,t){this.colorStops.push([A,t])},A.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},A.isCanvasGradient=!0,A},B.prototype.createPattern=function(){return this.createLinearGradient()},B.prototype.createRadialGradient=function(){return this.createLinearGradient()};var L=function(A,t,r,e,n,i,s,o,a){for(var u=S.call(this,r,e,n,i),c=0;c<u.length;c++){var B=u[c];0===c&&(a?E.call(this,B.x1+A,B.y1+t):I.call(this,B.x1+A,B.y1+t)),K.call(this,A,t,B.x2,B.y2,B.x3,B.y3,B.x4,B.y4)}o?H.call(this):b.call(this,s)},b=function(A){switch(A){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},H=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(A,t){this.pdf.internal.out(r(A)+" "+e(t)+" m")},y=function(A){var t;switch(A.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var r=this.pdf.getTextDimensions(A.text),e=p.call(this,A.y),n=m.call(this,e)-r.h,i=this.ctx.transform.applyToPoint(new s(A.x,e)),u=this.ctx.transform.decompose(),c=new a;c=(c=(c=c.multiply(u.translate)).multiply(u.skew)).multiply(u.scale);for(var B,f,h,l=this.ctx.transform.applyToRectangle(new o(A.x,e,r.w,r.h)),w=c.applyToRectangle(new o(A.x,n,r.w,r.h)),F=Q.call(this,w),C=[],L=0;L<F.length;L+=1)-1===C.indexOf(F[L])&&C.push(F[L]);if(d(C),this.autoPaging)for(var b=C[0],H=C[C.length-1],E=b;E<H+1;E++){this.pdf.setPage(E);var y=1===E?this.posY+this.margin[0]:this.margin[0],I=this.pdf.internal.pageSize.height-this.margin[2],N=I-this.margin[0],K=this.pdf.internal.pageSize.width-this.margin[1],S=K-this.margin[3],M=1===E?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(E-2)*N;if(0!==this.ctx.clip_path.length){var k=this.path;B=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=U(B,this.posX+this.margin[3],-1*M+y),v.call(this,"fill",!0),this.path=k}var D=U([JSON.parse(JSON.stringify(w))],this.posX+this.margin[3],-M+y+this.ctx.prevPageLastElemOffset)[0];A.scale>=.01&&(f=this.pdf.internal.getFontSize(),this.pdf.setFontSize(f*A.scale),this.lineWidth=(h=this.lineWidth)*A.scale);var x="text"!==this.autoPaging;if(x||D.y+D.h<=I){if(x||D.y>=y&&D.x<=K){var O=x?A.text:this.pdf.splitTextToSize(A.text,A.maxWidth||K-D.x)[0],T=U([JSON.parse(JSON.stringify(l))],this.posX+this.margin[3],-M+y+this.ctx.prevPageLastElemOffset)[0],G=x&&(E>b||E<H)&&g.call(this);G&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],S,N,null).clip().discardPath()),this.pdf.text(O,T.x,T.y,{angle:A.angle,align:t,renderingMode:A.renderingMode}),G&&this.pdf.restoreGraphicsState()}}else D.y<I&&(this.ctx.prevPageLastElemOffset+=I-D.y);A.scale>=.01&&(this.pdf.setFontSize(f),this.lineWidth=h)}else A.scale>=.01&&(f=this.pdf.internal.getFontSize(),this.pdf.setFontSize(f*A.scale),this.lineWidth=(h=this.lineWidth)*A.scale),this.pdf.text(A.text,i.x+this.posX,i.y+this.posY,{angle:A.angle,align:t,renderingMode:A.renderingMode,maxWidth:A.maxWidth}),A.scale>=.01&&(this.pdf.setFontSize(f),this.lineWidth=h)},I=function(A,t,n,i){i=i||0,this.pdf.internal.out(r(A+(n=n||0))+" "+e(t+i)+" l")},N=function(A,t,r){return this.pdf.lines(A,t,r,null,null)},K=function(A,r,e,s,o,a,u,c){this.pdf.internal.out([t(n(e+A)),t(i(s+r)),t(n(o+A)),t(i(a+r)),t(n(u+A)),t(i(c+r)),"c"].join(" "))},S=function(A,t,r,e){for(var n=2*Math.PI,i=Math.PI/2;t>r;)t-=n;var s=Math.abs(r-t);s<n&&e&&(s=n-s);for(var o=[],a=e?-1:1,u=t;s>1e-5;){var c=u+a*Math.min(s,i);o.push(M.call(this,A,u,c)),s-=Math.abs(c-u),u=c}return o},M=function(A,t,r){var e=(r-t)/2,n=A*Math.cos(e),i=A*Math.sin(e),s=n,o=-i,a=s*s+o*o,u=a+s*n+o*i,c=4/3*(Math.sqrt(2*a*u)-u)/(s*i-o*n),B=s-c*o,f=o+c*s,h=B,l=-f,w=e+t,g=Math.cos(w),Q=Math.sin(w);return{x1:A*Math.cos(t),y1:A*Math.sin(t),x2:B*g-f*Q,y2:B*Q+f*g,x3:h*g-l*Q,y3:h*Q+l*g,x4:A*Math.cos(r),y4:A*Math.sin(r)}},k=function(A){return 180*A/Math.PI},D=function(A,t,r,e,n,i){var s=A+.5*(r-A),a=t+.5*(e-t),u=n+.5*(r-n),c=i+.5*(e-i),B=Math.min(A,n,s,u),f=Math.max(A,n,s,u),h=Math.min(t,i,a,c),l=Math.max(t,i,a,c);return new o(B,h,f-B,l-h)},x=function(A,t,r,e,n,i,s,a){var u,c,B,f,h,l,w,g,Q,F,U,d,C,v,p=r-A,m=e-t,L=n-r,b=i-e,H=s-n,E=a-i;for(c=0;c<41;c++)Q=(w=(B=A+(u=c/40)*p)+u*((h=r+u*L)-B))+u*(h+u*(n+u*H-h)-w),F=(g=(f=t+u*m)+u*((l=e+u*b)-f))+u*(l+u*(i+u*E-l)-g),0==c?(U=Q,d=F,C=Q,v=F):(U=Math.min(U,Q),d=Math.min(d,F),C=Math.max(C,Q),v=Math.max(v,F));return new o(Math.round(U),Math.round(d),Math.round(C-U),Math.round(v-d))},O=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var A=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==A&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=A)}}}(MA.API),
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* jsPDF filters PlugIn
|
113
|
+
* Copyright (c) 2014 Aras Abbasi
|
114
|
+
*
|
115
|
+
* Licensed under the MIT License.
|
116
|
+
* http://opensource.org/licenses/mit-license
|
117
|
+
*/
|
118
|
+
function(){var A=function(A){var t,r,e,n,i,s,o,a,u,c;for(/[^\x00-\xFF]/.test(A),r=[],e=0,n=(A+=t="\0\0\0\0".slice(A.length%4||4)).length;n>e;e+=4)0!==(i=(A.charCodeAt(e)<<24)+(A.charCodeAt(e+1)<<16)+(A.charCodeAt(e+2)<<8)+A.charCodeAt(e+3))?(s=(i=((i=((i=((i=(i-(c=i%85))/85)-(u=i%85))/85)-(a=i%85))/85)-(o=i%85))/85)%85,r.push(s+33,o+33,a+33,u+33,c+33)):r.push(122);return function(A,t){for(var r=t;r>0;r--)A.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},t=function(A){var t,r,e,n,i,s=String,o="length",a=255,u="charCodeAt",c="slice",B="replace";for(A[c](-2),A=A[c](0,-2)[B](/\s/g,"")[B]("z","!!!!!"),e=[],n=0,i=(A+=t="uuuuu"[c](A[o]%5||5))[o];i>n;n+=5)r=52200625*(A[u](n)-33)+614125*(A[u](n+1)-33)+7225*(A[u](n+2)-33)+85*(A[u](n+3)-33)+(A[u](n+4)-33),e.push(a&r>>24,a&r>>16,a&r>>8,a&r);return function(A,t){for(var r=t;r>0;r--)A.pop()}(e,t[o]),s.fromCharCode.apply(s,e)},r=function(A){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(A=A.replace(/\s/g,"")).indexOf(">")&&(A=A.substr(0,A.indexOf(">"))),A.length%2&&(A+="0"),!1===t.test(A))return"";for(var r="",e=0;e<A.length;e+=2)r+=String.fromCharCode("0x"+(A[e]+A[e+1]));return r},e=function(A){for(var t=new Uint8Array(A.length),r=A.length;r--;)t[r]=A.charCodeAt(r);return(t=AA(t)).reduce((function(A,t){return A+String.fromCharCode(t)}),"")};MA.API.processDataByFilters=function(n,i){var s=0,o=n||"",a=[];for("string"==typeof(i=i||[])&&(i=[i]),s=0;s<i.length;s+=1)switch(i[s]){case"ASCII85Decode":case"/ASCII85Decode":o=t(o),a.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=A(o),a.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=r(o),a.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=o.split("").map((function(A){return("0"+A.charCodeAt().toString(16)).slice(-2)})).join("")+">",a.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=e(o),a.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[s]+'" is not implemented')}return{data:o,reverseChain:a.reverse().join(" ")}}}(),
|
119
|
+
/**
|
120
|
+
* @license
|
121
|
+
* jsPDF fileloading PlugIn
|
122
|
+
* Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
|
123
|
+
*
|
124
|
+
* Licensed under the MIT License.
|
125
|
+
* http://opensource.org/licenses/mit-license
|
126
|
+
*/
|
127
|
+
function(A){A.loadFile=function(A,t,r){return function(A,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var e=void 0;try{e=function(A,t,r){var e=new XMLHttpRequest,n=0,i=function(A){var t=A.length,r=[],e=String.fromCharCode;for(n=0;n<t;n+=1)r.push(e(255&A.charCodeAt(n)));return r.join("")};if(e.open("GET",A,!t),e.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(e.onload=function(){r(200===e.status?i(this.responseText):void 0)}),e.send(null),t&&200===e.status)return i(e.responseText)}(A,t,r)}catch(A){}return e}(A,t,r)},A.loadImageFile=A.loadFile}(MA.API),function(A){function t(){return(tA.html2canvas?Promise.resolve(tA.html2canvas):Promise.resolve().then((function(){return dr}))).catch((function(A){return Promise.reject(new Error("Could not load html2canvas: "+A))})).then((function(A){return A.default?A.default:A}))}function r(){return(tA.DOMPurify?Promise.resolve(tA.DOMPurify):import("./p-ca4c8a10.js").then((function(A){return A.p}))).catch((function(A){return Promise.reject(new Error("Could not load dompurify: "+A))})).then((function(A){return A.default?A.default:A}))}var e=function(A){var t=w(A);return"undefined"===t?"undefined":"string"===t||A instanceof String?"string":"number"===t||A instanceof Number?"number":"function"===t||A instanceof Function?"function":A&&A.constructor===Array?"array":A&&1===A.nodeType?"element":"object"===t?"object":"unknown"},n=function(A,t){var r=document.createElement(A);for(var e in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[e]=t.style[e];return r},i=function A(t){var r=Object.assign(A.convert(Promise.resolve()),JSON.parse(JSON.stringify(A.template))),e=A.convert(Promise.resolve(),r);return(e=e.setProgress(1,A,1,[A])).set(t)};(i.prototype=Object.create(Promise.prototype)).constructor=i,i.convert=function(A,t){return A.__proto__=t||i.prototype,A},i.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},i.prototype.from=function(A,t){return this.then((function(){switch(t=t||function(A){switch(e(A)){case"string":return"string";case"element":return"canvas"===A.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(A)){case"string":return this.then(r).then((function(t){return this.set({src:n("div",{innerHTML:A,dompurify:t})})}));case"element":return this.set({src:A});case"canvas":return this.set({canvas:A});case"img":return this.set({img:A});default:return this.error("Unknown source type.")}}))},i.prototype.to=function(A){switch(A){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},i.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var A={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function A(t,r){for(var e=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==r&&1===n.nodeType&&"SCRIPT"===n.nodeName||e.appendChild(A(n,r));return 1===t.nodeType&&("CANVAS"===t.nodeName?(e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(e.value=t.value),e.addEventListener("load",(function(){e.scrollTop=t.scrollTop,e.scrollLeft=t.scrollLeft}),!0)),e}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(A.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:A}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},i.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(t).then((function(A){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,A(this.prop.container,t)})).then((function(A){(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},i.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(t).then((function(A){var t=this.opt.jsPDF,r=this.opt.fontFaces,e="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,n=Object.assign({async:!0,allowTaint:!0,scale:e,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=r,r)for(var i=0;i<r.length;++i){var s=r[i],o=s.src.find((function(A){return"truetype"===A.format}));o&&t.addFont(o.url,s.ref.name,s.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t.context2d.save(!0),A(this.prop.container,n)})).then((function(A){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},i.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A}))},i.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},i.prototype.output=function(A,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(A,t):this.outputPdf(A,t)},i.prototype.outputPdf=function(A,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(A,t)}))},i.prototype.outputImg=function(A){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(A){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+A+'" is not supported.'}}))},i.prototype.save=function(A){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(A?{filename:A}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},i.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},i.prototype.set=function(A){if("object"!==e(A))return this;var t=Object.keys(A||{}).map((function(t){if(t in i.template.prop)return function(){this.prop[t]=A[t]};switch(t){case"margin":return this.setMargin.bind(this,A.margin);case"jsPDF":return function(){return this.opt.jsPDF=A.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,A.pageSize);default:return function(){this.opt[t]=A[t]}}}),this);return this.then((function(){return this.thenList(t)}))},i.prototype.get=function(A,t){return this.then((function(){var r=A in i.template.prop?this.prop[A]:this.opt[A];return t?t(r):r}))},i.prototype.setMargin=function(A){return this.then((function(){switch(e(A)){case"number":A=[A,A,A,A];case"array":if(2===A.length&&(A=[A[0],A[1],A[0],A[1]]),4===A.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=A})).then(this.setPageSize)},i.prototype.setPageSize=function(A){function t(A,t){return Math.floor(A*t/72*96)}return this.then((function(){(A=A||MA.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(A.inner={width:A.width-this.opt.margin[1]-this.opt.margin[3],height:A.height-this.opt.margin[0]-this.opt.margin[2]},A.inner.px={width:t(A.inner.width,A.k),height:t(A.inner.height,A.k)},A.inner.ratio=A.inner.height/A.inner.width),this.prop.pageSize=A}))},i.prototype.setProgress=function(A,t,r,e){return null!=A&&(this.progress.val=A),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=e&&(this.progress.stack=e),this.progress.ratio=this.progress.val/this.progress.state,this},i.prototype.updateProgress=function(A,t,r,e){return this.setProgress(A?this.progress.val+A:null,t||null,r?this.progress.n+r:null,e?this.progress.stack.concat(e):null)},i.prototype.then=function(A,t){var r=this;return this.thenCore(A,t,(function(A,t){return r.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,(function(t){return r.updateProgress(null,A),t})).then(A,t).then((function(A){return r.updateProgress(1),A}))}))},i.prototype.thenCore=function(A,t,r){r=r||Promise.prototype.then,A&&(A=A.bind(this)),t&&(t=t.bind(this));var e=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:i.convert(Object.assign({},this),Promise.prototype),n=r.call(e,A,t);return i.convert(n,this.__proto__)},i.prototype.thenExternal=function(A,t){return Promise.prototype.then.call(this,A,t)},i.prototype.thenList=function(A){var t=this;return A.forEach((function(A){t=t.thenCore(A)})),t},i.prototype.catch=function(A){A&&(A=A.bind(this));var t=Promise.prototype.catch.call(this,A);return i.convert(t,this)},i.prototype.catchExternal=function(A){return Promise.prototype.catch.call(this,A)},i.prototype.error=function(A){return this.then((function(){throw new Error(A)}))},i.prototype.using=i.prototype.set,i.prototype.saveAs=i.prototype.save,i.prototype.export=i.prototype.output,i.prototype.run=i.prototype.then,MA.getPageSize=function(A,t,r){if("object"===w(A)){var e=A;A=e.orientation,t=e.unit||t,r=e.format||r}t=t||"mm",r=r||"a4",A=(""+(A||"P")).toLowerCase();var n,i=(""+r).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":n=1;break;case"mm":n=72/25.4;break;case"cm":n=72/2.54;break;case"in":n=72;break;case"px":n=.75;break;case"pc":case"em":n=12;break;case"ex":n=6;break;default:throw"Invalid unit: "+t}var o,a=0,u=0;if(s.hasOwnProperty(i))a=s[i][1]/n,u=s[i][0]/n;else try{a=r[1],u=r[0]}catch(A){throw new Error("Invalid format: "+r)}if("p"===A||"portrait"===A)A="p",u>a&&(o=u,u=a,a=o);else{if("l"!==A&&"landscape"!==A)throw"Invalid orientation: "+A;A="l",a>u&&(o=u,u=a,a=o)}return{width:u,height:a,unit:t,k:n,orientation:A}},A.html=function(A,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Et):null;var r=new i(t);return t.worker?r:r.from(A).doCallback()}}(MA.API),MA.API.addJS=function(A){return Ot=A,this.internal.events.subscribe("postPutResources",(function(){Dt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Dt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),xt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ot+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Dt&&void 0!==xt&&this.internal.out("/Names <</JavaScript "+Dt+" 0 R>>")})),this
|
128
|
+
/**
|
129
|
+
* @license
|
130
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
131
|
+
*
|
132
|
+
* Licensed under the MIT License.
|
133
|
+
* http://opensource.org/licenses/mit-license
|
134
|
+
*/},function(A){var t;A.events.push(["postPutResources",function(){var A=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var e=A.outline.render().split(/\r\n/),n=0;n<e.length;n++){var i=e[n],s=r.exec(i);null!=s&&A.internal.newObjectDeferredBegin(s[1],!1),A.internal.write(i)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,a=[];for(n=0;n<o;n++){var u=A.internal.newObject();a.push(u);var c=A.internal.getPageInfo(n+1);A.internal.write("<< /D["+c.objId+" 0 R /XYZ null null null]>> endobj")}var B=A.internal.newObject();for(A.internal.write("<< /Names [ "),n=0;n<a.length;n++)A.internal.write("(page_"+(n+1)+")"+a[n]+" 0 R");A.internal.write(" ] >>","endobj"),t=A.internal.newObject(),A.internal.write("<< /Dests "+B+" 0 R"),A.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(A,t,r){var e={title:t,options:r,children:[]};return null==A&&(A=this.root),A.children.push(e),e},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(t){t.id=A.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},A.outline.renderRoot=function(A){this.objStart(A),this.line("/Type /Outlines"),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1]))),this.line("/Count "+this.count_r({count:0},A)),this.objEnd()},A.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,e=0;e<t.children.length;e++){var n=t.children[e];this.objStart(n),this.line("/Title "+this.makeString(n.title)),this.line("/Parent "+this.makeRef(t)),e>0&&this.line("/Prev "+this.makeRef(t.children[e-1])),e<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[e+1])),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1])));var i=this.count=this.count_r({count:0},n);if(i>0&&this.line("/Count "+i),n.options&&n.options.pageNumber){var s=A.internal.getPageInfo(n.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var o=0;o<t.children.length;o++)this.renderItems(t.children[o])},A.outline.line=function(A){this.ctx.val+=A+"\r\n"},A.outline.makeRef=function(A){return A.id+" 0 R"},A.outline.makeString=function(t){return"("+A.internal.pdfEscape(t)+")"},A.outline.objStart=function(A){this.ctx.val+="\r\n"+A.id+" 0 obj\r\n<<\r\n"},A.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},A.outline.count_r=function(A,t){for(var r=0;r<t.children.length;r++)A.count++,this.count_r(A,t.children[r]);return A.count}}])}(MA.API),
|
135
|
+
/**
|
136
|
+
* @license
|
137
|
+
*
|
138
|
+
* Licensed under the MIT License.
|
139
|
+
* http://opensource.org/licenses/mit-license
|
140
|
+
*/
|
141
|
+
Tt=[192,193,194,195,196,197,198,199],MA.API.processJPEG=function(A,t,r,e,n,i){var s,o=this.decode.DCT_DECODE,a=null;if("string"==typeof A||this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A)){switch(A=this.__addimage__.isArrayBuffer(A=n||A)?new Uint8Array(A):A,(s=function(A){for(var t,r=256*A.charCodeAt(4)+A.charCodeAt(5),e=A.length,n={width:0,height:0,numcomponents:1},i=4;i<e;i+=2){if(-1!==Tt.indexOf(A.charCodeAt((i+=r)+1))){t=256*A.charCodeAt(i+5)+A.charCodeAt(i+6),n={width:256*A.charCodeAt(i+7)+A.charCodeAt(i+8),height:t,numcomponents:A.charCodeAt(i+9)};break}r=256*A.charCodeAt(i+2)+A.charCodeAt(i+3)}return n}(A=this.__addimage__.isArrayBufferView(A)?this.__addimage__.arrayBufferToBinaryString(A):A)).numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}a={data:A,width:s.width,height:s.height,colorSpace:i,bitsPerComponent:8,filter:o,index:t,alias:r}}return a};var qt,Vt,Rt,jt,Pt,Jt=function(){var A,t,r;function e(A){var t,r,e,n,i,s,o,a,u,c,B,f,h;for(this.data=A,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(t=this.readUInt32(),a=function(){var A,t;for(t=[],A=0;A<4;++A)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},n=this.readUInt16(),e=this.readUInt16()||100,i.delay=1e3*n/e,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===a&&(this.pos+=4,t-=4),A=(null!=i?i.data:void 0)||this.imgData,B=0;0<=t?B<t:B>t;0<=t?++B:--B)A.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(f=0;0<=u?f<u:f>u;0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(c=this.read(t)).indexOf(0),o=String.fromCharCode.apply(String,c.slice(0,s)),this.text[o]=String.fromCharCode.apply(String,c.slice(s+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(h=this.colorType)||6===h,this.pixelBitlength=this.bits*(this.colors+(this.hasAlphaChannel?1:0)),this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}e.prototype.read=function(A){var t,r;for(r=[],t=0;0<=A?t<A:t>A;0<=A?++t:--t)r.push(this.data[this.pos++]);return r},e.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.decodePixels=function(A){var t,r,e=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*e),i=0,s=this;if(null==A&&(A=this.imgData),0===A.length)return new Uint8Array(0);function o(t,r,o,a){var u,c,B,f,h,l,w,g,Q,F,U,d,C,v,p,m,L,b,H,E,y=Math.ceil((s.width-t)/o),I=Math.ceil((s.height-r)/a),N=s.width==y&&s.height==I;for(C=e*y,U=N?n:new Uint8Array(C*I),l=A.length,d=0,c=0;d<I&&i<l;){switch(A[i++]){case 0:for(f=m=0;m<C;f=m+=1)U[c++]=A[i++];break;case 1:for(f=L=0;L<C;f=L+=1)u=A[i++],h=f<e?0:U[c-e],U[c++]=(u+h)%256;break;case 2:for(f=b=0;b<C;f=b+=1)u=A[i++],B=(f-f%e)/e,U[c++]=((v=d&&U[(d-1)*C+B*e+f%e])+u)%256;break;case 3:for(f=H=0;H<C;f=H+=1)u=A[i++],B=(f-f%e)/e,h=f<e?0:U[c-e],v=d&&U[(d-1)*C+B*e+f%e],U[c++]=(u+Math.floor((h+v)/2))%256;break;case 4:for(f=E=0;E<C;f=E+=1)u=A[i++],B=(f-f%e)/e,0===d?v=p=0:(v=U[(d-1)*C+B*e+f%e],p=B&&U[(d-1)*C+(B-1)*e+f%e]),w=(h=f<e?0:U[c-e])+v-p,g=Math.abs(w-h),Q=Math.abs(w-v),F=Math.abs(w-p),U[c++]=(u+(g<=Q&&g<=F?h:Q<=F?v:p))%256;break;default:throw new Error("Invalid filter algorithm: "+A[i-1])}if(!N){var K=((r+d*a)*s.width+t)*e,S=d*C;for(f=0;f<y;f+=1){for(var M=0;M<e;M+=1)n[K++]=U[S++];K+=(o-1)*e}}d++}}return A=function(A,t,r){var e=A.length,n=!t||r,i=!r||r.i;r||(r={}),t||(t=new g(3*e));var s=function(A){var r=t.length;if(A>r){var e=new g(Math.max(2*r,A));e.set(t),t=e}},o=r.f||0,a=r.p||0,u=r.b||0,c=r.l,B=r.d,f=r.m,h=r.n,l=8*e;do{if(!c){r.f=o=G(A,a,1);var w=G(A,a+1,3);if(a+=3,!w){var Q=A[(M=V(a)+4)-4]|A[M-3]<<8,F=M+Q;if(F>e){if(i)throw"unexpected EOF";break}n&&s(u+Q),t.set(A.subarray(M,F),u),r.b=u+=Q,r.p=a=8*F;continue}if(1==w)c=D,B=O,f=9,h=5;else{if(2!=w)throw"invalid block type";var v=G(A,a,31)+257,p=G(A,a+10,15)+4,L=v+G(A,a+5,31)+1;a+=14;for(var b=new g(L),E=new g(19),y=0;y<p;++y)E[C[y]]=G(A,a+3*y,7);a+=3*p;var I=T(E),N=(1<<I)-1;if(!i&&a+L*(I+7)>l)break;var S=K(E,I,1);for(y=0;y<L;){var M,k=S[G(A,a,N)];if(a+=15&k,(M=k>>>4)<16)b[y++]=M;else{var x=0,j=0;for(16==M?(j=3+G(A,a,3),a+=2,x=b[y-1]):17==M?(j=3+G(A,a,7),a+=3):18==M&&(j=11+G(A,a,127),a+=7);j--;)b[y++]=x}}var P=b.subarray(0,v),J=b.subarray(v);f=T(P),h=T(J),c=K(P,f,1),B=K(J,h,1)}if(a>l)throw"unexpected EOF"}n&&s(u+131072);for(var X=(1<<f)-1,Y=(1<<h)-1,W=f+h+18;i||a+W<l;){var z=(x=c[q(A,a)&X])>>>4;if((a+=15&x)>l)throw"unexpected EOF";if(!x)throw"invalid length/literal";if(z<256)t[u++]=z;else{if(256==z){c=null;break}var Z=z-254;z>264&&(Z=G(A,a,(1<<(AA=U[y=z-257]))-1)+m[y],a+=AA);var _=B[q(A,a)&Y],$=_>>>4;if(!_)throw"invalid distance";if(a+=15&_,J=H[$],$>3){var AA=d[$];J+=q(A,a)&(1<<AA)-1,a+=AA}if(a>l)throw"unexpected EOF";n&&s(u+131072);for(var tA=u+Z;u<tA;u+=4)t[u]=t[u-J],t[u+1]=t[u+1-J],t[u+2]=t[u+2-J],t[u+3]=t[u+3-J];u=tA}}r.l=c,r.p=a,r.b=u,c&&(o=1,r.m=f,r.d=B,r.n=h)}while(!o);return u==t.length?t:R(t,0,u)}((function(A){if(8!=(15&A[0])||A[0]>>>4>7||(A[0]<<8|A[1])%31)throw"invalid zlib data";if(32&A[1])throw"invalid zlib data: preset dictionaries not supported"}(t=A),t.subarray(2,-4)),r),1==s.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),n},e.prototype.decodePalette=function(){var A,t,r,e,n,i,s,o,a;for(r=this.palette,i=this.transparency.indexed||[],n=new Uint8Array((i.length||0)+r.length),e=0,A=0,t=s=0,o=r.length;s<o;t=s+=3)n[e++]=r[t],n[e++]=r[t+1],n[e++]=r[t+2],n[e++]=null!=(a=i[A++])?a:255;return n},e.prototype.copyToImageData=function(A,t){var r,e,n,i,s,o,a,u,c,B,f;if(e=this.colors,c=null,r=this.hasAlphaChannel,this.palette.length&&(c=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),e=4,r=!0),u=(n=A.data||A).length,s=c||t,i=o=0,1===e)for(;i<u;)a=c?4*t[i/4]:o,B=s[a++],n[i++]=B,n[i++]=B,n[i++]=B,n[i++]=r?s[a++]:255,o=a;else for(;i<u;)a=c?4*t[i/4]:o,n[i++]=s[a++],n[i++]=s[a++],n[i++]=s[a++],n[i++]=r?s[a++]:255,o=a},e.prototype.decode=function(){var A;return A=new Uint8Array(this.width*this.height*4),this.copyToImageData(A,this.decodePixels()),A};var n=function(){if("[object Window]"===Object.prototype.toString.call(tA)){try{t=tA.document.createElement("canvas"),r=t.getContext("2d")}catch(A){return!1}return!0}return!1};return n(),A=function(A){var e;if(!0===n())return r.width=A.width,r.height=A.height,r.clearRect(0,0,A.width,A.height),r.putImageData(A,0,0),(e=new Image).src=t.toDataURL(),e;throw new Error("This method requires a Browser with Canvas-capability.")},e.prototype.decodeFrames=function(t){var r,e,n,i,s,o,a,u;if(this.animation){for(u=[],e=s=0,o=(a=this.animation.frames).length;s<o;e=++s)n=t.createImageData((r=a[e]).width,r.height),i=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(n,i),r.imageData=n,u.push(r.image=A(n));return u}},e.prototype.renderFrame=function(A,t){var r,e,n;return r=(e=this.animation.frames)[t],n=e[t-1],0===t&&A.clearRect(0,0,this.width,this.height),1===(null!=n?n.disposeOp:void 0)?A.clearRect(n.xOffset,n.yOffset,n.width,n.height):2===(null!=n?n.disposeOp:void 0)&&A.putImageData(n.imageData,n.xOffset,n.yOffset),0===r.blendOp&&A.clearRect(r.xOffset,r.yOffset,r.width,r.height),A.drawImage(r.image,r.xOffset,r.yOffset)},e.prototype.animate=function(A){var t,r,e,n,i,s,o=this;return r=0,n=(s=this.animation).numFrames,e=s.frames,i=s.numPlays,(t=function(){var s,a;if(s=r++%n,a=e[s],o.renderFrame(A,s),n>1&&r/n<i)return o.animation._timeout=setTimeout(t,a.delay)})()},e.prototype.stopAnimation=function(){var A;return clearTimeout(null!=(A=this.animation)?A._timeout:void 0)},e.prototype.render=function(A){var t,r;return A._png&&A._png.stopAnimation(),A._png=this,A.width=this.width,A.height=this.height,t=A.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},e}();
|
142
|
+
/**
|
143
|
+
* @license
|
144
|
+
*
|
145
|
+
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
146
|
+
*
|
147
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
148
|
+
* a copy of this software and associated documentation files (the
|
149
|
+
* "Software"), to deal in the Software without restriction, including
|
150
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
151
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
152
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
153
|
+
* the following conditions:
|
154
|
+
*
|
155
|
+
* The above copyright notice and this permission notice shall be
|
156
|
+
* included in all copies or substantial portions of the Software.
|
157
|
+
*
|
158
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
159
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
160
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
161
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
162
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
163
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
164
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
165
|
+
* ====================================================================
|
166
|
+
*/
|
167
|
+
/**
|
168
|
+
* @license
|
169
|
+
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
170
|
+
*
|
171
|
+
* https://github.com/deanm/omggif
|
172
|
+
*
|
173
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
174
|
+
* of this software and associated documentation files (the "Software"), to
|
175
|
+
* deal in the Software without restriction, including without limitation the
|
176
|
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
177
|
+
* sell copies of the Software, and to permit persons to whom the Software is
|
178
|
+
* furnished to do so, subject to the following conditions:
|
179
|
+
*
|
180
|
+
* The above copyright notice and this permission notice shall be included in
|
181
|
+
* all copies or substantial portions of the Software.
|
182
|
+
*
|
183
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
184
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
185
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
186
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
187
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
188
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
189
|
+
* IN THE SOFTWARE.
|
190
|
+
*
|
191
|
+
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
192
|
+
* including animation and compression. It does not rely on any specific
|
193
|
+
* underlying system, so should run in the browser, Node, or Plask.
|
194
|
+
*/function Xt(A){var t=0;if(71!==A[t++]||73!==A[t++]||70!==A[t++]||56!==A[t++]||56!=(A[t++]+1&253)||97!==A[t++])throw new Error("Invalid GIF 87a/89a header.");var r=A[t++]|A[t++]<<8,e=A[t++]|A[t++]<<8,n=A[t++],i=1<<1+(7&n);t++,t++;var s=null,o=null;n>>7&&(s=t,o=i,t+=3*i);var a=!0,u=[],c=0,B=null,f=0,h=null;for(this.width=r,this.height=e;a&&t<A.length;)switch(A[t++]){case 33:switch(A[t++]){case 255:if(11!==A[t]||78==A[t+1]&&69==A[t+2]&&84==A[t+3]&&83==A[t+4]&&67==A[t+5]&&65==A[t+6]&&80==A[t+7]&&69==A[t+8]&&50==A[t+9]&&46==A[t+10]&&48==A[t+11]&&3==A[t+12]&&1==A[t+13]&&0==A[t+16])t+=14,h=A[t++]|A[t++]<<8,t++;else for(t+=12;;){if(!((b=A[t++])>=0))throw Error("Invalid block size");if(0===b)break;t+=b}break;case 249:if(4!==A[t++]||0!==A[t+4])throw new Error("Invalid graphics extension block.");var l=A[t++];c=A[t++]|A[t++]<<8,B=A[t++],0==(1&l)&&(B=null),f=l>>2&7,t++;break;case 254:for(;;){if(!((b=A[t++])>=0))throw Error("Invalid block size");if(0===b)break;t+=b}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var w=A[t++]|A[t++]<<8,g=A[t++]|A[t++]<<8,Q=A[t++]|A[t++]<<8,F=A[t++]|A[t++]<<8,U=A[t++],d=U>>6&1,C=1<<1+(7&U),v=s,p=o,m=!1;U>>7&&(m=!0,v=t,p=C,t+=3*C);var L=t;for(t++;;){var b;if(!((b=A[t++])>=0))throw Error("Invalid block size");if(0===b)break;t+=b}u.push({x:w,y:g,width:Q,height:F,has_local_palette:m,palette_offset:v,palette_size:p,data_offset:L,data_length:t-L,transparent_index:B,interlaced:!!d,delay:c,disposal:f});break;case 59:a=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return h},this.frameInfo=function(A){if(A<0||A>=u.length)throw new Error("Frame index out of range.");return u[A]},this.decodeAndBlitFrameBGRA=function(t,e){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);Yt(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var u=n.width,c=r-u,B=u,f=4*(n.y*r+n.x),h=4*((n.y+n.height)*r+n.x),l=f,w=4*c;!0===n.interlaced&&(w+=4*r*7);for(var g=8,Q=0,F=s.length;Q<F;++Q){var U=s[Q];if(0===B&&(B=u,(l+=w)>=h&&(w=4*c+4*r*(g-1),l=f+(u+c)*(g<<1),g>>=1)),U===a)l+=4;else{var d=A[o+3*U],C=A[o+3*U+1];e[l++]=A[o+3*U+2],e[l++]=C,e[l++]=d,e[l++]=255}--B}},this.decodeAndBlitFrameRGBA=function(t,e){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);Yt(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var u=n.width,c=r-u,B=u,f=4*(n.y*r+n.x),h=4*((n.y+n.height)*r+n.x),l=f,w=4*c;!0===n.interlaced&&(w+=4*r*7);for(var g=8,Q=0,F=s.length;Q<F;++Q){var U=s[Q];if(0===B&&(B=u,(l+=w)>=h&&(w=4*c+4*r*(g-1),l=f+(u+c)*(g<<1),g>>=1)),U===a)l+=4;else{var d=A[o+3*U+1],C=A[o+3*U+2];e[l++]=A[o+3*U],e[l++]=d,e[l++]=C,e[l++]=255}--B}}}function Yt(A,t,r,e){for(var n=A[t++],i=1<<n,s=i+1,o=s+1,a=n+1,u=(1<<a)-1,c=0,B=0,f=0,h=A[t++],l=new Int32Array(4096),w=null;;){for(;c<16&&0!==h;)B|=A[t++]<<c,c+=8,1===h?h=A[t++]:--h;if(c<a)break;var g=B&u;if(B>>=a,c-=a,g!==i){if(g===s)break;for(var Q=g<o?g:w,F=0,U=Q;U>i;)U=l[U]>>8,++F;var d=U;if(f+F+(Q!==g?1:0)>e)return void eA.log("Warning, gif stream longer than expected.");r[f++]=d;var C=f+=F;for(Q!==g&&(r[f++]=d),U=Q;F--;)r[--C]=255&(U=l[U]),U>>=8;null!==w&&o<4096&&(l[o++]=w<<8|d,o>=u+1&&a<12&&(++a,u=u<<1|1)),w=g}else o=s+1,u=(1<<(a=n+1))-1,w=null}return f!==e&&eA.log("Warning, gif stream shorter than expected."),r}
|
195
|
+
/**
|
196
|
+
* @license
|
197
|
+
Copyright (c) 2008, Adobe Systems Incorporated
|
198
|
+
All rights reserved.
|
199
|
+
|
200
|
+
Redistribution and use in source and binary forms, with or without
|
201
|
+
modification, are permitted provided that the following conditions are
|
202
|
+
met:
|
203
|
+
|
204
|
+
* Redistributions of source code must retain the above copyright notice,
|
205
|
+
this list of conditions and the following disclaimer.
|
206
|
+
|
207
|
+
* Redistributions in binary form must reproduce the above copyright
|
208
|
+
notice, this list of conditions and the following disclaimer in the
|
209
|
+
documentation and/or other materials provided with the distribution.
|
210
|
+
|
211
|
+
* Neither the name of Adobe Systems Incorporated nor the names of its
|
212
|
+
contributors may be used to endorse or promote products derived from
|
213
|
+
this software without specific prior written permission.
|
214
|
+
|
215
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
216
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
217
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
218
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
219
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
220
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
221
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
222
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
223
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
224
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
225
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
226
|
+
*/function Wt(A){var t,r,e,n,i,s=Math.floor,o=new Array(64),a=new Array(64),u=new Array(64),c=new Array(64),B=new Array(65535),f=new Array(65535),h=new Array(64),l=new Array(64),w=[],g=0,Q=7,F=new Array(64),U=new Array(64),d=new Array(64),C=new Array(256),v=new Array(2048),p=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],m=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],L=[0,1,2,3,4,5,6,7,8,9,10,11],b=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],H=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],y=[0,1,2,3,4,5,6,7,8,9,10,11],I=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],N=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function K(A,t){for(var r=0,e=0,n=new Array,i=1;i<=16;i++){for(var s=1;s<=A[i];s++)n[t[e]]=[],n[t[e]][0]=r,n[t[e]][1]=i,e++,r++;r*=2}return n}function S(A){for(var t=A[0],r=A[1]-1;r>=0;)t&1<<r&&(g|=1<<Q),r--,--Q<0&&(255==g?(M(255),M(0)):M(g),Q=7,g=0)}function M(A){w.push(A)}function k(A){M(A>>8&255),M(255&A)}function D(A,t,r,e,n){for(var i,s=n[0],o=n[240],a=function(A,t){var r,e,n,i,s,o,a,u,c,B,f=0;for(c=0;c<8;++c){var l=(r=A[f])+(u=A[f+7]),w=r-u,g=(e=A[f+1])+(a=A[f+6]),Q=e-a,F=(n=A[f+2])+(o=A[f+5]),U=n-o,d=(i=A[f+3])+(s=A[f+4]),C=i-s,v=l+d,p=l-d,m=g+F,L=g-F;A[f]=v+m,A[f+4]=v-m;var b=.707106781*(L+p);A[f+2]=p+b,A[f+6]=p-b;var H=.382683433*((v=C+U)-(L=Q+w)),E=.5411961*v+H,y=1.306562965*L+H,I=.707106781*(m=U+Q),N=w+I,K=w-I;A[f+5]=K+E,A[f+3]=K-E,A[f+1]=N+y,A[f+7]=N-y,f+=8}for(f=0,c=0;c<8;++c){var S=(r=A[f])+(u=A[f+56]),M=r-u,k=(e=A[f+8])+(a=A[f+48]),D=e-a,x=(n=A[f+16])+(o=A[f+40]),O=n-o,T=(i=A[f+24])+(s=A[f+32]),G=i-s,q=S+T,V=S-T,R=k+x,j=k-x;A[f]=q+R,A[f+32]=q-R;var P=.707106781*(j+V);A[f+16]=V+P,A[f+48]=V-P;var J=.382683433*((q=G+O)-(j=D+M)),X=.5411961*q+J,Y=1.306562965*j+J,W=.707106781*(R=O+D),z=M+W,Z=M-W;A[f+40]=Z+X,A[f+24]=Z-X,A[f+8]=z+Y,A[f+56]=z-Y,f++}for(c=0;c<64;++c)h[c]=(B=A[c]*t[c])>0?B+.5|0:B-.5|0;return h}(A,t),u=0;u<64;++u)l[p[u]]=a[u];var c=l[0]-r;r=l[0],0==c?S(e[0]):(S(e[f[i=32767+c]]),S(B[i]));for(var w=63;w>0&&0==l[w];)w--;if(0==w)return S(s),r;for(var g,Q=1;Q<=w;){for(var F=Q;0==l[Q]&&Q<=w;)++Q;var U=Q-F;if(U>=16){g=U>>4;for(var d=1;d<=g;++d)S(o);U&=15}S(n[(U<<4)+f[i=32767+l[Q]]]),S(B[i]),Q++}return 63!=w&&S(s),r}function x(A){A=Math.min(Math.max(A,1),100),i!=A&&(function(A){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var e=s((t[r]*A+50)/100);e=Math.min(Math.max(e,1),255),o[p[r]]=e}for(var n=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var B=s((n[i]*A+50)/100);B=Math.min(Math.max(B,1),255),a[p[i]]=B}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,l=0;l<8;l++)for(var w=0;w<8;w++)u[h]=1/(o[p[h]]*f[l]*f[w]*8),c[h]=1/(a[p[h]]*f[l]*f[w]*8),h++}(A<50?Math.floor(5e3/A):Math.floor(200-2*A)),i=A)}this.encode=function(A,i){i&&x(i),w=new Array,g=0,Q=7,k(65496),k(65504),k(16),M(74),M(70),M(73),M(70),M(0),M(1),M(1),M(0),k(1),k(1),M(0),M(0),function(){k(65499),k(132),M(0);for(var A=0;A<64;A++)M(o[A]);M(1);for(var t=0;t<64;t++)M(a[t])}(),function(A,t){k(65472),k(17),M(8),k(t),k(A),M(3),M(1),M(17),M(0),M(2),M(17),M(1),M(3),M(17),M(1)}(A.width,A.height),function(){k(65476),k(418),M(0);for(var A=0;A<16;A++)M(m[A+1]);for(var t=0;t<=11;t++)M(L[t]);M(16);for(var r=0;r<16;r++)M(b[r+1]);for(var e=0;e<=161;e++)M(H[e]);M(1);for(var n=0;n<16;n++)M(E[n+1]);for(var i=0;i<=11;i++)M(y[i]);M(17);for(var s=0;s<16;s++)M(I[s+1]);for(var o=0;o<=161;o++)M(N[o])}(),k(65498),k(12),M(3),M(1),M(0),M(2),M(17),M(3),M(17),M(0),M(63),M(0);var s=0,B=0,f=0;g=0,Q=7,this.encode.displayName="_encode_";for(var h,l,C,p,K,O,T,G,q,V=A.data,R=A.height,j=4*A.width,P=0;P<R;){for(h=0;h<j;){for(K=j*P+h,T=-1,G=0,q=0;q<64;q++)O=K+(G=q>>3)*j+(T=4*(7&q)),P+G>=R&&(O-=j*(P+1+G-R)),h+T>=j&&(O-=h+T-j+4),l=V[O++],C=V[O++],p=V[O++],F[q]=(v[l]+v[C+256>>0]+v[p+512>>0]>>16)-128,U[q]=(v[l+768>>0]+v[C+1024>>0]+v[p+1280>>0]>>16)-128,d[q]=(v[l+1280>>0]+v[C+1536>>0]+v[p+1792>>0]>>16)-128;s=D(F,u,s,t,e),B=D(U,c,B,r,n),f=D(d,c,f,r,n),h+=32}P+=8}if(Q>=0){var J=[];J[1]=Q+1,J[0]=(1<<Q+1)-1,S(J)}return k(65497),new Uint8Array(w)},A=A||50,function(){for(var A=String.fromCharCode,t=0;t<256;t++)C[t]=A(t)}(),t=K(m,L),r=K(E,y),e=K(b,H),n=K(I,N),function(){for(var A=1,t=2,r=1;r<=15;r++){for(var e=A;e<t;e++)f[32767+e]=r,B[32767+e]=[],B[32767+e][1]=r,B[32767+e][0]=e;for(var n=-(t-1);n<=-A;n++)f[32767+n]=r,B[32767+n]=[],B[32767+n][1]=r,B[32767+n][0]=t-1+n;A<<=1,t<<=1}}(),function(){for(var A=0;A<256;A++)v[A]=19595*A,v[A+256>>0]=38470*A,v[A+512>>0]=7471*A+32768,v[A+768>>0]=-11059*A,v[A+1024>>0]=-21709*A,v[A+1280>>0]=32768*A+8421375,v[A+1536>>0]=-27439*A,v[A+1792>>0]=-5329*A}(),x(A)}
|
227
|
+
/**
|
228
|
+
* @license
|
229
|
+
* Copyright (c) 2017 Aras Abbasi
|
230
|
+
*
|
231
|
+
* Licensed under the MIT License.
|
232
|
+
* http://opensource.org/licenses/mit-license
|
233
|
+
*/function zt(A,t){if(this.pos=0,this.buffer=A,this.datav=new DataView(A.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Zt(A){function t(A){if(!A)throw Error("assert :P")}function r(A,t,r){for(var e=0;4>e;e++)if(A[t+e]!=r.charCodeAt(e))return!0;return!1}function e(A,t,r,e,n){for(var i=0;i<n;i++)A[t+i]=r[e+i]}function n(A,t,r,e){for(var n=0;n<e;n++)A[t+n]=r}function i(A){return new Int32Array(A)}function s(A,t){for(var r=[],e=0;e<A;e++)r.push(new t);return r}function o(A,t){var r=[];return function A(r,e,n){for(var i=n[e],s=0;s<i&&(r.push(n.length>e+1?[]:new t),!(n.length<e+1));s++)A(r[s],e+1,n)}(r,0,A),r}var a=function(){var A=this;function a(A,t){for(var r=1<<t-1>>>0;A&r;)r>>>=1;return r?(A&r-1)+r:A}function u(A,r,e,n,i){t(!(n%e));do{A[r+(n-=e)]=i}while(0<n)}function c(A,r,e,n,s){if(t(2328>=s),512>=s)var o=i(512);else if(null==(o=i(s)))return 0;return function(A,r,e,n,s,o){var c,f,h=r,l=1<<e,w=i(16),g=i(16);for(t(0!=s),t(null!=n),t(null!=A),t(0<e),f=0;f<s;++f){if(15<n[f])return 0;++w[n[f]]}if(w[0]==s)return 0;for(g[1]=0,c=1;15>c;++c){if(w[c]>1<<c)return 0;g[c+1]=g[c]+w[c]}for(f=0;f<s;++f)c=n[f],0<n[f]&&(o[g[c]++]=f);if(1==g[15])return(n=new B).g=0,n.value=o[0],u(A,h,1,l,n),l;var Q,F=-1,U=l-1,d=0,C=1,v=1,p=1<<e;for(f=0,c=1,s=2;c<=e;++c,s<<=1){if(C+=v<<=1,0>(v-=w[c]))return 0;for(;0<w[c];--w[c])(n=new B).g=c,n.value=o[f++],u(A,h+d,s,p,n),d=a(d,c)}for(c=e+1,s=2;15>=c;++c,s<<=1){if(C+=v<<=1,0>(v-=w[c]))return 0;for(;0<w[c];--w[c]){if(n=new B,(d&U)!=F){for(h+=p,Q=1<<(F=c)-e;15>F&&!(0>=(Q-=w[F]));)++F,Q<<=1;l+=p=1<<(Q=F-e),A[r+(F=d&U)].g=Q+e,A[r+F].value=h-r-F}n.g=c-e,n.value=o[f++],u(A,h+(d>>e),s,p,n),d=a(d,c)}}return C!=2*g[15]-1?0:l}(A,r,e,n,s,o)}function B(){this.value=this.g=0}function f(){this.value=this.g=0}function h(){this.G=s(5,B),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(Or,f)}function l(A,r,e,n){t(null!=A),t(null!=r),t(2147483648>n),A.Ca=254,A.I=0,A.b=-8,A.Ka=0,A.oa=r,A.pa=e,A.Jd=r,A.Yc=e+n,A.Zc=4<=n?e+n-4+1:e,b(A)}function w(A,t){for(var r=0;0<t--;)r|=E(A,128)<<t;return r}function g(A,t){var r=w(A,t);return H(A)?-r:r}function Q(A,r,e,n){var i,s=0;for(t(null!=A),t(null!=r),t(4294967288>n),A.Sb=n,A.Ra=0,A.u=0,A.h=0,4<n&&(n=4),i=0;i<n;++i)s+=r[e+i]<<8*i;A.Ra=s,A.bb=n,A.oa=r,A.pa=e}function F(A){for(;8<=A.u&&A.bb<A.Sb;)A.Ra>>>=8,A.Ra+=A.oa[A.pa+A.bb]<<qr-8>>>0,++A.bb,A.u-=8;p(A)&&(A.h=1,A.u=0)}function U(A,r){if(t(0<=r),!A.h&&r<=Gr){var e=v(A)&Tr[r];return A.u+=r,F(A),e}return A.h=1,A.u=0}function d(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function C(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function v(A){return A.Ra>>>(A.u&qr-1)>>>0}function p(A){return t(A.bb<=A.Sb),A.h||A.bb==A.Sb&&A.u>qr}function m(A,t){A.u=t,A.h=p(A)}function L(A){A.u>=Vr&&(t(A.u>=Vr),F(A))}function b(A){t(null!=A&&null!=A.oa),A.pa<A.Zc?(A.I=(A.oa[A.pa++]|A.I<<8)>>>0,A.b+=8):(t(null!=A&&null!=A.oa),A.pa<A.Yc?(A.b+=8,A.I=A.oa[A.pa++]|A.I<<8):A.Ka?A.b=0:(A.I<<=8,A.b+=8,A.Ka=1))}function H(A){return w(A,1)}function E(A,t){var r=A.Ca;0>A.b&&b(A);var e=A.b,n=r*t>>>8,i=(A.I>>>e>n)+0;for(i?(r-=n,A.I-=n+1<<e>>>0):r=n+1,e=r,n=0;256<=e;)n+=8,e>>=8;return A.b-=e=7^n+Rr[e],A.Ca=(r<<e)-1,i}function y(A,t,r){A[t+0]=r>>24&255,A[t+1]=r>>16&255,A[t+2]=r>>8&255,A[t+3]=r>>0&255}function I(A,t){return A[t+0]<<0|A[t+1]<<8}function N(A,t){return I(A,t)|A[t+2]<<16}function K(A,t){return I(A,t)|I(A,t+2)<<16}function S(A,r){var e=1<<r;return t(null!=A),t(0<r),A.X=i(e),null==A.X?0:(A.Mb=32-r,A.Xa=r,1)}function M(A,r){t(null!=A),t(null!=r),t(A.Xa==r.Xa),e(r.X,0,A.X,0,1<<r.Xa)}function k(){this.X=[],this.Xa=this.Mb=0}function D(A,r,e,n){t(null!=e),t(null!=n);var i=e[0],s=n[0];return 0==i&&(i=(A*s+r/2)/r),0==s&&(s=(r*i+A/2)/A),0>=i||0>=s?0:(e[0]=i,n[0]=s,1)}function x(A,t){return A+(1<<t)-1>>>t}function O(A,t){return((4278255360&A)+(4278255360&t)>>>0&4278255360)+((16711935&A)+(16711935&t)>>>0&16711935)>>>0}function T(t,r){A[r]=function(r,e,n,i,s,o,a){var u;for(u=0;u<s;++u){var c=A[t](o[a+u-1],n,i+u);o[a+u]=O(r[e+u],c)}}}function G(){this.ud=this.hd=this.jd=0}function q(A,t){return((4278124286&(A^t))>>>1)+(A&t)>>>0}function V(A){return 0<=A&&256>A?A:0>A?0:255<A?255:void 0}function R(A,t){return V(A+(A-t+.5>>1))}function j(A,t,r){return Math.abs(t-r)-Math.abs(A-r)}function P(A,t,r,e,n,i,s){for(e=i[s-1],r=0;r<n;++r)i[s+r]=e=O(A[t+r],e)}function J(A,t,r,e,n){var i;for(i=0;i<r;++i){var s=A[t+i],o=s>>8&255,a=16711935&(a=(a=16711935&s)+((o<<16)+o));e[n+i]=(4278255360&s)+a>>>0}}function X(A,t){t.jd=A>>0&255,t.hd=A>>8&255,t.ud=A>>16&255}function Y(A,t,r,e,n,i){var s;for(s=0;s<e;++s){var o=t[r+s],a=o>>>8,u=o,c=255&(c=(c=o>>>16)+((A.jd<<24>>24)*(a<<24>>24)>>>5));u=255&(u=(u+=(A.hd<<24>>24)*(a<<24>>24)>>>5)+((A.ud<<24>>24)*(c<<24>>24)>>>5)),n[i+s]=(4278255360&o)+(c<<16)+u}}function W(t,r,e,n,i){A[r]=function(A,t,r,e,s,o,a,u,c){for(e=a;e<u;++e)for(a=0;a<c;++a)s[o++]=i(r[n(A[t++])])},A[t]=function(t,r,s,o,a,u,c){var B=8>>t.b,f=t.Ea,h=t.K[0],l=t.w;if(8>B)for(t=(1<<t.b)-1,l=(1<<B)-1;r<s;++r){var w,g=0;for(w=0;w<f;++w)w&t||(g=n(o[a++])),u[c++]=i(h[g&l]),g>>=B}else A["VP8LMapColor"+e](o,a,h,l,u,c,r,s,f)}}function z(A,t,r,e,n){for(r=t+r;t<r;){var i=A[t++];e[n++]=i>>16&255,e[n++]=i>>8&255,e[n++]=i>>0&255}}function Z(A,t,r,e,n){for(r=t+r;t<r;){var i=A[t++];e[n++]=i>>16&255,e[n++]=i>>8&255,e[n++]=i>>0&255,e[n++]=i>>24&255}}function _(A,t,r,e,n){for(r=t+r;t<r;){var i=(s=A[t++])>>16&240|s>>12&15,s=s>>0&240|s>>28&15;e[n++]=i,e[n++]=s}}function $(A,t,r,e,n){for(r=t+r;t<r;){var i=(s=A[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;e[n++]=i,e[n++]=s}}function AA(A,t,r,e,n){for(r=t+r;t<r;){var i=A[t++];e[n++]=i>>0&255,e[n++]=i>>8&255,e[n++]=i>>16&255}}function tA(A,t,r,n,i,s){if(0==s)for(r=t+r;t<r;)y(n,((s=A[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),i+=32;else e(n,i,A,t,r)}function rA(t,r){A[r][0]=A[t+"0"],A[r][1]=A[t+"1"],A[r][2]=A[t+"2"],A[r][3]=A[t+"3"],A[r][4]=A[t+"4"],A[r][5]=A[t+"5"],A[r][6]=A[t+"6"],A[r][7]=A[t+"7"],A[r][8]=A[t+"8"],A[r][9]=A[t+"9"],A[r][10]=A[t+"10"],A[r][11]=A[t+"11"],A[r][12]=A[t+"12"],A[r][13]=A[t+"13"],A[r][14]=A[t+"0"],A[r][15]=A[t+"0"]}function eA(A){return A==Ve||A==Re||A==je||A==Pe}function nA(){this.eb=[],this.size=this.A=this.fb=0}function iA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function sA(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new nA,this.f.kb=new iA,this.sd=null}function oA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function aA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function uA(A){return alert("todo:WebPSamplerProcessPlane"),A.T}function cA(A,t){var r=A.T,n=t.ba.f.RGBA,i=n.eb,s=n.fb+A.ka*n.A,o=Qn[t.ba.S],a=A.y,u=A.O,c=A.f,B=A.N,f=A.ea,h=A.W,l=t.cc,w=t.dc,g=t.Mc,Q=t.Nc,F=A.ka,U=A.ka+A.T,d=A.U,C=d+1>>1;for(0==F?o(a,u,null,null,c,B,f,h,c,B,f,h,i,s,null,null,d):(o(t.ec,t.fc,a,u,l,w,g,Q,c,B,f,h,i,s-n.A,i,s,d),++r);F+2<U;F+=2)o(a,(u+=2*A.fa)-A.fa,a,u,l=c,w=B,g=f,Q=h,c,B+=A.Rc,f,h+=A.Rc,i,(s+=2*n.A)-n.A,i,s,d);return u+=A.fa,A.j+U<A.o?(e(t.ec,t.fc,a,u,d),e(t.cc,t.dc,c,B,C),e(t.Mc,t.Nc,f,h,C),r--):1&U||o(a,u,null,null,c,B,f,h,c,B,f,h,i,s+n.A,null,null,d),r}function BA(A,r,e){var n=A.F,i=[A.J];if(null!=n){var s=A.U,o=r.ba.S,a=o==Te||o==je;r=r.ba.f.RGBA;var u=[0],c=A.ka;u[0]=A.T,A.Kb&&(0==c?--u[0]:(--c,i[0]-=A.width),A.j+A.ka+A.T==A.o&&(u[0]=A.o-A.j-c));var B=r.eb;A=me(n,i[0],A.width,s,u,B,(c=r.fb+c*r.A)+(a?0:3),r.A),t(e==u),A&&eA(o)&&ve(B,c,a,s,u,r.A)}return 0}function fA(A){var t=A.ma,r=t.ba.S,e=11>r,n=r==De||r==Oe||r==Te||r==Ge||12==r||eA(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!kr(t.Oa,A,n?11:12))return 0;if(n&&eA(r)&&Fr(),A.da)alert("todo:use_scaling");else{if(e){if(t.Ib=uA,A.Kb){if(t.memory=i(A.U+2*(r=A.U+1>>1)),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+A.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=cA,Fr()}}else alert("todo:EmitYUV");n&&(t.Jb=BA,e&&gr())}if(e&&!Nn){for(A=0;256>A;++A)Kn[A]=89858*(A-128)+bn>>Ln,kn[A]=-22014*(A-128)+bn,Mn[A]=-45773*(A-128),Sn[A]=113618*(A-128)+bn>>Ln;for(A=Hn;A<En;++A)Dn[A-Hn]=PA(t=76283*(A-16)+bn>>Ln,255),xn[A-Hn]=PA(t+8>>4,15);Nn=1}return 1}function hA(A){var r=A.ma,e=A.U,n=A.T;return t(!(1&A.ka)),0>=e||0>=n?0:(e=r.Ib(A,r),null!=r.Jb&&r.Jb(A,r,e),r.Dc+=e,1)}function lA(A){A.ma.memory=null}function wA(A,t,r,e){return 47!=U(A,8)?0:(t[0]=U(A,14)+1,r[0]=U(A,14)+1,e[0]=U(A,1),0!=U(A,3)?0:!A.h)}function gA(A,t){if(4>A)return A+1;var r=A-2>>1;return(2+(1&A)<<r)+U(t,r)+1}function QA(A,t){return 120<t?t-120:1<=(r=((r=Ze[t-1])>>4)*A+(8-(15&r)))?r:1;var r}function FA(A,t,r){var e=v(r),n=A[t+=255&e].g-8;return 0<n&&(m(r,r.u+8),e=v(r),t+=A[t].value,t+=e&(1<<n)-1),m(r,r.u+A[t].g),A[t].value}function UA(A,r,e){return e.g+=A.g,e.value+=A.value<<r>>>0,t(8>=e.g),A.g}function dA(A,r,e){var n=A.xc;return t((r=0==n?0:A.vc[A.md*(e>>n)+(r>>n)])<A.Wb),A.Ya[r]}function CA(A,r,n,i){var s=A.ab,o=A.c*r,a=A.C;r=a+r;var u=n,c=i;for(i=A.Ta,n=A.Ua;0<s--;){var B=A.gc[s],f=a,h=r,l=u,w=c,g=(c=i,u=n,B.Ea);switch(t(f<h),t(h<=B.nc),B.hc){case 2:Jr(l,w,(h-f)*g,c,u);break;case 0:var Q=f,F=h,U=c,d=u,C=(b=B).Ea;0==Q&&(jr(l,w,null,null,1,U,d),P(l,w+1,0,0,C-1,U,d+1),w+=C,d+=C,++Q);for(var v=1<<b.b,p=v-1,m=x(C,b.b),L=b.K,b=b.w+(Q>>b.b)*m;Q<F;){var H=L,E=b,y=1;for(Pr(l,w,U,d-C,1,U,d);y<C;){var I=(y&~p)+v;I>C&&(I=C),(0,Zr[H[E++]>>8&15])(l,w+ +y,U,d+y-C,I-y,U,d+y),y=I}w+=C,d+=C,++Q&p||(b+=m)}h!=B.nc&&e(c,u-g,c,u+(h-f-1)*g,g);break;case 1:for(g=l,F=w,C=(l=B.Ea)-(d=l&~(U=(w=1<<B.b)-1)),Q=x(l,B.b),v=B.K,B=B.w+(f>>B.b)*Q;f<h;){for(p=v,m=B,L=new G,b=F+d,H=F+l;F<b;)X(p[m++],L),_r(L,g,F,w,c,u),F+=w,u+=w;F<H&&(X(p[m++],L),_r(L,g,F,C,c,u),F+=C,u+=C),++f&U||(B+=Q)}break;case 3:if(l==c&&w==u&&0<B.b){for(F=c,l=g=u+(h-f)*g-(d=(h-f)*x(B.Ea,B.b)),w=c,U=u,Q=[],d=(C=d)-1;0<=d;--d)Q[d]=w[U+d];for(d=C-1;0<=d;--d)F[l+d]=Q[d];Xr(B,f,h,c,g,c,u)}else Xr(B,f,h,l,w,c,u)}u=i,c=n}c!=n&&e(i,n,u,c,o)}function vA(A,r){var e=A.V,n=A.Ba+A.c*A.C,i=r-A.C;if(t(r<=A.l.o),t(16>=i),0<i){var s=A.l,o=A.Ta,a=A.Ua,u=s.width;if(CA(A,i,e,n),i=a=[a],t((e=A.C)<(n=r)),t(s.v<s.va),n>s.o&&(n=s.o),e<s.j){var c=s.j-e;e=s.j,i[0]+=c*u}if(e>=n?e=0:(i[0]+=4*s.v,s.ka=e-s.j,s.U=s.va-s.v,s.T=n-e,e=1),e){if(a=a[0],11>(e=A.ca).S){var B=e.f.RGBA,f=(n=e.S,i=s.U,s=s.T,c=B.eb,B.A),h=s;for(B=B.fb+A.Ma*B.A;0<h--;){var l=o,w=a,g=i,Q=c,F=B;switch(n){case ke:$r(l,w,g,Q,F);break;case De:Ae(l,w,g,Q,F);break;case Ve:Ae(l,w,g,Q,F),ve(Q,F,0,g,1,0);break;case xe:ee(l,w,g,Q,F);break;case Oe:tA(l,w,g,Q,F,1);break;case Re:tA(l,w,g,Q,F,1),ve(Q,F,0,g,1,0);break;case Te:tA(l,w,g,Q,F,0);break;case je:tA(l,w,g,Q,F,0),ve(Q,F,1,g,1,0);break;case Ge:te(l,w,g,Q,F);break;case Pe:te(l,w,g,Q,F),pe(Q,F,g,1,0);break;case qe:re(l,w,g,Q,F);break;default:t(0)}a+=u,B+=f}A.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(A.Ma<=e.height)}}A.C=r,t(A.C<=A.i)}function pA(A){var t;if(0<A.ua)return 0;for(t=0;t<A.Wb;++t){var r=A.Ya[t].G,e=A.Ya[t].H;if(0<r[1][e[1]+0].g||0<r[2][e[2]+0].g||0<r[3][e[3]+0].g)return 0}return 1}function mA(A,r,e,n,i,s){if(0!=A.Z){var o=A.qd,a=A.rd;for(t(null!=gn[A.Z]);r<e;++r)gn[A.Z](o,a,n,i,n,i,s),o=n,a=i,i+=s;A.qd=o,A.rd=a}}function LA(A,r){var e=A.l.ma,n=0==e.Z||1==e.Z?A.l.j:A.C;if(n=A.C<n?n:A.C,t(r<=A.l.o),r>n){var i=A.l.width,s=e.ca,o=e.tb+i*n,a=A.V,u=A.Ba+A.c*n,c=A.gc;t(1==A.ab),t(3==c[0].hc),Wr(c[0],n,r,a,u,s,o),mA(e,n,r,s,o,i)}A.C=A.Ma=r}function bA(A,r,e,n,i,s,o){var a=A.$/n,u=A.$%n,c=A.m,B=A.s,f=e+A.$,h=f;i=e+n*i;var l=e+n*s,w=280+B.ua,g=A.Pb?a:16777216,Q=0<B.ua?B.Wa:null,F=B.wc,U=f<l?dA(B,u,a):null;t(A.C<s),t(l<=i);var d=!1;A:for(;;){for(;d||f<l;){var C=0;if(a>=g){var b=f-e;t((g=A).Pb),g.wd=g.m,g.xd=b,0<g.s.ua&&M(g.s.Wa,g.s.vb),g=a+$e}if(u&F||(U=dA(B,u,a)),t(null!=U),U.Qb&&(r[f]=U.qb,d=!0),!d)if(L(c),U.jc){b=r;var H=f,E=U.pd[v(C=c)&Or-1];t(U.jc),256>E.g?(m(C,C.u+E.g),b[H]=E.value,C=0):(m(C,C.u+E.g-256),t(256<=E.value),C=E.value),0==C&&(d=!0)}else C=FA(U.G[0],U.H[0],c);if(c.h)break;if(d||256>C){if(!d)if(U.nd)r[f]=(U.qb|C<<8)>>>0;else{if(L(c),d=FA(U.G[1],U.H[1],c),L(c),b=FA(U.G[2],U.H[2],c),H=FA(U.G[3],U.H[3],c),c.h)break;r[f]=(H<<24|d<<16|C<<8|b)>>>0}if(d=!1,++f,++u>=n&&(u=0,++a,null!=o&&a<=s&&!(a%16)&&o(A,a),null!=Q))for(;h<f;)C=r[h++],Q.X[(506832829*C&4294967295)>>>Q.Mb]=C}else if(280>C){if(C=gA(C-256,c),b=FA(U.G[4],U.H[4],c),L(c),b=QA(n,b=gA(b,c)),c.h)break;if(f-e<b||i-f<C)break A;for(H=0;H<C;++H)r[f+H]=r[f+H-b];for(f+=C,u+=C;u>=n;)u-=n,++a,null!=o&&a<=s&&!(a%16)&&o(A,a);if(t(f<=i),u&F&&(U=dA(B,u,a)),null!=Q)for(;h<f;)C=r[h++],Q.X[(506832829*C&4294967295)>>>Q.Mb]=C}else{if(!(C<w))break A;for(d=C-280,t(null!=Q);h<f;)C=r[h++],Q.X[(506832829*C&4294967295)>>>Q.Mb]=C;C=f,t(!(d>>>(b=Q).Xa)),r[C]=b.X[d],d=!0}d||t(c.h==p(c))}if(A.Pb&&c.h&&f<i)t(A.m.h),A.a=5,A.m=A.wd,A.$=A.xd,0<A.s.ua&&M(A.s.vb,A.s.Wa);else{if(c.h)break A;null!=o&&o(A,a>s?s:a),A.a=0,A.$=f-e}return 1}return A.a=3,0}function HA(A){t(null!=A),A.vc=null,A.yc=null,A.Ya=null;var r=A.Wa;null!=r&&(r.X=null),A.vb=null,t(null!=A)}function EA(){var t=new sr;return null==t?null:(t.a=0,t.xb=wn,rA("Predictor","VP8LPredictors"),rA("Predictor","VP8LPredictors_C"),rA("PredictorAdd","VP8LPredictorsAdd"),rA("PredictorAdd","VP8LPredictorsAdd_C"),Jr=J,_r=Y,$r=z,Ae=Z,te=_,re=$,ee=AA,A.VP8LMapColor32b=Yr,A.VP8LMapColor8b=zr,t)}function yA(A,r,e,o,a){var u=1,f=[A],l=[r],w=o.m,g=o.s,Q=null,F=0;A:for(;;){if(e)for(;u&&U(w,1);){var d=f,C=l,p=o,b=1,H=p.m,E=p.gc[p.ab],y=U(H,2);if(p.Oc&1<<y)u=0;else{switch(p.Oc|=1<<y,E.hc=y,E.Ea=d[0],E.nc=C[0],E.K=[null],++p.ab,t(4>=p.ab),y){case 0:case 1:E.b=U(H,3)+2,b=yA(x(E.Ea,E.b),x(E.nc,E.b),0,p,E.K),E.K=E.K[0];break;case 3:var I,N=U(H,8)+1,K=16<N?0:4<N?1:2<N?2:3;if(d[0]=x(E.Ea,K),E.b=K,I=b=yA(N,1,0,p,E.K)){var M,k=N,D=E,T=1<<(8>>D.b),G=i(T);if(null==G)I=0;else{var q=D.K[0],V=D.w;for(G[0]=D.K[0][0],M=1;M<1*k;++M)G[M]=O(q[V+M],G[M-1]);for(;M<4*T;++M)G[M]=0;D.K[0]=null,D.K[0]=G,I=1}}b=I;break;case 2:break;default:t(0)}u=b}}if(f=f[0],l=l[0],u&&U(w,1)&&!(u=1<=(F=U(w,4))&&11>=F)){o.a=3;break A}var R;if(R=u)t:{var j,P,J,X=o,Y=f,W=l,z=F,Z=e,_=X.m,$=X.s,AA=[null],tA=1,rA=0,eA=_e[z];r:for(;;){if(Z&&U(_,1)){var nA=U(_,3)+2,iA=x(Y,nA),sA=x(W,nA),oA=iA*sA;if(!yA(iA,sA,0,X,AA))break r;for(AA=AA[0],$.xc=nA,j=0;j<oA;++j){var aA=AA[j]>>8&65535;AA[j]=aA,aA>=tA&&(tA=aA+1)}}if(_.h)break r;for(P=0;5>P;++P){var uA=Ye[P];!P&&0<z&&(uA+=1<<z),rA<uA&&(rA=uA)}var cA=s(tA*eA,B),BA=tA,fA=s(BA,h);if(null==fA)var hA=null;else t(65536>=BA),hA=fA;var lA=i(rA);if(null==hA||null==lA||null==cA){X.a=1;break r}var wA=cA;for(j=J=0;j<tA;++j){var gA=hA[j],QA=gA.G,FA=gA.H,dA=0,CA=1,vA=0;for(P=0;5>P;++P){uA=Ye[P],QA[P]=wA,FA[P]=J,!P&&0<z&&(uA+=1<<z);e:{var pA,mA=uA,LA=X,EA=lA,IA=wA,NA=J,KA=0,SA=LA.m,MA=U(SA,1);if(n(EA,0,0,mA),MA){var kA=U(SA,1)+1,DA=U(SA,1),xA=U(SA,0==DA?1:8);EA[xA]=1,2==kA&&(EA[xA=U(SA,8)]=1);var OA=1}else{var TA=i(19),GA=U(SA,4)+4;if(19<GA){LA.a=3;var qA=0;break e}for(pA=0;pA<GA;++pA)TA[ze[pA]]=U(SA,3);var VA=void 0,RA=void 0,jA=LA,PA=TA,JA=mA,XA=EA,YA=0,WA=jA.m,zA=8,ZA=s(128,B);n:for(;c(ZA,0,7,PA,19);){if(U(WA,1)){var _A=2+2*U(WA,3);if((VA=2+U(WA,_A))>JA)break n}else VA=JA;for(RA=0;RA<JA&&VA--;){L(WA);var $A=ZA[0+(127&v(WA))];m(WA,WA.u+$A.g);var At=$A.value;if(16>At)XA[RA++]=At,0!=At&&(zA=At);else{var tt=16==At,rt=At-16,et=Xe[rt],nt=U(WA,Je[rt])+et;if(RA+nt>JA)break n;for(var it=tt?zA:0;0<nt--;)XA[RA++]=it}}YA=1;break n}YA||(jA.a=3),OA=YA}(OA=OA&&!SA.h)&&(KA=c(IA,NA,8,EA,mA)),OA&&0!=KA?qA=KA:(LA.a=3,qA=0)}if(0==qA)break r;if(CA&&1==We[P]&&(CA=0==wA[J].g),dA+=wA[J].g,J+=qA,3>=P){var st,ot=lA[0];for(st=1;st<uA;++st)lA[st]>ot&&(ot=lA[st]);vA+=ot}}if(gA.nd=CA,gA.Qb=0,CA&&(gA.qb=(QA[3][FA[3]+0].value<<24|QA[1][FA[1]+0].value<<16|QA[2][FA[2]+0].value)>>>0,0==dA&&256>QA[0][FA[0]+0].value&&(gA.Qb=1,gA.qb+=QA[0][FA[0]+0].value<<8)),gA.jc=!gA.Qb&&6>vA,gA.jc){var at,ut=gA;for(at=0;at<Or;++at){var ct=at,Bt=ut.pd[ct],ft=ut.G[0][ut.H[0]+ct];256<=ft.value?(Bt.g=ft.g+256,Bt.value=ft.value):(Bt.g=0,Bt.value=0,ct>>=UA(ft,8,Bt),ct>>=UA(ut.G[1][ut.H[1]+ct],16,Bt),ct>>=UA(ut.G[2][ut.H[2]+ct],0,Bt),UA(ut.G[3][ut.H[3]+ct],24,Bt))}}}$.vc=AA,$.Wb=tA,$.Ya=hA,$.yc=cA,R=1;break t}R=0}if(!(u=R)){o.a=3;break A}if(0<F){if(g.ua=1<<F,!S(g.Wa,F)){o.a=1,u=0;break A}}else g.ua=0;var ht=o,lt=f,wt=l,gt=ht.s,Qt=gt.xc;if(ht.c=lt,ht.i=wt,gt.md=x(lt,Qt),gt.wc=0==Qt?-1:(1<<Qt)-1,e){o.xb=ln;break A}if(null==(Q=i(f*l))){o.a=1,u=0;break A}u=(u=bA(o,Q,0,f,l,l,null))&&!w.h;break A}return u?(null!=a?a[0]=Q:(t(null==Q),t(e)),o.$=0,e||HA(g)):HA(g),u}function IA(A,r){var e=A.c*A.i,n=e+r+16*r;return t(A.c<=r),A.V=i(n),null==A.V?(A.Ta=null,A.Ua=0,A.a=1,0):(A.Ta=A.V,A.Ua=A.Ba+e+r,1)}function NA(A,r){var e=A.C,n=r-e,i=A.V,s=A.Ba+A.c*e;for(t(r<=A.l.o);0<n;){var o=16<n?16:n,a=A.l.ma,u=A.l.width,c=u*o,B=a.ca,f=a.tb+u*e,h=A.Ta,l=A.Ua;CA(A,o,i,s),Le(h,l,B,f,c),mA(a,e,e+o,B,f,u),n-=o,i+=o*A.c,e+=o}t(e==r),A.C=A.Ma=r}function KA(){this.ub=this.yd=this.td=this.Rb=0}function SA(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function MA(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function kA(){this.Yb=function(){var A=[];return function A(t,r,e){for(var n=e[r],i=0;i<n&&(t.push(e.length>r+1?[]:0),!(e.length<r+1));i++)A(t[i],r+1,e)}(A,0,[3,11]),A}()}function DA(){this.jb=i(3),this.Wc=o([4,8],kA),this.Xc=o([4,17],kA)}function xA(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function OA(){this.ld=this.La=this.dd=this.tc=0}function TA(){this.Na=this.la=0}function GA(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function qA(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function VA(){this.uc=this.M=this.Nb=0,this.wa=Array(new OA),this.Y=0,this.ya=Array(new qA),this.aa=0,this.l=new JA}function RA(){this.y=i(16),this.f=i(8),this.ea=i(8)}function jA(){this.cb=this.a=0,this.sc="",this.m=new d,this.Od=new KA,this.Kc=new SA,this.ed=new xA,this.Qa=new MA,this.Ic=this.$c=this.Aa=0,this.D=new VA,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,d),this.ia=0,this.pb=s(4,GA),this.Pa=new DA,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new RA),this.Hd=0,this.rb=Array(new TA),this.sb=0,this.wa=Array(new OA),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new qA),this.L=this.aa=0,this.gd=o([4,2],OA),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function PA(A,t){return 0>A?0:A>t?t:A}function JA(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function XA(){var A=new jA;return null!=A&&(A.a=0,A.sc="OK",A.cb=0,A.Xb=0,rn||(rn=ZA)),A}function YA(A,t,r){return 0==A.a&&(A.a=t,A.sc=r,A.cb=0),0}function WA(A,t,r){return 3<=r&&157==A[t+0]&&1==A[t+1]&&42==A[t+2]}function zA(A,r){if(null==A)return 0;if(A.a=0,A.sc="OK",null==r)return YA(A,2,"null VP8Io passed to VP8GetHeaders()");var e=r.data,i=r.w,s=r.ha;if(4>s)return YA(A,7,"Truncated header.");var o=e[i+0]|e[i+1]<<8|e[i+2]<<16,a=A.Od;if(a.Rb=!(1&o),a.td=o>>1&7,a.yd=o>>4&1,a.ub=o>>5,3<a.td)return YA(A,3,"Incorrect keyframe parameters.");if(!a.yd)return YA(A,4,"Frame not displayable.");i+=3,s-=3;var u=A.Kc;if(a.Rb){if(7>s)return YA(A,7,"cannot parse picture header");if(!WA(e,i,s))return YA(A,3,"Bad code word");u.c=16383&(e[i+4]<<8|e[i+3]),u.Td=e[i+4]>>6,u.i=16383&(e[i+6]<<8|e[i+5]),u.Ud=e[i+6]>>6,i+=7,s-=7,A.za=u.c+15>>4,A.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,n((o=A.Pa).jb,0,255,o.jb.length),t(null!=(o=A.Qa)),o.Cb=0,o.Bb=0,o.Fb=1,n(o.Zb,0,0,o.Zb.length),n(o.Lb,0,0,o.Lb)}if(a.ub>s)return YA(A,7,"bad partition length");l(o=A.m,e,i,a.ub),i+=a.ub,s-=a.ub,a.Rb&&(u.Ld=H(o),u.Kd=H(o)),u=A.Qa;var c,B=A.Pa;if(t(null!=o),t(null!=u),u.Cb=H(o),u.Cb){if(u.Bb=H(o),H(o)){for(u.Fb=H(o),c=0;4>c;++c)u.Zb[c]=H(o)?g(o,7):0;for(c=0;4>c;++c)u.Lb[c]=H(o)?g(o,6):0}if(u.Bb)for(c=0;3>c;++c)B.jb[c]=H(o)?w(o,8):255}else u.Bb=0;if(o.Ka)return YA(A,3,"cannot parse segment header");if((u=A.ed).zd=H(o),u.Tb=w(o,6),u.wb=w(o,3),u.Pc=H(o),u.Pc&&H(o)){for(B=0;4>B;++B)H(o)&&(u.vd[B]=g(o,6));for(B=0;4>B;++B)H(o)&&(u.od[B]=g(o,6))}if(A.L=0==u.Tb?0:u.zd?1:2,o.Ka)return YA(A,3,"cannot parse filter header");var f=s;if(s=c=i,i=c+f,u=f,A.Xb=(1<<w(A.m,2))-1,f<3*(B=A.Xb))e=7;else{for(c+=3*B,u-=3*B,f=0;f<B;++f){var h=e[s+0]|e[s+1]<<8|e[s+2]<<16;h>u&&(h=u),l(A.Jc[+f],e,c,h),c+=h,u-=h,s+=3}l(A.Jc[+B],e,c,u),e=c<i?0:5}if(0!=e)return YA(A,e,"cannot parse partitions");for(e=w(c=A.m,7),s=H(c)?g(c,4):0,i=H(c)?g(c,4):0,u=H(c)?g(c,4):0,B=H(c)?g(c,4):0,c=H(c)?g(c,4):0,f=A.Qa,h=0;4>h;++h){if(f.Cb){var Q=f.Zb[h];f.Fb||(Q+=e)}else{if(0<h){A.pb[h]=A.pb[0];continue}Q=e}var F=A.pb[h];F.Sc[0]=An[PA(Q+s,127)],F.Sc[1]=tn[PA(Q+0,127)],F.Eb[0]=2*An[PA(Q+i,127)],F.Eb[1]=101581*tn[PA(Q+u,127)]>>16,8>F.Eb[1]&&(F.Eb[1]=8),F.Qc[0]=An[PA(Q+B,117)],F.Qc[1]=tn[PA(Q+c,127)],F.lc=Q+c}if(!a.Rb)return YA(A,4,"Not a key frame.");for(H(o),a=A.Pa,e=0;4>e;++e){for(s=0;8>s;++s)for(i=0;3>i;++i)for(u=0;11>u;++u)B=E(o,un[e][s][i][u])?w(o,8):on[e][s][i][u],a.Wc[e][s].Yb[i][u]=B;for(s=0;17>s;++s)a.Xc[e][s]=a.Wc[e][cn[s]]}return A.kc=H(o),A.kc&&(A.Bd=w(o,8)),A.cb=1}function ZA(A,t,r,e,n,i,s){var o=t[n].Yb[r];for(r=0;16>n;++n){if(!E(A,o[r+0]))return n;for(;!E(A,o[r+1]);)if(o=t[++n].Yb[0],r=0,16==n)return 16;var a=t[n+1].Yb;if(E(A,o[r+2])){var u=A,c=0;if(E(u,(f=o)[(B=r)+3]))if(E(u,f[B+6])){for(o=0,B=2*(c=E(u,f[B+8]))+(f=E(u,f[B+9+c])),c=0,f=en[B];f[o];++o)c+=c+E(u,f[o]);c+=3+(8<<B)}else E(u,f[B+7])?(c=7+2*E(u,165),c+=E(u,145)):c=5+E(u,159);else c=E(u,f[B+4])?3+E(u,f[B+5]):2;o=a[2]}else c=1,o=a[1];a=s+nn[n],0>(u=A).b&&b(u);var B,f=u.b,h=(B=u.Ca>>1)-(u.I>>f)>>31;--u.b,u.Ca+=h,u.Ca|=1,u.I-=(B+1&h)<<f,i[a]=((c^h)-h)*e[(0<n)+0]}return 16}function _A(A){var t=A.rb[A.sb-1];t.la=0,t.Na=0,n(A.zc,0,0,A.zc.length),A.ja=0}function $A(A,r){if(null==A)return 0;if(null==r)return YA(A,2,"NULL VP8Io parameter in VP8Decode().");if(!A.cb&&!zA(A,r))return 0;if(t(A.cb),null==r.ac||r.ac(r)){r.ob&&(A.L=0);var o=Tn[A.L];if(2==A.L?(A.yb=0,A.zb=0):(A.yb=r.v-o>>4,A.zb=r.j-o>>4,0>A.yb&&(A.yb=0),0>A.zb&&(A.zb=0)),A.Va=r.o+15+o>>4,A.Hb=r.va+15+o>>4,A.Hb>A.za&&(A.Hb=A.za),A.Va>A.Ub&&(A.Va=A.Ub),0<A.L){var a=A.ed;for(o=0;4>o;++o){var u;if(A.Qa.Cb){var c=A.Qa.Lb[o];A.Qa.Fb||(c+=a.Tb)}else c=a.Tb;for(u=0;1>=u;++u){var B=A.gd[o][u],f=c;if(a.Pc&&(f+=a.vd[0],u&&(f+=a.od[0])),0<(f=0>f?0:63<f?63:f)){var h=f;0<a.wb&&(h=4<a.wb?h>>2:h>>1)>9-a.wb&&(h=9-a.wb),1>h&&(h=1),B.dd=h,B.tc=2*f+h,B.ld=40<=f?2:15<=f?1:0}else B.tc=0;B.La=u}}}o=0}else YA(A,6,"Frame setup failed"),o=A.a;if(o=0==o){if(o){A.$c=0,0<A.Aa||(A.Ic=qn);A:{a=4*(h=A.za);var l=32*h,w=h+1,g=0<A.L?h*(0<A.Aa?2:1):0,Q=(2==A.Aa?2:1)*h;if((B=a+832+(u=3*(16*(o=A.Ic)+Tn[A.L])/2*l)+(c=null!=A.Fa&&0<A.Fa.length?A.Kc.c*A.Kc.i:0))!=B)o=0;else{if(B>A.Vb){if(A.Vb=0,A.Ec=i(B),A.Fc=0,null==A.Ec){o=YA(A,1,"no memory during frame initialization.");break A}A.Vb=B}f=A.Fc,A.Ac=B=A.Ec,A.Bc=f,f+=a,A.Gd=s(l,RA),A.Hd=0,A.rb=s(w+1,TA),A.sb=1,A.wa=g?s(g,OA):null,A.Y=0,A.D.Nb=0,A.D.wa=A.wa,A.D.Y=A.Y,0<A.Aa&&(A.D.Y+=h),t(!0),A.oc=B,A.pc=f,f+=832,A.ya=s(Q,qA),A.aa=0,A.D.ya=A.ya,A.D.aa=A.aa,2==A.Aa&&(A.D.aa+=h),A.R=16*h,A.B=8*h,h=(l=Tn[A.L])*A.R,l=l/2*A.B,A.sa=B,A.ta=f+h,A.qa=A.sa,A.ra=A.ta+16*o*A.R+l,A.Ha=A.qa,A.Ia=A.ra+8*o*A.B+l,A.$c=0,f+=u,A.mb=c?B:null,A.nb=c?f:null,t(f+c<=A.Fc+A.Vb),_A(A),n(A.Ac,A.Bc,0,a),o=1}}if(o){if(r.ka=0,r.y=A.sa,r.O=A.ta,r.f=A.qa,r.N=A.ra,r.ea=A.Ha,r.Vd=A.Ia,r.fa=A.R,r.Rc=A.B,r.F=null,r.J=0,!Ie){for(o=-255;255>=o;++o)be[255+o]=0>o?-o:o;for(o=-1020;1020>=o;++o)He[1020+o]=-128>o?-128:127<o?127:o;for(o=-112;112>=o;++o)Ee[112+o]=-16>o?-16:15<o?15:o;for(o=-255;510>=o;++o)ye[255+o]=0>o?0:255<o?255:o;Ie=1}ne=ut,ie=it,oe=st,ae=ot,ue=at,se=nt,ce=Yt,Be=Wt,fe=_t,he=$t,le=zt,we=Zt,ge=Ar,Qe=tr,Fe=Vt,Ue=Rt,de=jt,Ce=Pt,fn[0]=mt,fn[1]=Bt,fn[2]=vt,fn[3]=pt,fn[4]=Lt,fn[5]=Ht,fn[6]=bt,fn[7]=Et,fn[8]=It,fn[9]=yt,Bn[0]=Qt,Bn[1]=ht,Bn[2]=lt,Bn[3]=wt,Bn[4]=Ft,Bn[5]=Ut,Bn[6]=dt,hn[0]=Mt,hn[1]=ft,hn[2]=Nt,hn[3]=Kt,hn[4]=Dt,hn[5]=kt,hn[6]=xt,o=1}else o=0}o&&(o=function(A,r){for(A.M=0;A.M<A.Va;++A.M){var s,o=A.Jc[A.M&A.Xb],a=A.m,u=A;for(s=0;s<u.za;++s){var c=a,B=u,f=B.Ac,h=B.Bc+4*s,l=B.zc,w=B.ya[B.aa+s];if(w.$b=B.Qa.Bb?E(c,B.Pa.jb[0])?2+E(c,B.Pa.jb[2]):E(c,B.Pa.jb[1]):0,B.kc&&(w.Ad=E(c,B.Bd)),w.Za=!E(c,145)+0,w.Za){var g=w.Ob,Q=0;for(B=0;4>B;++B){var F,U=l[0+B];for(F=0;4>F;++F){for(var d=sn[E(c,(U=an[f[h+F]][U])[0])];0<d;)d=sn[2*d+E(c,U[d])];f[h+F]=U=-d}e(g,Q,f,h,4),Q+=4,l[0+B]=U}}else U=E(c,156)?E(c,128)?1:3:E(c,163)?2:0,w.Ob[0]=U,n(f,h,U,4),n(l,0,U,4);w.Dd=E(c,142)?E(c,114)?E(c,183)?1:3:2:0}if(u.m.Ka)return YA(A,7,"Premature end-of-partition0 encountered.");for(;A.ja<A.za;++A.ja){if(u=o,c=(a=A).rb[a.sb-1],f=a.rb[a.sb+a.ja],s=a.ya[a.aa+a.ja],h=a.kc?s.Ad:0)c.la=f.la=0,s.Za||(c.Na=f.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var C,v;if(c=f,f=u,h=a.Pa.Xc,w=a.pb[(l=a.ya[a.aa+a.ja]).$b],Q=a.rb[a.sb-1],U=F=0,n(B=l.ad,g=0,0,384),l.Za)var p=0,m=h[3];else{d=i(16);var L=c.Na+Q.Na;if(L=rn(f,h[1],L,w.Eb,0,d,0),c.Na=Q.Na=(0<L)+0,1<L)ne(d,0,B,g);else{var b=d[0]+3>>3;for(d=0;256>d;d+=16)B[g+d]=b}p=1,m=h[0]}var H=15&c.la,y=15&Q.la;for(d=0;4>d;++d){var I=1&y;for(b=v=0;4>b;++b)H=H>>1|(I=(L=rn(f,m,L=I+(1&H),w.Sc,p,B,g))>p)<<7,v=v<<2|(3<L?3:1<L?2:0!=B[g+0]),g+=16;H>>=4,y=y>>1|I<<7,F=(F<<8|v)>>>0}for(m=H,p=y>>4,C=0;4>C;C+=2){for(v=0,H=c.la>>4+C,y=Q.la>>4+C,d=0;2>d;++d){for(I=1&y,b=0;2>b;++b)H=H>>1|(I=0<(L=rn(f,h[2],L=I+(1&H),w.Qc,0,B,g)))<<3,v=v<<2|(3<L?3:1<L?2:0!=B[g+0]),g+=16;H>>=2,y=y>>1|I<<5}U|=v<<4*C,m|=H<<4<<C,p|=(240&y)<<C}c.la=m,Q.la=p,l.Hc=F,l.Gc=U,l.ia=43690&U?0:w.ia,h=!(F|U)}if(0<a.L&&(a.wa[a.Y+a.ja]=a.gd[s.$b][s.Za],a.wa[a.Y+a.ja].La|=!h),u.Ka)return YA(A,7,"Premature end-of-file encountered.")}if(_A(A),a=r,u=1,s=(o=A).D,c=0<o.L&&o.M>=o.zb&&o.M<=o.Va,0==o.Aa)A:{if(s.M=o.M,s.uc=c,Sr(o,s),u=1,s=(v=o.D).Nb,c=(U=Tn[o.L])*o.R,h=o.sa,l=o.ta-c+(d=16*s*o.R),w=o.qa,B=o.ra-(f=U/2*o.B)+(b=8*s*o.B),g=o.Ha,Q=o.Ia-f+b,y=0==(H=v.M),F=H>=o.Va-1,2==o.Aa&&Sr(o,v),v.uc)for(I=(L=o).D.M,t(L.D.uc),v=L.yb;v<L.Hb;++v){m=I;var N=(K=(q=L).D).Nb,K=K.wa[K.Y+(p=v)],S=q.sa,M=q.ta+16*N*(C=q.R)+16*p,k=K.dd,D=K.tc;if(0!=D)if(t(3<=D),1==q.L)0<p&&Ue(S,M,C,D+4),K.La&&Ce(S,M,C,D),0<m&&Fe(S,M,C,D+4),K.La&&de(S,M,C,D);else{var x=q.B,O=q.qa,T=q.ra+8*N*x+8*p,G=q.Ha,q=q.Ia+8*N*x+8*p;N=K.ld,0<p&&(Be(S,M,C,D+4,k,N),he(O,T,G,q,x,D+4,k,N)),K.La&&(we(S,M,C,D,k,N),Qe(O,T,G,q,x,D,k,N)),0<m&&(ce(S,M,C,D+4,k,N),fe(O,T,G,q,x,D+4,k,N)),K.La&&(le(S,M,C,D,k,N),ge(O,T,G,q,x,D,k,N))}}if(o.ia&&alert("todo:DitherRow"),null!=a.put){if(v=16*H,H=16*(H+1),y?(a.y=o.sa,a.O=o.ta+d,a.f=o.qa,a.N=o.ra+b,a.ea=o.Ha,a.W=o.Ia+b):(v-=U,a.y=h,a.O=l,a.f=w,a.N=B,a.ea=g,a.W=Q),F||(H-=U),H>a.o&&(H=a.o),a.F=null,a.J=null,null!=o.Fa&&0<o.Fa.length&&v<H&&(a.J=Br(o,a,v,H-v),a.F=o.mb,null==a.F&&0==a.F.length)){u=YA(o,3,"Could not decode alpha data.");break A}v<a.j&&(U=a.j-v,v=a.j,t(!(1&U)),a.O+=o.R*U,a.N+=o.B*(U>>1),a.W+=o.B*(U>>1),null!=a.F&&(a.J+=a.width*U)),v<H&&(a.O+=a.v,a.N+=a.v>>1,a.W+=a.v>>1,null!=a.F&&(a.J+=a.v),a.ka=v-a.j,a.U=a.va-a.v,a.T=H-v,u=a.put(a))}s+1!=o.Ic||F||(e(o.sa,o.ta-c,h,l+16*o.R,c),e(o.qa,o.ra-f,w,B+8*o.B,f),e(o.Ha,o.Ia-f,g,Q+8*o.B,f))}if(!u)return YA(A,6,"Output aborted.")}return 1}(A,r)),null!=r.bc&&r.bc(r),o&=1}return o?(A.cb=0,o):0}function At(A,t,r,e,n){A[t+r+32*e]=-256&(n=A[t+r+32*e]+(n>>3))?0>n?0:255:n}function tt(A,t,r,e,n,i){At(A,t,0,r,e+n),At(A,t,1,r,e+i),At(A,t,2,r,e-i),At(A,t,3,r,e-n)}function rt(A){return(20091*A>>16)+A}function et(A,t,r,e){var n,s=0,o=i(16);for(n=0;4>n;++n){var a=A[t+0]+A[t+8],u=A[t+0]-A[t+8],c=(35468*A[t+4]>>16)-rt(A[t+12]),B=rt(A[t+4])+(35468*A[t+12]>>16);o[s+0]=a+B,o[s+1]=u+c,o[s+2]=u-c,o[s+3]=a-B,s+=4,t++}for(n=s=0;4>n;++n)a=(A=o[s+0]+4)+o[s+8],u=A-o[s+8],c=(35468*o[s+4]>>16)-rt(o[s+12]),At(r,e,0,0,a+(B=rt(o[s+4])+(35468*o[s+12]>>16))),At(r,e,1,0,u+c),At(r,e,2,0,u-c),At(r,e,3,0,a-B),s++,e+=32}function nt(A,t,r,e){var n=A[t+0]+4,i=35468*A[t+4]>>16,s=rt(A[t+4]),o=35468*A[t+1]>>16;tt(r,e,0,n+s,A=rt(A[t+1]),o),tt(r,e,1,n+i,A,o),tt(r,e,2,n-i,A,o),tt(r,e,3,n-s,A,o)}function it(A,t,r,e,n){et(A,t,r,e),n&&et(A,t+16,r,e+4)}function st(A,t,r,e){ie(A,t+0,r,e,1),ie(A,t+32,r,e+128,1)}function ot(A,t,r,e){var n;for(A=A[t+0]+4,n=0;4>n;++n)for(t=0;4>t;++t)At(r,e,t,n,A)}function at(A,t,r,e){A[t+0]&&ae(A,t+0,r,e),A[t+16]&&ae(A,t+16,r,e+4),A[t+32]&&ae(A,t+32,r,e+128),A[t+48]&&ae(A,t+48,r,e+128+4)}function ut(A,t,r,e){var n,s=i(16);for(n=0;4>n;++n){var o=A[t+0+n]+A[t+12+n],a=A[t+4+n]+A[t+8+n],u=A[t+4+n]-A[t+8+n],c=A[t+0+n]-A[t+12+n];s[0+n]=o+a,s[8+n]=o-a,s[4+n]=c+u,s[12+n]=c-u}for(n=0;4>n;++n)o=(A=s[0+4*n]+3)+s[3+4*n],u=s[1+4*n]-s[2+4*n],c=A-s[3+4*n],r[e+0]=o+(a=s[1+4*n]+s[2+4*n])>>3,r[e+16]=c+u>>3,r[e+32]=o-a>>3,r[e+48]=c-u>>3,e+=64}function ct(A,t,r){var e,n=t-32,i=Se,s=255-A[n-1];for(e=0;e<r;++e){var o,a=i,u=s+A[t-1];for(o=0;o<r;++o)A[t+o]=a[u+A[n+o]];t+=32}}function Bt(A,t){ct(A,t,4)}function ft(A,t){ct(A,t,8)}function ht(A,t){ct(A,t,16)}function lt(A,t){var r;for(r=0;16>r;++r)e(A,t+32*r,A,t-32,16)}function wt(A,t){var r;for(r=16;0<r;--r)n(A,t,A[t-1],16),t+=32}function gt(A,t,r){var e;for(e=0;16>e;++e)n(t,r+32*e,A,16)}function Qt(A,t){var r,e=16;for(r=0;16>r;++r)e+=A[t-1+32*r]+A[t+r-32];gt(e>>5,A,t)}function Ft(A,t){var r,e=8;for(r=0;16>r;++r)e+=A[t-1+32*r];gt(e>>4,A,t)}function Ut(A,t){var r,e=8;for(r=0;16>r;++r)e+=A[t+r-32];gt(e>>4,A,t)}function dt(A,t){gt(128,A,t)}function Ct(A,t,r){return A+2*t+r+2>>2}function vt(A,t){var r,n=t-32;for(n=new Uint8Array([Ct(A[n-1],A[n+0],A[n+1]),Ct(A[n+0],A[n+1],A[n+2]),Ct(A[n+1],A[n+2],A[n+3]),Ct(A[n+2],A[n+3],A[n+4])]),r=0;4>r;++r)e(A,t+32*r,n,0,n.length)}function pt(A,t){var r=A[t-1],e=A[t-1+32],n=A[t-1+64],i=A[t-1+96];y(A,t+0,16843009*Ct(A[t-1-32],r,e)),y(A,t+32,16843009*Ct(r,e,n)),y(A,t+64,16843009*Ct(e,n,i)),y(A,t+96,16843009*Ct(n,i,i))}function mt(A,t){var r,e=4;for(r=0;4>r;++r)e+=A[t+r-32]+A[t-1+32*r];for(e>>=3,r=0;4>r;++r)n(A,t+32*r,e,4)}function Lt(A,t){var r=A[t-1+0],e=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],u=A[t+3-32];A[t+0+96]=Ct(e,n,A[t-1+96]),A[t+1+96]=A[t+0+64]=Ct(r,e,n),A[t+2+96]=A[t+1+64]=A[t+0+32]=Ct(i,r,e),A[t+3+96]=A[t+2+64]=A[t+1+32]=A[t+0+0]=Ct(s,i,r),A[t+3+64]=A[t+2+32]=A[t+1+0]=Ct(o,s,i),A[t+3+32]=A[t+2+0]=Ct(a,o,s),A[t+3+0]=Ct(u,a,o)}function bt(A,t){var r=A[t+1-32],e=A[t+2-32],n=A[t+3-32],i=A[t+4-32],s=A[t+5-32],o=A[t+6-32],a=A[t+7-32];A[t+0+0]=Ct(A[t+0-32],r,e),A[t+1+0]=A[t+0+32]=Ct(r,e,n),A[t+2+0]=A[t+1+32]=A[t+0+64]=Ct(e,n,i),A[t+3+0]=A[t+2+32]=A[t+1+64]=A[t+0+96]=Ct(n,i,s),A[t+3+32]=A[t+2+64]=A[t+1+96]=Ct(i,s,o),A[t+3+64]=A[t+2+96]=Ct(s,o,a),A[t+3+96]=Ct(o,a,a)}function Ht(A,t){var r=A[t-1+0],e=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],u=A[t+3-32];A[t+0+0]=A[t+1+64]=i+s+1>>1,A[t+1+0]=A[t+2+64]=s+o+1>>1,A[t+2+0]=A[t+3+64]=o+a+1>>1,A[t+3+0]=a+u+1>>1,A[t+0+96]=Ct(n,e,r),A[t+0+64]=Ct(e,r,i),A[t+0+32]=A[t+1+96]=Ct(r,i,s),A[t+1+32]=A[t+2+96]=Ct(i,s,o),A[t+2+32]=A[t+3+96]=Ct(s,o,a),A[t+3+32]=Ct(o,a,u)}function Et(A,t){var r=A[t+0-32],e=A[t+1-32],n=A[t+2-32],i=A[t+3-32],s=A[t+4-32],o=A[t+5-32],a=A[t+6-32],u=A[t+7-32];A[t+0+0]=r+e+1>>1,A[t+1+0]=A[t+0+64]=e+n+1>>1,A[t+2+0]=A[t+1+64]=n+i+1>>1,A[t+3+0]=A[t+2+64]=i+s+1>>1,A[t+0+32]=Ct(r,e,n),A[t+1+32]=A[t+0+96]=Ct(e,n,i),A[t+2+32]=A[t+1+96]=Ct(n,i,s),A[t+3+32]=A[t+2+96]=Ct(i,s,o),A[t+3+64]=Ct(s,o,a),A[t+3+96]=Ct(o,a,u)}function yt(A,t){var r=A[t-1+0],e=A[t-1+32],n=A[t-1+64],i=A[t-1+96];A[t+0+0]=r+e+1>>1,A[t+2+0]=A[t+0+32]=e+n+1>>1,A[t+2+32]=A[t+0+64]=n+i+1>>1,A[t+1+0]=Ct(r,e,n),A[t+3+0]=A[t+1+32]=Ct(e,n,i),A[t+3+32]=A[t+1+64]=Ct(n,i,i),A[t+3+64]=A[t+2+64]=A[t+0+96]=A[t+1+96]=A[t+2+96]=A[t+3+96]=i}function It(A,t){var r=A[t-1+0],e=A[t-1+32],n=A[t-1+64],i=A[t-1+96],s=A[t-1-32],o=A[t+0-32],a=A[t+1-32],u=A[t+2-32];A[t+0+0]=A[t+2+32]=r+s+1>>1,A[t+0+32]=A[t+2+64]=e+r+1>>1,A[t+0+64]=A[t+2+96]=n+e+1>>1,A[t+0+96]=i+n+1>>1,A[t+3+0]=Ct(o,a,u),A[t+2+0]=Ct(s,o,a),A[t+1+0]=A[t+3+32]=Ct(r,s,o),A[t+1+32]=A[t+3+64]=Ct(e,r,s),A[t+1+64]=A[t+3+96]=Ct(n,e,r),A[t+1+96]=Ct(i,n,e)}function Nt(A,t){var r;for(r=0;8>r;++r)e(A,t+32*r,A,t-32,8)}function Kt(A,t){var r;for(r=0;8>r;++r)n(A,t,A[t-1],8),t+=32}function St(A,t,r){var e;for(e=0;8>e;++e)n(t,r+32*e,A,8)}function Mt(A,t){var r,e=8;for(r=0;8>r;++r)e+=A[t+r-32]+A[t-1+32*r];St(e>>4,A,t)}function kt(A,t){var r,e=4;for(r=0;8>r;++r)e+=A[t+r-32];St(e>>3,A,t)}function Dt(A,t){var r,e=4;for(r=0;8>r;++r)e+=A[t-1+32*r];St(e>>3,A,t)}function xt(A,t){St(128,A,t)}function Ot(A,t,r){var e=A[t-r],n=A[t+0],i=3*(n-e)+Ne[1020+A[t-2*r]-A[t+r]],s=Ke[112+(i+4>>3)];A[t-r]=Se[255+e+Ke[112+(i+3>>3)]],A[t+0]=Se[255+n-s]}function Tt(A,t,r,e){return Me[255+A[t-2*r]-A[t-r]]>e||Me[255+A[t+r]-A[t+0]]>e}function Gt(A,t,r,e){return 4*Me[255+A[t-r]-A[t+0]]+Me[255+A[t-2*r]-A[t+r]]<=e}function qt(A,t,r,e,n){var i=A[t-3*r],s=A[t-2*r],o=A[t-r],a=A[t+0],u=A[t+r],c=A[t+2*r];return 4*Me[255+o-a]+Me[255+s-u]>e?0:Me[255+A[t-4*r]-i]<=n&&Me[255+i-s]<=n&&Me[255+s-o]<=n&&Me[255+A[t+3*r]-c]<=n&&Me[255+c-u]<=n&&Me[255+u-a]<=n}function Vt(A,t,r,e){var n=2*e+1;for(e=0;16>e;++e)Gt(A,t+e,r,n)&&Ot(A,t+e,r)}function Rt(A,t,r,e){var n=2*e+1;for(e=0;16>e;++e)Gt(A,t+e*r,1,n)&&Ot(A,t+e*r,1)}function jt(A,t,r,e){var n;for(n=3;0<n;--n)Vt(A,t+=4*r,r,e)}function Pt(A,t,r,e){var n;for(n=3;0<n;--n)Rt(A,t+=4,r,e)}function Jt(A,t,r,e,n,i,s,o){for(i=2*i+1;0<n--;){if(qt(A,t,r,i,s))if(Tt(A,t,r,o))Ot(A,t,r);else{var a=A,u=t,c=r,B=a[u-2*c],f=a[u-c],h=a[u+0],l=a[u+c],w=a[u+2*c],g=27*(F=Ne[1020+3*(h-f)+Ne[1020+B-l]])+63>>7,Q=18*F+63>>7,F=9*F+63>>7;a[u-3*c]=Se[255+a[u-3*c]+F],a[u-2*c]=Se[255+B+Q],a[u-c]=Se[255+f+g],a[u+0]=Se[255+h-g],a[u+c]=Se[255+l-Q],a[u+2*c]=Se[255+w-F]}t+=e}}function Xt(A,t,r,e,n,i,s,o){for(i=2*i+1;0<n--;){if(qt(A,t,r,i,s))if(Tt(A,t,r,o))Ot(A,t,r);else{var a=A,u=t,c=r,B=a[u-c],f=a[u+0],h=a[u+c],l=Ke[112+(4+(w=3*(f-B))>>3)],w=Ke[112+(w+3>>3)],g=l+1>>1;a[u-2*c]=Se[255+a[u-2*c]+g],a[u-c]=Se[255+B+w],a[u+0]=Se[255+f-l],a[u+c]=Se[255+h-g]}t+=e}}function Yt(A,t,r,e,n,i){Jt(A,t,r,1,16,e,n,i)}function Wt(A,t,r,e,n,i){Jt(A,t,1,r,16,e,n,i)}function zt(A,t,r,e,n,i){var s;for(s=3;0<s;--s)Xt(A,t+=4*r,r,1,16,e,n,i)}function Zt(A,t,r,e,n,i){var s;for(s=3;0<s;--s)Xt(A,t+=4,1,r,16,e,n,i)}function _t(A,t,r,e,n,i,s,o){Jt(A,t,n,1,8,i,s,o),Jt(r,e,n,1,8,i,s,o)}function $t(A,t,r,e,n,i,s,o){Jt(A,t,1,n,8,i,s,o),Jt(r,e,1,n,8,i,s,o)}function Ar(A,t,r,e,n,i,s,o){Xt(A,t+4*n,n,1,8,i,s,o),Xt(r,e+4*n,n,1,8,i,s,o)}function tr(A,t,r,e,n,i,s,o){Xt(A,t+4,1,n,8,i,s,o),Xt(r,e+4,1,n,8,i,s,o)}function rr(){this.ba=new sA,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new aA,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function er(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function nr(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ir(){this.ua=0,this.Wa=new k,this.vb=new k,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new h,this.yc=new B}function sr(){this.xb=this.a=0,this.l=new JA,this.ca=new sA,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new C,this.Pb=0,this.wd=new C,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ir,this.ab=0,this.gc=s(4,nr),this.Oc=0}function or(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new JA,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ar(A,t,r,e,n,i,s){for(A=null==A?0:A[t+0],t=0;t<s;++t)n[i+t]=A+r[e+t]&255,A=n[i+t]}function ur(A,t,r,e,n,i,s){var o;if(null==A)ar(null,null,r,e,n,i,s);else for(o=0;o<s;++o)n[i+o]=A[t+o]+r[e+o]&255}function cr(A,t,r,e,n,i,s){if(null==A)ar(null,null,r,e,n,i,s);else{var o,a=A[t+0],u=a,c=a;for(o=0;o<s;++o)u=c+(a=A[t+o])-u,c=r[e+o]+(-256&u?0>u?0:255:u)&255,u=a,n[i+o]=c}}function Br(A,r,n,s){var o=r.width,a=r.o;if(t(null!=A&&null!=r),0>n||0>=s||n+s>a)return null;if(!A.Cc){if(null==A.ga){var u;if(A.ga=new or,(u=null==A.ga)||(u=r.width*r.o,t(0==A.Gb.length),A.Gb=i(u),A.Uc=0,null==A.Gb?u=0:(A.mb=A.Gb,A.nb=A.Uc,A.rc=null,u=1),u=!u),!u){var c=A.Fa,B=A.P,f=A.qc,h=A.mb,l=A.nb,w=B+1,g=f-1,F=(u=A.ga).l;if(t(null!=c&&null!=h&&null!=r),gn[0]=null,gn[1]=ar,gn[2]=ur,gn[3]=cr,u.ca=h,u.tb=l,u.c=r.width,u.i=r.height,t(0<u.c&&0<u.i),1>=f)r=0;else if(u.$a=c[B+0]>>0&3,u.Z=c[B+0]>>2&3,u.Lc=c[B+0]>>4&3,B=c[B+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||B)r=0;else if(F.put=hA,F.ac=fA,F.bc=lA,F.ma=u,F.width=r.width,F.height=r.height,F.Da=r.Da,F.v=r.v,F.va=r.va,F.j=r.j,F.o=r.o,u.$a)A:{t(1==u.$a),r=EA();t:for(;;){if(null==r){r=0;break A}if(t(null!=u),u.mc=r,r.c=u.c,r.i=u.i,r.l=u.l,r.l.ma=u,r.l.width=u.c,r.l.height=u.i,r.a=0,Q(r.m,c,w,g),!yA(u.c,u.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&pA(r.s)?(u.ic=1,c=r.c*r.i,r.Ta=null,r.Ua=0,r.V=i(c),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(u.ic=0,r=IA(r,u.c)),!r)break t;r=1;break A}u.mc=null,r=0}else r=g>=u.c*u.i;u=!r}if(u)return null;1!=A.ga.Lc?A.Ga=0:s=a-n}t(null!=A.ga),t(n+s<=a);A:{if(r=(c=A.ga).c,a=c.l.o,0==c.$a){if(w=A.rc,g=A.Vc,F=A.Fa,f=A.mb,h=A.nb+n*r,t((B=A.P+1+n*r)<=A.P+A.qc),0!=c.Z)for(t(null!=gn[c.Z]),u=0;u<s;++u)gn[c.Z](w,g,F,B,f,h,r),w=f,g=h,h+=r,B+=r;else for(u=0;u<s;++u)e(f,h,F,B,r),w=f,g=h,h+=r,B+=r;A.rc=w,A.Vc=g}else{if(t(null!=c.mc),r=n+s,t(null!=(u=c.mc)),t(r<=u.i),u.C>=r)r=1;else if(c.ic||gr(),c.ic){c=u.V,w=u.Ba;var U=u.i,d=(F=1,B=u.$/(g=u.c),f=u.$%g,h=u.m,l=u.s,u.$),C=g*U,v=g*r,m=l.wc,b=d<v?dA(l,f,B):null;t(d<=C),t(r<=U),t(pA(l));t:for(;;){for(;!h.h&&d<v;){if(f&m||(b=dA(l,f,B)),t(null!=b),L(h),256>(U=FA(b.G[0],b.H[0],h)))c[w+d]=U,++d,++f>=g&&(f=0,++B<=r&&!(B%16)&&LA(u,B));else{if(!(280>U)){F=0;break t}U=gA(U-256,h);var H,E=FA(b.G[4],b.H[4],h);if(L(h),!(d>=(E=QA(g,E=gA(E,h)))&&C-d>=U)){F=0;break t}for(H=0;H<U;++H)c[w+d+H]=c[w+d+H-E];for(d+=U,f+=U;f>=g;)f-=g,++B<=r&&!(B%16)&&LA(u,B);d<v&&f&m&&(b=dA(l,f,B))}t(h.h==p(h))}LA(u,B>r?r:B);break t}!F||h.h&&d<C?(F=0,u.a=h.h?5:3):u.$=d,r=F}else r=bA(u,u.V,u.Ba,u.c,u.i,r,NA);if(!r){s=0;break A}}n+s>=a&&(A.Cc=1),s=1}if(!s)return null;if(A.Cc&&(null!=(s=A.ga)&&(s.mc=null),A.ga=null,0<A.Ga))return alert("todo:WebPDequantizeLevels"),null}return A.nb+n*o}function fr(A,t,r,e,n,i){for(;0<n--;){var s,o=A,a=t+(r?1:0),u=A,c=t+(r?0:3);for(s=0;s<e;++s){var B=u[c+4*s];255!=B&&(o[a+4*s+0]=o[a+4*s+0]*(B*=32897)>>23,o[a+4*s+1]=o[a+4*s+1]*B>>23,o[a+4*s+2]=o[a+4*s+2]*B>>23)}t+=i}}function hr(A,t,r,e,n){for(;0<e--;){var i;for(i=0;i<r;++i){var s=A[t+2*i+0],o=15&(u=A[t+2*i+1]),a=4369*o,u=(240&u|u>>4)*a>>16;A[t+2*i+0]=(240&s|s>>4)*a>>16&240|(15&s|s<<4)*a>>16>>4&15,A[t+2*i+1]=240&u|o}t+=n}}function lr(A,t,r,e,n,i,s,o){var a,u,c=255;for(u=0;u<n;++u){for(a=0;a<e;++a){var B=A[t+a];i[s+4*a]=B,c&=B}t+=r,s+=o}return 255!=c}function wr(A,t,r,e,n){var i;for(i=0;i<n;++i)r[e+i]=A[t+i]>>8}function gr(){ve=fr,pe=hr,me=lr,Le=wr}function Qr(r,e,n){A[r]=function(A,r,i,s,o,a,u,c,B,f,h,l,w,g,Q,F,U){var d,C=U-1>>1,v=o[a+0]|u[c+0]<<16,p=B[f+0]|h[l+0]<<16;t(null!=A);var m=3*v+p+131074>>2;for(e(A[r+0],255&m,m>>16,w,g),null!=i&&e(i[s+0],255&(m=3*p+v+131074>>2),m>>16,Q,F),d=1;d<=C;++d){var L=o[a+d]|u[c+d]<<16,b=B[f+d]|h[l+d]<<16,H=v+L+p+b+524296,E=H+2*(L+p)>>3;m=E+v>>1,v=(H=H+2*(v+b)>>3)+L>>1,e(A[r+2*d-1],255&m,m>>16,w,g+(2*d-1)*n),e(A[r+2*d-0],255&v,v>>16,w,g+(2*d-0)*n),null!=i&&(v=E+b>>1,e(i[s+2*d-1],255&(m=H+p>>1),m>>16,Q,F+(2*d-1)*n),e(i[s+2*d+0],255&v,v>>16,Q,F+(2*d+0)*n)),v=L,p=b}1&U||(e(A[r+U-1],255&(m=3*v+p+131074>>2),m>>16,w,g+(U-1)*n),null!=i&&e(i[s+U-1],255&(m=3*p+v+131074>>2),m>>16,Q,F+(U-1)*n))}}function Fr(){Qn[ke]=Fn,Qn[De]=dn,Qn[xe]=Un,Qn[Oe]=Cn,Qn[Te]=vn,Qn[Ge]=pn,Qn[qe]=mn,Qn[Ve]=dn,Qn[Re]=Cn,Qn[je]=vn,Qn[Pe]=pn}function Ur(A){return A&~In?0>A?0:255:A>>yn}function dr(A,t){return Ur((19077*A>>8)+(26149*t>>8)-14234)}function Cr(A,t,r){return Ur((19077*A>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function vr(A,t){return Ur((19077*A>>8)+(33050*t>>8)-17685)}function pr(A,t,r,e,n){e[n+0]=dr(A,r),e[n+1]=Cr(A,t,r),e[n+2]=vr(A,t)}function mr(A,t,r,e,n){e[n+0]=vr(A,t),e[n+1]=Cr(A,t,r),e[n+2]=dr(A,r)}function Lr(A,t,r,e,n){var i=Cr(A,t,r);t=i<<3&224|vr(A,t)>>3,e[n+0]=248&dr(A,r)|i>>5,e[n+1]=t}function br(A,t,r,e,n){var i=240&vr(A,t)|15;e[n+0]=240&dr(A,r)|Cr(A,t,r)>>4,e[n+1]=i}function Hr(A,t,r,e,n){e[n+0]=255,pr(A,t,r,e,n+1)}function Er(A,t,r,e,n){mr(A,t,r,e,n),e[n+3]=255}function yr(A,t,r,e,n){pr(A,t,r,e,n),e[n+3]=255}function PA(A,t){return 0>A?0:A>t?t:A}function Ir(t,r,e){A[t]=function(A,t,n,i,s,o,a,u,c){for(var B=u+(-2&c)*e;u!=B;)r(A[t+0],n[i+0],s[o+0],a,u),r(A[t+1],n[i+0],s[o+0],a,u+e),t+=2,++i,++o,u+=2*e;1&c&&r(A[t+0],n[i+0],s[o+0],a,u)}}function Nr(A,t,r){return 0==r?0==A?0==t?6:5:0==t?4:0:r}function Kr(A,t,r,e,n){switch(A>>>30){case 3:ie(t,r,e,n,0);break;case 2:se(t,r,e,n);break;case 1:ae(t,r,e,n)}}function Sr(A,t){var r,i,s=t.M,o=t.Nb,a=A.oc,u=A.pc+40,c=A.oc,B=A.pc+584,f=A.oc,h=A.pc+600;for(r=0;16>r;++r)a[u+32*r-1]=129;for(r=0;8>r;++r)c[B+32*r-1]=129,f[h+32*r-1]=129;for(0<s?a[u-1-32]=c[B-1-32]=f[h-1-32]=129:(n(a,u-32-1,127,21),n(c,B-32-1,127,9),n(f,h-32-1,127,9)),i=0;i<A.za;++i){var l=t.ya[t.aa+i];if(0<i){for(r=-1;16>r;++r)e(a,u+32*r-4,a,u+32*r+12,4);for(r=-1;8>r;++r)e(c,B+32*r-4,c,B+32*r+4,4),e(f,h+32*r-4,f,h+32*r+4,4)}var w=A.Gd,g=A.Hd+i,Q=l.ad,F=l.Hc;if(0<s&&(e(a,u-32,w[g].y,0,16),e(c,B-32,w[g].f,0,8),e(f,h-32,w[g].ea,0,8)),l.Za){var U=a,d=u-32+16;for(0<s&&(i>=A.za-1?n(U,d,w[g].y[15],4):e(U,d,w[g+1].y,0,4)),r=0;4>r;r++)U[d+128+r]=U[d+256+r]=U[d+384+r]=U[d+0+r];for(r=0;16>r;++r,F<<=2)fn[l.Ob[r]](U=a,d=u+On[r]),Kr(F,Q,16*+r,U,d)}else if(U=Nr(i,s,l.Ob[0]),Bn[U](a,u),0!=F)for(r=0;16>r;++r,F<<=2)Kr(F,Q,16*+r,a,u+On[r]);for(r=l.Gc,U=Nr(i,s,l.Dd),hn[U](c,B),hn[U](f,h),F=Q,U=c,d=B,255&(l=r>>0)&&(170&l?oe(F,256,U,d):ue(F,256,U,d)),l=f,F=h,255&(r>>=8)&&(170&r?oe(Q,320,l,F):ue(Q,320,l,F)),s<A.Ub-1&&(e(w[g].y,0,a,u+480,16),e(w[g].f,0,c,B+224,8),e(w[g].ea,0,f,h+224,8)),w=A.sa,g=A.ta+16*i+16*o*A.R,Q=A.qa,l=A.ra+8*i+(r=8*o*A.B),F=A.Ha,U=A.Ia+8*i+r,r=0;16>r;++r)e(w,g+r*A.R,a,u+32*r,16);for(r=0;8>r;++r)e(Q,l+r*A.B,c,B+32*r,8),e(F,U+r*A.B,f,h+32*r,8)}}function Mr(A,e,n,i,s,o,a,u,c){var B=[0],f=[0],h=0,l=null!=c?c.kd:0,w=null!=c?c:new er;if(null==A||12>n)return 7;w.data=A,w.w=e,w.ha=n,e=[e],n=[n],w.gb=[w.gb];A:{var g=e,F=n,U=w.gb;if(t(null!=A),t(null!=F),t(null!=U),U[0]=0,12<=F[0]&&!r(A,g[0],"RIFF")){if(r(A,g[0]+8,"WEBP")){U=3;break A}var d=K(A,g[0]+4);if(12>d||4294967286<d){U=3;break A}if(l&&d>F[0]-8){U=7;break A}U[0]=d,g[0]+=12,F[0]-=12}U=0}if(0!=U)return U;for(d=0<w.gb[0],n=n[0];;){A:{var v=A;F=e,U=n;var p=B,m=f,L=g=[0];if((E=h=[h])[0]=0,8>U[0])U=7;else{if(!r(v,F[0],"VP8X")){if(10!=K(v,F[0]+4)){U=3;break A}if(18>U[0]){U=7;break A}var b=K(v,F[0]+8),H=1+N(v,F[0]+12);if(2147483648<=H*(v=1+N(v,F[0]+15))){U=3;break A}null!=L&&(L[0]=b),null!=p&&(p[0]=H),null!=m&&(m[0]=v),F[0]+=18,U[0]-=18,E[0]=1}U=0}}if(h=h[0],0!=U)return U;if(F=!!(2&(g=g[0])),!d&&h)return 3;if(null!=o&&(o[0]=!!(16&g)),null!=a&&(a[0]=F),null!=u&&(u[0]=0),a=B[0],g=f[0],h&&F&&null==c){U=0;break}if(4>n){U=7;break}if(d&&h||!d&&!h&&!r(A,e[0],"ALPH")){n=[n],w.na=[w.na],w.P=[w.P],w.Sa=[w.Sa];A:{U=e,d=n;var E=w.gb;p=w.na,m=w.P,L=w.Sa,H=22,t(null!=(b=A)),t(null!=d),v=U[0];var y=d[0];for(t(null!=p),t(null!=L),p[0]=null,m[0]=null,L[0]=0;;){if(U[0]=v,d[0]=y,8>y){U=7;break A}var I=K(b,v+4);if(4294967286<I){U=3;break A}var S=8+I+1&-2;if(H+=S,0<E&&H>E){U=3;break A}if(!r(b,v,"VP8 ")||!r(b,v,"VP8L")){U=0;break A}if(y[0]<S){U=7;break A}r(b,v,"ALPH")||(p[0]=b,m[0]=v+8,L[0]=I),v+=S,y-=S}}if(n=n[0],w.na=w.na[0],w.P=w.P[0],w.Sa=w.Sa[0],0!=U)break}n=[n],w.Ja=[w.Ja],w.xa=[w.xa];A:if(E=A,U=e,d=n,p=w.gb[0],m=w.Ja,L=w.xa,b=U[0],v=!r(E,b,"VP8 "),H=!r(E,b,"VP8L"),t(null!=E),t(null!=d),t(null!=m),t(null!=L),8>d[0])U=7;else{if(v||H){if(E=K(E,b+4),12<=p&&E>p-12){U=3;break A}if(l&&E>d[0]-8){U=7;break A}m[0]=E,U[0]+=8,d[0]-=8,L[0]=H}else L[0]=5<=d[0]&&47==E[b+0]&&!(E[b+4]>>5),m[0]=d[0];U=0}if(n=n[0],w.Ja=w.Ja[0],w.xa=w.xa[0],e=e[0],0!=U)break;if(4294967286<w.Ja)return 3;if(null==u||F||(u[0]=w.xa?2:1),a=[a],g=[g],w.xa){if(5>n){U=7;break}u=a,l=g,F=o,null==A||5>n?A=0:5<=n&&47==A[e+0]&&!(A[e+4]>>5)?(d=[0],E=[0],p=[0],Q(m=new C,A,e,n),wA(m,d,E,p)?(null!=u&&(u[0]=d[0]),null!=l&&(l[0]=E[0]),null!=F&&(F[0]=p[0]),A=1):A=0):A=0}else{if(10>n){U=7;break}u=g,null==A||10>n||!WA(A,e+3,n-3)?A=0:(l=A[e+0]|A[e+1]<<8|A[e+2]<<16,F=16383&(A[e+7]<<8|A[e+6]),A=16383&(A[e+9]<<8|A[e+8]),1&l||3<(l>>1&7)||!(l>>4&1)||l>>5>=w.Ja||!F||!A?A=0:(a&&(a[0]=F),u&&(u[0]=A),A=1))}if(!A)return 3;if(a=a[0],g=g[0],h&&(B[0]!=a||f[0]!=g))return 3;null!=c&&(c[0]=w,c.offset=e-c.w,t(4294967286>e-c.w),t(c.offset==c.ha-n));break}return 0==U||7==U&&h&&null==c?(null!=o&&(o[0]|=null!=w.na&&0<w.na.length),null!=i&&(i[0]=a),null!=s&&(s[0]=g),0):U}function kr(A,t,r){var e=t.width,n=t.height,i=0,s=0,o=e,a=n;if(t.Da=null!=A&&0<A.Da,t.Da&&(o=A.cd,a=A.bd,i=A.v,s=A.j,11>r||(i&=-2,s&=-2),0>i||0>s||0>=o||0>=a||i+o>e||s+a>n))return 0;if(t.v=i,t.j=s,t.va=i+o,t.o=s+a,t.U=o,t.T=a,t.da=null!=A&&0<A.da,t.da){if(!D(o,a,r=[A.ib],i=[A.hb]))return 0;t.ib=r[0],t.hb=i[0]}return t.ob=null!=A&&A.ob,t.Kb=null==A||!A.Sd,t.da&&(t.ob=t.ib<3*e/4&&t.hb<3*n/4,t.Kb=0),1}function Dr(A){if(null==A)return 2;if(11>A.S){var t=A.f.RGBA;t.fb+=(A.height-1)*t.A,t.A=-t.A}else(t=A.f.kb).O+=((A=A.height)-1)*t.fa,t.fa=-t.fa,t.N+=(A-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(A-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(A-1)*t.lb,t.lb=-t.lb);return 0}function xr(A,t,r,e){if(null==e||0>=A||0>=t)return 2;if(null!=r){if(r.Da){var n=r.cd,s=r.bd,o=-2&r.v,a=-2&r.j;if(0>o||0>a||0>=n||0>=s||o+n>A||a+s>t)return 2;A=n,t=s}if(r.da){if(!D(A,t,n=[r.ib],s=[r.hb]))return 2;A=n[0],t=s[0]}}e.width=A,e.height=t;A:{var u=e.width,c=e.height;if(A=e.S,0>=u||0>=c||!(A>=ke&&13>A))A=2;else{if(0>=e.Rd&&null==e.sd){o=s=n=t=0;var B=(a=u*Vn[A])*c;if(11>A||(s=(c+1)/2*(t=(u+1)/2),12==A&&(o=(n=u)*c)),null==(c=i(B+2*s+o))){A=1;break A}e.sd=c,11>A?((u=e.f.RGBA).eb=c,u.fb=0,u.A=a,u.size=B):((u=e.f.kb).y=c,u.O=0,u.fa=a,u.Fd=B,u.f=c,u.N=0+B,u.Ab=t,u.Cd=s,u.ea=c,u.W=0+B+s,u.Db=t,u.Ed=s,12==A&&(u.F=c,u.J=0+B+2*s),u.Tc=o,u.lb=n)}if(t=1,s=e.width,o=e.height,(n=e.S)>=ke&&13>n)if(11>n)A=e.f.RGBA,t&=(a=Math.abs(A.A))*(o-1)+s<=A.size,t&=a>=s*Vn[n],t&=null!=A.eb;else{A=e.f.kb,a=(s+1)/2,B=(o+1)/2,u=Math.abs(A.fa),c=Math.abs(A.Ab);var f=Math.abs(A.Db),h=Math.abs(A.lb);t&=u*(o-1)+s<=A.Fd,t&=c*(B-1)+a<=A.Cd,t=(t&=f*(B-1)+a<=A.Ed)&u>=s&c>=a&f>=a,t&=null!=A.y,t&=null!=A.f,t&=null!=A.ea,12==n&&(t&=h>=s,t&=h*(o-1)+s<=A.Tc,t&=null!=A.F)}else t=0;A=t?0:2}}return 0!=A||null!=r&&r.fd&&(A=Dr(e)),A}var Or=64,Tr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Gr=24,qr=32,Vr=8,Rr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];T("Predictor0","PredictorAdd0"),A.Predictor0=function(){return 4278190080},A.Predictor1=function(A){return A},A.Predictor2=function(A,t,r){return t[r+0]},A.Predictor3=function(A,t,r){return t[r+1]},A.Predictor4=function(A,t,r){return t[r-1]},A.Predictor5=function(A,t,r){return q(q(A,t[r+1]),t[r+0])},A.Predictor6=function(A,t,r){return q(A,t[r-1])},A.Predictor7=function(A,t,r){return q(A,t[r+0])},A.Predictor8=function(A,t,r){return q(t[r-1],t[r+0])},A.Predictor9=function(A,t,r){return q(t[r+0],t[r+1])},A.Predictor10=function(A,t,r){return q(q(A,t[r-1]),q(t[r+0],t[r+1]))},A.Predictor11=function(A,t,r){var e=t[r+0];return 0>=j(e>>24&255,A>>24&255,(t=t[r-1])>>24&255)+j(e>>16&255,A>>16&255,t>>16&255)+j(e>>8&255,A>>8&255,t>>8&255)+j(255&e,255&A,255&t)?e:A},A.Predictor12=function(A,t,r){var e=t[r+0];return(V((A>>24&255)+(e>>24&255)-((t=t[r-1])>>24&255))<<24|V((A>>16&255)+(e>>16&255)-(t>>16&255))<<16|V((A>>8&255)+(e>>8&255)-(t>>8&255))<<8|V((255&A)+(255&e)-(255&t)))>>>0},A.Predictor13=function(A,t,r){var e=t[r-1];return(R((A=q(A,t[r+0]))>>24&255,e>>24&255)<<24|R(A>>16&255,e>>16&255)<<16|R(A>>8&255,e>>8&255)<<8|R(A>>0&255,e>>0&255))>>>0};var jr=A.PredictorAdd0;A.PredictorAdd1=P,T("Predictor2","PredictorAdd2"),T("Predictor3","PredictorAdd3"),T("Predictor4","PredictorAdd4"),T("Predictor5","PredictorAdd5"),T("Predictor6","PredictorAdd6"),T("Predictor7","PredictorAdd7"),T("Predictor8","PredictorAdd8"),T("Predictor9","PredictorAdd9"),T("Predictor10","PredictorAdd10"),T("Predictor11","PredictorAdd11"),T("Predictor12","PredictorAdd12"),T("Predictor13","PredictorAdd13");var Pr=A.PredictorAdd2;W("ColorIndexInverseTransform","MapARGB","32b",(function(A){return A>>8&255}),(function(A){return A})),W("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(A){return A}),(function(A){return A>>8&255}));var Jr,Xr=A.ColorIndexInverseTransform,Yr=A.MapARGB,Wr=A.VP8LColorIndexInverseTransformAlpha,zr=A.MapAlpha,Zr=A.VP8LPredictorsAdd=[];Zr.length=16,(A.VP8LPredictors=[]).length=16,(A.VP8LPredictorsAdd_C=[]).length=16,(A.VP8LPredictors_C=[]).length=16;var _r,$r,Ae,te,re,ee,ne,ie,se,oe,ae,ue,ce,Be,fe,he,le,we,ge,Qe,Fe,Ue,de,Ce,ve,pe,me,Le,be=i(511),He=i(2041),Ee=i(225),ye=i(767),Ie=0,Ne=He,Ke=Ee,Se=ye,Me=be,ke=0,De=1,xe=2,Oe=3,Te=4,Ge=5,qe=6,Ve=7,Re=8,je=9,Pe=10,Je=[2,3,7],Xe=[3,3,11],Ye=[280,256,256,256,40],We=[0,1,1,1,0],ze=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Ze=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],_e=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],$e=8,An=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],tn=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],rn=null,en=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],nn=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],sn=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],on=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],an=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],un=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],cn=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Bn=[],fn=[],hn=[],ln=1,wn=2,gn=[],Qn=[];Qr("UpsampleRgbLinePair",pr,3),Qr("UpsampleBgrLinePair",mr,3),Qr("UpsampleRgbaLinePair",yr,4),Qr("UpsampleBgraLinePair",Er,4),Qr("UpsampleArgbLinePair",Hr,4),Qr("UpsampleRgba4444LinePair",br,2),Qr("UpsampleRgb565LinePair",Lr,2);var Fn=A.UpsampleRgbLinePair,Un=A.UpsampleBgrLinePair,dn=A.UpsampleRgbaLinePair,Cn=A.UpsampleBgraLinePair,vn=A.UpsampleArgbLinePair,pn=A.UpsampleRgba4444LinePair,mn=A.UpsampleRgb565LinePair,Ln=16,bn=1<<Ln-1,Hn=-227,En=482,yn=6,In=(256<<yn)-1,Nn=0,Kn=i(256),Sn=i(256),Mn=i(256),kn=i(256),Dn=i(En-Hn),xn=i(En-Hn);Ir("YuvToRgbRow",pr,3),Ir("YuvToBgrRow",mr,3),Ir("YuvToRgbaRow",yr,4),Ir("YuvToBgraRow",Er,4),Ir("YuvToArgbRow",Hr,4),Ir("YuvToRgba4444Row",br,2),Ir("YuvToRgb565Row",Lr,2);var On=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Tn=[0,2,8],Gn=[8,7,6,4,4,2,2,2,1,1,1,1],qn=1;this.WebPDecodeRGBA=function(A,r,e,n,i){var s=De,o=new rr,a=new sA;o.ba=a,a.S=s,a.width=[a.width],a.height=[a.height];var u=a.width,c=a.height,B=new oA;if(null==B||null==A)var f=2;else t(null!=B),f=Mr(A,r,e,B.width,B.height,B.Pd,B.Qd,B.format,null);if(0!=f?u=0:(null!=u&&(u[0]=B.width[0]),null!=c&&(c[0]=B.height[0]),u=1),u){a.width=a.width[0],a.height=a.height[0],null!=n&&(n[0]=a.width),null!=i&&(i[0]=a.height);A:{if(n=new JA,(i=new er).data=A,i.w=r,i.ha=e,i.kd=1,r=[0],t(null!=i),(0==(A=Mr(i.data,i.w,i.ha,null,null,null,r,null,i))||7==A)&&r[0]&&(A=4),0==(r=A)){if(t(null!=o),n.data=i.data,n.w=i.w+i.offset,n.ha=i.ha-i.offset,n.put=hA,n.ac=fA,n.bc=lA,n.ma=o,i.xa){if(null==(A=EA())){o=1;break A}if(function(A,r){var e=[0],n=[0],i=[0];t:for(;;){if(null==A)return 0;if(null==r)return A.a=2,0;if(A.l=r,A.a=0,Q(A.m,r.data,r.w,r.ha),!wA(A.m,e,n,i)){A.a=3;break t}if(A.xb=wn,r.width=e[0],r.height=n[0],!yA(e[0],n[0],1,A,null))break t;return 1}return t(0!=A.a),0}(A,n)){if(n=0==(r=xr(n.width,n.height,o.Oa,o.ba))){t:{n=A;r:for(;;){if(null==n){n=0;break t}if(t(null!=n.s.yc),t(null!=n.s.Ya),t(0<n.s.Wb),t(null!=(e=n.l)),t(null!=(i=e.ma)),0!=n.xb){if(n.ca=i.ba,n.tb=i.tb,t(null!=n.ca),!kr(i.Oa,e,Oe)){n.a=2;break r}if(!IA(n,e.width))break r;if(e.da)break r;if((e.da||eA(n.ca.S))&&gr(),11>n.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=n.ca.f.kb.F&&gr()),n.Pb&&0<n.s.ua&&null==n.s.vb.X&&!S(n.s.vb,n.s.Wa.Xa)){n.a=1;break r}n.xb=0}if(!bA(n,n.V,n.Ba,n.c,n.i,e.o,vA))break r;i.Dc=n.Ma,n=1;break t}t(0!=n.a),n=0}n=!n}n&&(r=A.a)}else r=A.a}else{if(null==(A=new XA)){o=1;break A}if(A.Fa=i.na,A.P=i.P,A.qc=i.Sa,zA(A,n)){if(0==(r=xr(n.width,n.height,o.Oa,o.ba))){if(A.Aa=0,e=o.Oa,t(null!=(i=A)),null!=e){if(0<(u=0>(u=e.Md)?0:100<u?255:255*u/100)){for(c=B=0;4>c;++c)12>(f=i.pb[c]).lc&&(f.ia=u*Gn[0>f.lc?0:f.lc]>>3),B|=f.ia;B&&(alert("todo:VP8InitRandom"),i.ia=1)}i.Ga=e.Id,100<i.Ga?i.Ga=100:0>i.Ga&&(i.Ga=0)}$A(A,n)||(r=A.a)}}else r=A.a}0==r&&null!=o.Oa&&o.Oa.fd&&(r=Dr(o.ba))}o=r}s=0!=o?null:11>s?a.f.RGBA.eb:a.f.kb.y}else s=null;return s};var Vn=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(A,t){for(var r="",e=0;e<4;e++)r+=String.fromCharCode(A[t++]);return r}function c(A,t){return(A[t+0]<<0|A[t+1]<<8|A[t+2]<<16)>>>0}function B(A,t){return(A[t+0]<<0|A[t+1]<<8|A[t+2]<<16|A[t+3]<<24)>>>0}new a;var f=[0],h=[0],l=[],w=new a,g=A,Q=function(A,t){var r={},e=0,n=!1,i=0,s=0;if(r.frames=[],!
|
234
|
+
/** @license
|
235
|
+
* Copyright (c) 2017 Dominik Homberger
|
236
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
237
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
238
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
239
|
+
https://webpjs.appspot.com
|
240
|
+
WebPRiffParser dominikhlbg@gmail.com
|
241
|
+
*/
|
242
|
+
function(A,t){for(var r=0;r<4;r++)if(A[t+r]!="RIFF".charCodeAt(r))return!0;return!1}(A,t)){var o,a;for(B(A,t+=4),t+=8;t<A.length;){var f=u(A,t),h=B(A,t+=4);t+=4;var l=h+(1&h);switch(f){case"VP8 ":case"VP8L":void 0===r.frames[e]&&(r.frames[e]={}),(Q=r.frames[e]).src_off=n?s:t-8,Q.src_size=i+h+8,e++,n&&(n=!1,i=0,s=0);break;case"VP8X":(Q=r.header={}).feature_flags=A[t];var w=t+4;Q.canvas_width=1+c(A,w),Q.canvas_height=1+c(A,w+=3),w+=3;break;case"ALPH":n=!0,i=l+8,s=t-8;break;case"ANIM":(Q=r.header).bgcolor=B(A,t),Q.loop_count=(o=A)[(a=w=t+4)+0]<<0|o[a+1]<<8,w+=2;break;case"ANMF":var g,Q;(Q=r.frames[e]={}).offset_x=2*c(A,t),Q.offset_y=2*c(A,t+=3),Q.width=1+c(A,t+=3),Q.height=1+c(A,t+=3),Q.duration=c(A,t+=3),t+=3,g=A[t++],Q.dispose=1&g,Q.blend=g>>1&1}"ANMF"!=f&&(t+=l)}return r}}(g,0);Q.response=g,Q.rgbaoutput=!0,Q.dataurl=!1;var F=Q.header?Q.header:null,U=Q.frames?Q.frames:null;F&&(F.loop_counter=F.loop_count,f=[F.canvas_height],h=[F.canvas_width]);var d=U[0],C=w.WebPDecodeRGBA(g,d.src_off,d.src_size,h,f);d.rgba=C,d.imgwidth=h[0],d.imgheight=f[0];for(var v=0;v<h[0]*f[0]*4;v++)l[v]=C[v];return this.width=h,this.height=f,this.data=l,this}!function(A){var t=function(t,e,a,u){var c=4,B=i;switch(u){case A.image_compression.FAST:c=1,B=n;break;case A.image_compression.MEDIUM:c=6,B=s;break;case A.image_compression.SLOW:c=9,B=o}var f=AA(t=r(t,e,a,B),{level:c});return A.__addimage__.arrayBufferToBinaryString(f)},r=function(A,t,r,e){for(var n,i,s,o=A.length/t,a=new Uint8Array(A.length+o),B=u(),f=0;f<o;f+=1){if(n=A.subarray(s=f*t,s+t),e)a.set(e(n,r,i),s+f);else{for(var h,l=B.length,w=[];h<l;h+=1)w[h]=B[h](n,r,i);var g=c(w.concat());a.set(w[g],s+f)}i=n}return a},e=function(A){var t=Array.apply([],A);return t.unshift(0),t},n=function(A,t){var r=[],e=A.length;r[0]=1;for(var n=0;n<e;n+=1)r[n+1]=A[n]-(A[n-t]||0)+256&255;return r},i=function(A,t,r){var e=[],n=A.length;e[0]=2;for(var i=0;i<n;i+=1)e[i+1]=A[i]-(r&&r[i]||0)+256&255;return e},s=function(A,t,r){var e=[],n=A.length;e[0]=3;for(var i=0;i<n;i+=1)e[i+1]=A[i]+256-((A[i-t]||0)+(r&&r[i]||0)>>>1)&255;return e},o=function(A,t,r){var e,n=[],i=A.length;n[0]=4;for(var s=0;s<i;s+=1)e=a(A[s-t]||0,r&&r[s]||0,r&&r[s-t]||0),n[s+1]=A[s]-e+256&255;return n},a=function(A,t,r){if(A===t&&t===r)return A;var e=Math.abs(t-r),n=Math.abs(A-r),i=Math.abs(A+t-r-r);return e<=n&&e<=i?A:n<=i?t:r},u=function(){return[e,n,i,s,o]},c=function(A){var t=A.map((function(A){return A.reduce((function(A,t){return A+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};A.processPNG=function(r,e,n,i){var s,o,a,u,c,B,f,h,l,w,g,Q,F,U,d,C=this.decode.FLATE_DECODE,v="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(a=new Jt(r)).imgData,o=a.bits,s=a.colorSpace,c=a.colors,-1!==[4,6].indexOf(a.colorType)){if(8===a.bits){l=(h=32==a.pixelBitlength?new Uint32Array(a.decodePixels().buffer):16==a.pixelBitlength?new Uint16Array(a.decodePixels().buffer):new Uint8Array(a.decodePixels().buffer)).length,g=new Uint8Array(l*a.colors),w=new Uint8Array(l);var p,m=a.pixelBitlength-a.bits;for(U=0,d=0;U<l;U++){for(F=h[U],p=0;p<m;)g[d++]=F>>>p&255,p+=a.bits;w[U]=F>>>p&255}}if(16===a.bits){l=(h=new Uint32Array(a.decodePixels().buffer)).length,g=new Uint8Array(l*(32/a.pixelBitlength)*a.colors),w=new Uint8Array(l*(32/a.pixelBitlength)),Q=a.colors>1,U=0,d=0;for(var L=0;U<l;)F=h[U++],g[d++]=F>>>0&255,Q&&(g[d++]=F>>>16&255,F=h[U++],g[d++]=F>>>0&255),w[L++]=F>>>16&255;o=8}i!==A.image_compression.NONE?(r=t(g,a.width*a.colors,a.colors,i),f=t(w,a.width,1,i)):(r=g,f=w,C=void 0)}if(3===a.colorType&&(s=this.color_spaces.INDEXED,B=a.palette,a.transparency.indexed)){var b=a.transparency.indexed,H=0;for(U=0,l=b.length;U<l;++U)H+=b[U];if((H/=255)==l-1&&-1!==b.indexOf(0))u=[b.indexOf(0)];else if(H!==l){for(h=a.decodePixels(),w=new Uint8Array(h.length),U=0,l=h.length;U<l;U++)w[U]=b[h[U]];f=t(w,a.width,1)}}var E=function(t){var r;switch(t){case A.image_compression.FAST:r=11;break;case A.image_compression.MEDIUM:r=13;break;case A.image_compression.SLOW:r=14;break;default:r=12}return r}(i);return C===this.decode.FLATE_DECODE&&(v="/Predictor "+E+" "),v+="/Colors "+c+" /BitsPerComponent "+o+" /Columns "+a.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:n,data:r,index:e,filter:C,decodeParameters:v,transparency:u,palette:B,sMask:f,predictor:E,width:a.width,height:a.height,bitsPerComponent:o,colorSpace:s}}}}(MA.API),function(A){A.processGIF89A=function(t,r,e,n){var i=new Xt(t),s=i.width,o=i.height,a=[];i.decodeAndBlitFrameRGBA(0,a);var u={data:a,width:s,height:o},c=new Wt(100).encode(u,100);return A.processJPEG.call(this,c,r,e,n)},A.processGIF87A=A.processGIF89A}(MA.API),zt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var A=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(A);for(var t=0;t<A;t++){var r=this.datav.getUint8(this.pos++,!0),e=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:n,green:e,blue:r,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},zt.prototype.parseBGR=function(){this.pos=this.offset;try{var A="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[A]()}catch(A){eA.log("bit decode error:"+A)}},zt.prototype.bit1=function(){var A,t=Math.ceil(this.width/8),r=t%4;for(A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,n=0;n<t;n++)for(var i=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+8*n*4,o=0;o<8&&8*n+o<this.width;o++){var a=this.palette[i>>7-o&1];this.data[s+4*o]=a.blue,this.data[s+4*o+1]=a.green,this.data[s+4*o+2]=a.red,this.data[s+4*o+3]=255}0!==r&&(this.pos+=4-r)}},zt.prototype.bit4=function(){for(var A=Math.ceil(this.width/2),t=A%4,r=this.height-1;r>=0;r--){for(var e=this.bottom_up?r:this.height-1-r,n=0;n<A;n++){var i=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+2*n*4,o=15&i,a=this.palette[i>>4];if(this.data[s]=a.blue,this.data[s+1]=a.green,this.data[s+2]=a.red,this.data[s+3]=255,2*n+1>=this.width)break;this.data[s+4]=(a=this.palette[o]).blue,this.data[s+4+1]=a.green,this.data[s+4+2]=a.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},zt.prototype.bit8=function(){for(var A=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var n=this.datav.getUint8(this.pos++,!0),i=r*this.width*4+4*e;if(n<this.palette.length){var s=this.palette[n];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==A&&(this.pos+=4-A)}},zt.prototype.bit15=function(){for(var A=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var e=this.bottom_up?r:this.height-1-r,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,o=(i>>5&t)/t*255|0,a=i>>15?255:0,u=e*this.width*4+4*n;this.data[u]=(i>>10&t)/t*255|0,this.data[u+1]=o,this.data[u+2]=s,this.data[u+3]=a}this.pos+=A}},zt.prototype.bit16=function(){for(var A=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&t)/t*255|0,a=(s>>5&r)/r*255|0,u=n*this.width*4+4*i;this.data[u]=(s>>11)/t*255|0,this.data[u+1]=a,this.data[u+2]=o,this.data[u+3]=255}this.pos+=A}},zt.prototype.bit24=function(){for(var A=this.height-1;A>=0;A--){for(var t=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var e=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=e,this.data[s+3]=255}this.pos+=this.width%4}},zt.prototype.bit32=function(){for(var A=this.height-1;A>=0;A--)for(var t=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var e=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*r;this.data[o]=i,this.data[o+1]=n,this.data[o+2]=e,this.data[o+3]=s}},zt.prototype.getData=function(){return this.data},
|
243
|
+
/**
|
244
|
+
* @license
|
245
|
+
* Copyright (c) 2018 Aras Abbasi
|
246
|
+
*
|
247
|
+
* Licensed under the MIT License.
|
248
|
+
* http://opensource.org/licenses/mit-license
|
249
|
+
*/
|
250
|
+
function(A){A.processBMP=function(t,r,e,n){var i=new zt(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},u=new Wt(100).encode(a,100);return A.processJPEG.call(this,u,r,e,n)}}(MA.API),Zt.prototype.getData=function(){return this.data},
|
251
|
+
/**
|
252
|
+
* @license
|
253
|
+
* Copyright (c) 2019 Aras Abbasi
|
254
|
+
*
|
255
|
+
* Licensed under the MIT License.
|
256
|
+
* http://opensource.org/licenses/mit-license
|
257
|
+
*/
|
258
|
+
function(A){A.processWEBP=function(t,r,e,n){var i=new Zt(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},u=new Wt(100).encode(a,100);return A.processJPEG.call(this,u,r,e,n)}}(MA.API),MA.API.processRGBA=function(A,t,r){for(var e=A.data,n=e.length,i=new Uint8Array(n/4*3),s=new Uint8Array(n/4),o=0,a=0,u=0;u<n;u+=4){var c=e[u+1],B=e[u+2],f=e[u+3];i[o++]=e[u],i[o++]=c,i[o++]=B,s[a++]=f}var h=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:t,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:A.width,height:A.height}},MA.API.setLanguage=function(A){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[A]&&(this.internal.languageSettings.languageCode=A,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Vt=(qt=MA.API).getCharWidthsArray=function(A,t){var r,e,n=(t=t||{}).font||this.internal.getFont(),i=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),o=t.widths?t.widths:n.metadata.Unicode.widths,a=o.fof?o.fof:1,u=t.kerning?t.kerning:n.metadata.Unicode.kerning,c=u.fof?u.fof:1,B=!1!==t.doKerning,f=0,h=A.length,l=0,g=o[0]||a,Q=[];for(r=0;r<h;r++)e=A.charCodeAt(r),"function"==typeof n.metadata.widthOfString?Q.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(e))+s*(1e3/i)||0)/1e3):(f=B&&"object"===w(u[e])&&!isNaN(parseInt(u[e][l],10))?u[e][l]/c:0,Q.push((o[e]||g)/a+f)),l=e;return Q},Rt=qt.getStringUnitWidth=function(A,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),e=t.font||this.internal.getFont(),n=t.charSpace||this.internal.getCharSpace();return qt.processArabic&&(A=qt.processArabic(A)),"function"==typeof e.metadata.widthOfString?e.metadata.widthOfString(A,r,n)/r:Vt.apply(this,arguments).reduce((function(A,t){return A+t}),0)},jt=function(A,t,r,e){for(var n=[],i=0,s=A.length,o=0;i!==s&&o+t[i]<r;)o+=t[i],i++;n.push(A.slice(0,i));var a=i;for(o=0;i!==s;)o+t[i]>e&&(n.push(A.slice(a,i)),o=0,a=i),o+=t[i],i++;return a!==i&&n.push(A.slice(a,i)),n},Pt=function(A,t,r){r||(r={});var e,n,i,s,o,a,u=[],c=[u],B=r.textIndent||0,f=0,h=0,l=A.split(" "),w=Vt.apply(this,[" ",r])[0];if(a=-1===r.lineIndent?l[0].length+2:r.lineIndent||0){var g=Array(a).join(" "),Q=[];l.map((function(A){(A=A.split(/\s*\n/)).length>1?Q=Q.concat(A.map((function(A,t){return(t&&A.length?"\n":"")+A}))):Q.push(A[0])})),l=Q,a=Rt.apply(this,[g,r])}for(i=0,s=l.length;i<s;i++){var F=0;if(e=l[i],a&&"\n"==e[0]&&(e=e.substr(1),F=1),B+f+(h=(n=Vt.apply(this,[e,r])).reduce((function(A,t){return A+t}),0))>t||F){if(h>t){for(o=jt.apply(this,[e,n,t-(B+f),t]),u.push(o.shift()),u=[o.pop()];o.length;)c.push([o.shift()]);h=n.slice(e.length-(u[0]?u[0].length:0)).reduce((function(A,t){return A+t}),0)}else u=[e];c.push(u),B=h+a,f=w}else u.push(e),B+=f+h,f=w}return c.map(a?function(A,t){return(t?g:"")+A.join(" ")}:function(A){return A.join(" ")})},qt.splitTextToSize=function(A,t,r){var e,n=(r=r||{}).fontSize||this.internal.getFontSize(),i=function(A){if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var t=this.internal.getFont(A.fontName,A.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);e=Array.isArray(A)?A:String(A).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/n;i.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=r.lineIndent;var o,a,u=[];for(o=0,a=e.length;o<a;o++)u=u.concat(Pt.apply(this,[e[o],s,i]));return u},function(A){A.__fontmetrics__=A.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},e={},n=0;n<t.length;n++)r[t[n]]="0123456789abcdef"[n],e["0123456789abcdef"[n]]=t[n];var i=function(A){return"0x"+parseInt(A,10).toString(16)},s=A.__fontmetrics__.compress=function(A){var t,r,n,o,a=["{"];for(var u in A){if(t=A[u],isNaN(parseInt(u,10))?r="'"+u+"'":(u=parseInt(u,10),r=(r=i(u).slice(2)).slice(0,-1)+e[r.slice(-1)]),"number"==typeof t)t<0?(n=i(t).slice(3),o="-"):(n=i(t).slice(2),o=""),n=o+n.slice(0,-1)+e[n.slice(-1)];else{if("object"!==w(t))throw new Error("Don't know what to do with value type "+w(t)+".");n=s(t)}a.push(r+n)}return a.push("}"),a.join("")},o=A.__fontmetrics__.uncompress=function(A){if("string"!=typeof A)throw new Error("Invalid argument passed to uncompress.");for(var t,e,n,i,s={},o=1,a=s,u=[],c="",B="",f=A.length-1,h=1;h<f;h+=1)"'"==(i=A[h])?t?(n=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(u.push([a,n]),a={},n=void 0):"}"==i?((e=u.pop())[0][e[1]]=a,n=void 0,a=e[0]):"-"==i?o=-1:void 0===n?r.hasOwnProperty(i)?(c+=r[i],n=parseInt(c,16)*o,o=1,c=""):c+=i:r.hasOwnProperty(i)?(B+=r[i],a[n]=parseInt(B,16)*o,o=1,n=void 0,B=""):B+=i;return s},a={codePages:["WinAnsiEncoding"],WinAnsiEncoding:o("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:a,"Courier-Bold":a,"Courier-BoldOblique":a,"Courier-Oblique":a,Helvetica:a,"Helvetica-Bold":a,"Helvetica-BoldOblique":a,"Helvetica-Oblique":a,"Times-Roman":a,"Times-Bold":a,"Times-BoldItalic":a,"Times-Italic":a}},c={Unicode:{"Courier-Oblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":o("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":o("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:o("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:o("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":o("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":o("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};A.events.push(["addFont",function(A){var t=A.font,r=c.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var e=u.Unicode[t.postScriptName];e&&(t.metadata.Unicode.encoding=e,t.encoding=e.codePages[0])}])}(MA.API),
|
259
|
+
/**
|
260
|
+
* @license
|
261
|
+
* Licensed under the MIT License.
|
262
|
+
* http://opensource.org/licenses/mit-license
|
263
|
+
*/
|
264
|
+
function(A){var t=function(A){for(var t=A.length,r=new Uint8Array(t),e=0;e<t;e++)r[e]=A.charCodeAt(e);return r};A.API.events.push(["addFont",function(r){var e=void 0,n=r.font,i=r.instance;if(!n.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if("string"!=typeof(e=!1===i.existsFileInVFS(n.postScriptName)?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");!function(r,e){e=/^\x00\x01\x00\x00/.test(e)?t(e):t(oA(e)),r.metadata=A.API.TTFFont.open(e),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(n,e)}}])}(MA),
|
265
|
+
/** @license
|
266
|
+
* Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
|
267
|
+
*
|
268
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
269
|
+
* a copy of this software and associated documentation files (the
|
270
|
+
* "Software"), to deal in the Software without restriction, including
|
271
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
272
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
273
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
274
|
+
* the following conditions:
|
275
|
+
*
|
276
|
+
* The above copyright notice and this permission notice shall be
|
277
|
+
* included in all copies or substantial portions of the Software.
|
278
|
+
*
|
279
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
280
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
281
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
282
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
283
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
284
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
285
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
286
|
+
* ====================================================================
|
287
|
+
*/
|
288
|
+
function(){function A(){return(tA.canvg?Promise.resolve(tA.canvg):import("./p-5fc26938.js")).catch((function(A){return Promise.reject(new Error("Could not load canvg: "+A))})).then((function(A){return A.default?A.default:A}))}MA.API.addSvgAsImage=function(t,r,e,n,i,s,o,a){if(isNaN(r)||isNaN(e))throw eA.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(n)||isNaN(i))throw eA.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=n,u.height=i;var c=u.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,u.width,u.height);var B={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return A().then((function(A){return A.fromString(c,t,B)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(A){return A.render(B)})).then((function(){f.addImage(u.toDataURL("image/jpeg",1),r,e,n,i,o,a)}))}}(),MA.API.putTotalPages=function(A){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(A,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(A,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var e=1;e<=this.internal.getNumberOfPages();e++)for(var n=0;n<this.internal.pages[e].length;n++)this.internal.pages[e][n]=this.internal.pages[e][n].replace(t,r);return this},MA.API.viewerPreferences=function(A,t){var r;A=A||{},t=t||!1;var e,n,i,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},o=Object.keys(s),a=[],u=0,c=0,B=0;function f(A,t){var r,e=!1;for(r=0;r<A.length;r+=1)A[r]===t&&(e=!0);return e}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===A||!0===t){var h=o.length;for(B=0;B<h;B+=1)r[o[B]].value=r[o[B]].defaultValue,r[o[B]].explicitSet=!1}if("object"===w(A))for(n in A)if(i=A[n],f(o,n)&&void 0!==i){if("boolean"===r[n].type&&"boolean"==typeof i)r[n].value=i;else if("name"===r[n].type&&f(r[n].valueSet,i))r[n].value=i;else if("integer"===r[n].type&&Number.isInteger(i))r[n].value=i;else if("array"===r[n].type){for(u=0;u<i.length;u+=1)if(e=!0,1===i[u].length&&"number"==typeof i[u][0])a.push(String(i[u]-1));else if(i[u].length>1){for(c=0;c<i[u].length;c+=1)"number"!=typeof i[u][c]&&(e=!1);!0===e&&a.push([i[u][0]-1,i[u][1]-1].join(" "))}r[n].value="["+a.join(" ")+"]"}else r[n].value=r[n].defaultValue;r[n].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var A,t=[];for(A in r)!0===r[A].explicitSet&&t.push("name"===r[A].type?"/"+A+" /"+r[A].value:"/"+A+" "+r[A].value);0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this
|
289
|
+
/** ====================================================================
|
290
|
+
* @license
|
291
|
+
* jsPDF XMP metadata plugin
|
292
|
+
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
|
293
|
+
*
|
294
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
295
|
+
* a copy of this software and associated documentation files (the
|
296
|
+
* "Software"), to deal in the Software without restriction, including
|
297
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
298
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
299
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
300
|
+
* the following conditions:
|
301
|
+
*
|
302
|
+
* The above copyright notice and this permission notice shall be
|
303
|
+
* included in all copies or substantial portions of the Software.
|
304
|
+
*
|
305
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
306
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
307
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
308
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
309
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
310
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
311
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
312
|
+
* ====================================================================
|
313
|
+
*/},function(){var A=function(){var A='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(A)),e=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),n=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),s=r.length+e.length+n.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+r+e+n+i),this.internal.write("endstream"),this.internal.write("endobj")},t=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};MA.API.addMetadata=function(r,e){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:r,namespaceuri:e||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",t),this.internal.events.subscribe("postPutResources",A)),this}}(),function(A){var t=A.API,r=t.pdfEscape16=function(A,t){for(var r,e=t.metadata.Unicode.widths,n=["","0","00","000","0000"],i=[""],s=0,o=A.length;s<o;++s){if(r=t.metadata.characterToGlyph(A.charCodeAt(s)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=A.charCodeAt(s),-1==e.indexOf(r)&&(e.push(r),e.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return i.join("");r=r.toString(16),i.push(n[4-r.length],r)}return i.join("")},e=function(A){var t,r,e,n,i,s,o;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",e=[],s=0,o=(r=Object.keys(A).sort((function(A,t){return A-t}))).length;s<o;s++)t=r[s],e.length>=100&&(i+="\n"+e.length+" beginbfchar\n"+e.join("\n")+"\nendbfchar",e=[]),null!=A[t]&&"function"==typeof A[t].toString&&(n=("0000"+A[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),e.push("<"+t+"><"+n+">"));return e.length&&(i+="\n"+e.length+" beginbfchar\n"+e.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,n=t.out,i=t.newObject,s=t.putStream;if(r.metadata instanceof A.API.TTFFont&&"Identity-H"===r.encoding){for(var o=r.metadata.Unicode.widths,a=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",c=0;c<a.length;c++)u+=String.fromCharCode(a[c]);var B=i();s({data:u,addLength1:!0,objectId:B}),n("endobj");var f=i();s({data:e(r.metadata.toUnicode),addLength1:!0,objectId:f}),n("endobj");var h=i();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+EA(r.fontName)),n("/FontFile2 "+B+" 0 R"),n("/FontBBox "+A.API.PDFObject.convert(r.metadata.bbox)),n("/Flags "+r.metadata.flags),n("/StemV "+r.metadata.stemV),n("/ItalicAngle "+r.metadata.italicAngle),n("/Ascent "+r.metadata.ascender),n("/Descent "+r.metadata.decender),n("/CapHeight "+r.metadata.capHeight),n(">>"),n("endobj");var l=i();n("<<"),n("/Type /Font"),n("/BaseFont /"+EA(r.fontName)),n("/FontDescriptor "+h+" 0 R"),n("/W "+A.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+r.encoding+")"),n(">>"),n(">>"),n("endobj"),r.objectNumber=i(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+f+" 0 R"),n("/BaseFont /"+EA(r.fontName)),n("/Encoding /"+r.encoding),n("/DescendantFonts ["+l+" 0 R]"),n(">>"),n("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,n=t.out,i=t.newObject,s=t.putStream;if(r.metadata instanceof A.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var o=r.metadata.rawData,a="",u=0;u<o.length;u++)a+=String.fromCharCode(o[u]);var c=i();s({data:a,addLength1:!0,objectId:c}),n("endobj");var B=i();s({data:e(r.metadata.toUnicode),addLength1:!0,objectId:B}),n("endobj");var f=i();n("<<"),n("/Descent "+r.metadata.decender),n("/CapHeight "+r.metadata.capHeight),n("/StemV "+r.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+c+" 0 R"),n("/Flags 96"),n("/FontBBox "+A.API.PDFObject.convert(r.metadata.bbox)),n("/FontName /"+EA(r.fontName)),n("/ItalicAngle "+r.metadata.italicAngle),n("/Ascent "+r.metadata.ascender),n(">>"),n("endobj"),r.objectNumber=i();for(var h=0;h<r.metadata.hmtx.widths.length;h++)r.metadata.hmtx.widths[h]=parseInt(r.metadata.hmtx.widths[h]*(1e3/r.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+B+" 0 R/BaseFont/"+EA(r.fontName)+"/FontDescriptor "+f+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+A.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),n("endobj"),r.isAlreadyPutted=!0}}(t)}]);var n=function(A){var t,e=A.text||"",n=A.x,i=A.y,s=A.options||{},o=A.mutex||{},a=o.pdfEscape,u=o.activeFontKey,c=o.fonts,B=u,f="",h=0,l="",w=c[B].encoding;if("Identity-H"!==c[B].encoding)return{text:e,x:n,y:i,options:s,mutex:o};for(l=e,B=u,Array.isArray(e)&&(l=e[0]),h=0;h<l.length;h+=1)c[B].metadata.hasOwnProperty("cmap")&&(t=c[B].metadata.cmap.unicode.codeMap[l[h].charCodeAt(0)]),t||l[h].charCodeAt(0)<256&&c[B].metadata.hasOwnProperty("Unicode")?f+=l[h]:f+="";var g="";return parseInt(B.slice(1))<14||"WinAnsiEncoding"===w?g=a(f,B).split("").map((function(A){return A.charCodeAt(0).toString(16)})).join(""):"Identity-H"===w&&(g=r(f,c[B])),o.isHex=!0,{text:g,x:n,y:i,options:s,mutex:o}};t.events.push(["postProcessText",function(A){var t=A.text||"",r=[],e={text:t,x:A.x,y:A.y,options:A.options,mutex:A.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?r.push([n(Object.assign({},e,{text:t[i][0]})).text,t[i][1],t[i][2]]):r.push(n(Object.assign({},e,{text:t[i]})).text);A.text=r}else A.text=n(Object.assign({},e,{text:t})).text}])}(MA),
|
314
|
+
/**
|
315
|
+
* @license
|
316
|
+
* jsPDF virtual FileSystem functionality
|
317
|
+
*
|
318
|
+
* Licensed under the MIT License.
|
319
|
+
* http://opensource.org/licenses/mit-license
|
320
|
+
*/
|
321
|
+
function(A){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};A.existsFileInVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]},A.addFileToVFS=function(A,r){return t.call(this),this.internal.vFS[A]=r,this},A.getFileFromVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]?this.internal.vFS[A]:null}}(MA.API),
|
322
|
+
/**
|
323
|
+
* @license
|
324
|
+
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
|
325
|
+
* MIT License
|
326
|
+
*/
|
327
|
+
function(A){A.__bidiEngine__=A.prototype.__bidiEngine__=function(A){var r,e,n,i,s,o,a,u=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],B=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},l=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],w=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,Q=0;this.__bidiEngine__={};var F=function(A){var t=A.charCodeAt(),r=t>>8,e=h[r];return void 0!==e?u[256*e+(255&t)]:252===r||253===r?"AL":w.test(r)?"L":8===r?"R":"N"},U=function(A){for(var t,r=0;r<A.length;r++){if("L"===(t=F(A.charAt(r))))return!1;if("R"===t)return!0}return!1},d=function(A,t,s,o){var a,u,c,B,f=t[o];switch(f){case"L":case"R":g=!1;break;case"N":case"AN":break;case"EN":g&&(f="AN");break;case"AL":g=!0,f="R";break;case"WS":f="N";break;case"CS":o<1||o+1>=t.length||"EN"!==(a=s[o-1])&&"AN"!==a||"EN"!==(u=t[o+1])&&"AN"!==u?f="N":g&&(u="AN"),f=u===a?u:"N";break;case"ES":f="EN"===(a=o>0?s[o-1]:"B")&&o+1<t.length&&"EN"===t[o+1]?"EN":"N";break;case"ET":if(o>0&&"EN"===s[o-1]){f="EN";break}if(g){f="N";break}for(c=o+1,B=t.length;c<B&&"ET"===t[c];)c++;f=c<B&&"EN"===t[c]?"EN":"N";break;case"NSM":if(n&&!i){for(B=t.length,c=o+1;c<B&&"NSM"===t[c];)c++;if(c<B){var h=A[o];if(a=t[c],(h>=1425&&h<=2303||64286===h)&&("R"===a||"AL"===a)){f="R";break}}}f=o<1||"B"===(a=t[o-1])?"N":s[o-1];break;case"B":g=!1,r=!0,f=Q;break;case"S":e=!0,f="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"BN":f="N"}return f},C=function(A,t,r){var e=A.split("");return r&&v(e,r,{hiLevel:Q}),e.reverse(),t&&t.reverse(),e.join("")},v=function(A,t,n){var i,s,o,a,u,h=-1,l=A.length,w=0,U=[],C=Q?B:c,v=[];for(g=!1,r=!1,e=!1,s=0;s<l;s++)v[s]=F(A[s]);for(o=0;o<l;o++){if(u=w,U[o]=d(A,v,U,o),i=240&(w=C[u][f[U[o]]]),t[o]=a=C[w&=15][5],i>0)if(16===i){for(s=h;s<o;s++)t[s]=1;h=-1}else h=-1;if(C[w][6])-1===h&&(h=o);else if(h>-1){for(s=h;s<o;s++)t[s]=a;h=-1}"B"===v[o]&&(t[o]=0),n.hiLevel|=a}e&&function(A,t,r){for(var e=0;e<r;e++)if("S"===A[e]){t[e]=Q;for(var n=e-1;n>=0&&"WS"===A[n];n--)t[n]=Q}}(v,t,l)},p=function(A,t,e,n,i){if(!(i.hiLevel<A)){if(1===A&&1===Q&&!r)return t.reverse(),void(e&&e.reverse());for(var s,o,a,u,c=t.length,B=0;B<c;){if(n[B]>=A){for(a=B+1;a<c&&n[a]>=A;)a++;for(u=B,o=a-1;u<o;u++,o--)s=t[u],t[u]=t[o],t[o]=s,e&&(s=e[u],e[u]=e[o],e[o]=s);B=a}B++}}},m=function(A,t,r){var e=A.split(""),n={hiLevel:Q};return r||(r=[]),v(e,r,n),function(A,t,r){if(0!==r.hiLevel&&a)for(var e,n=0;n<A.length;n++)1===t[n]&&(e=l.indexOf(A[n]))>=0&&(A[n]=l[e+1])}(e,r,n),p(2,e,t,r,n),p(1,e,t,r,n),e.join("")};return this.__bidiEngine__.doBidiReorder=function(A,t,r){if(function(A,t){if(t)for(var r=0;r<A.length;r++)t[r]=r;void 0===i&&(i=U(A)),void 0===o&&(o=U(A))}(A,t),n||!s||o)if(n&&s&&i^o)Q=i?1:0,A=C(A,t,r);else if(!n&&s&&o)Q=i?1:0,A=m(A,t,r),A=C(A,t);else if(!n||i||s||o){if(n&&!s&&i^o)A=C(A,t),i?(Q=0,A=m(A,t,r)):(Q=1,A=m(A,t,r),A=C(A,t));else if(n&&i&&!s&&o)Q=1,A=m(A,t,r),A=C(A,t);else if(!n&&!s&&i^o){var e=a;i?(Q=1,A=m(A,t,r),Q=0,a=!1,A=m(A,t,r),a=e):(Q=0,A=m(A,t,r),A=C(A,t),Q=1,a=!1,A=m(A,t,r),a=e,A=C(A,t))}}else Q=0,A=m(A,t,r);else Q=i?1:0,A=m(A,t,r);return A},this.__bidiEngine__.setOptions=function(A){A&&(n=A.isInputVisual,s=A.isOutputVisual,i=A.isInputRtl,o=A.isOutputRtl,a=A.isSymmetricSwapping)},this.__bidiEngine__.setOptions(A),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new A.__bidiEngine__({isInputVisual:!0});A.API.events.push(["postProcessText",function(A){var t=A.text,e=A.options||{},n=[];if(e.isInputVisual="boolean"!=typeof e.isInputVisual||e.isInputVisual,r.setOptions(e),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(n=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?n.push([r.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):n.push([r.doBidiReorder(t[i])]);A.text=n}else A.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(MA),MA.API.TTFFont=function(){function A(A){var t;if(this.rawData=A,t=this.contents=new $t(A),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Fr(this),this.registerTTF()}return A.open=function(t){return new A(t)},A.prototype.parse=function(){return this.directory=new Ar(this.contents),this.head=new er(this),this.name=new cr(this),this.cmap=new ir(this),this.toUnicode={},this.hhea=new sr(this),this.maxp=new Br(this),this.hmtx=new fr(this),this.post=new ar(this),this.os2=new or(this),this.loca=new Qr(this),this.glyf=new lr(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},A.prototype.registerTTF=function(){var A,t,r,e;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var A,t,r,e;for(e=[],A=0,t=(r=this.bbox).length;A<t;A++)e.push(Math.round(r[A]*this.scaleFactor));return e}.call(this),this.stemV=0,this.post.exists?(t=255&(r=this.post.italic_angle),0!=(32768&(A=r>>16))&&(A=-(1+(65535^A))),this.italicAngle=+(A+"."+t)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(e=this.familyClass)||2===e||3===e||4===e||5===e||7===e,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},A.prototype.characterToGlyph=function(A){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[A]:void 0)||0},A.prototype.widthOfGlyph=function(A){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*t},A.prototype.widthOfString=function(A,t,r){var e,n,i,s;for(i=0,n=0,s=(A=""+A).length;0<=s?n<s:n>s;n=0<=s?++n:--n)e=A.charCodeAt(n),i+=this.widthOfGlyph(this.characterToGlyph(e))+r*(1e3/t)||0;return i*(t/1e3)},A.prototype.lineHeight=function(A,t){return null==t&&(t=!1),(this.ascender+(t?this.lineGap:0)-this.decender)/1e3*A},A}();var _t,$t=function(){function A(A){this.data=null!=A?A:[],this.pos=0,this.length=this.data.length}return A.prototype.readByte=function(){return this.data[this.pos++]},A.prototype.writeByte=function(A){return this.data[this.pos++]=A},A.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},A.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},A.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},A.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},A.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},A.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},A.prototype.readString=function(A){var t,r;for(r=[],t=0;0<=A?t<A:t>A;t=0<=A?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},A.prototype.writeString=function(A){var t,r,e;for(e=[],t=0,r=A.length;0<=r?t<r:t>r;t=0<=r?++t:--t)e.push(this.writeByte(A.charCodeAt(t)));return e},A.prototype.readShort=function(){return this.readInt16()},A.prototype.writeShort=function(A){return this.writeInt16(A)},A.prototype.readLongLong=function(){var A,t,r,e,n,i,s,o;return A=this.readByte(),t=this.readByte(),r=this.readByte(),e=this.readByte(),n=this.readByte(),i=this.readByte(),s=this.readByte(),o=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^e)+16777216*(255^n)+65536*(255^i)+256*(255^s)+(255^o)+1):72057594037927940*A+281474976710656*t+1099511627776*r+4294967296*e+16777216*n+65536*i+256*s+o},A.prototype.writeLongLong=function(A){var t,r;return t=Math.floor(A/4294967296),r=4294967295&A,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},A.prototype.readInt=function(){return this.readInt32()},A.prototype.writeInt=function(A){return this.writeInt32(A)},A.prototype.read=function(A){var t,r;for(t=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)t.push(this.readByte());return t},A.prototype.write=function(A){var t,r,e;for(e=[],t=0,r=A.length;t<r;t++)e.push(this.writeByte(A[t]));return e},A}(),Ar=function(){var A;function t(A){var t,r,e;for(this.scalarType=A.readInt(),this.tableCount=A.readShort(),this.searchRange=A.readShort(),this.entrySelector=A.readShort(),this.rangeShift=A.readShort(),this.tables={},r=0,e=this.tableCount;0<=e?r<e:r>e;r=0<=e?++r:--r)t={tag:A.readString(4),checksum:A.readInt(),offset:A.readInt(),length:A.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,e,n,i,s,o,a,u,c,B,f,h;for(h in B=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(B)/s),n=Math.floor(u/s),a=16*B-u,(e=new $t).writeInt(this.scalarType),e.writeShort(B),e.writeShort(u),e.writeShort(n),e.writeShort(a),o=e.pos+16*B,i=null,f=[],t)for(c=t[h],e.writeString(h),e.writeInt(A(c)),e.writeInt(o),e.writeInt(c.length),f=f.concat(c),"head"===h&&(i=o),o+=c.length;o%4;)f.push(0),o++;return e.write(f),r=2981146554-A(e.data),e.pos=i+8,e.writeUInt32(r),e.data},A=function(A){var t,r,e,n;for(A=hr.call(A);A.length%4;)A.push(0);for(e=new $t(A),r=0,t=0,n=A.length;t<n;t=t+=4)r+=e.readUInt32();return 4294967295&r},t}(),tr={}.hasOwnProperty,rr=function(A,t){for(var r in t)tr.call(t,r)&&(A[r]=t[r]);function e(){this.constructor=A}return e.prototype=t.prototype,A.prototype=new e,A.__super__=t.prototype,A};_t=function(){function A(A){var t;this.file=A,this.exists=!!(t=this.file.directory.tables[this.tag]),t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return A.prototype.parse=function(){},A.prototype.encode=function(){},A.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},A}();var er=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="head",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},A.prototype.encode=function(A){var t;return(t=new $t).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(A),t.writeShort(this.glyphDataFormat),t.data},A}(),nr=function(){function A(A,t){var r,e,n,i,s,o,a,u,c,B,f,h,l,w,g,Q,F;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=t+A.readInt(),c=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(o=0;o<256;++o)this.codeMap[o]=A.readByte();break;case 4:for(f=A.readUInt16(),B=f/2,A.pos+=6,n=function(){var t,r;for(r=[],o=t=0;0<=B?t<B:t>B;o=0<=B?++t:--t)r.push(A.readUInt16());return r}(),A.pos+=2,l=function(){var t,r;for(r=[],o=t=0;0<=B?t<B:t>B;o=0<=B?++t:--t)r.push(A.readUInt16());return r}(),a=function(){var t,r;for(r=[],o=t=0;0<=B?t<B:t>B;o=0<=B?++t:--t)r.push(A.readUInt16());return r}(),u=function(){var t,r;for(r=[],o=t=0;0<=B?t<B:t>B;o=0<=B?++t:--t)r.push(A.readUInt16());return r}(),e=(this.length-A.pos+this.offset)/2,s=function(){var t,r;for(r=[],o=t=0;0<=e?t<e:t>e;o=0<=e?++t:--t)r.push(A.readUInt16());return r}(),o=g=0,F=n.length;g<F;o=++g)for(w=n[o],r=Q=h=l[o];h<=w?Q<=w:Q>=w;r=h<=w?++Q:--Q)0===u[o]?i=r+a[o]:0!==(i=s[u[o]/2+(r-h)-(B-o)]||0)&&(i+=a[o]),this.codeMap[r]=65535&i}A.pos=c}return A.encode=function(A,t){var r,e,n,i,s,o,a,u,c,B,f,h,l,w,g,Q,F,U,d,C,v,p,m,L,b,H,E,y,I,N,K,S,M,k,D,x,O,T,G,q,V,R,j,P,J;switch(E=new $t,i=Object.keys(A).sort((function(A,t){return A-t})),t){case"macroman":for(l=0,w=function(){var A=[];for(h=0;h<256;++h)A.push(0);return A}(),Q={0:0},n={},y=0,S=i.length;y<S;y++)null==Q[R=A[e=i[y]]]&&(Q[R]=++l),n[e]={old:A[e],new:Q[A[e]]},w[e]=Q[A[e]];return E.writeUInt16(1),E.writeUInt16(0),E.writeUInt32(12),E.writeUInt16(0),E.writeUInt16(262),E.writeUInt16(0),E.write(w),{charMap:n,subtable:E.data,maxGlyphID:l+1};case"unicode":for(b=[],c=[],F=0,Q={},r={},g=a=null,I=0,M=i.length;I<M;I++)null==Q[U=A[e=i[I]]]&&(Q[U]=++F),r[e]={old:U,new:Q[U]},s=Q[U]-e,null!=g&&s===a||(g&&c.push(g),b.push(e),a=s),g=e;for(g&&c.push(g),c.push(65535),b.push(65535),m=2*(p=b.length),v=2*Math.pow(Math.log(p)/Math.LN2,2),B=Math.log(v/2)/Math.LN2,C=2*p-v,o=[],d=[],f=[],h=N=0,k=b.length;N<k;h=++N){if(u=c[h],65535===(L=b[h])){o.push(0),d.push(0);break}if(L-(H=r[L].new)>=32768)for(o.push(0),d.push(2*(f.length+p-h)),e=K=L;L<=u?K<=u:K>=u;e=L<=u?++K:--K)f.push(r[e].new);else o.push(H-L),d.push(0)}for(E.writeUInt16(3),E.writeUInt16(1),E.writeUInt32(12),E.writeUInt16(4),E.writeUInt16(16+8*p+2*f.length),E.writeUInt16(0),E.writeUInt16(m),E.writeUInt16(v),E.writeUInt16(B),E.writeUInt16(C),q=0,D=c.length;q<D;q++)E.writeUInt16(e=c[q]);for(E.writeUInt16(0),V=0,x=b.length;V<x;V++)E.writeUInt16(e=b[V]);for(j=0,O=o.length;j<O;j++)E.writeUInt16(s=o[j]);for(P=0,T=d.length;P<T;P++)E.writeUInt16(d[P]);for(J=0,G=f.length;J<G;J++)E.writeUInt16(l=f[J]);return{charMap:r,subtable:E.data,maxGlyphID:F+1}}},A}(),ir=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="cmap",A.prototype.parse=function(A){var t,r,e;for(A.pos=this.offset,this.version=A.readUInt16(),e=A.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t=new nr(A,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},A.encode=function(A,t){var r,e;return null==t&&(t="macroman"),r=nr.encode(A,t),(e=new $t).writeUInt16(0),e.writeUInt16(1),r.table=e.data.concat(r.subtable),r},A}(),sr=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="hhea",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},A}(),or=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="OS/2",A.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(A.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(A.readInt());return r}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(A.readInt());return r}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},A}(),ar=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="post",A.prototype.parse=function(A){var t,r,e;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:break;case 131072:var n;for(r=A.readUInt16(),this.glyphNameIndex=[],n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],e=[];A.pos<this.offset+this.length;)t=A.readByte(),e.push(this.names.push(A.readString(t)));return e;case 151552:return r=A.readUInt16(),this.offsets=A.read(r);case 196608:break;case 262144:return this.map=function(){var t,r,e;for(e=[],n=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;n=0<=r?++t:--t)e.push(A.readUInt32());return e}.call(this)}},A}(),ur=function(A,t){this.raw=A,this.length=A.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},cr=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="name",A.prototype.parse=function(A){var t,r,e,n,i,s,o,a,u,c,B;for(A.pos=this.offset,A.readShort(),t=A.readShort(),s=A.readShort(),r=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)r.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+s+A.readShort()});for(o={},n=u=0,c=r.length;u<c;n=++u)A.pos=(e=r[n]).offset,a=A.readString(e.length),i=new ur(a,e),null==o[B=e.nameID]&&(o[B]=[]),o[e.nameID].push(i);this.strings=o,this.copyright=o[0],this.fontFamily=o[1],this.fontSubfamily=o[2],this.uniqueSubfamily=o[3],this.fontName=o[4],this.version=o[5];try{this.postscriptName=o[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(A){this.postscriptName=o[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=o[7],this.manufacturer=o[8],this.designer=o[9],this.description=o[10],this.vendorUrl=o[11],this.designerUrl=o[12],this.license=o[13],this.licenseUrl=o[14],this.preferredFamily=o[15],this.preferredSubfamily=o[17],this.compatibleFull=o[18],this.sampleText=o[19]},A}(),Br=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="maxp",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},A}(),fr=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="hmtx",A.prototype.parse=function(A){var t,r,e,n,i,s;for(A.pos=this.offset,this.metrics=[],t=0,i=this.file.hhea.numberOfMetrics;0<=i?t<i:t>i;t=0<=i?++t:--t)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(e=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,n;for(n=[],t=r=0;0<=e?r<e:r>e;t=0<=e?++r:--r)n.push(A.readInt16());return n}(),this.widths=function(){var A,t,r,e;for(e=[],A=0,t=(r=this.metrics).length;A<t;A++)e.push(r[A].advance);return e}.call(this),r=this.widths[this.widths.length-1],s=[],t=n=0;0<=e?n<e:n>e;t=0<=e?++n:--n)s.push(this.widths.push(r));return s},A.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},A}(),hr=[].slice,lr=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="glyf",A.prototype.parse=function(){return this.cache={}},A.prototype.glyphFor=function(A){var t,r,e,n,i,s,o,a,u,c;return A in this.cache?this.cache[A]:(t=this.file.contents,r=(n=this.file.loca).indexOf(A),0===(e=n.lengthOf(A))?this.cache[A]=null:(t.pos=this.offset+r,i=(s=new $t(t.read(e))).readShort(),a=s.readShort(),c=s.readShort(),o=s.readShort(),u=s.readShort(),this.cache[A]=-1===i?new gr(s,a,c,o,u):new wr(s,i,a,c,o,u),this.cache[A]))},A.prototype.encode=function(A,t,r){var e,n,i,s,o;for(i=[],n=[],s=0,o=t.length;s<o;s++)e=A[t[s]],n.push(i.length),e&&(i=i.concat(e.encode(r)));return n.push(i.length),{table:i,offsets:n}},A}(),wr=function(){function A(A,t,r,e,n,i){this.raw=A,this.numberOfContours=t,this.xMin=r,this.yMin=e,this.xMax=n,this.yMax=i,this.compound=!1}return A.prototype.encode=function(){return this.raw.data},A}(),gr=function(){function A(A,t,r,e,n){var i,s;for(this.raw=A,this.xMin=t,this.yMin=r,this.xMax=e,this.yMax=n,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;s=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&s;)i.pos+=1&s?4:2,128&s?i.pos+=8:64&s?i.pos+=4:8&s&&(i.pos+=2)}return A.prototype.encode=function(){var A,t,r;for(t=new $t(hr.call(this.raw.data)),A=0,r=this.glyphIDs.length;A<r;++A)t.pos=this.glyphOffsets[A];return t.data},A}(),Qr=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return rr(A,_t),A.prototype.tag="loca",A.prototype.parse=function(A){var t;return A.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?function(){var r,e;for(e=[],t=0,r=this.length;t<r;t+=2)e.push(2*A.readUInt16());return e}.call(this):function(){var r,e;for(e=[],t=0,r=this.length;t<r;t+=4)e.push(A.readUInt32());return e}.call(this)},A.prototype.indexOf=function(A){return this.offsets[A]},A.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},A.prototype.encode=function(A,t){for(var r=new Uint32Array(this.offsets.length),e=0,n=0,i=0;i<r.length;++i)if(r[i]=e,n<t.length&&t[n]==i){++n,r[i]=e;var s=this.offsets[i+1]-this.offsets[i];s>0&&(e+=s)}for(var o=new Array(4*r.length),a=0;a<r.length;++a)o[4*a+3]=255&r[a],o[4*a+2]=(65280&r[a])>>8,o[4*a+1]=(16711680&r[a])>>16,o[4*a]=(4278190080&r[a])>>24;return o},A}(),Fr=function(){function A(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return A.prototype.generateCmap=function(){var A,t,r,e;for(t in r=this.font.cmap.tables[0].codeMap,A={},e=this.subset)A[t]=r[e[t]];return A},A.prototype.glyphsFor=function(A){var t,r,e,n,i,s,o;for(e={},i=0,s=A.length;i<s;i++)e[n=A[i]]=this.font.glyf.glyphFor(n);for(n in t=[],e)(null!=(r=e[n])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(n in o=this.glyphsFor(t))e[n]=r=o[n];return e},A.prototype.encode=function(A,t){var r,e,n,i,s,o,a,u,c,B,f,h,l,w;for(e in r=ir.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(A),B={0:0},w=r.charMap)B[(s=w[e]).old]=s.new;for(f in c=r.maxGlyphID,i)f in B||(B[f]=c++);return a=function(A){var t,r;for(t in r={},A)r[A[t]]=t;return r}(B),u=Object.keys(a).sort((function(A,t){return A-t})),h=function(){var A,t,r;for(r=[],A=0,t=u.length;A<t;A++)r.push(a[u[A]]);return r}(),n=this.font.glyf.encode(i,h,B),o=this.font.loca.encode(n.offsets,h),l={cmap:this.font.cmap.raw(),glyf:n.table,loca:o,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(l["OS/2"]=this.font.os2.raw()),this.font.directory.encode(l)},A}();MA.API.PDFObject=function(){var A;function t(){}return A=function(A,t){return(Array(t+1).join("0")+A).slice(-t)},t.convert=function(r){var e,n;if(Array.isArray(r))return"["+function(){var A,e,n;for(n=[],A=0,e=r.length;A<e;A++)n.push(t.convert(r[A]));return n}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+A(r.getUTCFullYear(),4)+A(r.getUTCMonth(),2)+A(r.getUTCDate(),2)+A(r.getUTCHours(),2)+A(r.getUTCMinutes(),2)+A(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(e in n=["<<"],r)n.push("/"+e+" "+t.convert(r[e]));return n.push(">>"),n.join("\n")}return""+r},t}();var Ur=i((function(A){
|
328
|
+
/*!
|
329
|
+
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
330
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
331
|
+
* Released under MIT License
|
332
|
+
*/
|
333
|
+
A.exports=function(){
|
334
|
+
/*! *****************************************************************************
|
335
|
+
Copyright (c) Microsoft Corporation.
|
336
|
+
|
337
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
338
|
+
purpose with or without fee is hereby granted.
|
339
|
+
|
340
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
341
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
342
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
343
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
344
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
345
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
346
|
+
PERFORMANCE OF THIS SOFTWARE.
|
347
|
+
***************************************************************************** */
|
348
|
+
var A=function(t,r){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(A[r]=t[r])})(t,r)};function t(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}A(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var r=function(){return(r=Object.assign||function(A){for(var t,r=1,e=arguments.length;r<e;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(A[n]=t[n]);return A}).apply(this,arguments)};function e(A,t,r,e){return new(r||(r=Promise))((function(n,i){function s(A){try{a(e.next(A))}catch(A){i(A)}}function o(A){try{a(e.throw(A))}catch(A){i(A)}}function a(A){var t;A.done?n(A.value):(t=A.value,t instanceof r?t:new r((function(A){A(t)}))).then(s,o)}a((e=e.apply(A,t||[])).next())}))}function n(A,t){var r,e,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(i){return function(o){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,e=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(A,s)}catch(A){i=[6,A],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,o])}}}function i(A,t,r){if(r||2===arguments.length)for(var e,n=0,i=t.length;n<i;n++)!e&&n in t||(e||(e=Array.prototype.slice.call(t,0,n)),e[n]=t[n]);return A.concat(e||t)}for(var s=function(){function A(A,t,r,e){this.left=A,this.top=t,this.width=r,this.height=e}return A.prototype.add=function(t,r,e,n){return new A(this.left+t,this.top+r,this.width+e,this.height+n)},A.fromClientRect=function(t,r){return new A(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height)},A.fromDOMRectList=function(t,r){var e=Array.from(r).find((function(A){return 0!==A.width}));return e?new A(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),o=function(A,t){return s.fromClientRect(A,t.getBoundingClientRect())},a=function(A){for(var t=[],r=0,e=A.length;r<e;){var n=A.charCodeAt(r++);if(n>=55296&&n<=56319&&r<e){var i=A.charCodeAt(r++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),r--)}else t.push(n)}return t},u=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var r=A.length;if(!r)return"";for(var e=[],n=-1,i="";++n<r;){var s=A[n];s<=65535?e.push(s):e.push(55296+((s-=65536)>>10),s%1024+56320),(n+1===r||e.length>16384)&&(i+=String.fromCharCode.apply(String,e),e.length=0)}return i},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<c.length;f++)B[c.charCodeAt(f)]=f;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l="undefined"==typeof Uint8Array?[]:new Uint8Array(256),w=0;w<h.length;w++)l[h.charCodeAt(w)]=w;for(var g=function(A,t,r){return A.slice?A.slice(t,r):new Uint16Array(Array.prototype.slice.call(A,t,r))},Q=function(){function A(A,t,r,e,n,i){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=e,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return t=this.index[t=2080+(A>>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d<F.length;d++)U[F.charCodeAt(d)]=d;var C=10,v=13,p=15,m=17,L=18,b=19,H=20,E=21,y=22,I=24,N=25,K=26,S=27,M=28,k=30,D=32,x=33,O=34,T=35,G=37,q=38,V=39,R=40,j=42,P=[9001,65288],J="×",X="÷",Y=function(A){var t,r,e,n=function(A){var t,r,e,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<o;t+=4)r=l[A.charCodeAt(t)],e=l[A.charCodeAt(t+1)],n=l[A.charCodeAt(t+2)],i=l[A.charCodeAt(t+3)],c[a++]=r<<2|e>>4,c[a++]=(15&e)<<4|n>>2,c[a++]=(3&n)<<6|63&i;return u}(A),i=Array.isArray(n)?function(A){for(var t=A.length,r=[],e=0;e<t;e+=4)r.push(A[e+3]<<24|A[e+2]<<16|A[e+1]<<8|A[e]);return r}(n):new Uint32Array(n),s=Array.isArray(n)?function(A){for(var t=A.length,r=[],e=0;e<t;e+=2)r.push(A[e+1]<<8|A[e]);return r}(n):new Uint16Array(n),o=g(s,12,i[4]/2),a=2===i[5]?g(s,(24+i[4])/2):(t=i,r=Math.ceil((24+i[4])/4),t.slice?t.slice(r,e):new Uint32Array(Array.prototype.slice.call(t,r,e)));return new Q(i[0],i[1],i[2],i[3],o,a)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),W=[k,36],z=[1,2,3,5],Z=[C,8],_=[S,K],$=z.concat(Z),AA=[q,V,R,O,T],tA=[p,v],rA=function(A,t,r,e){var n=e[r];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var i=r;i<=e.length;){if((a=e[++i])===t)return!0;if(a!==C)break}if(n===C)for(i=r;i>0;){var s=e[--i];if(Array.isArray(A)?-1!==A.indexOf(s):A===s)for(var o=r;o<=e.length;){var a;if((a=e[++o])===t)return!0;if(a!==C)break}if(s!==C)break}return!1},eA=function(A,t){for(var r=A;r>=0;){var e=t[r];if(e!==C)return e;r--}return 0},nA=function(A,t,r,e,n){if(0===r[e])return J;var i=e-1;if(Array.isArray(n)&&!0===n[i])return J;var s=i-1,o=i+1,a=t[i],u=s>=0?t[s]:0,c=t[o];if(2===a&&3===c)return J;if(-1!==z.indexOf(a))return"!";if(-1!==z.indexOf(c))return J;if(-1!==Z.indexOf(c))return J;if(8===eA(i,t))return X;if(11===Y.get(A[i]))return J;if((a===D||a===x)&&11===Y.get(A[o]))return J;if(7===a||7===c)return J;if(9===a)return J;if(-1===[C,v,p].indexOf(a)&&9===c)return J;if(-1!==[m,L,b,I,M].indexOf(c))return J;if(eA(i,t)===y)return J;if(rA(23,y,i,t))return J;if(rA([m,L],E,i,t))return J;if(rA(12,12,i,t))return J;if(a===C)return X;if(23===a||23===c)return J;if(16===c||16===a)return X;if(-1!==[v,p,E].indexOf(c)||14===a)return J;if(36===u&&-1!==tA.indexOf(a))return J;if(a===M&&36===c)return J;if(c===H)return J;if(-1!==W.indexOf(c)&&a===N||-1!==W.indexOf(a)&&c===N)return J;if(a===S&&-1!==[G,D,x].indexOf(c)||-1!==[G,D,x].indexOf(a)&&c===K)return J;if(-1!==W.indexOf(a)&&-1!==_.indexOf(c)||-1!==_.indexOf(a)&&-1!==W.indexOf(c))return J;if(-1!==[S,K].indexOf(a)&&(c===N||-1!==[y,p].indexOf(c)&&t[o+1]===N)||-1!==[y,p].indexOf(a)&&c===N||a===N&&-1!==[N,M,I].indexOf(c))return J;if(-1!==[N,M,I,m,L].indexOf(c))for(var B=i;B>=0;){if((f=t[B])===N)return J;if(-1===[M,I].indexOf(f))break;B--}if(-1!==[S,K].indexOf(c))for(B=-1!==[m,L].indexOf(a)?s:i;B>=0;){var f;if((f=t[B])===N)return J;if(-1===[M,I].indexOf(f))break;B--}if(q===a&&-1!==[q,V,O,T].indexOf(c)||-1!==[V,O].indexOf(a)&&-1!==[V,R].indexOf(c)||-1!==[R,T].indexOf(a)&&c===R)return J;if(-1!==AA.indexOf(a)&&-1!==[H,K].indexOf(c)||-1!==AA.indexOf(c)&&a===S)return J;if(-1!==W.indexOf(a)&&-1!==W.indexOf(c))return J;if(a===I&&-1!==W.indexOf(c))return J;if(-1!==W.concat(N).indexOf(a)&&c===y&&-1===P.indexOf(A[o])||-1!==W.concat(N).indexOf(c)&&a===L)return J;if(41===a&&41===c){for(var h=r[i],l=1;h>0&&41===t[--h];)l++;if(l%2!=0)return J}return a===D&&c===x?J:X},iA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var r=function(A,t){void 0===t&&(t="strict");var r=[],e=[],n=[];return A.forEach((function(A,i){var s=Y.get(A);if(s>50?(n.push(!0),s-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return e.push(i),r.push(16);if(4===s||11===s){if(0===i)return e.push(i),r.push(k);var o=r[i-1];return-1===$.indexOf(o)?(e.push(e[i-1]),r.push(o)):(e.push(i),r.push(k))}return e.push(i),31===s?r.push("strict"===t?E:G):s===j||29===s?r.push(k):43===s?r.push(A>=131072&&A<=196605||A>=196608&&A<=262141?G:k):void r.push(s)})),[e,r,n]}(A,t.lineBreak),e=r[0],n=r[1],i=r[2];return"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map((function(A){return-1!==[N,k,j].indexOf(A)?G:A}))),[e,n,"keep-all"===t.wordBreak?i.map((function(t,r){return t&&A[r]>=19968&&A[r]<=40959})):void 0]},sA=function(){function A(A,t,r,e){this.codePoints=A,this.required="!"===t,this.start=r,this.end=e}return A.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),oA=45,aA=43,uA=-1,cA=function(A){return A>=48&&A<=57},BA=function(A){return cA(A)||A>=65&&A<=70||A>=97&&A<=102},fA=function(A){return 10===A||9===A||32===A},hA=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},lA=function(A){return hA(A)||cA(A)||A===oA},wA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},gA=function(A,t){return 92===A&&10!==t},QA=function(A,t,r){return A===oA?hA(t)||gA(t,r):!!hA(A)||!(92!==A||!gA(A,t))},FA=function(A,t,r){return A===aA||A===oA?!!cA(t)||46===t&&cA(r):cA(46===A?t:A)},UA=function(A){var t=0,r=1;A[t]!==aA&&A[t]!==oA||(A[t]===oA&&(r=-1),t++);for(var e=[];cA(A[t]);)e.push(A[t++]);var n=e.length?parseInt(u.apply(void 0,e),10):0;46===A[t]&&t++;for(var i=[];cA(A[t]);)i.push(A[t++]);var s=i.length,o=s?parseInt(u.apply(void 0,i),10):0;69!==A[t]&&101!==A[t]||t++;var a=1;A[t]!==aA&&A[t]!==oA||(A[t]===oA&&(a=-1),t++);for(var c=[];cA(A[t]);)c.push(A[t++]);var B=c.length?parseInt(u.apply(void 0,c),10):0;return r*(n+o*Math.pow(10,-s))*Math.pow(10,a*B)},dA={type:2},CA={type:3},vA={type:4},pA={type:13},mA={type:8},LA={type:21},bA={type:9},HA={type:10},EA={type:11},yA={type:12},IA={type:14},NA={type:23},KA={type:1},SA={type:25},MA={type:24},kA={type:26},DA={type:27},xA={type:28},OA={type:29},TA={type:31},GA={type:32},qA=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(a(A))},A.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==GA;)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),e=this.peekCodePoint(2);if(lA(t)||gA(r,e)){var n=QA(t,r,e)?2:1;return{type:5,value:this.consumeName(),flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),pA;break;case 39:return this.consumeStringToken(39);case 40:return dA;case 41:return CA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),IA;break;case aA:if(FA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return vA;case oA:var i=A,s=this.peekCodePoint(0),o=this.peekCodePoint(1);if(FA(i,s,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(QA(i,s,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===oA&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),MA;break;case 46:if(FA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(a===uA)return this.consumeToken()}break;case 58:return kA;case 59:return DA;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===oA&&this.peekCodePoint(2)===oA)return this.consumeCodePoint(),this.consumeCodePoint(),SA;break;case 64:var c=this.peekCodePoint(0),B=this.peekCodePoint(1),f=this.peekCodePoint(2);if(QA(c,B,f))return{type:7,value:this.consumeName()};break;case 91:return xA;case 92:if(gA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return OA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),mA;break;case 123:return EA;case 125:return yA;case 117:case 85:var h=this.peekCodePoint(0),l=this.peekCodePoint(1);return h!==aA||!BA(l)&&63!==l||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),bA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),LA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),HA;break;case uA:return GA}return fA(A)?(this.consumeWhiteSpace(),TA):cA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):hA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:u(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();BA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;63===t&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r)return{type:30,start:parseInt(u.apply(void 0,A.map((function(A){return 63===A?48:A}))),16),end:parseInt(u.apply(void 0,A.map((function(A){return 63===A?70:A}))),16)};var e=parseInt(u.apply(void 0,A),16);if(this.peekCodePoint(0)===oA&&BA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var n=[];BA(t)&&n.length<6;)n.push(t),t=this.consumeCodePoint();return{type:30,start:e,end:parseInt(u.apply(void 0,n),16)}}return{type:30,start:e,end:e}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===uA)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var r=this.consumeStringToken(this.consumeCodePoint());return 0===r.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===uA||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),NA)}for(;;){var e=this.consumeCodePoint();if(e===uA||41===e)return{type:22,value:u.apply(void 0,A)};if(fA(e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===uA||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,A)}):(this.consumeBadUrlRemnants(),NA);if(34===e||39===e||40===e||wA(e))return this.consumeBadUrlRemnants(),NA;if(92===e){if(!gA(e,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),NA;A.push(this.consumeEscapedCodePoint())}else A.push(e)}},A.prototype.consumeWhiteSpace=function(){for(;fA(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===uA)return;gA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var t="";A>0;){var r=Math.min(5e4,A);t+=u.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),t},A.prototype.consumeStringToken=function(A){for(var t="",r=0;;){var e=this._value[r];if(e===uA||void 0===e||e===A)return{type:0,value:t+=this.consumeStringSlice(r)};if(10===e)return this._value.splice(0,r),KA;if(92===e){var n=this._value[r+1];n!==uA&&void 0!==n&&(10===n?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):gA(e,n)&&(t+=this.consumeStringSlice(r),t+=u(this.consumeEscapedCodePoint()),r=-1))}r++}},A.prototype.consumeNumber=function(){var A=[],t=4,r=this.peekCodePoint(0);for(r!==aA&&r!==oA||A.push(this.consumeCodePoint());cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var e=this.peekCodePoint(1);if(46===r&&cA(e))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),e=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===r||101===r)&&((e===aA||e===oA)&&cA(n)||cA(e)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[UA(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],e=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);return QA(e,n,i)?{type:15,number:t,flags:r,unit:this.consumeName()}:37===e?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(BA(A)){for(var t=u(A);BA(this.peekCodePoint(0))&&t.length<6;)t+=u(this.consumeCodePoint());fA(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return 0===r||function(A){return A>=55296&&A<=57343}(r)||r>1114111?65533:r}return A===uA?65533:A},A.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(lA(t))A+=u(t);else{if(!gA(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=u(this.consumeEscapedCodePoint())}}},A}(),VA=function(){function A(A){this._tokens=A}return A.create=function(t){var r=new qA;return r.write(t),new A(r.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(32===t.type)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(32===r.type||ZA(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(32===r.type||3===r.type)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?GA:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),RA=function(A){return 15===A.type},jA=function(A){return 17===A.type},PA=function(A){return 20===A.type},JA=function(A){return 0===A.type},XA=function(A,t){return PA(A)&&A.value===t},YA=function(A){return 31!==A.type},WA=function(A){return 31!==A.type&&4!==A.type},zA=function(A){var t=[],r=[];return A.forEach((function(A){if(4===A.type){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(r),void(r=[])}31!==A.type&&r.push(A)})),r.length&&t.push(r),t},ZA=function(A,t){return 11===t&&12===A.type||28===t&&29===A.type||2===t&&3===A.type},_A=function(A){return 17===A.type||15===A.type},$A=function(A){return 16===A.type||_A(A)},At=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},tt={type:17,number:0,flags:4},rt={type:16,number:50,flags:4},et={type:16,number:100,flags:4},nt=function(A,t,r){var e=A[0],n=A[1];return[it(e,t),it(void 0!==n?n:e,r)]},it=function(A,t){if(16===A.type)return A.number/100*t;if(RA(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},st="grad",ot="turn",at=function(A,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case st:return Math.PI/200*t.number;case"rad":return t.number;case ot:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},ut=function(A){return 15===A.type&&("deg"===A.unit||A.unit===st||"rad"===A.unit||A.unit===ot)},ct=function(A){switch(A.filter(PA).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[tt,tt];case"to top":case"bottom":return Bt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[tt,et];case"to right":case"left":return Bt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[et,et];case"to bottom":case"top":return Bt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[et,tt];case"to left":case"right":return Bt(270)}return 0},Bt=function(A){return Math.PI*A/180},ft=function(A,t){if(18===t.type){var r=dt[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return r(A,t.values)}if(5===t.type){if(3===t.value.length){var e=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return wt(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){e=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var s=t.value.substring(3,4);return wt(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(6===t.value.length)return e=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),wt(parseInt(e,16),parseInt(n,16),parseInt(i,16),1);if(8===t.value.length)return e=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),s=t.value.substring(6,8),wt(parseInt(e,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}if(20===t.type){var o=vt[t.value.toUpperCase()];if(void 0!==o)return o}return vt.TRANSPARENT},ht=function(A){return 0==(255&A)},lt=function(A){var t=255&A,r=255&A>>8,e=255&A>>16,n=255&A>>24;return t<255?"rgba("+n+","+e+","+r+","+t/255+")":"rgb("+n+","+e+","+r+")"},wt=function(A,t,r,e){return(A<<24|t<<16|r<<8|Math.round(255*e)<<0)>>>0},gt=function(A,t){if(17===A.type)return A.number;if(16===A.type){var r=3===t?1:255;return 3===t?A.number/100*r:Math.round(A.number/100*r)}return 0},Qt=function(A,t){var r=t.filter(WA);if(3===r.length){var e=r.map(gt);return wt(e[0],e[1],e[2],1)}if(4===r.length){var n=r.map(gt);return wt(n[0],n[1],n[2],n[3])}return 0};function Ft(A,t,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(t-A)*r*6+A:r<.5?t:r<2/3?6*(t-A)*(2/3-r)+A:A}var Ut=function(A,t){var r=t.filter(WA),e=r[0],n=r[1],i=r[2],s=r[3],o=(17===e.type?Bt(e.number):at(A,e))/(2*Math.PI),a=$A(n)?n.number/100:0,u=$A(i)?i.number/100:0,c=void 0!==s&&$A(s)?it(s,1):1;if(0===a)return wt(255*u,255*u,255*u,1);var B=u<=.5?u*(a+1):u+a-u*a,f=2*u-B,h=Ft(f,B,o+1/3),l=Ft(f,B,o),w=Ft(f,B,o-1/3);return wt(255*h,255*l,255*w,c)},dt={hsl:Ut,hsla:Ut,rgb:Qt,rgba:Qt},Ct=function(A,t){return ft(A,VA.create(t).parseComponentValue())},vt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},pt={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(PA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},mt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lt=function(A,t){var r=ft(A,t[0]),e=t[1];return e&&$A(e)?{color:r,stop:e}:{color:r,stop:null}},bt=function(A,t){var r=A[0],e=A[A.length-1];null===r.stop&&(r.stop=tt),null===e.stop&&(e.stop=et);for(var n=[],i=0,s=0;s<A.length;s++){var o=A[s].stop;if(null!==o){var a=it(o,t);n.push(a>i?a:i),i=a}else n.push(null)}var u=null;for(s=0;s<n.length;s++){var c=n[s];if(null===c)null===u&&(u=s);else if(null!==u){for(var B=s-u,f=(c-n[u-1])/(B+1),h=1;h<=B;h++)n[u+h-1]=f*h;u=null}}return A.map((function(A,r){return{color:A.color,stop:Math.max(Math.min(1,n[r]/t),0)}}))},Ht=function(A,t,r){var e="number"==typeof A?A:function(A,t,r){var e=t/2,n=r/2,i=it(A[0],t)-e,s=n-it(A[1],r);return(Math.atan2(s,i)+2*Math.PI)%(2*Math.PI)}(A,t,r),n=Math.abs(t*Math.sin(e))+Math.abs(r*Math.cos(e)),i=t/2,s=r/2,o=n/2,a=Math.sin(e-Math.PI/2)*o,u=Math.cos(e-Math.PI/2)*o;return[n,i-u,i+u,s-a,s+a]},Et=function(A,t){return Math.sqrt(A*A+t*t)},yt=function(A,t,r,e,n){return[[0,0],[0,t],[A,0],[A,t]].reduce((function(A,t){var i=Et(r-t[0],e-t[1]);return(n?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:t,optimumDistance:i}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},It=function(A,t){var r=Bt(180),e=[];return zA(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(r=ct(t));if(ut(i))return void(r=(at(A,i)+Bt(270))%Bt(360))}var s=Lt(A,t);e.push(s)})),{angle:r,stops:e,type:1}},Nt="closest-side",Kt="farthest-side",St="closest-corner",Mt="farthest-corner",kt="circle",Dt="ellipse",xt="cover",Ot="contain",Tt=function(A,t){var r=0,e=3,n=[],i=[];return zA(t).forEach((function(t,s){var o=!0;if(0===s?o=t.reduce((function(A,t){if(PA(t))switch(t.value){case"center":return i.push(rt),!1;case"top":case"left":return i.push(tt),!1;case"right":case"bottom":return i.push(et),!1}else if($A(t)||_A(t))return i.push(t),!1;return A}),o):1===s&&(o=t.reduce((function(A,t){if(PA(t))switch(t.value){case kt:return r=0,!1;case Dt:return r=1,!1;case Ot:case Nt:return e=0,!1;case Kt:return e=1,!1;case St:return e=2,!1;case xt:case Mt:return e=3,!1}else if(_A(t)||$A(t))return Array.isArray(e)||(e=[]),e.push(t),!1;return A}),o)),o){var a=Lt(A,t);n.push(a)}})),{size:e,shape:r,stops:n,position:i,type:2}},Gt=function(A,t){if(22===t.type){var r={url:t.value,type:0};return A.cache.addImage(t.value),r}if(18===t.type){var e=Vt[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return e(A,t.values)}throw new Error("Unsupported image type "+t.type)};var qt,Vt={"linear-gradient":function(A,t){var r=Bt(180),e=[];return zA(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&"to"===i.value)return void(r=ct(t));if(ut(i))return void(r=at(A,i))}var s=Lt(A,t);e.push(s)})),{angle:r,stops:e,type:1}},"-moz-linear-gradient":It,"-ms-linear-gradient":It,"-o-linear-gradient":It,"-webkit-linear-gradient":It,"radial-gradient":function(A,t){var r=0,e=3,n=[],i=[];return zA(t).forEach((function(t,s){var o=!0;if(0===s){var a=!1;o=t.reduce((function(A,t){if(a)if(PA(t))switch(t.value){case"center":return i.push(rt),A;case"top":case"left":return i.push(tt),A;case"right":case"bottom":return i.push(et),A}else($A(t)||_A(t))&&i.push(t);else if(PA(t))switch(t.value){case kt:return r=0,!1;case Dt:return r=1,!1;case"at":return a=!0,!1;case Nt:return e=0,!1;case xt:case Kt:return e=1,!1;case Ot:case St:return e=2,!1;case Mt:return e=3,!1}else if(_A(t)||$A(t))return Array.isArray(e)||(e=[]),e.push(t),!1;return A}),o)}if(o){var u=Lt(A,t);n.push(u)}})),{size:e,shape:r,stops:n,position:i,type:2}},"-moz-radial-gradient":Tt,"-ms-radial-gradient":Tt,"-o-radial-gradient":Tt,"-webkit-radial-gradient":Tt,"-webkit-gradient":function(A,t){var r=Bt(180),e=[],n=1;return zA(t).forEach((function(t,r){var i=t[0];if(0===r){if(PA(i)&&"linear"===i.value)return void(n=1);if(PA(i)&&"radial"===i.value)return void(n=2)}if(18===i.type)if("from"===i.name){var s=ft(A,i.values[0]);e.push({stop:tt,color:s})}else if("to"===i.name)s=ft(A,i.values[0]),e.push({stop:et,color:s});else if("color-stop"===i.name){var o=i.values.filter(WA);if(2===o.length){s=ft(A,o[1]);var a=o[0];jA(a)&&e.push({stop:{type:16,number:100*a.number,flags:a.flags},color:s})}}})),1===n?{angle:(r+Bt(180))%Bt(360),stops:e,type:n}:{size:3,shape:0,stops:e,position:[],type:n}}},Rt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var r=t[0];return 20===r.type&&"none"===r.value?[]:t.filter((function(A){return WA(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Vt[A.name])}(A)})).map((function(t){return Gt(A,t)}))}},jt={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(PA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Pt={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,t){return zA(t).map((function(A){return A.filter($A)})).map(At)}},Jt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,t){return zA(t).map((function(A){return A.filter(PA).map((function(A){return A.value})).join(" ")})).map(Xt)}},Xt=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(qt||(qt={}));var Yt,Wt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,t){return zA(t).map((function(A){return A.filter(zt)}))}},zt=function(A){return PA(A)||$A(A)},Zt=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_t=Zt("top"),$t=Zt("right"),Ar=Zt("bottom"),tr=Zt("left"),rr=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return At(t.filter($A))}}},er=rr("top-left"),nr=rr("top-right"),ir=rr("bottom-right"),sr=rr("bottom-left"),or=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ar=or("top"),ur=or("right"),cr=or("bottom"),Br=or("left"),fr=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return RA(t)?t.number:0}}},hr=fr("top"),lr=fr("right"),wr=fr("bottom"),gr=fr("left"),Qr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Fr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},Ur={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,t){return t.filter(PA).reduce((function(A,t){return A|dr(t.value)}),0)}},dr=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Cr={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},vr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(Yt||(Yt={}));var pr,mr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"strict":return Yt.STRICT;case"normal":default:return Yt.NORMAL}}},Lr={name:"line-height",initialValue:"normal",prefix:!1,type:4},br=function(A,t){return PA(A)&&"normal"===A.value?1.2*t:17===A.type?t*A.number:$A(A)?it(A,t):t},Hr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,t){return 20===t.type&&"none"===t.value?null:Gt(A,t)}},Er={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},yr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ir=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},Nr=Ir("top"),Kr=Ir("right"),Sr=Ir("bottom"),Mr=Ir("left"),kr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,t){return t.filter(PA).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Dr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},xr=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Or=xr("top"),Tr=xr("right"),Gr=xr("bottom"),qr=xr("left"),Vr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Rr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},jr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&XA(t[0],"none")?[]:zA(t).map((function(t){for(var r={color:vt.TRANSPARENT,offsetX:tt,offsetY:tt,blur:tt},e=0,n=0;n<t.length;n++){var i=t[n];_A(i)?(0===e?r.offsetX=i:1===e?r.offsetY=i:r.blur=i,e++):r.color=ft(A,i)}return r}))}},Pr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Jr={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var r=Xr[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return r(t.values)}return null}},Xr={matrix:function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===t.length?t:null},matrix3d:function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 16===t.length?[t[0],t[1],t[4],t[5],t[12],t[13]]:null}},Yr={type:16,number:50,flags:4},Wr=[Yr,Yr],zr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,t){var r=t.filter($A);return 2!==r.length?Wr:[r[0],r[1]]}},Zr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};!function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"}(pr||(pr={}));for(var _r={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-all":return pr.BREAK_ALL;case"keep-all":return pr.KEEP_ALL;case"normal":default:return pr.NORMAL}}},$r={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,t){if(20===t.type)return{auto:!0,order:0};if(jA(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Ae={name:"time",parse:function(A,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},te={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,t){return jA(t)?t.number:1}},re={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ee={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,t){return t.filter(PA).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},ne={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,t){var r=[],e=[];return t.forEach((function(A){switch(A.type){case 20:case 0:r.push(A.value);break;case 17:r.push(A.number.toString());break;case 4:e.push(r.join(" ")),r.length=0}})),r.length&&e.push(r.join(" ")),e.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},ie={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},se={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,t){if(jA(t))return t.number;if(PA(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},oe={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return t.filter(PA).map((function(A){return A.value}))}},ae={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ue=function(A,t){return 0!=(A&t)},ce={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var r=t[0];return 20===r.type&&"none"===r.value?[]:t}},Be={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var r=t[0];if(20===r.type&&"none"===r.value)return null;for(var e=[],n=t.filter(YA),i=0;i<n.length;i++){var s=n[i],o=n[i+1];if(20===s.type){var a=o&&jA(o)?o.number:1;e.push({counter:s.value,increment:a})}}return e}},fe={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return[];for(var r=[],e=t.filter(YA),n=0;n<e.length;n++){var i=e[n],s=e[n+1];if(PA(i)&&"none"!==i.value){var o=s&&jA(s)?s.number:0;r.push({counter:i.value,reset:o})}}return r}},he={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,t){return t.filter(RA).map((function(t){return Ae.parse(A,t)}))}},le={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var r=t[0];if(20===r.type&&"none"===r.value)return null;var e=[],n=t.filter(JA);if(n.length%2!=0)return null;for(var i=0;i<n.length;i+=2)e.push({open:n[i].value,close:n[i+1].value});return e}},we=function(A,t,r){if(!A)return"";var e=A[Math.min(t,A.length-1)];return e?r?e.open:e.close:""},ge={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&XA(t[0],"none")?[]:zA(t).map((function(t){for(var r={color:255,offsetX:tt,offsetY:tt,blur:tt,spread:tt,inset:!1},e=0,n=0;n<t.length;n++){var i=t[n];XA(i,"inset")?r.inset=!0:_A(i)?(0===e?r.offsetX=i:1===e?r.offsetY=i:2===e?r.blur=i:r.spread=i,e++):r.color=ft(A,i)}return r}))}},Qe={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,t){var r=[];return t.filter(PA).forEach((function(A){switch(A.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2)}})),[0,1,2].forEach((function(A){-1===r.indexOf(A)&&r.push(A)})),r}},Fe={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Ue={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return RA(t)?t.number:0}},de=function(){function A(A,t){var r,e;this.animationDuration=pe(A,he,t.animationDuration),this.backgroundClip=pe(A,pt,t.backgroundClip),this.backgroundColor=pe(A,mt,t.backgroundColor),this.backgroundImage=pe(A,Rt,t.backgroundImage),this.backgroundOrigin=pe(A,jt,t.backgroundOrigin),this.backgroundPosition=pe(A,Pt,t.backgroundPosition),this.backgroundRepeat=pe(A,Jt,t.backgroundRepeat),this.backgroundSize=pe(A,Wt,t.backgroundSize),this.borderTopColor=pe(A,_t,t.borderTopColor),this.borderRightColor=pe(A,$t,t.borderRightColor),this.borderBottomColor=pe(A,Ar,t.borderBottomColor),this.borderLeftColor=pe(A,tr,t.borderLeftColor),this.borderTopLeftRadius=pe(A,er,t.borderTopLeftRadius),this.borderTopRightRadius=pe(A,nr,t.borderTopRightRadius),this.borderBottomRightRadius=pe(A,ir,t.borderBottomRightRadius),this.borderBottomLeftRadius=pe(A,sr,t.borderBottomLeftRadius),this.borderTopStyle=pe(A,ar,t.borderTopStyle),this.borderRightStyle=pe(A,ur,t.borderRightStyle),this.borderBottomStyle=pe(A,cr,t.borderBottomStyle),this.borderLeftStyle=pe(A,Br,t.borderLeftStyle),this.borderTopWidth=pe(A,hr,t.borderTopWidth),this.borderRightWidth=pe(A,lr,t.borderRightWidth),this.borderBottomWidth=pe(A,wr,t.borderBottomWidth),this.borderLeftWidth=pe(A,gr,t.borderLeftWidth),this.boxShadow=pe(A,ge,t.boxShadow),this.color=pe(A,Qr,t.color),this.direction=pe(A,Fr,t.direction),this.display=pe(A,Ur,t.display),this.float=pe(A,Cr,t.cssFloat),this.fontFamily=pe(A,ne,t.fontFamily),this.fontSize=pe(A,ie,t.fontSize),this.fontStyle=pe(A,ae,t.fontStyle),this.fontVariant=pe(A,oe,t.fontVariant),this.fontWeight=pe(A,se,t.fontWeight),this.letterSpacing=pe(A,vr,t.letterSpacing),this.lineBreak=pe(A,mr,t.lineBreak),this.lineHeight=pe(A,Lr,t.lineHeight),this.listStyleImage=pe(A,Hr,t.listStyleImage),this.listStylePosition=pe(A,Er,t.listStylePosition),this.listStyleType=pe(A,yr,t.listStyleType),this.marginTop=pe(A,Nr,t.marginTop),this.marginRight=pe(A,Kr,t.marginRight),this.marginBottom=pe(A,Sr,t.marginBottom),this.marginLeft=pe(A,Mr,t.marginLeft),this.opacity=pe(A,te,t.opacity);var n=pe(A,kr,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=pe(A,Dr,t.overflowWrap),this.paddingTop=pe(A,Or,t.paddingTop),this.paddingRight=pe(A,Tr,t.paddingRight),this.paddingBottom=pe(A,Gr,t.paddingBottom),this.paddingLeft=pe(A,qr,t.paddingLeft),this.paintOrder=pe(A,Qe,t.paintOrder),this.position=pe(A,Rr,t.position),this.textAlign=pe(A,Vr,t.textAlign),this.textDecorationColor=pe(A,re,null!==(r=t.textDecorationColor)&&void 0!==r?r:t.color),this.textDecorationLine=pe(A,ee,null!==(e=t.textDecorationLine)&&void 0!==e?e:t.textDecoration),this.textShadow=pe(A,jr,t.textShadow),this.textTransform=pe(A,Pr,t.textTransform),this.transform=pe(A,Jr,t.transform),this.transformOrigin=pe(A,zr,t.transformOrigin),this.visibility=pe(A,Zr,t.visibility),this.webkitTextStrokeColor=pe(A,Fe,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=pe(A,Ue,t.webkitTextStrokeWidth),this.wordBreak=pe(A,_r,t.wordBreak),this.zIndex=pe(A,$r,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return ht(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return ue(this.display,4)||ue(this.display,33554432)||ue(this.display,268435456)||ue(this.display,536870912)||ue(this.display,67108864)||ue(this.display,134217728)},A}(),Ce=function(A,t){this.content=pe(A,ce,t.content),this.quotes=pe(A,le,t.quotes)},ve=function(A,t){this.counterIncrement=pe(A,Be,t.counterIncrement),this.counterReset=pe(A,fe,t.counterReset)},pe=function(A,t,r){var e=new qA,n=null!=r?r.toString():t.initialValue;e.write(n);var i=new VA(e.read());switch(t.type){case 2:var s=i.parseComponentValue();return t.parse(A,PA(s)?s.value:t.initialValue);case 0:return t.parse(A,i.parseComponentValue());case 1:return t.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return at(A,i.parseComponentValue());case"color":return ft(A,i.parseComponentValue());case"image":return Gt(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return _A(o)?o:tt;case"length-percentage":var a=i.parseComponentValue();return $A(a)?a:tt;case"time":return Ae.parse(A,i.parseComponentValue())}}},me=function(A,t){var r=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===r||t===r},Le=function(A,t){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,me(t,3),this.styles=new de(A,window.getComputedStyle(t,null)),In(t)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),me(t,4)&&(this.flags|=16)},be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",He="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ee=0;Ee<be.length;Ee++)He[be.charCodeAt(Ee)]=Ee;for(var ye=function(A,t,r){return A.slice?A.slice(t,r):new Uint16Array(Array.prototype.slice.call(A,t,r))},Ie=function(){function A(A,t,r,e,n,i){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=e,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return t=this.index[t=2080+(A>>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Se=0;Se<Ne.length;Se++)Ke[Ne.charCodeAt(Se)]=Se;var Me,ke=8,De=9,xe=11,Oe=12,Te=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var r=A.length;if(!r)return"";for(var e=[],n=-1,i="";++n<r;){var s=A[n];s<=65535?e.push(s):e.push(55296+((s-=65536)>>10),s%1024+56320),(n+1===r||e.length>16384)&&(i+=String.fromCharCode.apply(String,e),e.length=0)}return i},Ge=function(A){var t,r,e,n=function(A){var t,r,e,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<o;t+=4)r=He[A.charCodeAt(t)],e=He[A.charCodeAt(t+1)],n=He[A.charCodeAt(t+2)],i=He[A.charCodeAt(t+3)],c[a++]=r<<2|e>>4,c[a++]=(15&e)<<4|n>>2,c[a++]=(3&n)<<6|63&i;return u}(A),i=Array.isArray(n)?function(A){for(var t=A.length,r=[],e=0;e<t;e+=4)r.push(A[e+3]<<24|A[e+2]<<16|A[e+1]<<8|A[e]);return r}(n):new Uint32Array(n),s=Array.isArray(n)?function(A){for(var t=A.length,r=[],e=0;e<t;e+=2)r.push(A[e+1]<<8|A[e]);return r}(n):new Uint16Array(n),o=ye(s,12,i[4]/2),a=2===i[5]?ye(s,(24+i[4])/2):(t=i,r=Math.ceil((24+i[4])/4),t.slice?t.slice(r,e):new Uint32Array(Array.prototype.slice.call(t,r,e)));return new Ie(i[0],i[1],i[2],i[3],o,a)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),qe="×",Ve=function(A){return Ge.get(A)},Re=function(A,t,r){var e=r-2,n=t[e],i=t[r-1],s=t[r];if(2===i&&3===s)return qe;if(2===i||3===i||4===i)return"÷";if(2===s||3===s||4===s)return"÷";if(i===ke&&-1!==[ke,De,xe,Oe].indexOf(s))return qe;if(!(i!==xe&&i!==De||s!==De&&10!==s))return qe;if((i===Oe||10===i)&&10===s)return qe;if(13===s||5===s)return qe;if(7===s)return qe;if(1===i)return qe;if(13===i&&14===s){for(;5===n;)n=t[--e];if(14===n)return qe}if(15===i&&15===s){for(var o=0;15===n;)o++,n=t[--e];if(o%2==0)return qe}return"÷"},je=function(A){var t=function(A){for(var t=[],r=0,e=A.length;r<e;){var n=A.charCodeAt(r++);if(n>=55296&&n<=56319&&r<e){var i=A.charCodeAt(r++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),r--)}else t.push(n)}return t}(A),r=t.length,e=0,n=0,i=t.map(Ve);return{next:function(){if(e>=r)return{done:!0,value:null};for(var A=qe;e<r&&(A=Re(0,i,++e))===qe;);if(A!==qe||e===r){var s=Te.apply(null,t.slice(n,e));return n=e,{value:s,done:!1}}return{done:!0,value:null}}}},Pe=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Je=function(A,t,r,e,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",e.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Xe=function(A){return new Promise((function(t,r){var e=new Image;e.onload=function(){return t(e)},e.onerror=r,e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Ye={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height="123px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var e=t.getBoundingClientRect(),n=Math.round(e.height);if(A.body.removeChild(r),123===n)return!0}}return!1}(document);return Object.defineProperty(Ye,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Ye.SUPPORT_RANGE_BOUNDS&&function(A){var t=A.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",A.body.appendChild(t);var r=A.createRange();t.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var e=t.firstChild,n=a(e.data).map((function(A){return u(A)})),i=0,s={},o=n.every((function(A,t){r.setStart(e,i),r.setEnd(e,i+A.length);var n=r.getBoundingClientRect();i+=A.length;var o=n.x>s.x||n.y>s.y;return s=n,0===t||o}));return A.body.removeChild(t),o}(document);return Object.defineProperty(Ye,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var t=new Image,r=A.createElement("canvas"),e=r.getContext("2d");if(!e)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{e.drawImage(t,0,0),r.toDataURL()}catch(A){return!1}return!0}(document);return Object.defineProperty(Ye,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var t=A.createElement("canvas"),r=100;t.width=r,t.height=r;var e=t.getContext("2d");if(!e)return Promise.reject(!1);e.fillStyle="rgb(0, 255, 0)",e.fillRect(0,0,r,r);var n=new Image,i=t.toDataURL();n.src=i;var s=Je(r,r,0,0,n);return e.fillStyle="red",e.fillRect(0,0,r,r),Xe(s).then((function(t){e.drawImage(t,0,0);var n=e.getImageData(0,0,r,r).data;e.fillStyle="red",e.fillRect(0,0,r,r);var s=A.createElement("div");return s.style.backgroundImage="url("+i+")",s.style.height="100px",Pe(n)?Xe(Je(r,r,0,0,s)):Promise.reject(!1)})).then((function(A){return e.drawImage(A,0,0),Pe(e.getImageData(0,0,r,r).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(Ye,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(Ye,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Ye,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ye,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Ye,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},We=function(A,t){this.text=A,this.bounds=t},ze=function(A,t){var r=t.ownerDocument;if(r){var e=r.createElement("html2canvaswrapper");e.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(e,t);var i=o(A,e);return e.firstChild&&n.replaceChild(e.firstChild,e),i}}return s.EMPTY},Ze=function(A,t,r){var e=A.ownerDocument;if(!e)throw new Error("Node has no owner document");var n=e.createRange();return n.setStart(A,t),n.setEnd(A,t+r),n},_e=function(A){if(Ye.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return function(A){for(var t,r=je(A),e=[];!(t=r.next()).done;)t.value&&e.push(t.value.slice());return e}(A)},$e=function(A,t){return 0!==t.letterSpacing?_e(A):function(A,t){if(Ye.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(A)).map((function(A){return A.segment}))}return tn(A,t)}(A,t)},An=[32,160,4961,65792,65793,4153,4241],tn=function(A,t){for(var r,e=function(A,t){var r=a(A),e=iA(r,t),n=e[0],i=e[1],s=e[2],o=r.length,u=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var A=J;c<o&&(A=nA(r,i,n,++c,s))===J;);if(A!==J||c===o){var t=new sA(r,A,u,c);return u=c,{value:t,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),n=[],i=function(){if(r.value){var A=r.value.slice(),t=a(A),e="";t.forEach((function(A){-1===An.indexOf(A)?e+=u(A):(e.length&&n.push(e),n.push(u(A)),e="")})),e.length&&n.push(e)}};!(r=e.next()).done;)i();return n},rn=function(A,t,r){this.text=en(t.data,r.textTransform),this.textBounds=function(A,t,r,e){var n=$e(t,r),i=[],o=0;return n.forEach((function(t){if(r.textDecorationLine.length||t.trim().length>0)if(Ye.SUPPORT_RANGE_BOUNDS){var n=Ze(e,o,t.length).getClientRects();if(n.length>1){var a=_e(t),u=0;a.forEach((function(t){i.push(new We(t,s.fromDOMRectList(A,Ze(e,u+o,t.length).getClientRects()))),u+=t.length}))}else i.push(new We(t,s.fromDOMRectList(A,n)))}else{var c=e.splitText(t.length);i.push(new We(t,ze(A,e))),e=c}else Ye.SUPPORT_RANGE_BOUNDS||(e=e.splitText(t.length));o+=t.length})),i}(A,this.text,r,t)},en=function(A,t){switch(t){case 1:return A.toLowerCase();case 3:return A.replace(nn,sn);case 2:return A.toUpperCase();default:return A}},nn=/(^|\s|:|-|\(|\))([a-z])/g,sn=function(A,t,r){return A.length>0?t+r.toUpperCase():A},on=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.src=r.currentSrc||r.src,e.intrinsicWidth=r.naturalWidth,e.intrinsicHeight=r.naturalHeight,e.context.cache.addImage(e.src),e}return t(r,A),r}(Le),an=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.canvas=r,e.intrinsicWidth=r.width,e.intrinsicHeight=r.height,e}return t(r,A),r}(Le),un=function(A){function r(t,r){var e=A.call(this,t,r)||this,n=new XMLSerializer,i=o(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),e.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(r)),e.intrinsicWidth=r.width.baseVal.value,e.intrinsicHeight=r.height.baseVal.value,e.context.cache.addImage(e.svg),e}return t(r,A),r}(Le),cn=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.value=r.value,e}return t(r,A),r}(Le),Bn=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.start=r.start,e.reversed="boolean"==typeof r.reversed&&!0===r.reversed,e}return t(r,A),r}(Le),fn=[{type:15,flags:0,unit:"px",number:3}],hn=[{type:16,flags:0,number:50}],ln="checkbox",wn="radio",gn="password",Qn=707406591,Fn=function(A){function r(t,r){var e,n,i,o=A.call(this,t,r)||this;switch(o.type=r.type.toLowerCase(),o.checked=r.checked,o.value=0===(i=(n=r).type===gn?new Array(n.value.length+1).join("•"):n.value).length?n.placeholder||"":i,o.type!==ln&&o.type!==wn||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=(e=o.bounds).width>e.height?new s(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new s(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e),o.type){case ln:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=fn;break;case wn:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=hn}return o}return t(r,A),r}(Le),Un=function(A){function r(t,r){var e=A.call(this,t,r)||this,n=r.options[r.selectedIndex||0];return e.value=n&&n.text||"",e}return t(r,A),r}(Le),dn=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.value=r.value,e}return t(r,A),r}(Le),Cn=function(A){function r(t,r){var e=A.call(this,t,r)||this;e.src=r.src,e.width=parseInt(r.width,10)||0,e.height=parseInt(r.height,10)||0,e.backgroundColor=e.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){e.tree=Ln(t,r.contentWindow.document.documentElement);var n=r.contentWindow.document.documentElement?Ct(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):vt.TRANSPARENT,i=r.contentWindow.document.body?Ct(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):vt.TRANSPARENT;e.backgroundColor=ht(n)?ht(i)?e.styles.backgroundColor:i:n}}catch(A){}return e}return t(r,A),r}(Le),vn=["OL","UL","MENU"],pn=function(A,t,r,e){for(var n=t.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,En(n)&&n.data.trim().length>0)r.textNodes.push(new rn(A,n,r.styles));else if(yn(n))if(jn(n)&&n.assignedNodes)n.assignedNodes().forEach((function(t){return pn(A,t,r,e)}));else{var s=mn(A,n);s.styles.isVisible()&&(bn(n,s,e)?s.flags|=4:Hn(s.styles)&&(s.flags|=2),-1!==vn.indexOf(n.tagName)&&(s.flags|=8),r.elements.push(s),n.shadowRoot?pn(A,n.shadowRoot,s,e):Vn(n)||kn(n)||Rn(n)||pn(A,n,s,e))}},mn=function(A,t){return Tn(t)?new on(A,t):xn(t)?new an(A,t):kn(t)?new un(A,t):Kn(t)?new cn(A,t):Sn(t)?new Bn(A,t):Mn(t)?new Fn(A,t):Rn(t)?new Un(A,t):Vn(t)?new dn(A,t):Gn(t)?new Cn(A,t):new Le(A,t)},Ln=function(A,t){var r=mn(A,t);return r.flags|=4,pn(A,t,r,r),r},bn=function(A,t,r){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Dn(A)&&r.styles.isTransparent()},Hn=function(A){return A.isPositioned()||A.isFloating()},En=function(A){return A.nodeType===Node.TEXT_NODE},yn=function(A){return A.nodeType===Node.ELEMENT_NODE},In=function(A){return yn(A)&&void 0!==A.style&&!Nn(A)},Nn=function(A){return"object"==typeof A.className},Kn=function(A){return"LI"===A.tagName},Sn=function(A){return"OL"===A.tagName},Mn=function(A){return"INPUT"===A.tagName},kn=function(A){return"svg"===A.tagName},Dn=function(A){return"BODY"===A.tagName},xn=function(A){return"CANVAS"===A.tagName},On=function(A){return"VIDEO"===A.tagName},Tn=function(A){return"IMG"===A.tagName},Gn=function(A){return"IFRAME"===A.tagName},qn=function(A){return"STYLE"===A.tagName},Vn=function(A){return"TEXTAREA"===A.tagName},Rn=function(A){return"SELECT"===A.tagName},jn=function(A){return"SLOT"===A.tagName},Pn=function(A){return A.tagName.indexOf("-")>0},Jn=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){return this.counters[A]||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,r=A.counterIncrement,e=A.counterReset,n=!0;null!==r&&r.forEach((function(A){var r=t.counters[A.counter];r&&0!==A.increment&&(n=!1,r.length||r.push(1),r[Math.max(0,r.length-1)]+=A.increment)}));var i=[];return n&&e.forEach((function(A){var r=t.counters[A.counter];i.push(A.counter),r||(r=t.counters[A.counter]=[]),r.push(A.reset)})),i},A}(),Xn={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Yn={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Wn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},zn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Zn=function(A,t,r,e,n,i){return A<t||A>r?si(A,n,i.length>0):e.integers.reduce((function(t,r,n){for(;A>=r;)A-=r,t+=e.values[n];return t}),"")+i},_n=function(A,t,r,e){var n="";do{r||A--,n=e(A)+n,A/=t}while(A*t>=t);return n},$n=function(A,t,r,e,n){var i=r-t+1;return(A<0?"-":"")+(_n(Math.abs(A),i,e,(function(A){return u(Math.floor(A%i)+t)}))+n)},Ai=function(A,t,r){void 0===r&&(r=". ");var e=t.length;return _n(Math.abs(A),e,!1,(function(A){return t[Math.floor(A%e)]}))+r},ti=function(A,t,r,e,n,i){if(A<-9999||A>9999)return si(A,4,n.length>0);var s=Math.abs(A),o=n;if(0===s)return t[0]+o;for(var a=0;s>0&&a<=4;a++){var u=s%10;0===u&&ue(i,1)&&""!==o?o=t[u]+o:u>1||1===u&&0===a||1===u&&1===a&&ue(i,2)||1===u&&1===a&&ue(i,4)&&A>100||1===u&&a>1&&ue(i,8)?o=t[u]+(a>0?r[a-1]:"")+o:1===u&&a>0&&(o=r[a-1]+o),s=Math.floor(s/10)}return(A<0?e:"")+o},ri="十百千萬",ei="拾佰仟萬",ni="マイナス",ii="마이너스",si=function(A,t,r){var e=r?". ":"",n=r?"、":"",i=r?", ":"",s=r?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=$n(A,48,57,!0,e);return o.length<4?"0"+o:o;case 4:return Ai(A,"〇一二三四五六七八九",n);case 6:return Zn(A,1,3999,Xn,3,e).toLowerCase();case 7:return Zn(A,1,3999,Xn,3,e);case 8:return $n(A,945,969,!1,e);case 9:return $n(A,97,122,!1,e);case 10:return $n(A,65,90,!1,e);case 11:return $n(A,1632,1641,!0,e);case 12:case 49:return Zn(A,1,9999,Yn,3,e);case 35:return Zn(A,1,9999,Yn,3,e).toLowerCase();case 13:return $n(A,2534,2543,!0,e);case 14:case 30:return $n(A,6112,6121,!0,e);case 15:return Ai(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ai(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ti(A,"零一二三四五六七八九",ri,"負",n,14);case 47:return ti(A,"零壹貳參肆伍陸柒捌玖",ei,"負",n,15);case 42:return ti(A,"零一二三四五六七八九",ri,"负",n,14);case 41:return ti(A,"零壹贰叁肆伍陆柒捌玖",ei,"负",n,15);case 26:return ti(A,"〇一二三四五六七八九","十百千万",ni,n,0);case 25:return ti(A,"零壱弐参四伍六七八九","拾百千万",ni,n,7);case 31:return ti(A,"영일이삼사오육칠팔구","십백천만",ii,i,7);case 33:return ti(A,"零一二三四五六七八九","十百千萬",ii,i,0);case 32:return ti(A,"零壹貳參四五六七八九","拾百千",ii,i,7);case 18:return $n(A,2406,2415,!0,e);case 20:return Zn(A,1,19999,zn,3,e);case 21:return $n(A,2790,2799,!0,e);case 22:return $n(A,2662,2671,!0,e);case 22:return Zn(A,1,10999,Wn,3,e);case 23:return Ai(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ai(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return $n(A,3302,3311,!0,e);case 28:return Ai(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ai(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return $n(A,3792,3801,!0,e);case 37:return $n(A,6160,6169,!0,e);case 38:return $n(A,4160,4169,!0,e);case 39:return $n(A,2918,2927,!0,e);case 40:return $n(A,1776,1785,!0,e);case 43:return $n(A,3046,3055,!0,e);case 44:return $n(A,3174,3183,!0,e);case 45:return $n(A,3664,3673,!0,e);case 46:return $n(A,3872,3881,!0,e);case 3:default:return $n(A,48,57,!0,e)}},oi="data-html2canvas-ignore",ai=function(){function A(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Jn,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,t){var r=this,i=ci(A,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,a=i.contentWindow,u=a.document,c=hi(i).then((function(){return e(r,void 0,void 0,(function(){var A,r;return n(this,(function(e){switch(e.label){case 0:return this.scrolledElements.forEach(Fi),a&&(a.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===t.top&&a.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),A=this.options.onclone,void 0===(r=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,fi(u)]:[3,4];case 3:e.sent(),e.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then((function(){return A(u,r)})).then((function(){return i}))]:[2,i]}}))}))}));return u.open(),u.write(gi(document.doctype)+"<html></html>"),Qi(this.referenceElement.ownerDocument,s,o),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},A.prototype.createElementClone=function(A){if(me(A,2),xn(A))return this.createCanvasClone(A);if(On(A))return this.createVideoClone(A);if(qn(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return Tn(t)&&(Tn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Pn(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return wi(A.style,t),t},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"==typeof t.cssText?A+t.cssText:A}),""),e=A.cloneNode(!1);return e.textContent=r,e}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;var n=A.getContext("2d"),i=e.getContext("2d");if(i)if(!this.options.allowTaint&&n)i.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var s=null!==(t=A.getContext("webgl2"))&&void 0!==t?t:A.getContext("webgl");if(s){var o=s.getContextAttributes();!1===(null==o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return e}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e},A.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",A)}var e=A.ownerDocument.createElement("canvas");return e.width=A.offsetWidth,e.height=A.offsetHeight,e},A.prototype.appendChildNode=function(A,t,r){yn(t)&&("SCRIPT"===t.tagName||t.hasAttribute(oi)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&yn(t)&&qn(t)||A.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(A,t,r){for(var e=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(yn(n)&&jn(n)&&"function"==typeof n.assignedNodes){var i=n.assignedNodes();i.length&&i.forEach((function(A){return e.appendChildNode(t,A,r)}))}else this.appendChildNode(t,n,r)},A.prototype.cloneNode=function(A,t){if(En(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&yn(A)&&(In(A)||Nn(A))){var e=this.createElementClone(A);e.style.transitionProperty="none";var n=r.getComputedStyle(A),i=r.getComputedStyle(A,":before"),s=r.getComputedStyle(A,":after");this.referenceElement===A&&In(e)&&(this.clonedReferenceElement=e),Dn(e)&&vi(e);var o=this.counters.parse(new ve(this.context,n)),a=this.resolvePseudoContent(A,e,i,Me.BEFORE);Pn(A)&&(t=!0),On(A)||this.cloneChildNodes(A,e,t),a&&e.insertBefore(a,e.firstChild);var u=this.resolvePseudoContent(A,e,s,Me.AFTER);return u&&e.appendChild(u),this.counters.pop(o),(n&&(this.options.copyStyles||Nn(A))&&!Gn(A)||t)&&wi(n,e),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([e,A.scrollLeft,A.scrollTop]),(Vn(A)||Rn(A))&&(Vn(e)||Rn(e))&&(e.value=A.value),e}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,r,e){var n=this;if(r){var i=r.content,s=t.ownerDocument;if(s&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==r.display){this.counters.parse(new ve(this.context,r));var o=new Ce(this.context,r),a=s.createElement("html2canvaspseudoelement");wi(r,a),o.content.forEach((function(t){if(0===t.type)a.appendChild(s.createTextNode(t.value));else if(22===t.type){var r=s.createElement("img");r.src=t.value,r.style.opacity="1",a.appendChild(r)}else if(18===t.type){if("attr"===t.name){var e=t.values.filter(PA);e.length&&a.appendChild(s.createTextNode(A.getAttribute(e[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(WA),u=i[1];if((f=i[0])&&PA(f)){var c=n.counters.getCounterValue(f.value),B=u&&PA(u)?yr.parse(n.context,u.value):3;a.appendChild(s.createTextNode(si(c,B,!1)))}}else if("counters"===t.name){var f,h=t.values.filter(WA),l=h[1];if(u=h[2],(f=h[0])&&PA(f)){var w=n.counters.getCounterValues(f.value),g=u&&PA(u)?yr.parse(n.context,u.value):3,Q=l&&0===l.type?l.value:"",F=w.map((function(A){return si(A,g,!1)})).join(Q);a.appendChild(s.createTextNode(F))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(s.createTextNode(we(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(s.createTextNode(we(o.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(s.createTextNode(t.value))}})),a.className=Ui+" "+di;var u=e===Me.BEFORE?" "+Ui:" "+di;return Nn(t)?t.className.baseValue+=u:t.className+=u,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(Me||(Me={}));var ui,ci=function(A,t){var r=A.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute(oi,"true"),A.body.appendChild(r),r},Bi=function(A){return new Promise((function(t){A.complete?t():A.src?(A.onload=t,A.onerror=t):t()}))},fi=function(A){return Promise.all([].slice.call(A.images,0).map(Bi))},hi=function(A){return new Promise((function(t,r){var e=A.contentWindow;if(!e)return r("No window assigned for iframe");var n=e.document;e.onload=A.onload=function(){e.onload=A.onload=null;var r=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(r),t(A))}),50)}}))},li=["all","d","content"],wi=function(A,t){for(var r=A.length-1;r>=0;r--){var e=A.item(r);-1===li.indexOf(e)&&t.style.setProperty(e,A.getPropertyValue(e))}return t},gi=function(A){var t="";return A&&(t+="<!DOCTYPE ",A.name&&(t+=A.name),A.internalSubset&&(t+=A.internalSubset),A.publicId&&(t+='"'+A.publicId+'"'),A.systemId&&(t+='"'+A.systemId+'"'),t+=">"),t},Qi=function(A,t,r){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||r!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,r)},Fi=function(A){var t=A[0],r=A[2];t.scrollLeft=A[1],t.scrollTop=r},Ui="___html2canvas___pseudoelement_before",di="___html2canvas___pseudoelement_after",Ci='{\n content: "" !important;\n display: none !important;\n}',vi=function(A){pi(A,"."+Ui+":before"+Ci+"\n ."+di+":after"+Ci)},pi=function(A,t){var r=A.ownerDocument;if(r){var e=r.createElement("style");e.textContent=t,A.appendChild(e)}},mi=function(){function A(){}return A.getOrigin=function(t){var r=A._link;return r?(r.href=t,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},A.isSameOrigin=function(t){return A.getOrigin(t)===A._origin},A.setContext=function(t){A._link=t.document.createElement("a"),A._origin=A.getOrigin(t.location.href)},A._origin="about:blank",A}(),Li=function(){function A(A,t){this.context=A,this._options=t,this._cache={}}return A.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)?t:Ki(A)||yi(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),t):t},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return e(this,void 0,void 0,(function(){var t,r,e,i,s=this;return n(this,(function(n){switch(n.label){case 0:return t=mi.isSameOrigin(A),r=!Ii(A)&&!0===this._options.useCORS&&Ye.SUPPORT_CORS_IMAGES&&!t,e=!Ii(A)&&!t&&!Ki(A)&&"string"==typeof this._options.proxy&&Ye.SUPPORT_CORS_XHR&&!r,t||!1!==this._options.allowTaint||Ii(A)||Ki(A)||e||r?(i=A,e?[4,this.proxy(i)]:[3,2]):[2];case 1:i=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,t){var e=new Image;e.onload=function(){return A(e)},e.onerror=t,(Ni(i)||r)&&(e.crossOrigin="anonymous"),e.src=i,!0===e.complete&&setTimeout((function(){return A(e)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var e=A.substring(0,256);return new Promise((function(n,i){var s=Ye.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return i(A)}),!1),A.readAsDataURL(o.response)}else i("Failed to proxy resource "+e+" with status code "+o.status)},o.onerror=i;var a=r.indexOf("?")>-1?"&":"?";if(o.open("GET",""+r+a+"url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),t._options.imageTimeout){var u=t._options.imageTimeout;o.timeout=u,o.ontimeout=function(){return i("Timed out ("+u+"ms) proxying "+e)}}o.send()}))},A}(),bi=/^data:image\/svg\+xml/i,Hi=/^data:image\/.*;base64,/i,Ei=/^data:image\/.*/i,yi=function(A){return Ye.SUPPORT_SVG_DRAWING||!Si(A)},Ii=function(A){return Ei.test(A)},Ni=function(A){return Hi.test(A)},Ki=function(A){return"blob"===A.substr(0,4)},Si=function(A){return"svg"===A.substr(-3).toLowerCase()||bi.test(A)},Mi=function(){function A(A,t){this.type=0,this.x=A,this.y=t}return A.prototype.add=function(t,r){return new A(this.x+t,this.y+r)},A}(),ki=function(A,t,r){return new Mi(A.x+(t.x-A.x)*r,A.y+(t.y-A.y)*r)},Di=function(){function A(A,t,r,e){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=e}return A.prototype.subdivide=function(t,r){var e=ki(this.start,this.startControl,t),n=ki(this.startControl,this.endControl,t),i=ki(this.endControl,this.end,t),s=ki(e,n,t),o=ki(n,i,t),a=ki(s,o,t);return r?new A(this.start,e,s,a):new A(a,o,i,this.end)},A.prototype.add=function(t,r){return new A(this.start.add(t,r),this.startControl.add(t,r),this.endControl.add(t,r),this.end.add(t,r))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),xi=function(A){return 1===A.type},Oi=function(A){var t=A.styles,r=A.bounds,e=nt(t.borderTopLeftRadius,r.width,r.height),n=e[0],i=e[1],s=nt(t.borderTopRightRadius,r.width,r.height),o=s[0],a=s[1],u=nt(t.borderBottomRightRadius,r.width,r.height),c=u[0],B=u[1],f=nt(t.borderBottomLeftRadius,r.width,r.height),h=f[0],l=f[1],w=[];w.push((n+o)/r.width),w.push((h+c)/r.width),w.push((i+l)/r.height),w.push((a+B)/r.height);var g=Math.max.apply(Math,w);g>1&&(n/=g,i/=g,o/=g,a/=g,c/=g,B/=g,h/=g,l/=g);var Q=r.width-o,F=r.height-B,U=r.width-c,d=r.height-l,C=t.borderTopWidth,v=t.borderRightWidth,p=t.borderBottomWidth,m=t.borderLeftWidth,L=it(t.paddingTop,A.bounds.width),b=it(t.paddingRight,A.bounds.width),H=it(t.paddingBottom,A.bounds.width),E=it(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||i>0?Ti(r.left+m/3,r.top+C/3,n-m/3,i-C/3,ui.TOP_LEFT):new Mi(r.left+m/3,r.top+C/3),this.topRightBorderDoubleOuterBox=n>0||i>0?Ti(r.left+Q,r.top+C/3,o-v/3,a-C/3,ui.TOP_RIGHT):new Mi(r.left+r.width-v/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=c>0||B>0?Ti(r.left+U,r.top+F,c-v/3,B-p/3,ui.BOTTOM_RIGHT):new Mi(r.left+r.width-v/3,r.top+r.height-p/3),this.bottomLeftBorderDoubleOuterBox=h>0||l>0?Ti(r.left+m/3,r.top+d,h-m/3,l-p/3,ui.BOTTOM_LEFT):new Mi(r.left+m/3,r.top+r.height-p/3),this.topLeftBorderDoubleInnerBox=n>0||i>0?Ti(r.left+2*m/3,r.top+2*C/3,n-2*m/3,i-2*C/3,ui.TOP_LEFT):new Mi(r.left+2*m/3,r.top+2*C/3),this.topRightBorderDoubleInnerBox=n>0||i>0?Ti(r.left+Q,r.top+2*C/3,o-2*v/3,a-2*C/3,ui.TOP_RIGHT):new Mi(r.left+r.width-2*v/3,r.top+2*C/3),this.bottomRightBorderDoubleInnerBox=c>0||B>0?Ti(r.left+U,r.top+F,c-2*v/3,B-2*p/3,ui.BOTTOM_RIGHT):new Mi(r.left+r.width-2*v/3,r.top+r.height-2*p/3),this.bottomLeftBorderDoubleInnerBox=h>0||l>0?Ti(r.left+2*m/3,r.top+d,h-2*m/3,l-2*p/3,ui.BOTTOM_LEFT):new Mi(r.left+2*m/3,r.top+r.height-2*p/3),this.topLeftBorderStroke=n>0||i>0?Ti(r.left+m/2,r.top+C/2,n-m/2,i-C/2,ui.TOP_LEFT):new Mi(r.left+m/2,r.top+C/2),this.topRightBorderStroke=n>0||i>0?Ti(r.left+Q,r.top+C/2,o-v/2,a-C/2,ui.TOP_RIGHT):new Mi(r.left+r.width-v/2,r.top+C/2),this.bottomRightBorderStroke=c>0||B>0?Ti(r.left+U,r.top+F,c-v/2,B-p/2,ui.BOTTOM_RIGHT):new Mi(r.left+r.width-v/2,r.top+r.height-p/2),this.bottomLeftBorderStroke=h>0||l>0?Ti(r.left+m/2,r.top+d,h-m/2,l-p/2,ui.BOTTOM_LEFT):new Mi(r.left+m/2,r.top+r.height-p/2),this.topLeftBorderBox=n>0||i>0?Ti(r.left,r.top,n,i,ui.TOP_LEFT):new Mi(r.left,r.top),this.topRightBorderBox=o>0||a>0?Ti(r.left+Q,r.top,o,a,ui.TOP_RIGHT):new Mi(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||B>0?Ti(r.left+U,r.top+F,c,B,ui.BOTTOM_RIGHT):new Mi(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=h>0||l>0?Ti(r.left,r.top+d,h,l,ui.BOTTOM_LEFT):new Mi(r.left,r.top+r.height),this.topLeftPaddingBox=n>0||i>0?Ti(r.left+m,r.top+C,Math.max(0,n-m),Math.max(0,i-C),ui.TOP_LEFT):new Mi(r.left+m,r.top+C),this.topRightPaddingBox=o>0||a>0?Ti(r.left+Math.min(Q,r.width-v),r.top+C,Q>r.width+v?0:Math.max(0,o-v),Math.max(0,a-C),ui.TOP_RIGHT):new Mi(r.left+r.width-v,r.top+C),this.bottomRightPaddingBox=c>0||B>0?Ti(r.left+Math.min(U,r.width-m),r.top+Math.min(F,r.height-p),Math.max(0,c-v),Math.max(0,B-p),ui.BOTTOM_RIGHT):new Mi(r.left+r.width-v,r.top+r.height-p),this.bottomLeftPaddingBox=h>0||l>0?Ti(r.left+m,r.top+Math.min(d,r.height-p),Math.max(0,h-m),Math.max(0,l-p),ui.BOTTOM_LEFT):new Mi(r.left+m,r.top+r.height-p),this.topLeftContentBox=n>0||i>0?Ti(r.left+m+E,r.top+C+L,Math.max(0,n-(m+E)),Math.max(0,i-(C+L)),ui.TOP_LEFT):new Mi(r.left+m+E,r.top+C+L),this.topRightContentBox=o>0||a>0?Ti(r.left+Math.min(Q,r.width+m+E),r.top+C+L,Q>r.width+m+E?0:o-m+E,a-(C+L),ui.TOP_RIGHT):new Mi(r.left+r.width-(v+b),r.top+C+L),this.bottomRightContentBox=c>0||B>0?Ti(r.left+Math.min(U,r.width-(m+E)),r.top+Math.min(F,r.height+C+L),Math.max(0,c-(v+b)),B-(p+H),ui.BOTTOM_RIGHT):new Mi(r.left+r.width-(v+b),r.top+r.height-(p+H)),this.bottomLeftContentBox=h>0||l>0?Ti(r.left+m+E,r.top+d,Math.max(0,h-(m+E)),l-(p+H),ui.BOTTOM_LEFT):new Mi(r.left+m+E,r.top+r.height-(p+H))};!function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ui||(ui={}));var Ti=function(A,t,r,e,n){var i=(Math.sqrt(2)-1)/3*4,s=r*i,o=e*i,a=A+r,u=t+e;switch(n){case ui.TOP_LEFT:return new Di(new Mi(A,u),new Mi(A,u-o),new Mi(a-s,t),new Mi(a,t));case ui.TOP_RIGHT:return new Di(new Mi(A,t),new Mi(A+s,t),new Mi(a,u-o),new Mi(a,u));case ui.BOTTOM_RIGHT:return new Di(new Mi(a,t),new Mi(a,t+o),new Mi(A+s,u),new Mi(A,u));case ui.BOTTOM_LEFT:default:return new Di(new Mi(a,u),new Mi(a-s,u),new Mi(A,t+o),new Mi(A,t))}},Gi=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},qi=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Vi=function(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6},Ri=function(A,t){this.path=A,this.target=t,this.type=1},ji=function(A){this.opacity=A,this.type=2,this.target=6},Pi=function(A){return 1===A.type},Ji=function(A,t){return A.length===t.length&&A.some((function(A,r){return A===t[r]}))},Xi=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Yi=function(){function A(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new Oi(this.container),this.container.styles.opacity<1&&this.effects.push(new ji(this.container.styles.opacity)),null!==this.container.styles.transform&&this.effects.push(new Vi(this.container.bounds.left+this.container.styles.transformOrigin[0].number,this.container.bounds.top+this.container.styles.transformOrigin[1].number,this.container.styles.transform)),0!==this.container.styles.overflowX){var r=Gi(this.curves),e=qi(this.curves);Ji(r,e)?this.effects.push(new Ri(r,6)):(this.effects.push(new Ri(r,2)),this.effects.push(new Ri(e,4)))}}return A.prototype.getEffects=function(A){for(var t=-1===[2,3].indexOf(this.container.styles.position),r=this.parent,e=this.effects.slice(0);r;){var n=r.effects.filter((function(A){return!Pi(A)}));if(t||0!==r.container.styles.position||!r.parent){if(e.unshift.apply(e,n),t=-1===[2,3].indexOf(r.container.styles.position),0!==r.container.styles.overflowX){var i=Gi(r.curves),s=qi(r.curves);Ji(i,s)||e.unshift(new Ri(s,6))}}else e.unshift.apply(e,n);r=r.parent}return e.filter((function(t){return ue(t.target,A)}))},A}(),Wi=function(A,t,r,e){A.container.elements.forEach((function(n){var i=ue(n.flags,4),s=ue(n.flags,2),o=new Yi(n,A);ue(n.styles.display,2048)&&e.push(o);var a=ue(n.flags,8)?[]:e;if(i||s){var u=i||n.styles.isPositioned()?r:t,c=new Xi(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var f=0;u.negativeZIndex.some((function(A,t){return B>A.element.container.styles.zIndex.order?(f=t,!1):f>0})),u.negativeZIndex.splice(f,0,c)}else if(B>0){var h=0;u.positiveZIndex.some((function(A,t){return B>=A.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),u.positiveZIndex.splice(h,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);Wi(o,c,i?c:r,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),Wi(o,t,r,a);ue(n.flags,8)&&zi(n,a)}))},zi=function(A,t){for(var r=A instanceof Bn?A.start:1,e=A instanceof Bn&&A.reversed,n=0;n<t.length;n++){var i=t[n];i.container instanceof cn&&"number"==typeof i.container.value&&0!==i.container.value&&(r=i.container.value),i.listValue=si(r,i.container.styles.listStyleType,!0),r+=e?-1:1}},Zi=function(A,t){switch(t){case 0:return $i(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return $i(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return $i(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return $i(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},_i=function(A,t){var r=[];return xi(A)?r.push(A.subdivide(.5,!1)):r.push(A),xi(t)?r.push(t.subdivide(.5,!0)):r.push(t),r},$i=function(A,t,r,e){var n=[];return xi(A)?n.push(A.subdivide(.5,!1)):n.push(A),xi(r)?n.push(r.subdivide(.5,!0)):n.push(r),xi(e)?n.push(e.subdivide(.5,!0).reverse()):n.push(e),xi(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n},As=function(A){var t=A.styles;return A.bounds.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ts=function(A){var t=A.styles,r=A.bounds,e=it(t.paddingLeft,r.width),n=it(t.paddingRight,r.width),i=it(t.paddingTop,r.width),s=it(t.paddingBottom,r.width);return r.add(e+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+e+n),-(t.borderTopWidth+t.borderBottomWidth+i+s))},rs=function(A,t,r){var e=function(A,t){return 0===A?t.bounds:2===A?ts(t):As(t)}(ss(A.styles.backgroundOrigin,t),A),n=function(A,t){return 0===A?t.bounds:2===A?ts(t):As(t)}(ss(A.styles.backgroundClip,t),A),i=is(ss(A.styles.backgroundSize,t),r,e),s=i[0],o=i[1],a=nt(ss(A.styles.backgroundPosition,t),e.width-s,e.height-o);return[os(ss(A.styles.backgroundRepeat,t),a,i,e,n),Math.round(e.left+a[0]),Math.round(e.top+a[1]),s,o]},es=function(A){return PA(A)&&A.value===qt.AUTO},ns=function(A){return"number"==typeof A},is=function(A,t,r){var e=t[0],n=t[1],i=t[2],s=A[0],o=A[1];if(!s)return[0,0];if($A(s)&&o&&$A(o))return[it(s,r.width),it(o,r.height)];var a=ns(i);if(PA(s)&&(s.value===qt.CONTAIN||s.value===qt.COVER))return ns(i)?r.width/r.height<i!=(s.value===qt.COVER)?[r.width,r.width/i]:[r.height*i,r.height]:[r.width,r.height];var u=ns(e),c=ns(n),B=u||c;if(es(s)&&(!o||es(o)))return u&&c?[e,n]:a||B?B&&a?[u?e:n*i,c?n:e/i]:[u?e:r.width,c?n:r.height]:[r.width,r.height];if(a){var f=0,h=0;return $A(s)?f=it(s,r.width):$A(o)&&(h=it(o,r.height)),es(s)?f=h*i:o&&!es(o)||(h=f/i),[f,h]}var l=null,w=null;if($A(s)?l=it(s,r.width):o&&$A(o)&&(w=it(o,r.height)),null===l||o&&!es(o)||(w=u&&c?l/e*n:r.height),null!==w&&es(s)&&(l=u&&c?w/n*e:r.width),null!==l&&null!==w)return[l,w];throw new Error("Unable to calculate background-size for element")},ss=function(A,t){var r=A[t];return void 0===r?A[0]:r},os=function(A,t,r,e,n){var i=t[0],s=t[1],o=r[0],a=r[1];switch(A){case 2:return[new Mi(Math.round(e.left),Math.round(e.top+s)),new Mi(Math.round(e.left+e.width),Math.round(e.top+s)),new Mi(Math.round(e.left+e.width),Math.round(a+e.top+s)),new Mi(Math.round(e.left),Math.round(a+e.top+s))];case 3:return[new Mi(Math.round(e.left+i),Math.round(e.top)),new Mi(Math.round(e.left+i+o),Math.round(e.top)),new Mi(Math.round(e.left+i+o),Math.round(e.height+e.top)),new Mi(Math.round(e.left+i),Math.round(e.height+e.top))];case 1:return[new Mi(Math.round(e.left+i),Math.round(e.top+s)),new Mi(Math.round(e.left+i+o),Math.round(e.top+s)),new Mi(Math.round(e.left+i+o),Math.round(e.top+s+a)),new Mi(Math.round(e.left+i),Math.round(e.top+s+a))];default:return[new Mi(Math.round(n.left),Math.round(n.top)),new Mi(Math.round(n.left+n.width),Math.round(n.top)),new Mi(Math.round(n.left+n.width),Math.round(n.height+n.top)),new Mi(Math.round(n.left),Math.round(n.height+n.top))]}},as="Hidden Text",us=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),e=this._document.createElement("img"),n=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),e.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.width=1,e.height=1,e.style.margin="0",e.style.padding="0",e.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(as)),r.appendChild(n),r.appendChild(e);var s=e.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(as)),r.style.lineHeight="normal",e.style.verticalAlign="super";var o=e.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:s,middle:o}},A.prototype.getMetrics=function(A,t){var r=A+" "+t;return void 0===this._data[r]&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},A}(),cs=function(A,t){this.context=A,this.options=t},Bs=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e._activeEffects=[],e.canvas=r.canvas?r.canvas:document.createElement("canvas"),e.ctx=e.canvas.getContext("2d"),r.canvas||(e.canvas.width=Math.floor(r.width*r.scale),e.canvas.height=Math.floor(r.height*r.scale),e.canvas.style.width=r.width+"px",e.canvas.style.height=r.height+"px"),e.fontMetrics=new us(document),e.ctx.scale(e.options.scale,e.options.scale),e.ctx.translate(-r.x,-r.y),e.ctx.textBaseline="bottom",e._activeEffects=[],e.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),e}return t(r,A),r.prototype.applyEffects=function(A){for(var t=this;this._activeEffects.length;)this.popEffect();A.forEach((function(A){return t.applyEffect(A)}))},r.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Pi(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},r.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},r.prototype.renderStack=function(A){return e(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},r.prototype.renderNode=function(A){return e(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return ue(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(A)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},r.prototype.renderTextWithLetterSpacing=function(A,t,r){var e=this;0===t?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):_e(A.text).reduce((function(t,n){return e.ctx.fillText(n,t,A.bounds.top+r),t+e.ctx.measureText(n).width}),A.bounds.left)},r.prototype.createFontStyle=function(A){var t=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),r=gs(A.fontFamily).join(", "),e=RA(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,t,A.fontWeight,e,r].join(" "),r,e]},r.prototype.renderTextNode=function(A,t){return e(this,void 0,void 0,(function(){var r,e,i,s,o,a,u,c=this;return n(this,(function(){return r=this.createFontStyle(t),e=r[1],i=r[2],this.ctx.font=r[0],this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(e,i),o=s.baseline,a=s.middle,u=t.paintOrder,A.textBounds.forEach((function(A){u.forEach((function(r){switch(r){case 0:c.ctx.fillStyle=lt(t.color),c.renderTextWithLetterSpacing(A,t.letterSpacing,o);var e=t.textShadow;e.length&&A.text.trim().length&&(e.slice(0).reverse().forEach((function(r){c.ctx.shadowColor=lt(r.color),c.ctx.shadowOffsetX=r.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=r.offsetY.number*c.options.scale,c.ctx.shadowBlur=r.blur.number,c.renderTextWithLetterSpacing(A,t.letterSpacing,o)})),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),t.textDecorationLine.length&&(c.ctx.fillStyle=lt(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:c.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+o),A.bounds.width,1);break;case 2:c.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:c.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+a),A.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&A.text.trim().length&&(c.ctx.strokeStyle=lt(t.webkitTextStrokeColor),c.ctx.lineWidth=t.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+o)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter"}}))})),[2]}))}))},r.prototype.renderReplacedElement=function(A,t,r){if(r&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var e=ts(A),n=qi(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,A.intrinsicWidth,A.intrinsicHeight,e.left,e.top,e.width,e.height),this.ctx.restore()}},r.prototype.renderNodeContent=function(A){return e(this,void 0,void 0,(function(){var t,e,i,o,a,u,c,B,f,h,l,w,g,Q,F,U;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(A.getEffects(4)),e=A.curves,i=(t=A.container).styles,o=0,a=t.textNodes,n.label=1;case 1:return o<a.length?[4,this.renderTextNode(a[o],i)]:[3,4];case 2:n.sent(),n.label=3;case 3:return o++,[3,1];case 4:if(!(t instanceof on))return[3,8];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return g=n.sent(),this.renderReplacedElement(t,e,g),[3,8];case 7:return n.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof an&&this.renderReplacedElement(t,e,t.canvas),!(t instanceof un))return[3,12];n.label=9;case 9:return n.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return g=n.sent(),this.renderReplacedElement(t,e,g),[3,12];case 11:return n.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Cn&&t.tree?[4,new r(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=n.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),n.label=14;case 14:if(t instanceof Fn&&(c=Math.min(t.bounds.width,t.bounds.height),t.type===ln?t.checked&&(this.ctx.save(),this.path([new Mi(t.bounds.left+.39363*c,t.bounds.top+.79*c),new Mi(t.bounds.left+.16*c,t.bounds.top+.5549*c),new Mi(t.bounds.left+.27347*c,t.bounds.top+.44071*c),new Mi(t.bounds.left+.39694*c,t.bounds.top+.5649*c),new Mi(t.bounds.left+.72983*c,t.bounds.top+.23*c),new Mi(t.bounds.left+.84*c,t.bounds.top+.34085*c),new Mi(t.bounds.left+.39363*c,t.bounds.top+.79*c)]),this.ctx.fillStyle=lt(Qn),this.ctx.fill(),this.ctx.restore()):t.type===wn&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+c/2,t.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=lt(Qn),this.ctx.fill(),this.ctx.restore())),fs(t)&&t.value.length){switch(B=this.createFontStyle(i),f=this.fontMetrics.getMetrics(F=B[0],B[1]).baseline,this.ctx.font=F,this.ctx.fillStyle=lt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ls(t.styles.textAlign),U=ts(t),h=0,t.styles.textAlign){case 1:h+=U.width/2;break;case 2:h+=U.width}l=U.add(h,0,0,-U.height/2+1),this.ctx.save(),this.path([new Mi(U.left,U.top),new Mi(U.left+U.width,U.top),new Mi(U.left+U.width,U.top+U.height),new Mi(U.left,U.top+U.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new We(t.value,l),i.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ue(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(w=t.styles.listStyleImage).type)return[3,18];g=void 0,Q=w.url,n.label=15;case 15:return n.trys.push([15,17,,18]),[4,this.context.cache.match(Q)];case 16:return g=n.sent(),this.ctx.drawImage(g,t.bounds.left-(g.width+10),t.bounds.top),[3,18];case 17:return n.sent(),this.context.logger.error("Error loading list-style-image "+Q),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(F=this.createFontStyle(i)[0],this.ctx.font=F,this.ctx.fillStyle=lt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",U=new s(t.bounds.left,t.bounds.top+it(t.styles.paddingTop,t.bounds.width),t.bounds.width,br(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new We(A.listValue,U),i.letterSpacing,br(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),n.label=20;case 20:return[2]}}))}))},r.prototype.renderStackContent=function(A){return e(this,void 0,void 0,(function(){var t,r,e,i,s,o,a,u,c,B,f,h,l,w;return n(this,(function(n){switch(n.label){case 0:return ue(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:n.sent(),t=0,r=A.negativeZIndex,n.label=2;case 2:return t<r.length?[4,this.renderStack(r[t])]:[3,5];case 3:n.sent(),n.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:n.sent(),e=0,i=A.nonInlineLevel,n.label=7;case 7:return e<i.length?[4,this.renderNode(i[e])]:[3,10];case 8:n.sent(),n.label=9;case 9:return e++,[3,7];case 10:s=0,o=A.nonPositionedFloats,n.label=11;case 11:return s<o.length?[4,this.renderStack(o[s])]:[3,14];case 12:n.sent(),n.label=13;case 13:return s++,[3,11];case 14:a=0,u=A.nonPositionedInlineLevel,n.label=15;case 15:return a<u.length?[4,this.renderStack(u[a])]:[3,18];case 16:n.sent(),n.label=17;case 17:return a++,[3,15];case 18:c=0,B=A.inlineLevel,n.label=19;case 19:return c<B.length?[4,this.renderNode(B[c])]:[3,22];case 20:n.sent(),n.label=21;case 21:return c++,[3,19];case 22:f=0,h=A.zeroOrAutoZIndexOrTransformedOrOpacity,n.label=23;case 23:return f<h.length?[4,this.renderStack(h[f])]:[3,26];case 24:n.sent(),n.label=25;case 25:return f++,[3,23];case 26:l=0,w=A.positiveZIndex,n.label=27;case 27:return l<w.length?[4,this.renderStack(w[l])]:[3,30];case 28:n.sent(),n.label=29;case 29:return l++,[3,27];case 30:return[2]}}))}))},r.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},r.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},r.prototype.formatPath=function(A){var t=this;A.forEach((function(A,r){var e=xi(A)?A.start:A;0===r?t.ctx.moveTo(e.x,e.y):t.ctx.lineTo(e.x,e.y),xi(A)&&t.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},r.prototype.renderRepeat=function(A,t,r,e){this.path(A),this.ctx.fillStyle=t,this.ctx.translate(r,e),this.ctx.fill(),this.ctx.translate(-r,-e)},r.prototype.resizeImage=function(A,t,r){var e;if(A.width===t&&A.height===r)return A;var n=(null!==(e=this.canvas.ownerDocument)&&void 0!==e?e:document).createElement("canvas");return n.width=Math.max(1,t),n.height=Math.max(1,r),n.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,t,r),n},r.prototype.renderBackgroundImage=function(A){return e(this,void 0,void 0,(function(){var t,r,e,i,s;return n(this,(function(o){switch(o.label){case 0:t=A.styles.backgroundImage.length-1,r=function(r){var i,s,o,a,u,c,B,f,h,l,w,g,Q,F,U,d,C,v,p,m,L,b,H,E,y,I,N,K,S,M,k;return n(this,(function(n){switch(n.label){case 0:if(0!==r.type)return[3,5];i=void 0,s=r.url,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.context.cache.match(s)];case 2:return i=n.sent(),[3,4];case 3:return n.sent(),e.context.logger.error("Error loading background-image "+s),[3,4];case 4:return i&&(o=rs(A,t,[i.width,i.height,i.width/i.height]),d=o[0],b=o[1],H=o[2],F=e.ctx.createPattern(e.resizeImage(i,p=o[3],m=o[4]),"repeat"),e.renderRepeat(d,F,b,H)),[3,6];case 5:1===r.type?(a=rs(A,t,[null,null,null]),d=a[0],b=a[1],H=a[2],u=Ht(r.angle,p=a[3],m=a[4]),c=u[0],B=u[1],f=u[2],h=u[3],l=u[4],(w=document.createElement("canvas")).width=p,w.height=m,g=w.getContext("2d"),Q=g.createLinearGradient(B,h,f,l),bt(r.stops,c).forEach((function(A){return Q.addColorStop(A.stop,lt(A.color))})),g.fillStyle=Q,g.fillRect(0,0,p,m),p>0&&m>0&&(F=e.ctx.createPattern(w,"repeat"),e.renderRepeat(d,F,b,H))):function(A){return 2===A.type}(r)&&(U=rs(A,t,[null,null,null]),d=U[0],C=U[1],v=U[2],m=U[4],b=it((L=0===r.position.length?[rt]:r.position)[0],p=U[3]),H=it(L[L.length-1],m),E=function(A,t,r,e,n){var i=0,s=0;switch(A.size){case 0:0===A.shape?i=s=Math.min(Math.abs(t),Math.abs(t-e),Math.abs(r),Math.abs(r-n)):1===A.shape&&(i=Math.min(Math.abs(t),Math.abs(t-e)),s=Math.min(Math.abs(r),Math.abs(r-n)));break;case 2:if(0===A.shape)i=s=Math.min(Et(t,r),Et(t,r-n),Et(t-e,r),Et(t-e,r-n));else if(1===A.shape){var o=Math.min(Math.abs(r),Math.abs(r-n))/Math.min(Math.abs(t),Math.abs(t-e)),a=yt(e,n,t,r,!0);s=o*(i=Et(a[0]-t,(a[1]-r)/o))}break;case 1:0===A.shape?i=s=Math.max(Math.abs(t),Math.abs(t-e),Math.abs(r),Math.abs(r-n)):1===A.shape&&(i=Math.max(Math.abs(t),Math.abs(t-e)),s=Math.max(Math.abs(r),Math.abs(r-n)));break;case 3:if(0===A.shape)i=s=Math.max(Et(t,r),Et(t,r-n),Et(t-e,r),Et(t-e,r-n));else if(1===A.shape){o=Math.max(Math.abs(r),Math.abs(r-n))/Math.max(Math.abs(t),Math.abs(t-e));var u=yt(e,n,t,r,!1);s=o*(i=Et(u[0]-t,(u[1]-r)/o))}}return Array.isArray(A.size)&&(i=it(A.size[0],e),s=2===A.size.length?it(A.size[1],n):i),[i,s]}(r,b,H,p,m),I=E[1],(y=E[0])>0&&I>0&&(N=e.ctx.createRadialGradient(C+b,v+H,0,C+b,v+H,y),bt(r.stops,2*y).forEach((function(A){return N.addColorStop(A.stop,lt(A.color))})),e.path(d),e.ctx.fillStyle=N,y!==I?(K=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,k=1/(M=I/y),e.ctx.save(),e.ctx.translate(K,S),e.ctx.transform(1,0,0,M,0,0),e.ctx.translate(-K,-S),e.ctx.fillRect(C,k*(v-S)+S,p,m*k),e.ctx.restore()):e.ctx.fill())),n.label=6;case 6:return t--,[2]}}))},e=this,i=0,s=A.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return i<s.length?[5,r(s[i])]:[3,4];case 2:o.sent(),o.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},r.prototype.renderSolidBorder=function(A,t,r){return e(this,void 0,void 0,(function(){return n(this,(function(){return this.path(Zi(r,t)),this.ctx.fillStyle=lt(A),this.ctx.fill(),[2]}))}))},r.prototype.renderDoubleBorder=function(A,t,r,i){return e(this,void 0,void 0,(function(){var e,s;return n(this,(function(n){switch(n.label){case 0:return t<3?[4,this.renderSolidBorder(A,r,i)]:[3,2];case 1:return n.sent(),[2];case 2:return e=function(A,t){switch(t){case 0:return $i(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return $i(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return $i(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return $i(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(i,r),this.path(e),this.ctx.fillStyle=lt(A),this.ctx.fill(),s=function(A,t){switch(t){case 0:return $i(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return $i(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return $i(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return $i(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(i,r),this.path(s),this.ctx.fill(),[2]}}))}))},r.prototype.renderNodeBackgroundAndBorders=function(A){return e(this,void 0,void 0,(function(){var t,r,e,i,s,o,a,u,c=this;return n(this,(function(n){switch(n.label){case 0:return this.applyEffects(A.getEffects(2)),r=!ht((t=A.container.styles).backgroundColor)||t.backgroundImage.length,e=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=hs(ss(t.backgroundClip,0),A.curves),r||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ht(t.backgroundColor)||(this.ctx.fillStyle=lt(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:n.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){c.ctx.save();var r,e,n,i,s=Gi(A.curves),o=t.inset?0:1e4,a=(r=(t.inset?1:-1)*t.spread.number-o,e=(t.inset?1:-1)*t.spread.number,n=t.spread.number*(t.inset?-2:2),i=t.spread.number*(t.inset?-2:2),s.map((function(A,t){switch(t){case 0:return A.add(r,e);case 1:return A.add(r+n,e);case 2:return A.add(r+n,e+i);case 3:return A.add(r,e+i)}return A})));t.inset?(c.path(s),c.ctx.clip(),c.mask(a)):(c.mask(s),c.ctx.clip(),c.path(a)),c.ctx.shadowOffsetX=t.offsetX.number+o,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=lt(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?lt(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),n.label=2;case 2:s=0,o=0,a=e,n.label=3;case 3:return o<a.length?0!==(u=a[o]).style&&!ht(u.color)&&u.width>0?2!==u.style?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,s,A.curves,2)]:[3,11]:[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==u.style?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,s,A.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==u.style?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,s,A.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,s,A.curves)];case 10:n.sent(),n.label=11;case 11:s++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},r.prototype.renderDashedDottedBorder=function(A,t,r,i,s){return e(this,void 0,void 0,(function(){var e,o,a,u,c,B,f,h,l,w,g,Q,F,U,d,C;return n(this,(function(){return this.ctx.save(),e=function(A,t){switch(t){case 0:return _i(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return _i(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return _i(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return _i(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(i,r),o=Zi(i,r),2===s&&(this.path(o),this.ctx.clip()),xi(o[0])?(a=o[0].start.x,u=o[0].start.y):(a=o[0].x,u=o[0].y),xi(o[1])?(c=o[1].end.x,B=o[1].end.y):(c=o[1].x,B=o[1].y),f=0===r||2===r?Math.abs(a-c):Math.abs(u-B),this.ctx.beginPath(),this.formatPath(3===s?e:o.slice(0,2)),h=t<3?3*t:2*t,l=t<3?2*t:t,3===s&&(h=t,l=t),w=!0,f<=2*h?w=!1:f<=2*h+l?(h*=g=f/(2*h+l),l*=g):(Q=Math.floor((f+l)/(h+l)),F=(f-Q*h)/(Q-1),l=(U=(f-(Q+1)*h)/Q)<=0||Math.abs(l-F)<Math.abs(l-U)?F:U),w&&this.ctx.setLineDash(3===s?[0,h+l]:[h,l]),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=lt(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(xi(o[0])&&(d=o[3],C=o[0],this.ctx.beginPath(),this.formatPath([new Mi(d.end.x,d.end.y),new Mi(C.start.x,C.start.y)]),this.ctx.stroke()),xi(o[1])&&(d=o[1],C=o[2],this.ctx.beginPath(),this.formatPath([new Mi(d.end.x,d.end.y),new Mi(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},r.prototype.render=function(A){return e(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=lt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new Yi(A,null),e=new Xi(r),Wi(r,e,e,n=[]),zi(r.container,n),[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}var r,e,n}))}))},r}(cs),fs=function(A){return A instanceof dn||A instanceof Un||A instanceof Fn&&A.type!==wn&&A.type!==ln},hs=function(A,t){switch(A){case 0:return Gi(t);case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(t);case 1:default:return qi(t)}},ls=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},ws=["-apple-system","system-ui"],gs=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===ws.indexOf(A)})):A},Qs=function(A){function r(t,r){var e=A.call(this,t,r)||this;return e.canvas=r.canvas?r.canvas:document.createElement("canvas"),e.ctx=e.canvas.getContext("2d"),e.options=r,e.canvas.width=Math.floor(r.width*r.scale),e.canvas.height=Math.floor(r.height*r.scale),e.canvas.style.width=r.width+"px",e.canvas.style.height=r.height+"px",e.ctx.scale(e.options.scale,e.options.scale),e.ctx.translate(-r.x,-r.y),e.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),e}return t(r,A),r.prototype.render=function(A){return e(this,void 0,void 0,(function(){var t,r;return n(this,(function(e){switch(e.label){case 0:return t=Je(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,Fs(t)];case 1:return r=e.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=lt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},r}(cs),Fs=function(A){return new Promise((function(t,r){var e=new Image;e.onload=function(){t(e)},e.onerror=r,e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Us=function(){function A(A){var t=A.enabled;this.id=A.id,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),ds=function(){function A(t,r){var e;this.windowBounds=r,this.instanceName="#"+A.instanceCount++,this.logger=new Us({id:this.instanceName,enabled:t.logging}),this.cache=null!==(e=t.cache)&&void 0!==e?e:new Li(this,t)}return A.instanceCount=1,A}();"undefined"!=typeof window&&mi.setContext(window);var Cs=function(A,t){return e(void 0,void 0,void 0,(function(){var e,i,a,u,c,B,f,h,l,w,g,Q,F,U,d,C,v,p,m,L,b,H,E,y,I,N,K,S,M,k,D,x,O,T,G,q,V,R;return n(this,(function(n){switch(n.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(e=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=e.defaultView))throw new Error("Document is not attached to a Window");return a={allowTaint:null!==(H=t.allowTaint)&&void 0!==H&&H,imageTimeout:null!==(E=t.imageTimeout)&&void 0!==E?E:15e3,proxy:t.proxy,useCORS:null!==(y=t.useCORS)&&void 0!==y&&y},u=r({logging:null===(I=t.logging)||void 0===I||I,cache:t.cache},a),c={windowWidth:null!==(N=t.windowWidth)&&void 0!==N?N:i.innerWidth,windowHeight:null!==(K=t.windowHeight)&&void 0!==K?K:i.innerHeight,scrollX:null!==(S=t.scrollX)&&void 0!==S?S:i.pageXOffset,scrollY:null!==(M=t.scrollY)&&void 0!==M?M:i.pageYOffset},B=new s(c.scrollX,c.scrollY,c.windowWidth,c.windowHeight),f=new ds(u,B),h=null!==(k=t.foreignObjectRendering)&&void 0!==k&&k,l={allowTaint:null!==(D=t.allowTaint)&&void 0!==D&&D,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:h,copyStyles:h},f.logger.debug("Starting document clone with size "+B.width+"x"+B.height+" scrolled to "+-B.left+","+-B.top),w=new ai(f,A,l),(g=w.clonedReferenceElement)?[4,w.toIFrame(e,B)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Q=n.sent(),F=Dn(g)||"HTML"===g.tagName?function(A){var t=A.body,r=A.documentElement;if(!t||!r)throw new Error("Unable to get document size");var e=Math.max(Math.max(t.scrollWidth,r.scrollWidth),Math.max(t.offsetWidth,r.offsetWidth),Math.max(t.clientWidth,r.clientWidth)),n=Math.max(Math.max(t.scrollHeight,r.scrollHeight),Math.max(t.offsetHeight,r.offsetHeight),Math.max(t.clientHeight,r.clientHeight));return new s(0,0,e,n)}(g.ownerDocument):o(f,g),U=F.width,d=F.height,C=F.left,v=F.top,p=vs(f,g,t.backgroundColor),m={canvas:t.canvas,backgroundColor:p,scale:null!==(O=null!==(x=t.scale)&&void 0!==x?x:i.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(T=t.x)&&void 0!==T?T:0)+C,y:(null!==(G=t.y)&&void 0!==G?G:0)+v,width:null!==(q=t.width)&&void 0!==q?q:Math.ceil(U),height:null!==(V=t.height)&&void 0!==V?V:Math.ceil(d)},h?(f.logger.debug("Document cloned, using foreign object rendering"),[4,new Qs(f,m).render(g)]):[3,3];case 2:return L=n.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+C+","+v+" with size "+U+"x"+d+" using computed rendering"),f.logger.debug("Starting DOM parsing"),b=Ln(f,g),p===b.styles.backgroundColor&&(b.styles.backgroundColor=vt.TRANSPARENT),f.logger.debug("Starting renderer for element at "+m.x+","+m.y+" with size "+m.width+"x"+m.height),[4,new Bs(f,m).render(b)];case 4:L=n.sent(),n.label=5;case 5:return(null===(R=t.removeContainer)||void 0===R||R)&&(ai.destroy(Q)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,L]}}))}))},vs=function(A,t,r){var e=t.ownerDocument,n=e.documentElement?Ct(A,getComputedStyle(e.documentElement).backgroundColor):vt.TRANSPARENT,i=e.body?Ct(A,getComputedStyle(e.body).backgroundColor):vt.TRANSPARENT,s="string"==typeof r?Ct(A,r):null===r?vt.TRANSPARENT:4294967295;return t===e.documentElement?ht(n)?ht(i)?s:i:n:s};return function(A,t){return void 0===t&&(t={}),Cs(A,t)}}()}));const dr=Object.freeze(Object.assign(Object.create(null),Ur,{default:Ur})),Cr=class{constructor(t){A(this,t),this.moduleContent=[],this.moduleName="",this.page={title:null,path:null,body:null,pageInfo:null},this.validateFetch=A=>{if(!A.ok)throw A;return A.json()}}async fetchPage(A){if(null!==A)try{A=/^\/docs\/pages\/[a-z]{2}\.json$/.test(A)?A.replace(".json","/index.json"):A;const t=await fetch(A);return await this.validateFetch(t)}catch(A){return{title:A.statusText,body:null,path:null,pageInfo:null}}}async getHTMLContent(A){if(A){let r=await this.fetchPage(A);return r.body||console.log("Error while loading HTML content"),[t("main",{class:"no-demo"},t(a[r.template]||a.pdf,{page:r}))]}}async componentWillLoad(){const A=e.getInstance().get("sparkle");this.tocData=await n.getInstance().loadJsonFile(A.tocPath)}async renderContnet(A){this.moduleName=A.name;let t=[];for(let r=0;r<A.sessions.length;r++)for(let e=0;e<A.sessions[r].pages.length;e++){const n=`/course/${A.urlName}/${A.sessions[r].urlName}/${A.sessions[r].pages[e].urlName}.json`;t=[...t,await this.getHTMLContent(n)]}this.moduleContent=[...t]}async exportToPDF(){var A=document.getElementById("exportPdf");Ur(A).then((A=>{console.log(A);var t=208*A.height/A.width,r=t;const e=A.toDataURL("image/png");let n=new MA({orientation:"p",unit:"mm",format:"a4"});var i=0;for(n.addImage(e,"PNG",0,i,208,t),r-=295;r>=0;)i=r-t,n.addPage(),n.addImage(e,"PNG",0,i,208,t),r-=295;n.save(this.moduleName+".pdf")}))}render(){return t(r,null,t("div",null,this.tocData.courseModules.map((A=>t("div",{class:"p-2"},t("button",{class:"btn btn-primary",onClick:()=>this.renderContnet(A)},A.name))))),this.moduleContent.length>0&&t("div",{class:"d-flex justify-content-end p-2"},t("button",{class:"btn btn-primary",onClick:()=>this.exportToPDF()},"Export to PDF")),t("div",{id:"exportPdf"},this.moduleContent.map((A=>A))))}};Cr.style=":host{display:block}#exportPdf{max-width:800px;margin:0 auto}";const vr=class{constructor(t){A(this,t),this.showAllModules=!0}async componentWillLoad(){const A=e.getInstance().get("sparkle");this.tocData=await n.getInstance().loadJsonFile(A.tocPath)}async componentDidLoad(){await this.fetchData()}async fetchData(){await c.getInstance().fetchDashboardData({ClassId:1})}renderClassFeedPosts(){var A,r;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Name"),t("th",{scope:"col"},"Email"),t("th",{scope:"col"},"Post Text"),t("th",{scope:"col"},"App Name"),t("th",{scope:"col"},"Comment"),t("th",{scope:"col"},"Visibility"))),t("tbody",null,null===(A=B.state.dashboardData)||void 0===A?void 0:A.ClassFeedPosts.map((A=>t("tr",null,t("td",null,A.UserName),t("td",null,A.Email),t("td",null,A.PostText),t("td",null,A.MiniAppName),t("td",null,A.CommentsCount),t("td",null,A.PostVisibility)))),this.renderLoadingOrNoData(6,null===(r=B.state.dashboardData)||void 0===r?void 0:r.ClassFeedPosts)))}renderLoadingOrNoData(A,r){let e=B.state.dashboardDataLoading?"Loading...":0==(null==r?void 0:r.length)?"No Data":"";return e?t("tr",null,t("td",{colSpan:A},e)):null}renderStudentsAssignment(){var A,r;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Name"),t("th",{scope:"col"},"Email"),t("th",{scope:"col"},"Assignment Name"),t("th",{scope:"col"},"Submited Date"),t("th",{scope:"col"},"Assignment Data"))),t("tbody",null,null===(A=B.state.dashboardData)||void 0===A?void 0:A.StudentAssignments.map((A=>t("tr",null,t("td",null,A.Name),t("td",null,A.Email),t("td",null,A.AssignmentName),t("td",null,A.SubmittedDate),t("td",null,A.AssignmentData)))),this.renderLoadingOrNoData(5,null===(r=B.state.dashboardData)||void 0===r?void 0:r.StudentAssignments)))}renderStudentsQuizResponses(){var A,r;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Name"),t("th",{scope:"col"},"Email"),t("th",{scope:"col"},"Response Type"),t("th",{scope:"col"},"Submitted Date"),t("th",{scope:"col"},"Questions"),t("th",{scope:"col"},"Response"))),t("tbody",null,null===(A=B.state.dashboardData)||void 0===A?void 0:A.StudentQuizResponses.map((A=>t("tr",null,t("td",null,A.Name),t("td",null,A.Email),t("td",null,A.ResponseType),t("td",null,A.SubmittedDate),t("td",null,A.Question),t("td",null,A.Response)))),this.renderLoadingOrNoData(6,null===(r=B.state.dashboardData)||void 0===r?void 0:r.StudentQuizResponses)))}renderDiscussion(){return t("div",{class:"accordion",id:"accordionExample"},t("div",{class:"accordion-item"},t("h2",{class:"accordion-header",id:"headingOne"},t("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseOne","aria-expanded":"true","aria-controls":"collapseOne"},"Accordion Item #1")),t("div",{id:"collapseOne",class:"accordion-collapse collapse show","aria-labelledby":"headingOne","data-bs-parent":"#accordionExample"},t("div",{class:"accordion-body"},t("strong",null,"This is the first item's accordion body.")," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the ",t("code",null,".accordion-body"),", though the transition does limit overflow."))),t("div",{class:"accordion-item"},t("h2",{class:"accordion-header",id:"headingTwo"},t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseTwo","aria-expanded":"false","aria-controls":"collapseTwo"},"Accordion Item #2")),t("div",{id:"collapseTwo",class:"accordion-collapse collapse","aria-labelledby":"headingTwo","data-bs-parent":"#accordionExample"},t("div",{class:"accordion-body"},t("strong",null,"This is the second item's accordion body.")," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the ",t("code",null,".accordion-body"),", though the transition does limit overflow."))),t("div",{class:"accordion-item"},t("h2",{class:"accordion-header",id:"headingThree"},t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseThree","aria-expanded":"false","aria-controls":"collapseThree"},"Accordion Item #3")),t("div",{id:"collapseThree",class:"accordion-collapse collapse","aria-labelledby":"headingThree","data-bs-parent":"#accordionExample"},t("div",{class:"accordion-body"},t("strong",null,"This is the third item's accordion body.")," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the ",t("code",null,".accordion-body"),", though the transition does limit overflow."))))}renderFacilitators(){var A,r;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Name"),t("th",{scope:"col"},"Email"))),t("tbody",null,null===(A=B.state.dashboardData)||void 0===A?void 0:A.Facilitators.map((A=>t("tr",null,t("td",null,A.Name),t("td",null,A.Email)))),this.renderLoadingOrNoData(2,null===(r=B.state.dashboardData)||void 0===r?void 0:r.Facilitators)))}renderStudents(){var A,r;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Name"),t("th",{scope:"col"},"Email"))),t("tbody",null,null===(A=B.state.dashboardData)||void 0===A?void 0:A.Students.map((A=>t("tr",null,t("td",null,A.Name),t("td",null,A.Email)))),this.renderLoadingOrNoData(2,null===(r=B.state.dashboardData)||void 0===r?void 0:r.Students)))}onModuleDropdownChange(A){this.selectedModule=A.target.value,this.selectedSession="",this.selectedPage=""}onSessionDropdownChange(A){this.selectedSession=A.target.value,this.selectedPage=""}filterData(){}render(){return t("div",null,t("nav",{class:"navbar navbar-light bg-light"},t("form",{class:"container-fluid justify-content-space-between"},t("div",{class:"form-check"},t("input",{class:"form-check-input",type:"checkbox",value:"",id:"flexCheckChecked",onInput:A=>this.showAllModules=A.target.checked,checked:this.showAllModules}),t("label",{class:"form-check-label",htmlFor:"flexCheckChecked"},"All Modules")),t("button",{class:"btn btn-primary pull-right",type:"button",onClick:()=>this.fetchData()},"Refresh")),!this.showAllModules&&t("div",{class:"d-flex"},t("div",{class:"p-1"},t("select",{class:"form-select","aria-label":"Default select example",onChange:A=>this.onModuleDropdownChange(A)},t("option",{value:"",selected:""==this.selectedModule},"Select Module"),this.tocData.courseModules.map((A=>t("option",{value:A.urlName,selected:A.urlName==this.selectedModule},A.name))))),t("div",{class:"p-1"},this.selectedModule&&t("select",{class:"form-select","aria-label":"Default select example",onChange:A=>this.onSessionDropdownChange(A)},t("option",{value:"",selected:""==this.selectedSession},"Select Session"),this.tocData.courseModules.find((A=>A.urlName==this.selectedModule)).sessions.map((A=>t("option",{value:A.urlName,selected:A.urlName==this.selectedSession},A.name))))),t("div",{class:"p-1"},this.selectedModule&&this.selectedSession&&t("select",{class:"form-select","aria-label":"Default select example",onChange:A=>this.selectedPage=A.target.value},t("option",{value:"",selected:""==this.selectedPage},"Select Page"),this.tocData.courseModules.find((A=>A.urlName==this.selectedModule)).sessions.find((A=>A.urlName==this.selectedSession)).pages.map((A=>t("option",{value:A.urlName,selected:A.urlName==this.selectedPage},A.name))))),this.selectedModule&&this.selectedSession&&this.selectedPage&&t("div",{class:"p-1"},t("button",{class:"btn btn-primary",type:"button",onClick:()=>this.filterData()},"Filter")))),t("div",null,t("div",null,t("h1",null,"Class Feed Posts"),this.renderClassFeedPosts()),t("div",null,t("h1",null,"Student Assignments"),this.renderStudentsAssignment()),t("div",null,t("h1",null,"Quiz Responses"),this.renderStudentsQuizResponses()),t("div",null,t("h1",null,"Discussions"),this.renderDiscussion()),t("div",{class:"row"},t("div",{class:"col-sm-6"},t("h1",null,"Facilitators"),this.renderFacilitators()),t("div",{class:"col-sm-6"},t("h1",null,"Students"),this.renderStudents()))))}};vr.style=":host{display:block}";const pr=class{constructor(t){A(this,t)}async componentDidLoad(){await this.fetchData()}async fetchData(){await c.getInstance().fetchNotes({showAllNotes:!1})}async deleteNote(A){await c.getInstance().deleteFacilitatorNote(A)}async deleteNoteConfirmation(A){window.confirm("Do you really want to delete this note?")&&await this.deleteNote(A)}async presentFacilitatorNotesModal(A){const t=await f.create({component:"sparkle-facilitator-notes-form",cssClass:"sparkle-modal sparkle-facilitator-notes-form",componentProps:{initialValues:A}});await t.present()}renderNotes(){var A,r,e;return t("table",{class:"table"},t("thead",null,t("tr",null,t("th",{scope:"col"},"Notes"),t("th",{scope:"col"},"Action"))),t("tbody",null,null===(A=B.state.pageNotes)||void 0===A?void 0:A.map((A=>t("tr",null,t("td",{class:"c1"},A.NoteText),t("td",{class:"c2"},t("div",{class:"d-flex"},t("div",{class:"p-2"},t("button",{class:"btn btn-primary",type:"button",onClick:()=>this.presentFacilitatorNotesModal(A)},"Edit")),t("div",{class:"p-2"},t("button",{class:"btn btn-dark",type:"button",onClick:()=>this.deleteNoteConfirmation(A.Id)},"Delete"))))))),!B.state.pageNotes||0==(null===(r=B.state.pageNotes)||void 0===r?void 0:r.length)&&t("tr",null,t("td",{colSpan:2},B.state.notesLoading?"Loading...":0==(null===(e=B.state.pageNotes)||void 0===e?void 0:e.length)?"No Data":""))))}render(){return console.log("render"),t(r,null,t("div",{class:"p-2 pb-4 d-md-flex justify-content-md-end"},t("button",{class:"btn btn-primary pull-right",type:"button",onClick:()=>this.presentFacilitatorNotesModal(null)},"+ Add Note")),this.renderNotes())}};pr.style=":host{display:block}table{table-layout:auto}.c1{width:80%}.c2{width:20%}";const mr=class{constructor(t){A(this,t),this.onlineStudents=[],this.handleStudentChange=(A,t)=>{console.log("handle student change"),"list"==t&&(B.state.onlineStudents=[...A])}}componentDidLoad(){console.log("componentDidLoad"),u.getInstance().connection.on("StudentAction",this.handleStudentChange),this.refreshList()}navigateStudentTo(A){u.getInstance().callSignalR("NavigateStudentTo",{userId:A.userId,url:this.path.replace(".json","")})}refreshList(){u.getInstance().callSignalR("GetOnlineStudents",{CourseClassId:1})}render(){return console.log("faciliatator state",B.state.onlineStudents),t("div",null,t("div",{class:"p-2 pb-4 d-md-flex justify-content-md-end"},t("button",{class:"btn btn-primary pull-right",type:"button",onClick:()=>this.refreshList()},"Refresh")),t("div",null,B.state.onlineStudents.length>0&&t("ol",{class:"list-group list-group-numbered"},B.state.onlineStudents.map((A=>t("li",{class:"list-group-item d-flex justify-content-between align-items-start",key:A.userId},t("div",{class:"ms-2 me-auto"},t("div",{class:"fw-bold"},A.name),A.currentUrl),t("button",{type:"button",class:"btn btn-primary btn-sm",onClick:()=>this.navigateStudentTo(A)},"Navigate"))))),0==B.state.onlineStudents.length&&t("div",{class:"text-center"},t("h3",null,"No Students"))))}};mr.style="";const Lr=class{constructor(t){A(this,t)}hostData(){return{role:"contentinfo"}}__stencil_render(){const{page:A}=this;return A.previousText&&A.previousUrl||A.nextText&&A.nextUrl?t("sparkle-pagination",{page:A}):""}render(){return t(r,this.hostData(),this.__stencil_render())}};Lr.style="sparkle-page-footer{margin-top:6rem}sparkle-page-footer .last-updated{color:var(--text-color--light);font-weight:normal;margin-left:auto;text-decoration:underline}sparkle-page-footer .page-footer__row{align-items:center;display:flex;font-size:12px;margin-top:2rem}";const br=class{constructor(t){A(this,t),this.page={title:null,path:null,body:null,pageInfo:null}}render(){const{previousText:A,previousUrl:r,nextText:e,nextUrl:n}=this.page,i=e&&n,s=[];return A&&r&&s.push(t("stencil-route-link",{url:r,key:"previous",class:"previous",anchorTitle:A},t("div",{class:"pagination__title"},"Previous"),t("div",{class:"pagination__text"},t(h,null),t("span",null,A)))),i&&s.push(t("stencil-route-link",{url:n,key:"next",class:"next",anchorTitle:e},t("div",{class:"pagination__title"},"Next"),t("div",{class:"pagination__text"},t("span",null,e),t(l,null)))),s}};br.style="sparkle-pagination{border-color:var(--line-rule-color);border-style:solid;border-width:0 0 1px;display:flex;flex-wrap:wrap-reverse;padding:var(--page-padding, 2rem 0rem) 0}sparkle-pagination .next,sparkle-pagination .previous{max-width:100%;overflow:hidden}sparkle-pagination .next{margin-left:auto}sparkle-pagination a{border-radius:4px;display:flex;align-items:flex-start;flex-direction:column;padding:1em 1.5em;color:rgb(var(--accent-color-rgb))}sparkle-pagination .previous a{padding-left:0}sparkle-pagination .next a{padding-right:0;align-items:flex-end}@media (max-width: 700px){sparkle-pagination .previous a{padding-right:.5rem}sparkle-pagination .next a{padding-left:.5rem}}@media (hover: hover){sparkle-pagination a:hover,sparkle-pagination a:active{filter:brightness(0.8)}}sparkle-pagination .pagination__title{color:var(--text-color--lighter);font-size:12px;display:block}sparkle-pagination .pagination__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;color:var(--ion-color-sparkle)}sparkle-pagination span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sparkle-pagination svg{fill:currentColor;flex:none;height:1em;margin-bottom:-0.125em;width:1em}sparkle-pagination .next svg{margin-left:0.5em}sparkle-pagination .previous svg{margin-right:0.5em}";export{Cr as sparkle_export_lessons,vr as sparkle_facilitator_dashboard,pr as sparkle_facilitator_notes,mr as sparkle_online_students,Lr as sparkle_page_footer,br as sparkle_pagination}
|