diff --git a/README.md b/README.md index e9908e61a7..4448e528d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ISIMIP3 simulation protocol =========================== This project builds sector-specific ISIMIP protocols from a common data source. -Machine-readable data is under [definitions](definitions/), and text under [protocol](protocol/). +Machine-readable data are under [definitions](definitions/), and text under [protocol](protocol/). The rendered protocols are found at https://protocol.isimip.org. diff --git a/app/src/app.js b/app/src/app.js index eb8413c466..2162d5d407 100644 --- a/app/src/app.js +++ b/app/src/app.js @@ -137,15 +137,21 @@ setTimeout(() => { ) }) -}, 100) -setTimeout(() => { - // scroll to anchor or position once everthing is settled - if (anchor) { - anchor.scrollIntoView() - } - - // remove the cover div - const cover = document.getElementsByClassName('cover')[0] - cover.remove() -}, 200) + setTimeout(() => { + // scroll to anchor or position once everthing is settled + if (anchor) { + anchor.scrollIntoView() + } + + // set the main height to auto + const main = document.getElementsByTagName('main')[0] + main.style.height = 'auto' + + setTimeout(() => { + // remove the cover div + const cover = document.getElementsByClassName('cover')[0] + cover.remove() + }, 100) + }, 200) +}, 100) diff --git a/app/src/components/Config.js b/app/src/components/Config.js index d41263aae7..e9f162e139 100644 --- a/app/src/components/Config.js +++ b/app/src/components/Config.js @@ -7,6 +7,50 @@ import { actions } from '../store' const Config = ({ definitions, config, actions }) => { + const dev_note = 'Currently in development.' + + const group3_full_note = 'Ready for Group III.' + const group3_half_note = 'Some data are still under construction (see Table 3.1), but models' + + ' not needing those data may already start.' + const group3_none_note = 'Since most of the data are still under construction, the sector is not ready for Group III simulations.' + + const group3_full_badge = ( + + + + + III + + ) + + const group3_half_badge = ( + + + + + + III + + ) + const group3_none_badge = ( + + + + + III + + ) + + const getGroup3Badge = (row) => { + if (row.group3) { + return group3_full_badge + } else if (row.group3_dev) { + return group3_half_badge + } else { + return group3_none_badge + } + } + return (
@@ -42,16 +86,33 @@ const Config = ({ definitions, config, actions }) => { value={row.specifier} checked={config.sectors.includes(row.specifier)} onChange={(event) => actions.changeSector(event.target.value)} /> - +
) }) }
-
- Sectors marked with the 🚧 sign are currently in development and the protocol will not contain all nessesary information, yet. -
+

+ 🚧: {dev_note} +

+

+ {group3_full_badge} {group3_full_note} +

+

+ {group3_half_badge} {group3_half_note} +

+

