From e61a216a6aab5ce98cc624c7c47cf7375a7f39cb Mon Sep 17 00:00:00 2001 From: Jansen Kantor Date: Fri, 23 Aug 2024 02:11:07 -0400 Subject: [PATCH] fix: grace period validation and parsing (#2222) * fix: correct default for grace period when parsing xml * fix: front-end validation of grace periods * refactor: un-duplicate code * chore: version bumped to 6.11.3 --- .gitignore | 1 + openassessment/__init__.py | 2 +- ...g => 1b90ce76fe01a1aa6e5ec289a5fb3799.png} | Bin 140 -> 140 bytes .../xblock/static/dist/manifest.json | 14 +++--- ...penassessment-lms.525a519b6c2e4bc043b0.css | 3 ++ ...penassessment-lms.525a519b6c2e4bc043b0.js} | 2 +- ...penassessment-lms.d29f0bd34bb5d82d36fb.css | 3 -- ...assessment-studio.227e19b5d099e14574a2.js} | 4 +- .../static/js/spec/studio/oa_edit_settings.js | 40 ++++++++++++++++++ .../static/js/src/studio/oa_edit_settings.js | 37 ++++++++++------ .../xblock/test/data/update_from_xml.json | 28 +++++++++++- openassessment/xblock/utils/xml.py | 2 +- package-lock.json | 2 +- package.json | 2 +- 14 files changed, 110 insertions(+), 30 deletions(-) rename openassessment/xblock/static/dist/{4620b30a966533ace489dcc7afb151b9.png => 1b90ce76fe01a1aa6e5ec289a5fb3799.png} (54%) create mode 100644 openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.css rename openassessment/xblock/static/dist/{openassessment-lms.d29f0bd34bb5d82d36fb.js => openassessment-lms.525a519b6c2e4bc043b0.js} (99%) delete mode 100644 openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.css rename openassessment/xblock/static/dist/{openassessment-studio.fba153d2eafbb4c8e78c.js => openassessment-studio.227e19b5d099e14574a2.js} (94%) diff --git a/.gitignore b/.gitignore index be227cdbec..753edf7de6 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ htmlcov coverage.xml test_ora2db test_ora2db-journal +test/logs/ # Mr Developer .mr.developer.cfg diff --git a/openassessment/__init__.py b/openassessment/__init__.py index 82cfbd011a..d2ecd58513 100644 --- a/openassessment/__init__.py +++ b/openassessment/__init__.py @@ -2,4 +2,4 @@ Initialization Information for Open Assessment Module """ -__version__ = '6.11.2' +__version__ = '6.11.3' diff --git a/openassessment/xblock/static/dist/4620b30a966533ace489dcc7afb151b9.png b/openassessment/xblock/static/dist/1b90ce76fe01a1aa6e5ec289a5fb3799.png similarity index 54% rename from openassessment/xblock/static/dist/4620b30a966533ace489dcc7afb151b9.png rename to openassessment/xblock/static/dist/1b90ce76fe01a1aa6e5ec289a5fb3799.png index f57c2563aafcf3f63260c30b62437aaabb53f256..68eefd494758bfb2f491d784b78fbd2bb0bf5bd1 100644 GIT binary patch delta 20 ccmeBS>|vas$@S{lv)9j`pSjn-IMFx~0BOPsl>h($ delta 20 acmeBS>|vas$@TjAb0BJplP#QR90>qqu?gD% diff --git a/openassessment/xblock/static/dist/manifest.json b/openassessment/xblock/static/dist/manifest.json index 7dcef6ef98..3b738e2fcf 100644 --- a/openassessment/xblock/static/dist/manifest.json +++ b/openassessment/xblock/static/dist/manifest.json @@ -4,10 +4,10 @@ "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.2cee26d88c3441ada635.js.map", "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.0b97b77ad7f1b7150f67.js", "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.0b97b77ad7f1b7150f67.js.map", - "openassessment-lms.css": "/openassessment-lms.d29f0bd34bb5d82d36fb.css", - "openassessment-lms.js": "/openassessment-lms.d29f0bd34bb5d82d36fb.js", - "openassessment-lms.css.map": "/openassessment-lms.d29f0bd34bb5d82d36fb.css.map", - "openassessment-lms.js.map": "/openassessment-lms.d29f0bd34bb5d82d36fb.js.map", + "openassessment-lms.css": "/openassessment-lms.525a519b6c2e4bc043b0.css", + "openassessment-lms.js": "/openassessment-lms.525a519b6c2e4bc043b0.js", + "openassessment-lms.css.map": "/openassessment-lms.525a519b6c2e4bc043b0.css.map", + "openassessment-lms.js.map": "/openassessment-lms.525a519b6c2e4bc043b0.js.map", "openassessment-ltr.css": "/openassessment-ltr.7955a1e2cc11fc6948de.css", "openassessment-ltr.js": "/openassessment-ltr.7955a1e2cc11fc6948de.js", "openassessment-ltr.css.map": "/openassessment-ltr.7955a1e2cc11fc6948de.css.map", @@ -16,8 +16,8 @@ "openassessment-rtl.js": "/openassessment-rtl.9de7c9bc7c1048c07707.js", "openassessment-rtl.css.map": "/openassessment-rtl.9de7c9bc7c1048c07707.css.map", "openassessment-rtl.js.map": "/openassessment-rtl.9de7c9bc7c1048c07707.js.map", - "openassessment-studio.js": "/openassessment-studio.fba153d2eafbb4c8e78c.js", - "openassessment-studio.js.map": "/openassessment-studio.fba153d2eafbb4c8e78c.js.map", - "fallback-default.png": "/4620b30a966533ace489dcc7afb151b9.png", + "openassessment-studio.js": "/openassessment-studio.227e19b5d099e14574a2.js", + "openassessment-studio.js.map": "/openassessment-studio.227e19b5d099e14574a2.js.map", + "fallback-default.png": "/1b90ce76fe01a1aa6e5ec289a5fb3799.png", "default-avatar.svg": "/95ec738c0b7faac5b5c9126794446bbd.svg" } \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.css b/openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.css new file mode 100644 index 0000000000..23d2c2d291 --- /dev/null +++ b/openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.css @@ -0,0 +1,3 @@ + + +/*# sourceMappingURL=openassessment-lms.525a519b6c2e4bc043b0.css.map*/ \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.js b/openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.js similarity index 99% rename from openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.js rename to openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.js index ba80d38fc1..93ae850fd9 100644 --- a/openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.js +++ b/openassessment/xblock/static/dist/openassessment-lms.525a519b6c2e4bc043b0.js @@ -381,4 +381,4 @@ object-assign * Copyright 2022 Fonticons, Inc. */ function gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _d(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function pf(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function mf(e){return e.classList?pf(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function hf(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function bf(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Mf(e){return e.size!==df.size||e.x!==df.x||e.y!==df.y||e.rotate!==df.rotate||e.flipX||e.flipY}function yf(){var e="svg-inline--fa",t=cf.familyPrefix,n=cf.replacementClass,r=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if("fa"!==t||n!==e){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(o,".".concat(n))}return r}var vf=!1;function gf(){cf.autoAddCss&&!vf&&(!function(e){if(e&&qd){var t=Pd.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Pd.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}Pd.head.insertBefore(t,r)}}(yf()),vf=!0)}var _f={mixout:function(){return{dom:{css:yf,insertCss:gf}}},hooks:function(){return{beforeDOMElementCreation:function(){gf()},beforeI2svg:function(){gf()}}}},wf=Yd||{};wf.___FONT_AWESOME___||(wf.___FONT_AWESOME___={}),wf.___FONT_AWESOME___.styles||(wf.___FONT_AWESOME___.styles={}),wf.___FONT_AWESOME___.hooks||(wf.___FONT_AWESOME___.hooks={}),wf.___FONT_AWESOME___.shims||(wf.___FONT_AWESOME___.shims=[]);var Lf=wf.___FONT_AWESOME___,Af=[],Tf=!1;function Of(e){qd&&(Tf?setTimeout(e,0):Af.push(e))}function Sf(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?hf(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(hf(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Sf).join(""),"")}function kf(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}qd&&((Tf=(Pd.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Pd.readyState))||Pd.addEventListener("DOMContentLoaded",(function e(){Pd.removeEventListener("DOMContentLoaded",e),Tf=1,Af.map((function(e){return e()}))})));var zf=function(e,t,n,r){var a,i,o,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,a,i){return e.call(t,n,r,a,i)}}(t,r):t;for(void 0===n?(a=1,o=e[s[0]]):(a=0,o=n);a=55296&&a<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Nf(t);"function"!=typeof Lf.hooks.addPack||a?Lf.styles[e]=_d(_d({},Lf.styles[e]||{}),i):Lf.hooks.addPack(e,Nf(t)),"fas"===e&&xf("fa",t)}var Df=Lf.styles,Cf=Lf.shims,jf=Object.values(Ud),Yf=null,Pf={},Rf={},Wf={},qf={},Bf={},Hf=Object.keys(Xd);function If(e,t){var n,r=t.split("-"),a=r[0],i=r.slice(1).join("-");return a!==e||""===i||(n=i,~af.indexOf(n))?null:i}var Xf,Ff=function(){var e=function(e){return zf(Df,(function(t,n,r){return t[r]=zf(n,e,{}),t}),{})};Pf=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Rf=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),Bf=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Df||cf.autoFetchSvg,n=zf(Cf,(function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:i}),e}),{names:{},unicodes:{}});Wf=n.names,qf=n.unicodes,Yf=Jf(cf.styleDefault)};function Uf(e,t){return(Pf[e]||{})[t]}function Vf(e,t){return(Bf[e]||{})[t]}function Gf(e){return Wf[e]||{prefix:null,iconName:null}}function $f(){return Yf}Xf=function(e){Yf=Jf(e.styleDefault)},lf.push(Xf),Ff();function Jf(e){var t=Fd[e]||Fd[Xd[e]],n=e in Lf.styles?e:null;return t||n||null}function Kf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,a=null,i=e.reduce((function(e,t){var n=If(cf.familyPrefix,t);if(Df[t]?(t=jf.includes(t)?Vd[t]:t,a=t,e.prefix=t):Hf.indexOf(t)>-1?(a=t,e.prefix=Jf(t)):n?e.iconName=n:t!==cf.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===a?Gf(e.iconName):{},o=Vf(e.prefix,e.iconName);i.prefix&&(a=null),e.iconName=i.iconName||o||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Df.far||!Df.fas||cf.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==a||(i.prefix=$f()||"fas"),i}var Qf=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&s.forEach((function(t){"string"==typeof t&&(e[a][t]=o)})),e[a][i]=o})),e}}])&&Ld(t.prototype,n),r&&Ld(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Zf=[],ep={},tp={},np=Object.keys(tp);function rp(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return qd?(ap("beforeI2svg",e),ip("pseudoElements2svg",e),ip("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===cf.autoReplaceSvg&&(cf.autoReplaceSvg=!0),cf.observeMutations=!0,Of((function(){up({autoReplaceSvgRoot:t}),ap("watch",e)}))}},lp={noAuto:function(){cf.autoReplaceSvg=!1,cf.observeMutations=!1,ap("noAuto")},config:cf,dom:cp,parse:{icon:function(e){if(null===e)return null;if("object"===wd(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Vf(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Jf(e[0]);return{prefix:n,iconName:Vf(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(cf.familyPrefix,"-"))>-1||e.match(Gd))){var r=Kf(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||$f(),iconName:Vf(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=$f();return{prefix:a,iconName:Vf(a,e)||e}}}},library:sp,findIconDefinition:op,toHtml:Sf},up=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Pd:t;(Object.keys(Lf.styles).length>0||cf.autoFetchSvg)&&qd&&cf.autoReplaceSvg&&lp.dom.i2svg({node:n})};function dp(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Sf(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(qd){var t=Pd.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function fp(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,s=e.symbol,c=e.title,l=e.maskId,u=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,m=r.found?r:n,h=m.width,b=m.height,M="fak"===a,y=[cf.replacementClass,i?"".concat(cf.familyPrefix,"-").concat(i):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),v={children:[],attributes:_d(_d({},d.attributes),{},{"data-prefix":a,"data-icon":i,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(b)})},g=M&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/b*16*.0625,"em")}:{};p&&(v.attributes["data-fa-i2svg"]=""),c&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||ff())},children:[c]}),delete v.attributes.title);var _=_d(_d({},v),{},{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:s,styles:_d(_d({},g),d.styles)}),w=r.found&&n.found?ip("generateAbstractMask",_)||{children:[],attributes:{}}:ip("generateAbstractIcon",_)||{children:[],attributes:{}},L=w.children,A=w.attributes;return _.children=L,_.attributes=A,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol,o=!0===i?"".concat(t,"-").concat(cf.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_d(_d({},a),{},{id:o}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Mf(o)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};a.style=bf(_d(_d({},i),{},{"transform-origin":"".concat(s.x+o.x/16,"em ").concat(s.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(_)}function pp(e){var t=e.content,n=e.width,r=e.height,a=e.transform,i=e.title,o=e.extra,s=e.watchable,c=void 0!==s&&s,l=_d(_d(_d({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});c&&(l["data-fa-i2svg"]="");var u=_d({},o.styles);Mf(a)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,a=e.height,i=void 0===a?16:a,o=e.startCentered,s=void 0!==o&&o,c="";return c+=s&&Bd?"translate(".concat(t.x/uf-r/2,"em, ").concat(t.y/uf-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/uf,"em), calc(-50% + ").concat(t.y/uf,"em)) "):"translate(".concat(t.x/uf,"em, ").concat(t.y/uf,"em) "),c+="scale(".concat(t.size/uf*(t.flipX?-1:1),", ").concat(t.size/uf*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=bf(u);d.length>0&&(l.style=d);var f=[];return f.push({tag:"span",attributes:l,children:[t]}),i&&f.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),f}function mp(e){var t=e.content,n=e.title,r=e.extra,a=_d(_d(_d({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=bf(r.styles);i.length>0&&(a.style=i);var o=[];return o.push({tag:"span",attributes:a,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var hp=Lf.styles;function bp(e){var t=e[0],n=e[1],r=Td(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(cf.familyPrefix,"-").concat(ef)},children:[{tag:"path",attributes:{class:"".concat(cf.familyPrefix,"-").concat(rf),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(cf.familyPrefix,"-").concat(nf),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Mp={found:!1,width:512,height:512};function yp(e,t){var n=t;return"fa"===t&&null!==cf.styleDefault&&(t=$f()),new Promise((function(r,a){ip("missingIconAbstract");if("fa"===n){var i=Gf(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&hp[t]&&hp[t][e])return r(bp(hp[t][e]));!function(e,t){Id||cf.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(_d(_d({},Mp),{},{icon:cf.showMissingIcons&&e&&ip("missingIconAbstract")||{}}))}))}var vp=function(){},gp=cf.measurePerformance&&Wd&&Wd.mark&&Wd.measure?Wd:{mark:vp,measure:vp},_p=function(e){gp.mark("".concat('FA "6.1.2"'," ").concat(e," ends")),gp.measure("".concat('FA "6.1.2"'," ").concat(e),"".concat('FA "6.1.2"'," ").concat(e," begins"),"".concat('FA "6.1.2"'," ").concat(e," ends"))},wp=function(e){return gp.mark("".concat('FA "6.1.2"'," ").concat(e," begins")),function(){return _p(e)}},Lp=function(){};function Ap(e){return"string"==typeof(e.getAttribute?e.getAttribute("data-fa-i2svg"):null)}function Tp(e){return Pd.createElementNS("http://www.w3.org/2000/svg",e)}function Op(e){return Pd.createElement(e)}var Sp={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.ceFn,a=void 0===r?"svg"===t.tag?Tp:Op:r;if("string"==typeof t)return Pd.createTextNode(t);var i=a(t.tag);Object.keys(t.attributes||[]).forEach((function(e){i.setAttribute(e,t.attributes[e])}));var o=t.children||[];return o.forEach((function(t){i.appendChild(e(t,{ceFn:a}))})),i}(e),t)})),null===t.getAttribute("data-fa-i2svg")&&cf.keepOriginalSource){var n=Pd.createComment(function(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~mf(t).indexOf(cf.replacementClass))return Sp.replace(e);var r=new RegExp("".concat(cf.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce((function(e,t){return t===cf.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var i=n.map((function(e){return Sf(e)})).join("\n");t.setAttribute("data-fa-i2svg",""),t.innerHTML=i}};function kp(e){e()}function zp(e,t){var n="function"==typeof t?t:Lp;if(0===e.length)n();else{var r=kp;"async"===cf.mutateApproach&&(r=Yd.requestAnimationFrame||kp),r((function(){var t=!0===cf.autoReplaceSvg?Sp.replace:Sp[cf.autoReplaceSvg]||Sp.replace,r=wp("mutate");e.map(t),r(),n()}))}}var Ep=!1;function Np(){Ep=!0}function xp(){Ep=!1}var Dp=null;function Cp(e){if(Rd&&cf.observeMutations){var t=e.treeCallback,n=void 0===t?Lp:t,r=e.nodeCallback,a=void 0===r?Lp:r,i=e.pseudoElementsCallback,o=void 0===i?Lp:i,s=e.observeMutationsRoot,c=void 0===s?Pd:s;Dp=new Rd((function(e){if(!Ep){var t=$f();pf(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ap(e.addedNodes[0])&&(cf.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&cf.searchPseudoElements&&o(e.target.parentNode),"attributes"===e.type&&Ap(e.target)&&~Zd.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute("data-prefix"):null,n=e.getAttribute?e.getAttribute("data-icon"):null;return t&&n}(e.target)){var r=Kf(mf(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute("data-prefix",i||t),s&&e.target.setAttribute("data-icon",s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(cf.replacementClass)&&a(e.target);var c}))}})),qd&&Dp.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function jp(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e}),{})),n}function Yp(e){var t,n,r=e.getAttribute("data-prefix"),a=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",o=Kf(mf(e));return o.prefix||(o.prefix=$f()),r&&a&&(o.prefix=r,o.iconName=a),o.iconName&&o.prefix||(o.prefix&&i.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(Rf[t]||{})[n]||Uf(o.prefix,Ef(e.innerText)))),!o.iconName&&cf.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Pp(e){var t=pf(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return cf.autoA11y&&(n?t["aria-labelledby"]="".concat(cf.replacementClass,"-title-").concat(r||ff()):(t["aria-hidden"]="true",t.focusable="false")),t}function Rp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Yp(e),r=n.iconName,a=n.prefix,i=n.rest,o=Pp(e),s=rp("parseNodeAttributes",{},e),c=t.styleParser?jp(e):[];return _d({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:df,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:o}},s)}var Wp=Lf.styles;function qp(e){var t="nest"===cf.autoReplaceSvg?Rp(e,{styleParser:!1}):Rp(e);return~t.extra.classes.indexOf("fa-layers-text")?ip("generateLayersText",e,t):ip("generateSvgReplacementMutation",e,t)}function Bp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!qd)return Promise.resolve();var n=Pd.documentElement.classList,r=function(e){return n.add("".concat("fontawesome-i2svg","-").concat(e))},a=function(e){return n.remove("".concat("fontawesome-i2svg","-").concat(e))},i=cf.autoFetchSvg?Object.keys(Xd):Object.keys(Wp);i.includes("fa")||i.push("fa");var o=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(i.map((function(e){return".".concat(e,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=pf(e.querySelectorAll(o))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),a("complete");var c=wp("onTree"),l=s.reduce((function(e,t){try{var n=qp(t);n&&e.push(n)}catch(e){Id||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(l).then((function(n){zp(n,(function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function Hp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;qp(e).then((function(e){e&&zp([e],t)}))}var Ip=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?df:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,s=void 0===o?null:o,c=t.maskId,l=void 0===c?null:c,u=t.title,d=void 0===u?null:u,f=t.titleId,p=void 0===f?null:f,m=t.classes,h=void 0===m?[]:m,b=t.attributes,M=void 0===b?{}:b,y=t.styles,v=void 0===y?{}:y;if(e){var g=e.prefix,_=e.iconName,w=e.icon;return dp(_d({type:"icon"},e),(function(){return ap("beforeDOMElementCreation",{iconDefinition:e,params:t}),cf.autoA11y&&(d?M["aria-labelledby"]="".concat(cf.replacementClass,"-title-").concat(p||ff()):(M["aria-hidden"]="true",M.focusable="false")),fp({icons:{main:bp(w),mask:s?bp(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:_,transform:_d(_d({},df),r),symbol:i,title:d,maskId:l,titleId:p,extra:{attributes:M,styles:v,classes:h}})}))}},Xp={mixout:function(){return{icon:(e=Ip,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:op(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:op(a||{})),e(r,_d(_d({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Bp,e.nodeCallback=Hp,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Pd:t,r=e.callback;return Bp(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,a=t.titleId,i=t.prefix,o=t.transform,s=t.symbol,c=t.mask,l=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([yp(n,i),c.iconName?yp(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=Td(c,2),f=d[0],p=d[1];t([e,fp({icons:{main:f,mask:p},prefix:i,iconName:n,transform:o,symbol:s,maskId:l,title:r,titleId:a,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.transform,o=bf(e.styles);return o.length>0&&(r.style=o),Mf(i)&&(t=ip("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},Fp={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return dp({type:"layer"},(function(){ap("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(cf.familyPrefix,"-layers")].concat(Od(r)).join(" ")},children:n}]}))}}}},Up={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,a=t.classes,i=void 0===a?[]:a,o=t.attributes,s=void 0===o?{}:o,c=t.styles,l=void 0===c?{}:c;return dp({type:"counter",content:e},(function(){return ap("beforeDOMElementCreation",{content:e,params:t}),mp({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(cf.familyPrefix,"-layers-counter")].concat(Od(i))}})}))}}}},Vp={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?df:n,a=t.title,i=void 0===a?null:a,o=t.classes,s=void 0===o?[]:o,c=t.attributes,l=void 0===c?{}:c,u=t.styles,d=void 0===u?{}:u;return dp({type:"text",content:e},(function(){return ap("beforeDOMElementCreation",{content:e,params:t}),pp({content:e,transform:_d(_d({},df),r),title:i,extra:{attributes:l,styles:d,classes:["".concat(cf.familyPrefix,"-layers-text")].concat(Od(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,a=t.extra,i=null,o=null;if(Bd){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();i=c.width/s,o=c.height/s}return cf.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),Promise.resolve([e,pp({content:e.innerHTML,width:i,height:o,transform:r,title:n,extra:a,watchable:!0})])}}},Gp=new RegExp('"',"ug"),$p=[1105920,1112319];function Jp(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,a){if(null!==e.getAttribute(n))return r();var i,o,s,c=pf(e.children).filter((function(e){return e.getAttribute("data-fa-pseudo-element")===t}))[0],l=Yd.getComputedStyle(e,t),u=l.getPropertyValue("font-family").match($d),d=l.getPropertyValue("font-weight"),f=l.getPropertyValue("content");if(c&&!u)return e.removeChild(c),r();if(u&&"none"!==f&&""!==f){var p=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Fd[u[2].toLowerCase()]:Jd[d],h=function(e){var t,n,r,a,i,o=e.replace(Gp,""),s=(n=0,a=(t=o).length,(i=t.charCodeAt(n))>=55296&&i<=56319&&a>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i),c=s>=$p[0]&&s<=$p[1],l=2===o.length&&o[0]===o[1];return{value:Ef(l?o[0]:o),isSecondary:c||l}}(p),b=h.value,M=h.isSecondary,y=u[0].startsWith("FontAwesome"),v=Uf(m,b),g=v;if(y){var _=(o=qf[i=b],s=Uf("fas",i),o||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(v=_.iconName,m=_.prefix)}if(!v||M||c&&c.getAttribute("data-prefix")===m&&c.getAttribute("data-icon")===g)r();else{e.setAttribute(n,g),c&&e.removeChild(c);var w={iconName:null,title:null,titleId:null,prefix:null,transform:df,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},L=w.extra;L.attributes["data-fa-pseudo-element"]=t,yp(v,m).then((function(a){var i=fp(_d(_d({},w),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:g,extra:L,watchable:!0})),o=Pd.createElement("svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=i.map((function(e){return Sf(e)})).join("\n"),e.removeAttribute(n),r()})).catch(a)}}else r()}))}function Kp(e){return Promise.all([Jp(e,"::before"),Jp(e,"::after")])}function Qp(e){return!(e.parentNode===document.head||~Hd.indexOf(e.tagName.toUpperCase())||e.getAttribute("data-fa-pseudo-element")||e.parentNode&&"svg"===e.parentNode.tagName)}function Zp(e){if(qd)return new Promise((function(t,n){var r=pf(e.querySelectorAll("*")).filter(Qp).map(Kp),a=wp("searchPseudoElements");Np(),Promise.all(r).then((function(){a(),xp(),t()})).catch((function(){a(),xp(),n()}))}))}var em=!1,tm=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},nm={mixout:function(){return{parse:{transform:function(e){return tm(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=tm(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,a=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(a/2*-1," -256)")}};return{tag:"g",attributes:_d({},l.outer),children:[{tag:"g",attributes:_d({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:_d(_d({},t.icon.attributes),l.path)}]}]}}}},rm={x:0,y:0,width:"100%",height:"100%"};function am(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var im,om={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Kf(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=$f()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,s=e.transform,c=a.width,l=a.icon,u=i.width,d=i.icon,f=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:c}),p={tag:"rect",attributes:_d(_d({},rm),{},{fill:"white"})},m=l.children?{children:l.children.map(am)}:{},h={tag:"g",attributes:_d({},f.inner),children:[am(_d({tag:l.tag,attributes:_d(_d({},l.attributes),f.path)},m))]},b={tag:"g",attributes:_d({},f.outer),children:[h]},M="mask-".concat(o||ff()),y="clip-".concat(o||ff()),v={tag:"mask",attributes:_d(_d({},rm),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,b]},g={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=d,"g"===t.tag?t.children:[t])},v]};return n.push(g,{tag:"rect",attributes:_d({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(M,")")},rm)}),{children:n,attributes:r}}}};im={mixoutsTo:lp}.mixoutsTo,Zf=[_f,Xp,Fp,Up,Vp,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Zp,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Pd:t;cf.searchPseudoElements&&Zp(n)}}},{mixout:function(){return{dom:{unwatch:function(){Np(),em=!0}}}},hooks:function(){return{bootstrap:function(){Cp(rp("mutationObserverCallbacks",{}))},noAuto:function(){Dp&&Dp.disconnect()},watch:function(e){var t=e.observeMutationsRoot;em?xp():Cp(rp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},nm,om,{provides:function(e){var t=!1;Yd.matchMedia&&(t=Yd.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:_d(_d({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=_d(_d({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:_d(_d({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:_d(_d({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_d(_d({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:_d(_d({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:_d(_d({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:_d(_d({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:_d(_d({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],ep={},Object.keys(tp).forEach((function(e){-1===np.indexOf(e)&&delete tp[e]})),Zf.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(im[e]=t[e]),"object"===wd(t[e])&&Object.keys(t[e]).forEach((function(n){im[e]||(im[e]={}),im[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){ep[e]||(ep[e]=[]),ep[e].push(n[e])}))}e.provides&&e.provides(tp)}));var sm=lp.parse,cm=lp.icon;function lm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function um(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function mm(e){return function(e){if(Array.isArray(e))return hm(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return hm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hm(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?fm({},e,t):{}}var wm=["forwardedRef"];function Lm(e){var t=e.forwardedRef,n=pm(e,wm),r=n.icon,a=n.mask,i=n.symbol,o=n.className,s=n.title,c=n.titleId,l=n.maskId,u=gm(r),d=_m("classes",[].concat(mm(function(e){var t,n=e.beat,r=e.fade,a=e.beatFade,i=e.bounce,o=e.shake,s=e.flash,c=e.spin,l=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,m=e.border,h=e.listItem,b=e.flip,M=e.size,y=e.rotation,v=e.pull,g=(fm(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":i,"fa-shake":o,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":m,"fa-li":h,"fa-flip":!0===b,"fa-flip-horizontal":"horizontal"===b||"both"===b,"fa-flip-vertical":"vertical"===b||"both"===b},"fa-".concat(M),null!=M),fm(t,"fa-rotate-".concat(y),null!=y&&0!==y),fm(t,"fa-pull-".concat(v),null!=v),fm(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map((function(e){return g[e]?e:null})).filter((function(e){return e}))}(n)),mm(o.split(" ")))),f=_m("transform","string"==typeof n.transform?sm.transform(n.transform):n.transform),p=_m("mask",gm(a)),m=cm(u,um(um(um(um({},d),f),p),{},{symbol:i,title:s,titleId:c,maskId:l}));if(!m)return function(){var e;!vm&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=m.abstract,b={ref:t};return Object.keys(n).forEach((function(e){Lm.defaultProps.hasOwnProperty(e)||(b[e]=n[e])})),Am(h[0],b)}Lm.displayName="FontAwesomeIcon",Lm.propTypes={beat:Jn.a.bool,border:Jn.a.bool,beatFade:Jn.a.bool,bounce:Jn.a.bool,className:Jn.a.string,fade:Jn.a.bool,flash:Jn.a.bool,mask:Jn.a.oneOfType([Jn.a.object,Jn.a.array,Jn.a.string]),maskId:Jn.a.string,fixedWidth:Jn.a.bool,inverse:Jn.a.bool,flip:Jn.a.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Jn.a.oneOfType([Jn.a.object,Jn.a.array,Jn.a.string]),listItem:Jn.a.bool,pull:Jn.a.oneOf(["right","left"]),pulse:Jn.a.bool,rotation:Jn.a.oneOf([0,90,180,270]),shake:Jn.a.bool,size:Jn.a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Jn.a.bool,spinPulse:Jn.a.bool,spinReverse:Jn.a.bool,symbol:Jn.a.oneOfType([Jn.a.bool,Jn.a.string]),title:Jn.a.string,titleId:Jn.a.string,transform:Jn.a.oneOfType([Jn.a.string,Jn.a.object]),swapOpacity:Jn.a.bool},Lm.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Am=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=ym(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[bm(t)]=r}return e}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,c=pm(r,Mm);return i.attrs.style=um(um({},i.attrs.style),s),t.apply(void 0,[n.tag,um(um({},i.attrs),c)].concat(mm(a)))}.bind(null,me.a.createElement),Tm=function(e){var t;return"undefined"==typeof document?null:null==e?Gr().body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(t=e)&&t.nodeType&&e||null)};function Om(e,t){var n=Object(pe.useState)((function(){return Tm(e)})),r=n[0],a=n[1];if(!r){var i=Tm(e);i&&a(i)}return Object(pe.useEffect)((function(){t&&r&&t(r)}),[t,r]),Object(pe.useEffect)((function(){var t=Tm(e);t!==r&&a(t)}),[e,r]),r}var Sm=me.a.forwardRef((function(e,t){var n=e.flip,r=e.offset,a=e.placement,i=e.containerPadding,o=void 0===i?5:i,s=e.popperConfig,c=void 0===s?{}:s,l=e.transition,u=Fc(),d=u[0],f=u[1],p=Fc(),m=p[0],h=p[1],b=Bu(f,t),M=Om(e.container),y=Om(e.target),v=Object(pe.useState)(!e.show),g=v[0],_=v[1],w=lu(y,d,Mu({placement:a,enableEvents:!!e.show,containerPadding:o||5,flip:n,offset:r,arrowElement:m,popperConfig:c})),L=w.styles,A=w.attributes,T=er(w,["styles","attributes"]);e.show?g&&_(!1):e.transition||g||_(!0);var O=e.show||l&&!g;if(bu(d,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!O)return null;var S=e.children(Zn({},T,{show:!!e.show,props:Zn({},A.popper,{style:L.popper,ref:b}),arrowProps:Zn({},A.arrow,{style:L.arrow,ref:h})}));if(l){var k=e.onExit,z=e.onExiting,E=e.onEnter,N=e.onEntering,x=e.onEntered;S=me.a.createElement(l,{in:e.show,appear:!0,onExit:k,onExiting:z,onExited:function(){_(!0),e.onExited&&e.onExited.apply(e,arguments)},onEnter:E,onEntering:N,onEntered:x},S)}return M?be.a.createPortal(S,M):null}));Sm.displayName="Overlay",Sm.propTypes={show:Jn.a.bool,placement:Jn.a.oneOf(Al),target:Jn.a.any,container:Jn.a.any,flip:Jn.a.bool,children:Jn.a.func.isRequired,containerPadding:Jn.a.number,popperConfig:Jn.a.object,rootClose:Jn.a.bool,rootCloseEvent:Jn.a.oneOf(["click","mousedown"]),rootCloseDisabled:Jn.a.bool,onHide:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var nh=me.a.forwardRef((function(e,t){var n=e.children,r=e.variant,a=th(e,Jm);return me.a.createElement(Gm,eh({},a,{className:Qn()({"tooltip-light":"light"===r},a.className),ref:t}),n)}));nh.propTypes=Qm(Qm({},Gm.propTypes),{},{id:Jn.a.string.isRequired,placement:Jn.a.oneOf(["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"]),arrowProps:Jn.a.shape({ref:Jn.a.oneOfType([Jn.a.func,Jn.a.shape({current:Jn.a.element})]),style:Jn.a.shape({})}),show:Jn.a.bool,popper:Jn.a.shape({}),bsPrefix:Jn.a.string,children:Jn.a.node,className:Jn.a.string,variant:Jn.a.string}),nh.defaultProps=Qm(Qm({},nh.defaultProps),{},{id:void 0,placement:"right",arrowProps:void 0,show:void 0,popper:void 0,children:void 0,className:void 0,variant:void 0,bsPrefix:"tooltip"});var rh=nh;function ah(e){return(ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ih(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ah(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ah(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ah(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oh=["className","alt","invertColors","icon","src","iconClassNames","onClick","size","variant","iconAs","isActive"],sh=["tooltipPlacement","tooltipContent","variant","invertColors"];function ch(){return(ch=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var uh=me.a.forwardRef((function(e,t){var n=e.className,r=e.alt,a=e.invertColors,i=e.icon,o=e.src,s=e.iconClassNames,c=e.onClick,l=e.size,u=e.variant,d=e.iconAs,f=e.isActive,p=lh(e,oh),m=a?"inverse-":"",h=f?"".concat(u,"-"):"",b=d||Lm;return me.a.createElement("button",ch({"aria-label":r,className:Qn()("btn-icon","btn-icon-".concat(m).concat(u),"btn-icon-".concat(l),ih({},"btn-icon-".concat(m).concat(h,"active"),f),n),onClick:c,type:"button",ref:t},p),me.a.createElement("span",{className:"btn-icon__icon-container"},me.a.createElement(b,{className:Qn()("btn-icon__icon",s),icon:i,src:o})))}));function dh(e){var t=e.tooltipPlacement,n=e.tooltipContent,r=e.variant,a=e.invertColors,i=lh(e,sh),o=a?"inverse-":"";return me.a.createElement(Xm,{placement:t,overlay:me.a.createElement(rh,{id:"iconbutton-tooltip-".concat(t),variant:o?"light":""},n)},me.a.createElement(uh,ch({variant:r,invertColors:a},i)))}uh.defaultProps={iconAs:void 0,src:null,icon:void 0,iconClassNames:void 0,className:void 0,invertColors:!1,variant:"primary",size:"md",onClick:function(){},isActive:!1},uh.propTypes={className:Jn.a.string,iconAs:Jn.a.elementType,src:Jn.a.oneOfType([Jn.a.element,Jn.a.func]),alt:Jn.a.string.isRequired,invertColors:Jn.a.bool,icon:Jn.a.shape({prefix:Jn.a.string,iconName:Jn.a.string,icon:Jn.a.array}),iconClassNames:Jn.a.string,onClick:Jn.a.func,variant:Jn.a.oneOf(["primary","secondary","success","warning","danger","light","dark","black","brand"]),size:Jn.a.oneOf(["sm","md","inline"]),isActive:Jn.a.bool},dh.defaultProps={tooltipPlacement:"top",variant:"primary",invertColors:!1},dh.propTypes={tooltipPlacement:Jn.a.string,tooltipContent:Jn.a.node.isRequired,variant:Jn.a.oneOf(["primary","secondary","success","warning","danger","light","dark","black","brand"]),invertColors:Jn.a.bool},uh.IconButtonWithTooltip=dh;var fh=uh;var ph=function(){return(ph=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0})).sort(Zh)},tb=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),nb="".concat(tb,", [data-focus-guard]"),rb=function(e,t){var n;return Wh((null===(n=e.shadowRoot)||void 0===n?void 0:n.children)||e.children).reduce((function(e,n){return e.concat(n.matches(t?nb:tb)?[n]:[],rb(n))}),[])},ab=function(e,t){return e.reduce((function(e,n){return e.concat(rb(n,t),n.parentNode?Wh(n.parentNode.querySelectorAll(tb)).filter((function(e){return e===n})):[])}),[])},ib=function(e,t){return Wh(e).filter((function(e){return Xh(t,e)})).filter((function(e){return function(e){return!((Vh(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},ob=function(e,t){return void 0===t&&(t=new Map),Wh(e).filter((function(e){return Fh(t,e)}))},sb=function(e,t,n){return eb(ib(ab(e,n),t),!0,n)},cb=function(e,t){return eb(ib(ab(e),t),!1)},lb=function(e,t){return ib((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),Wh(n).map((function(e){return ab([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n},ub=function(e,t){return(e.shadowRoot?ub(e.shadowRoot,t):Object.getPrototypeOf(e).contains.call(e,t))||Wh(e.children).some((function(e){return ub(e,t)}))},db=function(e){return e.activeElement?e.activeElement.shadowRoot?db(e.activeElement.shadowRoot):e.activeElement:void 0},fb=function(){return document.activeElement?document.activeElement.shadowRoot?db(document.activeElement.shadowRoot):document.activeElement:void 0},pb=function(e){return e.parentNode?pb(e.parentNode):e},mb=function(e){return qh(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute("data-focus-lock");return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(a),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(Wh(pb(t).querySelectorAll("[".concat("data-focus-lock",'="').concat(n,'"]:not([').concat("data-focus-lock-disabled",'="disabled"])')))):[t]),e}),[])},hb=function(e){return Boolean(Wh(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},bb=function(e){var t=document&&fb();return!(!t||t.dataset&&t.dataset.focusGuard)&&mb(e).some((function(e){return ub(e,t)||hb(e)}))},Mb=function(e,t){return Gh(e)&&e.name?function(e,t){return t.filter(Gh).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},yb=function(e){return e[0]&&e.length>1?Mb(e[0],e):e[0]},vb=function(e,t){return e.length>1?e.indexOf(Mb(e[t],e)):t},gb=function(e,t,n,r){var a=e.length,i=e[0],o=e[a-1],s=Jh(n);if(!(n&&e.indexOf(n)>=0)){var c,l,u=void 0!==n?t.indexOf(n):-1,d=r?t.indexOf(r):u,f=r?e.indexOf(r):-1,p=u-d,m=t.indexOf(i),h=t.indexOf(o),b=(c=t,l=new Set,c.forEach((function(e){return l.add(Mb(e,c))})),c.filter((function(e){return l.has(e)}))),M=(void 0!==n?b.indexOf(n):-1)-(r?b.indexOf(r):u),y=vb(e,0),v=vb(e,a-1);return-1===u||-1===f?"NEW_FOCUS":!p&&f>=0?f:u<=m&&s&&Math.abs(p)>1?v:u>=h&&s&&Math.abs(p)>1?y:p&&Math.abs(M)>1?f:u<=m?v:u>h?y:p?Math.abs(p)>1?f:(a+f+p)%a:void 0}},_b=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&_b(e.parentNode.host||e.parentNode,t),t},wb=function(e,t){for(var n=_b(e),r=_b(t),a=0;a=0)return i}return!1},Lb=function(e,t,n){var r=qh(e),a=qh(t),i=r[0],o=!1;return a.filter(Boolean).forEach((function(e){o=wb(o||e,e)||o,n.filter(Boolean).forEach((function(e){var t=wb(i,e);t&&(o=!o||ub(t,o)?t:wb(t,o))}))})),o},Ab=function(e,t){var n=document&&fb(),r=mb(e).filter(Kh),a=Lb(n||e,e,r),i=new Map,o=cb(r,i),s=sb(r,i).filter((function(e){var t=e.node;return Kh(t)}));if(s[0]||(s=o)[0]){var c,l,u,d,f=cb([a],i).map((function(e){return e.node})),p=(c=f,l=s,u=new Map,l.forEach((function(e){return u.set(e.node,e)})),c.map((function(e){return u.get(e)})).filter(Qh)),m=p.map((function(e){return e.node})),h=gb(m,f,n,t);if("NEW_FOCUS"===h){var b=ob(o.map((function(e){return e.node}))).filter((d=function(e,t){return e.reduce((function(e,n){return e.concat(lb(n,t))}),[])}(r,i),function(e){var t;return e.autofocus||!!(null===(t=Uh(e))||void 0===t?void 0:t.autofocus)||d.indexOf(e)>=0}));return{node:b&&b.length?yb(b):yb(ob(m))}}return void 0===h?h:p[h]}},Tb=0,Ob=!1,Sb=function(e,t,n){void 0===n&&(n={});var r,a,i=Ab(e,t);if(!Ob&&i){if(Tb>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Ob=!0,void setTimeout((function(){Ob=!1}),1);Tb++,r=i.node,a=n.focusOptions,"focus"in r&&r.focus(a),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),Tb--}},kb=function(e){var t=mb(e).filter(Kh),n=Lb(e,e,t),r=new Map,a=sb([n],r,!0),i=sb(t,r).filter((function(e){var t=e.node;return Kh(t)})).map((function(e){return e.node}));return a.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:Jh(t)}}))};function zb(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var Eb=function(){return document&&document.activeElement===document.body||!!(e=document&&fb())&&Wh(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return ub(t,e)}));var e},Nb=null,xb=null,Db=null,Cb=!1,jb=function(){return!0};function Yb(e,t,n,r){var a=null,i=e;do{var o=r[i];if(o.guard)o.node.dataset.focusAutoGuard&&(a=o);else{if(!o.lockItem)break;if(i!==e)return;a=null}}while((i+=n)!==t);a&&(a.node.tabIndex=0)}var Pb=function(e){return e&&"current"in e?e.current:e},Rb=function(){var e,t=!1;if(Nb){var n=Nb,r=n.observed,a=n.persistentFocus,i=n.autoFocus,o=n.shards,s=n.crossFrame,c=n.focusOptions,l=r||Db&&Db.portaledElement,u=document&&document.activeElement;if(l){var d=[l].concat(o.map(Pb).filter(Boolean));if(u&&!function(e){return(Nb.whiteList||jb)(e)}(u)||(a||(s?Boolean(Cb):"meanwhile"===Cb)||!Eb()||!xb&&i)&&(l&&!(bb(d)||u&&function(e,t){return t.some((function(t){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(e,t,t)}))}(u,d)||(e=u,Db&&Db.portaledElement===e))&&(document&&!xb&&u&&!i?(u.blur&&u.blur(),document.body.focus()):(t=Sb(d,xb,{focusOptions:c}),Db={})),Cb=!1,xb=document&&document.activeElement),document){var f=document&&document.activeElement,p=kb(d),m=p.map((function(e){return e.node})).indexOf(f);m>-1&&(p.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),Yb(m,p.length,1,p),Yb(m,-1,-1,p))}}}return t},Wb=function(e){Rb()&&e&&(e.stopPropagation(),e.preventDefault())},qb=function(){return zb(Rb)},Bb=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(Db={observerNode:n,portaledElement:t})},Hb=function(){Cb="just",setTimeout((function(){Cb="meanwhile"}),0)};Sh.assignSyncMedium(Bb),kh.assignMedium(qb),zh.assignMedium((function(e){return e({moveFocusInside:Sb,focusInside:bb})}));var Ib,Xb=Rh((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!Nb&&(document.addEventListener("focusin",Wb),document.addEventListener("focusout",qb),window.addEventListener("blur",Hb));var n=Nb,r=n&&t&&t.id===n.id;Nb=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(xb=null,r&&n.observed===t.observed||t.onActivation(),Rb(),zb(Rb)):(document.removeEventListener("focusin",Wb),document.removeEventListener("focusout",qb),window.removeEventListener("blur",Hb),xb=null)}))((function(){return null}));Ph(Eh,Xb);function Fb(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ib||n.nc;return t&&e.setAttribute("nonce",t),e}var Ub=function(){var e=0,t=null;return{add:function(n){var r,a;0==e&&(t=Fb())&&(a=n,(r=t).styleSheet?r.styleSheet.cssText=a:r.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vb=function(){var e,t=(e=Ub(),function(t,n){pe.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Gb={left:0,top:0,right:0,gap:0},$b=function(e){return parseInt(e||"",10)||0},Jb=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Gb;var t=function(e){var t=window.getComputedStyle(document.body);var n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[$b(n),$b(r),$b(a)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Kb=Vb(),Qb=function(e,t,n,r){var a=e.left,i=e.top,o=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat("right-scroll-bar-position"," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat("width-before-scroll-bar"," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat("right-scroll-bar-position"," .").concat("right-scroll-bar-position"," {\n right: 0 ").concat(r,";\n }\n \n .").concat("width-before-scroll-bar"," .").concat("width-before-scroll-bar"," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Zb=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r,i=pe.useMemo((function(){return Jb(a)}),[a]);return pe.createElement(Kb,{styles:Qb(i,!t,a,n?"":"!important")})},eM=!1;if("undefined"!=typeof window)try{var tM=Object.defineProperty({},"passive",{get:function(){return eM=!0,!0}});window.addEventListener("test",tM,tM),window.removeEventListener("test",tM,tM)}catch(e){eM=!1}var nM=!!eM&&{passive:!1},rM=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},aM=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),iM(e,n)){var r=oM(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},iM=function(e,t){return"v"===e?function(e){return rM(e,"overflowY")}(t):function(e){return rM(e,"overflowX")}(t)},oM=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},sM=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},cM=function(e){return[e.deltaX,e.deltaY]},lM=function(e){return e&&"current"in e?e.current:e},uM=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},dM=0,fM=[];Ph(wh,(function(e){var t=pe.useRef([]),n=pe.useRef([0,0]),r=pe.useRef(),a=pe.useState(dM++)[0],i=pe.useState((function(){return Vb()}))[0],o=pe.useRef(e);pe.useEffect((function(){o.current=e}),[e]),pe.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;aMath.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=aM(d,u);if(!f)return!0;if(f?a=d:(a="v"===d?"h":"v",f=aM(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=a),!a)return!0;var p=r.current||a;return function(e,t,n,r,a){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{var p=oM(e,s),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&iM(e,s)&&(d+=h,f+=m),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(a&&0===d||!a&&o>d)||!u&&(a&&0===f||!a&&-o>f))&&(l=!0),l}(p,t,e,"h"===p?c:l,!0)}),[]),c=pe.useCallback((function(e){var n=e;if(fM.length&&fM[fM.length-1]===i){var r="deltaY"in n?cM(n):sM(n),a=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,a=r,t[0]===a[0]&&t[1]===a[1]);var t,a}))[0];if(a&&a.should)n.cancelable&&n.preventDefault();else if(!a){var c=(o.current.shards||[]).map(lM).filter(Boolean).filter((function(e){return e.contains(n.target)}));(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),l=pe.useCallback((function(e,n,r,a){var i={name:e,delta:n,target:r,should:a};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),u=pe.useCallback((function(e){n.current=sM(e),r.current=void 0}),[]),d=pe.useCallback((function(t){l(t.type,cM(t),t.target,s(t,e.lockRef.current))}),[]),f=pe.useCallback((function(t){l(t.type,sM(t),t.target,s(t,e.lockRef.current))}),[]);pe.useEffect((function(){return fM.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,nM),document.addEventListener("touchmove",c,nM),document.addEventListener("touchstart",u,nM),function(){fM=fM.filter((function(e){return e!==i})),document.removeEventListener("wheel",c,nM),document.removeEventListener("touchmove",c,nM),document.removeEventListener("touchstart",u,nM)}}),[]);var p=e.removeScrollBar,m=e.inert;return pe.createElement(pe.Fragment,null,m?pe.createElement(i,{styles:uM(a)}):null,p?pe.createElement(Zb,{gapMode:"margin"}):null)}));var pM=new WeakMap,mM=new WeakMap,hM={},bM=0,MM=function(e,t,n){void 0===t&&(t=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e)),void 0===n&&(n="data-aria-hidden");var r=Array.isArray(e)?e:[e];hM[n]||(hM[n]=new WeakMap);var a=hM[n],i=[],o=new Set,s=function(e){e&&!o.has(e)&&(o.add(e),s(e.parentNode))};r.forEach(s);var c=function(e){!e||r.indexOf(e)>=0||Array.prototype.forEach.call(e.children,(function(e){if(o.has(e))c(e);else{var t=e.getAttribute("aria-hidden"),r=null!==t&&"false"!==t,s=(pM.get(e)||0)+1,l=(a.get(e)||0)+1;pM.set(e,s),a.set(e,l),i.push(e),1===s&&r&&mM.set(e,!0),1===l&&e.setAttribute(n,"true"),r||e.setAttribute("aria-hidden","true")}}))};return c(t),o.clear(),bM++,function(){i.forEach((function(e){var t=pM.get(e)-1,r=a.get(e)-1;pM.set(e,t),a.set(e,r),t||(mM.has(e)||e.removeAttribute("aria-hidden"),mM.delete(e)),r||e.removeAttribute(n)})),--bM||(pM=new WeakMap,pM=new WeakMap,mM=new WeakMap,hM={})}},yM=Vb(),vM=function(){return pe.createElement(yM,{styles:"\n [data-focus-on-hidden] {\n pointer-events: none !important;\n }\n"})},gM=function(e){return"current"in e?e.current:e};var _M=Ph(Ch,(function(e){var t=e.setLockProps,n=e.onEscapeKey,r=e.onClickOutside,a=e.shards,i=e.onActivation,o=e.onDeactivation,s=e.noIsolation,c=Object(pe.useState)(void 0),l=c[0],u=c[1],d=Object(pe.useRef)(null),f=Object(pe.useRef)(0);return pe.useEffect((function(){var e=function(e){e.defaultPrevented||"Escape"!==e.code&&"Escape"!==e.key&&27!==e.keyCode||!n||n(e)},t=function(e){e.defaultPrevented||e.target===d.current||e instanceof MouseEvent&&0!==e.button||a&&a.map(gM).some((function(t){return t&&t.contains(e.target)||t===e.target}))||r&&r(e)},i=function(e){t(e),f.current=e.touches.length},o=function(e){f.current=e.touches.length};if(l)return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),document.addEventListener("touchstart",i),document.addEventListener("touchend",o),function(){document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",i),document.removeEventListener("touchend",o)}}),[l,r,n]),Object(pe.useEffect)((function(){if(l)return i&&i(l),function(){o&&o()}}),[!!l]),Object(pe.useEffect)((function(){var e=function(){return null},n=!1;return t({onMouseDown:function(e){d.current=e.target},onTouchStart:function(e){d.current=e.target},onActivation:function(t){s||(e=MM(function(){for(var e=0,t=0,n=arguments.length;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var QM={right:[-2,10],left:[-2,10]};function ZM(e){var t=e.children,n=e.onClose,r=e.isOpen,a=e.positionRef,i=e.isBlocking,o=e.withPortal,s=e.placement,c=e.hasArrow,l=KM(e,$M),u=o?NM:me.a.Fragment,d=QM[s]||[0,10],f=[{name:"eventListeners",options:{scroll:!1}},{name:"offset",options:{offset:function(){return d}}}];return me.a.createElement(GM,{onClose:n,isOpen:r,isBlocking:i},me.a.createElement(u,null,me.a.createElement(UM,JM({modifiers:c?f:null,target:a,placement:s},l),me.a.createElement(LM,{scrollLock:!1,enabled:r,onEscapeKey:n,onClickOutside:n},r&&me.a.createElement("div",{className:"pgn__modal-popup__tooltip"},t,c&&me.a.createElement("div",{id:"arrow","data-testid":"modal-popup-arrow",className:"pgn__modal-popup__arrow pgn__modal-popup__arrow-".concat(s),"data-popper-arrow":""}))))))}ZM.propTypes={children:Jn.a.node.isRequired,onClose:Jn.a.func.isRequired,isOpen:Jn.a.bool.isRequired,isBlocking:Jn.a.bool,withPortal:Jn.a.bool,positionRef:Jn.a.oneOfType([Jn.a.func,Jn.a.shape({current:Jn.a.shape({})})]),placement:UM.propTypes.placement,hasArrow:Jn.a.bool},ZM.defaultProps={isBlocking:!1,withPortal:!1,placement:"bottom-start",positionRef:null,hasArrow:!1};var ey=ZM,ty=["direction","gap","reversed","children","className"];function ny(){return(ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ay=Object(pe.forwardRef)((function(e,t){var n=e.direction,r=e.gap,a=e.reversed,i=e.children,o=e.className,s=ry(e,ty);return me.a.createElement("div",ny({ref:t,className:Qn()("horizontal"===n?"pgn__hstack":"pgn__vstack",r?"pgn__stack-gap--".concat(r):"",a?"pgn__stack-reversed":"",o)},s),i)}));ay.propTypes={children:Jn.a.node.isRequired,direction:Jn.a.oneOf(["horizontal","vertical"]),gap:Jn.a.number,reversed:Jn.a.bool,className:Jn.a.string},ay.defaultProps={direction:"vertical",gap:0,className:void 0,reversed:!1};var iy=ay;function oy(e){return function(e){if(Array.isArray(e))return ly(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cy(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||cy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cy(e,t){if(e){if("string"==typeof e)return ly(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ly(e,t):void 0}}function ly(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function by(e){var t=e.className,n=e.actions,r=hy(e,dy),a=sy(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.handleToggleOn,r=t.handleToggleOff,a=t.handleToggle,i=Object(pe.useState)(e||!1),o=yd(i,2),s=o[0],c=o[1],l=Object(pe.useCallback)((function(){c(!0),n&&n(),a&&a(!0)}),[n,a]),u=Object(pe.useCallback)((function(){c(!1),r&&r(),a&&a(!1)}),[r,a]),d=Object(pe.useCallback)((function(){(s?u:l)()}),[s,l,u]);return[s,l,u,d]}(!1),3),i=a[0],o=a[1],s=a[2],c=sy(Object(pe.useState)(null),2),l=c[0],u=c[1],d=Object(pe.useContext)(Vo),f=sy(d.controlledTableSelections,1)[0].isEntireTableSelected,p=d.selectedFlatRows,m=d.rows,h=Object(fd.a)().width,b=p||m,M=sy(Object(pe.useMemo)((function(){if(h0&&me.a.createElement(me.a.Fragment,null,me.a.createElement(fh,{variant:"secondary",iconAs:di,src:Md,alt:h>yi.small.minWidth?"More actions":"Actions",id:"actions-dropdown",ref:u,onClick:o}),me.a.createElement(ey,{positionRef:l,onClose:s,placement:"bottom-end",isOpen:i},me.a.createElement("div",{className:"pgn__datatable__overflow-actions-menu"},me.a.createElement(iy,{gap:2},v.map(g))))),me.a.createElement("div",{className:"pgn__datatable__visible-actions"},y.map(g)))}by.defaultProps={className:null},by.propTypes={className:Jn.a.string,actions:Jn.a.arrayOf(Jn.a.shape({component:Jn.a.oneOfType([Jn.a.func,Jn.a.element]).isRequired,args:Jn.a.shape({})})).isRequired};var My=by;function yy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return vy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ly(e){var t=e.className,n=wy(e,gy),r=Object(pe.useContext)(Vo),a=r.bulkActions,i={selectedFlatRows:r.selectedFlatRows,isEntireTableSelected:yy(r.controlledTableSelections,1)[0].isEntireTableSelected,tableInstance:r};if("function"==typeof a)return me.a.createElement("div",{className:Qn()("pgn__bulk-actions",t)},a(i));var o=a.map((function(e){return{component:e,args:i}}));return me.a.createElement(My,_y({className:Qn()("pgn__bulk-actions",t),"data-testid":"bulk-actions",actions:o},n))}Ly.defaultProps={className:null},Ly.propTypes={className:Jn.a.string};var Ay=Ly;function Ty(e){var t=e.className,n=Object(pe.useContext)(Vo),r=n.tableActions,a={tableInstance:n};if("function"==typeof r)return me.a.createElement("div",{className:Qn()("pgn__table-actions",t)},r(n));var i=r.map((function(e){return{component:e,args:a}}));return me.a.createElement(My,{className:Qn()("pgn__table-actions",t),"data-testid":"table-actions",actions:i})}Ty.defaultProps={className:void 0},Ty.propTypes={className:Jn.a.string};var Oy=Ty;var Sy=function(){var e=Object(pe.useContext)(Vo),t=e.bulkActions,n=e.tableActions,r=e.selectedFlatRows,a="function"!=typeof t&&(null==t?void 0:t.length)<1,i="function"!=typeof n&&(null==n?void 0:n.length)<1,o=a&&i,s=(null==r?void 0:r.length)>0;return o||i&&!s?null:!a&&s?me.a.createElement(Ay,null):me.a.createElement(Oy,null)};function ky(){return(ky=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Xy(e){var t=e.content,n=e.className,r=Iy(e,By),a=Object(pe.useContext)(Vo),i=a.rows;return a.isLoading||!i||i.length>0?null:me.a.createElement("div",Hy({className:Qn()("pgn__data-table-empty",n)},r),t)}Xy.defaultProps={className:null},Xy.propTypes={className:Jn.a.string,content:Jn.a.string.isRequired};var Fy=Xy;function Uy(){return(Uy=Object.assign?Object.assign.bind():function(e){for(var t=1;te?null:new Error("".concat(n," in ").concat(r," must be a non-NaN number greater than ").concat(e,"."))}},tv=["children","className"];function nv(){return(nv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function av(e){var t=e.children,n=e.className,r=rv(e,tv);return me.a.createElement(xv,null,(function(e){var a=e.buttonRef,i=e.isOpen,o=e.toggle,s=e.triggerId;return me.a.createElement("button",nv({},r,{id:Qn()(s,r.id),"aria-expanded":i,"aria-haspopup":!0,type:"button",ref:a,className:Qn()("dropdown-toggle","btn",n),onClick:function(e){o(e),r.onClick&&r.onClick(e)}}),t)}))}av.propTypes={children:Jn.a.node,className:Jn.a.string},av.defaultProps={children:void 0,className:"btn-light"};var iv=av,ov=["children"];function sv(){return(sv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function lv(e){var t=e.children,n=cv(e,ov);return me.a.createElement(xv,null,(function(e){var r=e.handleMenuKeyDown,a=e.isOpen,i=e.menuRef,o=e.triggerId;return me.a.createElement("div",sv({},n,{"aria-labelledby":o,"aria-hidden":!a,ref:i,role:"menu",className:Qn()("dropdown-menu",{show:a},n.className),onKeyDown:function(e){r(e),n.onKeyDown&&n.onKeyDown(e)}}),t)}))}lv.propTypes={children:Jn.a.node},lv.defaultProps={children:void 0};var uv=lv;function dv(e){return(dv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fv=["type","children","className"];function pv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mv(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Mv(e){var t=e.type,n=e.children,r=e.className,a=bv(e,fv);return me.a.createElement(t,mv(mv({},a),{},{className:Qn()("dropdown-item",r)}),n)}Mv.propTypes={type:Jn.a.string,children:Jn.a.node,className:Jn.a.string},Mv.defaultProps={type:"a",children:void 0,className:null};var yv=Mv;function vv(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function zv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Tv(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Tv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Tv(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ev=me.a.createContext(),Nv=Ev.Provider,xv=Ev.Consumer,Dv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gv(e,t)}(i,e);var t,n,r,a=_v(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),zv(Lv(t=a.call(this,e)),"handleDocumentClick",(function(e){t.containerRef.current.contains(e.target)&&t.containerRef.current!==e.target||t.state.open&&t.close()})),zv(Lv(t),"handleMenuKeyDown",(function(e){switch(e.key){case"ArrowUp":e.preventDefault(),t.focusPrevious();break;case"ArrowDown":e.preventDefault(),t.focusNext();break;case"Tab":e.preventDefault(),e.shiftKey?t.focusPrevious():t.focusNext();break;case"Escape":e.stopPropagation(),t.close()}})),zv(Lv(t),"toggle",(function(){t.state.open?t.close():t.open()})),t.state={open:!1},t.uniqueId=i.idCounter,i.idCounter+=1,t.triggerId="pgn__dropdown-trigger-".concat(t.uniqueId),t.containerRef=me.a.createRef(),t.menuRef=me.a.createRef(),t.buttonRef=me.a.createRef(),t}return t=i,(n=[{key:"componentDidUpdate",value:function(e,t){t.open!==this.state.open&&(this.state.open?this.focusFirst():this.buttonRef.current.focus())}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleDocumentClick,!0)}},{key:"getFocusableElements",value:function(){return Array.from(this.menuRef.current.querySelectorAll('button:not([disabled]), [href]:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled])'))}},{key:"close",value:function(){document.removeEventListener("click",this.handleDocumentClick,!0),this.setState({open:!1})}},{key:"open",value:function(){document.addEventListener("click",this.handleDocumentClick,!0),this.setState({open:!0})}},{key:"focusFirst",value:function(){var e=this.getFocusableElements();e.length&&e[0].focus()}},{key:"focusNext",value:function(){var e=this.getFocusableElements();if(0!==e.length){var t=e.indexOf(document.activeElement);e[(t+1)%e.length].focus()}}},{key:"focusPrevious",value:function(){var e=this.getFocusableElements();if(0!==e.length){var t=e.indexOf(document.activeElement);e[(t-1+e.length)%e.length].focus()}}},{key:"render",value:function(){var e=this.props,t=e.children,n=kv(e,Ov);return me.a.createElement("div",Sv({},n,{className:Qn()("dropdown",{show:this.state.open},n.className),ref:this.containerRef}),me.a.createElement(Nv,{value:{buttonRef:this.buttonRef,handleMenuKeyDown:this.handleMenuKeyDown,isOpen:this.state.open,menuRef:this.menuRef,toggle:this.toggle,triggerId:this.triggerId}},t))}}])&&vv(t.prototype,n),r&&vv(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(me.a.Component);zv(Dv,"idCounter",0),Dv.propTypes={children:Jn.a.node},Dv.Item=yv,Dv.Button=iv,Dv.Menu=uv;var Cv=ni(Dv,"Dropdown",{menuItems:{deprType:ti.MOVED_AND_FORMAT,message:"They should be components sent as children.",newName:"children",transform:function(e,t){return Array.isArray(e)?me.a.createElement(me.a.Fragment,null,me.a.createElement(iv,null,me.a.isValidElement(t.iconElement)?t.iconElement:null,t.title),me.a.createElement(uv,null,e.map((function(e,t){return me.a.isValidElement(e)?me.a.cloneElement(e,{className:"dropdown-item",key:t}):me.a.createElement(yv,{key:t,href:e.href},e.label)})))):null}},title:{deprType:ti.REMOVED,message:"It should be specified inside the Dropdown.Button component"},buttonType:{deprType:ti.REMOVED,message:"It should be specified as a className prop"},iconElement:{deprType:ti.REMOVED,message:"It should be specified inside the buttonContent prop."}});Cv.propTypes=Dv.propTypes,Cv.defaultProps=Dv.defaultProps,Cv.Item=Dv.Item,Cv.Button=Dv.Button,Cv.Menu=Dv.Menu;var jv=Cv;function Yv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pv(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Uv=me.a.forwardRef((function(e,t){var n=e.show,r=e.autoClose,a=e.onToggle,i=e.variant,o=e.className,s=Fv(e,Wv),c=Yv(me.a.useState(n),2),l=c[0],u=c[1];return me.a.createElement(sd,Hv({className:Qn()("pgn__dropdown","pgn__dropdown-".concat(i),o),"data-testid":"dropdown",onToggle:function(e,t,n){if(e)return u(!0),void(null==a||a(e,t,n));var i=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:[],n=t.filter((function(t){return!e.includes(t.id)}));return n}(c.map((function(e){return e.id})),i);e.length&&u(Ko(e,a))}}),[l,c,a,i,u]);var d={className:t,numSelectedRows:l?a:c.length,numSelectedRowsOnPage:(i||[]).filter((function(e){return e.isSelected})).length,clearSelectionText:n,onSelectAll:function(){return u({type:"SELECT ALL ROWS ALL PAGES"})},onClear:function(){return u({type:"CLEAR SELECTION"})}};return me.a.createElement(Yc,d)}gg.defaultProps={className:void 0,clearSelectionText:void 0},gg.propTypes={className:Jn.a.string,clearSelectionText:Jn.a.oneOfType([Jn.a.string,Jn.a.element])};var _g=gg;function wg(e){var t=e.columns,n=e.manualFilters,r=e.onFilter,a=e.currentFilters;return me.a.createElement("div",null,me.a.createElement("h4",null,"Filters"),t.map((function(e){return me.a.createElement("div",{key:e.Header},e.canFilter?e.render("Filter"):null)})),n&&me.a.createElement(Qi,{type:"primary",onClick:function(){return r(a)}},"Filter"))}wg.defaultProps={manualFilters:!1,onFilter:function(){}},wg.propTypes={columns:Jn.a.arrayOf(Jn.a.shape({Header:Jn.a.oneOfType([Jn.a.func,Jn.a.node]).isRequired,canFilter:Jn.a.bool,render:Jn.a.func.isRequired})).isRequired,manualFilters:Jn.a.bool,onFilter:Jn.a.func,currentFilters:Jn.a.arrayOf(Jn.a.shape()).isRequired};var Lg=wg;function Ag(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Tg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tg(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;return me.a.createElement("div",{className:"pgn__data-table-side-filters"},me.a.createElement("h3",{className:"pgn__data-table-side-filters-title"},t||me.a.createElement(qa,{id:"pgn.DataTable.SidebarFilters.title",defaultMessage:"Filters",description:"Title for the sidebar filters component"})),me.a.createElement("hr",null),i.map((function(e){return me.a.createElement("div",{key:e.Header,className:"pgn__data-table-side-filters-item"},e.render("Filter"))})),o&&me.a.createElement(xc,{className:"pgn__data-table-side-filters-status",showFilteredFields:!1,variant:"tertiary"}))}Cg.propTypes={title:Jn.a.oneOfType([Jn.a.string,Jn.a.element])},Cg.defaultProps={title:void 0};var jg=Cg;function Yg(e){var t=e.filtersTitle,n=e.className,r=e.children,a=Object(pe.useContext)(Vo),i=a.setFilter,o=a.showFiltersInSidebar;return me.a.createElement("div",{className:Qn()("pgn__data-table-layout-wrapper",n)},o&&i&&me.a.createElement("div",{className:"pgn__data-table-layout-sidebar"},me.a.createElement(jg,{title:t})),me.a.createElement("div",{className:"pgn__data-table-layout-main"},r))}Yg.propTypes={className:Jn.a.string,children:Jn.a.node.isRequired,filtersTitle:Jn.a.oneOfType([Jn.a.string,Jn.a.element])},Yg.defaultProps={className:null,filtersTitle:void 0};var Pg=Yg;function Rg(e){var t=e.getToggleAllRowsExpandedProps,n=e.isAllRowsExpanded;return me.a.createElement("span",t(),n?me.a.createElement(Qi,{variant:"link",size:"inline"},me.a.createElement(qa,{id:"pgn.DataTable.ExpandAll.collapseAllLabel",defaultMessage:"Collapse all",description:"Label of an action button that collapses all expandable rows of DataTable."})):me.a.createElement(Qi,{variant:"link",size:"inline"},me.a.createElement(qa,{id:"pgn.DataTable.ExpandAll.expandAllLabel",defaultMessage:"Expand all",description:"Label of an action button that expands all expandable rows of DataTable."})))}Rg.propTypes={getToggleAllRowsExpandedProps:Jn.a.func.isRequired,isAllRowsExpanded:Jn.a.bool.isRequired};var Wg=Rg;function qg(){return(qg=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:e_,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case"SET SELECTED ROWS":var n=Vg()([].concat(Qg(e.selectedRows),Qg(t.rows)),(function(e){return e.id})),r=Jg(Jg({},e),{},{selectedRows:n});return n.length===t.itemCount&&(r.isEntireTableSelected=!0),r;case"SELECT ALL ROWS ALL PAGES":return Jg(Jg({},e),{},{isEntireTableSelected:!0});case"DELETE ROW":return{selectedRows:e.selectedRows.filter((function(e){return e.id!==t.rowId})),isEntireTableSelected:!1};case"ADD ROW":var a=Vg()([].concat(Qg(e.selectedRows),[t.row]),(function(e){return e.id})),i=a.length===t.itemCount;return{selectedRows:a,isEntireTableSelected:i};case"CLEAR SELECTION":return e_;case"CLEAR PAGE SELECTION":return{isEntireTableSelected:!1,selectedRows:e.selectedRows.filter((function(e){return!t.rowIds.includes(e.id)}))};default:return e}};function n_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||a_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r_(e){return function(e){if(Array.isArray(e))return i_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a_(e,t){if(e){if("string"==typeof e)return i_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i_(e,t):void 0}}function i_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function m_(e){var t=e.columns,n=e.data,r=e.defaultColumnValues,a=e.additionalColumns,i=e.isSelectable,o=e.isPaginated,s=e.manualPagination,c=e.pageCount,l=e.itemCount,u=e.isFilterable,d=e.manualFilters,f=e.fetchData,p=e.initialState,m=e.isSortable,h=e.manualSortBy,b=e.isExpandable,M=e.renderRowSubComponent,y=e.bulkActions,v=e.tableActions,g=e.numBreakoutFilters,_=e.initialTableOptions,w=e.EmptyTableComponent,L=e.manualSelectColumn,A=e.showFiltersInSidebar,T=e.dataViewToggleOptions,O=e.disableElevation,S=e.isLoading,k=e.children,z=e.onSelectedRowsChanged,E=e.maxSelectedRows,N=e.onMaxSelectedRows,x=p_(e,l_),D=Object(pe.useMemo)((function(){return r}),[r]),C=Object(pe.useMemo)((function(){var e=d_({stateReducer:function(e,t,n){switch(t.type){case"toggleAllRowsSelected":return t.value?e:d_(d_({},e),{},{selectedRowIds:{}});case"toggleRowSelected":var r,a=parseInt(t.id,10),i=n.selectedRowsOrdered,o=void 0===i?[]:i;return r=t.value?[].concat(r_(o),[a]):o.filter((function(e){return e!==a})),d_(d_({},e),{},{selectedRowsOrdered:r});default:return e}}},_);return d_({columns:t,data:n,defaultColumn:D,manualFilters:d,manualPagination:s,manualSortBy:h,initialState:p},e)}),[_,t,n,D,d,s,h,p]),j=n_(Object(pe.useReducer)(t_,e_),2),Y=j[0],P=j[1];o&&s&&(C.pageCount=c||-1);var R=Ec({tableOptions:C,isFilterable:u,isSelectable:i,isPaginated:o,isSortable:m,isExpandable:b});R.push((function(e){e.visibleColumns.push((function(e){return Sc(i,e,a,L)}))}));var W={},q=Y.selectedRows;if(q.length>0){var B={};q.forEach((function(e){B[e.id]=!0})),R.push((function(e){e.useControlledState.push((function(e){return d_(d_({},e),{},{selectedRowIds:B})}))})),W.selectedFlatRows=q}var H=[Y,P],I=zo.useTable.apply(void 0,r_(R)),X=I.state,F=X.pageSize,U=X.pageIndex,V=X.sortBy,G=X.filters,$=X.selectedRowIds;Object(pe.useEffect)((function(){f&&f({pageSize:F,pageIndex:U,sortBy:V,filters:G})}),[f,F,U,V,G]),Object(zo.useMountedLayoutEffect)((function(){z&&z($)}),[$,z]);var J=function(e,t){var n=e.toggleAllRowsSelected,r=Qo(t,2),a=r[0],i=a.selectedRows,o=a.isEntireTableSelected,s=r[1];return{clearSelection:function(){i.length>0||o?s({type:"CLEAR SELECTION"}):n(!1)}}}(I,H),K=d_(d_(d_(d_({},I),{},{itemCount:l,numBreakoutFilters:g,bulkActions:y,tableActions:v,controlledTableSelections:H,showFiltersInSidebar:A,dataViewToggleOptions:T,renderRowSubComponent:M,disableElevation:O,isLoading:S,isSelectable:i,isPaginated:o,manualSelectColumn:L,maxSelectedRows:E,onMaxSelectedRows:N},W),J),x);return me.a.createElement(Vo.Provider,{value:K},me.a.createElement(Pg,null,me.a.createElement("div",{className:Qn()("pgn__data-table-wrapper",{"hide-shadow":!!O})},k||me.a.createElement(me.a.Fragment,null,me.a.createElement(qy,null),me.a.createElement(ns,null),me.a.createElement(w,{content:"No results found"}),me.a.createElement(Mg,null)))))}m_.defaultProps={additionalColumns:[],defaultColumnValues:{},isFilterable:!1,isPaginated:!1,isSelectable:!1,isSortable:!1,manualFilters:!1,manualPagination:!1,manualSortBy:!1,fetchData:null,initialState:{},initialTableOptions:{},EmptyTableComponent:Fy,children:null,bulkActions:[],tableActions:[],numBreakoutFilters:1,manualSelectColumn:void 0,SelectionStatusComponent:Rc,FilterStatusComponent:xc,RowStatusComponent:Cc,showFiltersInSidebar:!1,dataViewToggleOptions:{isDataViewToggleEnabled:!1,onDataViewToggle:function(){},defaultActiveStateValue:"card",togglePlacement:"left"},disableElevation:!1,renderRowSubComponent:void 0,isExpandable:!1,isLoading:!1,onSelectedRowsChanged:void 0,maxSelectedRows:void 0,onMaxSelectedRows:void 0},m_.propTypes={columns:Jn.a.arrayOf(Jn.a.shape({Header:Jn.a.oneOfType([Jn.a.func,Jn.a.node]).isRequired,accessor:(s_=Jn.a.string,c_="Cell",kc(s_,(function(e){return!e[c_]}),"not ".concat(c_))),Cell:Jn.a.oneOfType([Jn.a.func,Jn.a.element]),Filter:Jn.a.func,filter:Jn.a.string,filterChoices:Jn.a.arrayOf(Jn.a.shape({name:Jn.a.string,number:Jn.a.number,value:Jn.a.string}))})).isRequired,data:Jn.a.arrayOf(Jn.a.shape({})).isRequired,isSelectable:Jn.a.bool,manualSelectColumn:Jn.a.shape({id:Jn.a.string.isRequired,Header:Jn.a.oneOfType([Jn.a.func,Jn.a.node]).isRequired,Cell:Jn.a.func.isRequired,disableSortBy:Jn.a.bool.isRequired}),isSortable:Jn.a.bool,manualSortBy:Jn.a.bool,isPaginated:Jn.a.bool,manualPagination:Jn.a.bool,pageCount:zc(Jn.a.number,"manualPagination"),isFilterable:Jn.a.bool,manualFilters:Jn.a.bool,defaultColumnValues:Jn.a.shape({Filter:Jn.a.oneOfType([Jn.a.func,Jn.a.node])}),additionalColumns:Jn.a.arrayOf(Jn.a.shape({id:Jn.a.string.isRequired,Header:Jn.a.oneOfType([Jn.a.string,Jn.a.node]),Cell:Jn.a.oneOfType([Jn.a.func,Jn.a.node])})),fetchData:Jn.a.func,initialState:Jn.a.shape({pageSize:zc(Jn.a.number,"isPaginated"),pageIndex:zc(Jn.a.number,"isPaginated"),filters:zc(Jn.a.arrayOf(Jn.a.shape()),"manualFilters"),sortBy:zc(Jn.a.arrayOf(Jn.a.shape()),"manualSortBy"),selectedRowIds:Jn.a.shape(),selectedRowsOrdered:Jn.a.arrayOf(Jn.a.number)}),initialTableOptions:Jn.a.shape({}),itemCount:Jn.a.number.isRequired,bulkActions:Jn.a.oneOfType([Jn.a.arrayOf(Jn.a.oneOfType([Jn.a.shape({buttonText:Jn.a.string.isRequired,handleClick:Jn.a.func.isRequired,className:Jn.a.string,variant:Jn.a.string,disabled:Jn.a.bool}),Jn.a.func,Jn.a.element])),Jn.a.func,Jn.a.element]),tableActions:Jn.a.oneOfType([Jn.a.arrayOf(Jn.a.oneOfType([Jn.a.shape({buttonText:Jn.a.string.isRequired,handleClick:Jn.a.func.isRequired,className:Jn.a.string,variant:Jn.a.string,disabled:Jn.a.bool}),Jn.a.func,Jn.a.element])),Jn.a.func,Jn.a.element]),numBreakoutFilters:Jn.a.oneOf([1,2,3,4]),EmptyTableComponent:Jn.a.func,RowStatusComponent:Jn.a.func,SelectionStatusComponent:Jn.a.func,FilterStatusComponent:Jn.a.func,children:Jn.a.oneOfType([Jn.a.arrayOf(Jn.a.node),Jn.a.node]),showFiltersInSidebar:Jn.a.bool,dataViewToggleOptions:Jn.a.shape({isDataViewToggleEnabled:Jn.a.bool,onDataViewToggle:Jn.a.func,defaultActiveStateValue:Jn.a.string,togglePlacement:Jn.a.string}),disableElevation:Jn.a.bool,renderRowSubComponent:Jn.a.func,isExpandable:Jn.a.bool,isLoading:Jn.a.bool,onSelectedRowsChanged:Jn.a.func,maxSelectedRows:Jn.a.number,onMaxSelectedRows:Jn.a.func},m_.BulkActions=Ay,m_.EmptyTable=Fy,m_.DropdownFilters=hd,m_.FilterStatus=xc,m_.RowStatus=Cc,m_.SelectionStatus=Rc,m_.SmartStatus=qc,m_.Table=ns,m_.TableCell=Uo,m_.TableControlBar=qy,m_.TableFilters=Lg,m_.TableFooter=Mg,m_.TableHeaderCell=Ro,m_.TableHeaderRow=Bo,m_.TablePagination=mg,m_.TablePaginationMinimal=hg,m_.TableActions=Oy,m_.ControlledSelectionStatus=_g,m_.ControlledSelect=kg,m_.ControlledSelectHeader=Dg,m_.ExpandAll=Wg,m_.ExpandRow=Fg;var h_=m_,b_=n(5);function M_(e){return(M_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v_(e){for(var t=1;t=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}function S_(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}function k_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z_(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n header .").concat(this.SLIDABLE_CLASS),this.element).focus())}},{key:"srClear",value:function(){$(this.READER_FEEDBACK_CLASS).html("")}},{key:"srReadTexts",value:function(e){var t=$(this.READER_FEEDBACK_CLASS),n="";this.srClear(),$.each(e,(function(e,t){n="".concat(n,"

").concat(t,"

\n")})),t.html(n)}},{key:"areSRStepsLoading",value:function(){return this.responseView.isRendering||this.peerView.isRendering||this.selfView.isRendering||this.gradeView.isRendering||this.trainingView.isRendering||this.staffView.isRendering}},{key:"announceStatusChangeToSRandFocus",value:function(e,t,n,r,a){var i=this.getStatus(e,r,n);void 0!==t&&$(e,r.element).hasClass("is--showing")&&void 0!==a?($(a,r.element).focus(),this.srStatusUpdates.push(i)):r.announceStatus&&this.srStatusUpdates.push(i),!this.areSRStepsLoading()&&this.srStatusUpdates.length>0&&(this.srReadTexts(this.srStatusUpdates),this.srStatusUpdates=[]),r.announceStatus=!1}},{key:"getStatus",value:function(e,t,n){var r="".concat(e," .step__header .step__title "),a="".concat(r,".step__label"),i="".concat(r,".step__status");return n&&(i="".concat(r,".grade__value")),"".concat($(a,t.element).text().trim()," ").concat($(i,t.element).text().trim())}},{key:"setUpCollapseExpand",value:function(e){var t=this;$(".".concat(t.SLIDABLE_CONTROLS_CLASS),e).each((function(){$(this).on("click",(function(e){e.preventDefault();var n=$(e.target).closest(".".concat(t.SLIDABLE_CONTROLS_CLASS)),r=n.closest(".".concat(t.SLIDABLE_CONTAINER_CLASS)),a=n.find(".".concat(t.SLIDABLE_CLASS)),i=n.next(".".concat(t.SLIDABLE_CONTENT_CLASS));r.hasClass("is--showing")?(i.slideUp(),a.attr("aria-expanded","false"),r.removeClass("is--showing")):r.hasClass("has--error")||r.hasClass("is--empty")||r.hasClass("is--unavailable")||(i.slideDown(),a.attr("aria-expanded","true"),r.addClass("is--showing")),r.removeClass("is--initially--collapsed ")}))}))}},{key:"bindLatexPreview",value:function(e){e.find(".submission__preview__item").hide(),e.find(".submission__preview").click((function(t){t.preventDefault();var n=$(t.target).data("input"),r=e.find('textarea[data-preview="'.concat(n,'"]')).val(),a=e.find('.preview_content[data-preview="'.concat(n,'"]'));a.html(r.replace(/\r\n|\r|\n/g,"
")),a.parent().parent().parent().show(),MathJax.Hub.Queue(["Typeset",MathJax.Hub,a[0]])}))}},{key:"getUsageID",value:function(){return this.usageID||(this.usageID=$(this.element).data("usage-id")),this.usageID}},{key:"load",value:function(){if(this.show_mfe_views){var e,t,n=this.data.CONTEXT||{},r=n.ORA_MICROFRONTEND_URL,a=n.IS_STUDIO,i=this.getUsageID(),o=$(this.element).data("course-id")||(null===(e=window.course)||void 0===e?void 0:e.id),s=$("#ora-mfe-view>iframe",this.element),c=$("#ora-mfe-view .ora-loading",this.element),l=(null===(t=$(".wrapper-preview-menu"))||void 0===t?void 0:t.length)>0,u="xblock";a?u="xblock_studio":l&&(u="xblock_preview"),s.attr("src","".concat(r,"/").concat(u,"/").concat(o,"/").concat(i)),s.on("load",(function(){c.remove(),window.addEventListener("message",(function(e){if(window.origin!==e.origin)if("plugin.resize"===e.data.type){var t=e.data.payload.height;s[0].style.height="".concat(t,"px"),window.parent.postMessage({type:"plugin.resize",payload:{height:document.body.scrollHeight}},document.referrer)}else"plugin.modal-close"===e.data.type?s[0].contentWindow.postMessage(e.data,"*"):"plugin.modal"===e.data.type&&window.parent.length>0&&window.parent.postMessage(e.data,document.referrer)}))}))}else this.responseView.load(),this.loadAssessmentModules();this.staffAreaView.load()}},{key:"loadAssessmentModules",value:function(e){this.trainingView.load(e),this.peerView.load(e),this.staffView.load(e),this.selfView.load(e),this.gradeView.load(e),this.leaderboardView.load(e)}},{key:"loadMessageView",value:function(){this.messageView.load()}},{key:"toggleActionError",value:function(e,t){var n=this.element,r=null;if("save"===e?r=".response__submission__actions":"submit"===e||"peer"===e||"self"===e||"student-training"===e?r=".step__actions":"feedback_assess"===e?r=".submission__feedback__actions":"upload"===e?r=".upload__error":"delete"===e&&(r=".delete__error"),null===r?null!==t&&console.log(t):($("".concat(r," .message__content"),n).html("

".concat(t?_.escape(t):"","

")),$(r,n).toggleClass("has--error",null!==t),$("".concat(r," > .message"),n).focus()),null!==t){var a=$("".concat(r," .message__title")).text();this.srReadTexts([a,t])}}},{key:"showLoadError",value:function(e,t){t||(t=gettext("Unable to load"));var n=$(".step--".concat(e));n.toggleClass("has--error",!0),n.removeClass("is--showing"),n.find(".ui-slidable").attr("aria-expanded","false"),n.find(".step__status__value i").removeClass().addClass("icon fa fa-exclamation-triangle"),n.find(".step__status__value .copy").html(_.escape(t))}},{key:"unsavedWarningEnabled",value:function(e,t,n){if(void 0===e)return null!==window.onbeforeunload;var r=$(this.element).data("usage-id");e?(void 0!==this.unsavedChanges[r]&&this.unsavedChanges[r]||(this.unsavedChanges[r]={}),this.unsavedChanges[r][t]=n,window.onbeforeunload=function(){var e,n=this;return Object.keys(this.unsavedChanges).some((function(r){if(n.unsavedChanges.hasOwnProperty(r)){var a=n.unsavedChanges[r];return Object.keys(a).some((function(n){return!!a.hasOwnProperty(t)&&(e=a[t],!0)}))}return!1})),e}):void 0!==this.unsavedChanges[r]&&(delete this.unsavedChanges[r][t],$.isEmptyObject(this.unsavedChanges[r])&&delete this.unsavedChanges[r],$.isEmptyObject(this.unsavedChanges)&&(window.onbeforeunload=null))}},{key:"buttonEnabled",value:function(e,t){var n=$(e,this.element);return void 0===t?!n.prop("disabled"):(n.prop("disabled",!t),t)}}])&&C_(t.prototype,n),r&&C_(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();window.OpenAssessmentBlock=function(e,t,n){var a=new r.a(e,t);new P_(e,t,a,n).load()},window.CourseOpenResponsesListingBlock=function(e,t,n){new a.a(e,t,n).refreshGrids()},window.StaffAssessmentBlock=function(e,t,n){var a=new r.a(e,t);new P_(e,t,a,n).staffAreaView.installHandlers()},window.WaitingStepDetailsBlock=function(e,t,n){var a=new r.a(e,t),i=new P_(e,t,a,n);x_(i,n)}}]); -//# sourceMappingURL=openassessment-lms.d29f0bd34bb5d82d36fb.js.map \ No newline at end of file +//# sourceMappingURL=openassessment-lms.525a519b6c2e4bc043b0.js.map \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.css b/openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.css deleted file mode 100644 index 06a4bb89ef..0000000000 --- a/openassessment/xblock/static/dist/openassessment-lms.d29f0bd34bb5d82d36fb.css +++ /dev/null @@ -1,3 +0,0 @@ - - -/*# sourceMappingURL=openassessment-lms.d29f0bd34bb5d82d36fb.css.map*/ \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-studio.fba153d2eafbb4c8e78c.js b/openassessment/xblock/static/dist/openassessment-studio.227e19b5d099e14574a2.js similarity index 94% rename from openassessment/xblock/static/dist/openassessment-studio.fba153d2eafbb4c8e78c.js rename to openassessment/xblock/static/dist/openassessment-studio.227e19b5d099e14574a2.js index f0acc1bec9..43a2493698 100644 --- a/openassessment/xblock/static/dist/openassessment-studio.fba153d2eafbb4c8e78c.js +++ b/openassessment/xblock/static/dist/openassessment-studio.227e19b5d099e14574a2.js @@ -22,7 +22,7 @@ * * Date: 2015-10-17 */ -function(e){var t,n,i,r,s,o,a,u,l,c,d,h,f,p,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,E=re(),C=re(),T=re(),S=function(e,t){return e===t&&(d=!0),0},$={}.hasOwnProperty,j=[],N=j.pop,A=j.push,D=j.push,O=j.slice,R=function(e,t){for(var n=0,i=e.length;n+~]|"+I+")"+I+"*"),q=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),U=new RegExp(L),z=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),te=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ne=function(){h()};try{D.apply(j=O.call(w.childNodes),w.childNodes),j[w.childNodes.length].nodeType}catch(e){D={apply:j.length?function(e,t){A.apply(e,O.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,i,r){var s,a,l,c,d,p,g,y,x=t&&t.ownerDocument,k=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return i;if(!r&&((t?t.ownerDocument||t:w)!==f&&h(t),t=t||f,m)){if(11!==k&&(p=K.exec(e)))if(s=p[1]){if(9===k){if(!(l=t.getElementById(s)))return i;if(l.id===s)return i.push(l),i}else if(x&&(l=x.getElementById(s))&&b(t,l)&&l.id===s)return i.push(l),i}else{if(p[2])return D.apply(i,t.getElementsByTagName(e)),i;if((s=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(i,t.getElementsByClassName(s)),i}if(n.qsa&&!T[e+" "]&&(!v||!v.test(e))){if(1!==k)x=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(Z,"\\$&"):t.setAttribute("id",c=_),a=(g=o(e)).length,d=z.test(c)?"#"+c:"[id='"+c+"']";a--;)g[a]=d+" "+pe(g[a]);y=g.join(","),x=Q.test(e)&&he(t.parentNode)||t}if(y)try{return D.apply(i,x.querySelectorAll(y)),i}catch(e){}finally{c===_&&t.removeAttribute("id")}}}return u(e.replace(V,"$1"),t,i,r)}function re(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function se(e){return e[_]=!0,e}function oe(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ce(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return se((function(t){return t=+t,se((function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},s=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=ie.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:w;return o!==f&&9===o.nodeType&&o.documentElement?(p=(f=o).documentElement,m=!s(f),(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ne,!1):r.attachEvent&&r.attachEvent("onunload",ne)),n.attributes=oe((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=oe((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Y.test(f.getElementsByClassName),n.getById=oe((function(e){return p.appendChild(e).id=_,!f.getElementsByName||!f.getElementsByName(_).length})),n.getById?(i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}},i.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Y.test(f.querySelectorAll))&&(oe((function(e){p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+I+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]")})),oe((function(e){var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+I+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Y.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&oe((function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),g.push("!=",L)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(p.compareDocumentPosition),b=t||Y.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===w&&b(w,e)?-1:t===f||t.ownerDocument===w&&b(w,t)?1:c?R(c,e)-R(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,s=t.parentNode,o=[e],a=[t];if(!r||!s)return e===f?-1:t===f?1:r?-1:s?1:c?R(c,e)-R(c,t):0;if(r===s)return ue(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;o[i]===a[i];)i++;return i?ue(o[i],a[i]):o[i]===w?-1:a[i]===w?1:0},f):f},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&h(e),t=t.replace(q,"='$1']"),n.matchesSelector&&m&&!T[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return ie(t,f,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==f&&h(e),b(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==f&&h(e);var r=i.attrHandle[t.toLowerCase()],s=r&&$.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==s?s:n.attributes||!m?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,i=[],r=0,s=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),d){for(;t=e[s++];)t===e[s]&&(r=i.push(s));for(;r--;)e.splice(i[r],1)}return c=null,e},r=ie.getText=function(e){var t,n="",i=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=ie.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=ie.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(M," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,h,f,p,m=s!==o?"nextSibling":"previousSibling",v=t.parentNode,g=a&&t.nodeName.toLowerCase(),y=!u&&!a,b=!1;if(v){if(s){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?v.firstChild:v.lastChild],o&&y){for(b=(f=(l=(c=(d=(h=v)[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===x&&l[1])&&l[2],h=f&&v.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){c[e]=[x,f,b];break}}else if(y&&(b=f=(l=(c=(d=(h=t)[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===x&&l[1]),!1===b)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++b||(y&&((c=(d=h[_]||(h[_]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[x,b]),h!==t)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return r[_]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?se((function(e,n){for(var i,s=r(e,t),o=s.length;o--;)e[i=R(e,s[o])]=!(n[i]=s[o])})):function(e){return r(e,0,n)}):r}},pseudos:{not:se((function(e){var t=[],n=[],i=a(e.replace(V,"$1"));return i[_]?se((function(e,t,n,r){for(var s,o=i(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))})):function(e,r,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}})),has:se((function(e){return function(t){return ie(e,t).length>0}})),contains:se((function(e){return e=e.replace(ee,te),function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}})),lang:se((function(e){return z.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de((function(){return[0]})),last:de((function(e,t){return[t-1]})),eq:de((function(e,t,n){return[n<0?n+t:n]})),even:de((function(e,t){for(var n=0;n=0;)e.push(i);return e})),gt:de((function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function ge(e,t,n,i,r){for(var s,o=[],a=0,u=e.length,l=null!=t;a-1&&(s[l]=!(o[l]=d))}}else g=ge(g===o?g.splice(p,g.length):g),r?r(null,o,g,u):D.apply(o,g)}))}function be(e){for(var t,n,r,s=e.length,o=i.relative[e[0].type],a=o||i.relative[" "],u=o?1:0,c=me((function(e){return e===t}),a,!0),d=me((function(e){return R(t,e)>-1}),a,!0),h=[function(e,n,i){var r=!o&&(i||n!==l)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,r}];u1&&ve(h),u>1&&pe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(V,"$1"),n,u0,r=e.length>0,s=function(s,o,a,u,c){var d,p,v,g=0,y="0",b=s&&[],_=[],w=l,k=s||r&&i.find.TAG("*",c),E=x+=null==w?1:Math.random()||.1,C=k.length;for(c&&(l=o===f||o||c);y!==C&&null!=(d=k[y]);y++){if(r&&d){for(p=0,o||d.ownerDocument===f||(h(d),a=!m);v=e[p++];)if(v(d,o||f,a)){u.push(d);break}c&&(x=E)}n&&((d=!v&&d)&&g--,s&&b.push(d))}if(g+=y,n&&y!==g){for(p=0;v=t[p++];)v(b,_,o,a);if(s){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=N.call(u));_=ge(_)}D.apply(u,_),c&&!s&&_.length>0&&g+t.length>1&&ie.uniqueSort(u)}return c&&(x=E,l=w),b};return n?se(s):s}(s,r))).selector=e}return a},u=ie.select=function(e,t,r,s){var u,l,c,d,h,f="function"==typeof e&&e,p=!s&&o(e=f.selector||e);if(r=r||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(ee,te),t)||[])[0]))return r;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(u=G.needsContext.test(e)?0:l.length;u--&&(c=l[u],!i.relative[d=c.type]);)if((h=i.find[d])&&(s=h(c.matches[0].replace(ee,te),Q.test(l[0].type)&&he(t.parentNode)||t))){if(l.splice(u,1),!(e=s.length&&pe(l)))return D.apply(r,s),r;break}}return(f||a(e,p))(s,t,!m,r,!t||Q.test(e)&&he(t.parentNode)||t),r},n.sortStable=_.split("").sort(S).join("")===_,n.detectDuplicates=!!d,h(),n.sortDetached=oe((function(e){return 1&e.compareDocumentPosition(f.createElement("div"))})),oe((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ae("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&oe((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ae("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),oe((function(e){return null==e.getAttribute("disabled")}))||ae(P,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),ie}(n);m.find=w,m.expr=w.selectors,m.expr[":"]=m.expr.pseudos,m.uniqueSort=m.unique=w.uniqueSort,m.text=w.getText,m.isXMLDoc=w.isXML,m.contains=w.contains;var x=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&m(e).is(n))break;i.push(e)}return i},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=m.expr.match.needsContext,C=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,T=/^.[^:#\[\.,]*$/;function S(e,t,n){if(m.isFunction(t))return m.grep(e,(function(e,i){return!!t.call(e,i,e)!==n}));if(t.nodeType)return m.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(T.test(t))return m.filter(t,e,n);t=m.filter(t,e)}return m.grep(e,(function(e){return c.call(t,e)>-1!==n}))}m.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?m.find.matchesSelector(i,e)?[i]:[]:m.find.matches(e,m.grep(t,(function(e){return 1===e.nodeType})))},m.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if("string"!=typeof e)return this.pushStack(m(e).filter((function(){for(t=0;t1?m.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,"string"==typeof e&&E.test(e)?m(e):e||[],!1).length}});var $,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(m.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||$,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:j.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(i[1])&&m.isPlainObject(t))for(i in t)m.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=o.getElementById(i[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):m.isFunction(e)?void 0!==n.ready?n.ready(e):e(m):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),m.makeArray(e,this))}).prototype=m.fn,$=m(o);var N=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}m.fn.extend({has:function(e){var t=m(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&m.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?m.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?c.call(m(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return e.contentDocument||m.merge([],e.childNodes)}},(function(e,t){m.fn[e]=function(n,i){var r=m.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=m.filter(i,r)),this.length>1&&(A[e]||m.uniqueSort(r),N.test(e)&&r.reverse()),this.pushStack(r)}}));var O,R=/\S+/g;function P(){o.removeEventListener("DOMContentLoaded",P),n.removeEventListener("load",P),m.ready()}m.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return m.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):m.extend({},e);var t,n,i,r,s=[],o=[],a=-1,u=function(){for(r=e.once,i=t=!0;o.length;a=-1)for(n=o.shift();++a-1;)s.splice(n,1),n<=a&&a--})),this},has:function(e){return e?m.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||(s=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},m.extend({Deferred:function(e){var t=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return m.Deferred((function(n){m.each(t,(function(t,s){var o=m.isFunction(e[t])&&e[t];r[s[1]]((function(){var e=o&&o.apply(this,arguments);e&&m.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[s[0]+"With"](this===i?n.promise():this,o?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?m.extend(e,i):i}},r={};return i.pipe=i.then,m.each(t,(function(e,s){var o=s[2],a=s[3];i[s[1]]=o.add,a&&o.add((function(){n=a}),t[1^e][2].disable,t[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?i:this,arguments),this},r[s[0]+"With"]=o.fireWith})),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,s=a.call(arguments),o=s.length,u=1!==o||e&&m.isFunction(e.promise)?o:0,l=1===u?e:m.Deferred(),c=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?a.call(arguments):r,i===t?l.notifyWith(n,i):--u||l.resolveWith(n,i)}};if(o>1)for(t=new Array(o),n=new Array(o),i=new Array(o);r0||(O.resolveWith(o,[m]),m.fn.triggerHandler&&(m(o).triggerHandler("ready"),m(o).off("ready"))))}}),m.ready.promise=function(e){return O||(O=m.Deferred(),"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n.setTimeout(m.ready):(o.addEventListener("DOMContentLoaded",P),n.addEventListener("load",P))),O.promise(e)},m.ready.promise();var I=function(e,t,n,i,r,s,o){var a=0,u=e.length,l=null==n;if("object"===m.type(n))for(a in r=!0,n)I(e,t,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,m.isFunction(i)||(o=!0),l&&(o?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(m(e),n)})),t))for(;a-1&&void 0!==n&&M.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){M.remove(this,e)}))}}),m.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=L.get(e,t),n&&(!i||m.isArray(n)?i=L.access(e,t,m.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),i=n.length,r=n.shift(),s=m._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,(function(){m.dequeue(e,t)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return L.get(e,n)||L.access(e,n,{empty:m.Callbacks("once memory").add((function(){L.remove(e,[t+"queue",n])}))})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Z(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&m.nodeName(e,t)?m.merge([e],n):n}function ee(e,t){for(var n=0,i=e.length;n-1)r&&r.push(s);else if(l=m.contains(s.ownerDocument,s),o=Z(d.appendChild(s),"script"),l&&ee(o),n)for(c=0;s=o[c++];)K.test(s.type||"")&&n.push(s);return d}te=o.createDocumentFragment().appendChild(o.createElement("div")),(ne=o.createElement("input")).setAttribute("type","radio"),ne.setAttribute("checked","checked"),ne.setAttribute("name","t"),te.appendChild(ne),p.checkClone=te.cloneNode(!0).cloneNode(!0).lastChild.checked,te.innerHTML="",p.noCloneChecked=!!te.cloneNode(!0).lastChild.defaultValue;var se=/^key/,oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=/^([^.]*)(?:\.(.+)|)/;function ue(){return!0}function le(){return!1}function ce(){try{return o.activeElement}catch(e){}}function de(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)de(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=le;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return m().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=m.guid++)),e.each((function(){m.event.add(this,t,r,i,n)}))}m.event={global:{},add:function(e,t,n,i,r){var s,o,a,u,l,c,d,h,f,p,v,g=L.get(e);if(g)for(n.handler&&(n=(s=n).handler,r=s.selector),n.guid||(n.guid=m.guid++),(u=g.events)||(u=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==m&&m.event.triggered!==t.type?m.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(R)||[""]).length;l--;)f=v=(a=ae.exec(t[l])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=m.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=m.event.special[f]||{},c=m.extend({type:f,origType:v,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&m.expr.match.needsContext.test(r),namespace:p.join(".")},s),(h=u[f])||((h=u[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),m.event.global[f]=!0)},remove:function(e,t,n,i,r){var s,o,a,u,l,c,d,h,f,p,v,g=L.hasData(e)&&L.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(f=v=(a=ae.exec(t[l])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=m.event.special[f]||{},h=u[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)c=h[s],!r&&v!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||m.removeEvent(e,f,g.handle),delete u[f])}else for(f in u)m.event.remove(e,f+t[l],n,i,!0);m.isEmptyObject(u)&&L.remove(e,"handle events")}},dispatch:function(e){e=m.event.fix(e);var t,n,i,r,s,o=[],u=a.call(arguments),l=(L.get(this,"events")||{})[e.type]||[],c=m.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(o=m.event.handlers.call(this,e,l),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(s.namespace)||(e.handleObj=s,e.data=s.data,void 0!==(i=((m.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,u))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,s,o=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(i=[],n=0;n-1:m.find(r,this,null,[u]).length),i[r]&&i.push(s);i.length&&o.push({elem:u,handlers:i})}return a]*)\/>/gi,fe=/\s*$/g;function ge(e,t){return m.nodeName(e,"table")&&m.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ye(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function be(e){var t=me.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _e(e,t){var n,i,r,s,o,a,u,l;if(1===t.nodeType){if(L.hasData(e)&&(s=L.access(e),o=L.set(t,s),l=s.events))for(r in delete o.handle,o.events={},l)for(n=0,i=l[r].length;n1&&"string"==typeof v&&!p.checkClone&&pe.test(v))return e.each((function(r){var s=e.eq(r);g&&(t[0]=v.call(this,r,s.html())),we(s,t,n,i)}));if(h&&(s=(r=re(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(a=(o=m.map(Z(r,"script"),ye)).length;d")},clone:function(e,t,n){var i,r,s,o,a,u,l,c=e.cloneNode(!0),d=m.contains(e.ownerDocument,e);if(!(p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||m.isXMLDoc(e)))for(o=Z(c),i=0,r=(s=Z(e)).length;i0&&ee(o,!d&&Z(e,"script")),c},cleanData:function(e){for(var t,n,i,r=m.event.special,s=0;void 0!==(n=e[s]);s++)if(F(n)){if(t=n[L.expando]){if(t.events)for(i in t.events)r[i]?m.event.remove(n,i):m.removeEvent(n,i,t.handle);n[L.expando]=void 0}n[M.expando]&&(n[M.expando]=void 0)}}}),m.fn.extend({domManip:we,detach:function(e){return xe(this,e,!0)},remove:function(e){return xe(this,e)},text:function(e){return I(this,(function(e){return void 0===e?m.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return we(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ge(this,e).appendChild(e)}))},prepend:function(){return we(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ge(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return we(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return we(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(Z(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return m.clone(this,e,t)}))},html:function(e){return I(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!fe.test(e)&&!Q[(Y.exec(e)||["",""])[1].toLowerCase()]){e=m.htmlPrefilter(e);try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ce(e,t),ke.detach()),Ee[e]=n),n}var Se=/^margin/,$e=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ne=function(e,t,n,i){var r,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];for(s in r=n.apply(e,i||[]),t)e.style[s]=o[s];return r},Ae=o.documentElement;function De(e,t,n){var i,r,s,o,a=e.style;return""!==(o=(n=n||je(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||m.contains(e.ownerDocument,e)||(o=m.style(e,t)),n&&!p.pixelMarginRight()&&$e.test(o)&&Se.test(t)&&(i=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=r,a.maxWidth=s),void 0!==o?o+"":o}function Oe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,i,r,s=o.createElement("div"),a=o.createElement("div");function u(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ae.appendChild(s);var o=n.getComputedStyle(a);e="1%"!==o.top,r="2px"===o.marginLeft,t="4px"===o.width,a.style.marginRight="50%",i="4px"===o.marginRight,Ae.removeChild(s)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),m.extend(p,{pixelPosition:function(){return u(),e},boxSizingReliable:function(){return null==t&&u(),t},pixelMarginRight:function(){return null==t&&u(),i},reliableMarginLeft:function(){return null==t&&u(),r},reliableMarginRight:function(){var e,t=a.appendChild(o.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",Ae.appendChild(s),e=!parseFloat(n.getComputedStyle(t).marginRight),Ae.removeChild(s),a.removeChild(t),e}}))}();var Re=/^(none|table(?!-c[ea]).+)/,Pe={position:"absolute",visibility:"hidden",display:"block"},Ie={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],He=o.createElement("div").style;function Le(e){if(e in He)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in He)return e}function Me(e,t,n){var i=U.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Ve(e,t,n,i,r){for(var s=n===(i?"border":"content")?4:"width"===t?1:0,o=0;s<4;s+=2)"margin"===n&&(o+=m.css(e,n+z[s],!0,r)),i?("content"===n&&(o-=m.css(e,"padding"+z[s],!0,r)),"margin"!==n&&(o-=m.css(e,"border"+z[s]+"Width",!0,r))):(o+=m.css(e,"padding"+z[s],!0,r),"padding"!==n&&(o+=m.css(e,"border"+z[s]+"Width",!0,r)));return o}function We(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,s=je(e),o="border-box"===m.css(e,"boxSizing",!1,s);if(r<=0||null==r){if(((r=De(e,t,s))<0||null==r)&&(r=e.style[t]),$e.test(r))return r;i=o&&(p.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+Ve(e,t,n||(o?"border":"content"),i,s)+"px"}function Be(e,t){for(var n,i,r,s=[],o=0,a=e.length;o1)},show:function(){return Be(this,!0)},hide:function(){return Be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){G(this)?m(this).show():m(this).hide()}))}}),m.Tween=qe,qe.prototype={constructor:qe,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||m.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(m.cssNumber[n]?"":"px")},cur:function(){var e=qe.propHooks[this.prop];return e&&e.get?e.get(this):qe.propHooks._default.get(this)},run:function(e){var t,n=qe.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):qe.propHooks._default.set(this),this}},qe.prototype.init.prototype=qe.prototype,qe.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[m.cssProps[e.prop]]&&!m.cssHooks[e.prop]?e.elem[e.prop]=e.now:m.style(e.elem,e.prop,e.now+e.unit)}}},qe.propHooks.scrollTop=qe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},m.fx=qe.prototype.init,m.fx.step={};var Ue,ze,Ge=/^(?:toggle|show|hide)$/,Je=/queueHooks$/;function Xe(){return n.setTimeout((function(){Ue=void 0})),Ue=m.now()}function Ye(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=z[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function Ke(e,t,n){for(var i,r=(Qe.tweeners[t]||[]).concat(Qe.tweeners["*"]),s=0,o=r.length;s1)},removeAttr:function(e){return this.each((function(){m.removeAttr(this,e)}))}}),m.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?m.prop(e,t,n):(1===s&&m.isXMLDoc(e)||(t=t.toLowerCase(),r=m.attrHooks[t]||(m.expr.match.bool.test(t)?Ze:void 0)),void 0!==n?null===n?void m.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=m.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&m.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,s=t&&t.match(R);if(s&&1===e.nodeType)for(;n=s[r++];)i=m.propFix[n]||n,m.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),Ze={set:function(e,t,n){return!1===t?m.removeAttr(e,n):e.setAttribute(n,n),n}},m.each(m.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=et[t]||m.find.attr;et[t]=function(e,t,i){var r,s;return i||(s=et[t],et[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,et[t]=s),r}}));var tt=/^(?:input|select|textarea|button)$/i,nt=/^(?:a|area)$/i;m.fn.extend({prop:function(e,t){return I(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[m.propFix[e]||e]}))}}),m.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&m.isXMLDoc(e)||(t=m.propFix[t]||t,r=m.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=m.find.attr(e,"tabindex");return t?parseInt(t,10):tt.test(e.nodeName)||nt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){m.propFix[this.toLowerCase()]=this}));var it=/[\t\r\n\f]/g;function rt(e){return e.getAttribute&&e.getAttribute("class")||""}m.fn.extend({addClass:function(e){var t,n,i,r,s,o,a,u=0;if(m.isFunction(e))return this.each((function(t){m(this).addClass(e.call(this,t,rt(this)))}));if("string"==typeof e&&e)for(t=e.match(R)||[];n=this[u++];)if(r=rt(n),i=1===n.nodeType&&(" "+r+" ").replace(it," ")){for(o=0;s=t[o++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r!==(a=m.trim(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,s,o,a,u=0;if(m.isFunction(e))return this.each((function(t){m(this).removeClass(e.call(this,t,rt(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(R)||[];n=this[u++];)if(r=rt(n),i=1===n.nodeType&&(" "+r+" ").replace(it," ")){for(o=0;s=t[o++];)for(;i.indexOf(" "+s+" ")>-1;)i=i.replace(" "+s+" "," ");r!==(a=m.trim(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):m.isFunction(e)?this.each((function(n){m(this).toggleClass(e.call(this,n,rt(this),t),t)})):this.each((function(){var t,i,r,s;if("string"===n)for(i=0,r=m(this),s=e.match(R)||[];t=s[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=rt(this))&&L.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":L.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+rt(n)+" ").replace(it," ").indexOf(t)>-1)return!0;return!1}});var st=/\r/g,ot=/[\x20\t\r\n\f]+/g;m.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=m.isFunction(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,m(this).val()):e)?r="":"number"==typeof r?r+="":m.isArray(r)&&(r=m.map(r,(function(e){return null==e?"":e+""}))),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=m.valHooks[r.type]||m.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(st,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:m.trim(m.text(e)).replace(ot," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,s="select-one"===e.type||r<0,o=s?null:[],a=s?r+1:i.length,u=r<0?a:s?r:0;u-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),m.each(["radio","checkbox"],(function(){m.valHooks[this]={set:function(e,t){if(m.isArray(t))return e.checked=m.inArray(m(e).val(),t)>-1}},p.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var at=/^(?:focusinfocus|focusoutblur)$/;m.extend(m.event,{trigger:function(e,t,i,r){var s,a,u,l,c,d,h,p=[i||o],v=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=u=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!at.test(v+m.event.triggered)&&(v.indexOf(".")>-1&&(g=v.split("."),v=g.shift(),g.sort()),c=v.indexOf(":")<0&&"on"+v,(e=e[m.expando]?e:new m.Event(v,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:m.makeArray(t,[e]),h=m.event.special[v]||{},r||!h.trigger||!1!==h.trigger.apply(i,t))){if(!r&&!h.noBubble&&!m.isWindow(i)){for(l=h.delegateType||v,at.test(l+v)||(a=a.parentNode);a;a=a.parentNode)p.push(a),u=a;u===(i.ownerDocument||o)&&p.push(u.defaultView||u.parentWindow||n)}for(s=0;(a=p[s++])&&!e.isPropagationStopped();)e.type=s>1?l:h.bindType||v,(d=(L.get(a,"events")||{})[e.type]&&L.get(a,"handle"))&&d.apply(a,t),(d=c&&a[c])&&d.apply&&F(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=v,r||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),t)||!F(i)||c&&m.isFunction(i[v])&&!m.isWindow(i)&&((u=i[c])&&(i[c]=null),m.event.triggered=v,i[v](),m.event.triggered=void 0,u&&(i[c]=u)),e.result}},simulate:function(e,t,n){var i=m.extend(new m.Event,n,{type:e,isSimulated:!0});m.event.trigger(i,null,t)}}),m.fn.extend({trigger:function(e,t){return this.each((function(){m.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return m.event.trigger(e,t,n,!0)}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){m.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),m.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),p.focusin="onfocusin"in n,p.focusin||m.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){m.event.simulate(t,e.target,m.event.fix(e))};m.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=L.access(i,t);r||i.addEventListener(e,n,!0),L.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=L.access(i,t)-1;r?L.access(i,t,r):(i.removeEventListener(e,n,!0),L.remove(i,t))}}}));var ut=n.location,lt=m.now(),ct=/\?/;m.parseJSON=function(e){return JSON.parse(e+"")},m.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+e),t};var dt=/#.*$/,ht=/([?&])_=[^&]*/,ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,pt=/^(?:GET|HEAD)$/,mt=/^\/\//,vt={},gt={},yt="*/".concat("*"),bt=o.createElement("a");function _t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(R)||[];if(m.isFunction(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function wt(e,t,n,i){var r={},s=e===gt;function o(a){var u;return r[a]=!0,m.each(e[a]||[],(function(e,a){var l=a(t,n,i);return"string"!=typeof l||s||r[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),o(l),!1)})),u}return o(t.dataTypes[0])||!r["*"]&&o("*")}function xt(e,t){var n,i,r=m.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&m.extend(!0,e,i),e}bt.href=ut.href,m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ut.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ut.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":yt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?xt(xt(e,m.ajaxSettings),t):xt(m.ajaxSettings,e)},ajaxPrefilter:_t(vt),ajaxTransport:_t(gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,s,a,u,l,c,d,h=m.ajaxSetup({},t),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?m(f):m.event,v=m.Deferred(),g=m.Callbacks("once memory"),y=h.statusCode||{},b={},_={},w=0,x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!a)for(a={};t=ft.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=_[n]=_[n]||e,b[e]=t),this},overrideMimeType:function(e){return w||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)y[t]=[y[t],e[t]];else k.always(e[k.status]);return this},abort:function(e){var t=e||x;return i&&i.abort(t),E(0,t),this}};if(v.promise(k).complete=g.add,k.success=k.done,k.error=k.fail,h.url=((e||h.url||ut.href)+"").replace(dt,"").replace(mt,ut.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=m.trim(h.dataType||"*").toLowerCase().match(R)||[""],null==h.crossDomain){l=o.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=bt.protocol+"//"+bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=m.param(h.data,h.traditional)),wt(vt,h,t,k),2===w)return k;for(d in(c=m.event&&h.global)&&0==m.active++&&m.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!pt.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(ct.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=ht.test(r)?r.replace(ht,"$1_="+lt++):r+(ct.test(r)?"&":"?")+"_="+lt++)),h.ifModified&&(m.lastModified[r]&&k.setRequestHeader("If-Modified-Since",m.lastModified[r]),m.etag[r]&&k.setRequestHeader("If-None-Match",m.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+yt+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,k,h)||2===w))return k.abort();for(d in x="abort",{success:1,error:1,complete:1})k[d](h[d]);if(i=wt(gt,h,t,k)){if(k.readyState=1,c&&p.trigger("ajaxSend",[k,h]),2===w)return k;h.async&&h.timeout>0&&(u=n.setTimeout((function(){k.abort("timeout")}),h.timeout));try{w=1,i.send(b,E)}catch(e){if(!(w<2))throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,o,a){var l,d,b,_,x,E=t;2!==w&&(w=2,u&&n.clearTimeout(u),i=void 0,s=a||"",k.readyState=e>0?4:0,l=e>=200&&e<300||304===e,o&&(_=function(e,t,n){for(var i,r,s,o,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){u.unshift(r);break}if(u[0]in n)s=u[0];else{for(r in n){if(!u[0]||e.converters[r+" "+u[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==u[0]&&u.unshift(s),n[s]}(h,k,o)),_=function(e,t,n,i){var r,s,o,a,u,l={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(s=c.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!u&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=s,s=c.shift())if("*"===s)s=u;else if("*"!==u&&u!==s){if(!(o=l[u+" "+s]||l["* "+s]))for(r in l)if((a=r.split(" "))[1]===s&&(o=l[u+" "+a[0]]||l["* "+a[0]])){!0===o?o=l[r]:!0!==l[r]&&(s=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+u+" to "+s}}}return{state:"success",data:t}}(h,_,k,l),l?(h.ifModified&&((x=k.getResponseHeader("Last-Modified"))&&(m.lastModified[r]=x),(x=k.getResponseHeader("etag"))&&(m.etag[r]=x)),204===e||"HEAD"===h.type?E="nocontent":304===e?E="notmodified":(E=_.state,d=_.data,l=!(b=_.error))):(b=E,!e&&E||(E="error",e<0&&(e=0))),k.status=e,k.statusText=(t||E)+"",l?v.resolveWith(f,[d,E,k]):v.rejectWith(f,[k,E,b]),k.statusCode(y),y=void 0,c&&p.trigger(l?"ajaxSuccess":"ajaxError",[k,h,l?d:b]),g.fireWith(f,[k,E]),c&&(p.trigger("ajaxComplete",[k,h]),--m.active||m.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],(function(e,t){m[t]=function(e,n,i,r){return m.isFunction(n)&&(r=r||i,i=n,n=void 0),m.ajax(m.extend({url:e,type:t,dataType:r,data:n,success:i},m.isPlainObject(e)&&e))}})),m._evalUrl=function(e){return m.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(e){var t;return m.isFunction(e)?this.each((function(t){m(this).wrapAll(e.call(this,t))})):(this[0]&&(t=m(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this)},wrapInner:function(e){return m.isFunction(e)?this.each((function(t){m(this).wrapInner(e.call(this,t))})):this.each((function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m.isFunction(e);return this.each((function(n){m(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)})).end()}}),m.expr.filters.hidden=function(e){return!m.expr.filters.visible(e)},m.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var kt=/%20/g,Et=/\[\]$/,Ct=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function $t(e,t,n,i){var r;if(m.isArray(t))m.each(t,(function(t,r){n||Et.test(e)?i(e,r):$t(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==m.type(t))i(e,t);else for(r in t)$t(e+"["+r+"]",t[r],n,i)}m.param=function(e,t){var n,i=[],r=function(e,t){t=m.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,(function(){r(this.name,this.value)}));else for(n in e)$t(n,e[n],t,r);return i.join("&").replace(kt,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&St.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!X.test(e))})).map((function(e,t){var n=m(this).val();return null==n?null:m.isArray(n)?m.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}}),m.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var jt={0:200,1223:204},Nt=m.ajaxSettings.xhr();p.cors=!!Nt&&"withCredentials"in Nt,p.ajax=Nt=!!Nt,m.ajaxTransport((function(e){var t,i;if(p.cors||Nt&&!e.crossDomain)return{send:function(r,s){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(jt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),m.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain)return{send:function(i,r){t=m("