Help
RSS
API
Feed
Maltego
Contact
Domain > legitcheck.thedejocker.net
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2025-09-08
18.238.25.58
(
ClassC
)
2026-02-11
18.161.6.45
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyServer: CloudFrontDate: Wed, 11 Feb 2026 23:31:26 GMTContent-Type: text/htmlContent-Length: 167Connection: keep-aliveLocation: https://legitcheck.thedejocker.net/X-Cache: Redirect from cloudfrontVia: 1.1 fb2e3e161147dc940086f9545b8e0e4a.cloudfront.net (CloudFront)X-Amz-Cf-Pop: HIO52-P1X-Amz-Cf-Id: wcP9OJ5i1wZHHTmf8nYDG3VCn-m0L4JUHPMr3yLLd6OhRe9KS1B2Aw html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>hr>center>CloudFront/center>/body>/html>
Port 443
HTTP/1.1 200 OKContent-Type: text/htmlContent-Length: 308112Connection: keep-aliveDate: Wed, 11 Feb 2026 23:31:27 GMTLast-Modified: Tue, 17 Sep 2024 18:50:57 GMTx-amz-version-id: 3dmgRIeqh5usglpmmMUzPErg_cDuCesnETag: dce380be9f5af6c12531e1ea35cca6beServer: AmazonS3X-Cache: Miss from cloudfrontVia: 1.1 b5695e36d7fbc522ece27885d73757ae.cloudfront.net (CloudFront)X-Amz-Cf-Pop: HIO52-P1X-Amz-Cf-Id: LqWjd_wSTxh60ywkqhCYw8qpV_--5pWy6sznXkEh-X7Gtqrw5SoiLg !DOCTYPE html>html>head>meta charsetutf-8>title>Legit Check Guide/title>style titleTwine CSS>@-webkit-keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes appear{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes rumble{50%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}}@keyframes rumble{50%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}}@-webkit-keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@-webkit-keyframes box-flash{0%{background-color:white;color:white}}@keyframes box-flash{0%{background-color:white;color:white}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}20%{-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}40%{-webkit-transform:scale(0.9, 0.9);transform:scale(0.9, 0.9)}60%{-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05)}80%{-webkit-transform:scale(0.925, 0.925);transform:scale(0.925, 0.925)}to{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes pulse{0%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}20%{-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}40%{-webkit-transform:scale(0.9, 0.9);transform:scale(0.9, 0.9)}60%{-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05)}80%{-webkit-transform:scale(0.925, 0.925);transform:scale(0.925, 0.925)}to{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@-webkit-keyframes shudder-in{0%, to{-webkit-transform:translateX(0em);transform:translateX(0em)}5%, 25%, 45%{-webkit-transform:translateX(-1em);transform:translateX(-1em)}15%, 35%, 55%{-webkit-transform:translateX(1em);transform:translateX(1em)}65%{-webkit-transform:translateX(-0.6em);transform:translateX(-0.6em)}75%{-webkit-transform:translateX(0.6em);transform:translateX(0.6em)}85%{-webkit-transform:translateX(-0.2em);transform:translateX(-0.2em)}95%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@keyframes shudder-in{0%, to{-webkit-transform:translateX(0em);transform:translateX(0em)}5%, 25%, 45%{-webkit-transform:translateX(-1em);transform:translateX(-1em)}15%, 35%, 55%{-webkit-transform:translateX(1em);transform:translateX(1em)}65%{-webkit-transform:translateX(-0.6em);transform:translateX(-0.6em)}75%{-webkit-transform:translateX(0.6em);transform:translateX(0.6em)}85%{-webkit-transform:translateX(-0.2em);transform:translateX(-0.2em)}95%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}.debug-mode tw-expressiontypehookref{background-color:rgba(115,123,140,0.15)}.debug-mode tw-expressiontypehookref::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:? attr(name)}.debug-mode tw-expressiontypevariable{background-color:rgba(140,128,115,0.15)}.debug-mode tw-expressiontypevariable::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:$ attr(name)}.debug-mode tw-expressiontypetempVariable{background-color:rgba(140,128,115,0.15)}.debug-mode tw-expressiontypetempVariable::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:_ attr(name)}.debug-mode tw-expressiontypemacro:nth-of-type(4n+0){background-color:rgba(136,153,102,0.15)}.debug-mode tw-expressiontypemacro:nth-of-type(2n+1){background-color:rgba(102,153,102,0.15)}.debug-mode tw-expressiontypemacro:nth-of-type(4n+2){background-color:rgba(102,153,136,0.15)}.debug-mode tw-expressiontypemacronamedisplay{background-color:rgba(0,170,255,0.1) !important}.debug-mode tw-expressiontypemacronameif,.debug-mode tw-expressiontypemacronameif+tw-hook:not(name),.debug-mode tw-expressiontypemacronameunless,.debug-mode tw-expressiontypemacronameunless+tw-hook:not(name),.debug-mode tw-expressiontypemacronameelseif,.debug-mode tw-expressiontypemacronameelseif+tw-hook:not(name),.debug-mode tw-expressiontypemacronameelse,.debug-mode tw-expressiontypemacronameelse+tw-hook:not(name){background-color:rgba(0,255,0,0.1) !important}.debug-mode tw-expressiontypemacro.false{background-color:rgba(255,0,0,0.2) !important}.debug-mode tw-expressiontypemacro.false+tw-hook:not(name){display:none}.debug-mode tw-expressiontypemacronamea,.debug-mode tw-expressiontypemacronamearray,.debug-mode tw-expressiontypemacronamedatamap,.debug-mode tw-expressiontypemacronamedataset,.debug-mode tw-expressiontypemacronamecolour,.debug-mode tw-expressiontypemacronamecolor,.debug-mode tw-expressiontypemacronamenum,.debug-mode tw-expressiontypemacronamenumber,.debug-mode tw-expressiontypemacronametext,.debug-mode tw-expressiontypemacronameprint{background-color:rgba(255,255,0,0.2) !important}.debug-mode tw-expressiontypemacronameput,.debug-mode tw-expressiontypemacronameset{background-color:rgba(255,128,0,0.2) !important}.debug-mode tw-expressiontypemacronamescript{background-color:rgba(255,191,0,0.2) !important}.debug-mode tw-expressiontypemacronamestyle{background-color:rgba(185,198,198,0.2) !important}.debug-mode tw-expressiontypemacroname^link,.debug-mode tw-expressiontypemacroname^click,.debug-mode tw-expressiontypemacroname^mouseover,.debug-mode tw-expressiontypemacroname^mouseout{background-color:rgba(128,223,32,0.2) !important}.debug-mode tw-expressiontypemacroname^replace,.debug-mode tw-expressiontypemacroname^prepend,.debug-mode tw-expressiontypemacroname^append,.debug-mode tw-expressiontypemacroname^remove{background-color:rgba(223,96,32,0.2) !important}.debug-mode tw-expressiontypemacronamelive{background-color:rgba(32,96,223,0.2) !important}.debug-mode tw-expressiontypemacro::before{content:( attr(name) :);padding:0 0.5rem;font-size:1rem;vertical-align:middle;line-height:normal;background-color:inherit;border:1px solid rgba(255,255,255,0.5)}.debug-mode tw-hook{background-color:rgba(0,85,255,0.1) !important}.debug-mode tw-hook::before{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:}.debug-mode tw-hook::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:}.debug-mode tw-hookname::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content: attr(name) |}.debug-mode tw-pseudo-hook{background-color:rgba(255,170,0,0.1) !important}.debug-mode tw-collapsed::before{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:{}.debug-mode tw-collapsed::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:}}.debug-mode tw-verbatim::before,.debug-mode tw-verbatim::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:`}.debug-mode tw-alignstyle*text-align: center{background:linear-gradient(to right, rgba(255,204,189,0) 0%, rgba(255,204,189,0.25) 50%, rgba(255,204,189,0) 100%)}.debug-mode tw-alignstyle*text-align: left{background:linear-gradient(to right, rgba(255,204,189,0.25) 0%, rgba(255,204,189,0) 100%)}.debug-mode tw-alignstyle*text-align: right{background:linear-gradient(to right, rgba(255,204,189,0) 0%, rgba(255,204,189,0.25) 100%)}.debug-mode tw-column{background-color:rgba(189,228,255,0.2)}.debug-mode tw-enchantment{animation:enchantment 0.5s infinite;-webkit-animation:enchantment 0.5s infinite;border:1px solid}.debug-mode tw-link::after,.debug-mode tw-broken-link::after{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:attr(passage-name)}.debug-mode tw-include{background-color:rgba(204,128,51,0.1)}.debug-mode tw-include::before{font-size:0.8rem;padding-left:0.2rem;padding-right:0.2rem;vertical-align:top;content:attr(type) attr(title) }@keyframes enchantment{0%,to{border-color:#ffb366}50%{border-color:#6fc}}@-webkit-keyframes enchantment{0%,to{border-color:#ffb366}50%{border-color:#6fc}}tw-debugger{position:fixed;box-sizing:border-box;bottom:0;right:0;z-index:999999;min-width:10em;min-height:1em;padding:1em;font-size:1.25em;font-family:sans-serif;border-left:solid #000 2px;border-top:solid #000 2px;border-top-left-radius:.5em;background:#fff;opacity:1}tw-debugger select{margin-right:1em;width:12em}tw-debugger button{border-radius:3px;border:solid #999 1px;margin:auto 4px;background-color:#fff;font-size:inherit}tw-debugger button.enabled{background-color:#eee;box-shadow:inset #ddd 3px 5px 0.5em}tw-debugger .variables{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;position:absolute;bottom:100%;left:-2px;right:0;padding:1em;max-height:40vh;overflow-y:scroll;overflow-x:hidden;z-index:999998;background:#fff;border:inherit;border-top-left-radius:.5em;border-bottom-left-radius:.5em;font-size:0.8em}tw-debugger .variables:empty,tw-debugger .variableshidden{display:none}tw-debugger .variables .variable-row{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;flex-shrink:0}tw-debugger .variables .variable-row:nth-child(2n){background:#EEE}tw-debugger .variables .variable-name{display:inline-block;width:50%}tw-debugger .variables .variable-name::before{content:$}tw-debugger .variables .variable-name.temporary::before{content:_}tw-debugger .variables .variable-name .temporary-variable-scope{opacity:0.8;font-size:0.75em}tw-debugger .variables .variable-name .temporary-variable-scope::before{content: in }tw-debugger .variables .variable-value{display:inline-block;width:50%}tw-link,.link,tw-icon,.enchantment-clickblock{cursor:pointer}tw-link,.enchantment-link{color:#4169E1;font-weight:bold;text-decoration:none;transition:color 0.2s ease-in-out}tw-enchantmentstyle^color tw-link:not(:hover),tw-enchantmentstyle* color tw-link:not(:hover),tw-enchantmentstyle^color .enchantment-link:not(:hover),tw-enchantmentstyle* color .enchantment-link:not(:hover){color:inherit}tw-link:hover,.enchantment-link:hover{color:#00bfff}tw-link:active,.enchantment-link:active{color:#DD4B39}.visited{color:#6941e1}tw-enchantmentstyle^color .visited:not(:hover),tw-enchantmentstyle* color .visited:not(:hover){color:inherit}.visited:hover{color:#E3E}tw-broken-link{color:#993333;border-bottom:2px solid #993333;cursor:not-allowed}tw-enchantmentstyle^color tw-broken-link:not(:hover),tw-enchantmentstyle* color tw-broken-link:not(:hover){color:inherit}.enchantment-mouseover{border-bottom:1px dashed #666}.enchantment-mouseout{border:rgba(64,149,191,0.25) 1px solid}.enchantment-mouseout:hover{background-color:rgba(64,149,191,0.25);border:transparent 1px solid;border-radius:0.2em}.enchantment-clickblock{box-shadow:inset 0 0 0 0.5vmax;display:block;color:rgba(65,105,225,0.5);transition:color 0.2s ease-in-out}.enchantment-clickblock:hover{color:rgba(0,191,255,0.5)}.enchantment-clickblock:active{color:rgba(222,78,59,0.5)}html{margin:0;height:100%;overflow-x:hidden}*,:before,:after{position:relative;box-sizing:inherit}body{margin:0;height:100%}tw-storydata{display:none}tw-story{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font:100% Georgia, serif;box-sizing:border-box;width:100%;min-height:100%;font-size:1.5em;line-height:1.5em;padding:5% 20%;margin:0;background-color:#000;color:#fff}tw-passage{display:block}br+br{display:block;height:0;margin:0.8ex 0}tw-sidebar{left:-5em;width:3em;position:absolute;text-align:center;display:block}tw-icon{display:block;margin:0.5em 0;opacity:0.1;font-size:2.75em}tw-icon:hover{opacity:0.3}tw-hook:empty,tw-expression:empty{display:none}tw-error{display:inline-block;border-radius:0.2em;padding:0.2em;font-size:1rem;cursor:help}tw-error.error{background-color:rgba(223,58,190,0.4);color:#fff}tw-error.warning{background-color:rgba(223,140,58,0.4);color:#fff;display:none}.debug-mode tw-error.warning{display:inline}tw-error-explanation{display:block;font-size:0.8rem;line-height:1rem}tw-error-explanation-button{cursor:pointer;line-height:0em;border-radius:1px;border:1px solid black;font-size:0.8rem;margin:0 0.4rem;opacity:0.5}tw-error-explanation-button .folddown-arrowhead{display:inline-block}tw-notifier{border-radius:0.2em;padding:0.2em;font-size:1rem;background-color:rgba(223,182,58,0.4);display:none}.debug-mode tw-notifier{display:inline}tw-notifier::before{content:attr(message)}tw-colour{border:1px solid black;display:inline-block;width:1em;height:1em}h1{font-size:3em}h2{font-size:2.25em}h3{font-size:1.75em}h1,h2,h3,h4,h5,h6{line-height:1em;margin:0.3em 0 0.6em 0}pre{font-size:1rem}small{font-size:70%}big{font-size:120%}mark{color:rgba(0,0,0,0.6);background-color:#ff9}ins{color:rgba(0,0,0,0.6);background-color:rgba(255,242,204,0.5);border-radius:0.5em;box-shadow:0em 0em 0.2em #ffe699;text-decoration:none}center{text-align:center;margin:0 auto;width:60%}blink{text-decoration:none;animation:fade-in-out 1s steps(1, end) infinite alternate;-webkit-animation:fade-in-out 1s steps(1, end) infinite alternate}tw-align{display:block}tw-columns{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;-moz-justify-content:space-between;justify-content:space-between}tw-outline{color:white;text-shadow:-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000}tw-shadow{text-shadow:0.08em 0.08em 0.08em #000}tw-emboss{text-shadow:0.08em 0.08em 0em #000;color:white}tw-condense{letter-spacing:-0.08em}tw-expand{letter-spacing:0.1em}tw-blur{color:transparent;text-shadow:0em 0em 0.08em #000}tw-blurrier{color:transparent;text-shadow:0em 0em 0.2em #000}tw-blurrier::selection{background-color:transparent;color:transparent}tw-blurrier::-moz-selection{background-color:transparent;color:transparent}tw-smear{color:transparent;text-shadow:0em 0em 0.02em rgba(0,0,0,0.75),-0.2em 0em 0.5em rgba(0,0,0,0.5),0.2em 0em 0.5em rgba(0,0,0,0.5)}tw-mirror{display:inline-block;transform:scaleX(-1);-webkit-transform:scaleX(-1)}tw-upside-down{display:inline-block;transform:scaleY(-1);-webkit-transform:scaleY(-1)}tw-fade-in-out{text-decoration:none;animation:fade-in-out 2s ease-in-out infinite alternate;-webkit-animation:fade-in-out 2s ease-in-out infinite alternate}tw-rumble{-webkit-animation:rumble linear 0.1s 0s infinite;animation:rumble linear 0.1s 0s infinite;display:inline-block}tw-shudder{-webkit-animation:shudder linear 0.1s 0s infinite;animation:shudder linear 0.1s 0s infinite;display:inline-block}tw-shudder-in{animation:shudder-in 1s ease-out;-webkit-animation:shudder-in 1s ease-out}.transition-in{-webkit-animation:appear 0ms step-start;animation:appear 0ms step-start}.transition-out{-webkit-animation:appear 0ms step-end;animation:appear 0ms step-end}data-t8n^fade-in.transition-in{-webkit-animation:appear .8s;animation:appear .8s}data-t8n^fade-in.transition-out{display:none}data-t8n^dissolve.transition-in{-webkit-animation:appear .8s;animation:appear .8s}data-t8n^dissolve.transition-out{-webkit-animation:appear .8s reverse;animation:appear .8s reverse}data-t8n^shudder-in.transition-in,.transition-indata-t8n^shudder{display:inline-block;-webkit-animation:shudder-in .8s;animation:shudder-in .8s}data-t8n^shudder-out.transition-out,.transition-outdata-t8n^shudder{display:inline-block;-webkit-animation:shudder-out .8s;animation:shudder-out .8s}data-t8n^boxflash.transition-in{-webkit-animation:box-flash .8s;animation:box-flash .8s}data-t8n^pulse.transition-in{-webkit-animation:pulse .8s;animation:pulse .8s;display:inline-block}data-t8n^pulse.transition-out{-webkit-animation:pulse .8s reverse;animation:pulse .8s reverse;display:inline-block}data-t8n$fast{animation-duration:.4s;-webkit-animation-duration:.4s}data-t8n$slow{animation-duration:1.6s;-webkit-animation-duration:1.6s}/style>/head>body>tw-story>/tw-story>tw-storydata nameLegit Check Guide startnode15 creatorTwine creator-version2.9.2 formatHarlowe format-version2.1.0 ifid4B800BFA-EFC0-4609-ACF7-E97802749F98 options tags zoom1 hidden>style rolestylesheet idtwine-user-stylesheet typetext/twine-css>tw-story { background-color: #292929; color: #ffffff;}tw-link{ color: #ffffff;}tw-link.hover {color:#c2c2c2;}tw-link.visited {color:#FFFFFF;}/style>script rolescript idtwine-user-script typetext/twine-javascript>/script>tw-passagedata pid1 nameFake tags position51,275 size100,100>You have a fake jersey./tw-passagedata>tw-passagedata pid2 nameButton tags position250,500 size100,100> Does it have the adidas button?- Yes -> button-check - No -> neck /tw-passagedata>tw-passagedata pid3 name button-check tags position400,500 size100,100>''Let's look at the button.''Is your jersey one of these? - Initial Home/Away Jersey (the team's original 2017-18 jersey set) - 2018 Winter Classic (Rangers v. Sabres) - 2018 Stadium Series (Capitals v. Toronto) Yes -> button-older No ->Fake Jk, I don't have a button -> neck /tw-passagedata>tw-passagedata pid4 name button-older tags position400,650 size100,100>Which does the button look like? <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/button-legit.png" width"250" > -> neck <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/button-fake-stitched.png" width"250" > ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/button-fake.png" width"250" > ->Fake I don't have a button. -> neck /tw-passagedata>tw-passagedata pid5 name neck tags position250,775 size100,100>Can you see the Adidas logo through the neck? Yes ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/inside-fake.png"> ->Fake No -> band <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/inside-legit.png"> -> band I'm not sure-> band /tw-passagedata>tw-passagedata pid6 name band tags position250,950 size100,100>What does the information band look like? Band is shiny, text is not clear, stitched through the text ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/band-fake.png" width"300"> ->Fake Shorter Band ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/band-fake-short.png" width"300"> ->Fake Band is flat, text and stitching are clear and clean -> hangar <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/band-legit.png" width"300"> -> hangar I'm not sure-> hangar /tw-passagedata>tw-passagedata pid7 name hangar tags position400,775 size100,100>What is the hangar text like? Hangar text is sewn or sloppy ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/hangar-fake.png"> ->Fake Hangar text is screenprinted orsublimated and is clean and legible -> shield <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/hangar-legit.png"> -> shield My jersey does not have hangar text-> shield I'm not sure-> shield /tw-passagedata>tw-passagedata pid8 name shield tags position400,950 size100,100>Does the jersey have an NHL Shield on the front? Yes -> shield-present No ->Fake/tw-passagedata>tw-passagedata pid9 name shield-present tags position525,775 size100,100>What does your shield look like? Oddly shaped, rough stitching |Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-shield-fake.png"> |Fake Flat, clean stitching | box <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-shield-legit.png" | box I'm not sure | box /tw-passagedata>tw-passagedata pid10 name box tags position525,950 size100,100>Let's look at the back of your jersey.Look at the adidas logo on the back of the neck.It should be a patch, with the backing material being the same color as the jersey itself (in most cases)The "box" it sits in should be just big enough for it, and the logo should sit level.What describes your logo? Crooked or box too big |Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/neck-fake.png"> |Fake Flat, centered | dimples <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/neck-legit.png" | dimples I'm not sure-> dimples /tw-passagedata>tw-passagedata pid11 name dimples tags position650,775 size100,100>Look at the shoulder dimples. What are they like? Very shiny or printed |Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/dimples-fake.png"> |Fake Subtle & even, part of the fabric | laces <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/dimples-legit.png" | laces I'm not sure-> laces /tw-passagedata>tw-passagedata pid12 name cut tags position650,950 size100,100>Overall, what does the cut look like? It should smoothly taper out towards the bottom <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-cut-fake-01.png" height"300"> |Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-cut-fake-02.png" height"300"> |Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-cut-legit.png" height"300"> ->legit-disclaimer I'm not sure->ask /tw-passagedata>tw-passagedata pid13 namelegit-disclaimer tags position1125,1025 size100,100>Overall, you more than likely have a legit jersey! If you're still not 100% sure, feel free to post a link or pictures in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>!/tw-passagedata>tw-passagedata pid14 namefight-strap tags position825,425 size100,100>''What does your fight strap look like:'' Just kidding, I don't have a fight strap ->no-strap I'm not sure->Lettering <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/fightstrap-fake.png" width"400"> ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/fightstrap-indo.png" width"400"> ->Lettering<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/fightstrap-retail.png" width"400"> ->Lettering<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/fightstrap-ti.png" width"400"> ->Lettering /tw-passagedata>tw-passagedata pid15 namemanufacturer tags position825,150 size100,100>Welcome to the r/hockeyjerseys NHL fake guide!This is an interactive guide to help you generally determine if your NHL jersey is legitimate or not.Minor and international leagues have their own quirks, and are more fringe cases. You should ask about them in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">legit check thread</a>.Big disclaimer: ''We cannot guarantee everything with this guide.'' It is a general guide to use, and if you're still not sure, you should post a link or pictures in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">monthly legit check thread</a>Let's get started. Who is the manufacturer of your jersey?- (link: "Adidas")(set: $manu to "adidas")(go-to: "ebay-ask")- (link: "Fanatics")(set: $manu to "fanatics")(go-to: "fanatics-ask")- (link: "Reebok")(set: $manu to "reebok")(go-to: "ebay-ask")- (link: "CCM")(set: $manu to "CCM")(go-to: "ebay-ask")- (link: "Koho")(set: $manu to "CCM")(go-to: "ebay-ask")- (link: "Starter or Pro Player")(set: $manu to "Starter")(go-to: "Starter")- (link: "Other")(set: $manu to "Other")(go-to: "ask")/tw-passagedata>tw-passagedata pid16 nameAdidas tags position625,225 size100,100>This is an interactive guide to help you determine the legitimacy of a Fanatics/Adidas Authentic jersey. Continue -> adidas-size /tw-passagedata>tw-passagedata pid17 nameReebok tags position1691,14 size100,100>This is an interactive guide to help you determine the legitimacy of your Reebok Edge jersey.What size is it? 46 ->edge 48 ->Fake 50 ->edge 52 ->edge 54 ->edge 56 ->edge 58 ->edge 58(+/G/K) ->edge 60 ->edge S/M/L/XL/XXL ->reebok-replica /tw-passagedata>tw-passagedata pid18 nameCCM tags position1650,225 size100,100>This is an interactive guide to help you determine the legitimacy of your CCM or Koho jersey.Is your jersey a CCM "Vintage" Jersey?<img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccmvintage-legitlettered.png' width'400'> Yes ->ccm-vintage No ->ccm-novintage /tw-passagedata>tw-passagedata pid19 name adidas-size tags position425,325 size100,100>What size is it? 42 ->Button 44 ->Button 46 ->Button 48 ->Fake 50 ->Button 52 ->Button 54 ->Button 56 ->Button 60 ->Button /tw-passagedata>tw-passagedata pid20 nameLettering tags position825,600 size100,100>Do the letters look shiny or oily, like this? Yes ->Fake No ->crest<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/lettering-fake.png" width"400"> <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/lettering-fake-patch.png" width"400"> I'm not sure->crest /tw-passagedata>tw-passagedata pid21 name laces tags position774,800 size100,100>If your jersey has laces, what do they look like? Loose, thin, or detached ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-laces-fake-01.png" ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-laces-fake-02.png" ->Fake Flat, immobile -> cut <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/adidas-laces-legit.png" -> cut I don't have laces -> cut I'm not sure-> cut /tw-passagedata>tw-passagedata pid22 namecrest tags position975,600 size100,100>How does the crest on the front look? Shiny, oily, bubbly, diagonal streaks ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crest-fake.png" width"300"> ->Fake Flat, smooth ->crap-design <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crest-legit.png" width"300" ->crap-design I'm not sure->crap-design /tw-passagedata>tw-passagedata pid23 namepause tags position1125,700 size100,100>Overall, things are looking ok if you've gotten this far!Let's continue with some manufacturer specific traits -> manu-switch/tw-passagedata>tw-passagedata pid24 name manu-switch tags position1000,800 size100,100>(if: $manu is 'reebok' ) (go-to: "edgeorno")(else-if: $manu is 'adidas' ) (go-to: "Adidas")(else-if: $manu is 'CCM' ) (go-to: "CCM")(else-if: $manu is 'Starter' ) (go-to: "legit-disclaimer")(else:)"Ah fuck, look what you've done. PM Dex."/tw-passagedata>tw-passagedata pid25 nameno-strap tags position996,398 size100,100>(if: $manu is 'reebok' ) (go-to: "reebok-replica")(else-if: $manu is 'CCM' ) (go-to: "CCM")(else-if: $manu is 'fanatics' ) (go-to: "fanatics")(else-if: $manu is 'adidas' ) (go-to: "adidaswcoh")(else-if: $manu is 'Starter' ) (go-to: "legit-disclaimer")(else:)You should check in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>./tw-passagedata>tw-passagedata pid26 namefanatics tags position1675,925 size100,100>In general, Fanatics Breakaway jerseys are not faked.If the jersey does ''not'' have a fight strap, and has a jock tag that looks like this, it is more than likely legit.<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/jock-tag-fanatics.png" width"500">However if you're not completely sure, you should ask in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>./tw-passagedata>tw-passagedata pid27 namestrap tags position825,300 size100,100>Does your jersey have a fight strap?(link: "Yes")(set: $strap to "true")(go-to: "fight-strap")(link: "No")(set: $strap to "false")(go-to: "no-strap")/tw-passagedata>tw-passagedata pid28 namereebok-replica tags position1275,800 size100,100>Does your jersey have a jock tag?<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/jock-tag-reebok.png" width"400"> Yes ->premier No ->replica-wc/tw-passagedata>tw-passagedata pid29 namepremier tags position1375,1025 size100,100>It looks like you have a legit Reebok premier. If you're still not 100% sure, feel free to post a link or pictures in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>!/tw-passagedata>tw-passagedata pid30 namereplica-wc tags position1500,1025 size100,100>Is your jersey a Winter Classic jersey? Yes ->premier No ->premier-size/tw-passagedata>tw-passagedata pid31 nameask tags position825,1175 size100,100>Sounds like you've got a fringe case.Post a link or pictures in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>!/tw-passagedata>tw-passagedata pid32 namepremier-size tags position1425,1200 size100,100>Is your jersey a lettered size? (S/M/L/XL) Yes ->premier No ->ask/tw-passagedata>tw-passagedata pid33 nameccm-vintage tags position1575,375 size100,100>What kind of sizing does your jersey have?- Numbered ->vintage-number - Lettered ->vintage-lettered /tw-passagedata>tw-passagedata pid34 namevintage-number tags position1625,625 size100,100>What color are the bands on the neck tag? Gray or Blue? <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/ccmvintage-fake.png" width"300"> ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/ccmvintage-legit.png" width"300" alt"Courtesy of classicvintagejerseys on ebay"> ->legit-disclaimer/tw-passagedata>tw-passagedata pid35 namevintage-lettered tags position1400,500 size100,100>In general, CCM Vintage jerseys in lettered sizes are not faked.However, you should ask in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a> if you're not sure. Start Over ->manufacturer /tw-passagedata>tw-passagedata pid36 namecrap-design tags position1125,580 size100,100>Is it one of these designs? Yes ->Fake No ->pause <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crap-design-01.png" width"300"><img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crap-design-02.png" width"300"><img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crap-design-03.png" width"300"><img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/crap-design-04.png" width"300">/tw-passagedata>tw-passagedata pid37 nameadidaswcoh tags position1675,1025 size100,100>Is your jersey from the World Cup of Hockey (WCH)? Yes ->wcoh No ->ask/tw-passagedata>tw-passagedata pid38 namewcoh tags position1700,1175 size100,100>Does it have a jock tag that looks like this?<img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/jock-tag-adidas.png" width"400"> Yes ->legit-disclaimer No ->ask/tw-passagedata>tw-passagedata pid39 nameedge tags position1975,150 size100,100>What does the NHL Shield look like? <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-shield-legit-01.png" width"300"> ->legit-disclaimer <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-shield-legit-02.png" width"300"> ->reebok-neck <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-shield-fake-01.png" width"300"> ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-shield-fake-02.png" width"300" ->Fake I'm not sure->reebok-neck /tw-passagedata>tw-passagedata pid40 nameccm-novintage tags position1694,376 size100,100>Is it a lettered size (S/M/L/XL)? Yes ->ccm-novintage-sizes No ->legit-disclaimer /tw-passagedata>tw-passagedata pid41 name6100 tags position1825,375 size100,100>The Reebok 6100 was used in 2005-07, and has same boxy style as older CCM/Koho jerseys. Generally not faked, but it is best to ask in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>. They are *extremely* rare, especially in size 48. Start Over ->manufacturer /tw-passagedata>tw-passagedata pid42 nameedgeorno tags position1774,148 size100,100>Is your jersey a Reebok Edge, Premier, or 6100?- Edge ->Reebok - Premier ->Fake-premier - 6100 ->6100 I'm not sure->edge /tw-passagedata>tw-passagedata pid43 namereebok-laces-ask tags position2075,625 size100,100>Does your jersey have neck laces? Yes ->reebok-laces-yes No ->reebok-laces-no/tw-passagedata>tw-passagedata pid44 namereebok-laces-yes tags position1950,650 size100,100>How does the NHL Shield sit behind the laces? Behind ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-laces-fake.png" width"300" ->Fake Above ->legit-disclaimer <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-laces-legit.png" width"300" ->legit-disclaimer I'm not sure->ask /tw-passagedata>tw-passagedata pid45 namereebok-laces-no tags position1950,525 size100,100>Is the NHL Shield on its own piece of fabric, centered and well above the "V" of the neck? Yes ->legit-disclaimer <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-vneck-legit.png" width"300"> ->legit-disclaimer No ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-vneck-fake.png" width"300"> ->Fake I'm not sure->ask /tw-passagedata>tw-passagedata pid46 namereebok-neck tags position2075,300 size100,100>Look at the back of the neck of your jersey.Which logo does it have? Vector Logo ->reebok-neck-vector <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-vector-legit.png" width"400" > ->reebok-neck-vector Wordmark Logo ->reebok-neck-wordmark <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-wordmark-legit.png" width"400" > ->reebok-neck-wordmark/tw-passagedata>tw-passagedata pid47 namereebok-neck-vector tags position2100,475 size100,100>Is the Vector logo a patch or stitched directly?Patch ->reebok-laces-ask <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-vector-legit.png" width"400" > ->reebok-laces-askStitched Directly ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-vector-fake.png" width"400" > ->Fake I'm not sure->reebok-laces-ask /tw-passagedata>tw-passagedata pid48 namereebok-neck-wordmark tags position2225,475 size100,100>Is the Wordmark logo a patch or stitched directly?Patch ->reebok-laces-ask <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-wordmark-legit.png" width"400" > ->reebok-laces-askStitched Directly ->Fake <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/reebok-wordmark-fake.png" width"400" > ->Fake I'm not sure->reebok-laces-ask /tw-passagedata>tw-passagedata pid49 namesite-check tags position1375,50 size100,100>Is the website something like "officialpredtorsshop.com" or "legitnhljerseys.com"? Or is it DHGate/AliExpress/Ecrater? Yes->Fake-site No->ddos/tw-passagedata>tw-passagedata pid50 nameFake-site tags position50,125 size100,100>This is a fake site or seller. Do not order from them.Check out the list of <a href"https://old.reddit.com/r/hockeyjerseys/wiki/trustedsellers#wiki_retail_stores.3A">trusted sellers</a> for a list of shops that are known to be trustworthy, or ask in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">legit check thread</a> if you're still unsure./tw-passagedata>tw-passagedata pid51 nameebay tags position990,260 size100,100>Where is the seller located?North America->strap Europe ->strap Asia ->Fake-site /tw-passagedata>tw-passagedata pid52 nameebay-ask tags position1225,50 size100,100>Did you or are you buying a jersey on eBay?Yes->ebay No->insta I'm not worried about the source, skip this step->strap /tw-passagedata>tw-passagedata pid53 namewhois tags position1375,300 size100,100>Look up the website in a <a href"http://whois.domaintools.com/">WHOIS database</a>.Where is the site based?North America->tgtbt Europe ->tgtbt Asia ->Fake-site /tw-passagedata>tw-passagedata pid54 nameddos tags position1375,175 size100,100>Did you have to go through DDOS protection to get to the site, like CloudFlare?Yes->Fake-site No->whois /tw-passagedata>tw-passagedata pid55 nameFake-premier tags position2102,33 size100,100>Premiers don't have fight straps. If you have a jersey with a fight strap and a jock tag, it's one of the following: - A Practice jersey - A protoype jersey (unlikely) - A Fake (most likely) Start Over ->manufacturer /tw-passagedata>tw-passagedata pid56 nameHEADER tagsheader position100,1000 size100,100><div class"BTG-header"><a href"https://new.reddit.com/r/hockeyjerseys/" title"BTG" target"_blank"><img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/Screenshot-20190418165811-1900x137.png"></a></div>/tw-passagedata>tw-passagedata pid57 nameFOOTER tagsfooter position100,1125 size100,100><div>(link: "Click here to start over")(set: $manu to "")(go-to: "manufacturer")</div>/tw-passagedata>tw-passagedata pid58 nameStarter tags position1267,594 size100,100>In general, Starter and Pro Player jerseys are not faked.If it is a "concept" jersey, like one of the ones below, it is 100% fake. <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/blues_concept.jpg" width300 height220> <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/flyers_concept.jpeg" width300 height220><img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/pens_concept.jpg" width300 height220> <img src"https://s3.amazonaws.com/legitcheck.thedejocker.net/kings_concept.jpg" width300 height220>Check through the rest of the guide to double-check: Continue ->strap If you're still not 100% sure, feel free to post a link or pictures in the <a href"https://reddit.com/r/hockeyjerseys/about/sticky">r/hockeyjerseys monthly legit check thread</a>!/tw-passagedata>tw-passagedata pid59 nameinsta tags position1225,175 size100,100>Is it an ad on a social media site like Instagram/FB/Snapchat? Yes -> majorcorp No ->site-check /tw-passagedata>tw-passagedata pid60 name majorcorp tags position1225,300 size100,100>Is the ad for a reputable corporation like Adidas or Dick's Sporting Goods? Yes ->strap No ->sketch/tw-passagedata>tw-passagedata pid61 namesketch tags position1225,425 size100,100>Is the ad kinda sketchy sounding, or offering something that's too good to be true, like this? <img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/insta.png' height400> Yes ->Fake-site No ->ddos /tw-passagedata>tw-passagedata pid62 nametgtbt tags position1500,175 size100,100>Are the deals just simply too good to be true, like a brand new, star player jersey for <$40? Yes ->Fake-site No ->strap /tw-passagedata>tw-passagedata pid63 nameccm-novintage-sizes tags position2450,100 size100,100>Look at the size tag.Are all the sizes consistent? For example, XXL/TTG/EEG or L/G/G?<img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_tag.jpg' height'300'> <img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_tag_korea.jpg' height'300'>Yes ->ccm-novintage-stitchingNo ->Fake /tw-passagedata>tw-passagedata pid64 nameccm-novintage-stitching tags position2300,250 size100,100>Look at the patches and crest of the jersey. Are there drop stitches, like this? <img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_stitching_crest.jpg' width'400'><img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_stitching_patch.jpg' width'400'>Yes ->Fake No ->ccm-nonvintage-lettering/tw-passagedata>tw-passagedata pid65 nameccm-nonvintage-lettering tags position2450,250 size100,100>Is the customization kind of bubbly, or maybe just a little too wrong?<img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_lettering.jpg' width'450'><img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_lettering_tb.jpg' width'450'><img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_lettering_edm.jpg' width'450'>- Yes, bubbly or off ->Fake - No, clean ->ccm-nonvintage-design/tw-passagedata>tw-passagedata pid66 nameccm-nonvintage-design tags position2450,400 size100,100>Is it a design the team never wore?<img src'https://s3.amazonaws.com/legitcheck.thedejocker.net/ccm_fake_design.jpg' width'500'>Yes ->Fake No ->legit-disclaimer /tw-passagedata>tw-passagedata pid67 namefanatics-ask tags position1675,800 size100,100>What type of Fanatics jersey are you checking?Breakaway ->fanatics Premium Authentic (Retail, Indonesian-made) ->Adidas Pro Authentic (Made in Canada) ->Adidas /tw-passagedata>/tw-storydata>script titleTwine engine code data-mainharlowe>use strict;function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):etn,e}function _toConsumableArray(e){if(Array.isArray(e)){for(var t0,nArray(e.length);te.length;t++)ntet;return n}return Array.from(e)}var _slicedToArrayfunction(){function e(e,t){var n,r!0,i!1,ovoid 0;try{for(var a,seSymbol.iterator();!(r(as.next()).done)&&(n.push(a.value),!t||n.length!t);r!0);}catch(e){i!0,oe}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(Invalid attempt to destructure non-iterable instance)}}(),_typeoffunctiontypeof Symbol&&symboltypeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&functiontypeof Symbol&&e.constructorSymbol&&e!Symbol.prototype?symbol:typeof e};!function(){/** * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. * Released under MIT license, http://github.com/requirejs/almond/LICENSE */var requirejs,require,define;!function(e){function t(e,t){return v.call(e,t)}function n(e,t){var n,r,i,o,a,s,u,c,l,f,p,d,ht&&t.split(/),mg.map,ym&&m*||{};if(e){for(ee.split(/),ae.length-1,g.nodeIdCompat&&w.test(ea)&&(eaea.replace(w,)),.e0.charAt(0)&&h&&(dh.slice(0,h.length-1),ed.concat(e)),l0;le.length;l++)if(pel,.p)e.splice(l,1),l-1;else if(..p){if(0l||1l&&..e2||..el-1)continue;l>0&&(e.splice(l-1,2),l-2)}ee.join(/)}if((h||y)&&m){for(ne.split(/),ln.length;l>0;l-1){if(rn.slice(0,l).join(/),h)for(fh.length;f>0;f-1)if(imh.slice(0,f).join(/),i&&(iir)){oi,sl;break}if(o)break;!u&&y&&yr&&(uyr,cl)}!o&&u&&(ou,sc),o&&(n.splice(0,s,o),en.join(/))}return e}function r(t,n){return function(){var rb.call(arguments,0);returnstring!typeof r0&&1r.length&&r.push(null),f.apply(e,r.concat(t,n))}}function i(e){return function(t){return n(t,e)}}function o(e){return function(t){het}}function a(n){if(t(m,n)){var rmn;delete mn,yn!0,l.apply(e,r)}if(!t(h,n)&&!t(y,n))throw new Error(No +n);return hn}function s(e){var t,ne?e.indexOf(!):-1;return n>-1&&(te.substring(0,n),ee.substring(n+1,e.length)),t,e}function u(e){return e?s(e):}function c(e){return function(){return g&&g.config&&g.confige||{}}}var l,f,p,d,h{},m{},g{},y{},vObject.prototype.hasOwnProperty,b.slice,w/\.js$/;pfunction(e,t){var r,os(e),uo0,ct1;return eo1,u&&(un(u,c),ra(u)),u?er&&r.normalize?r.normalize(e,i(c)):n(e,c):(en(e,c),os(e),uo0,eo1,u&&(ra(u))),{f:u?u+!+e:e,n:e,pr:u,p:r}},d{require:function(e){return r(e)},exports:function(e){var the;returnundefined!typeof t?t:he{}},module:function(e){return{id:e,uri:,exports:he,config:c(e)}}},lfunction(n,i,s,c){var l,f,g,v,b,w,x,T,Sundefinedtypeof s?undefined:_typeof(s);if(cc||n,wu(c),undefinedS||functionS){for(i!i.length&&s.length?require,exports,module:i,b0;bi.length;b+1)if(vp(ib,w),fv.f,requiref)Tbd.require(n);else if(exportsf)Tbd.exports(n),x!0;else if(modulef)lTbd.module(n);else if(t(h,f)||t(m,f)||t(y,f))Tba(f);else{if(!v.p)throw new Error(n+ missing +f);v.p.load(v.n,r(c,!0),o(f),{}),Tbhf}gs?s.apply(hn,T):void 0,n&&(l&&l.exports!e&&l.exports!hn?hnl.exports:ge&&x||(hng))}else n&&(hns)},requirejsrequireffunction(t,n,r,i,o){if(stringtypeof t)return dt?dt(n):a(p(t,u(n)).f);if(!t.splice){if(gt,g.deps&&f(g.deps,g.callback),!n)return;n.splice?(tn,nr,rnull):te}return nn||function(){},functiontypeof r&&(ri,io),i?l(e,t,n,r):setTimeout(function(){l(e,t,n,r)},4),f},f.configfunction(e){return f(e)},requirejs._definedh,definefunction(e,n,r){if(string!typeof e)throw new Error(See almond README: incorrect module build, no module name);n.splice||(rn,n),t(h,e)||t(m,e)||(mee,n,r)},define.amd{jQuery:!0}}(),define(almond,function(){}),function(e,t){object(undefinedtypeof module?undefined:_typeof(module))&&object_typeof(module.exports)?module.exportse.document?t(e,!0):function(e){if(!e.document)throw new Error(jQuery requires a window with a document);return t(e)}:t(e)}(undefined!typeof window?window:this,function(e,t){function n(e,t){tt||te;var nt.createElement(script);n.texte,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t!!e&&lengthin e&&e.length,nhe.type(e);returnfunctionn||he.isWindow(e)?!1:arrayn||0t||numbertypeof t&&t>0&&t-1 in e}function i(e,t,n){return he.isFunction(t)?he.grep(e,function(e,r){return!!t.call(e,r,e)!n}):t.nodeType?he.grep(e,function(e){return et!n}):string!typeof t?he.grep(e,function(e){return ae.call(t,e)>-1!n}):Oe.test(t)?he.filter(t,e,n):(the.filter(t,e),he.grep(e,function(e){return ae.call(t,e)>-1!n&&1e.nodeType}))}function o(e,t){for(;(eet)&&1!e.nodeType;);return e}function a(e){var t{};return he.each(e.match(Ne)||,function(e,n){tn!0}),t}function s(e){return e}function u(e){throw e}function c(e,t,n){var r;try{e&&he.isFunction(re.promise)?r.call(e).done(t).fail(n):e&&he.isFunction(re.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function l(){te.removeEventListener(DOMContentLoaded,l),e.removeEventListener(load,l),he.ready()}function f(){this.expandohe.expando+f.uid++}function p(e){returntruee?!0:falsee?!1:nulle?null:e+e+?+e:De.test(e)?JSON.parse(e):e}function d(e,t,n){var r;if(void 0n&&1e.nodeType)if(rdata-+t.replace(qe,-$&).toLowerCase(),ne.getAttribute(r),stringtypeof n){try{np(n)}catch(e){}Fe.set(e,t,n)}else nvoid 0;return n}function h(e,t,n,r){var i,o1,a20,sr?function(){return r.cur()}:function(){return he.css(e,t,)},us(),cn&&n3||(he.cssNumbert?:px),l(he.cssNumbert||px!c&&+u)&&He.exec(he.css(e,t));if(l&&l3!c){cc||l3,nn||,l+u||1;do oo||.5,l/o,he.style(e,t,l+c);while(o!(os()/u)&&1!o&&--a)}return n&&(l+l||+u||0,in1?l+(n1+1)*n2:+n2,r&&(r.unitc,r.startl,r.endi)),i}function m(e){var t,ne.ownerDocument,re.nodeName,iWer;return i?i:(tn.body.appendChild(n.createElement(r)),ihe.css(t,display),t.parentNode.removeChild(t),nonei&&(iblock),Weri,i)}function g(e,t){for(var n,r,i,o0,ae.length;a>o;o++)reo,r.style&&(nr.style.display,t?(nonen&&(ioLe.get(r,display)||null,io||(r.style.display)),r.style.display&&Be(r)&&(iom(r))):none!n&&(ionone,Le.set(r,display,n)));for(o0;a>o;o++)null!io&&(eo.style.displayio);return e}function y(e,t){var n;return nundefined!typeof e.getElementsByTagName?e.getElementsByTagName(t||*):undefined!typeof e.querySelectorAll?e.querySelectorAll(t||*):,void 0t||t&&he.nodeName(e,t)?he.merge(e,n):n}function v(e,t){for(var n0,re.length;r>n;n++)Le.set(en,globalEval,!t||Le.get(tn,globalEval))}function b(e,t,n,r,i){for(var o,a,s,u,c,l,ft.createDocumentFragment(),p,d0,he.length;h>d;d++)if(oed,o||0o)if(objecthe.type(o))he.merge(p,o.nodeType?o:o);else if(Je.test(o)){for(aa||f.appendChild(t.createElement(div)),s(Ue.exec(o)||,)1.toLowerCase(),uXes||Xe._default,a.innerHTMLu1+he.htmlPrefilter(o)+u2,lu0;l--;)aa.lastChild;he.merge(p,a.childNodes),af.firstChild,a.textContent}else p.push(t.createTextNode(o));for(f.textContent,d0;opd++;)if(r&&he.inArray(o,r)>-1)i&&i.push(o);else if(che.contains(o.ownerDocument,o),ay(f.appendChild(o),script),c&&v(a),n)for(l0;oal++;)Ge.test(o.type||)&&n.push(o);return f}function w(){return!0}function x(){return!1}function T(){try{return te.activeElement}catch(e){}}function S(e,t,n,r,i,o){var a,s;if(object(undefinedtypeof t?undefined:_typeof(t))){string!typeof n&&(rr||n,nvoid 0);for(s in t)S(e,s,n,r,ts,o);return e}if(nullr&&nulli?(in,rnvoid 0):nulli&&(stringtypeof n?(ir,rvoid 0):(ir,rn,nvoid 0)),i!1)ix;else if(!i)return e;return 1o&&(ai,ifunction(e){return he().off(e),a.apply(this,arguments)},i.guida.guid||(a.guidhe.guid++)),e.each(function(){he.event.add(this,t,i,r,n)})}function O(e,t){return he.nodeName(e,table)&&he.nodeName(11!t.nodeType?t:t.firstChild,tr)?e.getElementsByTagName(tbody)0||e:e}function j(e){return e.type(null!e.getAttribute(type))+/+e.type,e}function k(e){var trt.exec(e.type);return t?e.typet1:e.removeAttribute(type),e}function C(e,t){var n,r,i,o,a,s,u,c;if(1t.nodeType){if(Le.hasData(e)&&(oLe.access(e),aLe.set(t,o),co.events)){delete a.handle,a.events{};for(i in c)for(n0,rci.length;r>n;n++)he.event.add(t,i,cin)}Fe.hasData(e)&&(sFe.access(e),uhe.extend({},s),Fe.set(t,u))}}function A(e,t){var nt.nodeName.toLowerCase();inputn&&ze.test(e.type)?t.checkede.checked:(inputn||textarean)&&(t.defaultValuee.defaultValue)}function E(e,t,r,i){tie.apply(,t);var o,a,s,u,c,l,f0,pe.length,dp-1,ht0,mhe.isFunction(h);if(m||p>1&&stringtypeof h&&!pe.checkClone&&nt.test(h))return e.each(function(n){var oe.eq(n);m&&(t0h.call(this,n,o.html())),E(o,t,r,i)});if(p&&(ob(t,e0.ownerDocument,!1,e,i),ao.firstChild,1o.childNodes.length&&(oa),a||i)){for(she.map(y(o,script),j),us.length;p>f;f++)co,f!d&&(che.clone(c,!0,!0),u&&he.merge(s,y(c,script))),r.call(ef,c,f);if(u)for(lss.length-1.ownerDocument,he.map(s,k),f0;u>f;f++)csf,Ge.test(c.type||)&&!Le.access(c,globalEval)&&he.contains(l,c)&&(c.src?he._evalUrl&&he._evalUrl(c.src):n(c.textContent.replace(it,),l))}return e}function N(e,t,n){for(var r,it?he.filter(t,e):e,o0;null!(rio);o++)n||1!r.nodeType||he.cleanData(y(r)),r.parentNode&&(n&&he.contains(r.ownerDocument,r)&&v(y(r,script)),r.parentNode.removeChild(r));return e}function _(e,t,n){var r,i,o,a,se.style;return nn||st(e),n&&(an.getPropertyValue(t)||nt,!a||he.contains(e.ownerDocument,e)||(ahe.style(e,t)),!pe.pixelMarginRight()&&at.test(a)&&ot.test(t)&&(rs.width,is.minWidth,os.maxWidth,s.minWidths.maxWidths.widtha,an.width,s.widthr,s.minWidthi,s.maxWidtho)),void 0!a?a+:a}function P(e,t){return{get:function(){return e()?void delete this.get:(this.gett).apply(this,arguments)}}}function I(e){if(e in pt)return e;for(var te0.toUpperCase()+e.slice(1),nft.length;n--;)if(eftn+t,e in pt)return e}function M(e,t,n){var rHe.exec(t);return r?Math.max(0,r2-(n||0))+(r3||px):t}function L(e,t,n,r,i){var o,a0;for(on(r?border:content)?4:widtht?1:0;4>o;o+2)marginn&&(a+he.css(e,n+$eo,!0,i)),r?(contentn&&(a-he.css(e,padding+$eo,!0,i)),margin!n&&(a-he.css(e,border+$eo+Width,!0,i))):(a+he.css(e,padding+$eo,!0,i),padding!n&&(a+he.css(e,border+$eo+Width,!0,i)));return a}function F(e,t,n){var r,i!0,ost(e),aborder-boxhe.css(e,boxSizing,!1,o);if(e.getClientRects().length&&(re.getBoundingClientRect()t),0>r||nullr){if(r_(e,t,o),(0>r||nullr)&&(re.stylet),at.test(r))return r;ia&&(pe.boxSizingReliable()||re.stylet),rparseFloat(r)||0}return r+L(e,t,n||(a?border:content),i,o)+px}function D(e,t,n,r,i){return new D.prototype.init(e,t,n,r,i)}function q(){ht&&(e.requestAnimationFrame(q),he.fx.tick())}function R(){return e.setTimeout(function(){dtvoid 0}),dthe.now()}function H(e,t){var n,r0,i{height:e};for(tt?1:0;4>r;r+2-t)n$er,imargin+nipadding+ne;return t&&(i.opacityi.widthe),i}function $(e,t,n){for(var r,i(W.tweenerst||).concat(W.tweeners*),o0,ai.length;a>o;o++)if(rio.call(n,t,e))return r}function B(e,t,n){var r,i,o,a,s,u,c,l,fwidthin t||heightin t,pthis,d{},he.style,me.nodeType&&Be(e),yLe.get(e,fxshow);n.queue||(ahe._queueHooks(e,fx),nulla.unqueued&&(a.unqueued0,sa.empty.fire,a.empty.firefunction(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,he.queue(e,fx).length||a.empty.fire()})}));for(r in t)if(itr,mt.test(i)){if(delete tr,oo||togglei,i(m?hide:show)){if(show!i||!y||void 0yr)continue;m!0}dry&&yr||he.style(e,r)}if(u!he.isEmptyObject(t),u||!he.isEmptyObject(d)){f&&1e.nodeType&&(n.overflowh.overflow,h.overflowX,h.overflowY,cy&&y.display,nullc&&(cLe.get(e,display)),lhe.css(e,display),nonel&&(c?lc:(g(e,!0),ce.style.display||c,lhe.css(e,display),g(e))),(inlinel||inline-blockl&&null!c)&&nonehe.css(e,float)&&(u||(p.done(function(){h.displayc}),nullc&&(lh.display,cnonel?:l)),h.displayinline-block)),n.overflow&&(h.overflowhidden,p.always(function(){h.overflown.overflow0,h.overflowXn.overflow1,h.overflowYn.overflow2})),u!1;for(r in d)u||(y?hiddenin y&&(my.hidden):yLe.access(e,fxshow,{display:c}),o&&(y.hidden!m),m&&g(e,!0),p.done(function(){m||g(e),Le.remove(e,fxshow);for(r in d)he.style(e,r,dr)})),u$(m?yr:0,r,p),r in y||(yru.start,m&&(u.endu.start,u.start0))}}function V(e,t){var n,r,i,o,a;for(n in e)if(rhe.camelCase(n),itr,oen,he.isArray(o)&&(io1,oeno0),n!r&&(ero,delete en),ahe.cssHooksr,a&&expandin a){oa.expand(o),delete er;for(n in o)n in e||(enon,tni)}else tri}function W(e,t,n){var r,i,o0,aW.prefilters.length,she.Deferred().always(function(){delete u.elem}),ufunction(){if(i)return!1;for(var tdt||R(),nMath.max(0,c.startTime+c.duration-t),rn/c.duration||0,o1-r,a0,uc.tweens.length;u>a;a++)c.tweensa.run(o);return s.notifyWith(e,c,o,n),1>o&&u?n:(s.resolveWith(e,c),!1)},cs.promise({elem:e,props:he.extend({},t),opts:he.extend(!0,{specialEasing:{},easing:he.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||R(),duration:n.duration,tweens:,createTween:function(t,n){var rhe.Tween(e,c.opts,t,n,c.opts.specialEasingt||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n0,rt?c.tweens.length:0;if(i)return this;for(i!0;r>n;n++)c.tweensn.run(1);return t?(s.notifyWith(e,c,1,0),s.resolveWith(e,c,t)):s.rejectWith(e,c,t),this}}),lc.props;for(V(l,c.opts.specialEasing);a>o;o++)if(rW.prefilterso.call(c,e,l,c.opts))return he.isFunction(r.stop)&&(he._queueHooks(c.elem,c.opts.queue).stophe.proxy(r.stop,r)),r;return he.map(l,$,c),he.isFunction(c.opts.start)&&c.opts.start.call(e,c),he.fx.timer(he.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function z(e){var te.match(Ne)||;return t.join( )}function U(e){return e.getAttribute&&e.getAttribute(class)||}function G(e,t,n,r){var i;if(he.isArray(t))he.each(t,function(t,i){n||kt.test(e)?r(e,i):G(e++(object(undefinedtypeof i?undefined:_typeof(i))&&null!i?t:)+,i,n,r)});else if(n||object!he.type(t))r(e,t);else for(i in t)G(e++i+,ti,n,r)}function X(e){return function(t,n){string!typeof t&&(nt,t*);var r,i0,ot.toLowerCase().match(Ne)||;if(he.isFunction(n))for(;roi++;)+r0?(rr.slice(1)||*,(erer||).unshift(n)):(erer||).push(n)}}function J(e,t,n,r){function i(s){var u;return os!0,he.each(es||,function(e,s){var cs(t,n,r);returnstring!typeof c||a||oc?a?!(uc):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o{},aeqt;return i(t.dataTypes0)||!o*&&i(*)}function Y(e,t){var n,r,ihe.ajaxSettings.flatOptions||{};for(n in t)void 0!tn&&((in?e:r||(r{}))ntn);return r&&he.extend(!0,e,r),e}function Z(e,t,n){for(var r,i,o,a,se.contents,ue.dataTypes;*u0;)u.shift(),void 0r&&(re.mimeType||t.getResponseHeader(Content-Type));if(r)for(i in s)if(si&&si.test(r)){u.unshift(i);break}if(u0in n)ou0;else{for(i in n){if(!u0||e.convertersi+ +u0){oi;break}a||(ai)}oo||a}return o?(o!u0&&u.unshift(o),no):void 0}function Q(e,t,n,r){var i,o,a,s,u,c{},le.dataTypes.slice();if(l1)for(a in e.converters)ca.toLowerCase()e.convertersa;for(ol.shift();o;)if(e.responseFieldso&&(ne.responseFieldsot),!u&&r&&e.dataFilter&&(te.dataFilter(t,e.dataType)),uo,ol.shift())if(*o)ou;else if(*!u&&u!o){if(acu+ +o||c* +o,!a)for(i in c)if(si.split( ),s1o&&(acu+ +s0||c* +s0)){a!0?aci:ci!!0&&(os0,l.unshift(s1));break}if(a!!0)if(a&&e.throws)ta(t);else try{ta(t)}catch(e){return{state:parsererror,error:a?e:No conversion from +u+ to +o}}}return{state:success,data:t}}function K(e){return he.isWindow(e)?e:9e.nodeType&&e.defaultView}var ee,tee.document,neObject.getPrototypeOf,reee.slice,ieee.concat,oeee.push,aeee.indexOf,se{},uese.toString,cese.hasOwnProperty,lece.toString,fele.call(Object),pe{},de3.1.1,hefunction e(t,n){return new e.fn.init(t,n)},me/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,ge/^-ms-/,ye/-(a-z)/g,vefunction(e,t){return t.toUpperCase()};he.fnhe.prototype{jquery:de,constructor:he,length:0,toArray:function(){return re.call(this)},get:function(e){return nulle?re.call(this):0>e?thise+this.length:thise},pushStack:function(e){var the.merge(this.constructor(),e);return t.prevObjectthis,t},each:function(e){return he.each(this,e)},map:function(e){return this.pushStack(he.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var tthis.length,n+e+(0>e?t:0);return this.pushStack(n>0&&t>n?thisn:)},end:function(){return this.prevObject||this.constructor()},push:oe,sort:ee.sort,splice:ee.splice},he.extendhe.fn.extendfunction(){var e,t,n,r,i,o,aarguments0||{},s1,uarguments.length,c!1;for(booleantypeof a&&(ca,aargumentss||{},s++),object(undefinedtypeof a?undefined:_typeof(a))||he.isFunction(a)||(a{}),su&&(athis,s--);u>s;s++)if(null!(eargumentss))for(t in e)nat,ret,a!r&&(c&&r&&(he.isPlainObject(r)||(ihe.isArray(r)))?(i?(i!1,on&&he.isArray(n)?n:):on&&he.isPlainObject(n)?n:{},athe.extend(c,o,r)):void 0!r&&(atr));return a},he.extend({expando:jQuery+(de+Math.random()).replace(/\D/g,),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){returnfunctionhe.type(e)},isArray:Array.isArray,isWindow:function(e){return null!e&&ee.window},isNumeric:function(e){var the.type(e);return(numbert||stringt)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return e&&object Objectue.call(e)?(tne(e))?(nce.call(t,constructor)&&t.constructor,functiontypeof n&&le.call(n)fe):!0:!1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return nulle?e+:object(undefinedtypeof e?undefined:_typeof(e))||functiontypeof e?seue.call(e)||object:undefinedtypeof e?undefined:_typeof(e)},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(ge,ms-).replace(ye,ve)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()t.toLowerCase()},each:function(e,t){var n,i0;if(r(e))for(ne.length;n>i&&t.call(ei,i,ei)!!1;i++);else for(i in e)if(t.call(ei,i,ei)!1)break;return e},trim:function(e){return nulle?:(e+).replace(me,)},makeArray:function(e,t){var nt||;return null!e&&(r(Object(e))?he.merge(n,stringtypeof e?e:e):oe.call(n,e)),n},inArray:function(e,t,n){return nullt?-1:ae.call(t,e,n)},merge:function(e,t){for(var n+t.length,r0,ie.length;n>r;r++)ei++tr;return e.lengthi,e},grep:function(e,t,n){for(var r,i,o0,ae.length,s!n;a>o;o++)r!t(eo,o),r!s&&i.push(eo);return i},map:function(e,t,n){var i,o,a0,s;if(r(e))for(ie.length;i>a;a++)ot(ea,a,n),null!o&&s.push(o);else for(a in e)ot(ea,a,n),null!o&&s.push(o);return ie.apply(,s)},guid:1,proxy:function e(t,n){var r,i,e;returnstringtypeof n&&(rtn,nt,tr),he.isFunction(t)?(ire.call(arguments,2),efunction(){return t.apply(n||this,i.concat(re.call(arguments)))},e.guidt.guidt.guid||he.guid++,e):void 0},now:Date.now,support:pe}),functiontypeof Symbol&&(he.fnSymbol.iteratoreeSymbol.iterator),he.each(Boolean Number String Function Array Date RegExp Object Error Symbol.split( ),function(e,t){seobject +t+t.toLowerCase()});var befunction(e){function t(e,t,n,r){var i,o,a,s,u,c,l,pt&&t.ownerDocument,ht?t.nodeType:9;if(nn||,string!typeof e||!e||1!h&&9!h&&11!h)return n;if(!r&&((t?t.ownerDocument||t:$)!I&&P(t),tt||I,L)){if(11!h&&(uye.exec(e)))if(iu1){if(9h){if(!(at.getElementById(i)))return n;if(a.idi)return n.push(a),n}else if(p&&(ap.getElementById(i))&&R(t,a)&&a.idi)return n.push(a),n}else{if(u2)return Q.apply(n,t.getElementsByTagName(e)),n;if((iu3)&&T.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(!(!T.qsa||Ue+ ||F&&F.test(e))){if(1!h)pt,le;else if(object!t.nodeName.toLowerCase()){for((st.getAttribute(id))?ss.replace(xe,Te):t.setAttribute(id,sH),ck(e),oc.length;o--;)co#+s+ +d(co);lc.join(,),pve.test(e)&&f(t.parentNode)||t}if(l)try{return Q.apply(n,p.querySelectorAll(l)),n}catch(e){}finally{sH&&t.removeAttribute(id)}}}return A(e.replace(se,$1),t,n,r)}function n(){function e(n,r){return t.push(n+ )>S.cacheLength&&delete et.shift(),en+ r}var t;return e}function r(e){return eH!0,e}function i(e){var tI.createElement(fieldset);try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),tnull}}function o(e,t){for(var ne.split(|),rn.length;r--;)S.attrHandlenrt}function a(e,t){var nt&&e,rn&&1e.nodeType&&1t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;nn.nextSibling;)if(nt)return-1;return e?1:-1}function s(e){return function(t){var nt.nodeName.toLowerCase();returninputn&&t.typee}}function u(e){return function(t){var nt.nodeName.toLowerCase();return(inputn||buttonn)&&t.typee}}function c(e){return function(t){returnformin t?t.parentNode&&t.disabled!1?labelin t?labelin t.parentNode?t.parentNode.disablede:t.disablede:t.isDisablede||t.isDisabled!!e&&Oe(t)e:t.disablede:labelin t?t.disablede:!1}}function l(e){return r(function(t){return t+t,r(function(n,r){for(var i,oe(,n.length,t),ao.length;a--;)nioa&&(ni!(rini))})})}function f(e){return e&&undefined!typeof e.getElementsByTagName&&e}function p(){}function d(e){for(var t0,ne.length,r;n>t;t++)r+et.value;return r}function h(e,t,n){var rt.dir,it.next,oi||r,an&&parentNodeo,sV++;return t.first?function(t,n,i){for(;ttr;)if(1t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var c,l,f,pB,s;if(u){for(;ttr;)if((1t.nodeType||a)&&e(t,n,u))return!0}else for(;ttr;)if(1t.nodeType||a)if(ftH||(tH{}),lft.uniqueID||(ft.uniqueID{}),i&&it.nodeName.toLowerCase())ttr||t;else{if((clo)&&c0B&&c1s)return p2c2;if(lop,p2e(t,n,u))return!0}return!1}}function m(e){return e.length>1?function(t,n,r){for(var ie.length;i--;)if(!ei(t,n,r))return!1;return!0}:e0}function g(e,n,r){for(var i0,on.length;o>i;i++)t(e,ni,r);return r}function y(e,t,n,r,i){for(var o,a,s0,ue.length,cnull!t;u>s;s++)(oes)&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!iH&&(iv(i)),o&&!oH&&(ov(o,a)),r(function(r,a,s,u){var c,l,f,p,d,ha.length,mr||g(t||*,s.nodeType?s:s,),v!e||!r&&t?m:y(m,p,e,s,u),bn?o||(r?e:h||i)?:a:v;if(n&&n(v,b,s,u),i)for(cy(b,d),i(c,,s,u),lc.length;l--;)(fcl)&&(bdl!(vdlf));if(r){if(o||e){if(o){for(c,lb.length;l--;)(fbl)&&c.push(vlf);o(null,b,c,u)}for(lb.length;l--;)(fbl)&&(co?ee(r,f):pl)>-1&&(rc!(acf))}}else by(ba?b.splice(h,b.length):b),o?o(null,a,b,u):Q.apply(a,b)})}function b(e){for(var t,n,r,ie.length,oS.relativee0.type,ao||S.relative ,so?1:0,uh(function(e){return et},a,!0),ch(function(e){return ee(t,e)>-1},a,!0),lfunction(e,n,r){var i!o&&(r||n!E)||((tn).nodeType?u(e,n,r):c(e,n,r));return tnull,i};i>s;s++)if(nS.relativees.type)lh(m(l),n);else{if(nS.filteres.type.apply(null,es.matches),nH){for(r++s;i>r&&!S.relativeer.type;r++);return v(s>1&&m(l),s>1&&d(e.slice(0,s-1).concat({value: es-2.type?*:})).replace(se,$1),n,r>s&&b(e.slice(s,r)),i>r&&b(ee.slice(r)),i>r&&d(e))}l.push(n)}return m(l)}function w(e,n){var in.length>0,oe.length>0,afunction(r,a,s,u,c){var l,f,p,d0,h0,mr&&,g,vE,br||o&&S.find.TAG(*,c),wB+nullv?1:Math.random()||.1,xb.length;for(c&&(EaI||a||c);h!x&&null!(lbh);h++){if(o&&l){for(f0,a||l.ownerDocumentI||(P(l),s!L);pef++;)if(p(l,a||I,s)){u.push(l);break}c&&(Bw)}i&&((l!p&&l)&&d--,r&&m.push(l))}if(d+h,i&&h!d){for(f0;pnf++;)p(m,g,a,s);if(r){if(d>0)for(;h--;)mh||gh||(ghY.call(u));gy(g)}Q.apply(u,g),c&&!r&&g.length>0&&d+n.length>1&&t.uniqueSort(u)}return c&&(Bw,Ev),m};return i?r(a):a}var x,T,S,O,j,k,C,A,E,N,_,P,I,M,L,F,D,q,R,Hsizzle+1*new Date,$e.document,B0,V0,Wn(),zn(),Un(),Gfunction(e,t){return et&&(_!0),0},X{}.hasOwnProperty,J,YJ.pop,ZJ.push,QJ.push,KJ.slice,eefunction(e,t){for(var n0,re.length;r>n;n++)if(ent)return n;return-1},techecked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped,ne\\x20\\t\\r\\n\\f,re(?:\\\\.|\\w-|^\x00-\\xa0)+,ie\\+ne+*(+re+)(?:+ne+*(*^$|!~?)+ne+*(?:((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\|(+re+))|)+ne+*\\,oe:(+re+)(?:\\(((((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\)|((?:\\\\.|^\\\\()\\|+ie+)*)|.*)\\)|),aenew RegExp(ne++,g),senew RegExp(^+ne++|((?:^|^\\\\)(?:\\\\.)*)+ne++$,g),uenew RegExp(^+ne+*,+ne+*),cenew RegExp(^+ne+*(>+~|+ne+)+ne+*),lenew RegExp(+ne+*(^\\\*?)+ne+*\\,g),fenew RegExp(oe),penew RegExp(^+re+$),de{ID:new RegExp(^#(+re+)),CLASS:new RegExp(^\\.(+re+)),TAG:new RegExp(^(+re+|*)),ATTR:new RegExp(^+ie),PSEUDO:new RegExp(^+oe),CHILD:new RegExp(^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(+ne+*(even|odd|((+-|)(\\d*)n|)+ne+*(?:(+-|)+ne+*(\\d+)|))+ne+*\\)|),i),bool:new RegExp(^(?:+te+)$,i),needsContext:new RegExp(^+ne+*>+~|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(+ne+*((?:-\\d)?\\d*)+ne+*\\)|)(?^-|$),i)},he/^(?:input|select|textarea|button)$/i,me/^h\d$/i,ge/^^{+\{\s*\native \w/,ye/^(?:#(\w-+)|(\w+)|\.(\w-+))$/,ve/+~/,benew RegExp(\\\\(\\da-f{1,6}+ne+?|(+ne+)|.),ig),wefunction(e,t,n){var r0x+t-65536;return r!r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe/(\0-\x1f\x7f|^-?\d)|^-$|^\0-\x1f\x7f-\uFFFF\w-/g,Tefunction(e,t){return t?\x00e?\ufffd:e.slice(0,-1)+\\+e.charCodeAt(e.length-1).toString(16)+ :\\+e},Sefunction(){P()},Oeh(function(e){return e.disabled!0&&(formin e||labelin e)},{dir:parentNode,next:legend});try{Q.apply(JK.call($.childNodes),$.childNodes),J$.childNodes.length.nodeType}catch(e){Q{apply:J.length?function(e,t){Z.apply(e,K.call(t))}:function(e,t){for(var ne.length,r0;en++tr++;);e.lengthn-1}}}Tt.support{},jt.isXMLfunction(e){var te&&(e.ownerDocument||e).documentElement;return t?HTML!t.nodeName:!1},Pt.setDocumentfunction(e){var t,n,re?e.ownerDocument||e:$;return r!I&&9r.nodeType&&r.documentElement?(Ir,MI.documentElement,L!j(I),$!I&&(nI.defaultView)&&n.top!n&&(n.addEventListener?n.addEventListener(unload,Se,!1):n.attachEvent&&n.attachEvent(onunload,Se)),T.attributesi(function(e){return e.classNamei,!e.getAttribute(className)}),T.getElementsByTagNamei(function(e){return e.appendChild(I.createComment()),!e.getElementsByTagName(*).length}),T.getElementsByClassNamege.test(I.getElementsByClassName),T.getByIdi(function(e){return M.appendChild(e).idH,!I.getElementsByName||!I.getElementsByName(H).length}),T.getById?(S.filter.IDfunction(e){var te.replace(be,we);return function(e){return e.getAttribute(id)t}},S.find.IDfunction(e,t){if(undefined!typeof t.getElementById&&L){var nt.getElementById(e);return n?n:}}):(S.filter.IDfunction(e){var te.replace(be,we);return function(e){var nundefined!typeof e.getAttributeNode&&e.getAttributeNode(id);return n&&n.valuet}},S.find.IDfunction(e,t){if(undefined!typeof t.getElementById&&L){var n,r,i,ot.getElementById(e);if(o){if(no.getAttributeNode(id),n&&n.valuee)returno;for(it.getElementsByName(e),r0;oir++;)if(no.getAttributeNode(id),n&&n.valuee)returno}return}}),S.find.TAGT.getElementsByTagName?function(e,t){returnundefined!typeof t.getElementsByTagName?t.getElementsByTagName(e):T.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r,i0,ot.getElementsByTagName(e);if(*e){for(;noi++;)1n.nodeType&&r.push(n);return r}return o},S.find.CLASST.getElementsByClassName&&function(e,t){returnundefined!typeof t.getElementsByClassName&&L?t.getElementsByClassName(e):void 0},D,F,(T.qsage.test(I.querySelectorAll))&&(i(function(e){M.appendChild(e).innerHTMLa id+H+>/a>select id+H+-\r\\ msallowcapture>option selected>/option>/select>,e.querySelectorAll(msallowcapture^).length&&F.push(*^$+ne+*(?:|\\)),e.querySelectorAll(selected).length||F.push(\\+ne+*(?:value|+te+)),e.querySelectorAll(id~+H+-).length||F.push(~),e.querySelectorAll(:checked).length||F.push(:checked),e.querySelectorAll(a#+H++*).length||F.push(.#.++~)}),i(function(e){e.innerHTMLa href disableddisabled>/a>select disableddisabled>option/>/select>;var tI.createElement(input);t.setAttribute(type,hidden),e.appendChild(t).setAttribute(name,D),e.querySelectorAll(named).length&&F.push(name+ne+**^$|!~?),2!e.querySelectorAll(:enabled).length&&F.push(:enabled,:disabled),M.appendChild(e).disabled!0,2!e.querySelectorAll(:disabled).length&&F.push(:enabled,:disabled),e.querySelectorAll(*,:x),F.push(,.*:)})),(T.matchesSelectorge.test(qM.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&i(function(e){T.disconnectedMatchq.call(e,*),q.call(e,s!:x),D.push(!,oe)}),FF.length&&new RegExp(F.join(|)),DD.length&&new RegExp(D.join(|)),tge.test(M.compareDocumentPosition),Rt||ge.test(M.contains)?function(e,t){var n9e.nodeType?e.documentElement:e,rt&&t.parentNode;return er||!(!r||1!r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;tt.parentNode;)if(te)return!0;return!1},Gt?function(e,t){if(et)return _!0,0;var n!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n(e.ownerDocument||e)(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!T.sortDetached&&t.compareDocumentPosition(e)n?eI||e.ownerDocument$&&R($,e)?-1:tI||t.ownerDocument$&&R($,t)?1:N?ee(N,e)-ee(N,t):0:4&n?-1:1)}:function(e,t){if(et)return _!0,0;var n,r0,ie.parentNode,ot.parentNode,se,ut;if(!i||!o)return eI?-1:tI?1:i?-1:o?1:N?ee(N,e)-ee(N,t):0;if(io)return a(e,t);for(ne;nn.parentNode;)s.unshift(n);for(nt;nn.parentNode;)u.unshift(n);for(;srur;)r++;return r?a(sr,ur):sr$?-1:ur$?1:0},I):I},t.matchesfunction(e,n){return t(e,null,null,n)},t.matchesSelectorfunction(e,n){if((e.ownerDocument||e)!I&&P(e),nn.replace(le,$1),!(!T.matchesSelector||!L||Un+ ||D&&D.test(n)||F&&F.test(n)))try{var rq.call(e,n);if(r||T.disconnectedMatch||e.document&&11!e.document.nodeType)return r}catch(e){}return t(n,I,null,e).length>0},t.containsfunction(e,t){return(e.ownerDocument||e)!I&&P(e),R(e,t)},t.attrfunction(e,t){(e.ownerDocument||e)!I&&P(e);var nS.attrHandlet.toLowerCase(),rn&&X.call(S.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!r?r:T.attributes||!L?e.getAttribute(t):(re.getAttributeNode(t))&&r.specified?r.value:null},t.escapefunction(e){return(e+).replace(xe,Te)},t.errorfunction(e){throw new Error(Syntax error, unrecognized expression: +e)},t.uniqueSortfunction(e){var t,n,r0,i0;if(_!T.detectDuplicates,N!T.sortStable&&e.slice(0),e.sort(G),_){for(;tei++;)tei&&(rn.push(i));for(;r--;)e.splice(nr,1)}return Nnull,e},Ot.getTextfunction(e){var t,n,r0,ie.nodeType;if(i){if(1i||9i||11i){if(stringtypeof e.textContent)return e.textContent;for(ee.firstChild;e;ee.nextSibling)n+O(e)}else if(3i||4i)return e.nodeValue}else for(;ter++;)n+O(t);return n},St.selectors{cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(e){return e1e1.replace(be,we),e3(e3||e4||e5||).replace(be,we),~e2&&(e3 +e3+ ),e.slice(0,4)},CHILD:function(e){return e1e1.toLowerCase(),nthe1.slice(0,3)?(e3||t.error(e0),e4+(e4?e5+(e6||1):2*(evene3||odde3)),e5+(e7+e8||odde3)):e3&&t.error(e0),e},PSEUDO:function(e){var t,n!e6&&e2;return de.CHILD.test(e0)?null:(e3?e2e4||e5||:n&&fe.test(n)&&(tk(n,!0))&&(tn.indexOf(),n.length-t)-n.length)&&(e0e0.slice(0,t),e2n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var te.replace(be,we).toLowerCase();return*e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()t}},CLASS:function(e){var tWe+ ;return t||(tnew RegExp((^|+ne+)+e+(+ne+|$)))&&W(e,function(e){return t.test(stringtypeof e.className&&e.className||undefined!typeof e.getAttribute&&e.getAttribute(class)||)})},ATTR:function(e,n,r){return function(i){var ot.attr(i,e);return nullo?!n:n?(o+,n?or:!n?o!r:^n?r&&0o.indexOf(r):*n?r&&o.indexOf(r)>-1:$n?r&&o.slice(-r.length)r:~n?( +o.replace(ae, )+ ).indexOf(r)>-1:|n?or||o.slice(0,r.length+1)r+-:!1):!0}},CHILD:function(e,t,n,r,i){var onth!e.slice(0,3),alast!e.slice(-4),sof-typet;return 1r&&0i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,mo!a?nextSibling:previousSibling,gt.parentNode,ys&&t.nodeName.toLowerCase(),v!u&&!s,b!1;if(g){if(o){for(;m;){for(pt;ppm;)if(s?p.nodeName.toLowerCase()y:1p.nodeType)return!1;hmonlye&&!h&&nextSibling}return!0}if(ha?g.firstChild:g.lastChild,a&&v){for(pg,fpH||(pH{}),lfp.uniqueID||(fp.uniqueID{}),cle||,dc0B&&c1,bd&&c2,pd&&g.childNodesd;p++d&&p&&pm||(bd0)||h.pop();)if(1p.nodeType&&++b&&pt){leB,d,b;break}}else if(v&&(pt,fpH||(pH{}),lfp.uniqueID||(fp.uniqueID{}),cle||,dc0B&&c1,bd),b!1)for(;(p++d&&p&&pm||(bd0)||h.pop())&&((s?p.nodeName.toLowerCase()!y:1!p.nodeType)||!++b||(v&&(fpH||(pH{}),lfp.uniqueID||(fp.uniqueID{}),leB,b),p!t)););return b-i,br||b%r0&&b/r>0}}},PSEUDO:function(e,n){var i,oS.pseudose||S.setFilterse.toLowerCase()||t.error(unsupported pseudo: +e);return oH?o(n):o.length>1?(ie,e,,n,S.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,io(e,n),ai.length;a--;)ree(e,ia),er!(tria)}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t,n,iC(e.replace(se,$1));return iH?r(function(e,t,n,r){for(var o,ai(e,null,r,),se.length;s--;)(oas)&&(es!(tso))}):function(e,r,o){return t0e,i(t,null,o,n),t0null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return ee.replace(be,we),function(t){return(t.textContent||t.innerText||O(t)).indexOf(e)>-1}}),lang:r(function(e){return pe.test(e||)||t.error(unsupported lang: +e),ee.replace(be,we).toLowerCase(),function(t){var n;do if(nL?t.lang:t.getAttribute(xml:lang)||t.getAttribute(lang))return nn.toLowerCase(),ne||0n.indexOf(e+-);while((tt.parentNode)&&1t.nodeType);return!1}}),target:function(t){var ne.location&&e.location.hash;return n&&n.slice(1)t.id},root:function(e){return eM},focus:function(e){return eI.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){var te.nodeName.toLowerCase();returninputt&&!!e.checked||optiont&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected!0},empty:function(e){for(ee.firstChild;e;ee.nextSibling)if(e.nodeType6)return!1;return!0},parent:function(e){return!S.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var te.nodeName.toLowerCase();returninputt&&buttone.type||buttont},text:function(e){var t;returninpute.nodeName.toLowerCase()&&texte.type&&(null(te.getAttribute(type))||textt.toLowerCase())},first:l(function(){return0}),last:l(function(e,t){returnt-1}),eq:l(function(e,t,n){return0>n?n+t:n}),even:l(function(e,t){for(var n0;t>n;n+2)e.push(n);return e}),odd:l(function(e,t){for(var n1;t>n;n+2)e.push(n);return e}),lt:l(function(e,t,n){for(var r0>n?n+t:n;--r>0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r0>n?n+t:n;++rt;)e.push(r);return e})}},S.pseudos.nthS.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudosxs(x);for(x in{submit:!0,reset:!0})S.pseudosxu(x);return p.prototypeS.filtersS.pseudos,S.setFiltersnew p,kt.tokenizefunction(e,n){var r,i,o,a,s,u,c,lze+ ;if(l)return n?0:l.slice(0);for(se,u,cS.preFilter;s;){(!r||(iue.exec(s)))&&(i&&(ss.slice(i0.length)||s),u.push(o)),r!1,(ice.exec(s))&&(ri.shift(),o.push({value:r,type:i0.replace(se, )}),ss.slice(r.length));for(a in S.filter)!(idea.exec(s))||ca&&!(ica(i))||(ri.shift(),o.push({value:r,type:a,matches:i}),ss.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},Ct.compilefunction(e,t){var n,r,i,oUe+ ;if(!o){for(t||(tk(e)),nt.length;n--;)ob(tn),oH?r.push(o):i.push(o);oU(e,w(i,r)),o.selectore}return o},At.selectfunction(e,t,n,r){var i,o,a,s,u,cfunctiontypeof e&&e,l!r&&k(ec.selector||e);if(nn||,1l.length){if(ol0l0.slice(0),o.length>2&&ID(ao0).type&&9t.nodeType&&L&&S.relativeo1.type){if(t(S.find.ID(a.matches0.replace(be,we),t)||)0,!t)return n;c&&(tt.parentNode),ee.slice(o.shift().value.length)}for(ide.needsContext.test(e)?0:o.length;i--&&(aoi,!S.relativesa.type);)if((uS.finds)&&(ru(a.matches0.replace(be,we),ve.test(o0.type)&&f(t.parentNode)||t))){if(o.splice(i,1),er.length&&d(o),!e)return Q.apply(n,r),n;break}}return(c||C(e,l))(r,t,!L,n,!t||ve.test(e)&&f(t.parentNode)||t),n},T.sortStableH.split().sort(G).join()H,T.detectDuplicates!!_,P(),T.sortDetachedi(function(e){return 1&e.compareDocumentPosition(I.createElement(fieldset))}),i(function(e){return e.innerHTMLa href#>/a>,#e.firstChild.getAttribute(href)})||o(type|href|height|width,function(e,t,n){return n?void 0:e.getAttribute(t,typet.toLowerCase()?1:2)}),T.attributes&&i(function(e){return e.innerHTMLinput/>,e.firstChild.setAttribute(value,),e.firstChild.getAttribute(value)})||o(value,function(e,t,n){return n||input!e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return nulle.getAttribute(disabled)})||o(te,function(e,t,n){var r;return n?void 0:et!0?t.toLowerCase():(re.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);he.findbe,he.exprbe.selectors,he.expr:he.expr.pseudos,he.uniqueSorthe.uniquebe.uniqueSort,he.textbe.getText,he.isXMLDocbe.isXML,he.containsbe.contains,he.escapeSelectorbe.escape;var wefunction(e,t,n){for(var r,ivoid 0!n;(eet)&&9!e.nodeType;)if(1e.nodeType){if(i&&he(e).is(n))break;r.push(e)}return r},xefunction(e,t){for(var n;e;ee.nextSibling)1e.nodeType&&e!t&&n.push(e);return n},Tehe.expr.match.needsContext,Se/^(a-z^\/\0>:\x20\t\r\n\f*)\x20\t\r\n\f*\/?>(?:\/\1>|)$/i,Oe/^.^:#\\.,*$/;he.filterfunction(e,t,n){var rt0;return n&&(e:not(+e+)),1t.length&&1r.nodeType?he.find.matchesSelector(r,e)?r::he.find.matches(e,he.grep(t,function(e){return 1e.nodeType}))},he.fn.extend({find:function(e){var t,n,rthis.length,ithis;if(string!typeof e)return this.pushStack(he(e).filter(function(){for(t0;r>t;t++)if(he.contains(it,this))return!0}));for(nthis.pushStack(),t0;r>t;t++)he.find(e,it,n);return r>1?he.uniqueSort(n):n},filter:function(e){return this.pushStack(i(this,e||,!1))},not:function(e){return this.pushStack(i(this,e||,!0))},is:function(e){return!!i(this,stringtypeof e&&Te.test(e)?he(e):e||,!1).length}});var je,ke/^(?:\s*(\w\W+>)^>*|#(\w-+))$/,Cehe.fn.initfunction(e,t,n){var r,i;if(!e)return this;if(nn||je,stringtypeof e){if(re0&&>ee.length-1&&e.length>3?null,e,null:ke.exec(e),!r||!r1&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r1){if(tt instanceof he?t0:t,he.merge(this,he.parseHTML(r1,t&&t.nodeType?t.ownerDocument||t:te,!0)),Se.test(r1)&&he.isPlainObject(t))for(r in t)he.isFunction(thisr)?thisr(tr):this.attr(r,tr);return this}return ite.getElementById(r2),i&&(this0i,this.length1),this}return e.nodeType?(this0e,this.length1,this):he.isFunction(e)?void 0!n.ready?n.ready(e):e(he):he.makeArray(e,this)};Ce.prototypehe.fn,jehe(te);var Ae/^(?:parents|prev(?:Until|All))/,Ee{children:!0,contents:!0,next:!0,prev:!0};he.fn.extend({has:function(e){var the(e,this),nt.length;return this.filter(function(){for(var e0;n>e;e++)if(he.contains(this,te))return!0})},closest:function(e,t){var n,r0,ithis.length,o,astring!typeof e&&he(e);if(!Te.test(e))for(;i>r;r++)for(nthisr;n&&n!t;nn.parentNode)if(n.nodeType11&&(a?a.index(n)>-1:1n.nodeType&&he.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?he.uniqueSort(o):o)},index:function(e){return e?stringtypeof e?ae.call(he(e),this0):ae.call(this,e.jquery?e0:e):this0&&this0.parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(he.uniqueSort(he.merge(this.get(),he(e,t))))},addBack:function(e){return this.add(nulle?this.prevObject:this.prevObject.filter(e))}}),he.each({parent:function e(t){var et.parentNode;return e&&11!e.nodeType?e:null},parents:function(e){return we(e,parentNode)},parentsUntil:function(e,t,n){return we(e,parentNode,n)},next:function(e){return o(e,nextSibling)},prev:function(e){return o(e,previousSibling)},nextAll:function(e){return we(e,nextSibling)},prevAll:function(e){return we(e,previousSibling)},nextUntil:function(e,t,n){return we(e,nextSibling,n)},prevUntil:function(e,t,n){return we(e,previousSibling,n)},siblings:function(e){return xe((e.parentNode||{}).firstChild,e)},children:function(e){return xe(e.firstChild)},contents:function(e){return e.contentDocument||he.merge(,e.childNodes)}},function(e,t){he.fnefunction(n,r){var ihe.map(this,t,n);returnUntil!e.slice(-5)&&(rn),r&&stringtypeof r&&(ihe.filter(r,i)),this.length>1&&(Eee||he.uniqueSort(i),Ae.test(e)&&i.reverse()),this.pushStack(i)}});var Ne/^\x20\t\r\n\f+/g;he.Callbacksfunction(e){estringtypeof e?a(e):he.extend({},e);var t,n,r,i,o,s,u-1,cfunction(){for(ie.once,rt!0;s.length;u-1)for(ns.shift();++uo.length;)ou.apply(n0,n1)!1&&e.stopOnFalse&&(uo.length,n!1);e.memory||(n!1),t!1,i&&(on?:)},l{add:function(){return o&&(n&&!t&&(uo.length-1,s.push(n)),function t(n){he.each(n,function(n,r){he.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&string!he.type(r)&&t(r)})}(arguments),n&&!t&&c()),this},remove:function(){return he.each(arguments,function(e,t){for(var n;(nhe.inArray(t,o,n))>-1;)o.splice(n,1),u>n&&u--}),this},has:function(e){return e?he.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o),this},disable:function(){return is,on,this},disabled:function(){return!o},lock:function(){return is,n||t||(on),this},locked:function(){return!!i},fireWith:function(e,n){return i||(nn||,ne,n.slice?n.slice():n,s.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},he.extend({Deferred:function(t){var nnotify,progress,he.Callbacks(memory),he.Callbacks(memory),2,resolve,done,he.Callbacks(once memory),he.Callbacks(once memory),0,resolved,reject,fail,he.Callbacks(once memory),he.Callbacks(once memory),1,rejected,rpending,i{state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var earguments;return he.Deferred(function(t){he.each(n,function(n,r){var ihe.isFunction(er4)&&er4;or1(function(){var ei&&i.apply(this,arguments);e&&he.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):tr0+With(this,i?e:arguments)})}),enull}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var cthis,larguments,ffunction(){var e,f;if(!(a>t)){if(er.apply(c,l),en.promise())throw new TypeError(Thenable self-resolution);fe&&(object(undefinedtypeof e?undefined:_typeof(e))||functiontypeof e)&&e.then,he.isFunction(f)?i?f.call(e,o(a,n,s,i),o(a,n,u,i)):(a++,f.call(e,o(a,n,s,i),o(a,n,u,i),o(a,n,s,n.notifyWith))):(r!s&&(cvoid 0,le),(i||n.resolveWith)(c,l))}},pi?f:function(){try{f()}catch(e){he.Deferred.exceptionHook&&he.Deferred.exceptionHook(e,p.stackTrace),t+1>a&&(r!u&&(cvoid 0,le),n.rejectWith(c,l))}};t?p():(he.Deferred.getStackHook&&(p.stackTracehe.Deferred.getStackHook()),e.setTimeout(p))}}var a0;return he.Deferred(function(e){n03.add(o(0,e,he.isFunction(i)?i:s,e.notifyWith)),n13.add(o(0,e,he.isFunction(t)?t:s)),n23.add(o(0,e,he.isFunction(r)?r:u))}).promise()},promise:function(e){return null!e?he.extend(e,i):i}},o{};return he.each(n,function(e,t){var at2,st5;it1a.add,s&&a.add(function(){rs},n3-e2.disable,n02.lock),a.add(t3.fire),ot0function(){return ot0+With(thiso?void 0:this,arguments),this},ot0+Witha.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var targuments.length,nt,rArray(n),ire.call(arguments),ohe.Deferred(),afunction(e){return function(n){rethis,iearguments.length>1?re.call(arguments):n,--t||o.resolveWith(r,i)}};if(1>t&&(c(e,o.done(a(n)).resolve,o.reject),pendingo.state()||he.isFunction(in&&in.then)))return o.then();for(;n--;)c(in,a(n),o.reject);return o.promise()}});var _e/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;he.Deferred.exceptionHookfunction(t,n){e.console&&e.console.warn&&t&&_e.test(t.name)&&e.console.warn(jQuery.Deferred exception: +t.message,t.stack,n)},he.readyExceptionfunction(t){e.setTimeout(function(){throw t})};var Pehe.Deferred();he.fn.readyfunction(e){return Pe.then(e).catch(function(e){he.readyException(e)}),this},he.extend({isReady:!1,readyWait:1,holdReady:function(e){e?he.readyWait++:he.ready(!0)},ready:function(e){(e!0?--he.readyWait:he.isReady)||(he.isReady!0,e!!0&&--he.readyWait>0||Pe.resolveWith(te,he))}}),he.ready.thenPe.then,completete.readyState||loading!te.readyState&&!te.documentElement.doScroll?e.setTimeout(he.ready):(te.addEventListener(DOMContentLoaded,l),e.addEventListener(load,l));var Iefunction e(t,n,r,i,o,a,s){var u0,ct.length,lnullr;if(objecthe.type(r)){o!0;for(u in r)e(t,n,u,ru,!0,a,s)}else if(void 0!i&&(o!0,he.isFunction(i)||(s!0),l&&(s?(n.call(t,i),nnull):(ln,nfunction(e,t,n){return l.call(he(e),n)})),n))for(;c>u;u++)n(tu,r,s?i:i.call(tu,u,n(tu,r)));return o?t:l?n.call(t):c?n(t0,r):a},Mefunction(e){return 1e.nodeType||9e.nodeType||!+e.nodeType};f.uid1,f.prototype{cache:function(e){var tethis.expando;return t||(t{},Me(e)&&(e.nodeType?ethis.expandot:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,ithis.cache(e);if(stringtypeof t)ihe.camelCase(t)n;else for(r in t)ihe.camelCase(r)tr;return i},get:function(e,t){return void 0t?this.cache(e):ethis.expando&ðis.expandohe.camelCase(t)},access:function(e,t,n){return void 0t||t&&stringtypeof t&&void 0n?this.get(e,t):(this.set(e,t,n),void 0!n?n:t)},remove:function(e,t){var n,rethis.expando;if(void 0!r){if(void 0!t){he.isArray(t)?tt.map(he.camelCase):(the.camelCase(t),tt in r?t:t.match(Ne)||),nt.length;for(;n--;)delete rtn}(void 0t||he.isEmptyObject(r))&&(e.nodeType?ethis.expandovoid 0:delete ethis.expando)}},hasData:function(e){var tethis.expando;return void 0!t&&!he.isEmptyObject(t)}};var Lenew f,Fenew f,De/^(?:\{\w\W*\}|\\w\W*\)$/,qe/A-Z/g;he.extend({hasData:function(e){return Fe.hasData(e)||Le.hasData(e)},data:function(e,t,n){return Fe.access(e,t,n)},removeData:function(e,t){Fe.remove(e,t)},_data:function(e,t,n){return Le.access(e,t,n)},_removeData:function(e,t){Le.remove(e,t)}}),he.fn.extend({data:function e(t,n){var r,i,e,othis0,ao&&o.attributes;if(void 0t){if(this.length&&(eFe.get(o),1o.nodeType&&!Le.get(o,hasDataAttrs))){for(ra.length;r--;)ar&&(iar.name,0i.indexOf(data-)&&(ihe.camelCase(i.slice(5)),d(o,i,ei)));Le.set(o,hasDataAttrs,!0)}return e}returnobject(undefinedtypeof t?undefined:_typeof(t))?this.each(function(){Fe.set(this,t)}):Ie(this,function(e){var n;if(o&&void 0e){if(nFe.get(o,t),void 0!n)return n;if(nd(o,t),void 0!n)return n}else this.each(function(){Fe.set(this,t,e)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Fe.remove(this,e)})}}),he.extend({queue:function e(t,n,r){var e;return t?(n(n||fx)+queue,eLe.get(t,n),r&&(!e||he.isArray(r)?eLe.access(t,n,he.makeArray(r)):e.push(r)),e||):void 0},dequeue:function(e,t){tt||fx;var nhe.queue(e,t),rn.length,in.shift(),ohe._queueHooks(e,t),afunction(){he.dequeue(e,t)};inprogressi&&(in.shift(),r--),i&&(fxt&&n.unshift(inprogress),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var nt+queueHooks;return Le.get(e,n)||Le.access(e,n,{empty:he.Callbacks(once memory).add(function(){Le.remove(e,t+queue,n)})})}}),he.fn.extend({queue:function(e,t){var n2;returnstring!typeof e&&(te,efx,n--),arguments.lengthn?he.queue(this0,e):void 0t?this:this.each(function(){var nhe.queue(this,e,t);he._queueHooks(this,e),fxe&&inprogress!n0&&he.dequeue(this,e)})},dequeue:function(e){return this.each(function(){he.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||fx,)},promise:function(e,t){var n,r1,ihe.Deferred(),othis,athis.length,sfunction(){--r||i.resolveWith(o,o)};for(string!typeof e&&(te,evoid 0),ee||fx;a--;)nLe.get(oa,e+queueHooks),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Re/+-?(?:\d*\.|)\d+(?:eE+-?\d+|)/.source,Henew RegExp(^(?:(+-)|)(+Re+)(a-z%*)$,i),$eTop,Right,Bottom,Left,Befunction(e,t){return et||e,nonee.style.display||e.style.display&&he.contains(e.ownerDocument,e)&&nonehe.css(e,display)},Vefunction(e,t,n,r){var i,o,a{};for(o in t)aoe.styleo,e.styleoto;in.apply(e,r||);for(o in t)e.styleoao;return i},We{};he.fn.extend({show:function(){return g(this,!0)},hide:function(){return g(this)},toggle:function(e){returnbooleantypeof e?e?this.show():this.hide():this.each(function(){Be(this)?he(this).show():he(this).hide()})}});var ze/^(?:checkbox|radio)$/i,Ue/(a-z^\/\0>\x20\t\r\n\f+)/i,Ge/^$|\/(?:java|ecma)script/i,Xe{option:1,select multiplemultiple>,/select>,thead:1,table>,/table>,col:2,table>colgroup>,/colgroup>/table>,tr:2,table>tbody>,/tbody>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,_default:0,,};Xe.optgroupXe.option,Xe.tbodyXe.tfootXe.colgroupXe.captionXe.thead,Xe.thXe.td;var Je/|?\w+;/;!function(){var ete.createDocumentFragment(),te.appendChild(te.createElement(div)),nte.createElement(input);n.setAttribute(type,radio),n.setAttribute(checked,checked),n.setAttribute(name,t),t.appendChild(n),pe.checkClonet.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTMLtextarea>x/textarea>,pe.noCloneChecked!!t.cloneNode(!0).lastChild.defaultValue}();var Yete.documentElement,Ze/^key/,Qe/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ke/^(^.*)(?:\.(.+)|)/;he.event{global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,gLe.get(e);if(g)for(n.handler&&(on,no.handler,io.selector),i&&he.find.matchesSelector(Ye,i),n.guid||(n.guidhe.guid++),(ug.events)||(ug.events{}),(ag.handle)||(ag.handlefunction(t){returnundefined!typeof he&&he.event.triggered!t.type?he.event.dispatch.apply(e,arguments):void 0}),t(t||).match(Ne)||,ct.length;c--;)sKe.exec(tc)||,dms1,h(s2||).split(.).sort(),d&&(fhe.event.speciald||{},d(i?f.delegateType:f.bindType)||d,fhe.event.speciald||{},lhe.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&he.expr.match.needsContext.test(i),namespace:h.join(.)},o),(pud)||(pud,p.delegateCount0,f.setup&&f.setup.call(e,r,h,a)!!1||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guidn.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),he.event.globald!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,gLe.hasData(e)&&Le.get(e);if(g&&(ug.events)){for(t(t||).match(Ne)||,ct.length;c--;)if(sKe.exec(tc)||,dms1,h(s2||).split(.).sort(),d){for(fhe.event.speciald||{},d(r?f.delegateType:f.bindType)||d,pud||,ss2&&new RegExp((^|\\.)+h.join(\\.(?:.*\\.|))+(\\.|$)),aop.length;o--;)lpo,!i&&m!l.origType||n&&n.guid!l.guid||s&&!s.test(l.namespace)||r&&r!l.selector&&(**!r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&f.teardown.call(e,h,g.handle)!!1||he.removeEvent(e,d,g.handle),delete ud)}else for(d in u)he.event.remove(e,d+tc,n,r,!0);he.isEmptyObject(u)&&Le.remove(e,handle events)}},dispatch:function(e){var t,n,r,i,o,a,she.event.fix(e),unew Array(arguments.length),c(Le.get(this,events)||{})s.type||,lhe.event.specials.type||{};for(u0s,t1;targuments.length;t++)utargumentst;if(s.delegateTargetthis,!l.preDispatch||l.preDispatch.call(this,s)!!1){for(ahe.event.handlers.call(this,s,c),t0;(iat++)&&!s.isPropagationStopped();)for(s.currentTargeti.elem,n0;(oi.handlersn++)&&!s.isImmediatePropagationStopped();)(!s.rnamespace||s.rnamespace.test(o.namespace))&&(s.handleObjo,s.datao.data,r((he.event.specialo.origType||{}).handle||o.handler).apply(i.elem,u),void 0!r&&(s.resultr)!1&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s,ut.delegateCount,ce.target;if(u&&c.nodeType&&!(clicke.type&&e.button>1))for(;c!this;cc.parentNode||this)if(1c.nodeType&&(click!e.type||c.disabled!!0)){for(o,a{},n0;u>n;n++)rtn,ir.selector+ ,void 0ai&&(air.needsContext?he(i,this).index(c)>-1:he.find(i,this,null,c).length),ai&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return cthis,ut.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(he.Event.prototype,e,{enumerable:!0,configurable:!0,get:he.isFunction(t)?function(){return this.originalEvent?t(this.originalEvent):void 0}:function(){return this.originalEvent?this.originalEvente:void 0},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return ehe.expando?e:new he.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){return this!T()&&this.focus?(this.focus(),!1):void 0},delegateType:focusin},blur:{trigger:function(){return thisT()&&this.blur?(this.blur(),!1):void 0},delegateType:focusout},click:{trigger:function(){returncheckboxthis.type&&this.click&&he.nodeName(this,input)?(this.click(),!1):void 0},_default:function(e){return he.nodeName(e.target,a)}},beforeunload:{postDispatch:function(e){void 0!e.result&&e.originalEvent&&(e.originalEvent.returnValuee.result)}}}},he.removeEventfunction(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},he.Eventfunction(e,t){return this instanceof he.Event?(e&&e.type?(this.originalEvente,this.typee.type,this.isDefaultPreventede.defaultPrevented||void 0e.defaultPrevented&&e.returnValue!1?w:x,this.targete.target&&3e.target.nodeType?e.target.parentNode:e.target,this.currentTargete.currentTarget,this.relatedTargete.relatedTarget):this.typee,t&&he.extend(this,t),this.timeStampe&&e.timeStamp||he.now(),void(thishe.expando!0)):new he.Event(e,t)},he.Event.prototype{constructor:he.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var ethis.originalEvent;this.isDefaultPreventedw,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var ethis.originalEvent;this.isPropagationStoppedw,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var ethis.originalEvent;this.isImmediatePropagationStoppedw,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},he.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var te.button;return nulle.which&&Ze.test(e.type)?null!e.charCode?e.charCode:e.keyCode:!e.which&&void 0!t&&Qe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},he.event.addProp),he.each({mouseenter:mouseover,mouseleave:mouseout,pointerenter:pointerover,pointerleave:pointerout},function(e,t){he.event.speciale{delegateType:t,bindType:t,handle:function(e){var n,rthis,ie.relatedTarget,oe.handleObj;return(!i||i!r&&!he.contains(r,i))&&(e.typeo.origType,no.handler.apply(this,arguments),e.typet),n}}}),he.fn.extend({on:function(e,t,n,r){return S(this,e,t,n,r)},one:function(e,t,n,r){return S(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return re.handleObj,he(e.delegateTarget).off(r.namespace?r.origType+.+r.namespace:r.origType,r.selector,r.handler),this;if(object(undefinedtypeof e?undefined:_typeof(e))){for(i in e)this.off(i,t,ei);return this}return(t!1||functiontypeof t)&&(nt,tvoid 0),n!1&&(nx),this.each(function(){he.event.remove(this,e,n,t)})}});var et/(?!area|br|col|embed|hr|img|input|link|meta|param)((a-z^\/\0>\x20\t\r\n\f*)^>*)\/>/gi,tt/script|style|link/i,nt/checked\s*(?:^|\s*.checked.)/i,rt/^true\/(.*)/,it/^\s*!(?:\CDATA\|--)|(?:\\|--)>\s*$/g;he.extend({htmlPrefilter:function(e){return e.replace(et,$1>/$2>)},clone:function e(t,n,r){var i,o,a,s,et.cloneNode(!0),uhe.contains(t.ownerDocument,t);if(!(pe.noCloneChecked||1!t.nodeType&&11!t.nodeType||he.isXMLDoc(t)))for(sy(e),ay(t),i0,oa.length;o>i;i++)A(ai,si);if(n)if(r)for(aa||y(t),ss||y(e),i0,oa.length;o>i;i++)C(ai,si);else C(t,e);return sy(e,script),s.length>0&&v(s,!u&&y(t,script)),e},cleanData:function(e){for(var t,n,r,ihe.event.special,o0;void 0!(neo);o++)if(Me(n)){if(tnLe.expando){if(t.events)for(r in t.events)ir?he.event.remove(n,r):he.removeEvent(n,r,t.handle);nLe.expandovoid 0}nFe.expando&&(nFe.expandovoid 0)}}}),he.fn.extend({detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return Ie(this,function(e){return void 0e?he.text(this):this.empty().each(function(){(1this.nodeType||11this.nodeType||9this.nodeType)&&(this.textContente)})},null,e,arguments.length)},append:function(){return E(this,arguments,function(e){if(1this.nodeType||11this.nodeType||9this.nodeType){var tO(this,e);t.appendChild(e)}})},prepend:function(){return E(this,arguments,function(e){if(1this.nodeType||11this.nodeType||9this.nodeType){var tO(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,t0;null!(ethist);t++)1e.nodeType&&(he.cleanData(y(e,!1)),e.textContent);return this},clone:function(e,t){return enulle?!1:e,tnullt?e:t,this.map(function(){return he.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var tthis0||{},n0,rthis.length;if(void 0e&&1t.nodeType)return t.innerHTML;if(stringtypeof e&&!tt.test(e)&&!Xe(Ue.exec(e)||,)1.toLowerCase()){ehe.htmlPrefilter(e);try{for(;r>n;n++)tthisn||{},1t.nodeType&&(he.cleanData(y(t,!1)),t.innerHTMLe);t0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e;return E(this,arguments,function(t){var nthis.parentNode;he.inArray(this,e)0&&(he.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),he.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(e,t){he.fnefunction(e){for(var n,r,ihe(e),oi.length-1,a0;o>a;a++)nao?this:this.clone(!0),he(ia)t(n),oe.apply(r,n.get());return this.pushStack(r)}});var ot/^margin/,atnew RegExp(^(+Re+)(?!px)a-z%+$,i),stfunction(t){var nt.ownerDocument.defaultView;return n&&n.opener||(ne),n.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssTextbox-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%,s.innerHTML,Ye.appendChild(a);var te.getComputedStyle(s);n1%!t.top,o2pxt.marginLeft,r4pxt.width,s.style.marginRight50%,i4pxt.marginRight,Ye.removeChild(a),snull}}var n,r,i,o,ate.createElement(div),ste.createElement(div);s.style&&(s.style.backgroundClipcontent-box,s.cloneNode(!0).style.backgroundClip,pe.clearCloneStylecontent-boxs.style.backgroundClip,a.style.cssTextborder:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute,a.appendChild(s),he.extend(pe,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var ut/^(none|table(?!-cea).+)/,ct{position:absolute,visibility:hidden,display:block},lt{letterSpacing:0,fontWeight:400},ftWebkit,Moz,ms,ptte.createElement(div).style;he.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n_(e,opacity);returnn?1:n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:cssFloat},style:function e(t,n,r,i){if(t&&3!t.nodeType&&8!t.nodeType&&t.style){var o,a,s,uhe.camelCase(n),et.style;return nhe.cssPropsu||(he.cssPropsuI(u)||u),she.cssHooksn||he.cssHooksu,void 0r?s&&getin s&&void 0!(os.get(t,!1,i))?o:en:(aundefinedtypeof r?undefined:_typeof(r),stringa&&(oHe.exec(r))&&o1&&(rh(t,n,o),anumber),null!r&&rr&&(numbera&&(r+o&&o3||(he.cssNumberu?:px)),pe.clearCloneStyle||!r||0!n.indexOf(background)||(eninherit),s&&setin s&&void 0(rs.set(t,r,i))||(enr)),void 0)}},css:function(e,t,n,r){var i,o,a,she.camelCase(t);return the.cssPropss||(he.cssPropssI(s)||s),ahe.cssHookst||he.cssHookss,a&&getin a&&(ia.get(e,!0,n)),void 0i&&(i_(e,t,r)),normali&&t in lt&&(iltt),n||n?(oparseFloat(i),n!0||isFinite(o)?o||0:i):i}}),he.each(height,width,function(e,t){he.cssHookst{get:function(e,n,r){return n?!ut.test(he.css(e,display))||e.getClientRects().length&&e.getBoundingClientRect().width?F(e,t,r):Ve(e,ct,function(){return F(e,t,r)}):void 0},set:function(e,n,r){var i,or&&st(e),ar&&L(e,t,r,border-boxhe.css(e,boxSizing,!1,o),o);return a&&(iHe.exec(n))&&px!(i3||px)&&(e.styletn,nhe.css(e,t)),M(e,n,a)}}}),he.cssHooks.marginLeftP(pe.reliableMarginLeft,function(e,t){return t?(parseFloat(_(e,marginLeft))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+px:void 0}),he.each({margin:,padding:,border:Width},function(e,t){he.cssHookse+t{expand:function(n){for(var r0,i{},ostringtypeof n?n.split( ):n;4>r;r++)ie+$er+tor||or-2||o0;return i}},ot.test(e)||(he.cssHookse+t.setM)}),he.fn.extend({css:function(e,t){return Ie(this,function(e,t,n){var r,i,o{},a0;if(he.isArray(t)){for(rst(e),it.length;i>a;a++)otahe.css(e,ta,!1,r);return o}return void 0!n?he.style(e,t,n):he.css(e,t)},e,t,arguments.length>1)}}),he.TweenD,D.prototype{constructor:D,init:function(e,t,n,r,i,o){this.eleme,this.propn,this.easingi||he.easing._default,this.optionst,this.startthis.nowthis.cur(),this.endr,this.unito||(he.cssNumbern?:px)},cur:function(){var eD.propHooksthis.prop;return e&&e.get?e.get(this):D.propHooks._default.get(this)},run:function(e){var t,nD.propHooksthis.prop;return this.postthis.options.duration?he.easingthis.easing(e,this.options.duration*e,0,1,this.options.duration):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):D.propHooks._default.set(this),this}},D.prototype.init.prototypeD.prototype,D.propHooks{_default:{get:function(e){var t;return 1!e.elem.nodeType||null!e.eleme.prop&&nulle.elem.stylee.prop?e.eleme.prop:(the.css(e.elem,e.prop,),t&&auto!t?t:0)},set:function(e){he.fx.stepe.prop?he.fx.stepe.prop(e):1!e.elem.nodeType||nulle.elem.stylehe.cssPropse.prop&&!he.cssHookse.prop?e.eleme.prope.now:he.style(e.elem,e.prop,e.now+e.unit)}}},D.propHooks.scrollTopD.propHooks.scrollLeft{set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.eleme.prope.now)}},he.easing{linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:swing},he.fxD.prototype.init,he.fx.step{};var dt,ht,mt/^(?:toggle|show|hide)$/,gt/queueHooks$/;he.Animationhe.extend(W,{tweeners:{*:function(e,t){var nthis.createTween(e,t);return h(n.elem,e,He.exec(t),n),n}},tweener:function(e,t){he.isFunction(e)?(te,e*):ee.match(Ne);for(var n,r0,ie.length;i>r;r++)ner,W.tweenersnW.tweenersn||,W.tweenersn.unshift(t)},prefilters:B,prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),he.speedfunction(e,t,n){var re&&object(undefinedtypeof e?undefined:_typeof(e))?he.extend({},e):{complete:n||!n&&t||he.isFunction(e)&&e,duration:e,easing:n&&t||t&&!he.isFunction(t)&&t};return he.fx.off||te.hidden?r.duration0:number!typeof r.duration&&(r.durationr.duration in he.fx.speeds?he.fx.speedsr.duration:he.fx.speeds._default),(nullr.queue||r.queue!0)&&(r.queuefx),r.oldr.complete,r.completefunction(){he.isFunction(r.old)&&r.old.call(this),r.queue&&he.dequeue(this,r.queue)},r},he.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Be).css(opacity,0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var ihe.isEmptyObject(e),ohe.speed(t,n,r),afunction(){var tW(this,he.extend({},e),o);(i||Le.get(this,finish))&&t.stop(!0)};return a.finisha,i||o.queue!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var rfunction(e){var te.stop;delete e.stop,t(n)};returnstring!typeof e&&(nt,te,evoid 0),t&&e!!1&&this.queue(e||fx,),this.each(function(){var t!0,inull!e&&e+queueHooks,ohe.timers,aLe.get(this);if(i)ai&&ai.stop&&r(ai);else for(i in a)ai&&ai.stop&>.test(i)&&r(ai);for(io.length;i--;)oi.elem!this||null!e&&oi.queue!e||(oi.anim.stop(n),t!1,o.splice(i,1));(t||!n)&&he.dequeue(this,e)})},finish:function(e){return e!!1&&(ee||fx),this.each(function(){var t,nLe.get(this),rne+queue,ine+queueHooks,ohe.timers,ar?r.length:0;for(n.finish!0,he.queue(this,e,),i&&i.stop&&i.stop.call(this,!0),to.length;t--;)ot.elemthis&&ot.queuee&&(ot.anim.stop(!0),o.splice(t,1));for(t0;a>t;t++)rt&&rt.finish&&rt.finish.call(this);delete n.finish})}}),he.each(toggle,show,hide,function(e,t){var nhe.fnt;he.fntfunction(e,r,i){return nulle||booleantypeof e?n.apply(this,arguments):this.animate(H(t,!0),e,r,i)}}),he.each({slideDown:H(show),slideUp:H(hide),slideToggle:H(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(e,t){he.fnefunction(e,n,r){return this.animate(t,e,n,r)}}),he.timers,he.fx.tickfunction(){var e,t0,nhe.timers;for(dthe.now();tn.length;t++)ent,e()||nt!e||n.splice(t--,1);n.length||he.fx.stop(),dtvoid 0},he.fx.timerfunction(e){he.timers.push(e),e()?he.fx.start():he.timers.pop()},he.fx.interval13,he.fx.startfunction(){ht||(hte.requestAnimationFrame?e.requestAnimationFrame(q):e.setInterval(he.fx.tick,he.fx.interval))},he.fx.stopfunction(){e.cancelAnimationFrame?e.cancelAnimationFrame(ht):e.clearInterval(ht),htnull},he.fx.speeds{slow:600,fast:200,_default:400},he.fn.delayfunction(t,n){return the.fx?he.fx.speedst||t:t,nn||fx,this.queue(n,function(n,r){var ie.setTimeout(n,t);r.stopfunction(){e.clearTimeout(i)}})},function(){var ete.createElement(input),tte.createElement(select),nt.appendChild(te.createElement(option));e.typecheckbox,pe.checkOn!e.value,pe.optSelectedn.selected,ete.createElement(input),e.valuet,e.typeradio,pe.radioValuete.value}();var yt,vthe.expr.attrHandle;he.fn.extend({attr:function(e,t){return Ie(this,he.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){he.removeAttr(this,e)})}}),he.extend({attr:function(e,t,n){var r,i,oe.nodeType;if(3!o&&8!o&&2!o)returnundefinedtypeof e.getAttribute?he.prop(e,t,n):(1o&&he.isXMLDoc(e)||(ihe.attrHookst.toLowerCase()||(he.expr.match.bool.test(t)?yt:void 0)),void 0!n?nulln?void he.removeAttr(e,t):i&&setin i&&void 0!(ri.set(e,n,t))?r:(e.setAttribute(t,n+),n):i&&getin i&&null!(ri.get(e,t))?r:(rhe.find.attr(e,t),nullr?void 0:r))},attrHooks:{type:{set:function(e,t){if(!pe.radioValue&&radiot&&he.nodeName(e,input)){var ne.value;return e.setAttribute(type,t),n&&(e.valuen),t}}}},removeAttr:function(e,t){var n,r0,it&&t.match(Ne);if(i&&1e.nodeType)for(;nir++;)e.removeAttribute(n)}}),yt{set:function(e,t,n){return t!1?he.removeAttr(e,n):e.setAttribute(n,n),n}},he.each(he.expr.match.bool.source.match(/\w+/g),function(e,t){var nvtt||he.find.attr;vttfunction(e,t,r){var i,o,at.toLowerCase();return r||(ovta,vtai,inull!n(e,t,r)?a:null,vtao),i}});var bt/^(?:input|select|textarea|button)$/i,wt/^(?:a|area)$/i;he.fn.extend({prop:function(e,t){return Ie(this,he.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete thishe.propFixe||e})}}),he.extend({prop:function(e,t,n){var r,i,oe.nodeType;if(3!o&&8!o&&2!o)return 1o&&he.isXMLDoc(e)||(the.propFixt||t,ihe.propHookst),void 0!n?i&&setin i&&void 0!(ri.set(e,n,t))?r:etn:i&&getin i&&null!(ri.get(e,t))?r:et},propHooks:{tabIndex:{get:function(e){var the.find.attr(e,tabindex);return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:htmlFor,class:className}}),pe.optSelected||(he.propHooks.selected{get:function(e){var te.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var te.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),he.each(tabIndex,readOnly,maxLength,cellSpacing,cellPadding,rowSpan,colSpan,useMap,frameBorder,contentEditable,function(){he.propFixthis.toLowerCase()this}),he.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u0;if(he.isFunction(e))return this.each(function(t){he(this).addClass(e.call(this,t,U(this)))});if(stringtypeof e&&e)for(te.match(Ne)||;nthisu++;)if(iU(n),r1n.nodeType&& +z(i)+ ){for(a0;ota++;)r.indexOf( +o+ )0&&(r+o+ );sz(r),i!s&&n.setAttribute(class,s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u0;if(he.isFunction(e))return this.each(function(t){he(this).removeClass(e.call(this,t,U(this)))});if(!arguments.length)return this.attr(class,);if(stringtypeof e&&e)for(te.match(Ne)||;nthisu++;)if(iU(n),r1n.nodeType&& +z(i)+ ){for(a0;ota++;)for(;r.indexOf( +o+ )>-1;)rr.replace( +o+ , );sz(r),i!s&&n.setAttribute(class,s)}return this},toggleClass:function(e,t){var nundefinedtypeof e?undefined:_typeof(e);returnbooleantypeof t&&stringn?t?this.addClass(e):this.removeClass(e):this.each(he.isFunction(e)?function(n){he(this).toggleClass(e.call(this,n,U(this),t),t)}:function(){var t,r,i,o;if(stringn)for(r0,ihe(this),oe.match(Ne)||;tor++;)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(void 0e||booleann)&&(tU(this),t&&Le.set(this,__className__,t),this.setAttribute&&this.setAttribute(class,t||e!1?:Le.get(this,__className__)||))})},hasClass:function(e){var t,n,r0;for(t +e+ ;nthisr++;)if(1n.nodeType&&( +z(U(n))+ ).indexOf(t)>-1)return!0;return!1}});var xt/\r/g;he.fn.extend({val:function(e){var t,n,r,ithis0;{if(arguments.length)return rhe.isFunction(e),this.each(function(n){var i;1this.nodeType&&(ir?e.call(this,n,he(this).val()):e,nulli?i:numbertypeof i?i+:he.isArray(i)&&(ihe.map(i,function(e){return nulle?:e+})),the.valHooksthis.type||he.valHooksthis.nodeName.toLowerCase(),t&&setin t&&void 0!t.set(this,i,value)||(this.valuei))});if(i)return the.valHooksi.type||he.valHooksi.nodeName.toLowerCase(),t&&getin t&&void 0!(nt.get(i,value))?n:(ni.value,stringtypeof n?n.replace(xt,):nulln?:n)}}}),he.extend({valHooks:{option:{get:function(e){var the.find.attr(e,value);return null!t?t:z(he.text(e))}},select:{get:function(e){var t,n,r,ie.options,oe.selectedIndex,aselect-onee.type,sa?null:,ua?o+1:i.length;for(r0>o?u:a?o:0;u>r;r++)if(nir,!(!n.selected&&r!o||n.disabled||n.parentNode.disabled&&he.nodeName(n.parentNode,optgroup))){if(the(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,ie.options,ohe.makeArray(t),ai.length;a--;)ria,(r.selectedhe.inArray(he.valHooks.option.get(r),o)>-1)&&(n!0);return n||(e.selectedIndex-1),o}}}}),he.each(radio,checkbox,function(){he.valHooksthis{set:function(e,t){return he.isArray(t)?e.checkedhe.inArray(he(e).val(),t)>-1:void 0}},pe.checkOn||(he.valHooksthis.getfunction(e){return nulle.getAttribute(value)?on:e.value})});var Tt/^(?:focusinfocus|focusoutblur)$/;he.extend(he.event,{trigger:function(t,n,r,i){var o,a,s,u,c,l,f,pr||te,dce.call(t,type)?t.type:t,hce.call(t,namespace)?t.namespace.split(.):;if(asrr||te,3!r.nodeType&&8!r.nodeType&&!Tt.test(d+he.event.triggered)&&(d.indexOf(.)>-1&&(hd.split(.),dh.shift(),h.sort()),cd.indexOf(:)0&&on+d,tthe.expando?t:new he.Event(d,object(undefinedtypeof t?undefined:_typeof(t))&&t),t.isTriggeri?2:3,t.namespaceh.join(.),t.rnamespacet.namespace?new RegExp((^|\\.)+h.join(\\.(?:.*\\.|))+(\\.|$)):null,t.resultvoid 0,t.target||(t.targetr),nnulln?t:he.makeArray(n,t),fhe.event.speciald||{},i||!f.trigger||f.trigger.apply(r,n)!!1)){if(!i&&!f.noBubble&&!he.isWindow(r)){for(uf.delegateType||d,Tt.test(u+d)||(aa.parentNode);a;aa.parentNode)p.push(a),sa;s(r.ownerDocument||te)&&p.push(s.defaultView||s.parentWindow||e)}for(o0;(apo++)&&!t.isPropagationStopped();)t.typeo>1?u:f.bindType||d,l(Le.get(a,events)||{})t.type&&Le.get(a,handle),l&&l.apply(a,n),lc&&ac,l&&l.apply&&Me(a)&&(t.resultl.apply(a,n),t.result!1&&t.preventDefault());return t.typed,i||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),n)!!1||!Me(r)||c&&he.isFunction(rd)&&!he.isWindow(r)&&(src,s&&(rcnull),he.event.triggeredd,rd(),he.event.triggeredvoid 0,s&&(rcs)),t.result}},simulate:function(e,t,n){var rhe.extend(new he.Event,n,{type:e,isSimulated:!0});he.event.trigger(r,null,t)}}),he.fn.extend({trigger:function(e,t){return this.each(function(){he.event.trigger(e,t,this)})},triggerHandler:function(e,t){var nthis0;return n?he.event.trigger(e,t,n,!0):void 0}}),he.each(blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu.split( ),function(e,t){he.fntfunction(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),he.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),pe.focusinonfocusinin e,pe.focusin||he.each({focus:focusin,blur:focusout},function(e,t){var nfunction(e){he.event.simulate(t,e.target,he.event.fix(e))};he.event.specialt{setup:function(){var rthis.ownerDocument||this,iLe.access(r,t);i||r.addEventListener(e,n,!0),Le.access(r,t,(i||0)+1)},teardown:function(){var rthis.ownerDocument||this,iLe.access(r,t)-1;i?Le.access(r,t,i):(r.removeEventListener(e,n,!0),Le.remove(r,t))}}});var Ste.location,Othe.now(),jt/\?/;he.parseXMLfunction(t){var n;if(!t||string!typeof t)return null;try{n(new e.DOMParser).parseFromString(t,text/xml)}catch(e){nvoid 0}return(!n||n.getElementsByTagName(parsererror).length)&&he.error(Invalid XML: +t),n};var kt/\\$/,Ct/\r?\n/g,At/^(?:submit|button|image|reset|file)$/i,Et/^(?:input|select|textarea|keygen)/i;he.paramfunction(e,t){var n,r,ifunction(e,t){var nhe.isFunction(t)?t():t;rr.lengthencodeURIComponent(e)++encodeURIComponent(nulln?:n)};if(he.isArray(e)||e.jquery&&!he.isPlainObject(e))he.each(e,function(){i(this.name,this.value)});else for(n in e)G(n,en,t,i);return r.join(&)},he.fn.extend({serialize:function(){return he.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var ehe.prop(this,elements);return e?he.makeArray(e):this}).filter(function(){var ethis.type;return this.name&&!he(this).is(:disabled)&&Et.test(this.nodeName)&&!At.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var nhe(this).val();return nulln?null:he.isArray(n)?he.map(n,function(e){return{name:t.name,value:e.replace(Ct,\r\n)}}):{name:t.name,value:n.replace(Ct,\r\n)}}).get()}});var Nt/%20/g,_t/#.*$/,Pt/(?&)_^&*/,It/^(.*?): \t*(^\r\n*)$/gm,Mt/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lt/^(?:GET|HEAD)$/,Ft/^\/\//,Dt{},qt{},Rt*/.concat(*),Htte.createElement(a);Ht.hrefSt.href,he.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:GET,isLocal:Mt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:application/x-www-form-urlencoded; charsetUTF-8,accepts:{*:Rt,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:he.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Y(Y(e,he.ajaxSettings),t):Y(he.ajaxSettings,e)},ajaxPrefilter:X(Dt),ajaxTransport:X(qt),ajax:function(t,n){function r(t,n,r,s){var c,p,d,w,x,Tn;l||(l!0,u&&e.clearTimeout(u),ivoid 0,as||,S.readyStatet>0?4:0,ct>200&&300>t||304t,r&&(wZ(h,S,r)),wQ(h,w,S,c),c?(h.ifModified&&(xS.getResponseHeader(Last-Modified),x&&(he.lastModifiedox),xS.getResponseHeader(etag),x&&(he.etagox)),204t||HEADh.type?Tnocontent:304t?Tnotmodified:(Tw.state,pw.data,dw.error,c!d)):(dT,(t||!T)&&(Terror,0>t&&(t0))),S.statust,S.statusText(n||T)+,c?y.resolveWith(m,p,T,S):y.rejectWith(m,S,T,d),S.statusCode(b),bvoid 0,f&&g.trigger(c?ajaxSuccess:ajaxError,S,h,c?p:d),v.fireWith(m,S,T),f&&(g.trigger(ajaxComplete,S,h),--he.active||he.event.trigger(ajaxStop)))}object(undefinedtypeof t?undefined:_typeof(t))&&(nt,tvoid 0),nn||{};var i,o,a,s,u,c,l,f,p,d,hhe.ajaxSetup({},n),mh.context||h,gh.context&&(m.nodeType||m.jquery)?he(m):he.event,yhe.Deferred(),vhe.Callbacks(once memory),bh.statusCode||{},w{},x{},Tcanceled,S{readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s{};tIt.exec(a);)st1.toLowerCase()t2;tse.toLowerCase()}return nullt?null:t},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return nulll&&(exe.toLowerCase()xe.toLowerCase()||e,wet),this},overrideMimeType:function(e){return nulll&&(h.mimeTypee),this},statusCode:function(e){var t;if(e)if(l)S.always(eS.status);else for(t in e)btbt,et;return this},abort:function(e){var te||T;return i&&i.abort(t),r(0,t),this}};if(y.promise(S),h.url((t||h.url||St.href)+).replace(Ft,St.protocol+//),h.typen.method||n.type||h.method||h.type,h.dataTypes(h.dataType||*).toLowerCase().match(Ne)||,nullh.crossDomain){cte.createElement(a);try{c.hrefh.url,c.hrefc.href,h.crossDomainHt.protocol+//+Ht.host!c.protocol+//+c.host}catch(e){h.crossDomain!0}}if(h.data&&h.processData&&string!typeof h.data&&(h.datahe.param(h.data,h.traditional)),J(Dt,h,n,S),l)return S;fhe.event&&h.global,f&&0he.active++&&he.event.trigger(ajaxStart),h.typeh.type.toUpperCase(),h.hasContent!Lt.test(h.type),oh.url.replace(_t,),h.hasContent?h.data&&h.processData&&0(h.contentType||).indexOf(application/x-www-form-urlencoded)&&(h.datah.data.replace(Nt,+)):(dh.url.slice(o.length),h.data&&(o+(jt.test(o)?&:?)+h.data,delete h.data),h.cache!1&&(oo.replace(Pt,$1),d(jt.test(o)?&:?)+_+Ot++ +d),h.urlo+d),h.ifModified&&(he.lastModifiedo&&S.setRequestHeader(If-Modified-Since,he.lastModifiedo),he.etago&&S.setRequestHeader(If-None-Match,he.etago)),(h.data&&h.hasContent&&h.contentType!!1||n.contentType)&&S.setRequestHeader(Content-Type,h.contentType),S.setRequestHeader(Accept,h.dataTypes0&&h.acceptsh.dataTypes0?h.acceptsh.dataTypes0+(*!h.dataTypes0?, +Rt+; q0.01:):h.accepts*);for(p in h.headers)S.setRequestHeader(p,h.headersp);if(h.beforeSend&&(h.beforeSend.call(m,S,h)!1||l))return S.abort();if(Tabort,v.add(h.complete),S.done(h.success),S.fail(h.error),iJ(qt,h,n,S)){if(S.readyState1,f&&g.trigger(ajaxSend,S,h),l)return S;h.async&&h.timeout>0&&(ue.setTimeout(function(){S.abort(timeout)},h.timeout));try{l!1,i.send(w,r)}catch(e){if(l)throw e;r(-1,e)}}else r(-1,No Transport);return S},getJSON:function(e,t,n){return he.get(e,t,n,json)},getScript:function(e,t){return he.get(e,void 0,t,script)}}),he.each(get,post,function(e,t){hetfunction(e,n,r,i){return he.isFunction(n)&&(ii||r,rn,nvoid 0),he.ajax(he.extend({url:e,type:t,dataType:i,data:n,success:r},he.isPlainObject(e)&&e))}}),he._evalUrlfunction(e){return he.ajax({url:e,type:GET,dataType:script,cache:!0,async:!1,global:!1,throws:!0})},he.fn.extend({wrapAll:function(e){var t;return this0&&(he.isFunction(e)&&(ee.call(this0)),the(e,this0.ownerDocument).eq(0).clone(!0),this0.parentNode&&t.insertBefore(this0),t.map(function(){for(var ethis;e.firstElementChild;)ee.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return this.each(he.isFunction(e)?function(t){he(this).wrapInner(e.call(this,t))}:function(){var the(this),nt.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var the.isFunction(e);return this.each(function(n){he(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not(body).each(function(){he(this).replaceWith(this.childNodes)}),this}}),he.expr.pseudos.hiddenfunction(e){return!he.expr.pseudos.visible(e)},he.expr.pseudos.visiblefunction(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},he.ajaxSettings.xhrfunction(){try{return new e.XMLHttpRequest}catch(e){}};var $t{0:200,1223:204},Bthe.ajaxSettings.xhr();pe.cors!!Bt&&withCredentialsin Bt,pe.ajaxBt!!Bt,he.ajaxTransport(function(t){var n,r;return pe.cors||Bt&&!t.crossDomain?{send:function(i,o){var a,st.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)sat.xhrFieldsa;t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||iX-Requested-With||(iX-Requested-WithXMLHttpRequest);for(a in i)s.setRequestHeader(a,ia);nfunction(e){return function(){n&&(nrs.onloads.onerrors.onaborts.onreadystatechangenull,aborte?s.abort():errore?number!typeof s.status?o(0,error):o(s.status,s.statusText):o($ts.status||s.status,s.statusText,text!(s.responseType||text)||string!typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onloadn(),rs.onerrorn(error),void 0!s.onabort?s.onabortr:s.onreadystatechangefunction(){4s.readyState&&e.setTimeout(function(){n&&r()})},nn(abort);try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}:void 0}),he.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script!1)}),he.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 he.globalEval(e),e}}}),he.ajaxPrefilter(script,function(e){void 0e.cache&&(e.cache!1),e.crossDomain&&(e.typeGET)}),he.ajaxTransport(script,function(e){if(e.crossDomain){var t,n;return{send:function(r,i){the(script>).prop({charset:e.scriptCharset,src:e.url}).on(load error,nfunction(e){t.remove(),nnull,e&&i(errore.type?404:200,e.type)}),te.head.appendChild(t0)},abort:function(){n&&n()}}}});var Vt,Wt/()\?(?&|$)|\?\?/;he.ajaxSetup({jsonp:callback,jsonpCallback:function(){var eVt.pop()||he.expando+_+Ot++;return thise!0,e}}),he.ajaxPrefilter(json jsonp,function(t,n,r){var i,o,a,st.jsonp!!1&&(Wt.test(t.url)?url:stringtypeof t.data&&0(t.contentType||).indexOf(application/x-www-form-urlencoded)&&Wt.test(t.data)&&data);return s||jsonpt.dataTypes0?(it.jsonpCallbackhe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?tsts.replace(Wt,$1+i):t.jsonp!!1&&(t.url+(jt.test(t.url)?&:?)+t.jsonp++i),t.convertersscript jsonfunction(){return a||he.error(i+ was not called),a0},t.dataTypes0json,oei,eifunction(){aarguments},r.always(function(){void 0o?he(e).removeProp(i):eio,ti&&(t.jsonpCallbackn.jsonpCallback,Vt.push(i)),a&&he.isFunction(o)&&o(a0),aovoid 0}),script):void 0}),pe.createHTMLDocumentfunction(){var ete.implementation.createHTMLDocument().body;return e.innerHTMLform>/form>form>/form>,2e.childNodes.length}(),he.parseHTMLfunction(e,t,n){if(string!typeof e)return;booleantypeof t&&(nt,t!1);var r,i,o;return t||(pe.createHTMLDocument?(tte.implementation.createHTMLDocument(),rt.createElement(base),r.hrefte.location.href,t.head.appendChild(r)):tte),iSe.exec(e),o!n&&,i?t.createElement(i1):(ib(e,t,o),o&&o.length&&he(o).remove(),he.merge(,i.childNodes))},he.fn.loadfunction(e,t,n){var r,i,o,athis,se.indexOf( );return s>-1&&(rz(e.slice(s)),ee.slice(0,s)),he.isFunction(t)?(nt,tvoid 0):t&&object(undefinedtypeof t?undefined:_typeof(t))&&(iPOST),a.length>0&&he.ajax({url:e,type:i||GET,dataType:html,data:t}).done(function(e){oarguments,a.html(r?he(div>).append(he.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||e.responseText,t,e)})}),this},he.each(ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend,function(e,t){he.fntfunction(e){return this.on(t,e)}}),he.expr.pseudos.animatedfunction(e){return he.grep(he.timers,function(t){return et.elem}).length},he.offset{setOffset:function(e,t,n){var r,i,o,a,s,u,c,lhe.css(e,position),fhe(e),p{};staticl&&(e.style.positionrelative),sf.offset(),ohe.css(e,top),uhe.css(e,left),c(absolutel||fixedl)&&(o+u).indexOf(auto)>-1,c?(rf.position(),ar.top,ir.left):(aparseFloat(o)||0,iparseFloat(u)||0),he.isFunction(t)&&(tt.call(e,n,he.extend({},s))),null!t.top&&(p.topt.top-s.top+a),null!t.left&&(p.leftt.left-s.left+i),usingin t?t.using.call(e,p):f.css(p)}},he.fn.extend({offset:function(e){if(arguments.length)return void 0e?this:this.each(function(t){he.offset.setOffset(this,e,t)});var t,n,r,i,othis0;if(o)return o.getClientRects().length?(ro.getBoundingClientRect(),r.width||r.height?(io.ownerDocument,nK(i),ti.documentElement,{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):{top:0,left:0}},position:function(){if(this0){var e,t,nthis0,r{top:0,left:0};returnfixedhe.css(n,position)?tn.getBoundingClientRect():(ethis.offsetParent(),tthis.offset(),he.nodeName(e0,html)||(re.offset()),r{top:r.top+he.css(e0,borderTopWidth,!0),left:r.left+he.css(e0,borderLeftWidth,!0)}),{top:t.top-r.top-he.css(n,marginTop,!0),left:t.left-r.left-he.css(n,marginLeft,!0)}}},offsetParent:function(){return this.map(function(){for(var ethis.offsetParent;e&&statiche.css(e,position);)ee.offsetParent;return e||Ye})}}),he.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(e,t){var npageYOffsett;he.fnefunction(r){return Ie(this,function(e,r,i){var oK(e);return void 0i?o?ot:er:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):eri)},e,r,arguments.length)}}),he.each(top,left,function(e,t){he.cssHookstP(pe.pixelPosition,function(e,n){return n?(n_(e,t),at.test(n)?he(e).position()t+px:n):void 0})}),he.each({Height:height,Width:width},function(e,t){he.each({padding:inner+e,content:t,:outer+e},function(n,r){he.fnrfunction(i,o){var aarguments.length&&(n||boolean!typeof i),sn||(i!0||o!0?margin:border);return Ie(this,function(t,n,i){var o;return he.isWindow(t)?0r.indexOf(outer)?tinner+e:t.document.documentElementclient+e:9t.nodeType?(ot.documentElement,Math.max(t.bodyscroll+e,oscroll+e,t.bodyoffset+e,ooffset+e,oclient+e)):void 0i?he.css(t,n,s):he.style(t,n,i,s)},t,a?i:void 0,a)}})}),he.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1arguments.length?this.off(e,**):this.off(t,e||**,n)}}),he.parseJSONJSON.parse,functiontypeof define&&define.amd&&define(jquery,,function(){return he});var zte.jQuery,Ute.$;return he.noConflictfunction(t){return e.$he&&(e.$Ut),t&&e.jQueryhe&&(e.jQueryzt),he},t||(e.jQuerye.$he),he}),/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.35.1 * see https://github.com/paulmillr/es6-shim/blob/0.35.1/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-shim/ */function(e,t){functiontypeof define&&define.amd?define(es6-shim,t):object(undefinedtypeof exports?undefined:_typeof(exports))?module.exportst():e.returnExportst()}(this,function(){var e,tFunction.call.bind(Function.apply),nFunction.call.bind(Function.call),rArray.isArray,iObject.keys,ofunction(e){return function(){return!t(e,this,arguments)}},afunction(e){try{return e(),!1}catch(e){return!0}},sfunction(e){try{return e()}catch(e){return!1}},uo(a),cfunction(){return!a(function(){Object.defineProperty({},x,{get:function(){}})})},l!!Object.defineProperty&&c(),ffoofunction(){}.name,pFunction.call.bind(Array.prototype.forEach),dFunction.call.bind(Array.prototype.reduce),hFunction.call.bind(Array.prototype.filter),mFunction.call.bind(Array.prototype.some),gfunction(e,t,n,r){!r&&t in e||(l?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n}):etn)},yfunction(e,t,n){p(i(t),function(r){var itr;g(e,r,i,!!n)})},vFunction.call.bind(Object.prototype.toString),bfunctiontypeof/abc/?function(e){returnfunctiontypeof e&&object Functionv(e)}:function(e){returnfunctiontypeof e},w{getter:function(e,t,n){if(!l)throw new TypeError(getters require true ES5 support);Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:n})},proxy:function(e,t,n){if(!l)throw new TypeError(getters require true ES5 support);var rObject.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,{configurable:r.configurable,enumerable:r.enumerable,get:function(){return et},set:function(n){etn}})},redefine:function(e,t,n){if(l){var rObject.getOwnPropertyDescriptor(e,t);r.valuen,Object.defineProperty(e,t,r)}else etn},defineByDescriptor:function(e,t,n){l?Object.defineProperty(e,t,n):valuein n&&(etn.value)},preserveToString:function(e,t){t&&b(t.toString)&&g(e,toString,t.toString.bind(t),!0)}},xObject.create||function(e,t){var nfunction(){};n.prototypee;var rnew n;returnundefined!typeof t&&i(t).forEach(function(e){w.defineByDescriptor(r,e,te)}),r},Tfunction(e,t){return Object.setPrototypeOf?s(function(){var nfunction t(n){var rnew e(n);return Object.setPrototypeOf(r,t.prototype),r};return Object.setPrototypeOf(n,e),n.prototypex(e.prototype,{constructor:{value:n}}),t(n)}):!1},Sfunction(){if(undefined!typeof self)return self;if(undefined!typeof window)return window;if(undefined!typeof global)return global;throw new Error(unable to locate global object)},OS(),jO.isFinite,kFunction.call.bind(String.prototype.indexOf),CFunction.apply.bind(Array.prototype.indexOf),AFunction.call.bind(Array.prototype.concat),EFunction.call.bind(String.prototype.slice),NFunction.call.bind(Array.prototype.push),_Function.apply.bind(Array.prototype.push),PFunction.call.bind(Array.prototype.shift),IMath.max,MMath.min,LMath.floor,FMath.abs,DMath.exp,qMath.log,RMath.sqrt,HFunction.call.bind(Object.prototype.hasOwnProperty),$function(){},BO.Symbol||{},VB.species||@@species,WNumber.isNaN||function(e){return e!e},zNumber.isFinite||function(e){returnnumbertypeof e&&j(e)},Ub(Math.sign)?Math.sign:function(e){var tNumber(e);return 0t?t:W(t)?t:0>t?-1:1},Gfunction(e){returnobject Argumentsv(e)},Xfunction(e){return null!e&&object(undefinedtypeof e?undefined:_typeof(e))&&numbertypeof e.length&&e.length>0&&object Array!v(e)&&object Functionv(e.callee)},JG(arguments)?G:X,Y{primitive:function(e){return nulle||function!typeof e&&object!(undefinedtypeof e?undefined:_typeof(e))},string:function(e){returnobject Stringv(e)},regex:function(e){returnobject RegExpv(e)},symbol:function(e){returnfunctiontypeof O.Symbol&&symbol(undefinedtypeof e?undefined:_typeof(e))}},Zfunction(e,t,n){var ret;g(e,t,n,!0),w.preserveToString(et,r)},Qfunctiontypeof B&&functiontypeof B.for&&Y.symbol(B()),KY.symbol(B.iterator)?B.iterator:_es6-shim iterator_;O.Set&&functiontypeof(new O.Set)@@iterator&&(K@@iterator),O.Reflect||g(O,Reflect,{},!0);var eeO.Reflect,teString,ne{Call:function(e,n){var rarguments.length>2?arguments2:;if(!ne.IsCallable(e))throw new TypeError(e+ is not a function);return t(e,n,r)},RequireObjectCoercible:function(e,t){if(nulle)throw new TypeError(t||Cannot call method on +e);return e},TypeIsObject:function(e){return void 0e||nulle||e!0||e!1?!1:functiontypeof e||object(undefinedtypeof e?undefined:_typeof(e))},ToObject:function(e,t){return Object(ne.RequireObjectCoercible(e,t))},IsCallable:b,IsConstructor:function(e){return ne.IsCallable(e)},ToInt32:function(e){return ne.ToNumber(e)>>0},ToUint32:function(e){return ne.ToNumber(e)>>>0},ToNumber:function(e){if(object Symbolv(e))throw new TypeError(Cannot convert a Symbol value to a number);return+e},ToInteger:function(e){var tne.ToNumber(e);return W(t)?0:0!t&&z(t)?(t>0?1:-1)*L(F(t)):t},ToLength:function(e){var tne.ToInteger(e);return 0>t?0:t>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t},SameValue:function(e,t){return et?0e?1/e1/t:!0:W(e)&&W(t)},SameValueZero:function(e,t){return et||W(e)&&W(t)},IsIterable:function(e){return ne.TypeIsObject(e)&&(undefined!typeof eK||J(e))},GetIterator:function(t){if(J(t))return new e(t,value);var nne.GetMethod(t,K);if(!ne.IsCallable(n))throw new TypeError(value is not an iterable);var rne.Call(n,t);if(!ne.TypeIsObject(r))throw new TypeError(bad iterator);return r},GetMethod:function(e,t){var nne.ToObject(e)t;if(void 0n||nulln)return void 0;if(!ne.IsCallable(n))throw new TypeError(Method not callable: +t);return n},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var nne.GetMethod(e,return);if(void 0!n){var r,i;try{rne.Call(n,e)}catch(e){ie}if(!t){if(i)throw i;if(!ne.TypeIsObject(r))throw new TypeError(Iterators return method returned a non-object.)}}},IteratorNext:function(e){var targuments.length>1?e.next(arguments1):e.next();if(!ne.TypeIsObject(t))throw new TypeError(bad iterator);return t},IteratorStep:function(e){var tne.IteratorNext(e),nne.IteratorComplete(t);return n?!1:t},Construct:function(e,t,n,r){var iundefinedtypeof n?e:n;if(!r&&ee.construct)return ee.construct(e,t,i);var oi.prototype;ne.TypeIsObject(o)||(oObject.prototype);var ax(o),sne.Call(e,a,t);return ne.TypeIsObject(s)?s:a},SpeciesConstructor:function(e,t){var ne.constructor;if(void 0n)return t;if(!ne.TypeIsObject(n))throw new TypeError(Bad constructor);var rnV;if(void 0r||nullr)return t;if(!ne.IsConstructor(r))throw new TypeError(Bad @@species);return r},CreateHTML:function(e,t,n,r){var ine.ToString(e),o+t;if(!n){var ane.ToString(r),sa.replace(//g,");o+ +n++s+}var uo+>,cu+i;return c+/+t+>},IsRegExp:function(e){if(!ne.TypeIsObject(e))return!1;var teB.match;returnundefined!typeof t?!!t:Y.regex(e)},ToString:function(e){return te(e)}};if(l&&Q){var refunction(e){if(Y.symbol(Be))return Be;var tB.for(Symbol.+e);return Object.defineProperty(B,e,{configurable:!1,enumerable:!1,writable:!1,value:t}),t};if(!Y.symbol(B.search)){var iere(search),oeString.prototype.search;g(RegExp.prototype,ie,function(e){return ne.Call(oe,e,this)});var aefunction(e){var tne.RequireObjectCoercible(this);if(null!e&&undefined!typeof e){var nne.GetMethod(e,ie);if(undefined!typeof n)return ne.Call(n,e,t)}return ne.Call(oe,t,ne.ToString(e))};Z(String.prototype,search,ae)}if(!Y.symbol(B.replace)){var sere(replace),ueString.prototype.replace;g(RegExp.prototype,se,function(e,t){return ne.Call(ue,e,this,t)});var cefunction(e,t){var nne.RequireObjectCoercible(this);if(null!e&&undefined!typeof e){var rne.GetMethod(e,se);if(undefined!typeof r)return ne.Call(r,e,n,t)}return ne.Call(ue,n,ne.ToString(e),t)};Z(String.prototype,replace,ce)}if(!Y.symbol(B.split)){var lere(split),feString.prototype.split;g(RegExp.prototype,le,function(e,t){return ne.Call(fe,e,this,t)});var pefunction(e,t){var nne.RequireObjectCoercible(this);if(null!e&&undefined!typeof e){var rne.GetMethod(e,le);if(undefined!typeof r)return ne.Call(r,e,n,t)}return ne.Call(fe,n,ne.ToString(e),t)};Z(String.prototype,split,pe)}var deY.symbol(B.match),hede&&function(){var e{};return eB.matchfunction(){return 42},42!a.match(e)}();if(!de||he){var mere(match),geString.prototype.match;g(RegExp.prototype,me,function(e){return ne.Call(ge,e,this)});var yefunction(e){var tne.RequireObjectCoercible(this);if(null!e&&undefined!typeof e){var nne.GetMethod(e,me);if(undefined!typeof n)return ne.Call(n,e,t)}return ne.Call(ge,t,ne.ToString(e))};Z(String.prototype,match,ye)}}var vefunction(e,t,n){w.preserveToString(t,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,t),l?p(Object.getOwnPropertyNames(e),function(r){r in $||nr||w.proxy(e,r,t)}):p(Object.keys(e),function(r){r in $||nr||(trer)}),t.prototypee.prototype,w.redefine(e.prototype,constructor,t)},befunction(){return this},wefunction(e){l&&!H(e,V)&&w.getter(e,V,be)},xefunction(e,t){var nt||function(){return this};g(e,K,n),!eK&&Y.symbol(K)&&(eKn)},Tefunction(e,t,n){l?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):etn},Sefunction(e,t,n){if(Te(e,t,n),!ne.SameValue(et,n))throw new TypeError(property is nonconfigurable)},Oefunction(e,t,n,r){if(!ne.TypeIsObject(e))throw new TypeError(Constructor requires `new`: +t.name);var it.prototype;ne.TypeIsObject(i)||(in);var ox(i);for(var a in r)if(H(r,a)){var sra;g(o,a,s,!0)}return o};if(String.fromCodePoint&&1!String.fromCodePoint.length){var jeString.fromCodePoint;Z(String,fromCodePoint,function(){return ne.Call(je,this,arguments)})}var ke{fromCodePoint:function(){for(var e,t,n0,rarguments.length;r>n;n++){if(eNumber(argumentsn),!ne.SameValue(e,ne.ToInteger(e))||0>e||e>1114111)throw new RangeError(Invalid code point +e);65536>e?N(t,String.fromCharCode(e)):(e-65536,N(t,String.fromCharCode((e>>10)+55296)),N(t,String.fromCharCode(e%1024+56320)))}return t.join()},raw:function(e){var tne.ToObject(e,bad callSite),nne.ToObject(t.raw,bad raw value),rn.length,ine.ToLength(r);if(0>i)return;for(var o,a,s,u,c,l0;i>l&&(one.ToString(l),sne.ToString(no),N(c,s),!(l+1>i));)al+1arguments.length?argumentsl+1:,une.ToString(a),N(c,u),l+1;return c.join()}};String.raw&&xy!String.raw({raw:{0:x,1:y,length:2}})&&Z(String,raw,ke.raw),y(String,ke);var Cefunction e(t,n){if(1>n)return;if(n%2)return e(t,n-1)+t;var re(t,n/2);return r+r},Ae1/0,Ee{repeat:function(e){var tne.ToString(ne.RequireObjectCoercible(this)),nne.ToInteger(e);if(0>n||n>Ae)throw new RangeError(repeat count must be less than infinity and not overflow maximum string size);return Ce(t,n)},startsWith:function(e){var tne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError(Cannot call method startsWith with a regex);var n,rne.ToString(e);arguments.length>1&&(narguments1);var iI(ne.ToInteger(n),0);return E(t,i,i+r.length)r},endsWith:function(e){var tne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError(Cannot call method endsWith with a regex);var n,rne.ToString(e),it.length;arguments.length>1&&(narguments1);var oundefinedtypeof n?i:ne.ToInteger(n),aM(I(o,0),i);return E(t,a-r.length,a)r},includes:function(e){if(ne.IsRegExp(e))throw new TypeError(includes does not accept a RegExp);var t,nne.ToString(e);return arguments.length>1&&(targuments1),-1!k(this,n,t)},codePointAt:function(e){var tne.ToString(ne.RequireObjectCoercible(this)),nne.ToInteger(e),rt.length;if(n>0&&r>n){var it.charCodeAt(n),on+1r;if(55296>i||i>56319||o)return i;var at.charCodeAt(n+1);return 56320>a||a>57343?i:1024*(i-55296)+(a-56320)+65536}}};if(String.prototype.includes&&a.includes(a,1/0)!!1&&Z(String.prototype,includes,Ee.includes),String.prototype.startsWith&&String.prototype.endsWith){var Nea(function(){/a/.startsWith(/a/)}),_es(function(){returnabc.startsWith(a,1/0)!1});Ne&&_e||(Z(String.prototype,startsWith,Ee.startsWith),Z(String.prototype,endsWith,Ee.endsWith))}if(Q){var Pes(function(){var e/a/;return eB.match!1,/a/.startsWith(e)});Pe||Z(String.prototype,startsWith,Ee.startsWith);var Ies(function(){var e/a/;return eB.match!1,/a/.endsWith(e)});Ie||Z(String.prototype,endsWith,Ee.endsWith);var Mes(function(){var e/a/;return eB.match!1,/a/.includes(e)});Me||Z(String.prototype,includes,Ee.includes)}y(String.prototype,Ee);var Le \n\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003,\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028,\u2029\ufeff.join(),Fenew RegExp((^+Le++)|(+Le++$),g),Defunction(){return ne.ToString(ne.RequireObjectCoercible(this)).replace(Fe,)},qe\x85,\u200b,\ufffe.join(),Renew RegExp(+qe+,g),He/^\-+0x0-9a-f+$/i,$eqe.trim().length!qe.length;g(String.prototype,trim,De,$e);var Befunction(e){return{value:e,done:0arguments.length}},Vefunction(e){ne.RequireObjectCoercible(e),this._sne.ToString(e),this._i0};Ve.prototype.nextfunction(){var ethis._s,tthis._i;if(undefinedtypeof e||t>e.length)return this._svoid 0,Be();var n,r,ie.charCodeAt(t);return 55296>i||i>56319||t+1e.length?r1:(ne.charCodeAt(t+1),r56320>n||n>57343?1:2),this._it+r,Be(e.substr(t,r))},xe(Ve.prototype),xe(String.prototype,function(){return new Ve(this)});var We{from:function(e){var t,rthis;arguments.length>1&&(targuments1);var i,o;if(undefinedtypeof t)i!1;else{if(!ne.IsCallable(t))throw new TypeError(Array.from: when provided, the second argument must be a function);arguments.length>2&&(oarguments2),i!0}var a,s,u,cundefined!typeof(J(e)||ne.GetMethod(e,K));if(c){sne.IsConstructor(r)?Object(new r):;var l,f,pne.GetIterator(e);for(u0;;){if(lne.IteratorStep(p),l!1)break;fl.value;try{i&&(fundefinedtypeof o?t(f,u):n(t,o,f,u)),suf}catch(e){throw ne.IteratorClose(p,!0),e}u+1}au}else{var dne.ToObject(e);ane.ToLength(d.length),sne.IsConstructor(r)?Object(new r(a)):new Array(a);var h;for(u0;a>u;++u)hdu,i&&(hundefinedtypeof o?t(h,u):n(t,o,h,u)),Se(s,u,h)}return s.lengtha,s},of:function(){for(var earguments.length,tthis,nr(t)||!ne.IsCallable(t)?new Array(e):ne.Construct(t,e),i0;e>i;++i)Se(n,i,argumentsi);return n.lengthe,n}};y(Array,We),we(Array),efunction(e,t){this.i0,this.arraye,this.kindt},y(e.prototype,{next:function(){var tthis.i,nthis.array;if(!(this instanceof e))throw new TypeError(Not an ArrayIterator);if(undefined!typeof n)for(var rne.ToLength(n.length);r>t;t++){var i,othis.kind;returnkeyo?it:valueo?int:entryo&&(it,nt),this.it+1,Be(i)}return this.arrayvoid 0,Be()}}),xe(e.prototype);var zeArray.ofWe.of||function(){var efunction(e){this.lengthe};e.prototype;var tArray.of.apply(e,1,2);return t instanceof e&&2t.length}();ze||Z(Array,of,We.of);var Ue{copyWithin:function(e,t){var n,rne.ToObject(this),ine.ToLength(r.length),one.ToInteger(e),ane.ToInteger(t),s0>o?I(i+o,0):M(o,i),u0>a?I(i+a,0):M(a,i);arguments.length>2&&(narguments2);var cundefinedtypeof n?i:ne.ToInteger(n),l0>c?I(i+c,0):M(c,i),fM(l-u,i-s),p1;for(s>u&&u+f>s&&(p-1,u+f-1,s+f-1);f>0;)u in r?rsru:delete rs,u+p,s+p,f-1;return r},fill:function(e){var t;arguments.length>1&&(targuments1);var n;arguments.length>2&&(narguments2);var rne.ToObject(this),ine.ToLength(r.length);tne.ToInteger(undefinedtypeof t?0:t),nne.ToInteger(undefinedtypeof n?i:n);for(var o0>t?I(i+t,0):M(t,i),a0>n?i+n:n,so;i>s&&a>s;++s)rse;return r},find:function(e){var tne.ToObject(this),rne.ToLength(t.length);if(!ne.IsCallable(e))throw new TypeError(Array#find: predicate must be a function);for(var i,oarguments.length>1?arguments1:null,a0;r>a;a++)if(ita,o){if(n(e,o,i,a,t))return i}else if(e(i,a,t))return i},findIndex:function(e){var tne.ToObject(this),rne.ToLength(t.length);if(!ne.IsCallable(e))throw new TypeError(Array#findIndex: predicate must be a function);for(var iarguments.length>1?arguments1:null,o0;r>o;o++)if(i){if(n(e,i,to,o,t))return o}else if(e(to,o,t))return o;return-1},keys:function(){return new e(this,key)},values:function(){return new e(this,value)},entries:function(){return new e(this,entry)}};if(Array.prototype.keys&&!ne.IsCallable(1.keys().next)&&delete Array.prototype.keys,Array.prototype.entries&&!ne.IsCallable(1.entries().next)&&delete Array.prototype.entries,Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototypeK&&(y(Array.prototype,{values:Array.prototypeK}),Y.symbol(B.unscopables)&&(Array.prototypeB.unscopables.values!0)),f&&Array.prototype.values&&values!Array.prototype.values.name){var GeArray.prototype.values;Z(Array.prototype,values,function(){return ne.Call(Ge,this,arguments)}),g(Array.prototype,K,Array.prototype.values,!0)}y(Array.prototype,Ue),1/!0.indexOf(!0,-0)0&&g(Array.prototype,indexOf,function(){var eC(this,arguments);return 0e&&0>1/e?0:e},!0),xe(Array.prototype,function(){return this.values()}),Object.getPrototypeOf&&xe(Object.getPrototypeOf(.values()));var Xefunction(){return s(function(){return 0Array.from({length:-1}).length})}(),Jefunction(){var eArray.from(0.entries());return 1e.length&&r(e0)&&0e00&&0e01}();Xe&&Je||Z(Array,from,We.from);var Yefunction(){return s(function(){return Array.from(0,void 0)})}();if(!Ye){var ZeArray.from;Z(Array,from,function(e){return arguments.length>1&&undefined!typeof arguments1?ne.Call(Ze,this,arguments):n(Ze,this,e)})}var Qe-(Math.pow(2,32)-1),Kefunction(e,t){var r{length:Qe};return rt?(r.length>>>0)-1:0!0,s(function(){return n(e,r,function(){throw new RangeError(should not reach here)},),!0})};if(!Ke(Array.prototype.forEach)){var etArray.prototype.forEach;Z(Array.prototype,forEach,function(){return ne.Call(et,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.map)){var ttArray.prototype.map;Z(Array.prototype,map,function(){return ne.Call(tt,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.filter)){var ntArray.prototype.filter;Z(Array.prototype,filter,function(){return ne.Call(nt,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.some)){var rtArray.prototype.some;Z(Array.prototype,some,function(){return ne.Call(rt,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.every)){var itArray.prototype.every;Z(Array.prototype,every,function(){return ne.Call(it,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.reduce)){var otArray.prototype.reduce;Z(Array.prototype,reduce,function(){return ne.Call(ot,this.length>0?this:,arguments)},!0)}if(!Ke(Array.prototype.reduceRight,!0)){var atArray.prototype.reduceRight;Z(Array.prototype,reduceRight,function(){return ne.Call(at,this.length>0?this:,arguments)},!0)}var st8!Number(0o10),ut2!Number(0b10),ctm(qe,function(e){return 0Number(e+0+e)});if(st||ut||ct){var ltNumber,ft/^0b01+$/i,pt/^0o0-7+$/i,dtft.test.bind(ft),htpt.test.bind(pt),mtfunction(e){var t;if(functiontypeof e.valueOf&&(te.valueOf(),Y.primitive(t)))return t;if(functiontypeof e.toString&&(te.toString(),Y.primitive(t)))return t;throw new TypeError(No default value)},gtRe.test.bind(Re),ytHe.test.bind(He),vtfunction(){var efunction(t){var n;narguments.length>0?Y.primitive(t)?t:mt(t,number):0,stringtypeof n&&(nne.Call(De,n),dt(n)?nparseInt(E(n,2),2):ht(n)?nparseInt(E(n,2),8):(gt(n)||yt(n))&&(n0/0));var rthis,is(function(){return lt.prototype.valueOf.call(r),!0});return r instanceof e&&!i?new lt(n):lt(n)};return e}();ve(lt,vt,{}),y(vt,{NaN:lt.NaN,MAX_VALUE:lt.MAX_VALUE,MIN_VALUE:lt.MIN_VALUE,NEGATIVE_INFINITY:lt.NEGATIVE_INFINITY,POSITIVE_INFINITY:lt.POSITIVE_INFINITY}),Numbervt,w.redefine(O,Number,vt)}var btMath.pow(2,53)-1;y(Number,{MAX_SAFE_INTEGER:bt,MIN_SAFE_INTEGER:-bt,EPSILON:2.220446049250313e-16,parseInt:O.parseInt,parseFloat:O.parseFloat,isFinite:z,isInteger:function(e){return z(e)&&ne.ToInteger(e)e},isSafeInteger:function(e){return Number.isInteger(e)&&F(e)Number.MAX_SAFE_INTEGER},isNaN:W}),g(Number,parseInt,O.parseInt,Number.parseInt!O.parseInt),,1.find(function(e,t){return 0t})||Z(Array.prototype,find,Ue.find),0!,1.findIndex(function(e,t){return 0t})&&Z(Array.prototype,findIndex,Ue.findIndex);var wtFunction.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),xtfunction(e,t){l&&wt(e,t)&&Object.defineProperty(e,t,{enumerable:!1})},Ttfunction(){for(var eNumber(this),targuments.length,nt-e,rnew Array(0>n?0:n),ie;t>i;++i)ri-eargumentsi;return r},Stfunction(e){return function(t,n){return tnen,t}},Otfunction(e,t){var n,ri(Object(t));return ne.IsCallable(Object.getOwnPropertySymbols)&&(nh(Object.getOwnPropertySymbols(Object(t)),wt(t))),d(A(r,n||),St(t),e)},jt{assign:function(e){var tne.ToObject(e,Cannot convert undefined or null to object);return d(ne.Call(Tt,1,arguments),Ot,t)},is:function(e,t){return ne.SameValue(e,t)}},ktObject.assign&&Object.preventExtensions&&function(){var eObject.preventExtensions({1:2});try{Object.assign(e,xy)}catch(t){returnye1}}();if(kt&&Z(Object,assign,jt.assign),y(Object,jt),l){var Ct{setPrototypeOf:function(e,t){var r,ifunction(e,t){if(!ne.TypeIsObject(e))throw new TypeError(cannot set prototype on a non-object);if(null!t&&!ne.TypeIsObject(t))throw new TypeError(can only set prototype to an object or null+t)},ofunction(e,t){return i(e,t),n(r,e,t),e};try{re.getOwnPropertyDescriptor(e.prototype,t).set,n(r,{},null)}catch(n){if(e.prototype!{}t)return;rfunction(e){thiste},o.polyfillo(o({},null),e.prototype)instanceof e}return o}(Object,__proto__)};y(Object,Ct)}Object.setPrototypeOf&&Object.getPrototypeOf&&null!Object.getPrototypeOf(Object.setPrototypeOf({},null))&&nullObject.getPrototypeOf(Object.create(null))&&!function(){var eObject.create(null),tObject.getPrototypeOf,nObject.setPrototypeOf;Object.getPrototypeOffunction(n){var rt(n);return re?null:r},Object.setPrototypeOffunction(t,r){var inullr?e:r;return n(t,i)},Object.setPrototypeOf.polyfill!1}();var At!a(function(){Object.keys(foo)});if(!At){var EtObject.keys;Z(Object,keys,function(e){return Et(ne.ToObject(e))}),iObject.keys}var Nta(function(){Object.keys(/a/g)});if(Nt){var _tObject.keys;Z(Object,keys,function(e){if(Y.regex(e)){var t;for(var n in e)H(e,n)&&N(t,n);return t}return _t(e)}),iObject.keys}if(Object.getOwnPropertyNames){var Pt!a(function(){Object.getOwnPropertyNames(foo)});if(!Pt){var Itobject(undefinedtypeof window?undefined:_typeof(window))?Object.getOwnPropertyNames(window):,MtObject.getOwnPropertyNames;Z(Object,getOwnPropertyNames,function(e){var tne.ToObject(e);if(object Windowv(t))try{return Mt(t)}catch(e){return A(,It)}return Mt(t)})}}if(Object.getOwnPropertyDescriptor){var Lt!a(function(){Object.getOwnPropertyDescriptor(foo,bar)});if(!Lt){var FtObject.getOwnPropertyDescriptor;Z(Object,getOwnPropertyDescriptor,function(e,t){return Ft(ne.ToObject(e),t)})}}if(Object.seal){var Dt!a(function(){Object.seal(foo)});if(!Dt){var qtObject.seal;Z(Object,seal,function(e){return ne.TypeIsObject(e)?qt(e):e})}}if(Object.isSealed){var Rt!a(function(){Object.isSealed(foo)});if(!Rt){var HtObject.isSealed;Z(Object,isSealed,function(e){return ne.TypeIsObject(e)?Ht(e):!0})}}if(Object.freeze){var $t!a(function(){Object.freeze(foo)});if(!$t){var BtObject.freeze;Z(Object,freeze,function(e){return ne.TypeIsObject(e)?Bt(e):e})}}if(Object.isFrozen){var Vt!a(function(){Object.isFrozen(foo)});if(!Vt){var WtObject.isFrozen;Z(Object,isFrozen,function(e){return ne.TypeIsObject(e)?Wt(e):!0})}}if(Object.preventExtensions){var zt!a(function(){Object.preventExtensions(foo)});if(!zt){var UtObject.preventExtensions;Z(Object,preventExtensions,function(e){return ne.TypeIsObject(e)?Ut(e):e})}}if(Object.isExtensible){var Gt!a(function(){Object.isExtensible(foo)});if(!Gt){var XtObject.isExtensible;Z(Object,isExtensible,function(e){return ne.TypeIsObject(e)?Xt(e):!1})}}if(Object.getPrototypeOf){var Jt!a(function(){Object.getPrototypeOf(foo)});if(!Jt){var YtObject.getPrototypeOf;Z(Object,getPrototypeOf,function(e){return Yt(ne.ToObject(e))})}}var Ztl&&function(){var eObject.getOwnPropertyDescriptor(RegExp.prototype,flags);return e&&ne.IsCallable(e.get)}();if(l&&!Zt){var Qtfunction(){if(!ne.TypeIsObject(this))throw new TypeError(Method called on incompatible type: must be an object.);var e;return this.global&&(e+g),this.ignoreCase&&(e+i),this.multiline&&(e+m),this.unicode&&(e+u),this.sticky&&(e+y),e};w.getter(RegExp.prototype,flags,Qt)}var Ktl&&s(function(){return/a/iString(new RegExp(/a/g,i))}),enQ&&l&&function(){var e/./;return eB.match!1,RegExp(e)e}(),tns(function(){return/abc/RegExp.prototype.toString.call({source:abc})}),nntn&&s(function(){return/a/bRegExp.prototype.toString.call({source:a,flags:b})});if(!tn||!nn){var rnRegExp.prototype.toString;g(RegExp.prototype,toString,function(){var ene.RequireObjectCoercible(this);if(Y.regex(e))return n(rn,e);var tte(e.source),rte(e.flags);return/+t+/+r},!0),w.preserveToString(RegExp.prototype.toString,rn)}if(l&&(!Kt||en)){var onObject.getOwnPropertyDescriptor(RegExp.prototype,flags).get,anObject.getOwnPropertyDescriptor(RegExp.prototype,source)||{},snfunction(){return this.source},unne.IsCallable(an.get)?an.get:sn,cnRegExp,lnfunction(){return function e(t,n){var rne.IsRegExp(t),ithis instanceof e;if(!i&&r&&undefinedtypeof n&&t.constructore)return t;var ot,an;return Y.regex(t)?(one.Call(un,t),aundefinedtypeof n?ne.Call(on,t):n,new e(o,a)):(r&&(ot.source,aundefinedtypeof n?t.flags:n),new cn(t,n))}}();ve(cn,ln,{$input:!0}),RegExpln,w.redefine(O,RegExp,ln)}if(l){var fn{input:$_,lastMatch:$&,lastParen:$+,leftContext:$`,rightContext:$};p(i(fn),function(e){e in RegExp&&!(fnein RegExp)&&w.getter(RegExp,fne,function(){return RegExpe})})}we(RegExp);var pn1/Number.EPSILON,dnfunction(e){return e+pn-pn},hnMath.pow(2,-23),mnMath.pow(2,127)*(2-hn),gnMath.pow(2,-126),ynMath.E,vnMath.LOG2E,bnMath.LOG10E,wnNumber.prototype.clz;delete Number.prototype.clz;var xn{acosh:function(e){var tNumber(e);return W(t)||1>e?0/0:1t?0:t1/0?t:q(t/yn+R(t+1)*R(t-1)/yn)+1},asinh:function e(t){var nNumber(t);return 0!n&&j(n)?0>n?-e(-n):q(n+R(n*n+1)):n},atanh:function(e){var tNumber(e);return W(t)||-1>t||t>1?0/0:-1t?-(1/0):1t?1/0:0t?t:.5*q((1+t)/(1-t))},cbrt:function(e){var tNumber(e);if(0t)return t;var n,r0>t;return r&&(t-t),t1/0?n1/0:(nD(q(t)/3),n(t/(n*n)+2*n)/3),r?-n:n},clz32:function(e){var tNumber(e),nne.ToUint32(t);return 0n?32:wn?ne.Call(wn,n):31-L(q(n+.5)*vn)},cosh:function(e){var tNumber(e);return 0t?1:W(t)?0/0:j(t)?(0>t&&(t-t),t>21?D(t)/2:(D(t)+D(-t))/2):1/0},expm1:function(e){var tNumber(e);if(t-(1/0))return-1;if(!j(t)||0t)return t;if(F(t)>.5)return D(t)-1;for(var nt,r0,i1;r+n!r;)r+n,i+1,n*t/i;return r},hypot:function(){for(var e0,t0,n0;narguments.length;++n){var rF(Number(argumentsn));r>t?(e*t/r*(t/r),e+1,tr):e+r>0?r/t*(r/t):r}return t1/0?1/0:t*R(e)},log2:function(e){return q(e)*vn},log10:function(e){return q(e)*bn},log1p:function(e){var tNumber(e);return-1>t||W(t)?0/0:0t||t1/0?t:-1t?-(1/0):1+t-10?t:t*(q(1+t)/(1+t-1))},sign:U,sinh:function(e){var tNumber(e);return j(t)&&0!t?F(t)1?(Math.expm1(t)-Math.expm1(-t))/2:(D(t-1)-D(-t-1))*yn/2:t},tanh:function(e){var tNumber(e);return W(t)||0t?t:t>20?1:-20>t?-1:(Math.expm1(t)-Math.expm1(-t))/(D(t)+D(-t))},trunc:function(e){var tNumber(e);return 0>t?-L(-t):L(t)},imul:function(e,t){var nne.ToUint32(e),rne.ToUint32(t),in>>>16&65535,o65535&n,ar>>>16&65535,s65535&r;return o*s+(i*s+o*a16>>>0)|0},fround:function(e){var tNumber(e);if(0t||t1/0||t-(1/0)||W(t))return t;var nU(t),rF(t);if(gn>r)return n*dn(r/gn/hn)*gn*hn;var i(1+hn/Number.EPSILON)*r,oi-(i-r);return o>mn||W(o)?n*(1/0):n*o}};y(Math,xn),g(Math,log1p,xn.log1p,-1e-17!Math.log1p(-1e-17)),g(Math,asinh,xn.asinh,Math.asinh(-1e7)!-Math.asinh(1e7)),g(Math,tanh,xn.tanh,-2e-17!Math.tanh(-2e-17)),g(Math,acosh,xn.acosh,Math.acosh(Number.MAX_VALUE)1/0),g(Math,cbrt,xn.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8),g(Math,sinh,xn.sinh,-2e-17!Math.sinh(-2e-17));var TnMath.expm1(10);g(Math,expm1,xn.expm1,Tn>22025.465794806718||22025.465794806718>Tn);var SnMath.round,On0Math.round(.5-Number.EPSILON/4)&&1Math.round(-.5+Number.EPSILON/3.99),jnpn+1,kn2*pn-1,Cnjn,kn.every(function(e){return Math.round(e)e});g(Math,round,function(e){var tL(e),n-1t?-0:t+1;return.5>e-t?t:n},!On||!Cn),w.preserveToString(Math.round,Sn);var AnMath.imul;-5!Math.imul(4294967295,5)&&(Math.imulxn.imul,w.preserveToString(Math.imul,An)),2!Math.imul.length&&Z(Math,imul,function(){return ne.Call(An,Math,arguments)});var Enfunction(){var eO.setTimeout;if(functiontypeof e||object(undefinedtypeof e?undefined:_typeof(e))){ne.IsPromisefunction(e){return ne.TypeIsObject(e)?undefinedtypeof e._promise?!1:!0:!1};var t,rfunction(e){if(!ne.IsConstructor(e))throw new TypeError(Bad promise constructor);var tthis,nfunction(e,n){if(void 0!t.resolve||void 0!t.reject)throw new TypeError(Bad Promise implementation!);t.resolvee,t.rejectn};if(t.resolvevoid 0,t.rejectvoid 0,t.promisenew e(n),!ne.IsCallable(t.resolve)||!ne.IsCallable(t.reject))throw new TypeError(Bad promise constructor)};undefined!typeof window&&ne.IsCallable(window.postMessage)&&(tfunction(){var e,tzero-timeout-message,nfunction(n){N(e,n),window.postMessage(t,*)},rfunction(n){if(n.sourcewindow&&n.datat){if(n.stopPropagation(),0e.length)return;var rP(e);r()}};return window.addEventListener(message,r,!0),n});var i,o,afunction(){var eO.Promise,te&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}},sne.IsCallable(O.setImmediate)?O.setImmediate:object(undefinedtypeof process?undefined:_typeof(process))&&process.nextTick?process.nextTick:a()||(ne.IsCallable(t)?t():function(t){e(t,0)}),ufunction(e){return e},cfunction(e){throw e},l0,f1,p2,d0,h1,m2,g{},vfunction(e,t,n){s(function(){b(e,t,n)})},bfunction(e,t,n){var r,i;if(tg)return e(n);try{re(n),it.resolve}catch(e){re,it.reject}i(r)},wfunction(e,t){var ne._promise,rn.reactionLength;if(r>0&&(v(n.fulfillReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0void 0,n.rejectReactions0void 0,n.reactionCapability0void 0,r>1))for(var i1,o0;r>i;i++,o+3)v(no+d,no+m,t),eo+dvoid 0,eo+hvoid 0,eo+mvoid 0;n.resultt,n.statef,n.reactionLength0},xfunction(e,t){var ne._promise,rn.reactionLength;if(r>0&&(v(n.rejectReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0void 0,n.rejectReactions0void 0,n.reactionCapability0void 0,r>1))for(var i1,o0;r>i;i++,o+3)v(no+h,no+m,t),eo+dvoid 0,eo+hvoid 0,eo+mvoid 0;n.resultt,n.statep,n.reactionLength0},Tfunction(e){var t!1,nfunction(n){var r;if(!t){if(t!0,ne)return x(e,new TypeError(Self resolution));if(!ne.TypeIsObject(n))return w(e,n);try{rn.then}catch(t){return x(e,t)}return ne.IsCallable(r)?void s(function(){j(e,n,r)}):w(e,n)}},rfunction(n){return t?void 0:(t!0,x(e,n))};return{resolve:n,reject:r}},Sfunction(e,t,r,i){eo?n(e,t,r,i,g):n(e,t,r,i)},jfunction(e,t,n){var rT(e),ir.resolve,or.reject;try{S(n,t,i,o)}catch(e){o(e)}},kfunction(){var efunction(t){if(!(this instanceof e))throw new TypeError(Constructor Promise requires new);if(this&&this._promise)throw new TypeError(Bad construction);if(!ne.IsCallable(t))throw new TypeError(not a valid resolver);var nOe(this,e,i,{_promise:{result:void 0,state:l,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}}),rT(n),or.reject;try{t(r.resolve,o)}catch(e){o(e)}return n};return e}();ik.prototype;var Cfunction(e,t,n,r){var i!1;return function(o){if(!i&&(i!0,teo,0--r.count)){var an.resolve;a(t)}}},Afunction(e,t,n){for(var r,i,oe.iterator,a,s{count:1},u0;;){try{if(rne.IteratorStep(o),r!1){e.done!0;break}ir.value}catch(t){throw e.done!0,t}auvoid 0;var ct.resolve(i),lC(u,a,n,s);s.count+1,S(c.then,c,l,n.reject),u+1}if(0--s.count){var fn.resolve;f(a)}return n.promise},Efunction(e,t,n){for(var r,i,o,ae.iterator;;){try{if(rne.IteratorStep(a),r!1){e.done!0;break}ir.value}catch(t){throw e.done!0,t}ot.resolve(i),S(o.then,o,n.resolve,n.reject)}return n.promise};return y(k,{all:function(e){var tthis;if(!ne.TypeIsObject(t))throw new TypeError(Promise is not object);var n,i,onew r(t);try{return nne.GetIterator(e),i{iterator:n,done:!1},A(i,t,o)}catch(e){var ae;if(i&&!i.done)try{ne.IteratorClose(n,!0)}catch(e){ae}var so.reject;return s(a),o.promise}},race:function(e){var tthis;if(!ne.TypeIsObject(t))throw new TypeError(Promise is not object);var n,i,onew r(t);try{return nne.GetIterator(e),i{iterator:n,done:!1},E(i,t,o)}catch(e){var ae;if(i&&!i.done)try{ne.IteratorClose(n,!0)}catch(e){ae}var so.reject;return s(a),o.promise}},reject:function(e){var tthis;if(!ne.TypeIsObject(t))throw new TypeError(Bad promise constructor);var nnew r(t),in.reject;return i(e),n.promise},resolve:function(e){var tthis;if(!ne.TypeIsObject(t))throw new TypeError(Bad promise constructor);if(ne.IsPromise(e)){var ne.constructor;if(nt)return e}var inew r(t),oi.resolve;return o(e),i.promise}}),y(i,{catch:function(e){return this.then(null,e)},then:function(e,t){var nthis;if(!ne.IsPromise(n))throw new TypeError(not a promise);var i,one.SpeciesConstructor(n,k),aarguments.length>2&&arguments2g;ia&&ok?g:new r(o);var s,yne.IsCallable(e)?e:u,bne.IsCallable(t)?t:c,wn._promise;if(w.statel){if(0w.reactionLength)w.fulfillReactionHandler0y,w.rejectReactionHandler0b,w.reactionCapability0i;else{var x3*(w.reactionLength-1);wx+dy,wx+hb,wx+mi}w.reactionLength+1}else if(w.statef)sw.result,v(y,i,s);else{if(w.state!p)throw new TypeError(unexpected Promise state);sw.result,v(b,i,s)}return i.promise}}),gnew r(k),oi.then,k}}();if(O.Promise&&(delete O.Promise.accept,delete O.Promise.defer,delete O.Promise.prototype.chain),functiontypeof En){y(O,{Promise:En});var NnT(O.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),_n!a(function(){O.Promise.reject(42).then(null,5).then(null,$)}),Pna(function(){O.Promise.call(3,$)}),Infunction(e){var te.resolve(5);t.constructor{};var ne.resolve(t);try{n.then(null,$).then(null,$)}catch(e){return!0}return tn}(O.Promise),Mnl&&function(){var e0,tObject.defineProperty({},then,{get:function(){e+1}});return Promise.resolve(t),1e}(),Lnfunction e(t){var nnew Promise(t);t(3,function(){}),this.thenn.then,this.constructore};Ln.prototypePromise.prototype,Ln.allPromise.all;var Fns(function(){return!!Ln.all(1,2)});if(Nn&&_n&&Pn&&!In&&Mn&&!Fn||(PromiseEn,Z(O,Promise,En)),1!Promise.all.length){var DnPromise.all;Z(Promise,all,function(){return ne.Call(Dn,this,arguments)})}if(1!Promise.race.length){var qnPromise.race;Z(Promise,race,function(){return ne.Call(qn,this,arguments)})}if(1!Promise.resolve.length){var RnPromise.resolve;Z(Promise,resolve,function(){return ne.Call(Rn,this,arguments)})}if(1!Promise.reject.length){var HnPromise.reject;Z(Promise,reject,function(){return ne.Call(Hn,this,arguments)})}xt(Promise,all),xt(Promise,race),xt(Promise,resolve),xt(Promise,reject),we(Promise)}var $nfunction(e){var ti(d(e,function(e,t){return et!0,e},{}));return e.join(:)t.join(:)},Bn$n(z,a,bb),Vn$n(z,1,a,3,2);if(l){var Wnfunction(e){return Bn?undefinedtypeof e||nulle?^+ne.ToString(e):stringtypeof e?$+e:numbertypeof e?Vn?e:n+e:booleantypeof e?b+e:null:null},znfunction(){return Object.create?Object.create(null):{}},Unfunction(e,t,i){if(r(i)||Y.string(i))p(i,function(e){if(!ne.TypeIsObject(e))throw new TypeError(Iterator value +e+ is not an entry object);t.set(e0,e1)});else if(i instanceof e)n(e.prototype.forEach,i,function(e,n){t.set(n,e)});else{var o,a;if(null!i&&undefined!typeof i){if(at.set,!ne.IsCallable(a))throw new TypeError(bad map);one.GetIterator(i)}if(undefined!typeof o)for(;;){var sne.IteratorStep(o);if(s!1)break;var us.value;try{if(!ne.TypeIsObject(u))throw new TypeError(Iterator value +u+ is not an entry object);n(a,t,u0,u1)}catch(e){throw ne.IteratorClose(o,!0),e}}}},Gnfunction(e,t,i){if(r(i)||Y.string(i))p(i,function(e){t.add(e)});else if(i instanceof e)n(e.prototype.forEach,i,function(e){t.add(e)});else{var o,a;if(null!i&&undefined!typeof i){if(at.add,!ne.IsCallable(a))throw new TypeError(bad set);one.GetIterator(i)}if(undefined!typeof o)for(;;){var sne.IteratorStep(o);if(s!1)break;var us.value;try{n(a,t,u)}catch(e){throw ne.IteratorClose(o,!0),e}}}},Xn{Map:function(){var e{},tfunction(e,t){this.keye,this.valuet,this.nextnull,this.prevnull};t.prototype.isRemovedfunction(){return this.keye};var rfunction(e){return!!e._es6map},ifunction(e,t){if(!ne.TypeIsObject(e)||!r(e))throw new TypeError(Method Map.prototype.+t+ called on incompatible receiver +ne.ToString(e))},ofunction(e,t){i(e,MapIterator),this.heade._head,this.ithis.head,this.kindt};o.prototype{next:function(){var ethis.i,tthis.kind,nthis.head;if(undefinedtypeof this.i)return Be();for(;e.isRemoved()&&e!n;)ee.prev;for(var r;e.next!n;)if(ee.next,!e.isRemoved())return rkeyt?e.key:valuet?e.value:e.key,e.value,this.ie,Be(r);return this.ivoid 0,Be()}},xe(o.prototype);var a,sfunction e(){if(!(this instanceof e))throw new TypeError(Constructor Map requires new);if(this&&this._es6map)throw new TypeError(Bad construction);var nOe(this,e,a,{_es6map:!0,_head:null,_storage:zn(),_size:0}),rnew t(null,null);return r.nextr.prevr,n._headr,arguments.length>0&&Un(e,n,arguments0),n};return as.prototype,w.getter(a,size,function(){if(undefinedtypeof this._size)throw new TypeError(size method called on incompatible Map);return this._size}),y(a,{get:function(e){i(this,get);var tWn(e);if(null!t){var nthis._storaget;return n?n.value:void 0}for(var rthis._head,or;(oo.next)!r;)if(ne.SameValueZero(o.key,e))return o.value},has:function(e){i(this,has);var tWn(e);if(null!t)returnundefined!typeof this._storaget;for(var nthis._head,rn;(rr.next)!n;)if(ne.SameValueZero(r.key,e))return!0;return!1},set:function(e,n){i(this,set);var r,othis._head,ao,sWn(e);if(null!s){if(undefined!typeof this._storages)return this._storages.valuen,this;rthis._storagesnew t(e,n),ao.prev}for(;(aa.next)!o;)if(ne.SameValueZero(a.key,e))return a.valuen,this;return rr||new t(e,n),ne.SameValue(-0,e)&&(r.key0),r.nextthis._head,r.prevthis._head.prev,r.prev.nextr,r.next.prevr,this._size+1,this},delete:function(t){i(this,delete);var nthis._head,rn,oWn(t);if(null!o){if(undefinedtypeof this._storageo)return!1;rthis._storageo.prev,delete this._storageo}for(;(rr.next)!n;)if(ne.SameValueZero(r.key,t))return r.keyr.valuee,r.prev.nextr.next,r.next.prevr.prev,this._size-1,!0;return!1},clear:function(){i(this,clear),this._size0,this._storagezn();for(var tthis._head,nt,rn.next;(nr)!t;)n.keyn.valuee,rn.next,n.nextn.prevt;t.nextt.prevt},keys:function(){return i(this,keys),new o(this,key)},values:function(){return i(this,values),new o(this,value)},entries:function(){return i(this,entries),new o(this,key+value)},forEach:function(e){i(this,forEach);for(var targuments.length>1?arguments1:null,rthis.entries(),or.next();!o.done;or.next())t?n(e,t,o.value1,o.value0,this):e(o.value1,o.value0,this)}}),xe(a,a.entries),s}(),Set:function(){var e,tfunction(e){return e._es6set&&undefined!typeof e._storage},rfunction(e,n){if(!ne.TypeIsObject(e)||!t(e))throw new TypeError(Set.prototype.+n+ called on incompatible receiver +ne.ToString(e))},ofunction t(){if(!(this instanceof t))throw new TypeError(Constructor Set requires new);if(this&&this._es6set)throw new TypeError(Bad construction);var nOe(this,t,e,{_es6set:!0,SetData:null,_storage:zn()});if(!n._es6set)throw new TypeError(bad set);return arguments.length>0&&Gn(t,n,arguments0),n};eo.prototype;var afunction(e){var te;if(^nullt)return null;if(^undefinedt)return void 0;var nt.charAt(0);return$n?E(t,1):nn?+E(t,1):bn?btruet:+t},sfunction(e){if(!eSetData){var teSetDatanew Xn.Map;p(i(e._storage),function(e){var na(e);t.set(n,n)}),eSetDatat}e._storagenull};return w.getter(o.prototype,size,function(){return r(this,size),this._storage?i(this._storage).length:(s(this),thisSetData.size)}),y(o.prototype,{has:function(e){r(this,has);var t;return this._storage&&null!(tWn(e))?!!this._storaget:(s(this),thisSetData.has(e))},add:function(e){r(this,add);var t;return this._storage&&null!(tWn(e))?(this._storaget!0,this):(s(this),thisSetData.set(e,e),this)},delete:function(e){r(this,delete);var t;if(this._storage&&null!(tWn(e))){var nH(this._storage,t);return delete this._storaget&&n}return s(this),thisSetData.delete(e)},clear:function(){r(this,clear),this._storage&&(this._storagezn()),thisSetData&&thisSetData.clear()},values:function(){return r(this,values),s(this),thisSetData.values()},entries:function(){return r(this,entries),s(this),thisSetData.entries()},forEach:function(e){r(this,forEach);var targuments.length>1?arguments1:null,ithis;s(i),thisSetData.forEach(function(r,o){t?n(e,t,o,o,i):e(o,o,i)})}}),g(o.prototype,keys,o.prototype.values,!0),xe(o.prototype,o.prototype.values),o}()};if(O.Map||O.Set){var Jns(function(){return 2new Map(1,2).get(1)});if(!Jn){var YnO.Map;O.Mapfunction e(){if(!(this instanceof e))throw new TypeError(Constructor Map requires new);var tnew Yn;return arguments.length>0&&Un(e,t,arguments0),delete t.constructor,Object.setPrototypeOf(t,O.Map.prototype),t},O.Map.prototypex(Yn.prototype),g(O.Map.prototype,constructor,O.Map,!0),w.preserveToString(O.Map,Yn)}var Znnew Map,Qnfunction(){var enew Map(1,0,2,0,3,0,4,0);return e.set(-0,e),e.get(0)e&&e.get(-0)e&&e.has(0)&&e.has(-0)}(),KnZn.set(1,2)Zn;if(!Qn||!Kn){var erMap.prototype.set;Z(Map.prototype,set,function(e,t){return n(er,this,0e?0:e,t),this})}if(!Qn){var trMap.prototype.get,nrMap.prototype.has;y(Map.prototype,{get:function(e){return n(tr,this,0e?0:e)},has:function(e){return n(nr,this,0e?0:e)}},!0),w.preserveToString(Map.prototype.get,tr),w.preserveToString(Map.prototype.has,nr)}var rrnew Set,irfunction(e){return e.delete(0),e.add(-0),!e.has(0)}(rr),orrr.add(1)rr;if(!ir||!or){var arSet.prototype.add;Set.prototype.addfunction(e){return n(ar,this,0e?0:e),this},w.preserveToString(Set.prototype.add,ar)}if(!ir){var srSet.prototype.has;Set.prototype.hasfunction(e){return n(sr,this,0e?0:e)},w.preserveToString(Set.prototype.has,sr);var urSet.prototype.delete;Set.prototype.deletefunction(e){return n(ur,this,0e?0:e)},w.preserveToString(Set.prototype.delete,ur)}var crT(O.Map,function(e){var tnew e();return t.set(42,42),t instanceof e}),lrObject.setPrototypeOf&&!cr,frfunction(){try{return!(O.Map()instanceof O.Map)}catch(e){return e instanceof TypeError}}();if(0!O.Map.length||lr||!fr){var prO.Map;O.Mapfunction e(){if(!(this instanceof e))throw new TypeError(Constructor Map requires new);var tnew pr;return arguments.length>0&&Un(e,t,arguments0),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},O.Map.prototypepr.prototype,g(O.Map.prototype,constructor,O.Map,!0),w.preserveToString(O.Map,pr)}var drT(O.Set,function(e){var tnew e();return t.add(42,42),t instanceof e}),hrObject.setPrototypeOf&&!dr,mrfunction(){try{return!(O.Set()instanceof O.Set)}catch(e){return e instanceof TypeError}}();if(0!O.Set.length||hr||!mr){var grO.Set;O.Setfunction e(){if(!(this instanceof e))throw new TypeError(Constructor Set requires new);var tnew gr;return arguments.length>0&&Gn(e,t,arguments0),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},O.Set.prototypegr.prototype,g(O.Set.prototype,constructor,O.Set,!0),w.preserveToString(O.Set,gr)}var yrnew O.Map,vr!s(function(){return yr.keys().next().done});if((function!typeof O.Map.prototype.clear||0!(new O.Set).size||0!yr.size||function!typeof O.Map.prototype.keys||function!typeof O.Set.prototype.keys||function!typeof O.Map.prototype.forEach||function!typeof O.Set.prototype.forEach||u(O.Map)||u(O.Set)||function!typeof yr.keys().next||vr||!cr)&&y(O,{Map:Xn.Map,Set:Xn.Set},!0),O.Set.prototype.keys!O.Set.prototype.values&&g(O.Set.prototype,keys,O.Set.prototype.values,!0),xe(Object.getPrototypeOf((new O.Map).keys())),xe(Object.getPrototypeOf((new O.Set).keys())),f&&has!O.Set.prototype.has.name){var brO.Set.prototype.has;Z(O.Set.prototype,has,function(e){return n(br,this,e)})}}y(O,Xn),we(O.Map),we(O.Set)}var wrfunction(e){if(!ne.TypeIsObject(e))throw new TypeError(target must be an object)},xr{apply:function(){return ne.Call(ne.Call,null,arguments)},construct:function(e,t){if(!ne.IsConstructor(e))throw new TypeError(First argument must be a constructor.);var narguments.length>2?arguments2:e;if(!ne.IsConstructor(n))throw new TypeError(new.target must be a constructor.);return ne.Construct(e,t,n,internal)},deleteProperty:function(e,t){if(wr(e),l){var nObject.getOwnPropertyDescriptor(e,t);if(n&&!n.configurable)return!1}return delete et},has:function(e,t){return wr(e),t in e}};Object.getOwnPropertyNames&&Object.assign(xr,{ownKeys:function(e){wr(e);var tObject.getOwnPropertyNames(e);return ne.IsCallable(Object.getOwnPropertySymbols)&&_(t,Object.getOwnPropertySymbols(e)),t}});var Trfunction(e){return!a(e)};if(Object.preventExtensions&&Object.assign(xr,{isExtensible:function(e){return wr(e),Object.isExtensible(e)},preventExtensions:function(e){return wr(e),Tr(function(){Object.preventExtensions(e)})}}),l){var Srfunction(e,t,n){var rObject.getOwnPropertyDescriptor(e,t);if(!r){var iObject.getPrototypeOf(e);return nulli?void 0:Sr(i,t,n)}returnvaluein r?r.value:r.get?ne.Call(r.get,n):void 0},Orfunction(e,t,r,i){var oObject.getOwnPropertyDescriptor(e,t);if(!o){var aObject.getPrototypeOf(e);if(null!a)return Or(a,t,r,i);o{value:void 0,writable:!0,enumerable:!0,configurable:!0}}if(valuein o){if(!o.writable)return!1;if(!ne.TypeIsObject(i))return!1;var sObject.getOwnPropertyDescriptor(i,t);return s?ee.defineProperty(i,t,{value:r}):ee.defineProperty(i,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}return o.set?(n(o.set,i,r),!0):!1};Object.assign(xr,{defineProperty:function(e,t,n){return wr(e),Tr(function(){Object.defineProperty(e,t,n)})},getOwnPropertyDescriptor:function(e,t){return wr(e),Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){wr(e);var narguments.length>2?arguments2:e;return Sr(e,t,n)},set:function(e,t,n){wr(e);var rarguments.length>3?arguments3:e;return Or(e,t,n,r)}})}if(Object.getPrototypeOf){var jrObject.getPrototypeOf;xr.getPrototypeOffunction(e){return wr(e),jr(e)}}if(Object.setPrototypeOf&&xr.getPrototypeOf){var krfunction(e,t){for(var nt;n;){if(en)return!0;nxr.getPrototypeOf(n)}return!1};Object.assign(xr,{setPrototypeOf:function(e,t){if(wr(e),null!t&&!ne.TypeIsObject(t))throw new TypeError(proto must be an object or null);return tee.getPrototypeOf(e)?!0:ee.isExtensible&&!ee.isExtensible(e)?!1:kr(e,t)?!1:(Object.setPrototypeOf(e,t),!0)}})}var Crfunction(e,t){if(ne.IsCallable(O.Reflecte)){var ns(function(){return O.Reflecte(1),O.Reflecte(0/0),O.Reflecte(!0),!0});n&&Z(O.Reflect,e,t)}else g(O.Reflect,e,t)};Object.keys(xr).forEach(function(e){Cr(e,xre)});var ArO.Reflect.getPrototypeOf;if(f&&Ar&&getPrototypeOf!Ar.name&&Z(O.Reflect,getPrototypeOf,function(e){return n(Ar,O.Reflect,e)}),O.Reflect.setPrototypeOf&&s(function(){return O.Reflect.setPrototypeOf(1,{}),!0})&&Z(O.Reflect,setPrototypeOf,xr.setPrototypeOf),O.Reflect.defineProperty&&(s(function(){var e!O.Reflect.defineProperty(1,test,{value:1}),tfunction!typeof Object.preventExtensions||!O.Reflect.defineProperty(Object.preventExtensions({}),test,{});return e&&t})||Z(O.Reflect,defineProperty,xr.defineProperty)),O.Reflect.construct&&(s(function(){var efunction(){};return O.Reflect.construct(function(){},,e)instanceof e})||Z(O.Reflect,construct,xr.construct)),Invalid Date!String(new Date(0/0))){var ErDate.prototype.toString,Nrfunction(){var e+this;return e!e?Invalid Date:ne.Call(Er,this)};Z(Date.prototype,toString,Nr)}var _r{anchor:function(e){return ne.CreateHTML(this,a,name,e)},big:function(){return ne.CreateHTML(this,big,,)},blink:function(){return ne.CreateHTML(this,blink,,)},bold:function(){return ne.CreateHTML(this,b,,)},fixed:function(){return ne.CreateHTML(this,tt,,)},fontcolor:function(e){return ne.CreateHTML(this,font,color,e)},fontsize:function(e){return ne.CreateHTML(this,font,size,e)},italics:function(){return ne.CreateHTML(this,i,,)},link:function(e){return ne.CreateHTML(this,a,href,e)},small:function(){return ne.CreateHTML(this,small,,)},strike:function(){return ne.CreateHTML(this,strike,,)},sub:function(){return ne.CreateHTML(this,sub,,)},sup:function(){return ne.CreateHTML(this,sup,,)}};p(Object.keys(_r),function(e){var tString.prototypee,r!1;if(ne.IsCallable(t)){var in(t,, ),oA(,i.match(//g)).length;ri!i.toLowerCase()||o>2}else r!0;r&&Z(String.prototype,e,_re)});var Prfunction(){if(!Q)return!1;var eobject(undefinedtypeof JSON?undefined:_typeof(JSON))&&functiontypeof JSON.stringify?JSON.stringify:null;if(!e)return!1;if(undefined!typeof e(B()))return!0;if(null!e(B()))return!0;var t{a:B()};return tB()!0,{}!e(t)?!0:!1}(),Irs(function(){return Q?{}JSON.stringify(Object(B()))&&{}JSON.stringify(Object(B())):!0});if(Pr||!Ir){var MrJSON.stringify;Z(JSON,stringify,function(e){if(symbol!(undefinedtypeof e?undefined:_typeof(e))){var t;arguments.length>1&&(targuments1);var ie;if(r(t))i.push(t);else{var one.IsCallable(t)?t:null,afunction(e,t){var ro?n(o,this,e,t):t;returnsymbol!(undefinedtypeof r?undefined:_typeof(r))?Y.symbol(r)?St({})(r):r:void 0};i.push(a)}return arguments.length>2&&i.push(arguments2),Mr.apply(this,i)}})}return O}),define(jqueryplugins,jquery,function(e){e.prototype.extend({popAttr:function(e){var tthis.attr(e);return this.removeAttr(e),t},popData:function(e){var tthis.data(e);return this.removeData(e),t},tag:function(){return this0&&this0.tagName&&this0.tagName.toLowerCase()},textNodes:function(){return 1this.length&&this0instanceof Text?this0:Array.from(this.add(this.contents().add(this.find(*).contents())).filter(function(){return this instanceof Text})).sort(function(e,t){return 2&e.compareDocumentPosition(t)?1:-1})},findAndFilter:function(e){return this.filter(e).add(this.find(e))}})}),function(){function e(){for(var e0;earguments.length;e++)for(var t in argumentse)thistargumentset}function t(e,t){e.childAte.childAt||{};for(var nt.start;nt.end;n+1)e.childAtnt}function n(e,t,n,r){return!(e.canFollow&&!(e.canFollow.indexOf(n&&n.type)>-1)||e.cannotFollow&&(-1!e.cannotFollow.indexOf(n&&n.type)||e.cannotFollow.indexOf(text)>-1&&r)||e.peek&&e.peek.toLowerCase()!t.slice(0,e.peek.length).toLowerCase())}function r(e){for(var te.innerText,r,o0,so,ut.length,cnull;u>o;){for(var lt.slice(o),f(r.length?r0:e).innerMode,p0,df.length;d>p;p+1){var hafp;if(n(h,l,c,o>s)&&h.pattern.test(l)){var mh.pattern.exec(l),gh.fn(m),y!1,v0;if(g.matches){for(;vr.length;v+1){var brv.type;if(b in g.matches){y!0;break}0b.indexOf(verbatim)&&(bverbatimOpener),g.cannotCross&&g.cannotCross.indexOf(b)>-1&&(vr.length-1)}if(v>r.length&&!g.isFront)continue}o>s&&e.addChild({type:text,text:t.slice(s,o),innerMode:f}),ce.addChild(g),o+c.text.length,so,y&&(i(e,c,rv),rr.slice(v+1)),c.isFrontToken()&&r.unshift(c);break}}pd&&(o+1,nullc&&(c{type:text}))}for(o>s&&e.addChild({type:text,text:t.slice(s,o),innerMode:(r.length?r0:e).innerMode});r.length>0;)r.shift().demote();return e}function i(e,n,r){var ie.children.indexOf(n),oe.children.indexOf(r);n.childrene.children.splice(o+1,i-(o+1)),n.children.forEach(function(e){t(n,e)}),n.typen.matchesr.type,n.innerText;for(var a0,sn.children.length;s>a;a++)n.innerText+n.childrena.text;n.startr.start,n.textr.text+n.innerText+n.text,Object.keys(r).forEach(function(e){Object.hasOwnProperty.call(n,e)||(nere)}),n.isFront&&(n.isFront!1),e.children.splice(o,1),t(e,n)}var ovoid 0,a{};e.prototype{constructor:e,addChild:function(n){var ithis.lastChildEnd(),onew e({start:i,end:n.text&&i+n.text.length,children:},n);return o.innerText&&r(o),this.children.push(o),t(this,o),o},lastChild:function(){return this.children?this.childrenthis.children.length-1||null:null},lastChildEnd:function(){var ethis.lastChild();return e?e.end:this.start+Math.max(0,this.text.indexOf(this.innerText))},tokenAt:function(e){if(ethis.start||e>this.end)return null;if(this.childAt)return this.childAte&&this.childAte.tokenAt(e)||this;if(this.children.length)for(var t0;tthis.children.length;t+1){var nthis.childrent.tokenAt(e);if(n)return n}return this},pathAt:function(e){if(ethis.start||e>this.end)return;if(this.childAt)return(this.childAte&&this.childAte.pathAt(e)||).concat(this);var t;if(this.children.length)for(var n0;nthis.children.length;n+1){var rthis.childrenn.pathAt(e);if(r.length){t.concat(r);break}}return t.concat(this)},nearestTokenAt:function(e){return ethis.start||e>this.end?null:this.children?this.children.reduce(function(t,n){return t||(e>n.start&&en.end?n:null)},null):this},everyLeaf:function(e){return this.children&&0!this.children.length?this.children.reduce(function(t,n){return n.everyLeaf(e)&&t},!0):!!e(this)},isWhitespace:function(){return this.everyLeaf(function(e){returnwhitespacee.type||!e.text.trim()})},isFrontToken:function(){return this.isFront},isBackToken:function(){returnmatchesin this},demote:function(){this.typetext},error:function(e){this.typeerror,this.messagee},toString:function(){var ethis.type+(+this.start+\u2192+this.end+);return this.children&&this.children.length>0&&(e++this.children+),e}},o{lex:function(t,n){return r(new e({type:root,start:n||0,end:t.length,text:t,innerText:t,children:,childAt:{},innerMode:o.modes.start}))},rules:a,modes:{}},object(undefinedtypeof module?undefined:_typeof(module))?module.exportso:functiontypeof define&&define.amd?define(lexer,,function(){return o}):this&&this.loaded?(this.modules||(this.modules{}),this.modules.Lexero):this.TwineLexero}.call(eval(this)||(undefined!typeof global?global:window)),function(){function e(t){return t&&object(undefinedtypeof t?undefined:_typeof(t))?(Object.keys(t).forEach(function(n){tne(tn)}),t):(t+).replace(/\-\\\/\{\}\(\)\*\+\?\.\\\^\$\|/g,\\$&)}function t(){return^+Array.apply(0,arguments).map(e).join()+*}function n(e){return function(){return(+e+Array.apply(0,arguments).join(|)+)}}var rvoid 0,in(?:),on(?!),an(?),s \\f\\t\\v\\u00a0\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000*,us.replace(*,+),c\\b,l\\\\\\n\\\\?|\\n\\\\,f\\n(?!\\\\),p\\w\\-\\u00c0-\\u00de\\u00df-\\u00ff\\u0150\\u0170\\u0151\\u0171\\uD800-\\uDFFF,dp.replace(\\-,),hi(\\n,$),m(+i(l,^\\n)++),g\\*,ys+(+g++)+u+m+h,v(?:0\\.),bs+(+v++)+u+m+h,ws+-{3,}+s+h,xs+(#{1,6})+s+m+h,Ts+(+>|+|+>+|+>)+s+h,Ss+(+\\|+|\\|++|+\\|++|\\|+\\|)+s+h,O{opener:\\\\(?!\\),text:(+t()+),rightSeparator:i(\\->,\\|),leftSeparator:\\-,closer:\\\\,legacySeparator:\\|,legacyText:(+i(^\\|\\,\\+o(\\))++)},jd+*+d.replace(\\w,a-zA-Z)+d+*,k\\$(+j+),Cs+u+(+j+),A(+j+)+u+of+c+o(it+c),Es+u,Nof+c,_i(it,time)+c,Pits+u+(+j+),Iits+u,M(+j+)+u+of+u+it+c,Lof+c+u+it+c,F{opener:\\(,name:(+i(p++,k)+):+o(\\/),closer:\\)},D^>\\s+\\s*(?:\\\\.|(?:^\\\\*\\\\.)*^\\\\*|\(?:^\\\\\*\\\\.)*^\\\\\*\|^\\\\\>|>(?!>))*>>,qi(,>,glte?+c,n?eq+c,isnot+c,are+c,x+c),R{name:a-zA-Z\\w\\-*,attrs:(?:\^\*\|^*|^\>)*?},H\\|(+p++)(>|\\)),$(|\\()(+p++)\\|,B_(+j+)+c,V\\b(\\d+(?:\\.\\d+)?(?:eE+\\-?\\d+)?)+o(m?s)+c;O.mainO.opener+i(O.text+O.rightSeparator,O.text.replace(*,*?)+O.leftSeparator)+O.text,r{upperLetter:A-Z\\u00c0-\\u00de\\u0150\\u0170,lowerLetter:a-z0-9_\\-\\u00df-\\u00ff\\u0151\\u0171,anyLetter:p,anyLetterStrict:d,whitespace:u,escapedLine:l,br:f,commentFront:!--,commentBack:-->,tag:\\/?+R.name+R.attrs+>,tagPeek:,scriptStyleTag:(+i(script,style)+)+R.attrs+>^*?\\/\\1>,scriptStyleTagOpener:,url:(+i(https?,mailto,javascript,ftp,data)+:\\/\\/^\\s+^.,:;\)\\\\s),bullet:g,hr:w,heading:x,align:T,column:S,bulleted:y,numbered:b,strikeOpener:e(~~),italicOpener:e(//),boldOpener:e(),supOpener:e(^^),strongFront:e(**),strongBack:e(**),emFront:e(*),emBack:e(*),verbatimOpener:`+,collapsedFront:{,collapsedBack:},hookAppendedFront:\\,hookPrependedFront:H+\\,hookFront:\\,hookBack:\\+o($),hookAppendedBack:\\+$,passageLink:O.main+O.closer,passageLinkPeek:,legacyLink:O.opener+O.legacyText+O.legacySeparator+O.legacyText+O.closer,legacyLinkPeek:,simpleLink:O.opener+O.legacyText+O.closer,simpleLinkPeek:,macroFront:F.opener+a(F.name),macroFrontPeek:(,macroName:F.name,groupingFront:\\(+o(F.name),groupingFrontPeek:(,groupingBack:\\),twine1Macro:D,twine1MacroPeek:,property:C,propertyPeek:s,belongingProperty:A,possessiveOperator:E,belongingOperator:N,belongingOperatorPeek:of,itsOperator:I,itsOperatorPeek:its,belongingItOperator:L,belongingItOperatorPeek:of,variable:k,variablePeek:$,tempVariable:B,tempVariablePeek:_,hookRef:\\?(+p++)\\b,hookRefPeek:?,cssTime:(\\d+\\.?\\d*|\\d*\\.?\\d+)(m?s)+c,colour:i(i(Red,Orange,Yellow,Lime,Green,Cyan,Aqua,Blue,Navy,Purple,Fuchsia,Magenta,White,Gray,Grey,Black),#\\dA-Fa-f{3}(?:\\dA-Fa-f{3})?),number:V,boolean:i(true,false)+c,identifier:_,itsProperty:P,itsPropertyPeek:its,belongingItProperty:M,escapedStringChar:\\\\^\\n,singleStringOpener:,doubleStringOpener:,is:is+o(u+not,u+in,u+,u+>)+c,isNot:is+u+not+c,and:and+c,or:or+c,not:not+c,inequality:((?:is(?:+u+not)?+s+)*)(+i((?!),,>(?!),>)+),isIn:is+u+in+c,contains:contains+c,addition:e(+)+o(),subtraction:e(-)+o(),multiplication:e(*)+o(),division:i(/,%)+o(),comma:,,spread:\\.\\.\\.+o(\\.),to:i(to+c,),into:into+c,making:making+c,where:where+c,via:via+c,with:with+c,each:each+c,augmentedAssign:i(\\+,\\-,\\*,\\/,%)+,incorrectOperator:q},object(undefinedtypeof module?undefined:_typeof(module))?module.exportsr:functiontypeof define&&define.amd?define(patterns,,function(){return r}):this&&this.loaded?(this.modules||(this.modules{}),this.modules.Patternsr):this.Patternsr}.call(eval(this)||(undefined!typeof global?global:window)),function(){function e(e){function t(e){return ee||innerText,function(t){var nt.reduceRight(function(e,t,n){return e||(n?t:)},),r{};return ren,r}}function r(e,t){var n{};return net,function(){return{isFront:!0,matches:n,cannotCross:verbatimOpener}}}function i(e,t){return Object.keys(t).forEach(function(n){var rtn.fn;tn.fnfunction(t){var ir(t);return i.text||(i.textt0),i.type||(i.typen),i.innerMode||(i.innerModee),i}}),t}var oObject.bind(0,null),a,s,ui(a,{hr:{fn:o},bulleted:{fn:function(e){return{depth:e1.length,innerText:e2}}},numbered:{fn:function(e){return{depth:e1.length/2,innerText:e2}}},heading:{fn:function(e){return{depth:e1.length,innerText:e2}}},align:{fn:function(e){var tvoid 0,ne1,rn.indexOf(>);return~r?(tMath.round(r/(n.length-2)*50),25t&&(tcenter)):n0&&>n.slice(-1)?tjustify:n.indexOf(>)>-1?tright:n.indexOf()>-1&&(tleft),{align:t}}},column:{fn:function(e){var tvoid 0,ne1,rn.indexOf(|);return r&&rn.length-1?tcenter:|n0&&|n.slice(-1)?tnone:rn.length-1?tright:r||(tleft),{column:t,width:/\|+/.exec(n)0.length,marginLeft:/^*/.exec(n)0.length,marginRight:/*$/.exec(n)0.length}}}});Object.keys(u).forEach(function(e){ue.canFollownull,br,hr,bulleted,numbered,heading,align,ue.cannotFollowtext});var ci(a,{twine1Macro:{fn:function(){return{type:error,message:Harlowe macros use a different syntax to Twine 1 and SugarCube macros.}}},emBack:{fn:function(){return{matches:{emFront:em},cannotCross:verbatimOpener}}},strongBack:{fn:function(){return{matches:{strongFront:strong},cannotCross:verbatimOpener}}},strongFront:{fn:function(){return{isFront:!0}}},emFront:{fn:function(){return{isFront:!0}}},boldOpener:{fn:r(boldOpener,bold)},italicOpener:{fn:r(italicOpener,italic)},strikeOpener:{fn:r(strikeOpener,strike)},supOpener:{fn:r(supOpener,sup)},commentFront:{fn:function(){return{isFront:!0}}},commentBack:{fn:function(){return{matches:{commentFront:comment}}}},scriptStyleTag:{fn:o},tag:{fn:o},url:{fn:o},hookPrependedFront:{fn:function(e){return{name:e1,hidden:)e2,isFront:!0,tagPosition:prepended}}},hookFront:{fn:function(){return{isFront:!0}}},hookBack:{fn:function(){return{matches:{hookPrependedFront:hook,hookFront:hook},cannotCross:verbatimOpener}}},hookAppendedBack:{fn:function(e){return{name:e2,hidden:(e1,tagPosition:appended,matches:{hookFront:hook},cannotCross:verbatimOpener}}},verbatimOpener:{fn:function(e){var te0.length,n{};return nverbatim+tverbatim,{type:verbatim+t,isFront:!0,matches:n}}},collapsedFront:{fn:function(){return{isFront:!0}}},collapsedBack:{fn:function(){return{matches:{collapsedFront:collapsed},cannotCross:verbatimOpener}}},escapedLine:{fn:o},legacyLink:{fn:function(e){return{type:twineLink,innerText:e1,passage:e2}}},br:{fn:o}}),li(s,{macroFront:{fn:function(e){return{isFront:!0,name:e1}}},groupingBack:{fn:function(){return{matches:{groupingFront:grouping,macroFront:macro},cannotCross:singleStringOpener,doubleStringOpener}}},passageLink:{fn:function(e){var te1,ne2,re3;return{type:twineLink,innerText:n?r:t,passage:t?r:n}}},simpleLink:{fn:function(e){return{type:twineLink,innerText:e1,passage:e1}}},variable:{fn:t(name)},tempVariable:{fn:t(name)}}),fi(s,Object.assign({macroName:{canFollow:macroFront,fn:function(e){return e2?{isMethodCall:!0,innerText:e2}:{isMethodCall:!1}}},groupingFront:{fn:function(){return{isFront:!0}}},property:{fn:t(name),canFollow:variable,hookRef,property,tempVariable,colour,itsProperty,belongingItProperty,macro,grouping,string,boolean,number},possessiveOperator:{fn:o},itsProperty:{cannotFollow:text,fn:t(name)},itsOperator:{cannotFollow:text,fn:o},belongingItProperty:{cannotFollow:text,fn:t(name)},belongingItOperator:{cannotFollow:text,fn:o},belongingProperty:{cannotFollow:text,fn:t(name)},belongingOperator:{cannotFollow:text,fn:o},escapedStringChar:{fn:function(){return{type:text}}},singleStringOpener:{fn:function(){return{isFront:!0,matches:{singleStringOpener:string}}}},doubleStringOpener:{fn:function(){return{isFront:!0,matches:{doubleStringOpener:string}}}},hookRef:{fn:t(name)},cssTime:{fn:function(e){return{value:+e1*(se2.toLowerCase()?1e3:1)}}},colour:{cannotFollow:text,fn:function(e){var t,ne0.toLowerCase(),r{red:e61919,orange:e68019,yellow:e5e619,lime:80e619,green:19e619,cyan:19e5e6,aqua:19e5e6,blue:197fe6,navy:1919e6,purple:7f19e6,fuchsia:e619e5,magenta:e619e5,white:fff,black:000,gray:888,grey:888};return tObject.hasOwnProperty.call(r,n)?#+rn:n,{colour:t}}},number:{fn:function(e){return{value:parseFloat(e0)}}},addition:{fn:o},subtraction:{fn:o},multiplication:{fn:o},division:{fn:o},inequality:{fn:function(e){return{operator:e2,negate:e1.indexOf(not)>-1}}},augmentedAssign:{fn:function(e){return{operator:e00}}},identifier:{fn:t(name),cannotFollow:text},whitespace:{fn:o,cannotFollow:text},incorrectOperator:{fn:function(e){var t{>:>,:,gte:>,lte:,gt:>,lt:,eq:is,isnot:is not,neq:is not,are:is,x:*}e0.toLowerCase();return{type:error,message:Please say +(t?+t+:something else)+ instead of +e0+.}},cannotFollow:text}},boolean,is,to,into,where,via,with,making,each,and,or,not,isNot,contains,isIn.reduce(function(e,t){return et{fn:o,cannotFollow:text},e},{}),comma,spread,addition,subtraction,multiplication,division.reduce(function(e,t){return et{fn:o},e},{})));a.push.apply(a,_toConsumableArray(Object.keys(u)).concat(_toConsumableArray(Object.keys(l)),_toConsumableArray(Object.keys(c)))),s.push.apply(s,_toConsumableArray(Object.keys(l)).concat(_toConsumableArray(Object.keys(f))));var pObject.assign({},u,c,l,f);return Object.keys(p).forEach(function(e){var tne;pe.patternstring!typeof t?t:new RegExp(^(?:+t+),i),ne+Peek&&(pe.peekne+Peek)}),Object.assign(e.rules,p),e.modes.starte.modes.markupa,e.modes.macros,e}function t(t){return Object.freeze({lex:e(t).lex,Patterns:n})}var nvoid 0;Object.assignObject.assign||function(e){for(var t1;targuments.length;t++){var nargumentst;for(var r in n)Object.hasOwnProperty.call(n,r)&&(ernr)}return e},object(undefinedtypeof module?undefined:_typeof(module))?(nrequire(./patterns),module.exportst(require(./lexer))):functiontypeof define&&define.amd?define(markup,lexer,patterns,function(e,r){return nr,t(e)}):this&&this.loaded&&this.modules?(nthis.modules.Patterns,this.modules.Markupt(this.modules.Lexer)):(nthis.Patterns,this.TwineMarkupt(this.TwineLexer))}.call(eval(this)||(undefined!typeof global?global:window)),define(utils/selectors,,function(){return Object.freeze({passage:tw-passage,story:tw-story,sidebar:tw-sidebar,internalLink:tw-link,brokenLink:tw-broken-link,hook:tw-hook,enchantment:tw-enchantment,expression:tw-expression,script:rolescript,stylesheet:rolestylesheet,storyData:tw-storydata,passageData:tw-passagedata,collapsed:tw-collapsed})}),define(utils/polyfills,,function(){var eArray.prototype;function!typeof e.includes&&(e.includesfunction(t){var narguments.length>1&&void 0!arguments1?arguments1:0;if(!Number.isNaN(t)&&Number.isFinite(n)&&undefined!typeof t)return e.indexOf.call(this,t,n)>-1;var rObject(this),iparseInt(r.length);if(0>i)return!1;for(var on>0?n:Math.max(0,i+n);i>o;){if(Object.is(t,ro))return!0;o+1}return!1})}),define(utils,jquery,markup,utils/selectors,utils/polyfills,function(e,t,n){function r(t,n){var ron;if(!rt){var ie(p>).appendTo(document.body).attr(data-t8n,t).addClass(n);rtc.cssTimeUnit(i.css(animation-duration))+c.cssTimeUnit(i.css(animation-delay)),i.remove()}return rt}var i{configurable:0,writable:0},o{transition-in:Object.create(null),transition-out:Object.create(null)},aaudio,blockquote,canvas,div,h1,h2,h3,h4,h5,hr,ol,p,pre,table,ul,video,tw-align,tw-story,tw-passage.split(,),sa,b,i,em,strong,sup,sub,abbr,acronym,s,strike,del,big,small,script,img,button,input,tw-link,tw-broken-link,tw-verbatim,tw-collapsed,tw-error.split(,),uaudio,cvoid 0,lvoid 0;return c{lockProperty:function(e,t,n){var rObject.create(i);return n&&(r.valuen),Object.defineProperty(e,t,r),e},toJSLiteral:function(e){return e instanceof Map?(new Map(+c.toJSLiteral(.concat(_toConsumableArray(e.entries())))+)):e instanceof Set?(new Set(+c.toJSLiteral(.concat(_toConsumableArray(e.values())))+)):JSON.stringify(e)},cssTimeUnit:function(e){return ee.toLowerCase(),mse.slice(-2)?+e.slice(0,-2)||0:se.slice(-1)?1e3*+e.slice(0,-1)||0:0},nth:function(e){var t(+e+).slice(-1);return e+(1t?st:2t?nd:3t?rd:th)},plural:function(e,t){return e+ +t+(e>1?s:)},andList:function(e){return 1e.length?e0:e.slice(0,-1).join(, )+ and +ee.length-1},realWhitespace: \\n\\r\\f\\t\\v\\u00a0\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000,anyRealLetter:\\dA-Za-z\\u00c0-\\u00de\\u00df-\\u00ff\\u0150\\u0170\\u0151\\u0171\\uD800-\\uDFFF,unescape:function(e){return e.replace(/&(?:amp|lt|gt|quot|nbsp|zwnj|#39|#96);/g,function(e){return{&:&,>:>,<:,":,':, :String.fromCharCode(160),:String.fromCharCode(8204)}e})},escape:function(e){return e.replace(/&>/g,function(e){return{&:&,>:>,:<,:",:'}e})},insensitiveName:function(e){return(e+).toLowerCase().replace(/-|_/g,)},childrenProbablyInline:function(e){var t;return Array.prototype.every.call(e.find(*),function(e){return e.hidden||/none|inline/.test(e.style.display)?!0:a.includes(e.tagName.toLowerCase())||/none|inline/.test(e.style.display)?!1:s.includes(e.tagName.toLowerCase())?!0:(t.push(e),!0)})&&t.every(function(e){return/none|inline/.test(e.style.display)})},transitionReplace:function(t,r,i){var ot.closest(n.hook);o.length>0&&(to);var ae(tw-transition-container>).css(position,relative);a.insertBefore(t.first());var svoid 0;r&&(se(tw-transition-container>).appendTo(a),r.appendTo(s));var ue(tw-transition-container>).css(position,absolute).prependTo(a);t.detach().appendTo(u),c.transitionOut(u,i),r&&c.transitionIn(s,i,function(){s.unwrap().children().first().unwrap()})},transitionOut:function(e,t,n){function i(){e.remove()}var oc.childrenProbablyInline(e),ae.length>1||!o||!tw-hook,tw-passage.includes(e.tag());a&&(ee.wrapAll(tw-transition-container>).parent()),e.attr(data-t8n,t).addClass(transition-out),c.childrenProbablyInline(e)&&e.css(display,inline-block),numbertypeof n&&e.css(animation-duration,n+ms);var sn||r(t,transition-out);s?window.setTimeout(i,s):i()},transitionIn:function(e,t,n){function i(){var t0e.findAndFilter(u.join(,)).length;a&&t?e.contents().unwrap():e.removeClass(transition-in).removeAttr(data-t8n)}var oc.childrenProbablyInline(e),ae.length>1||!o||!tw-hook,tw-passage.includes(e.tag());a&&(ee.wrapAll(tw-transition-container>).parent()),e.attr(data-t8n,t).addClass(transition-in),numbertypeof n&&e.css(animation-duration,n+ms),c.childrenProbablyInline(e)&&e.css(display,inline-block);var sn||r(t,transition-in);s?window.setTimeout(i,s):i()},$:function(t,n){return e(t,n||c.storyElement).not(.transition-out, .transition-out *)},impossible:function(e,t){window.console&&console.error(e+(): +t)},assertMustHave:function(e,t){if(window.console)for(var n0;nt.length;n+1)tnin e||console.error(Assertion failed: object lacks property +tn)},assertOnlyHas:function(e,t){if(window.console)for(var n in e)t.includes(n)||console.error(Assertion failed: object had unexpected property +n+!)},get storyElement(){return l}},e(function(){return le(n.story)}),Object.freeze(c)}),define(passages,jquery,utils,utils/selectors,function(e,t,n){function r(e){return Object.assign(new Map(source,i(e.html()),tags,(e.attr(tags)||).split(/\s/)||,name,e.attr(name)),{TwineScript_TypeName:passage datamap,TwineScript_ObjectName:a passage datamap})}var it.unescape,oObject.assign(new Map,{TwineScript_ObjectName:the Passages datamap,getTagged:function(e){var t;return this.forEach(function(n){var rn instanceof Map&&n.get(tags);Array.isArray(r)&&r.includes(e)&&t.push(n)}),t.sort(function(e,t){return e.get(name)>t.get(name)})},create:r});return e(function(){Array.from(e(n.storyData+ > +n.passageData)).forEach(function(t){te(t),o.set(t.attr(name),new r(t))})}),o}),define(datatypes/hookset,jquery,utils,utils/selectors,markup,function(e,t,n,r){function i(e,t,n){var re.textContent.length;if(!(t>r)){var ivoid 0,oi0t?e:e.splitText(t);return n&&(0>n&&(nr-n),r>n&&o.push(i.splitText(n-t))),o}}function o(e,t){var n,r,a;if(!e.length||!t)return a;for(;e.length>0;){n.push(e0),r+e0.textContent,e.shift();var sr.indexOf(t);if(s>-1){for(var u,cr.length-(s+t.length);s>n0.textContent.length;)s-n0.textContent.length,n.shift();if(1n.length){var li(n0,s,s+t.length);a.push(l0),l1&&e.unshift(l1);break}a.push(i(n0,s,n0.length)0),(ua).push.apply(u,_toConsumableArray(n.slice(1,-1)));var fi(nn.length-1,0,nn.length-1.textContent.length-c);a.push(f0),f1&&e.unshift(f1),aa.filter(Boolean);break}}returna.concat(_toConsumableArray(o(e,t)))}function a(t,n,r){var io(n.textNodes(),t),ae();return i.forEach(function(t){aa.add(e(t).wrapAll(r))}),a.parent()}function s(e){et.insensitiveName(e).replace(/\?/g,).replace(//g,");var rn.hook+name+e+;return r+{page:, tw-story,passage:, tw-passage,sidebar:, tw-sidebar,link:, tw-link, .enchantment-link}e||}function u(n){var rn.dom,ie();this.prev&&(ii.add(u.call(this.prev,{dom:r})));var ofunction(t,n){return Array.isArray(n)?n.reduce(function(e,n){return e.add(t.get(n))},e()):e(t.get(n))};if(this.selector){var cvoid 0;cthis.selector.match(^+f.hookRef+$)?r.add(r.parentsUntil(t.storyElement.parent())).findAndFilter(s(this.selector)):a(this.selector,r,tw-pseudo-hook>),ii.add(this.properties.length?this.properties.reduce(o,c):c)}return this.base&&(ii.add(this.properties.reduce(o,u.call(this.base,{dom:r})))),i}function c(e){var ne.dom;t.$(tw-pseudo-hook,n).contents().unwrap().parent().each(function(){this.normalize()})}function l(e){if(!e)return;var ne.selector,re.base,ie.properties,oe.prev;returnJSON.stringify(t.insensitiveName(n)||,l(r),.concat(_toConsumableArray(i)).sort()).concat(_toConsumableArray(l(o))).sort()}var fr.Patterns,pObject.freeze({forEach:function(t,n){var ru.call(this,t).each(function(t){n(e(this),t)});return c.call(this,t),r},get TwineScript_ObjectName(){return this.properties.length>0||this.prev?a complex hook name:this.selector+ (a hook name)},TwineScript_TypeName:a hook name (like ?this),TwineScript_Unstorable:!0,TwineScript_+:function(e){var te.TwineScript_Clone();return t.prevthis,t},TwineScript_is:function(e){return l(this)+l(e)+},TwineScript_GetElement:function(e){return p.create(void 0,this,e,void 0)},TwineScript_Clone:function(){return p.create(this.selector,this.base,this.properties,this.prev)},create:function(e,t){var narguments.length>2&&void 0!arguments2?arguments2:,rarguments.length>3&&void 0!arguments3?arguments3:void 0;return Object.assign(Object.create(this||p),{selector:e,base:t,properties:n,prev:r})},from:function(e){return p.isPrototypeOf(e)?e:p.create(e)}});return p}),define(internaltypes/twineerror,jquery,utils,function(e,t){var nt.impossible,rt.escape,i{syntax:The markup seems to contain a mistake.,saving:I tried to save or load the game, but I couldnt do it.,operation:I tried to perform an operation on some data, but the datas type was incorrect.,macrocall:I tried to use a macro, but its call wasnt written correctly.,datatype:I tried to use a macro, but was given the wrong type of data to it.,keyword:I was given a keyword in a way that I didnt understand.,infinite:I almost ended up doing the same thing over and over, forever.,property:I tried to access a value in a string/array/datamap, but I couldnt find it.,unimplemented:I currently dont have this particular feature. Im sorry.,javascript:This error message was reported by your browsers Javascript engine. I dont understand it either, but it usually means that an expression was badly written.},o{create:function(e,t,r){return t||n(TwineError.create,called with only 1 string.),r||e in i||n(TwineError.create,no error explanation given),Object.assign(Object.create(this),{type:e,message:t,explanation:r})},fromError:function(e){return o.create(javascript,\u2615 +e.message)},containsError:function(){for(var earguments.length,tArray(e),n0;e>n;n++)tnargumentsn;return t.reduce(function(e,t){return e?e:t instanceof Error?t:o.isPrototypeOf(t)?t:Array.isArray(t)?o.containsError.apply(o,_toConsumableArray(t)):!1},!1)},createWarning:function(e,t){return Object.assign(this.create(e,t),{warning:!0})},render:function(t){tt||;var ne(tw-error class+(javascriptthis.type?javascript :)+(this.warning?warning:error)+ title+r(t)+>+r(this.message)+/tw-error>),oe(tw-error-explanation>).text(this.explanation||ithis.type).hide(),ae(tw-error-explanation-button tabindex0>).html(span classfolddown-arrowhead>►/span>);return a.on(click,function(){o.toggle(),a.children(.folddown-arrowhead).css(transform,rotate(+(o.is(:visible)?90deg:0deg)+))}),n.append(a).append(o),n}};return o}),define(utils/operationutils,utils,datatypes/hookset,internaltypes/twineerror,function(e,t,n){function r(e){return!!e&&(object(undefinedtypeof e?undefined:_typeof(e))||functiontypeof e)}function i(e){return Array.isArray(e)?array:e instanceof Map?datamap:e instanceof Set?dataset:stringtypeof e?string:e&&object(undefinedtypeof e?undefined:_typeof(e))?object:}function o(e,t){if(e instanceof Map||g(isValidDatamapName,called with non-Map),string!typeof t&&number!typeof t)return n.create(property,Only strings and numbers can be used as data names for +l(e)+, not +l(t)+.);var rstringtypeof t?+t:+t;return!Number.isNaN(r)&&e.has(r)?n.create(property,You mustnt use both +l(t)+ and +l(r)+ as data names in the same datamap.):!0}function a(e,t){if(nullt)return void 0e;if(t.innerType){if(optionalt.pattern||zero or moret.pattern)return void 0e?!0:a(e,t.innerType);if(eithert.pattern)return t.innerType.some(function(t){return a(e,t)});if(lambdat.pattern&&a(e,t.innerType))returnstring!typeof t.clauses&&g(singleTypeCheck,lambda signature had non-string clauses),t.clauses.includes(where)wherein e&&t.clauses.includes(making)makingin e&&t.clauses.includes(via)viain e&&t.clauses.includes(with)within e;if(wrappedt.pattern)return a(e,t.innerType)}return void 0!t&&void 0e?!1:anything!t.TwineScript_TypeName||void 0e||e.TwineScript_Unstorable?tString?stringtypeof e:tBoolean?booleantypeof e:tparseInt?numbertypeof e&&!Number.isNaN(e)&&!(e+).includes(.):tNumber?numbertypeof e&&!Number.isNaN(e):tArray?Array.isArray(e):tMap||tSet?e instanceof t:Object.isPrototypeOf.call(t,e):!0}function s(e){returnstringtypeof e||Array.isArray(e)||t.isPrototypeOf(e)}function u(e){if(!r(e))return e;if(functiontypeof e.TwineScript_Clone)return e.TwineScript_Clone();if(Array.isArray(e))return.concat(_toConsumableArray(e));if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(functiontypeof e)return Object.assign(e.bind(),e);switch(Object.getPrototypeOf(e)){case Object.prototype:return Object.assign({},e);case null:return Object.assign(Object.create(null),e)}return g(OperationUtils.clone,The value +(e.toSource?e.toSource():e)+ cannot be cloned!),e}function c(e,t,n){returnstringtypeof t&&r(n)&&TwineScript_ToStringin n?e(t,n.TwineScript_ToString()):stringtypeof n&&r(t)&&TwineScript_ToStringin t?e(t.TwineScript_ToString(),n):!1}function l(e){return r(e)&&TwineScript_ObjectNamein e?e.TwineScript_ObjectName:Array.isArray(e)?an array:e instanceof Map?a datamap:e instanceof Set?a dataset:booleantypeof e?the boolean value +e+:stringtypeof e||numbertypeof e?the +(undefinedtypeof e?undefined:_typeof(e))+ +y(e):void 0e?an empty variable:...whatever this is}function f(e){return e.innerType?eithere.pattern?(Array.isArray(e.innerType)||g(typeName,either pattern had non-array inner type),e.innerType.map(f).join( or )):optionale.pattern?(an optional) +f(e.innerType):f(e.innerType):eString||eNumber||eBoolean?a +_typeof(e()):eparseInt?a non-fractional number:eMap?a datamap:eSet?a dataset:eArray?an array:r(e)&&TwineScript_TypeNamein e?e.TwineScript_TypeName:l(e)}function p(e,t){returnobject!(undefinedtypeof e?undefined:_typeof(e))&&object!(undefinedtypeof t?undefined:_typeof(t))?et:Array.isArray(e)&&Array.isArray(t)?e.length!t.length?!1:e.every(function(e,n){return p(tn,e)}):e instanceof Map&&t instanceof Map?p(Array.from(e.entries()).sort(),Array.from(t.entries()).sort()):e instanceof Set&&t instanceof Set?p(.concat(_toConsumableArray(e)),.concat(_toConsumableArray(t))):e&&functiontypeof e.TwineScript_is?e.TwineScript_is(t):e&&object(undefinedtypeof e?undefined:_typeof(e))&&t&&object(undefinedtypeof t?undefined:_typeof(t))&&Object.getPrototypeOf(e)Object.prototype&&Object.getPrototypeOf(t)Object.prototype?p(Object.getOwnPropertyNames(e).map(function(t){returnt,et}),Object.getOwnPropertyNames(t).map(function(e){returne,te})):Object.is(e,t)}function d(e,t){if(e){if(stringtypeof e)return e.includes(t);if(Array.isArray(e))return e.some(function(e){return p(e,t)});if(e instanceof Set||e instanceof Map)return Array.from(e.keys()).some(function(e){return p(e,t)})}return n.create(operation,l(e)+ cannot contain any values, let alone +l(t))}function h(e,t,r){if(!t||!r)return n.create(macrocall,The sub+i(e)+ index values must not be 0 or NaN.);if(0>t&&(te.length+t+1),0>r&&(re.length+r+1),t>r)return h(e,r,t);var ostringtypeof e;o&&(eArray.from(e));var ae.slice(t>0?t-1:t,r).map(u);return o?a.join():a}function m(e){return n.containsError(e)?e:e&&functiontypeof e.TwineScript_Print?e.TwineScript_Print():e instanceof Map?(eArray.from(e.entries()),n.containsError(e)?e:e.reduce(function(e,t){var n_slicedToArray(t,2),rn0,in1;return e+tr>td>`+m(r)+`/td>td>`+m(i)+`/td>/tr>},table classdatamap>)+/table>):e instanceof Set?Array.from(e.values()).map(m)+:Array.isArray(e)?e.map(m)+:r(e)?n.create(unimplemented,I dont know how to print this value yet.):e+}var ge.impossible,ye.toJSLiteral,vObject.freeze({isObject:r,singleTypeCheck:a,isValidDatamapName:o,collectionType:i,isSequential:s,clone:u,coerceToString:c,objectName:l,typeName:f,is:p,contains:d,subset:h,printBuiltinValue:m,numericIndex:/^(?:1-9\d*|0)$/,unique:function(e,t,n){return!n.slice(t+1).some(function(t){return p(e,t)})}});return v}),define(twinescript/compiler,utils,function(e){function t(e,t){for(var n0;ne.length;n+1)if(t.includes(en.type))return n;return 0/0}function n(e,n){return e.length-1-t.apply(void 0,.concat(_toConsumableArray(e)).reverse(),n)}function r(e,r){var i;return e.length?(error,comma,spread,to,into,{rightAssociative:where,via},{rightAssociative:with,making,each},augmentedAssign,and,or,is,isNot,contains,isIn,inequality,addition,subtraction,multiplication,division,not,belongingProperty,belongingOperator,belongingItOperator,{rightAssociative:property},{rightAssociative:itsProperty},belongingItProperty,{rightAssociative:possessiveOperator,itsOperator},twineLink,macro,groupingmostr?reverse:valueOf().some(function(r){var ovoid 0;return or.rightAssociative?n(e,r.rightAssociative):t(e,r),!Number.isNaN(o)&&o>-1?(ieo,o,!0):void 0}),i):i}function i(e){if(inequalitye.type){var te.operator;return e.negate?{>:,:>,>:,:>}t:t}return e.type}function o(e){var ti(e);return{>:,:>,>:,:>,contains:isIn,isIn:contains,is:isNot,isNot:is}t}function a(e){var targuments.length>1&&void 0!arguments1?arguments1:{},nt.isVarRef,ct.whitespaceError,lt.elidedComparison;if(e.concat(e),!e.length)return n&&c?TwineError.create(operation,+s(c)+):;var fe0;if(1e.length){if(identifierf.type)return n?VarRef.create(Operations.Identifiers,+s(f.text)+): Operations.Identifiers.+f.text.toLowerCase()+ ;if(variablef.type)returnVarRef.create(State.variables,+s(f.name)+)+(n?:.get());if(tempVariablef.type)returnVarRef.create(section.stack0.tempVariables,+s(f.name)+)+(n?:.get());if(hookReff.type)return HookSet.create(?+f.name+) ;if(stringf.type)return f.text.replace(/\n/g,\\n);if(colourf.type)returnColour.create(+s(f.colour)+);if(rootf.type)return a(f.children);if(whitespacef.type&&n&&c)returnTwineError.create(operation,+s(c)+)}var pvoid 0,dr(e,least),h_slicedToArray(d,2);fh0,ph1;var m(f||{}).type,gfunction(e){return{isVarRef:!0,whitespaceError:I need usable data to be on the +e+ of +f.text+.}},yvoid 0,vvoid 0,bvoid 0,wvoid 0,xvoid 0,Tvoid 0,S!0,O!0,j!1;if(m){if(errorm)returnTwineError.create(syntax,+s(f.message)+);if(commam)b,,O!1;else if(spreadm)bOperations.makeSpreader(,va(e.slice(p+1))+),S!1;else if(tom)xto,va(e.slice(p+1),g(right)),yOperations.setIt(+a(e.slice(0,p),g(left))+);else if(intom)xinto,va(e.slice(0,p),g(left)),yOperations.setIt(+a(e.slice(p+1),g(right))+);else if(wherem||viam)yLambda.create(+(a(e.slice(0,p),{isVarRef:!0,whitespaceError:null}).trim()||undefined)+,,bs(f.type)+,,vs(a(e.slice(p+1)))+);else if(withm||makingm||eachm){var ke.slice(p+1);!2,3.includes(k.length)||whitespace!k0.type||tempVariable!k1.type||k2&&whitespace!k2.type?(yTwineError.create(operation,I need a temporary variable to the right of \\,bf.type,v\\.)):eachm?(yLambda.create(,ba(k,g(right)).trim(),v,where,true)):(yLambda.create(+(a(e.slice(0,p),{isVarRef:!0,whitespaceError:null}).trim()||undefined)+,,bs(f.type)+,,vs(k1.name)+))}else if(augmentedAssignm)xf.operator,ya(e.slice(0,p),g(left)),vOperations+x+(+(a(e.slice(0,p))+,+a(e.slice(p+1)))+);else if(andm||orm){var Cfunction(){var tfunction e(t){var nr(t,least),i_slicedToArray(n,2),oi0,ai1;if(o)returninequality,is,isNot,isIn,contains.includes(o.type)?o:and,or.includes(o.type)?e(t.slice(0,a))||e(t.slice(a+1)):void 0},ut(e.slice(0,p)),ct(e.slice(p+1)),dTwineError.create(operation, This use of \is not\ and \+m+\ is grammatically ambiguous,Maybe try rewriting this as \__ is not __ +m+ __ is not __\) ;if(wf.type,lf.type)w,ya(e.slice(0,p),{isVarRef:n,elidedComparison:l}).trim(),b,,va(e.slice(p+1),{elidedComparison:l}).trim();else if(u&&!c){var hr(e.slice(0,p),least),g_slicedToArray(h,1),xg0,Ts(i(x));if(isNotx.type)return{v:d};vOperations.elidedComparisonOperator(+s(f.type)+,+T+,+a(e.slice(p+1),{elidedComparison:m})+)}else if(!u&&c){var Sc,Oe.indexOf(S),js(o(S));if(isNotS.type)return{v:d};vOperations.elidedComparisonOperator(+s(f.type)+,+j+,+a(e.slice(0,p),{elidedComparison:m})+),ya(.concat(_toConsumableArray(e.slice(O+1)),Object.assign(Object.create(S),_defineProperty({},inequalityS.type?operator:type,o(S))),_toConsumableArray(e.slice(p+1,O))))}}();if(object(undefinedtypeof C?undefined:_typeof(C)))return C.v}else if(ism||isNotm||containsm||isInm||inequalitym)j!0,wi(f);else if(additionm||subtractionm)wf.text,ya(e.slice(0,p)),y.trim()||(y0);else if(multiplicationm||divisionm)wf.text;else if(notm)b ,vOperations.not(+a(e.slice(p+1))+),S!1;else if(belongingPropertym)vVarRef.create(+a(e.slice(p+1),g(right))+,+s(f.name)+)+(n?:.get()),b ,SO!1;else if(belongingOperatorm||belongingItOperatorm)f.type.includes(It)?(vOperations.Identifiers.it,O!1):va(e.slice(p+1),g(right)),Tbelonging;else if(propertym)yVarRef.create(+a(e.slice(0,p),g(left))+,+s(f.name)+)+(n?:.get()),b ,SO!1;else if(itsPropertym||belongingItPropertym)yVarRef.create(Operations.Identifiers.it,+s(f.name)+).get(),b ,SO!1;else if(possessiveOperatorm||itsOperatorm)f.type.includes(it)&&(yOperations.Identifiers.it,S!1),Tpossessive;else if(twineLinkm)bMacros.run(link-goto, section,+s(f.innerText)+,+s(f.passage)+),SO!1;else if(macrom){var Af.children0;macroName!A.type&&u(Compiler.compile,macro token had no macroName child token),bMacros.run(+(A.isMethodCall?a(A.children):+f.name+)+, section,+a(f.children.slice(1))+),SO!1}elsegroupingm&&(b(+a(f.children,{isVarRef:n})+),SO!1)}else;return p>-1?(w&&(n!1),yy||a(e.slice(0,p),{isVarRef:n}).trim(),vv||a(e.slice(p+1)).trim(),j&&!y&&(y Operations.Identifiers.it ),S&&!y||O&&!v?TwineError.create(operation,I need some code to be +(S?left :)+(S&&O?and :)+(O?right :)+of +f.text+\):b?y+b+v:x?Operations.makeAssignmentRequest(+y,v,s(x)+):T?VarRef.create(+(belongingT?v:y)+,{computed:true,value:+(belongingT?y:v)+})+(n?:.get()):w? Operations+s(w)+(+y+,+v+) :):1e.length?((valuein e0?e0.value:e0.text)+).trim()|| :e.reduce(function(e,t){return e+a(t,{isVarRef:n})},)}var se.toJSLiteral,ue.impossible;return a}),define(renderer,utils,markup,twinescript/compiler,internaltypes/twineerror,function(e,t,n,r){function i(e,t){return+t+>+e+/+t+>}function o(e,t){var nl.render(e.children);return n&&i(n,t)}var ae.escape,se.impossible,ue.toJSLiteral,ce.insensitiveName,lvoid 0,ftext-align: center; max-width:50%; ;return l{options:{},exec:function(){var evoid 0,nvoid 0;return function(r){returnstring!typeof r?(s(Renderer.exec,source was not a string, but +(undefinedtypeof r?undefined:_typeof(r))),):re?n:(er,nl.render(t.lex(r).children))}}(),render:function e(s){var p,d;if(!s)return p;for(var hs.length,m0;h>m;m+1){var gsm;switch(g.type){caseerror:p+r.create(syntax,g.message).render(a(g.text))0.outerHTML;break;casenumbered:casebulleted:var ynumberedg.type?ol:ul;p++y+>;for(var v1;h>m&&sm&&sm.typeg.type;)p+(+y+>).repeat(Math.max(0,sm.depth-v)),p+(/+y+>).repeat(Math.max(0,v-sm.depth)),vsm.depth,p+o(sm,li),m+1;m-1,p+(/+y+>).repeat(v+1);break;casealign:for(;g&&aligng.type;){var bg,wb.align,xm+1;if(leftw){m-1;break}for(;h>m&&sm&&align!sm.type;)m+1;var Te(s.slice(x,m)),S;switch(w){casecenter:S+f+margin-left: auto; margin-right: auto;;break;casejustify:caseright:S+text-align: +w+;;break;default:+w&&(S+f+margin-left: +w+%;)}p+tw-align +(S?style+S+:)+(l.options.debug? title+g.text+:)+>+T+/tw-align>\n,gsm}break;casecolumn:for(var O;g&&columng.type;){var jg,kj.column,Cm+1;if(nonek){m-1;break}for(;h>m&&sm&&column!sm.type;)m+1;O.push({text:g.text,type:k,body:e(s.slice(C,m)),width:g.width,marginLeft:g.marginLeft,marginRight:g.marginRight}),gsm}O.length&&!function(){var eO.reduce(function(e,t){return e+t.width},0);p+tw-columns>+O.map(function(t){returntw-column type+t.type+ stylewidth:+t.width/e*100+%; margin-left: +t.marginLeft+em; margin-right: +t.marginRight+em; +(l.options.debug? title+t.text+:)+>+t.body+/tw-column>\n}).join()+/tw-columns>}();break;caseheading:p+o(g,h+g.depth);break;casebr:(!d.length||/td|th/.test(d0))&&(p+br>);break;casehr:p+hr>;break;caseescapedLine:casecomment:break;caseinlineUrl:p+a classlink href+a(g.text)+>+g.text+/a>;break;casescriptStyleTag:casetag:var Ag.text.toLowerCase();/^\/?(?:table|thead|tbody|tr|tfoot|td|th)\b/.test(A)&&dg.text.startsWith(/)?shift:unshift(A),p+g.text.startsWith(/)?g.text:g.text.replace(/>$/, data-raw>);break;casesub:casesup:casestrong:caseem:p+o(g,g.type);break;casestrike:p+o(g,s);break;casebold:p+o(g,b);break;caseitalic:p+o(g,i);break;casetwineLink:var Et.lex((link-goto:+u(g.innerText)+,+u(g.passage)+));p+e(E.children);break;casehook:p+tw-hook +(g.hidden?hidden :)+(g.name?name+c(g.name)+:)+(l.options.debug&&g.name? titleHook: ?+g.name+:)+ source+a(g.innerText)+>/tw-hook>;break;caseverbatim:p+i(a(g.innerText).replace(/\n/g,br>),tw-verbatim);break;casecollapsed:p+o(g,tw-collapsed);break;casevariable:casetempVariable:casemacro:p+tw-expression type+g.type+ name+a(g.name||g.text)++(l.options.debug? title+a(g.text)+:)+ js+a(n(g))+>/tw-expression>;break;default:p+g.children&&g.children.length?e(g.children):g.text}}return p}},Object.freeze(l)}),define(internaltypes/changedescriptor,jquery,utils,renderer,datatypes/hookset,function(e,t,n,r){var it.assertOnlyHas,ot.impossible,at.transitionIn,sn.exec,uvoid 0,c{source:,innerSource:,enabled:!0,target:null,append:append,newTargets:null,transition:instant,transitionTime:null,loopVars:null,styles:null,attr:null,data:null,section:null,summary:function(){var ethis;returnsource,innerSource,enabled,target,append,newTargets,transition,transitionTime.filter(function(t){return e.hasOwnProperty(t)}).concat(this.attr.length&&attr,this.styles.length&&styles,Object.keys(this.loopVars).length&&loopVars,Object.keys(this.data).length&&data.filter(Boolean))},create:function(e,t){var nObject.assign(Object.create(this),{attr:.concat(this.attr||),styles:.concat(this.styles||),loopVars:this.loopVars||{},data:this.data||{}},e);return t&&t.run(n),n},update:function(){var ethis,tthis.section,nthis.newTargets,ithis.target,ofunction(t){Array.isArray(e.styles)&&e.styles.length>0&&setTimeout(function(){return t.css(Object.assign.apply(Object,_toConsumableArray({}.concat(e.styles))))}),e.attr&&e.attr.forEach(function(e){return t.attr(e)}),e.data&&t.data(e.data)};Array.isArray(n)&&n.length&&(in.map(function(e){return e.target})),.concat(i).forEach(function(e){r.isPrototypeOf(e)?e.forEach(t,o):o(e)})},render:function(){var tthis,nthis.source,lthis.transition,fthis.transitionTime,pthis.enabled,dthis.section,hthis.newTargets,mthis.target,gthis.append;if(i(this,u),!p||void 0!m.popAttr(hidden))return c.create({target:m,data:{hiddenSource:n}}).update(),e();if(Array.isArray(h)&&h.length&&(mh),!m)return o(ChangeDescriptor.render,ChangeDescriptor has source but not a target!),e();var ye(),vfunction(e){return function(n){yy.add(t.create({target:n,append:e,newTargets:null}).render())}};if(.concat(m).forEach(function t(n,i,o){var aarguments.length>3&&void 0!arguments3?arguments3:g;r.isPrototypeOf(n)?n.forEach(d,v(a)):n.jquery&&n.length>1?Array.from(n).map(e).forEach(v(a)):n.target&&n.append&&t(n.target,i,o,n.append)}),y.length||Array.isArray(m)||r.isPrototypeOf(m))return y;if(!(g in m)){if(replace!g)return o(Section.render,The target doesnt have a +g+ method.),e();m.empty(),gappend}return ye(n&&e.parseHTML(s(n),document,!0)),mg(y.length?y:void 0),this.update(),l&&a(replaceg?m:y,l,f),y}};return uObject.keys(c),Object.seal(c)}),define(datatypes/changercommand,utils,utils/operationutils,internaltypes/changedescriptor,function(e,t,n){var re.impossible,it.is,o{},a{changer:!0,TwineScript_TypeName:a changer command,TwineScript_Print:function(){return`A +this.macroName+ command`},summary:function(){var en.create();return this.run(e),e.summary()},create:function(e){var targuments.length>1&&void 0!arguments1?arguments1:,narguments.length>2&&void 0!arguments2?arguments2:null;return Array.isArray(t)||r(ChangerCommand.create,params was not an array),Object.assign(Object.create(this),{macroName:e,params:t,next:n,TwineScript_ObjectName:a (+e+:) command})},TwineScript_+:function(e){for(var tthis.TwineScript_Clone(),nt;n.next;)nn.next;return n.nexte,t},TwineScript_is:function(e){return a.isPrototypeOf(e)?this.macroNamee.macroName&&i(this.params,e.params)&&i(this.next,e.next):void 0},TwineScript_Clone:function(){return this.create(this.macroName,this.params,this.next)},run:function(e){othis.macroName.apply(o,e.concat(_toConsumableArray(this.params))),this.next&&this.next.run(e)},register:function(e,t){oet}};return Object.freeze(a)}),define(state,utils,passages,datatypes/changercommand,internaltypes/twineerror,utils/operationutils,function(e,t,n,r,i){function o(e){p(lf||c).create(e)}var ae.impossible,si.objectName,u{TwineScript_ObjectName:this storys variables,TwineScript_VariableStore:!0},c{passage:,variables:u,create:function(e,t){var nObject.create(c);return n.passagee||,n.variablesObject.assign(Object.create(this.variables),t),n}},l,f-1,pc.create(),dvoid 0,h{forward:,back:,load:},mObject.assign({get passage(){return p.passage},get variables(){return p.variables},get pastLength(){return f},get futureLength(){return l.length-1-f},passageNameVisited:function(e){var n0;if(!t.get(e))return 0;for(var r0;f>r;r++)n++(elr.passage);return n},passageNameLastVisited:function(e){if(!t.get(e))return 1/0;if(ep.passage)return 0;for(var nf;n>0;n--)if(ln.passagee)return f-n+1;return 1/0},pastPassageNames:function(){for(var e,tf-1;t>0;t--)e.unshift(lt.passage);return e},play:function(e){p||a(State.play,present is undefined!),p.passagee,ll.slice(0,f+1).concat(p),f+1,o(e),h.forward.forEach(function(t){return t(e)})},rewind:function(e){var t1,n!1;if(e)if(stringtypeof e){if(tthis.passageNameLastVisited(e),t1/0)return}elsenumbertypeof e&&(te);for(;t>0&&f>0;t--)n!0,f-1;return n&&(o(lf.passage),h.back.forEach(function(e){return e()})),n},fastForward:function(e){var t1,n!1;for(numbertypeof e&&(te);t>0&&l.length>0;t--)n!0,f+1;return n&&(o(lf.passage),h.forward.forEach(function(e){return e(lf.passage,fastForward)})),n},on:function(e,t){return e in h?(function!typeof t||he.includes(t)||he.push(t),m):void a(State.on,invalid event name)},reset:function(){window.jasmine&&(l,f-1,pc.create(),dvoid 0,h.load.forEach(function(e){return e(l)}))}},function(){function e(t){returnnumbertypeof t||booleantypeof t||stringtypeof t||nullt||Array.isArray(t)&&t.every(e)||t instanceof Set&&Array.from(t).every(e)||t instanceof Map&&Array.from(t.values()).every(e)||n.isPrototypeOf(t)}function t(e,t){return t instanceof Set?{(dataset:):Array.from(t)}:t instanceof Map?{(datamap:):Array.from(t)}:n.isPrototypeOf(t)?{changer:{name:t.macroName,params:t.params,next:t.next}}:t}function i(e,t){if(t&&object(undefinedtypeof t?undefined:_typeof(t))){if(Array.isArray(t(dataset:)))return new Set(t(dataset:));if(Array.isArray(t(datamap:)))return new Map(t(datamap:));if(t.changer&&object_typeof(t.changer)){var rt.changer,ir.name,or.params,ar.next;return n.create(i,o,a)}}return t}function a(){var nl.slice(0,f+1),in.map(function(t){return Object.keys(t.variables).filter(function(n){return t.variablesn&&!e(t.variablesn)}).map(function(e){returne,t.variablese})});if(d||(di.reduce(function(e,t,n){var r_slicedToArray(t,2),ir0,or1;return e||i&&i,o,n+1},void 0)),d){var od,a_slicedToArray(o,3),ua0,ca1,pa2;return r.create(saving,The variable $+u+ holds +s(c)+ (which is, or contains, a complex data value) on turn +p+; the game can no longer be saved.)}try{return JSON.stringify(n,t)}catch(e){return!1}}function p(e){var tvoid 0,nu;try{tJSON.parse(e,i)}catch(e){return!1}return Array.isArray(t)?(tt.map(function(e){returnobject(undefinedtypeof e?undefined:_typeof(e))&&e.hasOwnProperty(passage)&&e.hasOwnProperty(variables)?(e.variablesObject.assign(Object.create(n),e.variables),ne.variables,Object.assign(Object.create(c),e)):!1})).includes(!1)?!1:(lt,h.load.forEach(function(e){return e(l)}),fl.length-1,void o(lf.passage)):!1}return{serialise:a,deserialise:p}}());return Object.seal(c),Object.freeze(m)}),define(datatypes/colour,jquery,function(e){function t(t){if(t in s)return st;var ne(p>).css(background-color,t).css(background-color);return nn.startsWith(rgb)?n.match(/\d+/g).reduce(function(e,t,n){return ergbn+t,e},{}):{r:192,g:192,b:192},stn,n}function n(e){returnstring!typeof e?e:(ee.replace(#,),ee.replace(o,$1$1$2$2$3$3),{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)})}function r(e){var te.r,ne.g,re.b,ie.a;t/255,n/255,r/255;var oMath.max(t,n,r),aMath.min(t,n,r),s(o+a)/2,uo-a;if(oa)return{h:0,s:0,l:s};var cvoid 0;switch(o){case t:c(n-r)/u+(r>n?6:0);break;case n:c(r-t)/u+2;break;case r:c(t-n)/u+4}cMath.round(60*c);var ls>.5?u/(2-o-a):u/(o+a);return{h:c,s:l,l:s,a:i}}function i(e){function t(e){return 0>e&&(e+1),e>1&&(e-1),1/6>e?u+6*(s-u)*e:.5>e?s:2/3>e?u+(s-u)*(2/3-e)*6:u}var ne.h,re.s,ie.l,oe.a;if(0r){var aMath.floor(255*i);return{r:a,g:a,b:a}}n/360;var s.5>i?i*(1+r):i+r-i*r,u2*i-s;return{r:Math.floor(255*t(n+1/3)),g:Math.floor(255*t(n)),b:Math.floor(255*t(n-1/3)),a:o}}var o/^(\da-fA-F)(\da-fA-F)(\da-fA-F)$/,a/^(\da-fA-F)(\da-fA-F)(\da-fA-F)(\da-fA-F)(\da-fA-F)(\da-fA-F)$/,sObject.create(null),uObject.freeze({TwineScript_TypeName:a colour,TwineScript_ObjectName:a colour,TwineScript_+:function(e){var tthis,ne;return u.create({r:Math.min(Math.round(.6*(t.r+n.r)),255),g:Math.min(Math.round(.6*(t.g+n.g)),255),b:Math.min(Math.round(.6*(t.b+n.b)),255),a:(t.a+n.a)/2})},TwineScript_Print:function(){returntw-colour stylebackground-color:rgba(+this.r,this.g,this.b,this.a.join(,)+);>/span>},TwineScript_is:function(e){return u.isPrototypeOf(e)&&e.rthis.r&&e.gthis.g&&e.bthis.b&&e.athis.a},TwineScript_Clone:function(){return u.create(this)},toRGBAString:function(){returnrgba(+this.r+, +this.g+, +this.b+, +this.a+)},get h(){return r(this).h},get s(){return r(this).s},get l(){return r(this).l},create:function(e){returnstringtypeof e?this.create(u.isHexString(e)?n(e):t(e)):!(hin e&&sin e&&lin e)||rin e||gin e||bin e?(ain e&&numbertypeof e.a||(e.a1),Object.assign(Object.create(this),e)):this.create(i(e))},isHexString:function(e){returnstringtypeof e&e0&&(e.slice(1).match(o)||e.slice(1).match(a))},isCSS3Function:function(e){returnstringtypeof e&&/^(?:rgb|hsl)a?\(\s*\d+\s*,\s*\d+%?\s*,\s*\d+%?(?:,\s*\d+(?:\.\d+)?\s*)?\)$/.test(e)}});return u}),define(internaltypes/varref,state,internaltypes/twineerror,utils,utils/operationutils,datatypes/hookset,datatypes/colour,function(e,t,n,r,i,o){function a(e,n){var rvoid 0;if(e instanceof Map&&(rt.containsError(j(e,n))))return r;if(w(e)){var ovoid 0;if(numbertypeof n){if(0n)return t.create(property,You cant access elements at position 0 of +x(e)+.,Only positive and negative position values exist.);n>0&&(n-1)}else if(stringtypeof n&&(o/(\d+)(?:st|nrd|th)last/i.exec(n)))n-o1+;else if(stringtypeof n&&(o/(\d+)(?:st|nrd|th)/i.exec(n)))no1-1+;else if(lastn)n-1;else if(!length,any,all.includes(n)||i.isPrototypeOf(e))return t.create(property,You can only access position strings/numbers (4th, last, 2ndlast, (2), etc.)+(i.isPrototypeOf(e)?:, length, any and all)+ of +x(e)+, not +x(n)+.)}else if(e instanceof Set){if(!length,any,all.includes(n))return t.create(property,You can only get the length, any and all of a +x(e)+.,To check contained values, use the contains operator.);lengthn&&(nsize)}else if(numbertypeof e||booleantypeof e)return t.create(property,You cant get data values from +x(e)+.);return n}function s(e,n){var rn.reduce(function(r,i,o){i.computed&&(ii.value),k.isPrototypeOf(i)&&(ii.get()),iArray.isArray(i)?i.map(function(t){return a(e,t)}):a(e,i);var svoid 0;return(st.containsError(r,i))?s:(on.length-1&&(eg(e,i)),r.push(i),r)},);return{compiledPropertyChain:r,deepestObject:e}}function u(e,t){return 0>t-0&&Math.abs(t)e.length?e.length+(t-0):t}function c(e,t){var n{any:any value of ,all:all values of }t;return{determiner:t,array:.concat(_toConsumableArray(e)),TwineScript_ObjectName:n+x(e),TwineScript_TypeName:n+a data structure,TwineScript_Unstorable:!0,TwineScript_Print:function(){return`+this.TwineScript_TypeName+`}}}function l(e,t){if(void 0e)return e;if(e instanceof Map)return e.get(t);if(w(e)&&(tu(e,t)),anyt||allt)return c(e,t);if(e.TwineScript_GetElement&&Number.isFinite(+t))return e.TwineScript_GetElement(t);var net;returnfunction!typeof n?n:void 0}function f(e){return e.computed?stringtypeof e.value?(+e.value+):(+e.value+):+e+}function p(e,n){if(Array.isArray(n))return n.map(function(t){return p(e,t)});if(i.isPrototypeOf(e))return t.create(operation,I cant modify +x(e),You should alter hooks indirectly using macros like (replace:) or (enchant:).);if(e instanceof Set)return t.create(operation,I cant modify +x(e),You should use an (array:) if you need to modify the data inside this dataset.);if(o.isPrototypeOf(e))return t.create(operation,I cant modify the components of +x(e));if(e instanceof Map)return!0;if(w(e)){if(length,any,all.includes(n))return t.create(operation,I cant forcibly alter the +n+ of +x(e)+.);if(+n!(0|n))return t.create(property,x(e)+ can only have position keys (3rd, 1st, (5), etc.), not +f(n)+.)}return e.TwineScript_Identifiers&&n in e?t.create(keyword,I cant alter the value of the +n+ identifier.,You can only alter data in variables and hooks, not fixed identifiers.):numbertypeof e||booleantypeof e?t.create(operation,You cant alter the data values of +x(e)+.):!0}function d(e,t,n){var rt;e instanceof Map?e.set(t,n):(w(e)&&(tu(e,t)),e.TwineScript_Set?e.TwineScript_Set(t):etn),A.set.forEach(function(t){return t(e,r,n)})}function h(e,t){var nt;w(e)&&(tu(e,t)),Array.isArray(e)&&O.exec(t)?e.splice(t,1):e instanceof Map||e instanceof Set?e.delete(t):delete et,A.delete.forEach(function(t){return t(e,n)})}function m(e){function t(){return e}return{get:t,set:t,delete:t,varref:!0}}function g(n,r,o){if(Array.isArray(r))return i.isPrototypeOf(n)?n.TwineScript_GetElement(r):r.map(function(e){return g(n,e,e)})stringtypeof n?join:valueOf();stringtypeof n&&(n.concat(_toConsumableArray(n)));var al(n,r);return void 0a?ne.variables?C:n.TwineScript_VariableStore?t.create(property,There isnt a temp variable named _+o+ in this place.,Temp variables only exist inside the same passage and hook in which theyre (set:).):t.create(property,I cant find a +f(o)+ data name in +x(n)):a}function y(e,n){var rthis,ithis.compiledPropertyChain.reduce(function(e,t){var nvoid 0;return n0e.length?r.object:g.apply(void 0,_toConsumableArray(ee.length-1)),e.push(n,t)&&e},).reduceRight(e,n);return t.containsError(i)?i:void 0}var vn.impossible,br.isObject,wr.isSequential,xr.objectName,Tr.typeName,Sr.clone,Or.numericIndex,jr.isValidDatamapName,kvoid 0,C0,A{set:,delete:};return kObject.freeze({varref:!0,get:function(){return g(this.deepestObject,this.compiledPropertyChain.slice(-1)0,this.propertyChain.slice(-1)0)},set:function(e){return!this.object||this.object.TwineScript_VariableStore||this.object.TwineScript_Identifiers?y.call(this,function(e,n,r){var i_slicedToArray(n,2),oi0,ai1,svoid 0;if(st.containsError(e,o,a)||t.containsError(p(o,a)))return s;if(e&&e.TwineScript_Unstorable)return t.create(operation,T(e)+ cant be stored.);if(r>0&&(oS(o)),stringtypeof o){var ufunction(){if(string!typeof e||e.length!(Array.isArray(a)?a.length:1))return{v:t.create(datatype,I cant put this non-string value, +x(e)+, in a string.)};o.concat(_toConsumableArray(o));var n.concat(_toConsumableArray(e));.concat(a).forEach(function(e){0>0+e&&(eo.length+(0+e)),o.concat(_toConsumableArray(o.slice(0,e)),n.shift(),_toConsumableArray(o.slice(e+1)))}),oo.join()}();if(object(undefinedtypeof u?undefined:_typeof(u)))return u.v}else b(o)&&(Array.isArray(a)&&w(e)?(stringtypeof e&&(e.concat(_toConsumableArray(e))),a.map(function(t,n){returnt,en}).forEach(function(e){var t_slicedToArray(e,2),nt0,rt1;return d(o,n,r)})):d(o,a,e));return o},e):t.create(macrocall,I cant (set:) +x(this)+, if the +(x(this.object).match(/ (.+$)/)||,value)1+ isnt stored in a variable.,Modifying data structures that arent in variables wont change the game state at all.)},delete:function(){return y.call(this,function(e,n,r){var i_slicedToArray(n,2),oi0,ai1,svoid 0;if(st.containsError(e,o,a)||t.containsError(p(o,a)))return s;if(r>0&&(oS(o)),nulle){var cstringtypeof o;c&&(o.concat(_toConsumableArray(o))),Array.isArray(a)?(w(o)&&(a.concat(_toConsumableArray(new Set(a))),a.sort(function(e,t){return u(o,t)-u(o,e)})),a.forEach(function(e){return h(o,e)})):h(o,a),c&&(oo.join())}else d(o,a,e);return o},null)},create:function(e,n){var rvoid 0;if(rt.containsError(e))return m(r);n.concat(n),k.isPrototypeOf(e)&&(ne.propertyChain.concat(n),ee.object);var is(e,n),oi.compiledPropertyChain,ai.deepestObject;return(rt.containsError(o,a))?m(r):Object.assign(Object.create(k),{object:e,propertyChain:n,compiledPropertyChain:o,deepestObject:a})},get TwineScript_ObjectName(){var tthis,nfunction(n,r){return r||t.object!e.variables&&!t.object.TwineScript_VariableStore?f(n):n};return(this.objecte.variables?$:this.object.TwineScript_VariableStore?_:x(this.object)+s )+(1this.propertyChain.length?n(this.propertyChain0):this.propertyChain.reduce(function(e,t,r){return e+s +n(t,r)}))+(this.object.TwineScript_VariableStore? in +this.object.TwineScript_VariableStoreName:)},on:function(e,t){return e in A?(function!typeof t||Ae.includes(t)||Ae.push(t),k):void v(VarRef.on,invalid event name)}})}),define(utils/naturalsort,,function(){return function(e){return function t(n,r){var i,o,a,s,u/(^-?0-9+(\.?0-9*)df?e?0-9?$|^0x0-9a-f+$|0-9+)/gi,c/(^ *| *$)/g,l/(^(\w +,?\w +)?\w +,?\w +\d+:\d+(:\d+)?\w ?|^\d{1,4}\/\-\d{1,4}\/\-\d{1,4}|^\w+, \w+ \d+, \d{4})/,f/^0x0-9a-f+$/i,p/^0/,dfunction(e){return t.insensitive&&(+e).toLowerCase()||+e},hd(n).replace(c,)||,md(r).replace(c,)||,gh.replace(u,\x00$1\x00).replace(/\0$/,).replace(/^\0/,).split(\x00),ym.replace(u,\x00$1\x00).replace(/\0$/,).replace(/^\0/,).split(\x00),vparseInt(h.match(f))||1!g.length&&h.match(l)&&Date.parse(h),bparseInt(m.match(f))||v&&m.match(l)&&Date.parse(m)||null;if(e&&window.Intl&&window.Intl.Collator&&(awindow.Intl.Collator(e)),b){if(b>v)return-1;if(v>b)return 1}for(var w0,xMath.max(g.length,y.length);x>w;w++){if(i!(gw||).match(p)&&parseFloat(gw)||gw||0,o!(yw||).match(p)&&parseFloat(yw)||yw||0,isNaN(i)!isNaN(o))return isNaN(i)?1:-1;if((undefinedtypeof i?undefined:_typeof(i))!(undefinedtypeof o?undefined:_typeof(o)))i+,o+;else if(stringtypeof i&&a&&(sa.compare(i,o),0!s))return s;if(o>i)return-1;if(i>o)return 1}return 0}}}),define(internaltypes/varscope,,function(){return{TwineScript_ObjectName:the temporary variables,TwineScript_VariableStore:!0}}),define(datatypes/lambda,utils,utils/operationutils,internaltypes/varscope,internaltypes/twineerror,function(e,t,n,r){var ie.toJSLiteral,oe.insensitiveName,a(e.plural,t.typeName,t.objectName,t.singleTypeCheck,Object.freeze({lambda:!0,TwineScript_TypeName:a lambda,TwineScript_ObjectName:function(){returna +(makingin this?making ... :)+(within this?with ... :)+(wherein this?where ... :)+(viain this?via ... :)+ lambda},TwineScript_Print:function(){return`A lambda`},TwineScript_is:function(e){return ethis},TypeSignature:function(e){return{pattern:lambda,innerType:a,clauses:e}},create:function(e,t,i){var svoid 0;if(r.containsError(e))return e;if(a.isPrototypeOf(e)){if(t in e&&(where!t||true!et))return r.create(syntax,This lambda has two +t+ clauses.);se}else{if(void 0!e&&(!e||!e.varref||!n.isPrototypeOf(e.object)||e.propertyChain.length>1))return r.create(syntax,This lambda needs to start with a single temporary variable.);sObject.create(this),s.loope?e.propertyChain0:}sti;var us.making,s.with,s.loop.filter(function(e,t,n){return e&&n.indexOf(o(e))!t});return u.length?r.create(syntax,This lambda has two variables named +u0+.,Lambdas should have all-unique parameter names.):s},apply:function(e,t){var ot.loop,at.with,st.making,ut.fail,ct.pass,lt.ignoreVia,fObject.create(n);this.loop,o,this.with,a,this.making,s.forEach(function(e){var t_slicedToArray(e,2),nt0,rt1;return n&&(fnr)}),e.stack.unshift(Object.assign(Object.create(null),{tempVariables:f})),e.eval(Operations).initialiseIt(!o||this.with||this.making?r.create(operation,I cant use it, or an implied it, in +this.TwineScript_ObjectName()):o);var p!l&&this.via,de.eval(wherein this?Operations.where(+this.where+,+(p||i(c))+,+i(u)+):p||i(c));return e.stack.shift(),d},filter:function(e,t){var nthis;return t.reduce(function(t,i){var ovoid 0;if(or.containsError(t))return o;var an.apply(e,{loop:i,pass:!0,fail:!1,ignoreVia:!0});return(or.containsError(a))?o:t.concat(a?i:)},)}}));return a}),define(macros,jquery,utils/naturalsort,utils,utils/operationutils,datatypes/changercommand,datatypes/lambda,datatypes/hookset,internaltypes/twineerror,function(e,t,n,r,i,o,a,s){function u(e){return function(n){nn.reduce(function(e,n){if(n&&n.spreader!0){var rn.value;if(Array.isArray(r)||stringtypeof r)for(var i0;ir.length;i++)e.push(ri);else r instanceof Set?e.push.apply(e,_toConsumableArray(Array.from(r).sort(t(en)))):e.push(s.create(operation,I cant spread out +g(r)+, because it is not a string, dataset, or array.))}else e.push(n);return e},);var rs.containsError(n);return r?r:e.apply(void 0,_toConsumableArray(n))}}function c(e,t,n){n.concat(n||),e(+(Array.isArray(e)&&e.length>1?e0:e)+:);var rvoid 0;return rn.length>0?The +e+ macro must only be given +n.map(y).reduce(function(e,t,n,r){return e+(0n?:nr.length-1?, :, and )+t},)+(n.length>1?, in that order:.):The macro must not be given any data - just write +e+.,function(i){for(var aarguments.length,uArray(a>1?a-1:0),c1;a>c;c++)uc-1argumentsc;for(var lvoid 0,f(function(t){var int,aut;return t>n.length&&!l?{v:s.create(datatype,u.length-n.length+ too many values were given to this +e+ macro.,r)}:(i||(il),!i.innerType||rest!i.pattern&&zero or more!i.pattern||(li.innerType,resti.pattern&&(ii.innerType)),v(a,i)?void 0:void 0a?{v:s.create(datatype,The +e+ macro needs +d(n.length-t,more value)+.,r)}:a&&a.TwineScript_Unstorable&&(ib.TypeSignature.Any||i.innerType&&i.innerTypeb.TypeSignature.Any)?{v:s.create(datatype,e+s +p(t+1)+ value, +g(a)+, is not valid data for this macro.,r)}:a&&o.isPrototypeOf(a)&&lambdai.pattern?{v:s.create(datatype,e+s +p(t+1)+ value (a lambda) should have +h(where,making,via,with.filter(function(e){return i.clauses.includes(e)}).map(function(e){returna +e+ clause}))+, not +h(where,making,via,with.filter(function(e){return e in a}).map(function(e){returna +e+ clause}))+.)}:{v:s.create(datatype,e+s +p(t+1)+ value is +g(a)+, but should be +y(i)+.,i.message||r)})}),m0,wMath.max(u.length,n.length);w>m;m+1){var xf(m,w);if(object(undefinedtypeof x?undefined:_typeof(x)))return x.v}return t.apply(void 0,i.concat(u))}}function l(e,t){Array.isArray(e)?e.forEach(function(e){return m(w,f(e),t)}):m(w,f(e),t)}var fn.insensitiveName,pn.nth,dn.plural,hn.andList,mn.lockProperty,gr.objectName,yr.typeName,vr.singleTypeCheck,bvoid 0,w{};return b{has:function(e){return ef(e),w.hasOwnProperty(e)},get:function(e){return ef(e),w.hasOwnProperty(e)&&we},add:function e(t,n,r){return l(t,u(c(t,n,r))),e},addChanger:function e(t,n,r,o){return l(t,u(c(t,n,o))),i.register(Array.isArray(t)?t0:t,r),e},TypeSignature:{optional:function(e){return{pattern:optional,innerType:e}},zeroOrMore:function(e){return{pattern:zero or more,innerType:e}},either:function(){for(var earguments.length,tArray(e),n0;e>n;n++)tnargumentsn;return{pattern:either,innerType:t}},rest:function(e){return{pattern:rest,innerType:e}},wrapped:function(e,t){return{pattern:wrapped,innerType:e,message:t}},Any:{TwineScript_TypeName:anything}},run:function(e,t){return s.containsError(e)?e:b.has(e)?b.get(e)(t):s.create(macrocall,I cant run the macro +e+ because it doesnt exist.,Did you mean to run a macro? If you have a word written like (this:), it is regarded as a macro name.)}},Object.freeze(b)}),define(datatypes/assignmentrequest,utils,function(e){var te.assertMustHave,nObject.freeze({assignmentRequest:!0,TwineScript_TypeName:a to or into expression,TwineScript_ObjectName:a to or into expression,TwineScript_Unstorable:!0,create:function(e,n,r){return t(e,varref),Object.assign(Object.create(this),{dest:e,src:n,operator:r})}});return n}),define(twinescript/operations,state,datatypes/colour,datatypes/assignmentrequest,utils/operationutils,internaltypes/twineerror,function(e,t,n,r,i){function o(e,t,n,r){return nn||do this to,function(o,a){1t.length&&(ao);var svoid 0;return(si.containsError(o,a))?s:(undefinedtypeof o?undefined:_typeof(o))!e||(undefinedtypeof a?undefined:_typeof(a))!e?i.create(operation,I can only +n+ +e+s, not +m((undefinedtypeof o?undefined:_typeof(o))!e?o:a)+.,r):t(o,a)}}function a(e){return function(t,n){var rvoid 0;return(ri.containsError(t,n))?r:t&&t.varref?i.create(operation,I cant give an expression a new value.):(undefinedtypeof t?undefined:_typeof(t))!(undefinedtypeof n?undefined:_typeof(n))||c(t)!c(n)?l(e,t,n)||i.create(operation,m(t)+ isnt the same type of data as +m(n)):e(t,n)}}function s(e){var tfunction t(n,r){var ovoid 0;if(oi.containsError(n,r))return o;if(yn,n.determiner){var afunction(){var ealln.determiner;return{v:n.array.reduce(function(n,o){var avoid 0,st(o,r);return(ai.containsError(n,s))?a:e?n&&s:n||s},e)}}();if(object(undefinedtypeof a?undefined:_typeof(a)))return a.v}else if(r.determiner){var sfunction(){var eallr.determiner;return{v:r.array.reduce(function(r,o){var avoid 0,st(n,o);return(ai.containsError(r,s))?a:e?r&&s:r||s},e)}}();if(object(undefinedtypeof s?undefined:_typeof(s)))return s.v}return e(n,r)};return t}var ur.isObject,cr.collectionType,lr.coerceToString,fr.is,pr.clone,dr.unique,hr.contains,m(r.typeName,r.objectName),gvoid 0,y0,vIf one of these values is a number, you may want to write a check that it is not 0. Also, if one is a string, you may want to write a check that it is not \\ .;return g{create:function(e){var tObject.create(this);return t.Identifiers{TwineScript_Identifiers:!0,get it(){return y},get time(){return Date.now()-e.timestamp}},t},elidedComparisonOperator:function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;return r.reduce(function(n,r){returnbooleantypeof r?r:ge(n,gt(y,r))},ande)},and:o(boolean,a(function(e,t){return e&&t}),use and to join,v),or:o(boolean,a(function(e,t){return e||t}),use or to join,v),not:o(boolean,function(e){return!e},use not to invert,v),+:a(function(e,t){if(Array.isArray(e))return.concat(_toConsumableArray(e),_toConsumableArray(t));var nvoid 0;return e instanceof Map?(nnew Map(e),t.forEach(function(e,t){return n.set(t,e)}),n):e instanceof Set?new Set(.concat(_toConsumableArray(e),_toConsumableArray(t)).filter(d).map(p)):functiontypeof eTwineScript_+?eTwineScript_+(t):string|number|boolean.includes(undefinedtypeof e?undefined:_typeof(e))?e+t:i.create(operation,I cant use + on +m(e)+.)}),-:a(function(e,t){if(Array.isArray(e))return e.filter(function(e){return!t.some(function(t){return f(e,t)})});if(e instanceof Set){var nfunction(){var n.concat(_toConsumableArray(t));return{v:new Set(.concat(_toConsumableArray(e)).filter(function(e){return!n.some(function(t){return f(e,t)})}))}}();if(object(undefinedtypeof n?undefined:_typeof(n)))return n.v}returnstringtypeof e?e.split(t).join():numbertypeof e?e-t:i.create(operation,I cant use - on +m(e)+.)}),*:o(number,a(function(e,t){return e*t}),multiply),/:o(number,a(function(e,t){return 0t?i.create(operation,I cant divide +m(e)+ by zero.):e/t}),divide),%:o(number,a(function(e,t){return 0t?i.create(operation,I cant modulo +m(e)+ by zero.):e%t}),modulus),:s(o(number,a(function(e,t){return t>e}),do to)),>:s(o(number,a(function(e,t){return e>t}),do > to)),:s(o(number,a(function(e,t){return t>e}),do to)),>:s(o(number,a(function(e,t){return e>t}),do > to)),is:s(f),isNot:s(function(e,t){return!g.is(e,t)}),contains:s(h),isIn:s(function(e,t){return h(t,e)}),where:function(e,t,n){var rvoid 0;return(ri.containsError(e))?r:boolean!typeof e?i.create(operation,This lambdas where clause must evaluate to true or false, not +m(e)+.):e?t:n},makeSpreader:function(e){return{value:e,spreader:!0}},makeAssignmentRequest:function(e,t,r){var oi.containsError(e,t);return o?o:u(e)&&varrefin e?n.create(e,t,r):i.create(operation,I cant store a new value inside +m(e)+.)},setIt:function(e){return i.containsError(e)?e:e.varref?(ye.get(),e):i.create(operation,I cant put a new value into +m(e)+.)},initialiseIt:function(e){ye}},Object.freeze(g)}),define(twinescript/environ,macros,state,utils,datatypes/colour,datatypes/hookset,datatypes/lambda,internaltypes/varref,internaltypes/twineerror,twinescript/operations,function(Macros,State,Utils,Colour,HookSet,Lambda,VarRef,TwineError,OperationsProto){return function(section){object(undefinedtypeof section?undefined:_typeof(section))&§ion||Utils.impossible(TwineScript.environ,no Section argument was given!);var OperationsOperationsProto.create(section);return section.evalfunction(){try{for(var _len5arguments.length,argsArray(_len5),_key50;_len5>_key5;_key5++)args_key5arguments_key5;return eval(args.join())}catch(e){return e}},section}}),define(internaltypes/twinenotifier,jquery,utils,function(e,t){var nt.impossible,r{create:function(e){return e||n(TwineNotifier.create,called with only 1 string.),Object.assign(Object.create(r),{message:e})},render:function(){return e(tw-notifier>).attr(message,this.message)}};return r}),define(section,jquery,utils,utils/selectors,renderer,twinescript/environ,twinescript/operations,state,utils/operationutils,datatypes/changercommand,datatypes/hookset,datatypes/colour,internaltypes/changedescriptor,internaltypes/varscope,internaltypes/twineerror,internaltypes/twinenotifier,function(e,t,n,r,i,o,a,s,u,c,l,f,p,d,h){function m(e,n,r){if(n&&object(undefinedtypeof n?undefined:_typeof(n))&&n.changer){var ithis.renderInto(r.popAttr(source),r,n);if(!i){var ot.insensitiveName(e.attr(name));return void(if,elseif,unless,else.includes(o)&&(e.addClass(false),elseif!o&&(this.stack0.lastHookShown!1)))}}else if(n&&object(undefinedtypeof n?undefined:_typeof(n))&&n.live)x.call(this,r,n.delay,n.event);else{if(n!1)return r.attr(source)&&r.data(hiddenSource,r.popAttr(source)),e.addClass(false),void(this.stack0.lastHookShown!1);n!!0&&e.replaceWith(d.create(datatype,S(n)+ cannot be attached to this hook.,Only Booleans, changer commands, and the (live:) macro can be attached to hooks.).render(e.attr(title)))}this.stack0.lastHookShown!0}function g(t){var nt instanceof e?t0:t,rn.nextSibling;if(r&&(r instanceof Text&&!r.textContent.trim()||br(r.tagName||).toLowerCase())){var ig(r),oi.whitespace,ai.nextElem;return{whitespace:e(r).add(o),nextElem:a}}return{whitespace:e(),nextElem:e(r)}}function y(r){var ithis.eval(r.popAttr(js)||),avoid 0,svoid 0,ce();for(sr;u.isPrototypeOf(i);){var fg(s);if(af.whitespace,sf.nextElem,s0instanceof Text&&+s0.textContent.trim()){var pvoid 0,ys,vg(y);if(pv.whitespace,sv.nextElem,s.is(n.expression)){var bthis.eval(s.popAttr(js));if(d.containsError(b)){ib;break}var wo+(i,b);e(a).add(y).add(p).remove(),id.containsError(w)?d.create(operation,I cant combine +S(i)+ with +S(b)+.):w;continue}}if(s.is(n.hook)){a.remove(),cs;break}r.replaceWith(d.create(syntax,The (+i.macroName+:) command should be assigned to a variable or attached to a hook.,Macros like this should appear to the left of a hook: +r.attr(title)+Some text).render(r.attr(title)));break}cc.length?c:g(r).nextElem.filter(n.hook);var xvoid 0;if(xd.containsError(i))x instanceof Error&&(xd.fromError(x)),r.replaceWith(x.render(r.attr(title),r));else if(h.isPrototypeOf(i))r.append(i.render());else if(!c.length&&(stringtypeof i||numbertypeof i||i instanceof Map||i instanceof Set||Array.isArray(i)||l.isPrototypeOf(i))||i&&i.TwineScript_Print&&!i.changer){if(iT(i),i.earlyExit)returnearlyexit;i instanceof e?r.append(i):d.containsError(i)?(i instanceof Error&&(id.fromError(i)),r.replaceWith(i.render(r.attr(title),r))):this.renderInto(i,r)}else c.length?m.call(this,r,i,c):i.changer||booleantypeof i||t.impossible(Section.runExpression,The expression evaluated to an unknown value: +i.toSource())}function v(e){var te.first()0,ne.parent();if(!n.length)return null;var rn.textNodes().filter(function(e){var ne.compareDocumentPosition(t);return 4&n&&!(8&n)});return rrr.length-1,r?r:v(n)}function b(e){var te.last()0,ne.parent();if(!n.length)return null;var rn.textNodes().filter(function(e){var ne.compareDocumentPosition(t);return 2&n&&!(8&n)})0;return r?r:b(n)}function w(t){function n(t){return 0e(this||t).parentsUntil(tw-collapsed).filter(tw-verbatim, tw-expression, collapsingfalse).length}var rv(t);e(r).parents(tw-collapsed).length||(rnull);var ib(t);e(i).parents(tw-collapsed).length||(inull),t.findAndFilter(br:not(data-raw)).filter(n).replaceWith(document.createTextNode( ));var ot.textNodes(),a0;o.reduce(function(e,t){return n(t)?(t.textContentt.textContent.replace(/\s+/g, ), !t.textContent0||e&&e.textContent&&!(e.textContent.search(/\s$/)>-1)||(t.textContentt.textContent.slice(1)),t):document.createTextNode(A)},r),.concat(_toConsumableArray(o)).reverse().every(function(e){return n(e)?e.textContent.match(/^\s*$/)?(a+e.textContent.length,e.textContent,!0):(e.textContente.textContent.replace(/\s+$/,function(e){return a+e.length,}),!1):!1}),a>0&&i&&(oo.length-1.textContent+ ),t0&&j()&&t0.normalize()}function x(e,t){var rthis,ie.popAttr(source)||;tvoid 0t?20:t;var ofunction o(){r.inDOM()&&(r.renderInto(i,e,{append:replace}),e.find(n.expression+namestop).length||r.inDOM()&&setTimeout(o,t))};setTimeout(o,t)}var Ts.printBuiltinValue,Ss.objectName,Ovoid 0,jfunction(){var tvoid 0;return function(){if(void 0!t)return t;var ne(p>);return n0.normalize?(n.append(document.createTextNode(0-),document.createTextNode(2),document.createTextNode())0.normalize(),t1n.contents().length):t!1}}();return O{create:function(n){n instanceof e&&1n.length||t.impossible(Section.create,called with no DOM element);var rObject.assign(Object.create(this),{timestamp:Date.now(),dom:n||t.storyElement,stack:,enchantments:});return ri(r)},inDOM:function(){return e(t.storyElement).find(this.dom).length>0},evaluateTwineMarkup:function(t){var ne(p>);this.renderInto(t,n);var rvoid 0;return(rn.find(tw-error)).length>0?r:n.text()},renderInto:function(t,r){for(var ithis,of.create({target:r,source:t,section:this}),aarguments.length,sArray(a>2?a-2:0),u2;a>u;u++)su-2argumentsu;s.forEach(function(e){e.changer?e.run(o):Object.assign(o,e)}),ro.target,this.stack.length>50&&d.create(infinite,Printing this expression may have trapped me in an infinite loop.).render(r.attr(title)).replaceAll(r);var cfunction(t,o){var at.render();i.stack.unshift(o);var si;a.findAndFilter(n.hook+,+n.expression).each(function(){var te(this);switch(t.tag()){case n.hook:if(t.attr(hidden)&&(t.removeAttr(hidden),t.data(hiddenSource,t.popAttr(source))),t.attr(source)&&s.renderInto(t.popAttr(source),t),t.find(earlyexit).length)return!1;break;case n.expression:if(t.attr(js)){var ry.call(s,t);returnearlyexitr?(a.attr(earlyexit,!0),!1):r}}}),a.length&&r instanceof e&&r.is(n.hook)&&r.parents(tw-collapsed).length>0&&w(a),a.findAndFilter(n.collapsed).each(function(){w(e(this))}),i.stack.shift()},lObject.create(this.stack.length?this.stack0.tempVariables:p),hr&&r.tag();return l.TwineScript_VariableStoreNamehn.hook?r.attr(name)??+r.attr(name):an unnamed hook:hn.expression?a +r.attr(type)+ expression:hn.passage?this passage:an unknown scope,Object.keys(o.loopVars).length?!function(){for(var eObject.assign({},o.loopVars),tMath.min.apply(Math,_toConsumableArray(Object.keys(e).map(function(t){return et.length})));t>0;t-1)c(o,{tempVariables:Object.keys(e).reduce(function(t,n){return tnen.shift(),t},Object.create(l))})}():c(o,{tempVariables:l}),0this.stack.length&&this.updateEnchantments(),o.enabled},updateEnchantments:function(){this.enchantments.forEach(function(e){e.disenchant(),e.enchantScope()})}},Object.preventExtensions(O)}),define(engine,jquery,utils,utils/selectors,state,section,passages,function(e,t,n,r,i,o){function a(){var te(tw-passage>tw-sidebar>),it.children(n.sidebar);h.permalink&&r.save&&i.append(tw-icon tabindex0 classpermalink titlePermanent link to this passage>a href#+r.save()+>§);var oe(tw-icon tabindex0 classundo titleUndo>↶/tw-icon>).click(d.goBack),ae(tw-icon tabindex0 classredo titleRedo>↷/tw-icon>).click(d.goForward);return r.pastLength0&&o.css(visibility,hidden),r.futureLength0&&a.css(visibility,hidden),i.append(o).append(a),t}function s(e,t){returntw-include type+e+ title+c(t.get(name))+>+t.get(source)+/tw-include>}function u(u){var carguments.length>1&&void 0!arguments1?arguments1:{};t.assertOnlyHas(c,stretch,transitionIn,transitionOut);var do.get(u),mt.storyElement,gm.parent(),yc.stretch,vc.transitionOut,bc.transitionIn;if(vv||instant,g.is(n.enchantment)){var wg.data(enchantedProperties);w&&m.css(w.reduce(function(e,t){return et,e},{})),gm.unwrap().parent()}d&&d instanceof Map&&d.has(source)||l(Engine.showPassage,Theres no passage with the name \+u+!),m.detach();var xt.$(m.children(f));!y&&v&&(p(x,v),x.css(position,absolute));var T(d.get(tags)||).join( ),Sa().appendTo(m).attr({tags:T});m.attr({tags:T});var Oi.create(S),jd.get(source);jo.getTagged(header).map(s.bind(0,header)).join()+(h.debug?o.getTagged(debug-header).map(s.bind(0,debug-header)).join():)+j+o.getTagged(footer).map(s.bind(0,footer)).join()+(h.debug?o.getTagged(debug-footer).map(s.bind(0,debug-footer)).join():),r.pastLength0&&(h.debug&&(jo.getTagged(debug-startup).map(s.bind(0,debug-startup)).join()+j),jo.getTagged(startup).map(s.bind(0,startup)).join()+j),O.renderInto(j,S,{transition:b||dissolve}),g.append(m.parents().length?m.parents().last():m),scroll(0,y?S.offset().top-.05*e(window).height():m.offset().top)}var ct.escape,lt.impossible,ft.passageSelector,pt.transitionOut,dvoid 0,hObject.create(null);return d{goBack:function(){r.rewind()&&u(r.passage)},goForward:function(){r.fastForward()&&u(r.passage)},goToPassage:function(e,t){r.play(e),u(e,{stretch:t})},showPassage:u,options:h},Object.freeze(d)}),define(debugmode,jquery,utils,state,internaltypes/varref,utils/operationutils,engine,function(e,t,n,r,i,o){{var ai.objectName;i.typeName}return function(){function t(t,n,r){var il.children(data-name+t+),oa(n);i.length||(ie(div classvariable-row data-name+t+ data-value+o+>/div>).appendTo(l)),i.empty().append(span classvariable-name +(r?temporary:)+>+t+(r?span classtemporary-variable-scope>+r+/span>:)+/span>span classvariable-value>+a(n)+/span>);var sl.children();c.text(s.length+ Variable+(1!s.length?s:))}function i(){var r;l.children().each(function(i,o){oe(o);var so.attr(data-name),uo.attr(data-value);s.startsWith(TwineScript)||(s in n.variables?(r.push(s),a(n.variabless)!u&&t(s,n.variabless)):o.remove())});for(var i in n.variables)i.startsWith(TwineScript)||r.includes(i)||t(i,n.variablesi)}var se(tw-debugger>div classvariables>/div>Turns: select disabled>/select>button classshow-invisibles>Debug View/button>button classshow-variables enabled>0 Variables/button>/tw-debugger>),us.find(.show-invisibles);u.click(function(){e(document.documentElement).toggleClass(debug-mode),u.toggleClass(enabled)});var cs.find(.show-variables),ls.find(.variables);c.click(function(){lc.is(.enabled)?attr:removeAttr(hidden,),c.toggleClass(enabled)});var fs.find(select);f.change(function(e){var te.target.value,rt-n.pastLength;0!r&&(n0>r?rewind:fastForward(Math.abs(r)),o.showPassage(n.passage))}),n.on(forward,function(t){var rarguments.length>1&&void 0!arguments1?arguments1:!1,in.pastLength;i>1&&f.removeAttr(disabled),r||(f.children().each(function(t,n){t>i&&e(n).remove()}),f.append(option value+i+>+(i+1)+: +t+/option>).val(i))}).on(back,function(){n.pastLength1&&f.attr(disabled),f.find(selected).removeAttr(selected),f.val(n.pastLength)}).on(load,function(e){f.empty(),fe.length1?attr:removeAttr(disabled),e.forEach(function(e,t){return f.append(option value+t+>+(t+1)+: +e.passage+/option>)})}),n.on(forward,i).on(back,i),r.on(set,function(e,r,i){(en.variables||e.TwineScript_VariableStore)&&t(r,i,en.variables?:e.TwineScript_VariableStoreName)}).on(delete,function(e,t){en.variables&&l.find(data-name+t+:not(.temporary)).remove()}),e(document.body).append(s)}}),define(macrolib/values,macros,utils,utils/operationutils,datatypes/colour,internaltypes/twineerror,function(e,t,n,r,i){function o(e){return function(){var te.apply(void 0,arguments);returnnumber!typeof t||isNaN(t)?i.create(macrocall,This mathematical expression doesnt compute!):t}}var at.realWhitespace,st.anyRealLetter,un.subset,cn.objectName,le.TypeSignature,fl.rest,pl.zeroOrMore,dl.Any;e.add(text,string,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return t.join()},p(e.TypeSignature.either(String,Number,Boolean,Array)))(substring,function(e,t,n,r){return u(t,n,r)},String,parseInt,parseInt)(lowercase,function(e,t){return t.toLowerCase()},String)(uppercase,function(e,t){return t.toUpperCase()},String)(lowerfirst,function(e,t){return t.replace(new RegExp(s++),function(e){return eArray.from(e),e0.toLowerCase()+e.slice(1).join().toLowerCase()})},String)(upperfirst,function(e,t){return t.replace(new RegExp(s++),function(e){return eArray.from(e),e0.toUpperCase()+e.slice(1).join().toLowerCase()})},String)(words,function(e,t){return t.split(new RegExp(a++)).filter(Boolean)},String)(num,number,function(e,t){return Number.isNaN(+t)?i.create(macrocall,I couldnt convert +c(t)+ to a number.):+t},String)(rgb,function(){for(var e,t0;t(arguments.length1?0:arguments.length-1);t+1)if(earguments.lengtht+1?void 0:argumentst+1,0>e||e>255)return i.create(macrocall,RGB values must be whole numbers between 0 and 255, not +c(e)+.);return r.create({r:arguments.length1?void 0:arguments1,g:arguments.length2?void 0:arguments2,b:arguments.length3?void 0:arguments3})},parseInt,parseInt,parseInt)(rgba,function(){for(var e,t0;3>t;t+1)if(earguments.lengtht+1?void 0:argumentst+1,0>e||e>255)return i.create(macrocall,RGB values must be whole numbers between 0 and 255, not +c(e)+.);return(arguments.length4?void 0:arguments4)0||(arguments.length4?void 0:arguments4)>1?i.create(macrocall,Alpha values must be numbers between 0 and 1 inclusive, not +c(arguments.length4?void 0:arguments4)+.):r.create({r:arguments.length1?void 0:arguments1,g:arguments.length2?void 0:arguments2,b:arguments.length3?void 0:arguments3,a:arguments.length4?void 0:arguments4})},parseInt,parseInt,parseInt,Number)(hsl,function(e,t,n,o){var a values must be numbers between 0 and 1 inclusive, not ;return 0>n||n>1?i.create(macrocall,Saturation+a+c(n)+.):0>o||o>1?i.create(macrocall,Lightness+a+c(o)+.):(tMath.round(t)%360,0>t&&(t+360),r.create({h:t,s:n,l:o}))},Number,Number,Number)(hsla,function(e,t,n,o,a){var s values must be numbers between 0 and 1 inclusive, not ;return 0>n||n>1?i.create(macrocall,Saturation+s+c(n)+.):0>o||o>1?i.create(macrocall,Lightness+s+c(o)+.):0>a||a>1?i.create(macrocall,Alpha+s+c(o)+.):(tMath.round(t)%360,0>t&&(t+360),r.create({h:t,s:n,l:o,a:a}))},Number,Number,Number,Number),{weekday:function(){returnSun,Mon,Tues,Wednes,Thurs,Fri,Satur(new Date).getDay()+day},null,monthday:function(){return(new Date).getDate()},null,currenttime:function(){var enew Date,te.getHours()12,ne.getHours()%12||12,r(e.getMinutes()10?0:)+e.getMinutes();return n+:+r+ +(t?A:P)+M},null,currentdate:function(){return(new Date).toDateString()},null,min:Math.min,f(Number),max:Math.max,f(Number),abs:Math.abs,Number,sign:Math.sign,Number,sin:Math.sin,Number,cos:Math.cos,Number,tan:Math.tan,Number,floor:Math.floor,Number,round:Math.round,Number,ceil:Math.ceil,Number,pow:o(Math.pow),Number,Number,exp:Math.exp,Number,sqrt:o(Math.sqrt),Number,log:o(Math.log),Number,log10:o(Math.log10),Number,log2:o(Math.log2),Number,random:function(e,t){var nvoid 0,rvoid 0;return t?(nMath.min(e,t),rMath.max(e,t)):(n0,re),r+1,~~(Math.random()*(r-n))+n},parseInt,e.TypeSignature.optional(parseInt),either:function(){var e;return e~~(Math.random()*arguments.length),arguments.lengthe?void 0:argumentse},f(d),:function(){var tthis;Object.keys(this).forEach(function(n){n&&!function(){var rtn0,itn1;e.add(n,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return r.apply(void 0,t)},i)}()})}}()}),function(e){!function(){if(!e.requestAnimationFrame){if(e.webkitRequestAnimationFrame)return e.requestAnimationFramee.webkitRequestAnimationFrame,void(e.cancelAnimationFramee.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame);var t0;e.requestAnimationFramefunction(n){var r(new Date).getTime(),iMath.max(0,16-(r-t)),oe.setTimeout(function(){n(r+i)},i);return tr+i,o},e.cancelAnimationFramefunction(e){clearTimeout(e)}}}(),functiontypeof define&&define(requestAnimationFrame,,function(){return e.requestAnimationFrame})}(window),define(macrolib/commands,requestAnimationFrame,macros,utils,state,passages,engine,internaltypes/twineerror,datatypes/hookset,utils/operationutils,function(e,t,n,r,i,o,a,s,u){function c(e){return(+e+ +o.options.ifid+) }var ln.toJSLiteral,fn.unescape,pu.printBuiltinValue,dt.TypeSignature,hd.Any,md.rest,gd.optional,y!!localStorage&&function(){try{return localStorage.setItem(test,1),localStorage.removeItem(test),!0}catch(e){return!1}}();t.add(display,function(e,t){return{TwineScript_ObjectName:a (display: +l(t)+) command,TwineScript_TypeName:a (display:) command,TwineScript_Print:function(){return i.has(t)?f(i.get(t).get(source)):a.create(macrocall,I cant (display:) the passage +t+ because it doesnt exist.)}}},String)(print,function(e,t){return{TwineScript_ObjectName:a (print:) command,TwineScript_TypeName:a (print:) command,TwineScript_Print:function(){return p(t)}}},h)(show,function(e){for(var targuments.length,nArray(t>1?t-1:0),r1;t>r;r++)nr-1argumentsr;return{TwineScript_ObjectName:a (show:) command,TwineScript_TypeName:a (show:) command,TwineScript_Print:function(){return n.forEach(function(t){return t.forEach(e,function(t){var nt.data(hiddenSource);return void 0n?a.create(operation,I cant reveal a hook which is already visible.):void e.renderInto(n,t)})}),}}},m(s))(goto,function(t,n){return{TwineScript_ObjectName:a (go-to: +l(n)+) command,TwineScript_TypeName:a (go-to:) command,TwineScript_Print:function(){return i.has(n)?(e(function(){return o.goToPassage(n)}),{earlyExit:1}):a.create(macrocall,I cant (go-to:) the passage +n+ because it doesnt exist.)}}},String)(goto-transition,function(t,n,r){return{TwineScript_ObjectName:a (goto-transition: +l(n)+,+l(r)+) command,TwineScript_TypeName:a (goto-transition:) command,TwineScript_Print:function(){return i.has(n)?(e(function(){return o.goToPassage(n,{transitionIn:r,transitionOut:r})}),{earlyExit:1}):a.create(macrocall,I cant (goto-transition:) the passage +r+ because it doesnt exist.)}}},String,String)(undo,function(){return{TwineScript_ObjectName:a (undo:) command,TwineScript_TypeName:a (undo:) command,TwineScript_Print:function(){return r.pastLength1?a.create(macrocall,I cant (undo:) on the first turn.):(e(function(){return o.goBack()}),{earlyExit:1})}}},)(live,function(e,t){return{TwineScript_ObjectName:a (live: +t+) command,TwineScript_TypeName:a (live:) command,live:!0,delay:t}},g(Number))(stop,function(){return{TwineScript_ObjectName:a (stop:) command,TwineScript_TypeName:a (stop:) command,TwineScript_Print:function(){return}}},)(savegame,function(e,t,n){if(nn||,!y)return!1;var ir.serialise();if(a.containsError(i))return i;try{return localStorage.setItem(c(Saved Game)+t,i),localStorage.setItem(c(Saved Game Filename)+t,n),!0}catch(e){return!1}},String,g(String))(loadgame,function(t,n){return{TwineScript_ObjectName:a (load-game:) command,TwineScript_TypeName:a (load-game:) command,TwineScript_Print:function(){var tlocalStorage.getItem(c(Saved Game)+n);return t?(r.deserialise(t),e(o.showPassage.bind(o,r.passage,!1)),{earlyExit:1}):a.create(saving,I cant find a save slot named +n+!)}}},String)(alert,function(e,t){return{TwineScript_ObjectName:an (alert:) command,TwineScript_TypeName:an (alert:) command,TwineScript_Print:function(){return window.alert(t),}}},String)(prompt,function(e,t,n){return window.prompt(t,n)||},String,String)(confirm,function(e,t){return window.confirm(t)},String)(openURL,function(e,t){return{TwineScript_ObjectName:an (open-url:) command,TwineScript_TypeName:an (open-url:) command,TwineScript_Print:function(){return window.open(t,),}}},String)(reload,function(){return{TwineScript_ObjectName:a (reload:) command,TwineScript_TypeName:a (reload:) command,TwineScript_Print:function(){return r.pastLength1?a.create(infinite,I mustnt (reload:) the page in the starting passage.):(window.location.reload(),{earlyExit:1})}}},)(gotoURL,function(e,t){return{TwineScript_ObjectName:a (goto-url:) command,TwineScript_TypeName:a (goto-url:) command,TwineScript_Print:function(){return window.location.assign(t),{earlyExit:1}}}},String)(pageURL,function(){return window.location.href},)}),define(macrolib/datastructures,jquery,utils/naturalsort,macros,utils/operationutils,state,engine,passages,datatypes/lambda,datatypes/assignmentrequest,internaltypes/twineerror,internaltypes/twinenotifier,function(e,t,n,r,i,o,a,s,u,c,l){var fr.objectName,p(r.typeName,r.subset),dr.collectionType,hr.isValidDatamapName,mr.is,gr.unique,yr.clone,vn.TypeSignature,bv.optional,wv.rest,xv.either,Tv.zeroOrMore,Sv.Any;n.add(set,function(){for(var e,t0;t(arguments.length1?0:arguments.length-1);t+1){var narguments.lengtht+1?void 0:argumentst+1;if(inton.operator)return c.create(macrocall,Please say to when using the (set:) macro.);var rvoid 0;if(n.src&&n.src.varref){var in.src.get(),avoid 0;if(ac.containsError(i))return a;rn.dest.set(i)}else rn.dest.set(n.src);if(c.isPrototypeOf(r))return r;o.options.debug&&(e+(e?; :)+f(n.dest)+ is now +f(n.src))}return{TwineScript_TypeName:a (set:) operation,TwineScript_ObjectName:a (set:) operation,TwineScript_Unstorable:!0,TwineScript_Print:function(){return e&&l.create(e).render()}}},w(u))(put,function(){for(var e,t0;t(arguments.length1?0:arguments.length-1);t+1){var narguments.lengtht+1?void 0:argumentst+1;if(into!n.operator)return c.create(macrocall,Please say into when using the (put:) macro.);var rn.dest.set(n.src);if(c.isPrototypeOf(r))return r;o.options.debug&&(e+(e?; :)+f(n.dest)+ is now +f(n.src))}return{TwineScript_TypeName:a (put:) operation,TwineScript_ObjectName:a (put:) operation,TwineScript_Unstorable:!0,TwineScript_Print:function(){return e&&l.create(e).render()}}},w(u))(move,function(){for(var e,t0;t(arguments.length1?0:arguments.length-1);t+1){var narguments.lengtht+1?void 0:argumentst+1;if(into!n.operator)return c.create(macrocall,Please say into when using the (move:) macro.);var rvoid 0,ivoid 0;if(n.src&&n.src.varref){var an.src.get();if(ic.containsError(a))return i;if(rn.dest.set(a),ic.containsError(r))return i;n.src.delete()}else if(rn.dest.set(n.src),ic.containsError(r))return i;o.options.debug&&(e+(e?; :)+f(n.dest)+ is now +f(n.src))}return{TwineScript_TypeName:a (move:) operation,TwineScript_ObjectName:a (move:) operation,TwineScript_Unstorable:!0,TwineScript_Print:function(){return e&&l.create(e).render()}}},w(u))(a,array,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return t},T(S))(range,function e(t,n,r){if(n>r)return e(t,r,n);var in;for(r-n;r-->0;)i.push(++n);return i},parseInt,parseInt)(subarray,function(e,t,n,r){return p(t,n,r)},Array,parseInt,parseInt)(shuffled,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return t.reduce(function(e,t,n){var rMath.random()*(n+1)|0;return rn?e.push(t):(e.push(er),ert),e},).map(y)},S,w(S))(sorted,function(){for(var earguments.length,nArray(e>1?e-1:0),r1;e>r;r++)nr-1argumentsr;return n.sort(t(en))},x(Number,String),w(x(Number,String)))(rotated,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;return t*-1,0t?c.create(macrocall,I cant rotate these values by 0 positions.):Math.abs(t)>r.length?c.create(macrocall,I cant rotate these +r.length+ values by +t+ positions.):r.slice(t).concat(r.slice(0,t)).map(y)},parseInt,S,w(S))(repeated,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;if(0>t)return c.create(macrocall,I cant repeat these values +t+ times.);for(var o;t-->0;)o.push.apply(o,r);return o.map(y)},parseInt,w(S))(interlaced,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;for(var rMath.min.apply(Math,_toConsumableArray(t.map(function(e){return e.length}))),i,o0;r>o;o+1)for(var a0;at.length;a+1)i.push(y(tao));return i},Array,w(Array)),n.add(altered,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;return r.map(function(n){return t.apply(e,{loop:n})})},s.TypeSignature(via),w(S))(find,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;return t.filter(e,r)},s.TypeSignature(where),w(S))(all-pass,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;var ot.filter(e,r);return c.containsError(o)||o.lengthr.length},s.TypeSignature(where),w(S))(some-pass,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;var ot.filter(e,r);return c.containsError(o)||o.length>0},s.TypeSignature(where),w(S))(none-pass,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;var ot.filter(e,r);return c.containsError(o)||0o.length},s.TypeSignature(where),w(S))(folded,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;returnwherein t&&(rt.filter(e,r)),c.containsError(r)||r.reduce(function(n,r){return t.apply(e,{making:n,loop:r})})},x(s.TypeSignature(where via making),s.TypeSignature(via making)),w(S)),n.add(datanames,function(e,n){return Array.from(n.keys()).sort(t(en))},Map)(datavalues,function(e,n){return Array.from(n.entries()).sort(function(e,n){returne0,n0.sort(t(en))0e0?-1:1}).map(function(e){return y(e1)})},Map)(dataentries,function(e,n){return Array.from(n.entries()).sort(function(e,n){returne0,n0.sort(t(en))0e0?-1:1}).map(function(e){return new Map(name,e0,value,y(e1))})},Map)(history,function(){return i.pastPassageNames()},)(passage,function(e,t){return y(a.get(t||i.passage))||c.create(macrocall,Theres no passage named +t+ in this story.)},b(String))(savedgames,function(){function e(e){return(+e+ +o.options.ifid+) }var t0,nvoid 0,rnew Map;do{nlocalStorage.key(t),t+1;var ie(Saved Game);n&&n.startsWith(i)&&(nn.slice(i.length),r.set(n,localStorage.getItem(e(Saved Game Filename)+n)))}while(n);return r},)(datamap,dm,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;var rvoid 0,inew Map,ot.reduce(function(e,t){var nvoid 0;if(c.containsError(e))return e;if(void 0r)rt;else{if(nc.containsError(h(i,r)))return n;if(i.has(r))return c.create(macrocall,You used the same data name (+f(r)+) twice in the same (datamap:) call.);i.set(r,y(t)),rvoid 0}return e},!0);return c.containsError(o)?o:void 0!r?c.create(macrocall,This datamap has a data name without a value.):i},T(S))(dataset,ds,function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return new Set(t.filter(g).map(y))},T(S))(count,function e(t,n){for(var rarguments.length,iArray(r>2?r-2:0),o2;r>o;o++)io-2argumentso;if(i.length>1){var avoid 0,si.map(function(r){return e(t,n,r)});return(ac.containsError(s))?a:s.reduce(function(e,t){return e+t},0)}var ui0;switch(d(n)){casedataset:casedatamap:return c.create(macrocall,(count:) shouldnt be given a datamap or dataset.,You should use the contains operator instead. For instance, write: $variable contains value.);casestring:returnstring!typeof u?c.create(macrocall,f(n)+ cant contain +f(u)+ because it isnt a string.):u?n.split(u).length-1:0;casearray:return n.reduce(function(e,t){return e+m(t,u)},0);default:return c.create(macrocall,f(n)+ cant contain values, let alone +f(u)+.)}},S,w(S))}),define(macrolib/stylechangers,jquery,macros,utils,utils/selectors,datatypes/colour,datatypes/changercommand,datatypes/lambda,internaltypes/changedescriptor,internaltypes/twineerror,function(e,t,n,r,i,o,a,s,u){var ct.TypeSignature,lc.either,fc.wrapped,pc.rest,dc.Any,hf(Boolean,If you gave a number, you may instead want to check that the number is not 0. If you gave a string, you may instead want to check that the string is not .);e(function(){return e(n.storyElement).on(mouseenter.hover-macro,hoverfalse,function(){var te(this),nt.data(hoverChanger);t.data({mouseoutStyle:t.attr(style)||}),s.create({target:t},n).update(),t.attr(hover,!0)}).on(mouseleave.hover-macro,hovertrue,function(){var te(this),nt.data(mouseoutStyle);t.attr(style,n).removeData(mouseoutStyle).attr(hover,!1)})});var mdissolve,shudder,pulse;t.addChanger(if,function(e,t){return o.create(if,t)},function(e,t){return e.enablede.enabled&&t},h)(unless,function(e,t){return o.create(unless,!t)},function(e,t){return e.enablede.enabled&&t},h)(elseif,function(e,t){returnlastHookShownin e.stack0?o.create(elseif,e.stack0.lastHookShown!1&&!!t):u.create(macrocall,Theres no (if:) or something else before this to do (else-if:) with.)},function(e,t){return e.enablede.enabled&&t},h)(else,function(e){returnlastHookShownin e.stack0?o.create(else,e.stack0.lastHookShown!1):u.create(macrocall,Theres nothing before this to do (else:) with.)},function(e,t){return e.enablede.enabled&&t},null)(hidden,function(){return o.create(hidden)},function(e){return e.enabled!1},null)(hook,function(e,t){return o.create(hook,t)},function(e,t){return e.attr.push({name:t})},String)(for,loop,function(e,t){for(var narguments.length,rArray(n>2?n-2:0),i2;n>i;i++)ri-2argumentsi;return t.loop?o.create(for,t,r):u.create(macrocall,The lambda provided to (for:) must refer to a temp variable, not just it.)},function(e,t,n){return e.loopVarst.loopt.filter(e.section,n)},a.TypeSignature(where),p(d))(transition,t8n,function(e,t){return tn.insensitiveName(t),-1m.indexOf(t)?u.create(macrocall,+t+ is not a valid (transition:),Only the following names are recognised (capitalisation and hyphens ignored): +m.join(, )):o.create(transition,t)},function(e,t){return e.transitiont,e},String)(transition-time,t8n-time,function(e,t){return 0>t?u.create(macrocall,(transition-time:) should be a positive number of (milli)seconds, not +t):o.create(transition-time,t)},function(e,t){return e.transitionTimet,e},Number)(font,function(e,t){return o.create(font,t)},function(e,t){return e.styles.push({font-family:t}),e},String)(align,function(e,t){var nvoid 0,rt.indexOf(>);if(!/^(+>|+|+>+|+>)$/.test(t))return u.create(macrocall,The (align:) macro requires an alignment arrow (>, , > etc.) be provided, not +t+);if(~r){var iMath.round(r/(t.length-2)*50);nObject.assign({text-align:center,max-width:50%},25i?{margin-left:auto,margin-right:auto}:{margin-left:i+%})}else nt0&&>t.slice(-1)?{text-align:justify,max-width:50%}:t.includes(>)?{text-align:right}:{text-align:left};return n.displayblock,o.create(align,n)},function(e,t){e.styles.push(t)},String)(text-colour,text-color,color,colour,function(e,t){return i.isPrototypeOf(t)&&(tt.toRGBAString(t)),o.create(text-colour,t)},function(e,t){return e.styles.push({color:t}),e},l(String,i))(text-rotate,function(e,t){return o.create(text-rotate,t)},function(t,n){return t.styles.push({display:inline-block,transform:function(){var te(this).css(transform)||;returnnonet&&(t),t+ rotate(+n+deg)}}),t},Number)(background,function(e,t){return i.isPrototypeOf(t)&&(tt.toRGBAString(t)),o.create(background,t)},function(t,r){var ovoid 0;return oi.isHexString(r)||i.isCSS3Function(r)?{background-color:r}:{background-size:cover,background-image:url(+r+)},t.styles.push(o,{display:function(){return n.childrenProbablyInline(e(this))?initial:block}}),t},l(String,i)).apply(void 0,_toConsumableArray(function(){var t{color:transparent},rObject.assign(Object.create(null),{none:{},bold:{font-weight:bold},italic:{font-style:italic},underline:{text-decoration:underline},strike:{text-decoration:line-through},superscript:{vertical-align:super,font-size:.83em},subscript:{vertical-align:sub,font-size:.83em},blink:{animation:fade-in-out 1s steps(1,end) infinite alternate},shudder:{animation:shudder linear 0.1s 0s infinite,display:inline-block},mark:{background-color:hsla(60, 100%, 50%, 0.6)},condense:{letter-spacing:-0.08em},expand:{letter-spacing:0.1em},outline:{text-shadow:function(){var te(this).css(color);return-1px -1px 0 +t+, 1px -1px 0 +t+,-1px 1px 0 +t+, 1px 1px 0 +t}},{color:function(){for(var te(this);t.length&&t0!document;tt.parent()){var nt.css(background-color);if(transparent!n&&!n.match(/^\w+a\(.+?,\s*0\s*\)$/))return n}return#fff}},shadow:{text-shadow:function(){return0.08em 0.08em 0.08em +e(this).css(color)}},emboss:{text-shadow:function(){return0.08em 0.08em 0em +e(this).css(color)}},smear:{text-shadow:function(){var te(this).css(color);return0em 0em 0.02em +t+,-0.2em 0em 0.5em +t+, 0.2em 0em 0.5em +t}},t,blur:{text-shadow:function(){return0em 0em 0.08em +e(this).css(color)}},t,blurrier:{text-shadow:function(){return0em 0em 0.2em +e(this).css(color)},user-select:none},t,mirror:{display:inline-block,transform:scaleX(-1)},upsidedown:{display:inline-block,transform:scaleY(-1)},fadeinout:{animation:fade-in-out 2s ease-in-out infinite alternate},rumble:{animation:rumble linear 0.1s 0s infinite,display:inline-block}});returntext-style,function(e,t){return tn.insensitiveName(t),t in r?o.create(text-style,t):u.create(macrocall,+t+ is not a valid (text-style:),Only the following names are recognised (capitalisation and hyphens ignored): +Object.keys(r).join(, ))},function(e,t){return n.assertMustHave(r,t),e.stylesnonet?:e.styles.concat(rt),e}}()).concat(String))(hover-style,function(e,t){var ns.create(),r(t.run(n),n.summary());return r+styles||r.every(function(e){returnstylese||attre})&&n.attr.every(function(e){return Object.keys(e)+style})?o.create(hover-style,t):u.create(macrocall,The changer given to (hover-style:) must only change the hooks style.)},function(e,t){return e.data.hoverChangert,e.attr.push({hover:!1}),e},o)(css,function(e,t){return t.trim().endsWith(;)||(t+;),o.create(css,t)},function(t,n){return t.attr.push({style:function(){return(e(this).attr(style)||)+n}}),t},String)}),define(internaltypes/enchantment,jquery,utils,internaltypes/changedescriptor,function(e,t,n){var r{create:function(n){return t.assertOnlyHas(n,scope,section,attr,data,changer,functions),Object.assign(Object.create(this),{enchantments:e()},n)},enchantScope:function(){var rthis,ithis.attr,othis.data,athis.functions,sthis.section,uthis.changer,cthis.scope;c instanceof e&&(cArray.prototype.map.call(c,function(t){return e(t)})),this.enchantmentse(),c.forEach(s,function(e){var ce.wrapAll(tw-enchantment>).parent();if(i&&c.attr(i),o&&c.data(o),a&&a.forEach(function(e){return e(c)}),u){var ln.create({section:s,target:c});if(u.run(l),l.update(),e.is(t.storyElement)){var fObject.keys(Object.assign.apply(Object,{}.concat(_toConsumableArray(l.styles))));e.css(f.reduce(function(e,t){return etinherit,e},{})),c.data({enchantedProperties:f})}}e.is(t.storyElement)&&c.css({width:100%,height:100%}),r.enchantmentsr.enchantments.add(c)})},disenchant:function(){this.enchantments.each(function(){var ne(this).contents();n.unwrap();var re(this).data(enchantedProperties);r&&n.has(t.storyElement)&&t.storyElement.css(r.reduce(function(e,t){return et,e},{}))})}};return Object.freeze(r)}),define(macrolib/enchantments,jquery,utils,utils/selectors,utils/operationutils,macros,datatypes/hookset,datatypes/changercommand,internaltypes/enchantment,internaltypes/twineerror,function(e,t,n,r,i,o,a,s,u){function c(n,r){return e(function(){t.storyElement.on(n.event+.enchantment,.+n.classList.replace(/ /g,.),function(){var te(this),nt.data(enchantmentEvent);n&&n(t)})}),function(){for(var earguments.length,tArray(e>1?e-1:0),n1;e>n;n++)tn-1argumentsn;return t.every(Boolean)?a.create(r,t.map(o.from)):u.create(datatype,A string given to this (+r+:) macro was empty.)},function(e,t){e.enabled!1,n.rerender&&(e.newTargets(e.newTargets||).concat({target:t,append:n.rerender}));var rs.create({functions:function(e){e.attr(class,e.children().is(tw-story, tw-sidebar, tw-passage)?n.blockClassList:n.classList)},attr:(n.classList+).match(/\b(?:link|enchantment-clickblock)\b/)?{tabIndex:0}:{},data:{enchantmentEvent:function(){if(n.once){var te.section.enchantments.indexOf(r);e.section.enchantments.splice(t,1),r.disenchant()}e.section.renderInto(e.source,null,Object.assign({},e,{enabled:!0}))}},scope:t,section:e.section});return e.section.enchantments.push(r),r.enchantScope(),e},p(o,String)}var lr.is,fi.TypeSignature,pf.either,df.rest;i.add(enchant,function(e,t,n){return{TwineScript_ObjectName:an (enchant:) command,TwineScript_TypeName:an (enchant:) command,TwineScript_Print:function(){var rn.summary();if(r.includes(newTargets)||r.includes(target))return u.create(macrocall,The changer given to (enchant:) cant include a revision command like (replace:) or (append:).);var is.create({scope:o.from(t),changer:n,section:e});return e.enchantments.push(i),i.enchantScope(),}}},p(o,String),a);var hreplace,append,prepend;h.forEach(function(t){i.addChanger(t,function(){for(var earguments.length,nArray(e>1?e-1:0),r1;e>r;r++)nr-1argumentsr;return n.every(Boolean)?a.create(t,n.map(o.from)):u.create(datatype,A string given to this (+t+:) macro was empty.)},function(n){for(var r,iarguments.length,oArray(i>1?i-1:0),a1;i>a;a++)oa-1argumentsa;var se(n.target).parents().filter(tw-collapsed).length>0;return s||(n.attr.concat(_toConsumableArray(n.attr),{collapsing:!1})),n.newTargetsn.newTargets||,(rn.newTargets).push.apply(r,_toConsumableArray(o.filter(function(e){return!n.newTargets.some(function(n){var rn.target,in.append;return l(e,r)&&ti})}).map(function(e){return{target:e,append:t}}))),n},d(p(o,String)))}),e(function(){t.storyElement.on(click.enchantment,function(){Array.from(e(this).parents(.enchantment-clickblock)).sort(function(e,t){return 8&e.compareDocumentPosition(t)?1:-1}).forEach(function(t){var ne(t).data(enchantmentEvent);n&&n()})})});var m{name:click,enchantDesc:{event:click,once:!0,rerender:,classList:link enchantment-link,blockClassList:enchantment-clickblock}},{name:mouseover,enchantDesc:{event:mouseenter,once:!0,rerender:,classList:enchantment-mouseover}},{name:mouseout,enchantDesc:{event:mouseleave,once:!0,rerender:,classList:enchantment-mouseout}};m.forEach(function(e){return i.addChanger.apply(i,e.name.concat(_toConsumableArray(c(e.enchantDesc,e.name))))}),h.forEach(function(e){m.forEach(function(t){var nObject.assign({},t.enchantDesc,{rerender:e}),rt.name+-+e;i.addChanger.apply(i,r.concat(_toConsumableArray(c(n,r))))})})}),define(macrolib/links,jquery,macros,utils,utils/selectors,state,passages,engine,datatypes/changercommand,internaltypes/twineerror,function(e,t,n,r,i,o,a,s,u){var ct.TypeSignature.optional,lLinks cant have empty strings for their displayed text.;e(function(){return e(n.storyElement).on(click.passage-link,r.internalLink,function(){var te(this),nt.parent().data(clickEvent);if(n)return void n(t);var rt.attr(passage-name);return r?void a.goToPassage(r,!1):t.is(undo)?void a.goBack():void 0})}),link,link-replace,link-reveal,link-repeat.forEach(function(e){return t.addChanger(e,function(t,n){return n?s.create(e0,n):u.create(macrocall,l)},function(t,n){t.innerSource||(t.innerSourcet.source),t.sourcetw-link tabindex0>+n+/tw-link>,t.appendlinke0?replace:append,t.data.clickEventfunction(n){t.sourcet.innerSource,t.section.renderInto(t.innerSource+,null,t),link-reveale0&&n.contents().unwrap()}},String)}),t.add(link-goto,function(t,r,a){return r?{TwineScript_TypeName:a (link-goto: +n.toJSLiteral(r)+, +n.toJSLiteral(a)+) command,TwineScript_ObjectName:a (link-goto:) command,TwineScript_Print:function(){var st.evaluateTwineMarkup(n.unescape(a||r));if(s instanceof e)return s;if(!o.has(s))returntw-broken-link passage-name+n.escape(s)+>+(r||a)+/tw-broken-link>;var ui.passageNameVisited(s);returntw-link tabindex0 +(u>0?classvisited :)+passage-name+n.escape(s)+>+(r||a)+/tw-link>}}:u.create(macrocall,l)},String,c(String))(link-undo,function(e,t){return t?{TwineScript_ObjectName:a (link-undo:+n.toJSLiteral(t)+) command,TwineScript_TypeName:a (link-undo:) command,TwineScript_Print:function(){return i.pastLength1?u.create(macrocall,I cant use (link-undo:) on the first turn.):tw-link tabindex0 undo>+t+/tw-link>}}:u.create(macrocall,l)},String)}),define(repl,utils,markup,twinescript/compiler,twinescript/environ,function(e,t,n,r){window.REPLfunction(e){var in(t.lex((print:+e+)));console.log(i);var or({}).eval(i);return o.TwineScript_Print?o.TwineScript_Print():o},window.LEXfunction(e){var nt.lex(e);return 1n.length?n0:n}}),require.config({paths:{jquery:../node_modules/jquery/dist/jquery,almond:../node_modules/almond/almond,es6-shim:../node_modules/es6-shim/es6-shim,requestAnimationFrame:../node_modules/requestanimationframe/app/requestAnimationFrame,jqueryplugins:utils/jqueryplugins,markup:./markup/markup,lexer:./markup/lexer,patterns:./markup/patterns},deps:jquery,es6-shim,jqueryplugins}),require(jquery,debugmode,renderer,state,engine,passages,utils/selectors,macros,macrolib/values,macrolib/commands,macrolib/datastructures,macrolib/stylechangers,macrolib/enchantments,macrolib/links,repl,function($,DebugMode,Renderer,State,Engine,Passages,Selectors){function _eval(text){return eval(text+)}var _installHandlersfunction(){var e$(document.documentElement);e.on(keydown,function(e){13e.which&&0e.target.getAttribute(tabindex)&&$(e.target).trigger(click)}),Engine.options.debug&&DebugMode(),_installHandlersnull};!function(e){window.onerrorfunction(t,n,r,i,o){var ao&&o.stack&&\n+o.stack.replace(/\(^\)+\)/g,)+\n||(+t+)\n;alert(Sorry to interrupt, but this pages code has got itself in a mess. +a+(This is probably due to a bug in the Harlowe game engine.)),window.onerrore,functiontypeof e&&e.apply(void 0,arguments)}}(window.onerror),$(function(){var e$(Selectors.storyData);if(0!e.length){var te.attr(options);t&&t.split(/\s/).forEach(function(e){Renderer.optionseEngine.optionse!0});var ne.attr(startnode);return Renderer.options.ifidEngine.options.ifide.attr(ifid),n||(n.reduce.call($(Selectors.passageData),function(e,t){var nt.getAttribute(pid);return e>n?n:e},1/0)),n$(Selectors.passageData+pid+n+).attr(name),_installHandlers(),$(Selectors.script).each(function(e){try{_eval($(this).html())}catch(t){alert(There is a problem with this storys script (#+(e+1)+):\n\n+t.message)}}),$(Selectors.stylesheet).each(function(e){$(document.head).append(style data-titleStory stylesheet +(e+1)+>+$(this).html())}),window.location.hash&&!window.location.hash.includes(stories)&&State.load(window.location.hash)?void Engine.showPassage(State.passage):void Engine.goToPassage(n)}})}),define(harlowe,function(){}),require(harlowe)}();/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]