+ {group3_none_badge} {group3_none_note} +

) } diff --git a/app/src/components/Show.js b/app/src/components/Show.js index 7a4748ebfc..e5e671dd1c 100644 --- a/app/src/components/Show.js +++ b/app/src/components/Show.js @@ -7,6 +7,7 @@ import Sectors from './badges/Sectors' const Show = ({ config, simulationRound, sector, html }) => { let className = 'show-component' + let tocClassName = '' const simulationRounds = simulationRound === undefined ? [] : simulationRound.split(',') const sectors = sector === undefined ? [] : sector.split(',') @@ -16,6 +17,7 @@ const Show = ({ config, simulationRound, sector, html }) => { if (!simulationRounds.includes(config.simulation_round)) { className += ' hidden' + tocClassName = 'hidden' } } if (sectors.length > 0) { @@ -23,6 +25,16 @@ const Show = ({ config, simulationRound, sector, html }) => { if (!(config.sectors.length == 0 || sectors.filter(sector => config.sectors.includes(sector)).length)) { className += ' hidden' + tocClassName = 'hidden' + } + } + + const matches = html.matchAll('

{ const groups = definitions.group.filter(group => group.identifier == identifier) const rows = definitions[identifier] @@ -39,8 +41,14 @@ const Table = ({ definitions, config, identifier, caption, actions }) => { return case 'experiments': return + case 'forcing_data': + return case 'forest_stand': return + case 'group3_ranking': + return + case 'group3_requirements': + return case 'geo_dataset': return case 'harmonization': diff --git a/app/src/components/badges/Mandatory.js b/app/src/components/badges/Mandatory.js new file mode 100644 index 0000000000..5648e6bf19 --- /dev/null +++ b/app/src/components/badges/Mandatory.js @@ -0,0 +1,26 @@ +import React, { Component} from 'react' +import PropTypes from 'prop-types' + +const Mandatory = ({ mandatory }) => { + if (mandatory === undefined) { + return null + } else if (mandatory) { + return ( + + mandatory + + ) + } else { + return ( + + optional + + ) + } +} + +Mandatory.propTypes = { + status: PropTypes.string +} + +export default Mandatory diff --git a/app/src/components/badges/Sectors.js b/app/src/components/badges/Sectors.js index a6e479be25..a8a8fbd2ec 100644 --- a/app/src/components/badges/Sectors.js +++ b/app/src/components/badges/Sectors.js @@ -6,6 +6,9 @@ const Sectors = ({ config, sectors }) => { // sectors are the sectors configured for this badge if (sectors === undefined) { return all sectors + } else if (sectors === []) { + // by setting `sectors: []` the display of sectors can be ommited + return null } else if (sectors === null) { // for the title just display the configured sectors if (config.sectors !== undefined && config.sectors.length > 0) { diff --git a/app/src/components/badges/SocForcing.js b/app/src/components/badges/SocForcing.js new file mode 100644 index 0000000000..c50ce0cad3 --- /dev/null +++ b/app/src/components/badges/SocForcing.js @@ -0,0 +1,14 @@ +import React, { Component} from 'react' +import PropTypes from 'prop-types' + +const SocForcing = ({ socForcings }) => { + return socForcings.map(socForcing => { + return {socForcing} + }) +} + +SocForcing.propTypes = { + socForcings: PropTypes.array +} + +export default SocForcing diff --git a/app/src/components/tables/ExperimentsTable.js b/app/src/components/tables/ExperimentsTable.js index abf9258372..3c5ad34b57 100644 --- a/app/src/components/tables/ExperimentsTable.js +++ b/app/src/components/tables/ExperimentsTable.js @@ -83,7 +83,7 @@ const ExperimentsTable = function({ definitions, config, caption, rows, actions {row.priority &&

{row.priority}

}

- {row.group3 && Group 3} + {row.group3 && Group III}

diff --git a/app/src/components/tables/ForcingDataTable.js b/app/src/components/tables/ForcingDataTable.js new file mode 100644 index 0000000000..ca10ef2f17 --- /dev/null +++ b/app/src/components/tables/ForcingDataTable.js @@ -0,0 +1,170 @@ +import React, { Component} from 'react' +import ReactMarkdown from 'react-markdown' +import PropTypes from 'prop-types' + +import Sectors from '../badges/Sectors' +import Status from '../badges/Status' +import Mandatory from '../badges/Mandatory' +import SocForcing from '../badges/SocForcing' + +import { GroupToggleLink, filterGroups, filterField, toggleGroups } from '../../utils' + +const ForcingTable = function({ config, caption, rows, groups, actions }) { + const filteredGroups = filterGroups(config, rows, groups, actions) + const empty = (filteredGroups.length == 0) + const allOpen = filteredGroups.every(group => !group.closed) + const allToggle = () => toggleGroups(filteredGroups, allOpen) + + return ( +
+ + + + + + + + + + { + filteredGroups.map(group => { + const header = [ + + + + ] + + if (group.closed) { + return header + } else { + return header.concat( + group.rows.map((row, index) => { + const dois = filterField(config, row.doi) + const path = filterField(config, row.path) + + return ( + + + + + ) + }) + ) + } + }) + } + { + empty && + + + } + +
+ +
Forcing + DOI / Path / Documentation + {!empty && } +
+ + {group.title} +
+

{row.title}

+ + +
+

+ {row.group3 && Group III} + +

+ { + row.soc_forcing && ( +

+ +

+ ) + } + { + dois && ( + Array.isArray(dois) ? ( + dois.map((doi, index) => ( +

+ {doi} +

+ )) + ) : ( +

+ {dois} +

+ ) + ) + } + { + row.path && ( + Array.isArray(path) ? ( + <> +

Paths:

+
    + { + path.map((p, i) =>
    {p}
    ) + } +
+ + ) : ( +

+ Path: {filterField(config, row.path)} + { + row.path_comment && <> + {' ('}{')'} + + } +

+ ) + ) + } + { + row.noadapt && ( +

+ noadapt forcing:{' '} + { + Array.isArray(row.noadapt) ? ( + row.noadapt.map((s, i) => {s}).reduce((agg, cur) => [agg, ', ', cur]) + ) : ( + + ) + } +

+ ) + } + { + row.adapt && ( +

+ adapt forcing:{' '} + { + Array.isArray(row.adapt) ? ( + row.adapt.map((s, i) => {s}).reduce((agg, cur) => [agg, ', ', cur]) + ) : ( + + ) + } +

+ ) + } + { + row.comment && + } +
+ No forcing data have been defined for this selection of simulation round and sectors, yet. +
+
+ ) +} + +ForcingTable.propTypes = { + config: PropTypes.object.isRequired, + caption: PropTypes.string.isRequired, + rows: PropTypes.array.isRequired, + groups: PropTypes.array.isRequired, + actions: PropTypes.object.isRequired +} + +export default ForcingTable diff --git a/app/src/components/tables/Group3RankingTable.js b/app/src/components/tables/Group3RankingTable.js new file mode 100644 index 0000000000..518198252e --- /dev/null +++ b/app/src/components/tables/Group3RankingTable.js @@ -0,0 +1,98 @@ +import React, { Component} from 'react' +import ReactMarkdown from 'react-markdown' +import PropTypes from 'prop-types' + +import { filterGroups, filterRows, filterField, GroupToggleLink, toggleGroups } from '../../utils' + +const Group3RankingTable = function({ config, caption, rows, groups, actions }) { + + const filteredGroups = filterGroups(config, rows, groups, actions) + const allOpen = filteredGroups.every(group => !group.closed) + const allToggle = () => toggleGroups(filteredGroups, allOpen) + + const backgroundColor = { + 'tier1': '#cfc', + 'tier2': '#f9f', + 'tier3': '#faf', + 'tier4': '#fbf', + 'tier5': '#fcf', + 'tier6': '#fdf', + 'tier7': '#fef', + 'tier8': 'white' + } + + const sortRows = (rows) => { + return ( + rows.toSorted((a, b) => { + if (a.priority > b.priority) { + return 1 + } else if (a.priority < b.priority) { + return -1 + } else { + return 0 + } + }) + ) + } + + return ( + + + + + + + + + + + + { + filteredGroups.map(group => { + const header = [ + + + + ] + + if (group.closed) { + return header + } else { + return header.concat( + sortRows(group.rows).map((row, index) => { + return ( + + + + + + + ) + }) + ) + } + }) + } + +
+ +
PriorityClimate forcingLU model + Direct human forcing + +
+ + {group.title} +
+ {row.priority} + {row.gcm}{row.lu_model}{row.soc_scenario}
+ ) +} + +Group3RankingTable.propTypes = { + config: PropTypes.object.isRequired, + caption: PropTypes.string.isRequired, + rows: PropTypes.array.isRequired, + actions: PropTypes.object.isRequired +} + +export default Group3RankingTable diff --git a/app/src/components/tables/Group3RequirementsTable.js b/app/src/components/tables/Group3RequirementsTable.js new file mode 100644 index 0000000000..64648be4a4 --- /dev/null +++ b/app/src/components/tables/Group3RequirementsTable.js @@ -0,0 +1,57 @@ +import React, { Component} from 'react' +import ReactMarkdown from 'react-markdown' +import PropTypes from 'prop-types' + +import { filterRows, filterField } from '../../utils' + +import Sectors from '../badges/Sectors' + +const Group3RequirementsTable = function({ config, caption, rows }) { + return ( + + + + + + + + + + + + { + filterRows(config, rows).map((row, index) => { + return ( + + + + + + + ) + }) + } + +
+ +
ForcingRequiredHarmonizedReference to data sets that are used for the harmonization
{row.title} + { + row.datasets && ( +
    + { + row.datasets.map((d, i) =>
  • {d}
  • ) + } +
+ ) + } +
+ ) +} + +Group3RequirementsTable.propTypes = { + config: PropTypes.object.isRequired, + caption: PropTypes.string.isRequired, + rows: PropTypes.array.isRequired +} + +export default Group3RequirementsTable diff --git a/app/src/components/tables/InputDatasetTable.js b/app/src/components/tables/InputDatasetTable.js index 666aa4906e..11eacd4ddd 100644 --- a/app/src/components/tables/InputDatasetTable.js +++ b/app/src/components/tables/InputDatasetTable.js @@ -15,7 +15,7 @@ const InputDatasetTable = function({ config, caption, rows, groups, actions }) { const getPath = (row) => { const path = filterField(config, row.path) if (Array.isArray(path)) { - return path.map((p, index) => {p}) + return path.map((p, index) => {p}{'\n'}) } else { return {path} } @@ -76,9 +76,11 @@ const InputDatasetTable = function({ config, caption, rows, groups, actions }) {

} - - {getPath(row)} - {row.url && {row.url}} + +
+ {getPath(row)} + {row.url && {row.url}} +
{ diff --git a/app/src/components/tables/InputVariableTable.js b/app/src/components/tables/InputVariableTable.js index 2e2c9aee00..4d83115dce 100644 --- a/app/src/components/tables/InputVariableTable.js +++ b/app/src/components/tables/InputVariableTable.js @@ -94,9 +94,11 @@ const InputVariableTable = function({ config, caption, rows, groups, actions })

} - - {row.path && {filterField(config, row.path)}} - {row.url && {row.url}} + +
+ {row.path && {filterField(config, row.path)}} + {row.url && {row.url}} +
diff --git a/app/src/components/tables/ScenarioTable.js b/app/src/components/tables/ScenarioTable.js index ca8fb3e9fd..5da5ea1917 100644 --- a/app/src/components/tables/ScenarioTable.js +++ b/app/src/components/tables/ScenarioTable.js @@ -6,20 +6,10 @@ import SimulationRounds from '../badges/SimulationRounds' import Sectors from '../badges/Sectors' import Status from '../badges/Status' -import { GroupToggleLink, filterRows, filterField, toggleGroups } from '../../utils' +import { filterRows } from '../../utils' -const ScenarioTable = function({ config, caption, rows, actions }) { - const filteredRows = filterRows(config, rows).map(row => { - row.closed = !config.scenarios.includes(row.specifier) - row.toggle = () => actions.toggleScenario(row.specifier) - return row - }) - - const anyDatasets = filteredRows.some(row => row.datasets) - const allOpen = filteredRows.every(row => !row.closed) - const allToggle = () => toggleGroups(filteredRows, allOpen) - +const ScenarioTable = function({ config, caption, rows }) { return ( - - - + + { - filteredRows.map((row, index) => { - const datasets = filterRows(config, row.datasets) - const rowSpan = (datasets && !row.closed) ? datasets.length + 1 : 1 - - const firstRow = [ - ( - - - - - ) - ] - - if (datasets.length > 0 && !row.closed) { - return firstRow.concat(datasets.map((dataset, index) => { - const last = (index == datasets.length - 1) - const dois = dataset.doi !== undefined ? (Array.isArray(dataset.doi) ? dataset.doi : [dataset.doi]) : null - - return ( - - - - - ) - })) - } else { - return firstRow - } + filterRows(config, rows).map((row, index) => { + return ( + + + + + ) }) } diff --git a/app/src/utils/index.js b/app/src/utils/index.js index 48dcf07586..5794685d74 100644 --- a/app/src/utils/index.js +++ b/app/src/utils/index.js @@ -48,7 +48,9 @@ const filterRows = (config, rows) => { } const filterField = (config, field) => { - if (Array.isArray(field)) { + if (field === null) { + return null + } else if (Array.isArray(field)) { return field } else if (typeof field === 'object') { if (typeof field[config.simulation_round] !== 'undefined') { diff --git a/assets/app.js b/assets/app.js index d52a3d693d..4b62c59f85 100644 --- a/assets/app.js +++ b/assets/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var e,t,n={754:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t),o=r(n);function a(e,t){for(var n=0;n=a)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};y.jQueryDetection(),v();var b="alert",w="4.6.2",_="bs.alert",E="."+_,x=".data-api",k=i.default.fn[b],S="alert",C="fade",T="show",N="close"+E,O="closed"+E,P="click"+E+x,A='[data-dismiss="alert"]',j=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){i.default.removeData(this._element,_),this._element=null},t._getRootElement=function(e){var t=y.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=i.default(e).closest("."+S)[0]),n},t._triggerCloseEvent=function(e){var t=i.default.Event(N);return i.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(i.default(e).removeClass(T),i.default(e).hasClass(C)){var n=y.getTransitionDurationFromElement(e);i.default(e).one(y.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){i.default(e).detach().trigger(O).remove()},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this),r=n.data(_);r||(r=new e(this),n.data(_,r)),"close"===t&&r[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},l(e,null,[{key:"VERSION",get:function(){return w}}]),e}();i.default(document).on(P,A,j._handleDismiss(new j)),i.default.fn[b]=j._jQueryInterface,i.default.fn[b].Constructor=j,i.default.fn[b].noConflict=function(){return i.default.fn[b]=k,j._jQueryInterface};var D="button",I="4.6.2",L="bs.button",R="."+L,M=".data-api",F=i.default.fn[D],z="active",q="btn",H="focus",B="click"+R+M,U="focus"+R+M+" blur"+R+M,W="load"+R+M,V='[data-toggle^="button"]',$='[data-toggle="buttons"]',Q='[data-toggle="button"]',Y='[data-toggle="buttons"] .btn',K='input:not([type="hidden"])',X=".active",G=".btn",J=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=i.default(this._element).closest($)[0];if(n){var r=this._element.querySelector(K);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(z))e=!1;else{var o=n.querySelector(X);o&&i.default(o).removeClass(z)}e&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(z)),this.shouldAvoidTriggerChange||i.default(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(z)),e&&i.default(this._element).toggleClass(z))},t.dispose=function(){i.default.removeData(this._element,L),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var r=i.default(this),o=r.data(L);o||(o=new e(this),r.data(L,o)),o.shouldAvoidTriggerChange=n,"toggle"===t&&o[t]()}))},l(e,null,[{key:"VERSION",get:function(){return I}}]),e}();i.default(document).on(B,V,(function(e){var t=e.target,n=t;if(i.default(t).hasClass(q)||(t=i.default(t).closest(G)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var r=t.querySelector(K);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||J._jQueryInterface.call(i.default(t),"toggle","INPUT"===n.tagName)}})).on(U,V,(function(e){var t=i.default(e.target).closest(G)[0];i.default(t).toggleClass(H,/^focus(in)?$/.test(e.type))})),i.default(window).on(W,(function(){for(var e=[].slice.call(document.querySelectorAll(Y)),t=0,n=e.length;t0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(ve)},t.nextWhenVisible=function(){var e=i.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(ye)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Fe)&&(y.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(Le);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)i.default(this._element).one(Ee,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?ve:ye;this._slide(r,this._items[e])}},t.dispose=function(){i.default(this._element).off(ne),i.default.removeData(this._element,te),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=u({},Be,e),y.typeCheckConfig(Z,e,Ue),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=ue)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&i.default(this._element).on(xe,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&i.default(this._element).on(ke,(function(t){return e.pause(t)})).on(Se,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&We[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&We[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),le+e._config.interval))};i.default(this._element.querySelectorAll(Me)).on(Ae,(function(e){return e.preventDefault()})),this._pointerEvent?(i.default(this._element).on(Oe,(function(e){return t(e)})),i.default(this._element).on(Pe,(function(e){return r(e)})),this._element.classList.add(ge)):(i.default(this._element).on(Ce,(function(e){return t(e)})),i.default(this._element).on(Te,(function(e){return n(e)})),i.default(this._element).on(Ne,(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case oe:e.preventDefault(),this.prev();break;case ae:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Re)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===ve,r=e===ye,i=this._getItemIndex(t),o=this._items.length-1;if((r&&0===i||n&&i===o)&&!this._config.wrap)return t;var a=(i+(e===ye?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(Le)),o=i.default.Event(_e,{relatedTarget:e,direction:t,from:r,to:n});return i.default(this._element).trigger(o),o},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Ie));i.default(t).removeClass(ce);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&i.default(n).addClass(ce)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(Le);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,r,o,a=this,l=this._element.querySelector(Le),u=this._getItemIndex(l),s=t||l&&this._getItemByDirection(e,l),c=this._getItemIndex(s),f=Boolean(this._interval);if(e===ve?(n=pe,r=he,o=be):(n=de,r=me,o=we),s&&i.default(s).hasClass(ce))this._isSliding=!1;else if(!this._triggerSlideEvent(s,o).isDefaultPrevented()&&l&&s){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(s),this._activeElement=s;var d=i.default.Event(Ee,{relatedTarget:s,direction:o,from:u,to:c});if(i.default(this._element).hasClass(fe)){i.default(s).addClass(r),y.reflow(s),i.default(l).addClass(n),i.default(s).addClass(n);var p=y.getTransitionDurationFromElement(l);i.default(l).one(y.TRANSITION_END,(function(){i.default(s).removeClass(n+" "+r).addClass(ce),i.default(l).removeClass(ce+" "+r+" "+n),a._isSliding=!1,setTimeout((function(){return i.default(a._element).trigger(d)}),0)})).emulateTransitionEnd(p)}else i.default(l).removeClass(ce),i.default(s).addClass(ce),this._isSliding=!1,i.default(this._element).trigger(d);f&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this).data(te),r=u({},Be,i.default(this).data());"object"==typeof t&&(r=u({},r,t));var o="string"==typeof t?t:r.slide;if(n||(n=new e(this,r),i.default(this).data(te,n)),"number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=y.getSelectorFromElement(this);if(n){var r=i.default(n)[0];if(r&&i.default(r).hasClass(se)){var o=u({},i.default(r).data(),i.default(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),e._jQueryInterface.call(i.default(r),o),a&&i.default(r).data(te).to(a),t.preventDefault()}}},l(e,null,[{key:"VERSION",get:function(){return ee}},{key:"Default",get:function(){return Be}}]),e}();i.default(document).on(De,qe,Ve._dataApiClickHandler),i.default(window).on(je,(function(){for(var e=[].slice.call(document.querySelectorAll(He)),t=0,n=e.length;t0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){i.default(this._element).hasClass(Je)?this.hide():this.show()},t.show=function(){var t,n,r=this;if(!(this._isTransitioning||i.default(this._element).hasClass(Je)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(st)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(Ze)}))).length&&(t=null),t&&(n=i.default(t).not(this._selector).data(Ye))&&n._isTransitioning))){var o=i.default.Event(it);if(i.default(this._element).trigger(o),!o.isDefaultPrevented()){t&&(e._jQueryInterface.call(i.default(t).not(this._selector),"hide"),n||i.default(t).data(Ye,null));var a=this._getDimension();i.default(this._element).removeClass(Ze).addClass(et),this._element.style[a]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass(tt).attr("aria-expanded",!0),this.setTransitioning(!0);var l=function(){i.default(r._element).removeClass(et).addClass(Ze+" "+Je),r._element.style[a]="",r.setTransitioning(!1),i.default(r._element).trigger(ot)},u="scroll"+(a[0].toUpperCase()+a.slice(1)),s=y.getTransitionDurationFromElement(this._element);i.default(this._element).one(y.TRANSITION_END,l).emulateTransitionEnd(s),this._element.style[a]=this._element[u]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&i.default(this._element).hasClass(Je)){var t=i.default.Event(at);if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",y.reflow(this._element),i.default(this._element).addClass(et).removeClass(Ze+" "+Je);var r=this._triggerArray.length;if(r>0)for(var o=0;o0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=u({},t.offsets,e._config.offset(t.offsets,e._element)),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),u({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this).data(gt);if(n||(n=new e(this,"object"==typeof t?t:null),i.default(this).data(gt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||t.which!==St&&("keyup"!==t.type||t.which===Et))for(var n=[].slice.call(document.querySelectorAll(Bt)),r=0,o=n.length;r0&&a--,t.which===kt&&adocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(gn);var r=y.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(y.TRANSITION_END),i.default(this._element).one(y.TRANSITION_END,(function(){e._element.classList.remove(gn),n||i.default(e._element).one(y.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,r)})).emulateTransitionEnd(r),this._element.focus()}},t._showElement=function(e){var t=this,n=i.default(this._element).hasClass(hn),r=this._dialog?this._dialog.querySelector(Pn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass(cn)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&y.reflow(this._element),i.default(this._element).addClass(mn),this._config.focus&&this._enforceFocus();var o=i.default.Event(_n,{relatedTarget:e}),a=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,i.default(t._element).trigger(o)};if(n){var l=y.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(y.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},t._enforceFocus=function(){var e=this;i.default(document).off(En).on(En,(function(t){document!==t.target&&e._element!==t.target&&0===i.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?i.default(this._element).on(Sn,(function(t){e._config.keyboard&&t.which===sn?(t.preventDefault(),e.hide()):e._config.keyboard||t.which!==sn||e._triggerBackdropTransition()})):this._isShown||i.default(this._element).off(Sn)},t._setResizeEvent=function(){var e=this;this._isShown?i.default(window).on(xn,(function(t){return e.handleUpdate(t)})):i.default(window).off(xn)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass(pn),e._resetAdjustments(),e._resetScrollbar(),i.default(e._element).trigger(bn)}))},t._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=i.default(this._element).hasClass(hn)?hn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=dn,n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on(kn,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&y.reflow(this._backdrop),i.default(this._backdrop).addClass(mn),!e)return;if(!n)return void e();var r=y.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(y.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass(mn);var o=function(){t._removeBackdrop(),e&&e()};if(i.default(this._element).hasClass(hn)){var a=y.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(y.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:zn,popperConfig:null},cr={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},fr={HIDE:"hide"+Qn,HIDDEN:"hidden"+Qn,SHOW:"show"+Qn,SHOWN:"shown"+Qn,INSERTED:"inserted"+Qn,CLICK:"click"+Qn,FOCUSIN:"focusin"+Qn,FOCUSOUT:"focusout"+Qn,MOUSEENTER:"mouseenter"+Qn,MOUSELEAVE:"mouseleave"+Qn},dr=function(){function e(e,t){if(void 0===o.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=i.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass(Zn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(t);var n=y.findShadowRoot(this.element),r=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var a=this.getTipElement(),l=y.getUID(this.constructor.NAME);a.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&i.default(a).addClass(Jn);var u="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,s=this._getAttachment(u);this.addAttachmentClass(s);var c=this._getContainer();i.default(a).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(a).appendTo(c),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new o.default(this.element,a,this._getPopperConfig(s)),i.default(a).addClass(Zn),i.default(a).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var f=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,i.default(e.element).trigger(e.constructor.Event.SHOWN),t===tr&&e._leave(null,e)};if(i.default(this.tip).hasClass(Jn)){var d=y.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(y.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},t.hide=function(e){var t=this,n=this.getTipElement(),r=i.default.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==er&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),i.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(i.default(this.element).trigger(r),!r.isDefaultPrevented()){if(i.default(n).removeClass(Zn),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger[ar]=!1,this._activeTrigger[or]=!1,this._activeTrigger[ir]=!1,i.default(this.tip).hasClass(Jn)){var a=y.getTransitionDurationFromElement(n);i.default(n).one(y.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass(Kn+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(i.default(e.querySelectorAll(nr)),this.getTitle()),i.default(e).removeClass(Jn+" "+Zn)},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Un(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?i.default(t).parent().is(e)||e.empty().append(t):e.text(i.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return u({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:rr},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=u({},t.offsets,e.config.offset(t.offsets,e.element)),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:y.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},t._getAttachment=function(e){return ur[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)i.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==lr){var n=t===ir?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===ir?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;i.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?or:ir]=!0),i.default(t.getTipElement()).hasClass(Zn)||t._hoverState===er?t._hoverState=er:(clearTimeout(t._timeout),t._hoverState=er,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===er&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?or:ir]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=tr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===tr&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=i.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Gn.indexOf(e)&&delete t[e]})),"number"==typeof(e=u({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),y.typeCheckConfig(Wn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Un(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match(Xn);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(i.default(e).removeClass(Jn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this),r=n.data($n),o="object"==typeof t&&t;if((r||!/dispose|hide/.test(t))&&(r||(r=new e(this,o),n.data($n,r)),"string"==typeof t)){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},l(e,null,[{key:"VERSION",get:function(){return Vn}},{key:"Default",get:function(){return sr}},{key:"NAME",get:function(){return Wn}},{key:"DATA_KEY",get:function(){return $n}},{key:"Event",get:function(){return fr}},{key:"EVENT_KEY",get:function(){return Qn}},{key:"DefaultType",get:function(){return cr}}]),e}();i.default.fn[Wn]=dr._jQueryInterface,i.default.fn[Wn].Constructor=dr,i.default.fn[Wn].noConflict=function(){return i.default.fn[Wn]=Yn,dr._jQueryInterface};var pr="popover",hr="4.6.2",mr="bs.popover",gr="."+mr,vr=i.default.fn[pr],yr="bs-popover",br=new RegExp("(^|\\s)"+yr+"\\S+","g"),wr="fade",_r="show",Er=".popover-header",xr=".popover-body",kr=u({},dr.Default,{placement:"right",trigger:"click",content:"",template:''}),Sr=u({},dr.DefaultType,{content:"(string|element|function)"}),Cr={HIDE:"hide"+gr,HIDDEN:"hidden"+gr,SHOW:"show"+gr,SHOWN:"shown"+gr,INSERTED:"inserted"+gr,CLICK:"click"+gr,FOCUSIN:"focusin"+gr,FOCUSOUT:"focusout"+gr,MOUSEENTER:"mouseenter"+gr,MOUSELEAVE:"mouseleave"+gr},Tr=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass(yr+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},n.setContent=function(){var e=i.default(this.getTipElement());this.setElementContent(e.find(Er),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(xr),t),e.removeClass(wr+" "+_r)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match(br);null!==t&&t.length>0&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(mr),r="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),i.default(this).data(mr,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return hr}},{key:"Default",get:function(){return kr}},{key:"NAME",get:function(){return pr}},{key:"DATA_KEY",get:function(){return mr}},{key:"Event",get:function(){return Cr}},{key:"EVENT_KEY",get:function(){return gr}},{key:"DefaultType",get:function(){return Sr}}]),t}(dr);i.default.fn[pr]=Tr._jQueryInterface,i.default.fn[pr].Constructor=Tr,i.default.fn[pr].noConflict=function(){return i.default.fn[pr]=vr,Tr._jQueryInterface};var Nr="scrollspy",Or="4.6.2",Pr="bs.scrollspy",Ar="."+Pr,jr=".data-api",Dr=i.default.fn[Nr],Ir="dropdown-item",Lr="active",Rr="activate"+Ar,Mr="scroll"+Ar,Fr="load"+Ar+jr,zr="offset",qr="position",Hr='[data-spy="scroll"]',Br=".nav, .list-group",Ur=".nav-link",Wr=".nav-item",Vr=".list-group-item",$r=".dropdown",Qr=".dropdown-item",Yr=".dropdown-toggle",Kr={offset:10,method:"auto",target:""},Xr={offset:"number",method:"string",target:"(string|element)"},Gr=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+Ur+","+this._config.target+" "+Vr+","+this._config.target+" "+Qr,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on(Mr,(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?zr:qr,n="auto"===this._config.method?t:this._config.method,r=n===qr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,o=y.getSelectorFromElement(e);if(o&&(t=document.querySelector(o)),t){var a=t.getBoundingClientRect();if(a.width||a.height)return[i.default(t)[n]().top+r,o]}return null})).filter(Boolean).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){i.default.removeData(this._element,Pr),i.default(this._scrollElement).off(Ar),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=u({},Kr,"object"==typeof e&&e?e:{})).target&&y.isElement(e.target)){var t=i.default(e.target).attr("id");t||(t=y.getUID(Nr),i.default(e.target).attr("id",t)),e.target="#"+t}return y.typeCheckConfig(Nr,e,Xr),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(u,s):s}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=h(),n=y(i);if(n){if(_(),!y(o))return v("property missing ':'");var r=y(a),u=e({type:"declaration",property:c(n[0].replace(t,s)),value:r?c(r[0].replace(t,s)):s});return y(l),u}}return b(),function(){var e,t=[];for(w(t);e=E();)!1!==e&&(t.push(e),w(t));return t}()}},692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,l=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},s=o.push,c=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in w)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function E(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var x="3.7.1",k=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=E(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+A+")"+A+"*"),H=new RegExp(A+"|>"),B=new RegExp(M),U=new RegExp("^"+D+"$"),W={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+A+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+A+"*((?:-\\d)?\\d*)"+A+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},G=function(){ue()},J=de((function(e){return!0===e.disabled&&T(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=l.call(L.childNodes),L.childNodes),o[L.childNodes.length].nodeType}catch(e){m={apply:function(e,t){R.apply(e,l.call(t))},call:function(e){R.apply(e,l.call(arguments,1))}}}function Z(e,t,n,r){var i,o,a,l,s,c,p,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(ue(t),t=t||u,f)){if(11!==y&&(s=Q.exec(e)))if(i=s[1]){if(9===y){if(!(a=t.getElementById(i)))return n;if(a.id===i)return m.call(n,a),n}else if(h&&(a=h.getElementById(i))&&Z.contains(t,a)&&a.id===i)return m.call(n,a),n}else{if(s[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=s[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(x[e+" "]||d&&d.test(e))){if(p=e,h=t,1===y&&(H.test(e)||q.test(e))){for((h=Y.test(e)&&le(t.parentNode)||t)==t&&g.scope||((l=t.getAttribute("id"))?l=S.escapeSelector(l):t.setAttribute("id",l=v)),o=(c=ce(e)).length;o--;)c[o]=(l?"#"+l:":scope")+" "+fe(c[o]);p=c.join(",")}try{return m.apply(n,h.querySelectorAll(p)),n}catch(t){x(e,!0)}finally{l===v&&t.removeAttribute("id")}}}return ye(e.replace(j,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[v]=!0,e}function ne(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return T(t,"input")&&t.type===e}}function ie(e){return function(t){return(T(t,"input")||T(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function le(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var n,r=e?e.ownerDocument||e:L;return r!=u&&9===r.nodeType&&r.documentElement?(s=(u=r).documentElement,f=!S.isXMLDoc(u),h=s.matches||s.webkitMatchesSelector||s.msMatchesSelector,s.msMatchesSelector&&L!=u&&(n=u.defaultView)&&n.top!==n&&n.addEventListener("unload",G),g.getById=ne((function(e){return s.appendChild(e).id=S.expando,!u.getElementsByName||!u.getElementsByName(S.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return u.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&f)return t.getElementsByClassName(e)},d=[],ne((function(e){var t;s.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+A+"*(?:value|"+C+")"),e.querySelectorAll("[id~="+v+"-]").length||d.push("~="),e.querySelectorAll("a#"+v+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+A+"*name"+A+"*="+A+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),k=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument==L&&Z.contains(L,e)?-1:t===u||t.ownerDocument==L&&Z.contains(L,t)?1:i?c.call(i,e)-c.call(i,t):0:4&n?-1:1)},u):u}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ue(e),f&&!x[t+" "]&&(!d||!d.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){x(t,!0)}return Z(t,u,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=u&&ue(e),S.contains(e,t)},Z.attr=function(e,n){(e.ownerDocument||e)!=u&&ue(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!f):void 0;return void 0!==i?i:e.getAttribute(n)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},S.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!g.sortStable,i=!g.sortStable&&l.call(e,0),O.call(e,k),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)P.call(e,n[r],1)}return i=null,e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(l.apply(this)))},t=S.expr={cacheLength:50,createPseudo:te,match:W,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(K,X),e[3]=(e[3]||e[4]||e[5]||"").replace(K,X),"~="===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]||Z.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]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ce(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(K,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return T(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+A+")"+e+"("+A+"|$)"))&&w(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(r){var i=Z.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var s,c,f,d,p,h=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=l&&t.nodeName.toLowerCase(),b=!u&&!l,w=!1;if(m){if(o){for(;h;){for(f=t;f=f[h];)if(l?T(f,g):1===f.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&b){for(w=(d=(s=(c=m[v]||(m[v]={}))[e]||[])[0]===y&&s[1])&&s[2],f=d&&m.childNodes[d];f=++d&&f&&f[h]||(w=d=0)||p.pop();)if(1===f.nodeType&&++w&&f===t){c[e]=[y,d,w];break}}else if(b&&(w=d=(s=(c=t[v]||(t[v]={}))[e]||[])[0]===y&&s[1]),!1===w)for(;(f=++d&&f&&f[h]||(w=d=0)||p.pop())&&(!(l?T(f,g):1===f.nodeType)||!++w||(b&&((c=f[v]||(f[v]={}))[e]=[y,w]),f!==t)););return(w-=i)===r||w%r==0&&w/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return i[v]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=c.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(j,"$1"));return r[v]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),l=e.length;l--;)(o=a[l])&&(e[l]=!(t[l]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,X),function(t){return(t.textContent||S.text(t)).indexOf(e)>-1}})),lang:te((function(e){return U.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(K,X).toLowerCase(),function(t){var n;do{if(n=f?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(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return T(e,"input")&&!!e.checked||T(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){return T(e,"input")&&"button"===e.type||T(e,"button")},text:function(e){var t;return T(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],l=0,u=e.length,s=null!=t;l-1&&(o[s]=!(a[s]=d))}}else p=he(p===a?p.splice(v,p.length):p),i?i(null,a,p,u):m.apply(a,p)}))}function ge(e){for(var r,i,o,a=e.length,l=t.relative[e[0].type],u=l||t.relative[" "],s=l?1:0,f=de((function(e){return e===r}),u,!0),d=de((function(e){return c.call(r,e)>-1}),u,!0),p=[function(e,t,i){var o=!l&&(i||t!=n)||((r=t).nodeType?f(e,t,i):d(e,t,i));return r=null,o}];s1&&pe(p),s>1&&fe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(j,"$1"),i,s0,o=e.length>0,a=function(a,l,s,c,d){var p,h,g,v=0,b="0",w=a&&[],_=[],E=n,x=a||o&&t.find.TAG("*",d),k=y+=null==E?1:Math.random()||.1,C=x.length;for(d&&(n=l==u||l||d);b!==C&&null!=(p=x[b]);b++){if(o&&p){for(h=0,l||p.ownerDocument==u||(ue(p),s=!f);g=e[h++];)if(g(p,l||u,s)){m.call(c,p);break}d&&(y=k)}i&&((p=!g&&p)&&v--,a&&w.push(p))}if(v+=b,i&&b!==v){for(h=0;g=r[h++];)g(w,_,l,s);if(a){if(v>0)for(;b--;)w[b]||_[b]||(_[b]=N.call(c));_=he(_)}m.apply(c,_),d&&!a&&_.length>0&&v+r.length>1&&S.uniqueSort(c)}return d&&(y=k,n=E),w};return i?te(a):a}(a,o)),l.selector=e}return l}function ye(e,n,r,i){var o,a,l,u,s,c="function"==typeof e&&e,d=!i&&ce(e=c.selector||e);if(r=r||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(l=a[0]).type&&9===n.nodeType&&f&&t.relative[a[1].type]){if(!(n=(t.find.ID(l.matches[0].replace(K,X),n)||[])[0]))return r;c&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=W.needsContext.test(e)?0:a.length;o--&&(l=a[o],!t.relative[u=l.type]);)if((s=t.find[u])&&(i=s(l.matches[0].replace(K,X),Y.test(a[0].type)&&le(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&fe(a)))return m.apply(r,i),r;break}}return(c||ve(e,d))(i,n,!f,r,!n||Y.test(e)&&le(n.parentNode)||n),r}se.prototype=t.filters=t.pseudos,t.setFilters=new se,g.sortStable=v.split("").sort(k).join("")===v,ue(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))})),S.find=Z,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,Z.compile=ve,Z.select=ye,Z.setDocument=ue,Z.tokenize=ce,Z.escape=S.escapeSelector,Z.getText=S.text,Z.isXML=S.isXMLDoc,Z.selectors=S.expr,Z.support=S.support,Z.uniqueSort=S.uniqueSort}();var M=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},F=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},z=S.expr.match.needsContext,q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return v(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return c.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&z.test(e)?S(e):e||[],!1).length}});var B,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:U.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),q.test(r[1])&&S.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,B=S(b);var W=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function $(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(S(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(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,n){return M(e,"parentNode",n)},next:function(e){return $(e,"nextSibling")},prev:function(e){return $(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,n){return M(e,"nextSibling",n)},prevUntil:function(e,t,n){return M(e,"previousSibling",n)},siblings:function(e){return F((e.parentNode||{}).firstChild,e)},children:function(e){return F(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var i=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=S.filter(r,i)),this.length>1&&(V[e]||S.uniqueSort(i),W.test(e)&&i.reverse()),this.pushStack(i)}}));var Q=/[^\x20\t\r\n\f]+/g;function Y(e){return e}function K(e){throw e}function X(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(Q)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,i,o=[],a=[],l=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l-1;)o.splice(n,1),n<=l&&l--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var l=this,u=arguments,s=function(){var r,s;if(!(e=o&&(n!==K&&(l=void 0,u=[r]),t.rejectWith(l,u))}};e?c():(S.Deferred.getErrorHook?c.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(c.error=S.Deferred.getStackHook()),r.setTimeout(c))}}return S.Deferred((function(r){t[0][3].add(a(0,r,v(i)?i:Y,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:Y)),t[2][3].add(a(0,r,v(n)?n:K))})).promise()},promise:function(e){return null!=e?S.extend(e,i):i}},o={};return S.each(t,(function(e,r){var a=r[2],l=r[5];i[r[1]]=a.add,l&&a.add((function(){n=l}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=l.call(arguments),o=S.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(X(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)X(i[n],a(n),o.reject);return o.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&G.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var J=S.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),r.removeEventListener("load",Z),S.ready()}S.fn.ready=function(e){return J.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||J.resolveWith(b,[S]))}}),S.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",Z),r.addEventListener("load",Z));var ee=function(e,t,n,r,i,o,a){var l=0,u=e.length,s=null==n;if("object"===E(n))for(l in i=!0,n)ee(e,t,l,n[l],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),s&&(a?(t.call(e,r),t=null):(s=t,t=function(e,t,n){return s.call(S(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each((function(){ue.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=le.get(e,t),n&&(!r||Array.isArray(n)?r=le.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){S.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return le.get(e,n)||le.access(e,n,{empty:S.Callbacks("once memory").add((function(){le.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,Te=/^$|^module$|\/(?:java|ecma)script/i;xe=b.createDocumentFragment().appendChild(b.createElement("div")),(ke=b.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),xe.appendChild(ke),g.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",g.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",g.option=!!xe.lastChild;var Ne={thead:[1,"
@@ -27,74 +17,31 @@ const ScenarioTable = function({ config, caption, rows, actions }) {
Experiment specifierForcing - DOI / Path / Documentation - {anyDatasets && } - Experiment specifierDescription
-

- {row.specifier} -

-

- - {row.group3 && Group 3} - -

-
- {datasets.length > 0 && } - - -
-

{dataset.dataset}

- -
- { - dois && dois.map((doi, index) => ( -

- {doi} -

- )) - } - { - dataset.path &&

Path: { dataset.path }

- } - { - dataset.comment && - } -
+

+ {row.specifier} +

+

+ + {row.group3 && Group III} + +

+
+ + +
","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Oe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?S.merge([e],n):n}function Pe(e,t){for(var n=0,r=e.length;n",""]);var Ae=/<|&#?\w+;/;function je(e,t,n,r,i){for(var o,a,l,u,s,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p-1)i&&i.push(o);else if(s=ge(o),a=Oe(f.appendChild(o),"script"),s&&Pe(a),n)for(c=0;o=a[c++];)Te.test(o.type||"")&&n.push(o);return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Le(){return!1}function Re(e,t,n,r,i,o){var a,l;if("object"==typeof t){for(l in"string"!=typeof n&&(r=r||n,n=void 0),t)Re(e,l,n,r,t[l],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Le;else if(!i)return e;return 1===o&&(a=i,i=function(e){return S().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,i,r,n)}))}function Me(e,t,n){n?(le.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var n,r=le.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=l.call(arguments),le.set(this,t,r),this[t](),n=le.get(this,t),le.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(le.set(this,t,S.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ie)}})):void 0===le.get(e,t)&&S.event.add(e,t,Ie)}S.event={global:{},add:function(e,t,n,r,i){var o,a,l,u,s,c,f,d,p,h,m,g=le.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(me,i),n.guid||(n.guid=S.guid++),(u=g.events)||(u=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(Q)||[""]).length;s--;)p=m=(l=De.exec(t[s])||[])[1],h=(l[2]||"").split(".").sort(),p&&(f=S.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=S.event.special[p]||{},c=S.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),S.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,l,u,s,c,f,d,p,h,m,g=le.hasData(e)&&le.get(e);if(g&&(u=g.events)){for(s=(t=(t||"").match(Q)||[""]).length;s--;)if(p=m=(l=De.exec(t[s])||[])[1],h=(l[2]||"").split(".").sort(),p){for(f=S.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&m!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||S.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)S.event.remove(e,p+t[s],n,r,!0);S.isEmptyObject(u)&&le.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,l=new Array(arguments.length),u=S.event.fix(e),s=(le.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(l[0]=u,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],a={},n=0;n-1:S.find(i,this,null,[s]).length),a[i]&&o.push(r);o.length&&l.push({elem:s,handlers:o})}return s=this,u\s*$/g;function He(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,i,o,a,l;if(1===t.nodeType){if(le.hasData(e)&&(l=le.get(e).events))for(i in le.remove(t,"handle events"),l)for(n=0,r=l[i].length;n1&&"string"==typeof h&&!g.checkClone&&ze.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),$e(o,t,n,r)}));if(d&&(o=(i=je(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(l=(a=S.map(Oe(i,"script"),Be)).length;f0&&Pe(a,!u&&Oe(e,"script")),l},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[le.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[le.expando]=void 0}n[ue.expando]&&(n[ue.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Qe(this,e,!0)},remove:function(e){return Qe(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?S.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 $e(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return $e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return $e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return $e(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&&(S.cleanData(Oe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Fe.test(e)&&!Ne[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-l-.5))||0),u+s}function ct(e,t,n){var r=Xe(e),i=(!g.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Ze(e,t,r),l="offset"+t[0].toUpperCase()+t.slice(1);if(Ye.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&T(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+st(e,t,n||(i?"border":"content"),o,r,a)+"px"}function ft(e,t,n,r,i){return new ft.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,l=ie(t),u=Ke.test(t),s=e.style;if(u||(t=it(l)),a=S.cssHooks[t]||S.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:s[t];"string"===(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[l]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,r){var i,o,a,l=ie(t);return Ke.test(t)||(t=it(l)),(a=S.cssHooks[t]||S.cssHooks[l])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ze(e,t,r)),"normal"===i&&t in lt&&(i=lt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ge(e,at,(function(){return ct(e,t,r)}))},set:function(e,n,r){var i,o=Xe(e),a=!g.scrollboxSize()&&"absolute"===o.position,l=(a||r)&&"border-box"===S.css(e,"boxSizing",!1,o),u=r?st(e,t,r,l,o):0;return l&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-st(e,t,"border",!1,o)-.5)),u&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),ut(0,n,u)}}})),S.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ge(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(S.cssHooks[e+t].set=ut)})),S.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a1)}}),S.Tween=ft,ft.prototype={constructor:ft,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=ft.propHooks[this.prop];return e&&e.get?e.get(this):ft.propHooks._default.get(this)},run:function(e){var t,n=ft.propHooks[this.prop];return this.options.duration?this.pos=t=S.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):ft.propHooks._default.set(this),this}},ft.prototype.init.prototype=ft.prototype,ft.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=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},ft.propHooks.scrollTop=ft.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=ft.prototype.init,S.fx.step={};var dt,pt,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,S.fx.interval),S.fx.tick())}function vt(){return r.setTimeout((function(){dt=void 0})),dt=Date.now()}function yt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?_t:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Q);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),_t={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Et[t]||S.find.attr;Et[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Et[a],Et[a]=i,i=null!=n(e,t,r)?a:null,Et[a]=o),i}}));var xt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function St(e){return(e.match(Q)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Q)||[]}S.fn.extend({prop:function(e,t){return ee(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.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)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,i,o,a;return v(e)?this.each((function(t){S(this).addClass(e.call(this,t,Ct(this)))})):(t=Tt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+St(r)+" "){for(o=0;o-1;)n=n.replace(" "+i+" "," ");a=St(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,l="string"===a||Array.isArray(e);return v(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):(n=Tt(e),this.each((function(){if(l)for(o=S(this),i=0;i-1)return!0;return!1}});var Nt=/\r/g;S.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,S(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=S.map(i,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Nt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:St(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Ot=r.location,Pt={guid:Date.now()},At=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,i){var o,a,l,u,s,c,f,d,h=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=d=l=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!jt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),s=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),f=S.event.special[m]||{},i||!f.trigger||!1!==f.trigger.apply(n,t))){if(!i&&!f.noBubble&&!y(n)){for(u=f.delegateType||m,jt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),l=a;l===(n.ownerDocument||b)&&h.push(l.defaultView||l.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||m,(c=(le.get(a,"events")||Object.create(null))[e.type]&&le.get(a,"handle"))&&c.apply(a,t),(c=s&&a[s])&&c.apply&&oe(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!oe(n)||s&&v(n[m])&&!y(n)&&((l=n[s])&&(n[s]=null),S.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Dt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Dt),S.event.triggered=void 0,l&&(n[s]=l)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}});var It=/\[\]$/,Lt=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,n,r){var i;if(Array.isArray(t))S.each(t,(function(t,i){n||It.test(e)?r(e,i):Ft(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==E(t))r(e,t);else for(i in t)Ft(e+"["+i+"]",t[i],n,r)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ft(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Mt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Se.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}})):{name:t.name,value:n.replace(Lt,"\r\n")}})).get()}});var zt=/%20/g,qt=/#.*$/,Ht=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,Wt=/^\/\//,Vt={},$t={},Qt="*/".concat("*"),Yt=b.createElement("a");function Kt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Q)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Xt(e,t,n,r){var i={},o=e===$t;function a(l){var u;return i[l]=!0,S.each(e[l]||[],(function(e,l){var s=l(t,n,r);return"string"!=typeof s||o||i[s]?o?!(u=s):void 0:(t.dataTypes.unshift(s),a(s),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Gt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Yt.href=Ot.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qt,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":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,S.ajaxSettings),t):Gt(S.ajaxSettings,e)},ajaxPrefilter:Kt(Vt),ajaxTransport:Kt($t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,l,u,s,c,f,d,p=S.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?S(h):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),y=p.statusCode||{},w={},_={},E="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(s){if(!a)for(a={};t=Bt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(e,t){return null==s&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==s&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)x.always(e[x.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return n&&n.abort(t),k(0,t),this}};if(g.promise(x),p.url=((e||p.url||Ot.href)+"").replace(Wt,Ot.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Q)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Yt.protocol+"//"+Yt.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Xt(Vt,p,t,x),s)return x;for(f in(c=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ut.test(p.type),i=p.url.replace(qt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(zt,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(At.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ht,"$1"),d=(At.test(i)?"&":"?")+"_="+Pt.guid+++d),p.url=i+d),p.ifModified&&(S.lastModified[i]&&x.setRequestHeader("If-Modified-Since",S.lastModified[i]),S.etag[i]&&x.setRequestHeader("If-None-Match",S.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||s))return x.abort();if(E="abort",v.add(p.complete),x.done(p.success),x.fail(p.error),n=Xt($t,p,t,x)){if(x.readyState=1,c&&m.trigger("ajaxSend",[x,p]),s)return x;p.async&&p.timeout>0&&(l=r.setTimeout((function(){x.abort("timeout")}),p.timeout));try{s=!1,n.send(w,k)}catch(e){if(s)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,u){var f,d,b,w,_,E=t;s||(s=!0,l&&r.clearTimeout(l),n=void 0,o=u||"",x.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,i,o,a,l=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in l)if(l[i]&&l[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,x,a)),!f&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(e,t,n,r){var i,o,a,l,u,s={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)s[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=s[u+" "+o]||s["* "+o]))for(i in s)if((l=i.split(" "))[1]===o&&(a=s[u+" "+l[0]]||s["* "+l[0]])){!0===a?a=s[i]:!0!==s[i]&&(o=l[0],c.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,w,x,f),f?(p.ifModified&&((_=x.getResponseHeader("Last-Modified"))&&(S.lastModified[i]=_),(_=x.getResponseHeader("etag"))&&(S.etag[i]=_)),204===e||"HEAD"===p.type?E="nocontent":304===e?E="notmodified":(E=w.state,d=w.data,f=!(b=w.error))):(b=E,!e&&E||(E="error",e<0&&(e=0))),x.status=e,x.statusText=(t||E)+"",f?g.resolveWith(h,[d,E,x]):g.rejectWith(h,[x,E,b]),x.statusCode(y),y=void 0,c&&m.trigger(f?"ajaxSuccess":"ajaxError",[x,p,f?d:b]),v.fireWith(h,[x,E]),c&&(m.trigger("ajaxComplete",[x,p]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:i,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(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 v(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Zt=S.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials"in Zt,g.ajax=Zt=!!Zt,S.ajaxTransport((function(e){var t,n;if(g.cors||Zt&&!e.crossDomain)return{send:function(i,o){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];for(a in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)l.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?o(0,"error"):o(l.status,l.statusText):o(Jt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),n=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=n:l.onreadystatechange=function(){4===l.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.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 S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=S("