CINXE.COM
PubChem
<!DOCTYPE html> <html lang="en"> <head> <meta name="robots" content="index,follow,noarchive"> <meta charset="UTF-8"> <title>PubChem</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "name": "PubChem", "url": "https://pubchem.ncbi.nlm.nih.gov", "logo": "https://pubchem.ncbi.nlm.nih.gov/pcfe/logo/PubChem_logo.png", "foundingDate": "2004" } </script> <link rel="apple-touch-icon" sizes="180x180" href="/pcfe/favicon/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/pcfe/favicon/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/pcfe/favicon/favicon-16x16.png"> <link rel="manifest" href="/pcfe/favicon/manifest.json"> <link rel="mask-icon" href="/pcfe/favicon/safari-pinned-tab.svg" color="#0071bc"> <link rel="shortcut-icon" href="/pcfe/favicon/favicon.ico"> <link rel="preconnect" href="https://www.ncbi.nlm.nih.gov"> <link rel="preconnect" href="https://www.ncbi.nlm.nih.gov" crossorigin> <meta name="application-name" content="PubChem"> <meta name="msapplication-TileColor" content="#0071bc"> <meta name="msapplication-config" content="/pcfe/favicon/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> <meta property="og:title" content="PubChem"> <meta property="og:url" content="https://pubchem.ncbi.nlm.nih.gov/"> <meta property="og:image" content="https://pubchem.ncbi.nlm.nih.gov/pcfe/logo/PubChem_logo_splash.png"> <meta property="og:type" content="website"> <meta property="og:title" content="PubChem"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="628"> <meta property="og:description" content="PubChem is the world's largest collection of freely accessible chemical information. Search chemicals by name, molecular formula, structure, and other identifiers. Find chemical and physical properties, biological activities, safety and toxicity information, patents, literature citations and more."> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="PubChem"> <meta name="ncbi_db" content="pubchem"> <meta name="ncbi_pinger_ga_track" content="true"> <meta name="ncbi_pinger_track_stat" content="true"> <meta name="ncbi_pinger_section_duration" content="false"> <meta name="ncbi_app" content="pc-search"> <meta name="ncbi_pdid" content="home-search-interface"> <meta name="pubchem_tracking_category" content="home-search-app"> <meta name="google-site-verification" content="Krle6l-D_oS3d_gshIhpw3A34jPi0cLruyz88eiYljY"> <meta name="description" content="Search and explore chemical information in the world's largest free chemistry database. Search chemicals by name, molecular formula, structure, and other identifiers. Find chemical and physical properties, biological activities, safety and toxicity information, patents, literature citations and more."> <link rel="canonical" href="https://pubchem.ncbi.nlm.nih.gov/"> <style>html{box-sizing:border-box;text-size-adjust:100%}*,::after,::before{box-sizing:inherit}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Oxygen-Sans,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue","Source Sans Pro",sans-serif;font-size:16px;color:#212121;line-height:1.15;margin:0;background-color:#fff;min-width:300px}@media screen and (max-width:300px){body{overflow-x:auto}}@media print{body{font-size:12px}}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}b,strong{font-weight:bolder}code{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}a,h1,h2,h3,h4,h5,h6,i,li,p{word-break:break-word;word-wrap:break-word;overflow-wrap:break-word}p{margin:0}h1,h2,h3,h4,h5,h6{color:#5b616b;font-weight:500;margin:0;padding:0}h1{font-size:3em}h2{font-size:1.75em}h3{font-size:1.5em}h4{font-size:1.25em}h5,h6{font-size:1em}.a-like,a{color:#0071bc;text-decoration:none}.a-like svg,a svg{fill:#0071bc}.a-like:hover,a:hover{color:#20558a}.a-like:hover svg,a:hover svg{fill:#20558a}.a-like:visited,a:visited{color:#4c2c92;text-decoration:none}.a-like:visited svg,a:visited svg{fill:#4c2c92}.a-like:visited:hover,a:visited:hover{color:#20558a}.a-like:visited:hover svg,a:visited:hover svg{fill:#20558a}.a-like:focus,a:focus{outline-style:dotted;outline-width:2px;outline-color:#d6d7d9;outline-offset:-1px}.a-like.inline-block,a.inline-block{border-radius:2px;outline-offset:-1px}.a-like.block,a.block{outline-offset:-1px}a.text-cursor{cursor:text}a.no-hover-underline{text-decoration:none!important}a.no-hover-underline:hover{text-decoration:none!important}a.underline{text-decoration:underline}.underline-links a{text-decoration:underline}.hover-underline-links a:hover{text-decoration:underline!important}.block-links a{display:block!important}table{font-size:.875em;width:100%;border:0;border-collapse:collapse;border-spacing:0;text-align:left;line-height:1.15}table td,table th{padding:.5em .75em;border:0;border-bottom:solid 1px #f1f1f1}table td a,table th a{word-break:normal;word-wrap:normal;overflow-wrap:normal}table th{color:#5b616b;text-align:left}table thead th{font-weight:700;border-top:solid 1px #f1f1f1;padding-top:1em;padding-bottom:1em}figure{margin:2em 0}.label,label{text-transform:uppercase;font-weight:400;font-size:.875em}address{font-style:normal}.main-width{width:100%;max-width:2000px;min-width:300px;padding:0 50px;margin-left:auto;margin-right:auto;position:relative;overflow:visible}@media screen and (max-width:600px){.main-width{padding:0 15px}}@media screen and (min-width:1200px){.main-width{padding:0 100px}}@media print{.main-width{padding:0 15px}}.aside,aside{width:18em;max-width:100%}@media screen and (max-width:1000px){.aside,aside{width:15em}}@media print{footer,header,main{background-color:#fff!important;border:0!important}}footer .social-buttons a{display:block}footer .social-buttons a svg{width:2.5em;height:2.5em;border:solid 2px rgba(214,215,217,.25);padding:.5em;border-radius:50%}footer .social-buttons .facebook a:hover svg{background:#3b5998}footer .social-buttons .twitter a:hover svg{background:#00c6ff}footer .social-buttons .blog a:hover svg{background:#205493}#root{position:relative}@media (min-width:640px){footer #pc-links{display:flex;align-items:center;justify-content:center}}footer #pc-links a{align-items:center;display:inline-flex;gap:.25rem;padding:2px 0}@media (min-width:1024px){footer #nlm-identity{display:grid;grid-auto-flow:column;gap:1rem;grid-template-columns:repeat(4,minmax(0,1fr))}footer #nlm-identity .p-md-bottom{margin:0 auto}}footer #org-links{display:flex;justify-content:start}@media (min-width:1024px){footer #org-links{justify-content:center}}footer #org-links .p-sm-left{border-left:1px solid #e5e7eb}footer .sm-link{padding:8px;border:solid 2px rgba(255,255,255,.502);border-radius:9999px;width:48px;height:48px;display:flex;justify-content:center;align-items:center}@media print{.print-hidden{display:none!important}.print-padding-top{padding-top:2em}.print-page-break-after{page-break-after:always!important}.print-page-break-before{page-break-before:always!important;break-before:always!important}.logo-container{padding:0!important}#root>.flex-container-vertical{min-height:auto;display:block;-webkit-box-orient:unset;-webkit-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}}.print-log{display:none}.alert{background-color:#f4e3db;border-left:solid 8px #d54309;text-align:left}.alert ul{margin:0;padding-left:1em}.alert p{margin:.25em 0}.alert a{text-decoration:underline}.alert ul li{padding-top:.25em;padding-bottom:.25em}.alert.info{background-color:#e7f6f8;border-left:solid 8px #00bde3}.alert .main-width{left:-8px}@media screen and (min-width:600px){.alert .main-width{left:-16px}}.align-left{text-align:left!important}.align-right{text-align:right!important}.align-center{text-align:center!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.block-centered{margin:0 auto}.block-right{margin:0 0 0 auto}.block-left{margin:0 auto 0 0}@-webkit-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-moz-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-o-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@-moz-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@-o-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@-moz-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-o-keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@keyframes FADE-OUT{0%{opacity:1}100%{opacity:0}}@-moz-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@-o-keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}@keyframes FADE-IN{0%{opacity:0}100%{opacity:1}}.arrow-after{position:relative}.arrow-after::after{content:" ";position:absolute;left:calc(50% - 2em);top:102%;text-align:center;width:0;height:0;border-style:solid;border-width:0 2em 2em 2em;border-color:transparent transparent #f1f1f1 transparent}.arrow-small::after{left:calc(50% - 1em);border-width:0 1em 1em 1em}.arrow-x-small::after{left:calc(50% - .5em);border-width:0 .5em .5em .5em}.arrow-gold::after{border-color:transparent transparent #fff1d2 transparent}.bckg-transparent{background:0 0!important}.bckg-white{background-color:#fff!important}.bckg-primary{background-color:#0071bc!important}.bckg-primary-darker{background-color:#20558a!important}.bckg-primary-darkest{background-color:#112e51!important}.bckg-primary-alt-lightest{background-color:#e1f3f8!important}.bckg-gray{background-color:#5b616b!important}.bckg-gray-lightest{background-color:#f1f1f1!important}.bckg-gray-lightest2{background-color:#fafafa!important}.bckg-gray-dark{background-color:#323a45!important}.bckg-secondary{background-color:#e31c3d!important}.bckg-secondary-lightest{background-color:#f9dede}.bckg-secondary-darkest{background-color:#981b1e!important}.bckg-gray-transparent{background-color:rgba(241,241,241,.55)!important}.bckg-gold-lightest{background-color:#fff1d2}.bckg-gold{background-color:#fdb81e}.no-border{border-width:0!important}.border{border-style:solid;border-width:1px;border-color:#d6d7d9}.b-top{border-top:solid 1px #d6d7d9}.b-bottom{border-bottom:solid 1px #d6d7d9}.b-left{border-left:solid 1px #d6d7d9}.b-right{border-right:solid 1px #d6d7d9}.b-thick{border-width:4px}.b-radius{border-radius:2px}.b-radius-round{border-radius:50%}.b-radius-bottom-left{border-bottom-left-radius:2px}.b-radius-bottom-right{border-bottom-right-radius:2px}.b-transparent{border-color:rgba(214,215,217,.5)}.b-white{border-color:#fff}.b-light{border-color:#f1f1f1}.b-gray{border-color:#5b616b}.b-primary{border-color:#0071bc}.b-primary-alt{border-color:#02bfe7}.b-primary-alt-light{border-color:#9bdaf1}.b-primary-alt-lightest{border-color:#e1f3f8}.b-secondary{border-color:#e31c3d}.b-gold{border-color:#fdb81e}.b-green{border-color:#2e8540}div.horizontal-separator{margin:1em auto;height:4px;background-color:#5b616b}a,button{cursor:pointer}a.button,a.minimal,button.button,button.minimal{display:inline-block;color:#5b616b;border-image:none;border-radius:2px;border-width:0;border-style:solid;border-color:transparent;appearance:none;-webkit-appearance:none;-moz-appearance:none;margin:0;padding:0;line-height:2;white-space:nowrap;font-weight:500;background:0 0}a.button svg,a.minimal svg,button.button svg,button.minimal svg{vertical-align:middle;fill:#7b8088}a.button svg .show-fill,a.minimal svg .show-fill,button.button svg .show-fill,button.minimal svg .show-fill{fill:#5b616b}a.button svg .show-stroke,a.minimal svg .show-stroke,button.button svg .show-stroke,button.minimal svg .show-stroke{stroke:#5b616b}a.button span,a.minimal span,button.button span,button.minimal span{display:inline-block;vertical-align:middle}a.button:hover,a.minimal:hover,button.button:hover,button.minimal:hover{color:#323a45;text-decoration:none}a.button:hover svg,a.minimal:hover svg,button.button:hover svg,button.minimal:hover svg{fill:#323a45}a.button:hover svg .show-stroke,a.minimal:hover svg .show-stroke,button.button:hover svg .show-stroke,button.minimal:hover svg .show-stroke{stroke:#323a45}a.button:focus,a.minimal:focus,button.button:focus,button.minimal:focus{outline-style:dotted;outline-width:2px;outline-color:#d6d7d9}a.button:disabled:not(.no-disabled-style),a.minimal:disabled:not(.no-disabled-style),button.button:disabled:not(.no-disabled-style),button.minimal:disabled:not(.no-disabled-style){color:#aeb0b5}a.button:disabled:not(.no-disabled-style):hover,a.minimal:disabled:not(.no-disabled-style):hover,button.button:disabled:not(.no-disabled-style):hover,button.minimal:disabled:not(.no-disabled-style):hover{color:#aeb0b5}a.button:disabled:not(.no-disabled-style):hover svg,a.minimal:disabled:not(.no-disabled-style):hover svg,button.button:disabled:not(.no-disabled-style):hover svg,button.minimal:disabled:not(.no-disabled-style):hover svg{fill:#aeb0b5}a.button:disabled:not(.no-disabled-style):hover svg .show-stroke,a.minimal:disabled:not(.no-disabled-style):hover svg .show-stroke,button.button:disabled:not(.no-disabled-style):hover svg .show-stroke,button.minimal:disabled:not(.no-disabled-style):hover svg .show-stroke{stroke:#aeb0b5}a.button:disabled:not(.no-disabled-style) svg,a.minimal:disabled:not(.no-disabled-style) svg,button.button:disabled:not(.no-disabled-style) svg,button.minimal:disabled:not(.no-disabled-style) svg{fill:#aeb0b5}a.button:disabled:not(.no-disabled-style) svg .show-stroke,a.minimal:disabled:not(.no-disabled-style) svg .show-stroke,button.button:disabled:not(.no-disabled-style) svg .show-stroke,button.minimal:disabled:not(.no-disabled-style) svg .show-stroke{stroke:#aeb0b5}a.button.round-icon,a.minimal.round-icon,button.button.round-icon,button.minimal.round-icon{border-radius:50%;line-height:1;padding:.5em;border:solid 1px transparent}a.button.round-icon:focus,a.minimal.round-icon:focus,button.button.round-icon:focus,button.minimal.round-icon:focus{outline:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}a.button.square-icon,a.minimal.square-icon,button.button.square-icon,button.minimal.square-icon{line-height:1;padding:.5em}a.button.square-icon.p-less,a.minimal.square-icon.p-less,button.button.square-icon.p-less,button.minimal.square-icon.p-less{padding:.325em}a.button.lh-1,a.minimal.lh-1,button.button.lh-1,button.minimal.lh-1{line-height:1}a.button.lh-15,a.minimal.lh-15,button.button.lh-15,button.minimal.lh-15{line-height:1.5}a.button.lh-25,a.minimal.lh-25,button.button.lh-25,button.minimal.lh-25{line-height:2.5}a.button.lh-3,a.minimal.lh-3,button.button.lh-3,button.minimal.lh-3{line-height:3}a.button.light-font,a.minimal.light-font,button.button.light-font,button.minimal.light-font{font-weight:400}a.button.has-icon-left .btn-text,a.minimal.has-icon-left .btn-text,button.button.has-icon-left .btn-text,button.minimal.has-icon-left .btn-text{padding-left:.25em}a.button.has-icon-right .btn-text,a.minimal.has-icon-right .btn-text,button.button.has-icon-right .btn-text,button.minimal.has-icon-right .btn-text{padding-right:.25em}a.button.has-icon-top,a.minimal.has-icon-top,button.button.has-icon-top,button.minimal.has-icon-top{text-align:center}a.button.has-icon-top .btn-text,a.minimal.has-icon-top .btn-text,button.button.has-icon-top .btn-text,button.minimal.has-icon-top .btn-text{display:block}a.button.with-padding,a.minimal.with-padding,button.button.with-padding,button.minimal.with-padding{padding:0 1em}a.button.with-padding.has-icon-top,a.minimal.with-padding.has-icon-top,button.button.with-padding.has-icon-top,button.minimal.with-padding.has-icon-top{padding-top:1em;padding-bottom:.5em}a.button.with-padding-large,a.minimal.with-padding-large,button.button.with-padding-large,button.minimal.with-padding-large{padding:0 2em}a.button.with-padding-small,a.minimal.with-padding-small,button.button.with-padding-small,button.minimal.with-padding-small{padding:0 .5em}a.button.with-border,a.minimal.with-border,button.button.with-border,button.minimal.with-border{border:solid 1px #d6d7d9}a.button.with-border-transparent,a.minimal.with-border-transparent,button.button.with-border-transparent,button.minimal.with-border-transparent{border:solid 1px rgba(214,215,217,.5)}a.button.with-border-dark,a.minimal.with-border-dark,button.button.with-border-dark,button.minimal.with-border-dark{border:solid 1px #5b616b}a.button.with-bckg,a.minimal.with-bckg,button.button.with-bckg,button.minimal.with-bckg{background:#f1f1f1}a.button.no-outline,a.minimal.no-outline,button.button.no-outline,button.minimal.no-outline{outline:0!important}a.button.outline-inner-svg,a.minimal.outline-inner-svg,button.button.outline-inner-svg,button.minimal.outline-inner-svg{outline:0!important}a.button.outline-inner-svg svg,a.minimal.outline-inner-svg svg,button.button.outline-inner-svg svg,button.minimal.outline-inner-svg svg{outline:0}a.button.outline-inner-svg:focus svg,a.minimal.outline-inner-svg:focus svg,button.button.outline-inner-svg:focus svg,button.minimal.outline-inner-svg:focus svg{outline-style:dotted;outline-width:2px;outline-color:#d6d7d9}a.button.wrap-normal .btn-text,a.minimal.wrap-normal .btn-text,button.button.wrap-normal .btn-text,button.minimal.wrap-normal .btn-text{line-height:1.15;white-space:normal;text-align:left}a.button.autocomplete-choice:focus,a.minimal.autocomplete-choice:focus,button.button.autocomplete-choice:focus,button.minimal.autocomplete-choice:focus{background:#f1f1f1}.columns{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-flow:wrap column;flex-flow:wrap column;max-height:230px;overflow-y:hidden}.columns>*{padding-right:1em}.columns>p{padding-left:1em;line-height:1.15!important}.cursor-pointer{cursor:pointer}.inline{display:inline}.inline-block{display:inline-block}.block{display:block}.hidden{display:none}.visibility-hidden{visibility:hidden}.visibility-visible{visibility:visible}.flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.flex-container.align-vertical-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flex-container.align-top{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.flex-container.align-baseline{align-items:baseline}.flex-container.align-bottom{align-items:flex-end}.flex-container.space-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-container.space-around{-ms-flex-pack:distribute;justify-content:space-around}.flex-container.centered{justify-content:center}.flex-container.single-line{line-height:2em;height:2.5em;overflow:hidden}.flex-container.double-line{line-height:2em;height:4em;overflow:hidden}.flex-container.flex-nowrap{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.flex-container.space-after-each>*{padding-right:1em}.flex-item{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:16em}.flex-item.full-width{max-width:100%}.flex-grow-1{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.flex-container-vertical{min-height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.float-right{float:right}.f-white{color:#fff}.f-white svg{fill:#fff}.f-white svg .show-stroke{stroke:#fff}.f-white .button,.f-white a,.f-white a:visited{color:#fff}.f-white .button svg,.f-white a svg,.f-white a:visited svg{fill:#fff}.f-white .button svg .show-stroke,.f-white a svg .show-stroke,.f-white a:visited svg .show-stroke{stroke:#fff}.f-white .button:hover,.f-white a:hover,.f-white a:visited:hover{color:#dce4ef}.f-white .button:hover svg,.f-white a:hover svg,.f-white a:visited:hover svg{fill:#dce4ef}.f-white .button:hover svg .show-stroke,.f-white a:hover svg .show-stroke,.f-white a:visited:hover svg .show-stroke{stroke:#dce4ef}.button.f-white{color:#fff}.button.f-white svg{fill:#fff}.button.f-white:hover{color:#dce4ef}.button.f-white:hover svg{fill:#dce4ef}.f-white>svg{fill:#fff!important}.f-white>svg .show-stroke{stroke:#fff!important}.f-white.mark-links .button,.f-white.mark-links a,.f-white.mark-links a:visited{color:#fff;text-decoration:underline}.f-white.mark-links .button svg,.f-white.mark-links a svg,.f-white.mark-links a:visited svg{fill:#fff}.f-white.mark-links .button svg .show-stroke,.f-white.mark-links a svg .show-stroke,.f-white.mark-links a:visited svg .show-stroke{stroke:#fff}.f-base{color:#212121}.f-base svg{fill:#212121}.f-base .button,.f-base a,.f-base a:visited{color:#212121}.f-base .button svg,.f-base a svg,.f-base a:visited svg{fill:#212121}.f-base .button:hover,.f-base a:hover,.f-base a:visited:hover{color:#323a45}.f-base .button:hover svg,.f-base a:hover svg,.f-base a:visited:hover svg{fill:#323a45}.f-gray{color:#5b616b}.f-gray svg{fill:#7b8088!important}.f-gray-light{color:#aeb0b5}.f-gray-light svg{fill:#aeb0b5}.f-gray-light .button,.f-gray-light a,.f-gray-light a:visited{color:#aeb0b5}.f-gray-light .button svg,.f-gray-light a svg,.f-gray-light a:visited svg{fill:#aeb0b5}.f-gray-light .button:hover,.f-gray-light a:hover,.f-gray-light a:visited:hover{color:#fff}.f-gray-light .button:hover svg,.f-gray-light a:hover svg,.f-gray-light a:visited:hover svg{fill:#fff}.f-gray-lighter{color:#d6d7d9}.f-gray-lighter svg{fill:#d6d7d9!important}.f-gray-lighter .button,.f-gray-lighter a,.f-gray-lighter a:visited{color:#d6d7d9}.f-gray-lighter .button svg,.f-gray-lighter a svg,.f-gray-lighter a:visited svg{fill:#d6d7d9!important}.f-gray-lighter .button:hover,.f-gray-lighter a:hover,.f-gray-lighter a:visited:hover{color:#fff}.f-gray-lighter .button:hover svg,.f-gray-lighter a:hover svg,.f-gray-lighter a:visited:hover svg{fill:#fff!important}.f-green{color:#2e8540}.f-green svg{fill:#2e8540}.f-green .button,.f-green a,.f-green a:visited{color:#2e8540}.f-green .button svg,.f-green a svg,.f-green a:visited svg{fill:#2e8540}.f-green .button:hover,.f-green a:hover,.f-green a:visited:hover{color:#1b4f26}.f-green .button:hover svg,.f-green a:hover svg,.f-green a:visited:hover svg{fill:#1b4f26}.f-primary{color:#0071bc}.f-secondary{color:#e31c3d}.f-secondary-dark{color:#cd2026}.f-primary-alt-light{color:#9bdaf1}.f-primary-alt-lightest{color:#e1f3f8}.beta{color:#dd7127}.f-lh-1{line-height:1}.f-lh-115{line-height:1.15}.f-lh-135{line-height:1.35}.f-lh-15{line-height:1.5}.f-lh-175{line-height:1.75}.f-lh-2{line-height:2}.f-lh-25{line-height:2.5}.f-lh-3{line-height:3}.f-1rem{font-size:1rem}.f-3{font-size:3em}.f-4{font-size:4em}.f-6{font-size:6em}.f-2{font-size:2em}.f-25{font-size:2.5em}.f-175{font-size:1.75em}.f-15{font-size:1.5em}.f-125{font-size:1.25em}.f-135{font-size:1.35em}.f-1125{font-size:1.125em}.f-11{font-size:1.1em}.f-10625{font-size:1.0625em}.f-1{font-size:1em}.f-0875{font-size:.875em}.f-08125{font-size:.8125em}.f-0775{font-size:.775em}.f-076{font-size:.76em}.f-075{font-size:.75em}.f-0625{font-size:.625em}.f-05{font-size:.5em}.f-lh-1{line-height:1}.f-lh-115{line-height:1.15}.f-lh-15{line-height:1.5}.italic{font-style:italic}.capitalized{text-transform:capitalize}.uppercase{text-transform:uppercase}.underlined{text-decoration:underline}.f-thin{font-weight:100}.f-lighter{font-weight:200}.f-light{font-weight:300}.f-normal{font-weight:400}.f-medium{font-weight:500}.f-bold,bold{font-weight:700}.pc-bg-us-flag{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII=) no-repeat left center;background-size:20px auto;padding-left:2rem}@media (min-width:640px){.gov-banner{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column}}.height-1point5em{height:1.5em}.height-2em{height:2em}.height-3em{height:3em}.height-40vh{height:40vh}.height-150px{height:150px}.height-300px{height:300px}.height-500px{height:500px}.min-height-500{min-height:500px!important}.min-height-50vh{min-height:50vh}.min-height-70vh{min-height:70vh}.min-height-100vh{min-height:100vh}.max-height-25em{max-height:25em;overflow-y:auto;overflow-x:hidden}.max-height-50vh{max-height:50vh;overflow-y:auto;overflow-x:hidden}.height-100{height:100%}.height-100vh{height:100vh}.highlight{background-color:rgba(255,241,210,.5);border-bottom:solid 2px #fad980;padding:0 1px}.sort-highlight{border-bottom:solid 2px #fad980}.icon{pointer-events:none}svg{vertical-align:middle}.block-image{max-width:100%;max-width:min(100%,800px);height:auto;display:inline-block}.thumbnail-large{max-width:100%;text-align:center;height:75vw;max-height:300px}.thumbnail-large img{height:75vw;max-height:300px;width:auto;max-width:100%;object-fit:contain}.thumbnail-large img.svg-img{width:300px;height:300px}.thumbnail-small img{height:100px;width:100px}img[src*="imagefly.cgi"],img[src*="imgsrv.fcgi"]{-webkit-filter:contrast(1.1);filter:contrast(1.1)}input[type=date],input[type=datetime-local],input[type=email],input[type=file],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-appearance:none;appearance:none;border:solid 1px #d6d7d9;border-radius:2px;box-sizing:border-box;color:#212121;background-color:transparent;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Oxygen-Sans,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue","Source Sans Pro",sans-serif;line-height:1.5}input[type=date]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=file]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{outline-style:dotted;outline-width:2px;outline-color:#d6d7d9;outline-offset:-2px}input[type=date].no-outline,input[type=datetime-local].no-outline,input[type=email].no-outline,input[type=file].no-outline,input[type=month].no-outline,input[type=number].no-outline,input[type=password].no-outline,input[type=search].no-outline,input[type=tel].no-outline,input[type=text].no-outline,input[type=time].no-outline,input[type=url].no-outline,input[type=week].no-outline,select.no-outline,textarea.no-outline{outline:0!important}input.b-primary{border:solid 1px #0071bc}input.seamless-box{width:100%;border:0;outline-offset:2px!important;padding:0 .25em}input[type=file]{border:0}.csv-input input{padding:.25em;display:block;border:0;width:100%;max-width:100%}.csv-input label{display:block;font-size:.875em;padding-bottom:.5em}input[type=range]{-webkit-appearance:none;width:100%;line-height:2em;vertical-align:middle;background-color:transparent}input[type=range]:focus{outline:0}input[type=range]::-webkit-slider-runnable-track{width:100%;height:.5em;cursor:pointer;animate:.2s;box-shadow:0 0 0 #000,0 0 0 #0d0d0d;background:#5b616b;border-radius:25px;border:0 solid #000101}input[type=range]::-moz-range-track{width:100%;height:.5em;cursor:pointer;animate:.2s;box-shadow:0 0 0 #000,0 0 0 #0d0d0d;background:#5b616b;border-radius:25px;border:0 solid #000101}input[type=range]::-webkit-slider-thumb{box-shadow:0 0 0 #000,0 0 0 #0d0d0d;border:0 solid #000;height:2em;width:2em;border-radius:50%;background:#fff;border:solid 2px #323a45;cursor:pointer;-webkit-appearance:none;position:relative;top:-.75em}input[type=range]::-moz-range-thumb{box-shadow:0 0 0 #000,0 0 0 #0d0d0d;border:0 solid #000;height:2em;width:2em;border-radius:50%;background:#fff;border:solid 2px #323a45;cursor:pointer;-webkit-appearance:none;position:relative;top:-.75em}input[type=range]:focus::-webkit-slider-runnable-track{background:#112e51}input[type=range]:focus::-moz-range-track{background:#112e51}input[type=range]:focus::-webkit-slider-thumb{border:solid 2px #0071bc}input[type=range]::-moz-range-thumb{border:solid 2px #0071bc}.double-slider{position:relative;top:-1em}.double-slider .slider-handle-1,.double-slider .slider-handle-2{position:absolute;left:0;top:0;width:100%}.double-slider .slider-handle-1 input,.double-slider .slider-handle-2 input{outline:0}.double-slider .slider-handle-1 input::-webkit-slider-runnable-track,.double-slider .slider-handle-2 input::-webkit-slider-runnable-track{background:0 0;height:0}.double-slider .slider-handle-1 input[type=range]::-moz-range-track,.double-slider .slider-handle-2 input[type=range]::-moz-range-track{background:0 0;height:0;display:none;z-index:-1;pointer-events:none}.double-slider .slider-handle-1 input[type=range]::-webkit-slider-thumb,.double-slider .slider-handle-2 input[type=range]::-webkit-slider-thumb{border:solid 2px #aeb0b5;background:rgba(255,255,255,.5);z-index:5}.double-slider .slider-handle-1 input[type=range]::-moz-range-thumb,.double-slider .slider-handle-2 input[type=range]::-moz-range-thumb{display:none;pointer-events:none;border:0;background:0 0}.double-slider .slider-handle-1 input[type=range]::-ms-thumb,.double-slider .slider-handle-2 input[type=range]::-ms-thumb{display:none}.double-slider .slider-handle-1 input[type=range]:focus::-webkit-slider-thumb,.double-slider .slider-handle-2 input[type=range]:focus::-webkit-slider-thumb{z-index:6}.double-slider.is-active input[type=range]::-webkit-slider-thumb{border:solid 2px #0071bc}.unstyled-list{list-style-type:none;margin:0;padding:0}.unstyled-list li{display:list-item;margin:0}.unstyled-list li::before{display:none}.unstyled-list li::after{display:none}ul.inline-block{display:inline-block}ul.inline-block li{display:inline-block}ul.unstyled-list.p-min li{padding:1px 0 1px .25em}ul.unstyled-list.p-min2 li{padding:.35em 0}ul.unstyled-list.rowed>li:not(:last-child){border-bottom:solid 1px #d6d7d9}ul.unstyled-list.rowed.b-light>li:not(:last-child){border-bottom:solid 1px #f1f1f1}.loader{background-color:#0071bc;border-radius:100%;margin:.25em;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;height:5em;width:5em;animation:ball-scale 1s 0s ease-in-out infinite}.loader-background{position:relative;height:100vh;width:100%;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;align-items:center;justify-content:center}.loader-background-search{height:100%;min-height:200px;max-height:600px}.loader-background-widget{height:100%;min-height:200px;max-height:500px}.updating::before{content:"";position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100;background:rgba(255,255,255,.75)}.updating::after{content:"Updating...";position:fixed;top:50%;left:50%;width:12em;height:6em;margin-left:-6em;margin-top:-3em;z-index:100;background:rgba(255,255,255,.9);border:solid 1px #d6d7d9;border-radius:2px;text-align:center;line-height:6em}.updating1::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:100;background:rgba(255,255,255,.75)}.updating1::after{content:"UPDATING...";position:absolute;top:3em;left:50%;width:12em;height:3em;line-height:3em;font-weight:300;font-size:.875em;color:#5b616b;margin-left:-6em;margin-top:-1.5em;z-index:100;background:rgba(255,255,255,.9);border:solid 1px #d6d7d9;border-radius:2px;text-align:center}@-moz-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@-webkit-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@-o-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}body.has-modal{overflow:hidden}body.has-modal.has-scroll-width{padding-right:17px}body.has-modal.has-scroll-width .sticky-bar{padding-right:17px}.scrollbar-placeholder{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9997;height:100%;width:100%;overflow-y:scroll}.is-widget .scrollbar-placeholder{display:none}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:9998;height:100%;width:100%;background-color:rgba(0,0,0,.5)}.overlay.align-top{align-items:self-start}.modal{position:relative;z-index:9999;width:100%;width:calc(100% - 2em);max-width:1000px;min-width:300px;background-color:#fff;box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.08)}.overlay.align-top .modal{margin-top:1em}.modal-scrollable{max-height:100%;max-height:calc(100vh - 2em);overflow-y:auto}.overlay.align-top .modal-scrollable{max-height:80vh}is-widget .overlay.align-top .modal-scrollable{max-height:100%;max-height:calc(100vh - 2em)}.modal-title{z-index:10;background-color:#fff;height:3em;width:100%;position:absolute;top:0;left:0;text-align:left}.modal-body{padding-top:3em;padding-bottom:1em}.modal.filters-container .modal-title{border-bottom:solid 1px #d6d7d9}.modal.filters-container .modal-body{padding-top:4em}.modal.sketcher-container{background-color:#dadada}.modal.sketcher-container .modal-title{background-color:#dadada}.modal-transition-enter .overlay{opacity:0}.modal-transition-enter-active .overlay{opacity:1;transition:opacity 120ms}.modal-transition-exit-active .overlay{opacity:1}.modal-transition-exit-active .overlay{opacity:0;transition:opacity 120ms}.modal-transition-enter .modal,.modal-transition-enter .modal-title{opacity:0;transform:scale(.95) translateY(-30px)}.modal-transition-enter-active .modal,.modal-transition-enter-active .modal-title{opacity:1;transform:translateX(0) translateY(0);transition:opacity 120ms,transform 120ms}.modal-transition-exit .modal{opacity:1}.modal-transition-exit .modal-title{opacity:0;background-color:transparent}.modal-transition-exit-active .modal{opacity:0;transform:scale(.95) translateY(-30px);transition:opacity .2s,transform .2s}.modal-transition-exit-active .modal-title{opacity:0;background-color:transparent}.opacity-0{opacity:0}.opacity-1{opacity:1}.opacity-09{opacity:.9}.opacity-05{opacity:.5}.opacity-025{opacity:.25}.p-1px{padding:1px}.p-3px{padding:3px}.p-xsm{padding:.25em}.p-sm{padding:.5em}.p-smm{padding:.75em}.p-md{padding:1em}.p-l{padding:2em}.p-xl{padding:3em}.p-sm-rectangle{padding:.25em .5em}.p-md-rectangle{padding:.5em 1em}.p-md-top{padding-top:1em}.p-md-bottom{padding-bottom:1em}@media print{.p-md-bottom{padding-bottom:.5em}}.p-md-left{padding-left:1em}.p-md-right{padding-right:1em}.p-sm-top{padding-top:.5em}.p-sm-bottom{padding-bottom:.5em}.p-sm-left{padding-left:.5em}.p-sm-right{padding-right:.5em}.p-smm-top{padding-top:.75em}.p-smm-bottom{padding-bottom:.75em}.p-smm-left{padding-left:.75em}.p-smm-right{padding-right:.75em}.p-ml-top{padding-top:1.5em}.p-l-top{padding-top:2em}.p-l-bottom{padding-bottom:2em}@media print{.p-l-bottom{padding-bottom:.5em}}.p-l-left{padding-left:2em}.p-l-right{padding-right:2em}.p-xl-top{padding-top:3em}@media print{.p-xl-top{padding-bottom:.5em}}.p-xl-bottom{padding-bottom:3em}@media print{.p-xl-bottom{padding-bottom:.5em}}.p-xl-left{padding-left:3em}.p-xl-right{padding-right:3em}.p-xsm-top{padding-top:.25em}.p-xsm-bottom{padding-bottom:.25em}.p-xsm-left{padding-left:.25em}.p-xsm-right{padding-right:.25em}.p-5vh-top{padding-top:5vh}.p-5vh-bottom{padding-bottom:5vh}.p-2vw-left{padding-left:2.5vw}.p-2vw-right{padding-right:2.5vw}.p-md025-vert{padding-top:1.25em;padding-bottom:1.25em}::-webkit-input-placeholder{color:#5b616b;font-weight:400}::-moz-placeholder{color:#5b616b;font-weight:400}:-ms-input-placeholder{color:#5b616b;font-weight:400}:-moz-placeholder{color:#5b616b;font-weight:400}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-2vh{top:-2vh}.top-100{top:99.5%}.top-100-plus-arrow{top:calc(100% + .5em)}.top-2point25em{top:2.25em}.top-xsm{top:.25em}.right-xsm{right:.25em}.centered-element{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.box-shadow{box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.08)}.box-shadow.with-transition{transition:box-shadow .2s cubic-bezier(.4,0,.2,1)}.box-shadow.with-transition:hover{box-shadow:0 3px 3px 0 rgba(0,0,0,.32),0 0 0 1px rgba(0,0,0,.16)}.bottom-shadow{-webkit-box-shadow:0 8px 6px -6px rgba(174,176,181,.5);-moz-box-shadow:0 8px 6px -6px rgba(174,176,181,.5);box-shadow:0 8px 6px -6px rgba(174,176,181,.5)}.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.table-grid{display:table;border-collapse:collapse}.table-grid>*{display:table-cell;vertical-align:middle}.table-grid.align-top>*{vertical-align:top}.table-grid.align-bottom>*{vertical-align:bottom}.table-grid.full-width{width:100%}.table-grid.fixed-layout{table-layout:fixed}.table-grid.centered{margin-left:auto;margin-right:auto}.table-grid.with-separator>*{border-right:solid 1px #d6d7d9}.table-grid.with-separator>:last-of-type{border-right:0}.table-grid.with-padding>*{padding-left:.25em;padding-right:.25em}.table-grid.with-padding>:first-of-type{padding-left:0}.table-grid.with-padding>:last-of-type{padding-right:0}table.minimal{border-collapse:collapse;border-spacing:0}table.minimal td,table.minimal th{padding:0;border:0}table.f-1{font-size:1em}table.align-top td,table.align-top th{vertical-align:top}table.align-middle td,table.align-middle th{vertical-align:middle}table.fixed-layout{table-layout:fixed}table.no-border td,table.no-border th{border:0!important}table.with-padding-small th{padding:.5em}table.with-padding-small td{padding:.25em .5em}table.with-padding-large th{padding:.5em 1em}table.with-padding-large td{padding:1em}table.with-border td,table.with-border th{border:solid 1px #f1f1f1}table.with-border-gray td,table.with-border-gray th{border-color:#d6d7d9}table.with-row-border tr{border-bottom:solid 1px #f1f1f1}.border table thead tr:first-child th{border-top:0}.border table tbody tr:last-child td,.border table tbody tr:last-child th{border-bottom:0}.border table.with-row-border tr:last-child{border-bottom:0}table.no-border-last-row tbody tr:last-child td,table.no-border-last-row tbody tr:last-child th{border-bottom:0!important}table.no-border-last-row.with-row-border tr:last-child{border-bottom:0!important}.t-shadow-white{text-shadow:0 0 3px #fff,-1px -1px #fff,1px 1px #fff}.width-auto{width:auto}.width-25{width:25%}.width-50{width:50%}.width-65{width:65%}.width-70{width:70%}.width-75{width:75%}.width-90{width:90%}.width-100{width:100%}.max-width-100{max-width:100%}.max-width-1000px{max-width:1000px}.min-width-100{min-width:100%}.width-5em{width:5em}.width-8em{width:8em}.width-10em{width:10em}.width-12em{width:12em}.width-15em{width:15em;max-width:100%!important}.width-20em{width:20em;max-width:100%!important}.width-25em{width:25em;max-width:100%!important}.width-35em{width:35em;max-width:100%!important}.width-2em{width:2em}.width-1em{width:1em}.width-1point5em{width:1.5em}.min-width-5em{min-width:5em}.min-width-10em{min-width:10em}.min-width-12em{min-width:12em}.min-width-15em{min-width:15em}.min-width-20em{min-width:20em}.max-width-15em{max-width:15em}.nowrap{white-space:nowrap}.wrap-normal{white-space:normal}.ellipsis{max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media print{.ellipsis{overflow:visible;text-overflow:revert}}.breakword{word-break:break-word;word-wrap:break-word;overflow-wrap:break-word}.hidden-overflow{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-auto h1,.overflow-x-auto h2,.overflow-x-auto h3,.overflow-x-auto h4,.overflow-x-auto h5,.overflow-x-auto h6,.overflow-x-auto i,.overflow-x-auto li,.overflow-x-auto p{word-break:normal;word-wrap:normal;overflow-wrap:normal}.wrap-normal{white-space:normal}.z-index-1{z-index:1}.z-index-10{z-index:10}.z-index-20{z-index:20}.z-index-100{z-index:100}.z-index-500{z-index:500}.z-index-1000{z-index:1000}.z-index-10001{z-index:10001}.z-index-10002{z-index:10002}#flask{width:197px;height:230px;margin:0 auto;margin-top:200px;position:relative}#flask svg{width:200px;height:230px;z-index:1;position:absolute;top:0;left:0}#flask .background{width:197px;height:100px;background-color:#5bbcfc;position:absolute;z-index:0;bottom:0;left:0;animation:liquid 3s infinite,liquid-color 80s infinite}.bubble{width:40px;height:40px;background:#5bbcfc;border-radius:40px;position:absolute;top:180px}.b1,.b2,.b3{right:60px;transform:scale(.4);opacity:.6;animation:bubble 8s linear infinite,liquid-color 80s infinite,side 2s ease-in-out infinite alternate}.b2{right:65px;transform:scale(.5);animation-delay:2s,0s,2s}.b3{right:70px;animation-delay:5s,0s,5s;animation:bubble 10s linear infinite,liquid-color 80s infinite,side 3s ease-in-out infinite alternate}.b4,.b5{right:65px;transform:scale(.5);opacity:.8;animation:bubble 16s linear infinite,liquid-color 80s infinite,side 5s ease-in-out infinite alternate;animation-delay:4s,0s,4s}.b5{right:55px;animation-delay:5s,0s,5s}.b6,.b7,.b8{right:65px;transform:scale(.6);opacity:.4;animation:bubble 14s linear infinite,liquid-color 80s infinite,side 3s ease-in-out infinite alternate;animation-delay:9s,0s,9s}.b7{right:70px;transform:scale(.7);animation-delay:3s,0s,3s}.b8{right:65px;animation-delay:7s,0s,7s}.b0,.b9{right:70px;transform:scale(.65);opacity:.7;animation:bubble 20s linear infinite,liquid-color 80s infinite,side 5s ease-in-out infinite alternate}.b0{right:60px;animation-delay:13s,0s,13s}.swirl{width:20px;height:20px;background:#5bbcfc;border-radius:20px;position:absolute;top:140px;left:80px}.s0{animation:liquid-color 80s infinite,swirl 1s ease-in-out infinite alternate}.s1{left:100px;transform:scale(1.2);animation:liquid-color 80s infinite,swirl 2s ease-in-out infinite alternate;animation-delay:0s,2s}.s2{left:40px;transform:scale(.8);animation:liquid-color 80s infinite,swirl 2s ease-in-out infinite alternate;animation-delay:0s,3s}.s3{left:60px;transform:scale(1.4);animation:liquid-color 80s infinite,swirl 1s ease-in-out infinite alternate;animation-delay:0s,5s}.s4{left:120px;animation:liquid-color 80s infinite,swirl 2s ease-in-out infinite alternate;animation-delay:0s,3s}.s5{left:135px;transform:scale(.8);animation:liquid-color 80s infinite,swirl 1s ease-in-out infinite alternate;animation-delay:0s,2s}@-moz-keyframes liquid{0%{height:100px}10%{height:97px}35%{height:100px}50%{height:102px}80%{height:98px}100%{height:100px}}@-webkit-keyframes liquid{0%{height:100px}10%{height:97px}35%{height:100px}50%{height:102px}80%{height:98px}100%{height:100px}}@-o-keyframes liquid{0%{height:100px}10%{height:97px}35%{height:100px}50%{height:102px}80%{height:98px}100%{height:100px}}@keyframes liquid{0%{height:100px}10%{height:97px}35%{height:100px}50%{height:102px}80%{height:98px}100%{height:100px}}@-moz-keyframes liquid-color{from{-webkit-filter:hue-rotate(-360deg)}to{-webkit-filter:hue-rotate(0)}}@-webkit-keyframes liquid-color{from{-webkit-filter:hue-rotate(-360deg)}to{-webkit-filter:hue-rotate(0)}}@-o-keyframes liquid-color{from{-webkit-filter:hue-rotate(-360deg)}to{-webkit-filter:hue-rotate(0)}}@keyframes liquid-color{from{-webkit-filter:hue-rotate(-360deg)}to{-webkit-filter:hue-rotate(0)}}@-moz-keyframes bubble{0%{top:200px}100%{top:-200px;opacity:0}}@-webkit-keyframes bubble{0%{top:200px}100%{top:-200px;opacity:0}}@-o-keyframes bubble{0%{top:200px}100%{top:-200px;opacity:0}}@keyframes bubble{0%{top:200px}100%{top:-200px;opacity:0}}@-moz-keyframes side{0%{margin-right:0}100%{margin-right:35px}}@-webkit-keyframes side{0%{margin-right:0}100%{margin-right:35px}}@-o-keyframes side{0%{margin-right:0}100%{margin-right:35px}}@keyframes side{0%{margin-right:0}100%{margin-right:35px}}@-moz-keyframes swirl{0%{top:140px}100%{top:128px}}@-webkit-keyframes swirl{0%{top:140px}100%{top:128px}}@-o-keyframes swirl{0%{top:140px}100%{top:128px}}@keyframes swirl{0%{top:140px}100%{top:128px}}a.button.logo svg .show-stroke{stroke:#0071bc}.f-active{color:#0071bc}.bckg-active{background:rgba(0,113,188,.1)!important}.bckg-active-strong{background:linear-gradient(rgba(0,113,188,.25),rgba(0,113,188,.35))!important}.bckg-active-strongest{background:#0071bc!important}.b-active{border-color:#0071bc}.with-active-overlay-border{position:relative}.with-active-overlay-border a,.with-active-overlay-border button{outline:0}.with-active-overlay-border>:not(.absolute){position:relative}.with-active-overlay-border::before{content:" ";display:block;height:100%;position:absolute;top:0;left:0;width:100%;border:solid 4px #0071bc}.b-overlay-light.with-active-overlay-border::before{border-width:0 0 0 3px}a.active.color-inner-svg svg,button.active.color-inner-svg svg{fill:#0071bc}a.button.logo svg .show-stroke{stroke:#0071bc}.search-bar-section .search-bar-inner-container{position:relative;text-align:center;padding-top:calc(8vh - 2em);padding-bottom:8vh}.search-bar-section .search-bar-inner-container .centered-block{max-width:800px;margin:0 auto}.search-bar-section .search-bar-inner-container form{border:0;padding:0}.search-bar-section .search-bar-inner-container input{width:100%;border:0;outline:0;padding:1px 2px}.search-bar-section .search-bar-inner-container input:focus{outline:0}.search-bar-section .search-bar-inner-container .main-search-submit{border-left:solid 1px #f1f1f1}.search-bar-section .search-bar-inner-container .main-search-submit svg{fill:#0071bc}.search-bar-section .search-bar-inner-container .main-search-submit svg:hover{fill:#20558a}.search-bar-section .search-bar-inner-container .main-search-reset svg{fill:#aeb0b5}.search-bar-section .search-bar-inner-container .main-search-reset svg:hover{fill:#5b616b}.search-bar-section .search-bar-inner-container .section-heading{text-align:center;font-size:5em;font-weight:400;margin:0}.search-bar-section .search-bar-inner-container .section-subheading{font-size:1.5em;font-weight:300}.search-bar-section .search-bar-inner-container .splash-buttons{max-width:700px}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top{color:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top svg{fill:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top svg .show-stroke{stroke:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:visited{color:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:visited svg{fill:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:visited svg .show-stroke{stroke:#fff}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:hover{color:#dce4ef}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:hover svg{fill:#dce4ef}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:hover svg .show-stroke{stroke:#dce4ef}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:disabled{color:#aeb0b5}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:disabled svg{fill:#aeb0b5}.search-bar-section .search-bar-inner-container .splash-buttons .button.has-icon-top:disabled svg .show-stroke{stroke:#aeb0b5}@media screen and (max-width:800px){.search-bar-section .search-bar-inner-container{text-align:left;padding-top:calc(4vh - 2em);padding-bottom:4vh}.search-bar-section .search-bar-inner-container .section-heading{text-align:left;font-size:3em;font-weight:400}.search-bar-section .search-bar-inner-container .section-subheading{font-size:1.3em;font-weight:400}}@media screen and (max-width:440px){.search-bar-section .search-bar-inner-container .section-heading{font-size:2.5em}.search-bar-section .search-bar-inner-container .section-subheading{font-size:1.2em}}@media screen and (max-width:360px){.search-bar-section .search-bar-inner-container .section-heading{font-size:2em}.search-bar-section .search-bar-inner-container .section-subheading{font-size:1.1em}}.mini-section{position:relative;padding:5vh 0}.mini-section .section-heading{text-align:center;font-size:3em;font-weight:200;margin:0 0 3vh 0}.mini-section p{margin:1em 0;line-height:1.5}.mini-section .centered-block{max-width:800px;margin:0 auto}.mini-section a{font-weight:500}@media screen and (max-width:800px){.mini-section .section-heading{text-align:left;font-size:2em;font-weight:300;margin:0 0 3vh 0}}.mini-section.stats{padding:2vh 0}.has-query .mini-section{display:none!important}.search-bar-section{background-color:#20558a;background:linear-gradient(to bottom,rgba(32,84,147,.5),rgba(17,46,81,.5)),url(/pcfe/images/bckg_hexagons_small.png),linear-gradient(to bottom,#20558a,#112e51);background-repeat:no-repeat;background-size:cover;background-position:center}@media screen and (max-width:800px){.search-bar-section{background:linear-gradient(to bottom,#20558a,#112e51)}.search-bar-section .block-centered{width:100%}}.entrez span.btn-text{font-weight:300!important}.has-query .search-bar-section{text-align:left;background-color:#f1f1f1;background:linear-gradient(rgba(214,215,217,.5),rgba(214,215,217,.5)),url(/pcfe/images/bckg_hexagons_small.png),#f1f1f1;background-repeat:no-repeat;background-size:cover;background-position:center}@media screen and (max-width:1000px){.has-query .search-bar-section{background-color:#d6d7d9;background:linear-gradient(rgba(214,215,217,.5),rgba(214,215,217,.5)),#f1f1f1}}.has-query .search-bar-section .search-bar-inner-container{padding:0 0 1.5em 0}.has-query .search-bar-section .search-bar-inner-container .centered-block{width:100%;max-width:100%;margin:0}</style> </head> <body> <noscript> <div class="main-width align-center p-md-top p-md-bottom f-secondary">This application requires Javascript. Please turn on Javascript in order to use this application.</div> </noscript> <div id="root"> <div class="loader-background"> <div class="loader"></div> </div> </div> <div id="root-modal"></div> <script type="text/javascript" async src="https://www.ncbi.nlm.nih.gov/core/pinger/pinger.js"></script> <script>parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"tLxU":[function(require,module,exports) { "use strict";var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function n(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function o(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(r){return t[r]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(r){n[r]=r}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}module.exports=o()?Object.assign:function(o,c){for(var a,i,s=n(o),f=1;f<arguments.length;f++){for(var u in a=Object(arguments[f]))t.call(a,u)&&(s[u]=a[u]);if(r){i=r(a);for(var b=0;b<i.length;b++)e.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s}; },{}],"L8uO":[function(require,module,exports) { "use strict";var e=require("object-assign"),t=60103,r=60106;exports.Fragment=60107,exports.StrictMode=60108,exports.Profiler=60114;var n=60109,o=60110,u=60112;exports.Suspense=60113;var s=60115,i=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;t=f("react.element"),r=f("react.portal"),exports.Fragment=f("react.fragment"),exports.StrictMode=f("react.strict_mode"),exports.Profiler=f("react.profiler"),n=f("react.provider"),o=f("react.context"),u=f("react.forward_ref"),exports.Suspense=f("react.suspense"),s=f("react.memo"),i=f("react.lazy")}var a="function"==typeof Symbol&&Symbol.iterator;function c(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=a&&e[a]||e["@@iterator"])?e:null}function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function d(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||l}function v(){}function h(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||l}d.prototype.isReactComponent={},d.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},d.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=d.prototype;var _=h.prototype=new v;_.constructor=h,e(_,d.prototype),_.isPureReactComponent=!0;var x={current:null},m=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function S(e,r,n){var o,u={},s=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(s=""+r.key),r)m.call(r,o)&&!b.hasOwnProperty(o)&&(u[o]=r[o]);var f=arguments.length-2;if(1===f)u.children=n;else if(1<f){for(var a=Array(f),c=0;c<f;c++)a[c]=arguments[c+2];u.children=a}if(e&&e.defaultProps)for(o in f=e.defaultProps)void 0===u[o]&&(u[o]=f[o]);return{$$typeof:t,type:e,key:s,ref:i,props:u,_owner:x.current}}function $(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function g(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?g(""+e.key):t.toString(36)}function E(e,n,o,u,s){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var f=!1;if(null===e)f=!0;else switch(i){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case t:case r:f=!0}}if(f)return s=s(f=e),e=""===u?"."+C(f,0):u,Array.isArray(s)?(o="",null!=e&&(o=e.replace(k,"$&/")+"/"),E(s,n,o,"",function(e){return e})):null!=s&&(w(s)&&(s=$(s,o+(!s.key||f&&f.key===s.key?"":(""+s.key).replace(k,"$&/")+"/")+e)),n.push(s)),1;if(f=0,u=""===u?".":u+":",Array.isArray(e))for(var a=0;a<e.length;a++){var l=u+C(i=e[a],a);f+=E(i,n,o,l,s)}else if("function"==typeof(l=c(e)))for(e=l.call(e),a=0;!(i=e.next()).done;)f+=E(i=i.value,n,o,l=u+C(i,a++),s);else if("object"===i)throw n=""+e,Error(p(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n));return f}function R(e,t,r){if(null==e)return e;var n=[],o=0;return E(e,n,"","",function(e){return t.call(r,e,o++)}),n}function j(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var P={current:null};function O(){var e=P.current;if(null===e)throw Error(p(321));return e}var A={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:e};exports.Children={map:R,forEach:function(e,t,r){R(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!w(e))throw Error(p(143));return e}},exports.Component=d,exports.PureComponent=h,exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,exports.cloneElement=function(r,n,o){if(null==r)throw Error(p(267,r));var u=e({},r.props),s=r.key,i=r.ref,f=r._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,f=x.current),void 0!==n.key&&(s=""+n.key),r.type&&r.type.defaultProps)var a=r.type.defaultProps;for(c in n)m.call(n,c)&&!b.hasOwnProperty(c)&&(u[c]=void 0===n[c]&&void 0!==a?a[c]:n[c])}var c=arguments.length-2;if(1===c)u.children=o;else if(1<c){a=Array(c);for(var l=0;l<c;l++)a[l]=arguments[l+2];u.children=a}return{$$typeof:t,type:r.type,key:s,ref:i,props:u,_owner:f}},exports.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:o,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:n,_context:e},e.Consumer=e},exports.createElement=S,exports.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},exports.createRef=function(){return{current:null}},exports.forwardRef=function(e){return{$$typeof:u,render:e}},exports.isValidElement=w,exports.lazy=function(e){return{$$typeof:i,_payload:{_status:-1,_result:e},_init:j}},exports.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},exports.useCallback=function(e,t){return O().useCallback(e,t)},exports.useContext=function(e,t){return O().useContext(e,t)},exports.useDebugValue=function(){},exports.useEffect=function(e,t){return O().useEffect(e,t)},exports.useImperativeHandle=function(e,t,r){return O().useImperativeHandle(e,t,r)},exports.useLayoutEffect=function(e,t){return O().useLayoutEffect(e,t)},exports.useMemo=function(e,t){return O().useMemo(e,t)},exports.useReducer=function(e,t,r){return O().useReducer(e,t,r)},exports.useRef=function(e){return O().useRef(e)},exports.useState=function(e){return O().useState(e)},exports.version="17.0.2"; },{"object-assign":"tLxU"}],"SAdv":[function(require,module,exports) { "use strict";module.exports=require("./cjs/react.production.min.js"); },{"./cjs/react.production.min.js":"L8uO"}],"Nl9N":[function(require,module,exports) { "use strict";var e,t,n,r;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;exports.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();exports.unstable_now=function(){return a.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var i=null,s=null,u=function(){if(null!==i)try{var e=exports.unstable_now();i(!0,e),i=null}catch(t){throw setTimeout(u,0),t}};e=function(t){null!==i?setTimeout(e,0,t):(i=t,setTimeout(u,0))},t=function(e,t){s=setTimeout(e,t)},n=function(){clearTimeout(s)},exports.unstable_shouldYield=function(){return!1},r=exports.unstable_forceFrameRate=function(){}}else{var c=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var b=!1,d=null,v=-1,x=5,y=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=y},r=function(){},exports.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5};var m=new MessageChannel,w=m.port2;m.port1.onmessage=function(){if(null!==d){var e=exports.unstable_now();y=e+x;try{d(!0,e)?w.postMessage(null):(b=!1,d=null)}catch(t){throw w.postMessage(null),t}}else b=!1},e=function(e){d=e,b||(b=!0,w.postMessage(null))},t=function(e,t){v=c(function(){e(exports.unstable_now())},t)},n=function(){f(v),v=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<T(o,t)))break e;e[r]=t,e[n]=o,n=r}}function h(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,l=e[a],i=a+1,s=e[i];if(void 0!==l&&0>T(l,n))void 0!==s&&0>T(s,l)?(e[r]=s,e[i]=n,r=i):(e[r]=l,e[a]=n,r=a);else{if(!(void 0!==s&&0>T(s,n)))break e;e[r]=s,e[i]=n,r=i}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var g=[],P=[],F=1,I=null,M=3,C=!1,j=!1,A=!1;function L(e){for(var t=h(P);null!==t;){if(null===t.callback)k(P);else{if(!(t.startTime<=e))break;k(P),t.sortIndex=t.expirationTime,_(g,t)}t=h(P)}}function q(n){if(A=!1,L(n),!j)if(null!==h(g))j=!0,e(R);else{var r=h(P);null!==r&&t(q,r.startTime-n)}}function R(e,r){j=!1,A&&(A=!1,n()),C=!0;var o=M;try{for(L(r),I=h(g);null!==I&&(!(I.expirationTime>r)||e&&!exports.unstable_shouldYield());){var a=I.callback;if("function"==typeof a){I.callback=null,M=I.priorityLevel;var l=a(I.expirationTime<=r);r=exports.unstable_now(),"function"==typeof l?I.callback=l:I===h(g)&&k(g),L(r)}else k(g);I=h(g)}if(null!==I)var i=!0;else{var s=h(P);null!==s&&t(q,s.startTime-r),i=!1}return i}finally{I=null,M=o,C=!1}}var Y=r;exports.unstable_IdlePriority=5,exports.unstable_ImmediatePriority=1,exports.unstable_LowPriority=4,exports.unstable_NormalPriority=3,exports.unstable_Profiling=null,exports.unstable_UserBlockingPriority=2,exports.unstable_cancelCallback=function(e){e.callback=null},exports.unstable_continueExecution=function(){j||C||(j=!0,e(R))},exports.unstable_getCurrentPriorityLevel=function(){return M},exports.unstable_getFirstCallbackNode=function(){return h(g)},exports.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},exports.unstable_pauseExecution=function(){},exports.unstable_requestPaint=Y,exports.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},exports.unstable_scheduleCallback=function(r,o,a){var l=exports.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,r){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return r={id:F++,callback:o,priorityLevel:r,startTime:a,expirationTime:i=a+i,sortIndex:-1},a>l?(r.sortIndex=a,_(P,r),null===h(g)&&r===h(P)&&(A?n():A=!0,t(q,a-l))):(r.sortIndex=i,_(g,r),j||C||(j=!0,e(R))),r},exports.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}; },{}],"JlZK":[function(require,module,exports) { "use strict";module.exports=require("./cjs/scheduler.production.min.js"); },{"./cjs/scheduler.production.min.js":"Nl9N"}],"i0Gi":[function(require,module,exports) { "use strict";var e=require("react"),t=require("object-assign"),n=require("scheduler");function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!e)throw Error(r(227));var l=new Set,a={};function o(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(a[e]=t,e=0;e<t.length;e++)l.add(t[e])}var i=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,c=Object.prototype.hasOwnProperty,f={},d={};function p(e){return!!c.call(d,e)||!c.call(f,e)&&(s.test(e)?d[e]=!0:(f[e]=!0,!1))}function h(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function m(e,t,n,r){if(null==t||h(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function g(e,t,n,r,l,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){v[e]=new g(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){v[e]=new g(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){v[e]=new g(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){v[e]=new g(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){v[e]=new g(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)});var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var l=v.hasOwnProperty(t)?v[t]:null;(null!==l?0===l.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(m(t,n,l,r)&&(n=null),r||null===l?p(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)}),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)});var k=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,E=60106,x=60107,C=60108,_=60114,N=60109,P=60110,z=60112,L=60113,T=60120,M=60115,O=60116,R=60121,D=60128,F=60129,I=60130,U=60131;if("function"==typeof Symbol&&Symbol.for){var V=Symbol.for;S=V("react.element"),E=V("react.portal"),x=V("react.fragment"),C=V("react.strict_mode"),_=V("react.profiler"),N=V("react.provider"),P=V("react.context"),z=V("react.forward_ref"),L=V("react.suspense"),T=V("react.suspense_list"),M=V("react.memo"),O=V("react.lazy"),R=V("react.block"),V("react.scope"),D=V("react.opaque.id"),F=V("react.debug_trace_mode"),I=V("react.offscreen"),U=V("react.legacy_hidden")}var A,B="function"==typeof Symbol&&Symbol.iterator;function W(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}function Q(e){if(void 0===A)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var H=!1;function j(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(i){var r=i}Reflect.construct(e,[],t)}else{try{t.call()}catch(i){r=i}e.call(t.prototype)}else{try{throw Error()}catch(i){r=i}e()}}catch(i){if(i&&r&&"string"==typeof i.stack){for(var l=i.stack.split("\n"),a=r.stack.split("\n"),o=l.length-1,u=a.length-1;1<=o&&0<=u&&l[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||l[o]!==a[u])return"\n"+l[o].replace(" at new "," at ")}while(1<=o&&0<=u);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Q(e):""}function $(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return e=j(e.type,!1);case 11:return e=j(e.type.render,!1);case 22:return e=j(e.type._render,!1);case 1:return e=j(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case E:return"Portal";case _:return"Profiler";case C:return"StrictMode";case L:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case z:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return q(e.type);case R:return q(e._render);case O:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function G(e){e._valueTracker||(e._valueTracker=X(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ee(e,n){var r=n.checked;return t({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ne(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function re(e,t){ne(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function le(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}function ue(e,n){return e=t({children:void 0},n),(n=oe(n.children))&&(e.children=n),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,l=0;l<e.length;l++){if(e[l].value===n)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==t||e[l].disabled||(t=e[l])}null!==t&&(t.selected=!0)}}function se(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(r(91));return t({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(r(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(r(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function fe(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function de(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function he(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ge,ve=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==pe.svg||"innerHTML"in e)e.innerHTML=t;else{for((ge=ge||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ge.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}Object.keys(be).forEach(function(e){we.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]})});var Ee=t({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ne=null,Pe=null,ze=null;function Le(e){if(e=Sl(e)){if("function"!=typeof Ne)throw Error(r(280));var t=e.stateNode;t&&(t=xl(t),Ne(e.stateNode,e.type,t))}}function Te(e){Pe?ze?ze.push(e):ze=[e]:Pe=e}function Me(){if(Pe){var e=Pe,t=ze;if(ze=Pe=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function Oe(e,t){return e(t)}function Re(e,t,n,r,l){return e(t,n,r,l)}function De(){}var Fe=Oe,Ie=!1,Ue=!1;function Ve(){null===Pe&&null===ze||(De(),Me())}function Ae(e,t,n){if(Ue)return e(t,n);Ue=!0;try{return Fe(e,t,n)}finally{Ue=!1,Ve()}}function Be(e,t){var n=e.stateNode;if(null===n)return null;var l=xl(n);if(null===l)return null;n=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(l=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!l;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var We=!1;if(i)try{var Qe={};Object.defineProperty(Qe,"passive",{get:function(){We=!0}}),window.addEventListener("test",Qe,Qe),window.removeEventListener("test",Qe,Qe)}catch(Fs){We=!1}function He(e,t,n,r,l,a,o,u,i){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var je=!1,$e=null,qe=!1,Ke=null,Ye={onError:function(e){je=!0,$e=e}};function Xe(e,t,n,r,l,a,o,u,i){je=!1,$e=null,He.apply(Ye,arguments)}function Ge(e,t,n,l,a,o,u,i,s){if(Xe.apply(this,arguments),je){if(!je)throw Error(r(198));var c=$e;je=!1,$e=null,qe||(qe=!0,Ke=c)}}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function et(e){if(Ze(e)!==e)throw Error(r(188))}function tt(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,l=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(l=a.return)){n=l;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return et(a),e;if(o===l)return et(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==l.return)n=a,l=o;else{for(var u=!1,i=a.child;i;){if(i===n){u=!0,n=a,l=o;break}if(i===l){u=!0,l=a,n=o;break}i=i.sibling}if(!u){for(i=o.child;i;){if(i===n){u=!0,n=o,l=a;break}if(i===l){u=!0,l=o,n=a;break}i=i.sibling}if(!u)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}function nt(e){if(!(e=tt(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var lt,at,ot,ut,it=!1,st=[],ct=null,ft=null,dt=null,pt=new Map,ht=new Map,mt=[],gt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vt(e,t,n,r,l){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:l,targetContainers:[r]}}function yt(e,t){switch(e){case"focusin":case"focusout":ct=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":dt=null;break;case"pointerover":case"pointerout":pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ht.delete(t.pointerId)}}function bt(e,t,n,r,l,a){return null===e||e.nativeEvent!==a?(e=vt(t,n,r,l,a),null!==t&&(null!==(t=Sl(t))&&at(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==l&&-1===t.indexOf(l)&&t.push(l),e)}function wt(e,t,n,r,l){switch(t){case"focusin":return ct=bt(ct,e,t,n,r,l),!0;case"dragenter":return ft=bt(ft,e,t,n,r,l),!0;case"mouseover":return dt=bt(dt,e,t,n,r,l),!0;case"pointerover":var a=l.pointerId;return pt.set(a,bt(pt.get(a)||null,e,t,n,r,l)),!0;case"gotpointercapture":return a=l.pointerId,ht.set(a,bt(ht.get(a)||null,e,t,n,r,l)),!0}return!1}function kt(e){var t=kl(e.target);if(null!==t){var r=Ze(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Je(r)))return e.blockedOn=t,void ut(e.lanePriority,function(){n.unstable_runWithPriority(e.priority,function(){ot(r)})})}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function St(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=un(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Sl(n))&&at(t),e.blockedOn=n,!1;t.shift()}return!0}function Et(e,t,n){St(e)&&n.delete(t)}function xt(){for(it=!1;0<st.length;){var e=st[0];if(null!==e.blockedOn){null!==(e=Sl(e.blockedOn))&<(e);break}for(var t=e.targetContainers;0<t.length;){var n=un(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&st.shift()}null!==ct&&St(ct)&&(ct=null),null!==ft&&St(ft)&&(ft=null),null!==dt&&St(dt)&&(dt=null),pt.forEach(Et),ht.forEach(Et)}function Ct(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,xt)))}function _t(e){function t(t){return Ct(t,e)}if(0<st.length){Ct(st[0],e);for(var n=1;n<st.length;n++){var r=st[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ct&&Ct(ct,e),null!==ft&&Ct(ft,e),null!==dt&&Ct(dt,e),pt.forEach(t),ht.forEach(t),n=0;n<mt.length;n++)(r=mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<mt.length&&null===(n=mt[0]).blockedOn;)kt(n),null===n.blockedOn&&mt.shift()}function Nt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pt={animationend:Nt("Animation","AnimationEnd"),animationiteration:Nt("Animation","AnimationIteration"),animationstart:Nt("Animation","AnimationStart"),transitionend:Nt("Transition","TransitionEnd")},zt={},Lt={};function Tt(e){if(zt[e])return zt[e];if(!Pt[e])return e;var t,n=Pt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Lt)return zt[e]=n[t];return e}i&&(Lt=document.createElement("div").style,"AnimationEvent"in window||(delete Pt.animationend.animation,delete Pt.animationiteration.animation,delete Pt.animationstart.animation),"TransitionEvent"in window||delete Pt.transitionend.transition);var Mt=Tt("animationend"),Ot=Tt("animationiteration"),Rt=Tt("animationstart"),Dt=Tt("transitionend"),Ft=new Map,It=new Map,Ut=["abort","abort",Mt,"animationEnd",Ot,"animationIteration",Rt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Dt,"transitionEnd","waiting","waiting"];function Vt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],l=e[n+1];l="on"+(l[0].toUpperCase()+l.slice(1)),It.set(r,t),Ft.set(r,l),o(l,[r])}}var At=n.unstable_now;At();var Bt=8;function Wt(e){if(0!=(1&e))return Bt=15,1;if(0!=(2&e))return Bt=14,2;if(0!=(4&e))return Bt=13,4;var t=24&e;return 0!==t?(Bt=12,t):0!=(32&e)?(Bt=11,32):0!==(t=192&e)?(Bt=10,t):0!=(256&e)?(Bt=9,256):0!==(t=3584&e)?(Bt=8,t):0!=(4096&e)?(Bt=7,4096):0!==(t=4186112&e)?(Bt=6,t):0!==(t=62914560&e)?(Bt=5,t):67108864&e?(Bt=4,67108864):0!=(134217728&e)?(Bt=3,134217728):0!==(t=805306368&e)?(Bt=2,t):0!=(1073741824&e)?(Bt=1,1073741824):(Bt=8,e)}function Qt(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Ht(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(r(358,e))}}function jt(e,t){var n=e.pendingLanes;if(0===n)return Bt=0;var r=0,l=0,a=e.expiredLanes,o=e.suspendedLanes,u=e.pingedLanes;if(0!==a)r=a,l=Bt=15;else if(0!==(a=134217727&n)){var i=a&~o;0!==i?(r=Wt(i),l=Bt):0!==(u&=a)&&(r=Wt(u),l=Bt)}else 0!==(a=n&~o)?(r=Wt(a),l=Bt):0!==u&&(r=Wt(u),l=Bt);if(0===r)return 0;if(r=n&((0>(r=31-Gt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&o)){if(Wt(t),l<=Bt)return t;Bt=l}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)l=1<<(n=31-Gt(t)),r|=e[n],t&=~l;return r}function $t(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function qt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Kt(24&~t))?qt(10,t):e;case 10:return 0===(e=Kt(192&~t))?qt(8,t):e;case 8:return 0===(e=Kt(3584&~t))&&(0===(e=Kt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Kt(805306368&~t))&&(t=268435456),t}throw Error(r(358,e))}function Kt(e){return e&-e}function Yt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gt(t)]=n}var Gt=Math.clz32?Math.clz32:en,Zt=Math.log,Jt=Math.LN2;function en(e){return 0===e?32:31-(Zt(e)/Jt|0)|0}var tn=n.unstable_UserBlockingPriority,nn=n.unstable_runWithPriority,rn=!0;function ln(e,t,n,r){Ie||De();var l=on,a=Ie;Ie=!0;try{Re(l,e,t,n,r)}finally{(Ie=a)||Ve()}}function an(e,t,n,r){nn(tn,on.bind(null,e,t,n,r))}function on(e,t,n,r){var l;if(rn)if((l=0==(4&t))&&0<st.length&&-1<gt.indexOf(e))e=vt(null,e,t,n,r),st.push(e);else{var a=un(e,t,n,r);if(null===a)l&&yt(e,r);else{if(l){if(-1<gt.indexOf(e))return e=vt(a,e,t,n,r),void st.push(e);if(wt(a,e,t,n,r))return;yt(e,r)}Jr(e,t,r,null,n)}}}function un(e,t,n,r){var l=_e(r);if(null!==(l=kl(l))){var a=Ze(l);if(null===a)l=null;else{var o=a.tag;if(13===o){if(null!==(l=Je(a)))return l;l=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;l=null}else a!==l&&(l=null)}}return Jr(e,t,r,l,n),null}var sn=null,cn=null,fn=null;function dn(){if(fn)return fn;var e,t,n=cn,r=n.length,l="value"in sn?sn.value:sn.textContent,a=l.length;for(e=0;e<r&&n[e]===l[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===l[a-t];t++);return fn=l.slice(e,1<t?1-t:void 0)}function pn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function hn(){return!0}function mn(){return!1}function gn(e){function n(t,n,r,l,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(l):l[o]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?hn:mn,this.isPropagationStopped=mn,this}return t(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hn)},persist:function(){},isPersistent:hn}),n}var vn,yn,bn,wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kn=gn(wn),Sn=t({},wn,{view:0,detail:0}),En=gn(Sn),xn=t({},Sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==bn&&(bn&&"mousemove"===e.type?(vn=e.screenX-bn.screenX,yn=e.screenY-bn.screenY):yn=vn=0,bn=e),vn)},movementY:function(e){return"movementY"in e?e.movementY:yn}}),Cn=gn(xn),_n=t({},xn,{dataTransfer:0}),Nn=gn(_n),Pn=t({},Sn,{relatedTarget:0}),zn=gn(Pn),Ln=t({},wn,{animationName:0,elapsedTime:0,pseudoElement:0}),Tn=gn(Ln),Mn=t({},wn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),On=gn(Mn),Rn=t({},wn,{data:0}),Dn=gn(Rn),Fn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},In={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Un={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Un[e])&&!!t[e]}function An(){return Vn}var Bn=t({},Sn,{key:function(e){if(e.key){var t=Fn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=pn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?In[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return"keypress"===e.type?pn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?pn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Wn=gn(Bn),Qn=t({},xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hn=gn(Qn),jn=t({},Sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An}),$n=gn(jn),qn=t({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kn=gn(qn),Yn=t({},xn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xn=gn(Yn),Gn=[9,13,27,32],Zn=i&&"CompositionEvent"in window,Jn=null;i&&"documentMode"in document&&(Jn=document.documentMode);var er=i&&"TextEvent"in window&&!Jn,tr=i&&(!Zn||Jn&&8<Jn&&11>=Jn),nr=String.fromCharCode(32),rr=!1;function lr(e,t){switch(e){case"keyup":return-1!==Gn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ar(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var or=!1;function ur(e,t){switch(e){case"compositionend":return ar(t);case"keypress":return 32!==t.which?null:(rr=!0,nr);case"textInput":return(e=t.data)===nr&&rr?null:e;default:return null}}function ir(e,t){if(or)return"compositionend"===e||!Zn&&lr(e,t)?(e=dn(),fn=cn=sn=null,or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return tr&&"ko"!==t.locale?null:t.data;default:return null}}var sr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!sr[e.type]:"textarea"===t}function fr(e,t,n,r){Te(r),0<(t=tl(t,"onChange")).length&&(n=new kn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var dr=null,pr=null;function hr(e){qr(e,0)}function mr(e){if(Z(El(e)))return e}function gr(e,t){if("change"===e)return t}var vr=!1;if(i){var yr;if(i){var br="oninput"in document;if(!br){var wr=document.createElement("div");wr.setAttribute("oninput","return;"),br="function"==typeof wr.oninput}yr=br}else yr=!1;vr=yr&&(!document.documentMode||9<document.documentMode)}function kr(){dr&&(dr.detachEvent("onpropertychange",Sr),pr=dr=null)}function Sr(e){if("value"===e.propertyName&&mr(pr)){var t=[];if(fr(t,pr,e,_e(e)),e=hr,Ie)e(t);else{Ie=!0;try{Oe(e,t)}finally{Ie=!1,Ve()}}}}function Er(e,t,n){"focusin"===e?(kr(),pr=n,(dr=t).attachEvent("onpropertychange",Sr)):"focusout"===e&&kr()}function xr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(pr)}function Cr(e,t){if("click"===e)return mr(t)}function _r(e,t){if("input"===e||"change"===e)return mr(t)}function Nr(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var Pr="function"==typeof Object.is?Object.is:Nr,zr=Object.prototype.hasOwnProperty;function Lr(e,t){if(Pr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Pr(e[n[r]],t[n[r]]))return!1;return!0}function Tr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mr(e,t){var n,r=Tr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Tr(r)}}function Or(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Or(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Rr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function Dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Fr=i&&"documentMode"in document&&11>=document.documentMode,Ir=null,Ur=null,Vr=null,Ar=!1;function Br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ar||null==Ir||Ir!==J(r)||("selectionStart"in(r=Ir)&&Dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Vr&&Lr(Vr,r)||(Vr=r,0<(r=tl(Ur,"onSelect")).length&&(t=new kn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ir)))}Vt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vt(Ut,2);for(var Wr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Qr=0;Qr<Wr.length;Qr++)It.set(Wr[Qr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hr));function $r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ge(r,t,void 0,e),e.currentTarget=null}function qr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],i=u.instance,s=u.currentTarget;if(u=u.listener,i!==a&&l.isPropagationStopped())break e;$r(l,u,s),a=i}else for(o=0;o<r.length;o++){if(i=(u=r[o]).instance,s=u.currentTarget,u=u.listener,i!==a&&l.isPropagationStopped())break e;$r(l,u,s),a=i}}}if(qe)throw e=Ke,qe=!1,Ke=null,e}function Kr(e,t){var n=Cl(t),r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}var Yr="_reactListening"+Math.random().toString(36).slice(2);function Xr(e){e[Yr]||(e[Yr]=!0,l.forEach(function(t){jr.has(t)||Gr(t,!1,e,null),Gr(t,!0,e,null)}))}function Gr(e,t,n,r){var l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&jr.has(e)){if("scroll"!==e)return;l|=2,a=r}var o=Cl(a),u=e+"__"+(t?"capture":"bubble");o.has(u)||(t&&(l|=4),Zr(a,e,l,t),o.add(u))}function Zr(e,t,n,r){var l=It.get(t);switch(void 0===l?2:l){case 0:l=ln;break;case 1:l=an;break;default:l=on}n=l.bind(null,t,n,e),l=void 0,!We||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(l=!0),r?void 0!==l?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):void 0!==l?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Jr(e,t,n,r,l){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var u=r.stateNode.containerInfo;if(u===l||8===u.nodeType&&u.parentNode===l)break;if(4===o)for(o=r.return;null!==o;){var i=o.tag;if((3===i||4===i)&&((i=o.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;o=o.return}for(;null!==u;){if(null===(o=kl(u)))return;if(5===(i=o.tag)||6===i){r=a=o;continue e}u=u.parentNode}}r=r.return}Ae(function(){var r=a,l=_e(n),o=[];e:{var u=Ft.get(e);if(void 0!==u){var i=kn,s=e;switch(e){case"keypress":if(0===pn(n))break e;case"keydown":case"keyup":i=Wn;break;case"focusin":s="focus",i=zn;break;case"focusout":s="blur",i=zn;break;case"beforeblur":case"afterblur":i=zn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=Cn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=Nn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=$n;break;case Mt:case Ot:case Rt:i=Tn;break;case Dt:i=Kn;break;case"scroll":i=En;break;case"wheel":i=Xn;break;case"copy":case"cut":case"paste":i=On;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=Hn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Be(h,d))&&c.push(el(h,m,p)))),f)break;h=h.return}0<c.length&&(u=new i(u,s,null,n,l),o.push({event:u,listeners:c}))}}if(0==(7&t)){if(i="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!kl(s)&&!s[bl])&&(i||u)&&(u=l.window===l?l:(u=l.ownerDocument)?u.defaultView||u.parentWindow:window,i?(i=r,null!==(s=(s=n.relatedTarget||n.toElement)?kl(s):null)&&(s!==(f=Ze(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=Cn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Hn,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==i?u:El(i),p=null==s?u:El(s),(u=new c(m,h+"leave",i,n,l)).target=f,u.relatedTarget=p,m=null,kl(l)===r&&((c=new c(d,h+"enter",s,n,l)).target=p,c.relatedTarget=f,m=c),f=m,i&&s)e:{for(d=s,h=0,p=c=i;p;p=nl(p))h++;for(p=0,m=d;m;m=nl(m))p++;for(;0<h-p;)c=nl(c),h--;for(;0<p-h;)d=nl(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=nl(c),d=nl(d)}c=null}else c=null;null!==i&&rl(o,u,i,c,!1),null!==s&&null!==f&&rl(o,f,s,c,!0)}if("select"===(i=(u=r?El(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===i&&"file"===u.type)var g=gr;else if(cr(u))if(vr)g=_r;else{g=xr;var v=Er}else(i=u.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=Cr);switch(g&&(g=g(e,r))?fr(o,g,n,l):(v&&v(e,u,r),"focusout"===e&&(v=u._wrapperState)&&v.controlled&&"number"===u.type&&ae(u,"number",u.value)),v=r?El(r):window,e){case"focusin":(cr(v)||"true"===v.contentEditable)&&(Ir=v,Ur=r,Vr=null);break;case"focusout":Vr=Ur=Ir=null;break;case"mousedown":Ar=!0;break;case"contextmenu":case"mouseup":case"dragend":Ar=!1,Br(o,n,l);break;case"selectionchange":if(Fr)break;case"keydown":case"keyup":Br(o,n,l)}var y;if(Zn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else or?lr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(tr&&"ko"!==n.locale&&(or||"onCompositionStart"!==b?"onCompositionEnd"===b&&or&&(y=dn()):(cn="value"in(sn=l)?sn.value:sn.textContent,or=!0)),0<(v=tl(r,b)).length&&(b=new Dn(b,e,null,n,l),o.push({event:b,listeners:v}),y?b.data=y:null!==(y=ar(n))&&(b.data=y))),(y=er?ur(e,n):ir(e,n))&&(0<(r=tl(r,"onBeforeInput")).length&&(l=new Dn("onBeforeInput","beforeinput",null,n,l),o.push({event:l,listeners:r}),l.data=y))}qr(o,t)})}function el(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tl(e,t){for(var n=t+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=Be(e,n))&&r.unshift(el(e,a,l)),null!=(a=Be(e,t))&&r.push(el(e,a,l))),e=e.return}return r}function nl(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function rl(e,t,n,r,l){for(var a=t._reactName,o=[];null!==n&&n!==r;){var u=n,i=u.alternate,s=u.stateNode;if(null!==i&&i===r)break;5===u.tag&&null!==s&&(u=s,l?null!=(i=Be(n,a))&&o.unshift(el(n,i,u)):l||null!=(i=Be(n,a))&&o.push(el(n,i,u))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function ll(){}var al=null,ol=null;function ul(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function il(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var sl="function"==typeof setTimeout?setTimeout:void 0,cl="function"==typeof clearTimeout?clearTimeout:void 0;function fl(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function dl(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function pl(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var hl=0;function ml(e){return{$$typeof:D,toString:e,valueOf:e}}var gl=Math.random().toString(36).slice(2),vl="__reactFiber$"+gl,yl="__reactProps$"+gl,bl="__reactContainer$"+gl,wl="__reactEvents$"+gl;function kl(e){var t=e[vl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[bl]||n[vl]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=pl(e);null!==e;){if(n=e[vl])return n;e=pl(e)}return t}n=(e=n).parentNode}return null}function Sl(e){return!(e=e[vl]||e[bl])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function El(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function xl(e){return e[yl]||null}function Cl(e){var t=e[wl];return void 0===t&&(t=e[wl]=new Set),t}var _l=[],Nl=-1;function Pl(e){return{current:e}}function zl(e){0>Nl||(e.current=_l[Nl],_l[Nl]=null,Nl--)}function Ll(e,t){_l[++Nl]=e.current,e.current=t}var Tl={},Ml=Pl(Tl),Ol=Pl(!1),Rl=Tl;function Dl(e,t){var n=e.type.contextTypes;if(!n)return Tl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in n)a[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Fl(e){return null!=(e=e.childContextTypes)}function Il(){zl(Ol),zl(Ml)}function Ul(e,t,n){if(Ml.current!==Tl)throw Error(r(168));Ll(Ml,t),Ll(Ol,n)}function Vl(e,n,l){var a=e.stateNode;if(e=n.childContextTypes,"function"!=typeof a.getChildContext)return l;for(var o in a=a.getChildContext())if(!(o in e))throw Error(r(108,q(n)||"Unknown",o));return t({},l,a)}function Al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tl,Rl=Ml.current,Ll(Ml,e),Ll(Ol,Ol.current),!0}function Bl(e,t,n){var l=e.stateNode;if(!l)throw Error(r(169));n?(e=Vl(e,t,Rl),l.__reactInternalMemoizedMergedChildContext=e,zl(Ol),zl(Ml),Ll(Ml,e)):zl(Ol),Ll(Ol,n)}var Wl=null,Ql=null,Hl=n.unstable_runWithPriority,jl=n.unstable_scheduleCallback,$l=n.unstable_cancelCallback,ql=n.unstable_shouldYield,Kl=n.unstable_requestPaint,Yl=n.unstable_now,Xl=n.unstable_getCurrentPriorityLevel,Gl=n.unstable_ImmediatePriority,Zl=n.unstable_UserBlockingPriority,Jl=n.unstable_NormalPriority,ea=n.unstable_LowPriority,ta=n.unstable_IdlePriority,na={},ra=void 0!==Kl?Kl:function(){},la=null,aa=null,oa=!1,ua=Yl(),ia=1e4>ua?Yl:function(){return Yl()-ua};function sa(){switch(Xl()){case Gl:return 99;case Zl:return 98;case Jl:return 97;case ea:return 96;case ta:return 95;default:throw Error(r(332))}}function ca(e){switch(e){case 99:return Gl;case 98:return Zl;case 97:return Jl;case 96:return ea;case 95:return ta;default:throw Error(r(332))}}function fa(e,t){return e=ca(e),Hl(e,t)}function da(e,t,n){return e=ca(e),jl(e,t,n)}function pa(){if(null!==aa){var e=aa;aa=null,$l(e)}ha()}function ha(){if(!oa&&null!==la){oa=!0;var e=0;try{var t=la;fa(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),la=null}catch(n){throw null!==la&&(la=la.slice(e+1)),jl(Gl,pa),n}finally{oa=!1}}}var ma=k.ReactCurrentBatchConfig;function ga(e,n){if(e&&e.defaultProps){for(var r in n=t({},n),e=e.defaultProps)void 0===n[r]&&(n[r]=e[r]);return n}return n}var va=Pl(null),ya=null,ba=null,wa=null;function ka(){wa=ba=ya=null}function Sa(e){var t=va.current;zl(va),e.type._context._currentValue=t}function Ea(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function xa(e,t){ya=e,wa=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(nu=!0),e.firstContext=null)}function Ca(e,t){if(wa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(wa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ba){if(null===ya)throw Error(r(308));ba=t,ya.dependencies={lanes:0,firstContext:t,responders:null}}else ba=ba.next=t;return e._currentValue}var _a=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function za(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function La(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Ta(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var l=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?l=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?l=a=t:a=a.next=t}else l=a=t;return n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ma(e,n,r,l){var a=e.updateQueue;_a=!1;var o=a.firstBaseUpdate,u=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var s=i,c=s.next;s.next=null,null===u?o=c:u.next=c,u=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==o){for(d=a.baseState,u=0,f=c=s=null;;){i=o.lane;var p=o.eventTime;if((l&i)===i){null!==f&&(f=f.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,m=o;switch(i=n,p=r,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,i);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(i="function"==typeof(h=m.payload)?h.call(p,d,i):h))break e;d=t({},d,i);break e;case 2:_a=!0}}null!==o.callback&&(e.flags|=32,null===(i=a.effects)?a.effects=[o]:i.push(o))}else p={eventTime:p,lane:i,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,u|=i;if(null===(o=o.next)){if(null===(i=a.shared.pending))break;o=i.next,i.next=null,a.lastBaseUpdate=i,a.shared.pending=null}}null===f&&(s=d),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=f,ui|=u,e.lanes=u,e.memoizedState=d}}function Oa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var l=e[t],a=l.callback;if(null!==a){if(l.callback=null,l=n,"function"!=typeof a)throw Error(r(191,a));a.call(l)}}}var Ra=(new e.Component).refs;function Da(e,n,r,l){r=null==(r=r(l,n=e.memoizedState))?n:t({},n,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var Fa={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Mi(),l=Oi(e),a=za(r,l);a.payload=t,null!=n&&(a.callback=n),La(e,a),Ri(e,l,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Mi(),l=Oi(e),a=za(r,l);a.tag=1,a.payload=t,null!=n&&(a.callback=n),La(e,a),Ri(e,l,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Mi(),r=Oi(e),l=za(n,r);l.tag=2,null!=t&&(l.callback=t),La(e,l),Ri(e,r,n)}};function Ia(e,t,n,r,l,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Lr(n,r)||!Lr(l,a))}function Ua(e,t,n){var r=!1,l=Tl,a=t.contextType;return"object"==typeof a&&null!==a?a=Ca(a):(l=Fl(t)?Rl:Ml.current,a=(r=null!=(r=t.contextTypes))?Dl(e,l):Tl),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Fa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),t}function Va(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fa.enqueueReplaceState(t,t.state,null)}function Aa(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=Ra,Na(e);var a=t.contextType;"object"==typeof a&&null!==a?l.context=Ca(a):(a=Fl(t)?Rl:Ml.current,l.context=Dl(e,a)),Ma(e,n,l,r),l.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Da(e,t,a,n),l.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(t=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&Fa.enqueueReplaceState(l,l.state,null),Ma(e,n,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4)}var Ba=Array.isArray;function Wa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(r(309));var l=n.stateNode}if(!l)throw Error(r(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=l.refs;t===Ra&&(t=l.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Qa(e,t){if("textarea"!==e.type)throw Error(r(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ha(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function l(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=hs(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function i(e,t,n,r){return null===t||6!==t.tag?((t=ys(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Wa(e,t,n),r.return=e,r):((r=ms(n.type,n.key,n.props,null,e.mode,r)).ref=Wa(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=bs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,l){return null===t||7!==t.tag?((t=gs(n,e.mode,r,l)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=ys(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=ms(t.type,t.key,t.props,null,e.mode,n)).ref=Wa(e,null,t),n.return=e,n;case E:return(t=bs(t,e.mode,n)).return=e,t}if(Ba(t)||W(t))return(t=gs(t,e.mode,n,null)).return=e,t;Qa(e,t)}return null}function p(e,t,n,r){var l=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==l?null:i(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===l?n.type===x?f(e,t,n.props.children,r,l):s(e,t,n,r):null;case E:return n.key===l?c(e,t,n,r):null}if(Ba(n)||W(n))return null!==l?null:f(e,t,n,r,null);Qa(e,n)}return null}function h(e,t,n,r,l){if("string"==typeof r||"number"==typeof r)return i(t,e=e.get(n)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===x?f(t,e,r.props.children,l,r.key):s(t,e,r,l);case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,l)}if(Ba(r)||W(r))return f(t,e=e.get(n)||null,r,l,null);Qa(t,r)}return null}function m(r,a,u,i){for(var s=null,c=null,f=a,m=a=0,g=null;null!==f&&m<u.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=p(r,f,u[m],i);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(r,f),a=o(v,a,m),null===c?s=v:c.sibling=v,c=v,f=g}if(m===u.length)return n(r,f),s;if(null===f){for(;m<u.length;m++)null!==(f=d(r,u[m],i))&&(a=o(f,a,m),null===c?s=f:c.sibling=f,c=f);return s}for(f=l(r,f);m<u.length;m++)null!==(g=h(f,r,m,u[m],i))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=o(g,a,m),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(r,e)}),s}function g(a,u,i,s){var c=W(i);if("function"!=typeof c)throw Error(r(150));if(null==(i=c.call(i)))throw Error(r(151));for(var f=c=null,m=u,g=u=0,v=null,y=i.next();null!==m&&!y.done;g++,y=i.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(a,m,y.value,s);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),u=o(b,u,g),null===f?c=b:f.sibling=b,f=b,m=v}if(y.done)return n(a,m),c;if(null===m){for(;!y.done;g++,y=i.next())null!==(y=d(a,y.value,s))&&(u=o(y,u,g),null===f?c=y:f.sibling=y,f=y);return c}for(m=l(a,m);!y.done;g++,y=i.next())null!==(y=h(m,a,g,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),u=o(y,u,g),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach(function(e){return t(a,e)}),c}return function(e,l,o,i){var s="object"==typeof o&&null!==o&&o.type===x&&null===o.key;s&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case S:e:{for(c=o.key,s=l;null!==s;){if(s.key===c){switch(s.tag){case 7:if(o.type===x){n(e,s.sibling),(l=a(s,o.props.children)).return=e,e=l;break e}break;default:if(s.elementType===o.type){n(e,s.sibling),(l=a(s,o.props)).ref=Wa(e,s,o),l.return=e,e=l;break e}}n(e,s);break}t(e,s),s=s.sibling}o.type===x?((l=gs(o.props.children,e.mode,i,o.key)).return=e,e=l):((i=ms(o.type,o.key,o.props,null,e.mode,i)).ref=Wa(e,l,o),i.return=e,e=i)}return u(e);case E:e:{for(s=o.key;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){n(e,l.sibling),(l=a(l,o.children||[])).return=e,e=l;break e}n(e,l);break}t(e,l),l=l.sibling}(l=bs(o,e.mode,i)).return=e,e=l}return u(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==l&&6===l.tag?(n(e,l.sibling),(l=a(l,o)).return=e,e=l):(n(e,l),(l=ys(o,e.mode,i)).return=e,e=l),u(e);if(Ba(o))return m(e,l,o,i);if(W(o))return g(e,l,o,i);if(c&&Qa(e,o),void 0===o&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(r(152,q(e.type)||"Component"))}return n(e,l)}}var ja=Ha(!0),$a=Ha(!1),qa={},Ka=Pl(qa),Ya=Pl(qa),Xa=Pl(qa);function Ga(e){if(e===qa)throw Error(r(174));return e}function Za(e,t){switch(Ll(Xa,t),Ll(Ya,e),Ll(Ka,qa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:me(null,"");break;default:t=me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}zl(Ka),Ll(Ka,t)}function Ja(){zl(Ka),zl(Ya),zl(Xa)}function eo(e){Ga(Xa.current);var t=Ga(Ka.current),n=me(t,e.type);t!==n&&(Ll(Ya,e),Ll(Ka,n))}function to(e){Ya.current===e&&(zl(Ka),zl(Ya))}var no=Pl(0);function ro(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lo=null,ao=null,oo=!1;function uo(e,t){var n=fs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function io(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function so(e){if(oo){var t=ao;if(t){var n=t;if(!io(e,t)){if(!(t=dl(n.nextSibling))||!io(e,t))return e.flags=-1025&e.flags|2,oo=!1,void(lo=e);uo(lo,n)}lo=e,ao=dl(t.firstChild)}else e.flags=-1025&e.flags|2,oo=!1,lo=e}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;lo=e}function fo(e){if(e!==lo)return!1;if(!oo)return co(e),oo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!il(t,e.memoizedProps))for(t=ao;t;)uo(e,t),t=dl(t.nextSibling);if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ao=dl(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ao=null}}else ao=lo?dl(e.stateNode.nextSibling):null;return!0}function po(){ao=lo=null,oo=!1}var ho=[];function mo(){for(var e=0;e<ho.length;e++)ho[e]._workInProgressVersionPrimary=null;ho.length=0}var go=k.ReactCurrentDispatcher,vo=k.ReactCurrentBatchConfig,yo=0,bo=null,wo=null,ko=null,So=!1,Eo=!1;function xo(){throw Error(r(321))}function Co(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function _o(e,t,n,l,a,o){if(yo=o,bo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,go.current=null===e||null===e.memoizedState?Zo:Jo,e=n(l,a),Eo){o=0;do{if(Eo=!1,!(25>o))throw Error(r(301));o+=1,ko=wo=null,t.updateQueue=null,go.current=eu,e=n(l,a)}while(Eo)}if(go.current=Go,t=null!==wo&&null!==wo.next,yo=0,ko=wo=bo=null,So=!1,t)throw Error(r(300));return e}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ko?bo.memoizedState=ko=e:ko=ko.next=e,ko}function Po(){if(null===wo){var e=bo.alternate;e=null!==e?e.memoizedState:null}else e=wo.next;var t=null===ko?bo.memoizedState:ko.next;if(null!==t)ko=t,wo=e;else{if(null===e)throw Error(r(310));e={memoizedState:(wo=e).memoizedState,baseState:wo.baseState,baseQueue:wo.baseQueue,queue:wo.queue,next:null},null===ko?bo.memoizedState=ko=e:ko=ko.next=e}return ko}function zo(e,t){return"function"==typeof t?t(e):t}function Lo(e){var t=Po(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var l=wo,a=l.baseQueue,o=n.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}l.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,l=l.baseState;var i=u=o=null,s=a;do{var c=s.lane;if((yo&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),l=s.eagerReducer===e?s.eagerState:e(l,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===i?(u=i=f,o=l):i=i.next=f,bo.lanes|=c,ui|=c}s=s.next}while(null!==s&&s!==a);null===i?o=l:i.next=u,Pr(l,t.memoizedState)||(nu=!0),t.memoizedState=l,t.baseState=o,t.baseQueue=i,n.lastRenderedState=l}return[t.memoizedState,n.dispatch]}function To(e){var t=Po(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var l=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);Pr(o,t.memoizedState)||(nu=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,l]}function Mo(e,t,n){var l=t._getVersion;l=l(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===l:(e=e.mutableReadLanes,(e=(yo&e)===e)&&(t._workInProgressVersionPrimary=l,ho.push(t))),e)return n(t._source);throw ho.push(t),Error(r(350))}function Oo(e,t,n,l){var a=Ju;if(null===a)throw Error(r(349));var o=t._getVersion,u=o(t._source),i=go.current,s=i.useState(function(){return Mo(a,t,n)}),c=s[1],f=s[0];s=ko;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var g=bo;return e.memoizedState={refs:p,source:t,subscribe:l},i.useEffect(function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!Pr(u,e)){e=n(t._source),Pr(f,e)||(c(e),e=Oi(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,l=e;0<l;){var i=31-Gt(l),s=1<<i;r[i]|=e,l&=~s}}},[n,t,l]),i.useEffect(function(){return l(t._source,function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=Oi(g);a.mutableReadLanes|=r&a.pendingLanes}catch(l){n(function(){throw l})}})},[t,l]),Pr(h,n)&&Pr(m,t)&&Pr(d,l)||((e={pending:null,dispatch:null,lastRenderedReducer:zo,lastRenderedState:f}).dispatch=c=Xo.bind(null,bo,e),s.queue=e,s.baseQueue=null,f=Mo(a,t,n),s.memoizedState=s.baseState=f),f}function Ro(e,t,n){return Oo(Po(),e,t,n)}function Do(e){var t=No();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e}).dispatch=Xo.bind(null,bo,e),[t.memoizedState,e]}function Fo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=bo.updateQueue)?(t={lastEffect:null},bo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Io(e){return e={current:e},No().memoizedState=e}function Uo(){return Po().memoizedState}function Vo(e,t,n,r){var l=No();bo.flags|=e,l.memoizedState=Fo(1|t,n,void 0,void 0===r?null:r)}function Ao(e,t,n,r){var l=Po();r=void 0===r?null:r;var a=void 0;if(null!==wo){var o=wo.memoizedState;if(a=o.destroy,null!==r&&Co(r,o.deps))return void Fo(t,n,a,r)}bo.flags|=e,l.memoizedState=Fo(1|t,n,a,r)}function Bo(e,t){return Vo(516,4,e,t)}function Wo(e,t){return Ao(516,4,e,t)}function Qo(e,t){return Ao(4,2,e,t)}function Ho(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function jo(e,t,n){return n=null!=n?n.concat([e]):null,Ao(4,2,Ho.bind(null,t,e),n)}function $o(){}function qo(e,t){var n=Po();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Co(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ko(e,t){var n=Po();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Co(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Yo(e,t){var n=sa();fa(98>n?98:n,function(){e(!0)}),fa(97<n?97:n,function(){var n=vo.transition;vo.transition=1;try{e(!1),t()}finally{vo.transition=n}})}function Xo(e,t,n){var r=Mi(),l=Oi(e),a={lane:l,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===bo||null!==o&&o===bo)Eo=So=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,i=o(u,n);if(a.eagerReducer=o,a.eagerState=i,Pr(i,u))return}catch(s){}Ri(e,l,r)}}var Go={readContext:Ca,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useMutableSource:xo,useOpaqueIdentifier:xo,unstable_isNewReconciler:!1},Zo={readContext:Ca,useCallback:function(e,t){return No().memoizedState=[e,void 0===t?null:t],e},useContext:Ca,useEffect:Bo,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Vo(4,2,Ho.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=No();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=No();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Xo.bind(null,bo,e),[r.memoizedState,e]},useRef:Io,useState:Do,useDebugValue:$o,useDeferredValue:function(e){var t=Do(e),n=t[0],r=t[1];return Bo(function(){var t=vo.transition;vo.transition=1;try{r(e)}finally{vo.transition=t}},[e]),n},useTransition:function(){var e=Do(!1),t=e[0];return Io(e=Yo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=No();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Oo(r,e,t,n)},useOpaqueIdentifier:function(){if(oo){var e=!1,t=ml(function(){throw e||(e=!0,n("r:"+(hl++).toString(36))),Error(r(355))}),n=Do(t)[1];return 0==(2&bo.mode)&&(bo.flags|=516,Fo(5,function(){n("r:"+(hl++).toString(36))},void 0,null)),t}return Do(t="r:"+(hl++).toString(36)),t},unstable_isNewReconciler:!1},Jo={readContext:Ca,useCallback:qo,useContext:Ca,useEffect:Wo,useImperativeHandle:jo,useLayoutEffect:Qo,useMemo:Ko,useReducer:Lo,useRef:Uo,useState:function(){return Lo(zo)},useDebugValue:$o,useDeferredValue:function(e){var t=Lo(zo),n=t[0],r=t[1];return Wo(function(){var t=vo.transition;vo.transition=1;try{r(e)}finally{vo.transition=t}},[e]),n},useTransition:function(){var e=Lo(zo)[0];return[Uo().current,e]},useMutableSource:Ro,useOpaqueIdentifier:function(){return Lo(zo)[0]},unstable_isNewReconciler:!1},eu={readContext:Ca,useCallback:qo,useContext:Ca,useEffect:Wo,useImperativeHandle:jo,useLayoutEffect:Qo,useMemo:Ko,useReducer:To,useRef:Uo,useState:function(){return To(zo)},useDebugValue:$o,useDeferredValue:function(e){var t=To(zo),n=t[0],r=t[1];return Wo(function(){var t=vo.transition;vo.transition=1;try{r(e)}finally{vo.transition=t}},[e]),n},useTransition:function(){var e=To(zo)[0];return[Uo().current,e]},useMutableSource:Ro,useOpaqueIdentifier:function(){return To(zo)[0]},unstable_isNewReconciler:!1},tu=k.ReactCurrentOwner,nu=!1;function ru(e,t,n,r){t.child=null===e?$a(t,null,n,r):ja(t,e.child,n,r)}function lu(e,t,n,r,l){n=n.render;var a=t.ref;return xa(t,l),r=_o(e,t,n,r,a,l),null===e||nu?(t.flags|=1,ru(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~l,Cu(e,t,l))}function au(e,t,n,r,l,a){if(null===e){var o=n.type;return"function"!=typeof o||ds(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ms(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ou(e,t,o,r,l,a))}return o=e.child,0==(l&a)&&(l=o.memoizedProps,(n=null!==(n=n.compare)?n:Lr)(l,r)&&e.ref===t.ref)?Cu(e,t,a):(t.flags|=1,(e=hs(o,r)).ref=t.ref,e.return=t,t.child=e)}function ou(e,t,n,r,l,a){if(null!==e&&Lr(e.memoizedProps,r)&&e.ref===t.ref){if(nu=!1,0==(a&l))return t.lanes=e.lanes,Cu(e,t,a);0!=(16384&e.flags)&&(nu=!0)}return su(e,t,n,r,a)}function uu(e,t,n){var r=t.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Qi(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Qi(t,e),null;t.memoizedState={baseLanes:0},Qi(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Qi(t,r);return ru(e,t,l,n),t.child}function iu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function su(e,t,n,r,l){var a=Fl(n)?Rl:Ml.current;return a=Dl(t,a),xa(t,l),n=_o(e,t,n,r,a,l),null===e||nu?(t.flags|=1,ru(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~l,Cu(e,t,l))}function cu(e,t,n,r,l){if(Fl(n)){var a=!0;Al(t)}else a=!1;if(xa(t,l),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ua(t,n,r),Aa(t,n,r,l),r=!0;else if(null===e){var o=t.stateNode,u=t.memoizedProps;o.props=u;var i=o.context,s=n.contextType;"object"==typeof s&&null!==s?s=Ca(s):s=Dl(t,s=Fl(n)?Rl:Ml.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||i!==s)&&Va(t,o,r,s),_a=!1;var d=t.memoizedState;o.state=d,Ma(t,r,o,l),i=t.memoizedState,u!==r||d!==i||Ol.current||_a?("function"==typeof c&&(Da(t,n,c,r),i=t.memoizedState),(u=_a||Ia(t,n,u,r,d,i,s))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4)):("function"==typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=i),o.props=r,o.state=i,o.context=s,r=u):("function"==typeof o.componentDidMount&&(t.flags|=4),r=!1)}else{o=t.stateNode,Pa(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:ga(t.type,u),o.props=s,f=t.pendingProps,d=o.context,"object"==typeof(i=n.contextType)&&null!==i?i=Ca(i):i=Dl(t,i=Fl(n)?Rl:Ml.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==f||d!==i)&&Va(t,o,r,i),_a=!1,d=t.memoizedState,o.state=d,Ma(t,r,o,l);var h=t.memoizedState;u!==f||d!==h||Ol.current||_a?("function"==typeof p&&(Da(t,n,p,r),h=t.memoizedState),(s=_a||Ia(t,n,s,r,d,h,i))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,i),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,i)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=i,r=s):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return fu(e,t,n,r,a,l)}function fu(e,t,n,r,l,a){iu(e,t);var o=0!=(64&t.flags);if(!r&&!o)return l&&Bl(t,n,!1),Cu(e,t,a);r=t.stateNode,tu.current=t;var u=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=ja(t,e.child,null,a),t.child=ja(t,null,u,a)):ru(e,t,u,a),t.memoizedState=r.state,l&&Bl(t,n,!0),t.child}function du(e){var t=e.stateNode;t.pendingContext?Ul(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ul(e,t.context,!1),Za(e,t.containerInfo)}var pu,hu,mu,gu,vu={dehydrated:null,retryLane:0};function yu(e,t,n){var r,l=t.pendingProps,a=no.current,o=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===l.fallback||!0===l.unstable_avoidThisFallback||(a|=1),Ll(no,1&a),null===e?(void 0!==l.fallback&&so(t),e=l.children,a=l.fallback,o?(e=bu(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=vu,e):"number"==typeof l.unstable_expectedLoadTime?(e=bu(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=vu,t.lanes=33554432,e):((n=vs({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(l=ku(e,t,l.children,l.fallback,n),o=t.child,a=e.child.memoizedState,o.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=vu,l):(n=wu(e,t,l.children,n),t.memoizedState=null,n))}function bu(e,t,n,r){var l=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&l)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=vs(t,l,0,null),n=gs(n,l,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function wu(e,t,n,r){var l=e.child;return e=l.sibling,n=hs(l,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ku(e,t,n,r,l){var a=t.mode,o=e.child;e=o.sibling;var u={mode:"hidden",children:n};return 0==(2&a)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=u,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=hs(o,u),null!==e?r=hs(e,r):(r=gs(r,a,l,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Su(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ea(e.return,t)}function Eu(e,t,n,r,l,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l,o.lastEffect=a)}function xu(e,t,n){var r=t.pendingProps,l=r.revealOrder,a=r.tail;if(ru(e,t,r.children,n),0!=(2&(r=no.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Su(e,n);else if(19===e.tag)Su(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ll(no,r),0==(2&t.mode))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===ro(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Eu(t,!1,l,n,a,t.lastEffect);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ro(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Eu(t,!0,n,null,a,t.lastEffect);break;case"together":Eu(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Cu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ui|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=hs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=hs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function _u(e,t){if(!oo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nu(e,n,l){var o=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Fl(n.type)&&Il(),null;case 3:return Ja(),zl(Ol),zl(Ml),mo(),(o=n.stateNode).pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(fo(n)?n.flags|=4:o.hydrate||(n.flags|=256)),hu(n),null;case 5:to(n);var u=Ga(Xa.current);if(l=n.type,null!==e&&null!=n.stateNode)mu(e,n,l,o,u),e.ref!==n.ref&&(n.flags|=128);else{if(!o){if(null===n.stateNode)throw Error(r(166));return null}if(e=Ga(Ka.current),fo(n)){o=n.stateNode,l=n.type;var i=n.memoizedProps;switch(o[vl]=n,o[yl]=i,l){case"dialog":Kr("cancel",o),Kr("close",o);break;case"iframe":case"object":case"embed":Kr("load",o);break;case"video":case"audio":for(e=0;e<Hr.length;e++)Kr(Hr[e],o);break;case"source":Kr("error",o);break;case"img":case"image":case"link":Kr("error",o),Kr("load",o);break;case"details":Kr("toggle",o);break;case"input":te(o,i),Kr("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!i.multiple},Kr("invalid",o);break;case"textarea":ce(o,i),Kr("invalid",o)}for(var s in xe(l,i),e=null,i)i.hasOwnProperty(s)&&(u=i[s],"children"===s?"string"==typeof u?o.textContent!==u&&(e=["children",u]):"number"==typeof u&&o.textContent!==""+u&&(e=["children",""+u]):a.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Kr("scroll",o));switch(l){case"input":G(o),le(o,i,!0);break;case"textarea":G(o),de(o);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(o.onclick=ll)}o=e,n.updateQueue=o,null!==o&&(n.flags|=4)}else{switch(s=9===u.nodeType?u:u.ownerDocument,e===pe.html&&(e=he(l)),e===pe.html?"script"===l?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=s.createElement(l,{is:o.is}):(e=s.createElement(l),"select"===l&&(s=e,o.multiple?s.multiple=!0:o.size&&(s.size=o.size))):e=s.createElementNS(e,l),e[vl]=n,e[yl]=o,pu(e,n,!1,!1),n.stateNode=e,s=Ce(l,o),l){case"dialog":Kr("cancel",e),Kr("close",e),u=o;break;case"iframe":case"object":case"embed":Kr("load",e),u=o;break;case"video":case"audio":for(u=0;u<Hr.length;u++)Kr(Hr[u],e);u=o;break;case"source":Kr("error",e),u=o;break;case"img":case"image":case"link":Kr("error",e),Kr("load",e),u=o;break;case"details":Kr("toggle",e),u=o;break;case"input":te(e,o),u=ee(e,o),Kr("invalid",e);break;case"option":u=ue(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},u=t({},o,{value:void 0}),Kr("invalid",e);break;case"textarea":ce(e,o),u=se(e,o),Kr("invalid",e);break;default:u=o}xe(l,u);var c=u;for(i in c)if(c.hasOwnProperty(i)){var f=c[i];"style"===i?Se(e,f):"dangerouslySetInnerHTML"===i?null!=(f=f?f.__html:void 0)&&ve(e,f):"children"===i?"string"==typeof f?("textarea"!==l||""!==f)&&ye(e,f):"number"==typeof f&&ye(e,""+f):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(a.hasOwnProperty(i)?null!=f&&"onScroll"===i&&Kr("scroll",e):null!=f&&w(e,i,f,s))}switch(l){case"input":G(e),le(e,o,!1);break;case"textarea":G(e),de(e);break;case"option":null!=o.value&&e.setAttribute("value",""+K(o.value));break;case"select":e.multiple=!!o.multiple,null!=(i=o.value)?ie(e,!!o.multiple,i,!1):null!=o.defaultValue&&ie(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=ll)}ul(l,o)&&(n.flags|=4)}null!==n.ref&&(n.flags|=128)}return null;case 6:if(e&&null!=n.stateNode)gu(e,n,e.memoizedProps,o);else{if("string"!=typeof o&&null===n.stateNode)throw Error(r(166));l=Ga(Xa.current),Ga(Ka.current),fo(n)?(o=n.stateNode,l=n.memoizedProps,o[vl]=n,o.nodeValue!==l&&(n.flags|=4)):((o=(9===l.nodeType?l:l.ownerDocument).createTextNode(o))[vl]=n,n.stateNode=o)}return null;case 13:return zl(no),o=n.memoizedState,0!=(64&n.flags)?(n.lanes=l,n):(o=null!==o,l=!1,null===e?void 0!==n.memoizedProps.fallback&&fo(n):l=null!==e.memoizedState,o&&!l&&0!=(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!=(1&no.current)?0===li&&(li=3):(0!==li&&3!==li||(li=4),null===Ju||0==(134217727&ui)&&0==(134217727&ii)||Ui(Ju,ti))),(o||l)&&(n.flags|=4),null);case 4:return Ja(),hu(n),null===e&&Xr(n.stateNode.containerInfo),null;case 10:return Sa(n),null;case 17:return Fl(n.type)&&Il(),null;case 19:if(zl(no),null===(o=n.memoizedState))return null;if(i=0!=(64&n.flags),null===(s=o.rendering))if(i)_u(o,!1);else{if(0!==li||null!==e&&0!=(64&e.flags))for(e=n.child;null!==e;){if(null!==(s=ro(e))){for(n.flags|=64,_u(o,!1),null!==(i=s.updateQueue)&&(n.updateQueue=i,n.flags|=4),null===o.lastEffect&&(n.firstEffect=null),n.lastEffect=o.lastEffect,o=l,l=n.child;null!==l;)e=o,(i=l).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),l=l.sibling;return Ll(no,1&no.current|2),n.child}e=e.sibling}null!==o.tail&&ia()>di&&(n.flags|=64,i=!0,_u(o,!1),n.lanes=33554432)}else{if(!i)if(null!==(e=ro(s))){if(n.flags|=64,i=!0,null!==(l=e.updateQueue)&&(n.updateQueue=l,n.flags|=4),_u(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate&&!oo)return null!==(n=n.lastEffect=o.lastEffect)&&(n.nextEffect=null),null}else 2*ia()-o.renderingStartTime>di&&1073741824!==l&&(n.flags|=64,i=!0,_u(o,!1),n.lanes=33554432);o.isBackwards?(s.sibling=n.child,n.child=s):(null!==(l=o.last)?l.sibling=s:n.child=s,o.last=s)}return null!==o.tail?(l=o.tail,o.rendering=l,o.tail=l.sibling,o.lastEffect=n.lastEffect,o.renderingStartTime=ia(),l.sibling=null,n=no.current,Ll(no,i?1&n|2:1&n),l):null;case 23:case 24:return Hi(),null!==e&&null!==e.memoizedState!=(null!==n.memoizedState)&&"unstable-defer-without-hiding"!==o.mode&&(n.flags|=4),null}throw Error(r(156,n.tag))}function Pu(e){switch(e.tag){case 1:Fl(e.type)&&Il();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ja(),zl(Ol),zl(Ml),mo(),0!=(64&(t=e.flags)))throw Error(r(285));return e.flags=-4097&t|64,e;case 5:return to(e),null;case 13:return zl(no),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return zl(no),null;case 4:return Ja(),null;case 10:return Sa(e),null;case 23:case 24:return Hi(),null;default:return null}}function zu(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var l=n}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:l}}function Lu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}pu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},hu=function(){},mu=function(e,n,r,l){var o=e.memoizedProps;if(o!==l){e=n.stateNode,Ga(Ka.current);var u,i=null;switch(r){case"input":o=ee(e,o),l=ee(e,l),i=[];break;case"option":o=ue(e,o),l=ue(e,l),i=[];break;case"select":o=t({},o,{value:void 0}),l=t({},l,{value:void 0}),i=[];break;case"textarea":o=se(e,o),l=se(e,l),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof l.onClick&&(e.onclick=ll)}for(f in xe(r,l),r=null,o)if(!l.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var s=o[f];for(u in s)s.hasOwnProperty(u)&&(r||(r={}),r[u]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(a.hasOwnProperty(f)?i||(i=[]):(i=i||[]).push(f,null));for(f in l){var c=l[f];if(s=null!=o?o[f]:void 0,l.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(r||(r={}),r[u]=c[u])}else r||(i||(i=[]),i.push(f,r)),r=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(i=i||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(a.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Kr("scroll",e),i||s===c||(i=[])):"object"==typeof c&&null!==c&&c.$$typeof===D?c.toString():(i=i||[]).push(f,c))}r&&(i=i||[]).push("style",r);var f=i;(n.updateQueue=f)&&(n.flags|=4)}},gu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Tu="function"==typeof WeakMap?WeakMap:Map;function Mu(e,t,n){(n=za(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gi||(gi=!0,vi=r),Lu(e,t)},n}function Ou(e,t,n){(n=za(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=t.value;n.payload=function(){return Lu(e,t),r(l)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===yi?yi=new Set([this]):yi.add(this),Lu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Ru="function"==typeof WeakSet?WeakSet:Set;function Du(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){us(e,n)}else t.current=null}function Fu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,l=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:ga(t.type,n),l),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&fl(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(r(163))}function Iu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var l=e.create;e.destroy=l()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;l=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(ls(n,e),rs(n,e)),e=l}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(l=n.elementType===n.type?t.memoizedProps:ga(n.type,t.memoizedProps),e.componentDidUpdate(l,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&Oa(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Oa(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&ul(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&_t(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(r(163))}function Uu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var l=n.memoizedProps.style;l=null!=l&&l.hasOwnProperty("display")?l.display:null,r.style.display=ke("display",l)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Vu(e,t){if(Ql&&"function"==typeof Ql.onCommitFiberUnmount)try{Ql.onCommitFiberUnmount(Wl,t)}catch(a){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,l=r.destroy;if(r=r.tag,void 0!==l)if(0!=(4&r))ls(t,n);else{r=t;try{l()}catch(a){us(r,a)}}n=n.next}while(n!==e)}break;case 1:if(Du(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){us(t,a)}break;case 5:Du(t);break;case 4:ju(e,t)}}function Au(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Bu(e){return 5===e.tag||3===e.tag||4===e.tag}function Wu(e){e:{for(var t=e.return;null!==t;){if(Bu(t))break e;t=t.return}throw Error(r(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var l=!1;break;case 3:case 4:t=t.containerInfo,l=!0;break;default:throw Error(r(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Bu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}l?Qu(e,n,t):Hu(e,n,t)}function Qu(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ll));else if(4!==r&&null!==(e=e.child))for(Qu(e,t,n),e=e.sibling;null!==e;)Qu(e,t,n),e=e.sibling}function Hu(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Hu(e,t,n),e=e.sibling;null!==e;)Hu(e,t,n),e=e.sibling}function ju(e,t){for(var n,l,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(r(160));switch(n=o.stateNode,o.tag){case 5:l=!1;break e;case 3:case 4:n=n.containerInfo,l=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var u=e,i=a,s=i;;)if(Vu(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}l?(u=n,i=a.stateNode,8===u.nodeType?u.parentNode.removeChild(i):u.removeChild(i)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,l=!0,a.child.return=a,a=a.child;continue}}else if(Vu(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function $u(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var l=n=n.next;do{3==(3&l.tag)&&(e=l.destroy,l.destroy=void 0,void 0!==e&&e()),l=l.next}while(l!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){l=t.memoizedProps;var a=null!==e?e.memoizedProps:l;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[yl]=l,"input"===e&&"radio"===l.type&&null!=l.name&&ne(n,l),Ce(e,a),t=Ce(e,l),a=0;a<o.length;a+=2){var u=o[a],i=o[a+1];"style"===u?Se(n,i):"dangerouslySetInnerHTML"===u?ve(n,i):"children"===u?ye(n,i):w(n,u,i,t)}switch(e){case"input":re(n,l);break;case"textarea":fe(n,l);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!l.multiple,null!=(o=l.value)?ie(n,!!l.multiple,o,!1):e!==!!l.multiple&&(null!=l.defaultValue?ie(n,!!l.multiple,l.defaultValue,!0):ie(n,!!l.multiple,l.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(r(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,_t(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(fi=ia(),Uu(t.child,!0)),void qu(t);case 19:return void qu(t);case 17:return;case 23:case 24:return void Uu(t,null!==t.memoizedState)}throw Error(r(163))}function qu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ru),t.forEach(function(t){var r=ss.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Ku(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Yu=Math.ceil,Xu=k.ReactCurrentDispatcher,Gu=k.ReactCurrentOwner,Zu=0,Ju=null,ei=null,ti=0,ni=0,ri=Pl(0),li=0,ai=null,oi=0,ui=0,ii=0,si=0,ci=null,fi=0,di=1/0;function pi(){di=ia()+500}var hi,mi=null,gi=!1,vi=null,yi=null,bi=!1,wi=null,ki=90,Si=[],Ei=[],xi=null,Ci=0,_i=null,Ni=-1,Pi=0,zi=0,Li=null,Ti=!1;function Mi(){return 0!=(48&Zu)?ia():-1!==Ni?Ni:Ni=ia()}function Oi(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===sa()?1:2;if(0===Pi&&(Pi=oi),0!==ma.transition){0!==zi&&(zi=null!==ci?ci.pendingLanes:0),e=Pi;var t=4186112&~zi;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=sa(),0!=(4&Zu)&&98===e?e=qt(12,Pi):e=qt(e=Qt(e),Pi),e}function Ri(e,t,n){if(50<Ci)throw Ci=0,_i=null,Error(r(185));if(null===(e=Di(e,t)))return null;Xt(e,t,n),e===Ju&&(ii|=t,4===li&&Ui(e,ti));var l=sa();1===t?0!=(8&Zu)&&0==(48&Zu)?Vi(e):(Fi(e,n),0===Zu&&(pi(),pa())):(0==(4&Zu)||98!==l&&99!==l||(null===xi?xi=new Set([e]):xi.add(e)),Fi(e,n)),ci=e}function Di(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Fi(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,l=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var u=31-Gt(o),i=1<<u,s=a[u];if(-1===s){if(0==(i&r)||0!=(i&l)){s=t,Wt(i);var c=Bt;a[u]=10<=c?s+250:6<=c?s+5e3:-1}}else s<=t&&(e.expiredLanes|=i);o&=~i}if(r=jt(e,e===Ju?ti:0),t=Bt,0===r)null!==n&&(n!==na&&$l(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==na&&$l(n)}15===t?(n=Vi.bind(null,e),null===la?(la=[n],aa=jl(Gl,ha)):la.push(n),n=na):14===t?n=da(99,Vi.bind(null,e)):n=da(n=Ht(t),Ii.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function Ii(e){if(Ni=-1,zi=Pi=0,0!=(48&Zu))throw Error(r(327));var t=e.callbackNode;if(ns()&&e.callbackNode!==t)return null;var n=jt(e,e===Ju?ti:0);if(0===n)return null;var l=n,a=Zu;Zu|=16;var o=qi();for(Ju===e&&ti===l||(pi(),ji(e,l));;)try{Xi();break}catch(i){$i(e,i)}if(ka(),Xu.current=o,Zu=a,null!==ei?l=0:(Ju=null,ti=0,l=li),0!=(oi&ii))ji(e,0);else if(0!==l){if(2===l&&(Zu|=64,e.hydrate&&(e.hydrate=!1,fl(e.containerInfo)),0!==(n=$t(e))&&(l=Ki(e,n))),1===l)throw t=ai,ji(e,0),Ui(e,n),Fi(e,ia()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,l){case 0:case 1:throw Error(r(345));case 2:Ji(e);break;case 3:if(Ui(e,n),(62914560&n)===n&&10<(l=fi+500-ia())){if(0!==jt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){Mi(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=sl(Ji.bind(null,e),l);break}Ji(e);break;case 4:if(Ui(e,n),(4186112&n)===n)break;for(l=e.eventTimes,a=-1;0<n;){var u=31-Gt(n);o=1<<u,(u=l[u])>a&&(a=u),n&=~o}if(n=a,10<(n=(120>(n=ia()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Yu(n/1960))-n)){e.timeoutHandle=sl(Ji.bind(null,e),n);break}Ji(e);break;case 5:Ji(e);break;default:throw Error(r(329))}}return Fi(e,ia()),e.callbackNode===t?Ii.bind(null,e):null}function Ui(e,t){for(t&=~si,t&=~ii,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function Vi(e){if(0!=(48&Zu))throw Error(r(327));if(ns(),e===Ju&&0!=(e.expiredLanes&ti)){var t=ti,n=Ki(e,t);0!=(oi&ii)&&(n=Ki(e,t=jt(e,t)))}else n=Ki(e,t=jt(e,0));if(0!==e.tag&&2===n&&(Zu|=64,e.hydrate&&(e.hydrate=!1,fl(e.containerInfo)),0!==(t=$t(e))&&(n=Ki(e,t))),1===n)throw n=ai,ji(e,0),Ui(e,t),Fi(e,ia()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ji(e),Fi(e,ia()),null}function Ai(){if(null!==xi){var e=xi;xi=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,Fi(e,ia())})}pa()}function Bi(e,t){var n=Zu;Zu|=1;try{return e(t)}finally{0===(Zu=n)&&(pi(),pa())}}function Wi(e,t){var n=Zu;Zu&=-2,Zu|=8;try{return e(t)}finally{0===(Zu=n)&&(pi(),pa())}}function Qi(e,t){Ll(ri,ni),ni|=t,oi|=t}function Hi(){ni=ri.current,zl(ri)}function ji(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,cl(n)),null!==ei)for(n=ei.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Il();break;case 3:Ja(),zl(Ol),zl(Ml),mo();break;case 5:to(r);break;case 4:Ja();break;case 13:case 19:zl(no);break;case 10:Sa(r);break;case 23:case 24:Hi()}n=n.return}Ju=e,ei=hs(e.current,null),ti=ni=oi=t,li=0,ai=null,si=ii=ui=0}function $i(e,t){for(;;){var n=ei;try{if(ka(),go.current=Go,So){for(var r=bo.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}So=!1}if(yo=0,ko=wo=bo=null,Eo=!1,Gu.current=null,null===n||null===n.return){li=1,ai=t,ei=null;break}e:{var a=e,o=n.return,u=n,i=t;if(t=ti,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i;if(0==(2&u.mode)){var c=u.alternate;c?(u.updateQueue=c.updateQueue,u.memoizedState=c.memoizedState,u.lanes=c.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!=(1&no.current),d=o;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var g=d.updateQueue;if(null===g){var v=new Set;v.add(s),d.updateQueue=v}else g.add(s);if(0==(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var y=za(-1,1);y.tag=2,La(u,y)}u.lanes|=1;break e}i=void 0,u=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new Tu,i=new Set,b.set(s,i)):void 0===(i=b.get(s))&&(i=new Set,b.set(s,i)),!i.has(u)){i.add(u);var w=is.bind(null,a,s,u);s.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);i=Error((q(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==li&&(li=2),i=zu(i,u),d=o;do{switch(d.tag){case 3:a=i,d.flags|=4096,t&=-t,d.lanes|=t,Ta(d,Mu(d,a,t));break e;case 1:a=i;var k=d.type,S=d.stateNode;if(0==(64&d.flags)&&("function"==typeof k.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===yi||!yi.has(S)))){d.flags|=4096,t&=-t,d.lanes|=t,Ta(d,Ou(d,a,t));break e}}d=d.return}while(null!==d)}Zi(n)}catch(E){t=E,ei===n&&null!==n&&(ei=n=n.return);continue}break}}function qi(){var e=Xu.current;return Xu.current=Go,null===e?Go:e}function Ki(e,t){var n=Zu;Zu|=16;var l=qi();for(Ju===e&&ti===t||ji(e,t);;)try{Yi();break}catch(a){$i(e,a)}if(ka(),Zu=n,Xu.current=l,null!==ei)throw Error(r(261));return Ju=null,ti=0,li}function Yi(){for(;null!==ei;)Gi(ei)}function Xi(){for(;null!==ei&&!ql();)Gi(ei)}function Gi(e){var t=hi(e.alternate,e,ni);e.memoizedProps=e.pendingProps,null===t?Zi(e):ei=t,Gu.current=null}function Zi(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Nu(n,t,ni)))return void(ei=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&ni)||0==(4&n.mode)){for(var r=0,l=n.child;null!==l;)r|=l.lanes|l.childLanes,l=l.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Pu(t)))return n.flags&=2047,void(ei=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(ei=t);ei=t=e}while(null!==t);0===li&&(li=5)}function Ji(e){var t=sa();return fa(99,es.bind(null,e,t)),null}function es(e,t){do{ns()}while(null!==wi);if(0!=(48&Zu))throw Error(r(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null;var l=n.lanes|n.childLanes,a=l,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var u=e.eventTimes,i=e.expirationTimes;0<o;){var s=31-Gt(o),c=1<<s;a[s]=0,u[s]=-1,i[s]=-1,o&=~c}if(null!==xi&&0==(24&l)&&xi.has(e)&&xi.delete(e),e===Ju&&(ei=Ju=null,ti=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,l=n.firstEffect):l=n:l=n.firstEffect,null!==l){if(a=Zu,Zu|=32,Gu.current=null,al=rn,Dr(u=Rr())){if("selectionStart"in u)i={start:u.selectionStart,end:u.selectionEnd};else e:if(i=(i=u.ownerDocument)&&i.defaultView||window,(c=i.getSelection&&i.getSelection())&&0!==c.rangeCount){i=c.anchorNode,o=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{i.nodeType,s.nodeType}catch(_){i=null;break e}var f=0,d=-1,p=-1,h=0,m=0,g=u,v=null;t:for(;;){for(var y;g!==i||0!==o&&3!==g.nodeType||(d=f+o),g!==s||0!==c&&3!==g.nodeType||(p=f+c),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===u)break t;if(v===i&&++h===o&&(d=f),v===s&&++m===c&&(p=f),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}i=-1===d||-1===p?null:{start:d,end:p}}else i=null;i=i||{start:0,end:0}}else i=null;ol={focusedElem:u,selectionRange:i},rn=!1,Li=null,Ti=!1,mi=l;do{try{ts()}catch(_){if(null===mi)throw Error(r(330));us(mi,_),mi=mi.nextEffect}}while(null!==mi);Li=null,mi=l;do{try{for(u=e;null!==mi;){var b=mi.flags;if(16&b&&ye(mi.stateNode,""),128&b){var w=mi.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&b){case 2:Wu(mi),mi.flags&=-3;break;case 6:Wu(mi),mi.flags&=-3,$u(mi.alternate,mi);break;case 1024:mi.flags&=-1025;break;case 1028:mi.flags&=-1025,$u(mi.alternate,mi);break;case 4:$u(mi.alternate,mi);break;case 8:ju(u,i=mi);var S=i.alternate;Au(i),null!==S&&Au(S)}mi=mi.nextEffect}}catch(_){if(null===mi)throw Error(r(330));us(mi,_),mi=mi.nextEffect}}while(null!==mi);if(k=ol,w=Rr(),b=k.focusedElem,u=k.selectionRange,w!==b&&b&&b.ownerDocument&&Or(b.ownerDocument.documentElement,b)){null!==u&&Dr(b)&&(w=u.start,void 0===(k=u.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),i=b.textContent.length,S=Math.min(u.start,i),u=void 0===u.end?S:Math.min(u.end,i),!k.extend&&S>u&&(i=u,u=S,S=i),i=Mr(b,S),o=Mr(b,u),i&&o&&(1!==k.rangeCount||k.anchorNode!==i.node||k.anchorOffset!==i.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(i.node,i.offset),k.removeAllRanges(),S>u?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}rn=!!al,ol=al=null,e.current=n,mi=l;do{try{for(b=e;null!==mi;){var E=mi.flags;if(36&E&&Iu(b,mi.alternate,mi),128&E){w=void 0;var x=mi.ref;if(null!==x){var C=mi.stateNode;switch(mi.tag){case 5:w=C;break;default:w=C}"function"==typeof x?x(w):x.current=w}}mi=mi.nextEffect}}catch(_){if(null===mi)throw Error(r(330));us(mi,_),mi=mi.nextEffect}}while(null!==mi);mi=null,ra(),Zu=a}else e.current=n;if(bi)bi=!1,wi=e,ki=t;else for(mi=l;null!==mi;)t=mi.nextEffect,mi.nextEffect=null,8&mi.flags&&((E=mi).sibling=null,E.stateNode=null),mi=t;if(0===(l=e.pendingLanes)&&(yi=null),1===l?e===_i?Ci++:(Ci=0,_i=e):Ci=0,n=n.stateNode,Ql&&"function"==typeof Ql.onCommitFiberRoot)try{Ql.onCommitFiberRoot(Wl,n,void 0,64==(64&n.current.flags))}catch(_){}if(Fi(e,ia()),gi)throw gi=!1,e=vi,vi=null,e;return 0!=(8&Zu)?null:(pa(),null)}function ts(){for(;null!==mi;){var e=mi.alternate;Ti||null===Li||(0!=(8&mi.flags)?rt(mi,Li)&&(Ti=!0):13===mi.tag&&Ku(e,mi)&&rt(mi,Li)&&(Ti=!0));var t=mi.flags;0!=(256&t)&&Fu(e,mi),0==(512&t)||bi||(bi=!0,da(97,function(){return ns(),null})),mi=mi.nextEffect}}function ns(){if(90!==ki){var e=97<ki?97:ki;return ki=90,fa(e,as)}return!1}function rs(e,t){Si.push(t,e),bi||(bi=!0,da(97,function(){return ns(),null}))}function ls(e,t){Ei.push(t,e),bi||(bi=!0,da(97,function(){return ns(),null}))}function as(){if(null===wi)return!1;var e=wi;if(wi=null,0!=(48&Zu))throw Error(r(331));var t=Zu;Zu|=32;var n=Ei;Ei=[];for(var l=0;l<n.length;l+=2){var a=n[l],o=n[l+1],u=a.destroy;if(a.destroy=void 0,"function"==typeof u)try{u()}catch(s){if(null===o)throw Error(r(330));us(o,s)}}for(n=Si,Si=[],l=0;l<n.length;l+=2){a=n[l],o=n[l+1];try{var i=a.create;a.destroy=i()}catch(s){if(null===o)throw Error(r(330));us(o,s)}}for(i=e.current.firstEffect;null!==i;)e=i.nextEffect,i.nextEffect=null,8&i.flags&&(i.sibling=null,i.stateNode=null),i=e;return Zu=t,pa(),!0}function os(e,t,n){La(e,t=Mu(e,t=zu(n,t),1)),t=Mi(),null!==(e=Di(e,1))&&(Xt(e,1,t),Fi(e,t))}function us(e,t){if(3===e.tag)os(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){os(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===yi||!yi.has(r))){var l=Ou(n,e=zu(t,e),1);if(La(n,l),l=Mi(),null!==(n=Di(n,1)))Xt(n,1,l),Fi(n,l);else if("function"==typeof r.componentDidCatch&&(null===yi||!yi.has(r)))try{r.componentDidCatch(t,e)}catch(a){}break}}n=n.return}}function is(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Mi(),e.pingedLanes|=e.suspendedLanes&n,Ju===e&&(ti&n)===n&&(4===li||3===li&&(62914560&ti)===ti&&500>ia()-fi?ji(e,0):si|=n),Fi(e,t)}function ss(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===sa()?1:2:(0===Pi&&(Pi=oi),0===(t=Kt(62914560&~Pi))&&(t=4194304))),n=Mi(),null!==(e=Di(e,t))&&(Xt(e,t,n),Fi(e,n))}function cs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function fs(e,t,n,r){return new cs(e,t,n,r)}function ds(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ps(e){if("function"==typeof e)return ds(e)?1:0;if(null!=e){if((e=e.$$typeof)===z)return 11;if(e===M)return 14}return 2}function hs(e,t){var n=e.alternate;return null===n?((n=fs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ms(e,t,n,l,a,o){var u=2;if(l=e,"function"==typeof e)ds(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case x:return gs(n.children,a,o,t);case F:u=8,a|=16;break;case C:u=8,a|=1;break;case _:return(e=fs(12,n,t,8|a)).elementType=_,e.type=_,e.lanes=o,e;case L:return(e=fs(13,n,t,a)).type=L,e.elementType=L,e.lanes=o,e;case T:return(e=fs(19,n,t,a)).elementType=T,e.lanes=o,e;case I:return vs(n,a,o,t);case U:return(e=fs(24,n,t,a)).elementType=U,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case N:u=10;break e;case P:u=9;break e;case z:u=11;break e;case M:u=14;break e;case O:u=16,l=null;break e;case R:u=22;break e}throw Error(r(130,null==e?e:typeof e,""))}return(t=fs(u,n,t,a)).elementType=e,t.type=l,t.lanes=o,t}function gs(e,t,n,r){return(e=fs(7,e,r,t)).lanes=n,e}function vs(e,t,n,r){return(e=fs(23,e,r,t)).elementType=I,e.lanes=n,e}function ys(e,t,n){return(e=fs(6,e,null,t)).lanes=n,e}function bs(e,t,n){return(t=fs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ws(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Yt(0),this.expirationTimes=Yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yt(0),this.mutableSourceEagerHydrationData=null}function ks(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ss(e,t,n,l){var a=t.current,o=Mi(),u=Oi(a);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(r(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break t;case 1:if(Fl(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break t}}i=i.return}while(null!==i);throw Error(r(171))}if(1===n.tag){var s=n.type;if(Fl(s)){n=Vl(n,s,i);break e}}n=i}else n=Tl;return null===t.context?t.context=n:t.pendingContext=n,(t=za(o,u)).payload={element:e},null!==(l=void 0===l?null:l)&&(t.callback=l),La(a,t),Ri(a,u,o),u}function Es(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function xs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Cs(e,t){xs(e,t),(e=e.alternate)&&xs(e,t)}function _s(){return null}function Ns(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new ws(e,t,null!=n&&!0===n.hydrate),t=fs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,Na(t),e[bl]=n.current,Xr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var l=(t=r[e])._getVersion;l=l(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l)}this._internalRoot=n}function Ps(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function zs(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ns(e,0,t?{hydrate:!0}:void 0)}function Ls(e,t,n,r,l){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof l){var u=l;l=function(){var e=Es(o);u.call(e)}}Ss(t,o,e,l)}else{if(a=n._reactRootContainer=zs(n,r),o=a._internalRoot,"function"==typeof l){var i=l;l=function(){var e=Es(o);i.call(e)}}Wi(function(){Ss(t,o,e,l)})}return Es(o)}function Ts(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ps(t))throw Error(r(200));return ks(e,t,null,n)}hi=function(e,t,n){var l=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||Ol.current)nu=!0;else{if(0==(n&l)){switch(nu=!1,t.tag){case 3:du(t),po();break;case 5:eo(t);break;case 1:Fl(t.type)&&Al(t);break;case 4:Za(t,t.stateNode.containerInfo);break;case 10:l=t.memoizedProps.value;var a=t.type._context;Ll(va,a._currentValue),a._currentValue=l;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?yu(e,t,n):(Ll(no,1&no.current),null!==(t=Cu(e,t,n))?t.sibling:null);Ll(no,1&no.current);break;case 19:if(l=0!=(n&t.childLanes),0!=(64&e.flags)){if(l)return xu(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ll(no,no.current),l)break;return null;case 23:case 24:return t.lanes=0,uu(e,t,n)}return Cu(e,t,n)}nu=0!=(16384&e.flags)}else nu=!1;switch(t.lanes=0,t.tag){case 2:if(l=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=Dl(t,Ml.current),xa(t,n),a=_o(null,t,l,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fl(l)){var o=!0;Al(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Na(t);var u=l.getDerivedStateFromProps;"function"==typeof u&&Da(t,l,u,e),a.updater=Fa,t.stateNode=a,a._reactInternals=t,Aa(t,l,e,n),t=fu(null,t,l,!0,o,n)}else t.tag=0,ru(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=ps(a),e=ga(a,e),o){case 0:t=su(null,t,a,e,n);break e;case 1:t=cu(null,t,a,e,n);break e;case 11:t=lu(null,t,a,e,n);break e;case 14:t=au(null,t,a,ga(a.type,e),l,n);break e}throw Error(r(306,a,""))}return t;case 0:return l=t.type,a=t.pendingProps,su(e,t,l,a=t.elementType===l?a:ga(l,a),n);case 1:return l=t.type,a=t.pendingProps,cu(e,t,l,a=t.elementType===l?a:ga(l,a),n);case 3:if(du(t),l=t.updateQueue,null===e||null===l)throw Error(r(282));if(l=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,Pa(e,t),Ma(t,l,null,n),(l=t.memoizedState.element)===a)po(),t=Cu(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(ao=dl(t.stateNode.containerInfo.firstChild),lo=t,o=oo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],ho.push(o);for(n=$a(t,null,l,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ru(e,t,l,n),po();t=t.child}return t;case 5:return eo(t),null===e&&so(t),l=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,u=a.children,il(l,a)?u=null:null!==o&&il(l,o)&&(t.flags|=16),iu(e,t),ru(e,t,u,n),t.child;case 6:return null===e&&so(t),null;case 13:return yu(e,t,n);case 4:return Za(t,t.stateNode.containerInfo),l=t.pendingProps,null===e?t.child=ja(t,null,l,n):ru(e,t,l,n),t.child;case 11:return l=t.type,a=t.pendingProps,lu(e,t,l,a=t.elementType===l?a:ga(l,a),n);case 7:return ru(e,t,t.pendingProps,n),t.child;case 8:case 12:return ru(e,t,t.pendingProps.children,n),t.child;case 10:e:{l=t.type._context,a=t.pendingProps,u=t.memoizedProps,o=a.value;var i=t.type._context;if(Ll(va,i._currentValue),i._currentValue=o,null!==u)if(i=u.value,0===(o=Pr(i,o)?0:0|("function"==typeof l._calculateChangedBits?l._calculateChangedBits(i,o):1073741823))){if(u.children===a.children&&!Ol.current){t=Cu(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){u=i.child;for(var c=s.firstContext;null!==c;){if(c.context===l&&0!=(c.observedBits&o)){1===i.tag&&((c=za(-1,n&-n)).tag=2,La(i,c)),i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Ea(i.return,n),s.lanes|=n;break}c=c.next}}else u=10===i.tag&&i.type===t.type?null:i.child;if(null!==u)u.return=i;else for(u=i;null!==u;){if(u===t){u=null;break}if(null!==(i=u.sibling)){i.return=u.return,u=i;break}u=u.return}i=u}ru(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,l=(o=t.pendingProps).children,xa(t,n),l=l(a=Ca(a,o.unstable_observedBits)),t.flags|=1,ru(e,t,l,n),t.child;case 14:return o=ga(a=t.type,t.pendingProps),au(e,t,a,o=ga(a.type,o),l,n);case 15:return ou(e,t,t.type,t.pendingProps,l,n);case 17:return l=t.type,a=t.pendingProps,a=t.elementType===l?a:ga(l,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Fl(l)?(e=!0,Al(t)):e=!1,xa(t,n),Ua(t,l,a),Aa(t,l,a,n),fu(null,t,l,!0,e,n);case 19:return xu(e,t,n);case 23:case 24:return uu(e,t,n)}throw Error(r(156,t.tag))},Ns.prototype.render=function(e){Ss(e,this._internalRoot,null,null)},Ns.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ss(null,e,null,function(){t[bl]=null})},lt=function(e){13===e.tag&&(Ri(e,4,Mi()),Cs(e,4))},at=function(e){13===e.tag&&(Ri(e,67108864,Mi()),Cs(e,67108864))},ot=function(e){if(13===e.tag){var t=Mi(),n=Oi(e);Ri(e,n,t),Cs(e,n)}},ut=function(e,t){return t()},Ne=function(e,t,n){switch(t){case"input":if(re(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var a=xl(l);if(!a)throw Error(r(90));Z(l),re(l,a)}}}break;case"textarea":fe(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Oe=Bi,Re=function(e,t,n,r,l){var a=Zu;Zu|=4;try{return fa(98,e.bind(null,t,n,r,l))}finally{0===(Zu=a)&&(pi(),pa())}},De=function(){0==(49&Zu)&&(Ai(),ns())},Fe=function(e,t){var n=Zu;Zu|=2;try{return e(t)}finally{0===(Zu=n)&&(pi(),pa())}};var Ms={Events:[Sl,El,xl,Te,Me,ns,{current:!1}]},Os={findFiberByHostInstance:kl,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Rs={bundleType:Os.bundleType,version:Os.version,rendererPackageName:Os.rendererPackageName,rendererConfig:Os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:Os.findFiberByHostInstance||_s,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ds.isDisabled&&Ds.supportsFiber)try{Wl=Ds.inject(Rs),Ql=Ds}catch(Fs){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ms,exports.createPortal=Ts,exports.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw Error(r(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},exports.flushSync=function(e,t){var n=Zu;if(0!=(48&n))return e(t);Zu|=1;try{if(e)return fa(99,e.bind(null,t))}finally{Zu=n,pa()}},exports.hydrate=function(e,t,n){if(!Ps(t))throw Error(r(200));return Ls(null,e,t,!0,n)},exports.render=function(e,t,n){if(!Ps(t))throw Error(r(200));return Ls(null,e,t,!1,n)},exports.unmountComponentAtNode=function(e){if(!Ps(e))throw Error(r(40));return!!e._reactRootContainer&&(Wi(function(){Ls(null,null,e,!1,function(){e._reactRootContainer=null,e[bl]=null})}),!0)},exports.unstable_batchedUpdates=Bi,exports.unstable_createPortal=function(e,t){return Ts(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},exports.unstable_renderSubtreeIntoContainer=function(e,t,n,l){if(!Ps(n))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return Ls(e,t,n,!1,l)},exports.version="17.0.2"; },{"react":"SAdv","object-assign":"tLxU","scheduler":"JlZK"}],"CSY6":[function(require,module,exports) { "use strict";function _(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_)}catch(O){console.error(O)}}}_(),module.exports=require("./cjs/react-dom.production.min.js"); },{"./cjs/react-dom.production.min.js":"i0Gi"}],"wjNQ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.GOOGLE_MAPS_URL=exports.HISTORY_KEY=exports.ENTREZ_KEY=exports.SAVED_SEARCHES_KEY=exports.PCASSAY_URL=exports.PCSUBSTANCE_URL=exports.PCCOMPOUND_URL=exports.NCBI_URL=exports.STATS_COLLECTIONS=exports.SEARCH_COLLECTIONS_TABS=exports.SEARCH_COLLECTIONS=exports.COLLECTION_STRING_ID_TYPES=exports.COLLECTION_NUMERIC_ID_TYPES=exports.NAME_COLLECTIONS=exports.ID_COLLECTIONS=exports.ID_NAMES=exports.THUMBNAIL_URL_3D=exports.THUMBNAIL_FLY_URL=exports.THUMBNAIL_URL=exports.SUMMARY_URL=exports.SUMMARY_URL_BASE=exports.LIB_IFRAME_RESIZER_URL=exports.LIB_STRUCTURE_3D_WEBGL2=exports.LIB_STRUCTURE_3D_WEBGL=exports.LIB_PEPJS=exports.LIB_STRUCT=exports.LIB_SPHINX=exports.DOSERESPONSE_BASE_URL=exports.BIOASSAY_DATA_TABLE_BASE_URL=exports.LINKDB_BASE_URL=exports.SOURCES_BASE_URL=exports.PTABLE_BASE_URL=exports.CLASSIFICATION_BASE_URL=exports.PUGV2_BASE_URL=exports.PUGVIEW_BASE_URL=exports.PUGREST_BASE_URL=exports.SKETCHER_URL=exports.PTABLE_URL=exports.SOURCES_URL=exports.CLASSIFICATION2_URL=exports.CLASSIFICATION_URL=exports.SEARCH_URL=exports.PROD_HOME_URL=exports.HOME_URL=exports.isTest=exports.isDev=void 0;var e=String(location.hostname).match(/dev/i);exports.isDev=e;var t=String(location.hostname).match(/test/i);exports.isTest=t;var s="https://"+location.hostname;exports.HOME_URL=s;var r="https://pubchem.ncbi.nlm.nih.gov";exports.PROD_HOME_URL=r;var i=s;exports.SEARCH_URL=i;var a="/classification_2/";exports.CLASSIFICATION_URL=a;var o="/pcfe/classification";exports.CLASSIFICATION2_URL=o;var p=e?"/rest/source/":"/source/";exports.SOURCES_URL=p;var _=e?"/ptable/":"/periodic-table/";exports.PTABLE_URL=_;var c="/edit3/index.html";exports.SKETCHER_URL=c;var n="/rest/pug/";exports.PUGREST_BASE_URL=n;var L="/rest/pug_view/";exports.PUGVIEW_BASE_URL=L;var S="/pug2/pug2.cgi?format=json&query=";exports.PUGV2_BASE_URL=S;var x=a+"classification_2.fcgi";exports.CLASSIFICATION_BASE_URL=x;var E=n+"periodictable/JSON";exports.PTABLE_BASE_URL=E;var d=n+"sourcetable/all/JSON";exports.SOURCES_BASE_URL=d;var R="/link_db/link_db_server.cgi";exports.LINKDB_BASE_URL=R;var U="/assay/pcget.cgi";exports.BIOASSAY_DATA_TABLE_BASE_URL=U;var A="/assay/pcget.cgi";exports.DOSERESPONSE_BASE_URL=A;var l="/pcfe/sphinx-api/sphinx-api.min.js";exports.LIB_SPHINX=l;var m="/pcfe/structure-api/structure-api.min.js";exports.LIB_STRUCT=m;var I="/pcfe/libs/pep.min.js";exports.LIB_PEPJS=I;var C="/pcfe/structure-3d-webgl/structure-3d-webgl.min.js";exports.LIB_STRUCTURE_3D_WEBGL=C;var T="/pcfe/structure-3d-webgl/structure-3d-webgl2.min.js";exports.LIB_STRUCTURE_3D_WEBGL2=T;var u="/pcfe/libs/iframeResizer.contentWindow.min.js";exports.LIB_IFRAME_RESIZER_URL=u;var v=e?"/rest":"";exports.SUMMARY_URL_BASE=v;var g={cid:v+"/compound/",sid:v+"/substance/",aid:v+"/bioassay/",geneid:v+"/gene/",genesymbol:v+"/gene/",protacxn:v+"/protein/",pathwayid:v+"/pathway/",pwacc:v+"/pathway/",cellid:v+"/cell/",atomicnumber:v+"/element/",pmid:"https://pubmed.ncbi.nlm.nih.gov/",pmcid:"https://www.ncbi.nlm.nih.gov/pmc/articles/"};exports.SUMMARY_URL=g;var O={cid:"/image/imgsrv.fcgi?cid=",sid:"/image/imgsrv.fcgi?sid=","preview id":"/image/imgsrv.fcgi?preview_sid="};exports.THUMBNAIL_URL=O;var b={cid:"/image/imagefly.cgi?cid=",sid:"/image/imagefly.cgi?sid=","preview id":"/image/imagefly.cgi?preview_sid="};exports.THUMBNAIL_FLY_URL=b;var B={cid:"/image/img3d.cgi?&cid=",sid:"/image/img3d.cgi?&sid="};exports.THUMBNAIL_URL_3D=B;var N={cid:"Compounds",sid:"Substances",referencesid:"Substances",aid:"BioAssays",geneid:"Genes",protacxn:"Proteins",paid:"Proteins",taxid:"Taxonomy",taxonomyid:"Taxonomy",diseaseid:"Diseases",pwacc:"Pathways",pathwayid:"Pathways",pmid:"PubMed Abstracts",pclid:"Literature",publicationnumber:"Patents",evidence:"Evidence",cellid:"Cell Lines"};exports.ID_NAMES=N;var y={cid:"compound",sid:"substance",referencesid:"substance",aid:"bioassay",geneid:"gene",protacxn:"protein",protein:"protein",taxid:"taxonomy",pwacc:"pathway",pathwayid:"pathway",diseaseid:"disease",pmid:"pubmed",pclid:"literature",publicationnumber:"patent",cellid:"cell"};exports.ID_COLLECTIONS=y;var P={compound:"cid",substance:"sid",bioassay:"aid",gene:"geneid",protein:"protacxn",taxonomy:"taxid",pathway:"pwacc",disease:"diseaseid",pubmed:"pmid",literature:"pclid",patent:"publicationnumber",cell:"cellid"};exports.NAME_COLLECTIONS=P;var h={compound:"cid",substance:"sid",bioassay:"aid",gene:"geneid",pubmed:"pmid",literature:"pclid",taxonomy:"taxid",cell:"cellid"};exports.COLLECTION_NUMERIC_ID_TYPES=h;var w={protein:"protacxn",pathway:"pwacc",patent:"publicationnumber"};exports.COLLECTION_STRING_ID_TYPES=w;var M=e||t?'"collection":"compound,substance,bioassay,gene,protein,taxonomy,pathway,cell,disease,bioactivity,literature,patent"':'"collection":"compound,substance,bioassay,gene,protein,taxonomy,pathway,cell,bioactivity,pubmed,patent"';exports.SEARCH_COLLECTIONS=M;var D=e||t?'"collection":"compound,substance,bioassay,gene,protein,taxonomy,pathway,cell,disease,literature,patent"':'"collection":"compound,substance,bioassay,gene,protein,taxonomy,pathway,cell,pubmed,patent"';exports.SEARCH_COLLECTIONS_TABS=D;var H="compound,substance,bioactivity,literature,patent";exports.STATS_COLLECTIONS=H;var Y="https://www.ncbi.nlm.nih.gov/";exports.NCBI_URL=Y;var f=Y+"pccompound/";exports.PCCOMPOUND_URL=f;var G=Y+"pcsubstance/";exports.PCSUBSTANCE_URL=G;var F=Y+"pcassay/";exports.PCASSAY_URL=F;var K="saved_searches";exports.SAVED_SEARCHES_KEY=K;var W="entrez_settings";exports.ENTREZ_KEY=W;var j="history";exports.HISTORY_KEY=j;var V="https://maps.googleapis.com/maps/api/js?key=AIzaSyDxEfWV3BWriWYrhh_1MYe02HCSaZ-86Mc";exports.GOOGLE_MAPS_URL=V; },{}],"LH3n":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEBUG_LOG=o,exports.DEBUG_LOG_START=s,exports.DEBUG_LOG_END=n;var e=require("../ini/ini");function o(o){(e.isDev||e.isTest)&&console.log(o)}function s(o){(e.isDev||e.isTest)&&(console.log("..............................................................."),console.log("DEBUG START"+(o?": "+o:"")))}function n(o){(e.isDev||e.isTest)&&(console.log("DEBUG END"+(o?": "+o:"")),console.log("...............................................................\n\n\n"))} },{"../ini/ini":"wjNQ"}],"i9OY":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FONT_SIZE=void 0;var e=16;exports.FONT_SIZE=e; },{}],"z7bP":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./Log"),t={event:function(e){}},r=t;exports.default=r; },{"./Log":"LH3n"}],"omF3":[function(require,module,exports) { "use strict";function e(e){return Math.min(e-(e>1200?200:e>600?100:30),1300)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.width=e,exports.default=void 0;var t=e;exports.default=t; },{}],"qcwJ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r={parseHash:function(r){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e={},o=r||window.location.hash.substr(1);if(o)for(var a=o.split("&"),s=0;s<a.length;s++){var n=a[s].split("="),i=n.shift().toLowerCase(),h=n.join("=");"true"===h.toLowerCase()?e[i]=!0:"false"===h.toLowerCase()?e[i]=!1:(e[i]=decodeURIComponent(h),t&&(e[i]=e[i].toLowerCase()))}return e},constructHash:function(r){var t="#";for(var e in r)if(r.hasOwnProperty(e)&&""!==r[e]&&void 0!==r[e]){var o=String(r[e]).trim();t+=e+"="+(o.match(/^[a-z0-9,]+$/i)?o:encodeURIComponent(o))+"&"}return t.substr(0,t.length-1)},replaceHashVariable:function(r,t){var e=this.parseHash(t);for(var o in r)r.hasOwnProperty(o)&&(e[o]=String(r[o]).trim());return this.constructHash(e)},parseSearch:function(r){return this.parseHash(r||window.location.search.substr(1))}},t=r;exports.default=t; },{}],"mx2d":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.PCFEStorage=void 0;var e=require("../utils-logging/Log"),t=r(require("../utils-logging/GoogleAnalytics"));function r(e){return e&&e.__esModule?e:{default:e}}var a="localStorage",o={isAvailable:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,r=!1;try{var i=window[e],n="__storage_test__";i.setItem(n,n),i.removeItem(n),r=!0}catch(l){o.isQuotaExceeded(l)&&(r=o.clear("localStorage")&&o.clear("sessionStorage")),t.default.event({action:"storage-error",label:"Storage Error: "+e+" Message="+l.message+" Status after clearing: "+r})}finally{return r}},isQuotaExceeded:function(e){var t=!1;if(e&&e.code)switch(e.code){case 22:t=!0;break;case 1014:"NS_ERROR_DOM_QUOTA_REACHED"===e.name&&(t=!0)}return t},setItem:function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=!1;try{if(o.isAvailable(i))window[i].setItem(t,r),l=!0}catch(c){l=!1;var s="Exception caught in"+i;(0,e.DEBUG_LOG_START)(s),(0,e.DEBUG_LOG)("Retrieving "+t),(0,e.DEBUG_LOG)(c.message),(0,e.DEBUG_LOG_END)(s);try{if(String(c.message).match(/quota/i)&&!n&&o.clear(i))return o.setItem(t,r,i,1)}catch(c){}}finally{return l}},getItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;try{if(this.isAvailable(t))return window[t].getItem(e)}catch(r){return!1}},removeItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.isAvailable(t)&&window[t].removeItem(e)},clear:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,r=!1;try{for(var o=window[t],i=Object.keys(o),n=0;n<i.length;n++)i[n].match(/^sources|^ptable|^autocomplete|^sdq_|^pugview_'|^pugrest_'|^structure_|^blog_/)&&((0,e.DEBUG_LOG)("deleting "+i[n]),o.removeItem(i[n]));r=!0}finally{return r}},clear_all:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;window[e].clear()}};exports.PCFEStorage=o;var i=o;exports.default=i; },{"../utils-logging/Log":"LH3n","../utils-logging/GoogleAnalytics":"z7bP"}],"PB2Y":[function(require,module,exports) { "use strict";var _="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=_; },{}],"cTRg":[function(require,module,exports) { "use strict";var e=require("./lib/ReactPropTypesSecret");function r(){}function t(){}t.resetWarningCache=r,module.exports=function(){function n(r,t,n,o,a,p){if(p!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function o(){return n}n.isRequired=n;var a={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:r};return a.PropTypes=a,a}; },{"./lib/ReactPropTypesSecret":"PB2Y"}],"yu5W":[function(require,module,exports) { var r,e;module.exports=require("./factoryWithThrowingShims")(); },{"./factoryWithThrowingShims":"cTRg"}],"qjAC":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-keyboard-arrow-down",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"}),e.default.createElement("path",{d:"M0-.75h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"KqPF":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-keyboard-arrow-up",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"AvX3":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=v(require("react")),t=v(require("prop-types"));function v(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var v=t.width,r=t.height,a=t.style;return e.default.createElement("svg",{className:"icon icon-dotgov",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:v||"24",height:r||"24",style:a},e.default.createElement("path",{fill:"#2378C3",fillRule:"evenodd",d:"M32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0zm0 1.208C14.994 1.208 1.208 14.994 1.208 32S14.994 62.792 32 62.792 62.792 49.006 62.792 32 49.006 1.208 32 1.208zm10.59 38.858a.857.857 0 0 1 .882.822v1.642H18.886v-1.642a.857.857 0 0 1 .882-.822H42.59zM25.443 27.774v9.829h1.642v-9.83h3.273v9.83H32v-9.83h3.272v9.83h1.643v-9.83h3.272v9.83h.76a.857.857 0 0 1 .882.821v.821h-21.3v-.809a.857.857 0 0 1 .88-.82h.762v-9.842h3.272zm5.736-8.188l12.293 4.915v1.642h-1.63a.857.857 0 0 1-.882.822H21.41a.857.857 0 0 1-.882-.822h-1.642v-1.642l12.293-4.915z"}))},a=r;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"T6u0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.style;return e.default.createElement("svg",{className:"icon icon-dotgov",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:r||"24",height:l||"24",style:a},e.default.createElement("path",{fill:"#719F2A",fillRule:"evenodd",d:"M32 0c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32C14.327 64 0 49.673 0 32 0 14.327 14.327 0 32 0zm0 1.208C14.994 1.208 1.208 14.994 1.208 32S14.994 62.792 32 62.792 62.792 49.006 62.792 32 49.006 1.208 32 1.208zm0 18.886a7.245 7.245 0 0 1 7.245 7.245v3.103h.52c.86 0 1.557.698 1.557 1.558v9.322c0 .86-.697 1.558-1.557 1.558h-15.53c-.86 0-1.557-.697-1.557-1.558V32c0-.86.697-1.558 1.557-1.558h.52V27.34A7.245 7.245 0 0 1 32 20.094zm0 3.103a4.142 4.142 0 0 0-4.142 4.142v3.103h8.284V27.34A4.142 4.142 0 0 0 32 23.197z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"UpNA":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-clear",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"gk9P":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OfficialGovHeader=void 0;var e=f(require("react")),t=i(require("../icons/KeyboardArrowDown")),n=i(require("../icons/KeyboardArrowUp")),r=i(require("../icons/DotGov")),a=i(require("../icons/HTTPS")),l=i(require("../icons/Clear")),o=require("../../utils/Font");function i(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var o=a?Object.getOwnPropertyDescriptor(e,l):null;o&&(o.get||o.set)?Object.defineProperty(r,l,o):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}function c(e,t){return v(e)||p(e,t)||d(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l=[],o=!0,i=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(u){i=!0,a=u}finally{try{o||null==n.return||n.return()}finally{if(i)throw a}}return l}}function v(e){if(Array.isArray(e))return e}var h=function(i){var u=i.width,f=37.5*o.FONT_SIZE,s=c((0,e.useState)(!1),2),d=s[0],m=s[1];return e.default.createElement("div",{className:"print-hidden bckg-gray-lightest f-075 p-xsm-top p-xsm-bottom"},e.default.createElement("div",{className:"main-width"},u<=f?e.default.createElement("button",{className:"pc-bg-us-flag flex-container width-100 align-vertical-center no-border align-left f-lh-1","aria-controls":"gov-banner","aria-expanded":d,onClick:function(){m(!d)}},e.default.createElement("div",{className:"flex-grow-1"},e.default.createElement("p",{className:"f-base"},"An official website of the United States government"),!d&&e.default.createElement("p",{className:"a-like underlined"},"Here is how you know ",e.default.createElement(t.default,null))),d&&e.default.createElement(l.default,null)):e.default.createElement("div",{className:"pc-bg-us-flag flex-container width-100 align-vertical-center"},e.default.createElement("p",{className:"f-base"},"An official website of the United States government"),e.default.createElement("button",{className:"no-border a-like underlined","aria-controls":"gov-banner","aria-expanded":d,onClick:function(){m(!d)}},"Here is how you know",d?e.default.createElement(n.default,null):e.default.createElement(t.default,null))),e.default.createElement("div",{id:"gov-banner",className:d?"gov-banner p-sm-top p-sm-bottom f-125 f-lh-15":"hidden",hidden:!d,"aria-hidden":!d},e.default.createElement("div",{className:"flex-container flex-nowrap p-sm-top p-sm-bottom"},e.default.createElement(r.default,{width:40,height:40,style:{flex:"none"}}),e.default.createElement("div",{className:"p-sm-left"},e.default.createElement("strong",null,"The .gov means it鈥檚 official."),e.default.createElement("p",null,"Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you鈥檙e on a federal government site."))),e.default.createElement("div",{className:"flex-container flex-nowrap p-sm-top p-sm-bottom"},e.default.createElement(a.default,{width:40,height:40,style:{flex:"none"}}),e.default.createElement("div",{className:"p-sm-left"},e.default.createElement("strong",null,"The site is secure."),e.default.createElement("p",null,"The ",e.default.createElement("strong",null,"https://")," ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely."))))))};exports.OfficialGovHeader=h; },{"react":"SAdv","../icons/KeyboardArrowDown":"qjAC","../icons/KeyboardArrowUp":"KqPF","../icons/DotGov":"AvX3","../icons/HTTPS":"T6u0","../icons/Clear":"UpNA","../../utils/Font":"i9OY"}],"F9dj":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NIHNLMNCBILogo=void 0;var a=e(require("react"));function e(a){return a&&a.__esModule?a:{default:a}}var t=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{height:"40px",width:"auto",maxWidth:"100%"},viewBox:"0 0 2039.55 243.26",fill:"currentColor"},a.default.createElement("g",null,a.default.createElement("path",{d:"M266.77,67.24V176H248.18v-49.2H199.53V176H180.4V67.24H199v43.19h48.66V67.24ZM161.26,176H142.68V67.24h18.58Zm-37.17,0H104.41L55.76,96.21h-.55V176h-18V67.24H56.85l49.2,79.81h.55V67.24h18V176Zm208.83-54.66L266.77,0H21.87A22.05,22.05,0,0,0,0,22.41V220.85a22.05,22.05,0,0,0,21.87,22.41H266.22Z"}),a.default.createElement("path",{d:"M283.17,242.72l66.69-121.36L283.17,0h16.4c9.29,0,20.23,6.56,24.6,14.76l58.49,106.6L324.17,228c-4.37,8.2-15.31,14.76-24.6,14.76Z"}),a.default.createElement("path",{d:"M428.15,31.14h16.5L485.4,96.89h.25V31.14h14.88v89.25H484L443.4,54.76H443v65.63H428.15Z"}),a.default.createElement("path",{d:"M571.15,106a7.54,7.54,0,0,0,.69,3.75,2.9,2.9,0,0,0,2.69,1.13H576a9.16,9.16,0,0,0,2-.25v9.87c-.5.17-1.15.36-1.94.57s-1.61.39-2.44.56-1.67.29-2.5.37a20,20,0,0,1-2.12.13,13.78,13.78,0,0,1-7.25-1.75q-2.88-1.76-3.75-6.13a25.29,25.29,0,0,1-10.44,6,41.17,41.17,0,0,1-11.94,1.88,29.25,29.25,0,0,1-8.37-1.19,22,22,0,0,1-7.07-3.5,16.81,16.81,0,0,1-4.87-5.87,18.11,18.11,0,0,1-1.81-8.32,19.18,19.18,0,0,1,2.18-9.75,16.27,16.27,0,0,1,5.75-5.87,25.79,25.79,0,0,1,8-3.06,90.4,90.4,0,0,1,8.94-1.44,70.49,70.49,0,0,1,7.38-1.06A34.66,34.66,0,0,0,552,81a9.49,9.49,0,0,0,4.25-2.31A6.37,6.37,0,0,0,557.78,74a7.28,7.28,0,0,0-1.32-4.5,8.78,8.78,0,0,0-3.25-2.68,13.68,13.68,0,0,0-4.31-1.25,34.25,34.25,0,0,0-4.5-.32,17.93,17.93,0,0,0-9.87,2.5,9.74,9.74,0,0,0-4.38,7.75H515.9a21.45,21.45,0,0,1,3-10.37,20.76,20.76,0,0,1,6.69-6.63,27.57,27.57,0,0,1,9.19-3.5,55.13,55.13,0,0,1,10.5-1,44.65,44.65,0,0,1,9.37,1A26.74,26.74,0,0,1,563,58.26a18,18,0,0,1,5.94,5.82,15.93,15.93,0,0,1,2.25,8.68ZM556.9,88a17.36,17.36,0,0,1-8,2.57c-3.17.29-6.33.73-9.5,1.31A30,30,0,0,0,535,93a12.93,12.93,0,0,0-3.75,1.88A8.22,8.22,0,0,0,528.71,98a10.78,10.78,0,0,0-.93,4.69,6,6,0,0,0,1.37,4,10,10,0,0,0,3.31,2.56,15.17,15.17,0,0,0,4.25,1.31,26.44,26.44,0,0,0,4.19.38,23.14,23.14,0,0,0,5.13-.63,16.81,16.81,0,0,0,5.18-2.12,13.72,13.72,0,0,0,4.07-3.81,9.69,9.69,0,0,0,1.62-5.69Z"}),a.default.createElement("path",{d:"M580,55.76h10.75V36.39H605V55.76H617.9V66.39H605v34.5a35.69,35.69,0,0,0,.18,3.87,6.71,6.71,0,0,0,.88,2.75,4.15,4.15,0,0,0,2.06,1.69,10.07,10.07,0,0,0,3.75.56q1.5,0,3-.06a14.79,14.79,0,0,0,3-.44v11l-4.62.5a41.2,41.2,0,0,1-4.63.25,31.47,31.47,0,0,1-9.06-1.06,12.17,12.17,0,0,1-5.38-3.12,10.85,10.85,0,0,1-2.62-5.19,38.6,38.6,0,0,1-.81-7.13V66.39H580Z"}),a.default.createElement("path",{d:"M628.52,31.14h14.25v13.5H628.52Zm0,24.62h14.25v64.63H628.52Z"}),a.default.createElement("path",{d:"M687.9,122.14a35.31,35.31,0,0,1-13.81-2.56,29.4,29.4,0,0,1-10.25-7.07,30.09,30.09,0,0,1-6.38-10.75,43.85,43.85,0,0,1,0-27.37,30.09,30.09,0,0,1,6.38-10.75,29.25,29.25,0,0,1,10.25-7.06,38.39,38.39,0,0,1,27.62,0A29.34,29.34,0,0,1,712,63.64a30.24,30.24,0,0,1,6.38,10.75,44,44,0,0,1,0,27.37A30.24,30.24,0,0,1,712,112.51a29.5,29.5,0,0,1-10.25,7.07A35.31,35.31,0,0,1,687.9,122.14Zm0-11.25a16.37,16.37,0,0,0,8.25-2,17.35,17.35,0,0,0,5.75-5.25,23,23,0,0,0,3.31-7.31,32.91,32.91,0,0,0,0-16.57,22.18,22.18,0,0,0-3.31-7.31,17.83,17.83,0,0,0-5.75-5.19,18,18,0,0,0-16.5,0,17.83,17.83,0,0,0-5.75,5.19,22,22,0,0,0-3.31,7.31,32.61,32.61,0,0,0,0,16.57,22.83,22.83,0,0,0,3.31,7.31,17.35,17.35,0,0,0,5.75,5.25A16.37,16.37,0,0,0,687.9,110.89Z"}),a.default.createElement("path",{d:"M732.4,55.76h13.5v9.5l.25.25a23.83,23.83,0,0,1,8.5-8.43A22.56,22.56,0,0,1,766.27,54q10.62,0,16.75,5.5T789.15,76v44.38H774.9V79.76q-.25-7.62-3.25-11.06t-9.38-3.44a15.41,15.41,0,0,0-6.5,1.32,14,14,0,0,0-4.87,3.62,17,17,0,0,0-3.13,5.44,19.38,19.38,0,0,0-1.12,6.62v38.13H732.4Z"}),a.default.createElement("path",{d:"M858.27,106a7.54,7.54,0,0,0,.69,3.75,2.9,2.9,0,0,0,2.69,1.13h1.5a9.16,9.16,0,0,0,2-.25v9.87c-.5.17-1.15.36-1.94.57s-1.61.39-2.44.56-1.67.29-2.5.37a20,20,0,0,1-2.12.13,13.78,13.78,0,0,1-7.25-1.75q-2.88-1.76-3.75-6.13a25.29,25.29,0,0,1-10.44,6,41.17,41.17,0,0,1-11.94,1.88A29.25,29.25,0,0,1,814.4,121a22.07,22.07,0,0,1-7.07-3.5,16.81,16.81,0,0,1-4.87-5.87,18.11,18.11,0,0,1-1.81-8.32,19.29,19.29,0,0,1,2.18-9.75,16.27,16.27,0,0,1,5.75-5.87,25.89,25.89,0,0,1,8-3.06,90.4,90.4,0,0,1,8.94-1.44,70.49,70.49,0,0,1,7.38-1.06A34.66,34.66,0,0,0,839.08,81a9.43,9.43,0,0,0,4.25-2.31A6.33,6.33,0,0,0,844.9,74a7.28,7.28,0,0,0-1.32-4.5,8.7,8.7,0,0,0-3.25-2.68A13.68,13.68,0,0,0,836,65.58a34.25,34.25,0,0,0-4.5-.32,17.93,17.93,0,0,0-9.87,2.5,9.74,9.74,0,0,0-4.38,7.75H803a21.45,21.45,0,0,1,3-10.37,20.76,20.76,0,0,1,6.69-6.63A27.57,27.57,0,0,1,821.9,55a55.13,55.13,0,0,1,10.5-1,44.65,44.65,0,0,1,9.37,1,26.65,26.65,0,0,1,8.31,3.25A18,18,0,0,1,856,64.08a15.93,15.93,0,0,1,2.25,8.68ZM844,88a17.36,17.36,0,0,1-8,2.57c-3.17.29-6.33.73-9.5,1.31A30,30,0,0,0,822.15,93a12.93,12.93,0,0,0-3.75,1.88A8.22,8.22,0,0,0,815.83,98a10.78,10.78,0,0,0-.93,4.69,6,6,0,0,0,1.37,4,10,10,0,0,0,3.31,2.56,15.27,15.27,0,0,0,4.25,1.31,26.55,26.55,0,0,0,4.19.38,23.14,23.14,0,0,0,5.13-.63,16.81,16.81,0,0,0,5.18-2.12,13.72,13.72,0,0,0,4.07-3.81A9.69,9.69,0,0,0,844,98.64Z"}),a.default.createElement("path",{d:"M874,31.14h14.25v89.25H874Z"}),a.default.createElement("path",{d:"M940.52,31.14h15.63v75.75h45.37v13.5h-61Z"}),a.default.createElement("path",{d:"M1010.65,31.14h14.25v13.5h-14.25Zm0,24.62h14.25v64.63h-14.25Z"}),a.default.createElement("path",{d:"M1040.77,31.14H1055v33h.25a19.61,19.61,0,0,1,3.63-4.25,22.61,22.61,0,0,1,4.68-3.19,24.84,24.84,0,0,1,5.38-2,23.25,23.25,0,0,1,5.56-.69,30.88,30.88,0,0,1,13.31,2.69,26.21,26.21,0,0,1,9.44,7.38A32,32,0,0,1,1102.9,75a46.38,46.38,0,0,1,1.87,13.38,47.08,47.08,0,0,1-1.69,12.62,32.79,32.79,0,0,1-5.12,10.82,25,25,0,0,1-21.06,10.31,50.47,50.47,0,0,1-6.57-.44A24.4,24.4,0,0,1,1064,120a21.45,21.45,0,0,1-5.44-3.25,15.76,15.76,0,0,1-4.06-5.25h-.25v8.88h-13.5Zm49.75,57a32.14,32.14,0,0,0-1.12-8.5,23,23,0,0,0-3.38-7.31,17.35,17.35,0,0,0-5.62-5.13,15.32,15.32,0,0,0-7.75-1.94q-9,0-13.57,6.25t-4.56,16.63a33.14,33.14,0,0,0,1.19,9.06,20.45,20.45,0,0,0,3.56,7.19,17.79,17.79,0,0,0,5.69,4.75,16.19,16.19,0,0,0,7.69,1.75,16,16,0,0,0,8.25-2,17.37,17.37,0,0,0,5.56-5.19,20.85,20.85,0,0,0,3.12-7.25A36.57,36.57,0,0,0,1090.52,88.14Z"}),a.default.createElement("path",{d:"M1116.77,55.76h13.37v12.5h.25a14.47,14.47,0,0,1,2.44-5.12,23.55,23.55,0,0,1,4.38-4.56,22.05,22.05,0,0,1,5.68-3.32,17.13,17.13,0,0,1,6.38-1.25,31.47,31.47,0,0,1,3.44.13l1.93.25V68.14c-1-.17-2-.31-3.06-.44a26.73,26.73,0,0,0-3.06-.19,16.32,16.32,0,0,0-6.81,1.44,15.76,15.76,0,0,0-5.57,4.25,21,21,0,0,0-3.75,6.94,30.24,30.24,0,0,0-1.37,9.5v30.75h-14.25Z"}),a.default.createElement("path",{d:"M1214.89,106a7.54,7.54,0,0,0,.69,3.75,2.9,2.9,0,0,0,2.69,1.13h1.5a9.16,9.16,0,0,0,2-.25v9.87c-.5.17-1.15.36-1.94.57s-1.6.39-2.44.56-1.66.29-2.5.37a20,20,0,0,1-2.12.13,13.78,13.78,0,0,1-7.25-1.75q-2.88-1.76-3.75-6.13a25.22,25.22,0,0,1-10.44,6,41.07,41.07,0,0,1-11.94,1.88A29.3,29.3,0,0,1,1171,121a21.91,21.91,0,0,1-7.06-3.5,16.73,16.73,0,0,1-4.88-5.87,18.11,18.11,0,0,1-1.81-8.32,19.18,19.18,0,0,1,2.19-9.75,16.11,16.11,0,0,1,5.75-5.87,25.69,25.69,0,0,1,8-3.06,89.73,89.73,0,0,1,8.93-1.44,70.87,70.87,0,0,1,7.38-1.06,34.94,34.94,0,0,0,6.19-1.07A9.54,9.54,0,0,0,1200,78.7a6.37,6.37,0,0,0,1.56-4.69,7.34,7.34,0,0,0-1.31-4.5,8.86,8.86,0,0,0-3.25-2.68,13.74,13.74,0,0,0-4.32-1.25,34.25,34.25,0,0,0-4.5-.32,17.93,17.93,0,0,0-9.87,2.5,9.76,9.76,0,0,0-4.38,7.75h-14.25a21.45,21.45,0,0,1,3-10.37,20.76,20.76,0,0,1,6.69-6.63,27.57,27.57,0,0,1,9.19-3.5,55.13,55.13,0,0,1,10.5-1,44.65,44.65,0,0,1,9.37,1,26.71,26.71,0,0,1,8.32,3.25,18,18,0,0,1,5.93,5.82,15.93,15.93,0,0,1,2.25,8.68Zm-14.25-18a17.32,17.32,0,0,1-8,2.57q-4.74.44-9.5,1.31a30,30,0,0,0-4.37,1.06,12.93,12.93,0,0,0-3.75,1.88,8.1,8.1,0,0,0-2.56,3.12,10.63,10.63,0,0,0-.94,4.69,6,6,0,0,0,1.37,4,9.94,9.94,0,0,0,3.32,2.56,15.07,15.07,0,0,0,4.25,1.31,26.33,26.33,0,0,0,4.18.38,23.07,23.07,0,0,0,5.13-.63,17,17,0,0,0,5.19-2.12,13.8,13.8,0,0,0,4.06-3.81,9.69,9.69,0,0,0,1.62-5.69Z"}),a.default.createElement("path",{d:"M1230.27,55.76h13.37v12.5h.25a14.47,14.47,0,0,1,2.44-5.12,23.55,23.55,0,0,1,4.38-4.56,22.05,22.05,0,0,1,5.68-3.32,17.13,17.13,0,0,1,6.38-1.25,31.6,31.6,0,0,1,3.44.13l1.93.25V68.14c-1-.17-2-.31-3.06-.44a26.73,26.73,0,0,0-3.06-.19,16.32,16.32,0,0,0-6.81,1.44,15.76,15.76,0,0,0-5.57,4.25,21,21,0,0,0-3.75,6.94,30.24,30.24,0,0,0-1.37,9.5v30.75h-14.25Z"}),a.default.createElement("path",{d:"M1267.14,55.76h15.63L1299.64,104h.25l16.38-48.25h14.87L1306,123.89c-1.17,2.91-2.31,5.71-3.44,8.37a30.11,30.11,0,0,1-4.12,7.07,17.89,17.89,0,0,1-6.07,4.87,20.62,20.62,0,0,1-9.25,1.81,64.81,64.81,0,0,1-9.87-.75v-12c1.16.17,2.29.36,3.37.57a18.63,18.63,0,0,0,3.38.31,11.51,11.51,0,0,0,4.12-.63,6.74,6.74,0,0,0,2.69-1.81,11.22,11.22,0,0,0,1.81-2.81,28.64,28.64,0,0,0,1.38-3.75l1.62-5Z"}),a.default.createElement("path",{d:"M1403.52,122.14a35.31,35.31,0,0,1-13.81-2.56,29.4,29.4,0,0,1-10.25-7.07,30.09,30.09,0,0,1-6.38-10.75,43.85,43.85,0,0,1,0-27.37,30.09,30.09,0,0,1,6.38-10.75,29.25,29.25,0,0,1,10.25-7.06,38.39,38.39,0,0,1,27.62,0,29.34,29.34,0,0,1,10.25,7.06A30.24,30.24,0,0,1,1434,74.39a44,44,0,0,1,0,27.37,30.24,30.24,0,0,1-6.38,10.75,29.5,29.5,0,0,1-10.25,7.07A35.35,35.35,0,0,1,1403.52,122.14Zm0-11.25a16.42,16.42,0,0,0,8.25-2,17.35,17.35,0,0,0,5.75-5.25,23,23,0,0,0,3.31-7.31,32.91,32.91,0,0,0,0-16.57,22.18,22.18,0,0,0-3.31-7.31,17.83,17.83,0,0,0-5.75-5.19,18,18,0,0,0-16.5,0,17.73,17.73,0,0,0-5.75,5.19,22,22,0,0,0-3.31,7.31,32.61,32.61,0,0,0,0,16.57,22.83,22.83,0,0,0,3.31,7.31,17.25,17.25,0,0,0,5.75,5.25A16.37,16.37,0,0,0,1403.52,110.89Z"}),a.default.createElement("path",{d:"M1441.64,55.76h10.63V50.39a27.59,27.59,0,0,1,1.5-9.94,14,14,0,0,1,4-5.87,13,13,0,0,1,5.68-2.75,31.62,31.62,0,0,1,6.69-.69,41,41,0,0,1,10,.87V43.14a19.9,19.9,0,0,0-2.94-.56,30.26,30.26,0,0,0-3.68-.19,8.73,8.73,0,0,0-4.94,1.37c-1.38.92-2.06,2.71-2.06,5.38v6.62h12.12V66.39h-12.12v54h-14.25v-54h-10.63Z"}),a.default.createElement("path",{d:"M1523.89,31.14h22L1570.51,101h.25l24-69.87h21.75v89.25h-14.87V51.51h-.25l-24.75,68.88h-12.88L1539,51.51h-.25v68.88h-14.87Z"}),a.default.createElement("path",{d:"M1644.39,91.76a24.75,24.75,0,0,0,1.06,7.25,17.8,17.8,0,0,0,3.19,6.13,15.45,15.45,0,0,0,5.37,4.19,17.77,17.77,0,0,0,7.75,1.56q6.26,0,10.07-2.69a15.89,15.89,0,0,0,5.68-8.06H1691a26.76,26.76,0,0,1-10.5,16.31,28.53,28.53,0,0,1-8.68,4.25,35,35,0,0,1-10.07,1.44,34.36,34.36,0,0,1-13.5-2.5,27.91,27.91,0,0,1-9.93-7,29.73,29.73,0,0,1-6.13-10.75,43.83,43.83,0,0,1-2.06-13.75,38.84,38.84,0,0,1,2.19-13.06,33.28,33.28,0,0,1,6.25-10.88A29.3,29.3,0,0,1,1661.39,54a29.07,29.07,0,0,1,13.69,3.19,30.14,30.14,0,0,1,10.06,8.44A34.3,34.3,0,0,1,1691,77.7a37,37,0,0,1,.94,14.06Zm33.25-9.37a23.13,23.13,0,0,0-1.44-6.5,17.23,17.23,0,0,0-3.25-5.44,16.07,16.07,0,0,0-5-3.75,14.72,14.72,0,0,0-6.56-1.44,17,17,0,0,0-6.81,1.32,15.36,15.36,0,0,0-5.25,3.62,17.84,17.84,0,0,0-3.5,5.44,18.76,18.76,0,0,0-1.44,6.75Z"}),a.default.createElement("path",{d:"M1763.64,120.39h-13.5v-8.75h-.25a16.91,16.91,0,0,1-8.38,8.06,28.26,28.26,0,0,1-11.62,2.44,30.85,30.85,0,0,1-13.31-2.69,26.5,26.5,0,0,1-9.44-7.31,31.27,31.27,0,0,1-5.63-10.94,47.43,47.43,0,0,1-1.87-13.56A43.46,43.46,0,0,1,1702,72.51a30.33,30.33,0,0,1,6.32-10.5,24.3,24.3,0,0,1,9-6.06A28.64,28.64,0,0,1,1727.64,54a34,34,0,0,1,6.12.57,26.68,26.68,0,0,1,6,1.81,23.33,23.33,0,0,1,5.32,3.19,17.84,17.84,0,0,1,4.06,4.56h.25v-33h14.25Zm-49.75-31.63a31.5,31.5,0,0,0,1.06,8.13,22.18,22.18,0,0,0,3.25,7.12,15.81,15.81,0,0,0,13.56,6.88,16,16,0,0,0,8.19-2,17,17,0,0,0,5.63-5.25,24.09,24.09,0,0,0,3.25-7.31,33.12,33.12,0,0,0,1.06-8.32q0-10.74-4.81-16.75a15.87,15.87,0,0,0-13.07-6,16.06,16.06,0,0,0-8.43,2.07A17.21,17.21,0,0,0,1718,72.7a22.21,22.21,0,0,0-3.12,7.5A38.78,38.78,0,0,0,1713.89,88.76Z"}),a.default.createElement("path",{d:"M1779.51,31.14h14.25v13.5h-14.25Zm0,24.62h14.25v64.63h-14.25Z"}),a.default.createElement("path",{d:"M1852.89,77.39q-.89-6-4.82-9.06a15.62,15.62,0,0,0-9.93-3.07,20.65,20.65,0,0,0-5.88.94,14,14,0,0,0-5.75,3.5,19.49,19.49,0,0,0-4.37,7.13,33.82,33.82,0,0,0-1.75,11.93,35.16,35.16,0,0,0,.93,8,22.05,22.05,0,0,0,3,7.13,16.3,16.3,0,0,0,5.32,5.06,15.1,15.1,0,0,0,7.87,1.94,14.29,14.29,0,0,0,10.31-3.88q4.07-3.87,5.07-10.87h14.25q-2,12.63-9.57,19.31t-20.06,6.69a33.22,33.22,0,0,1-13.44-2.56,28.68,28.68,0,0,1-9.81-7A29.59,29.59,0,0,1,1808.2,102a41.12,41.12,0,0,1-2.06-13.25,45,45,0,0,1,2-13.62,31.05,31.05,0,0,1,6-11.06,28,28,0,0,1,9.93-7.38A33.59,33.59,0,0,1,1838,54a38.93,38.93,0,0,1,10.69,1.44,28.42,28.42,0,0,1,9,4.31,23.17,23.17,0,0,1,6.44,7.25,25.06,25.06,0,0,1,3,10.38Z"}),a.default.createElement("path",{d:"M1879.14,31.14h14.25v13.5h-14.25Zm0,24.62h14.25v64.63h-14.25Z"}),a.default.createElement("path",{d:"M1908.89,55.76h13.5v9.5l.25.25a23.83,23.83,0,0,1,8.5-8.43A22.56,22.56,0,0,1,1942.76,54q10.62,0,16.75,5.5t6.13,16.5v44.38h-14.25V79.76q-.26-7.62-3.25-11.06t-9.38-3.44a15.41,15.41,0,0,0-6.5,1.32,14,14,0,0,0-4.87,3.62,17,17,0,0,0-3.13,5.44,19.38,19.38,0,0,0-1.12,6.62v38.13h-14.25Z"}),a.default.createElement("path",{d:"M1991.76,91.76a24.75,24.75,0,0,0,1.06,7.25,17.8,17.8,0,0,0,3.19,6.13,15.48,15.48,0,0,0,5.38,4.19,17.74,17.74,0,0,0,7.75,1.56q6.24,0,10.06-2.69a15.9,15.9,0,0,0,5.69-8.06h13.5a26.88,26.88,0,0,1-10.5,16.31,28.59,28.59,0,0,1-8.69,4.25,34.91,34.91,0,0,1-10.06,1.44,34.29,34.29,0,0,1-13.5-2.5,27.94,27.94,0,0,1-9.94-7,29.73,29.73,0,0,1-6.13-10.75,43.83,43.83,0,0,1-2.06-13.75,38.84,38.84,0,0,1,2.19-13.06A33.46,33.46,0,0,1,1986,64.2,29.3,29.3,0,0,1,2008.76,54a29,29,0,0,1,13.69,3.19,30.14,30.14,0,0,1,10.06,8.44,34.13,34.13,0,0,1,5.81,12.06,37,37,0,0,1,.94,14.06ZM2025,82.39a23.13,23.13,0,0,0-1.44-6.5,17.23,17.23,0,0,0-3.25-5.44,16.07,16.07,0,0,0-5-3.75,14.69,14.69,0,0,0-6.56-1.44,17,17,0,0,0-6.81,1.32,15.55,15.55,0,0,0-5.25,3.62,17.84,17.84,0,0,0-3.5,5.44,18.76,18.76,0,0,0-1.44,6.75Z"}),a.default.createElement("path",{d:"M438.78,164.56l19.12,44.33h.15L467,164.56h6.9l-11.33,53.55H454.9l-19-44h-.15l-9.08,44h-6.9l11.33-53.55Z"}),a.default.createElement("path",{d:"M479.39,185.45a14.1,14.1,0,0,1,3.79-3.94,15.83,15.83,0,0,1,5.1-2.32,23.15,23.15,0,0,1,5.92-.75,31.06,31.06,0,0,1,5.4.45,13.69,13.69,0,0,1,4.5,1.57,8.55,8.55,0,0,1,3.11,3,9.13,9.13,0,0,1,1.17,4.84,16.68,16.68,0,0,1-.42,3.56c-.27,1.27-.53,2.44-.78,3.49L504.7,206c-.15.8-.36,1.7-.64,2.7a11,11,0,0,0-.41,2.85,2.64,2.64,0,0,0,.53,1.88,1.82,1.82,0,0,0,1.35.52,3.12,3.12,0,0,0,1-.19l1-.33-1,4.72a12.34,12.34,0,0,1-1.92.56,8.91,8.91,0,0,1-2,.27,5.23,5.23,0,0,1-4-1.43,4.69,4.69,0,0,1-1.05-4l-.15-.15a13.35,13.35,0,0,1-5,4.12,18.69,18.69,0,0,1-8,1.43,17.94,17.94,0,0,1-4.62-.57,9.5,9.5,0,0,1-3.71-1.87,9.3,9.3,0,0,1-2.51-3.38,12.1,12.1,0,0,1-.94-5.06,10.71,10.71,0,0,1,1.84-6.67,11.57,11.57,0,0,1,4.69-3.64,23.14,23.14,0,0,1,6.3-1.69q3.45-.45,6.67-.75c1.7-.15,3.16-.31,4.39-.49a9.91,9.91,0,0,0,3-.86,3.81,3.81,0,0,0,1.76-1.72,7.06,7.06,0,0,0,.56-3.08,4.07,4.07,0,0,0-.75-2.55,5.39,5.39,0,0,0-1.87-1.54,8.85,8.85,0,0,0-2.52-.78,16.59,16.59,0,0,0-2.66-.23,17,17,0,0,0-3.56.38,10.28,10.28,0,0,0-3.19,1.23,8.35,8.35,0,0,0-2.4,2.18,7.13,7.13,0,0,0-1.27,3.19H477.4A13.45,13.45,0,0,1,479.39,185.45Zm1.8,26.59a8.86,8.86,0,0,0,4.84,1.35q7.58,0,10.87-5.1a12.73,12.73,0,0,0,2.14-4.73c.37-1.7.79-3.45,1.24-5.25h-.15a8.74,8.74,0,0,1-3.42,1.39c-1.37.27-2.83.49-4.38.64s-3.12.33-4.69.56A18.11,18.11,0,0,0,483.4,202a7.84,7.84,0,0,0-3.07,2.13,6,6,0,0,0-1.28,3.87A4.47,4.47,0,0,0,481.19,212Z"}),a.default.createElement("path",{d:"M536.65,179.34l-1.2,5.62h-7.72l-4.8,22.8c0,.45-.1.88-.15,1.28a10.18,10.18,0,0,0-.08,1.27,2.08,2.08,0,0,0,1.16,2.06,6,6,0,0,0,2.67.57,9.48,9.48,0,0,0,1.87-.19,17.19,17.19,0,0,0,1.8-.49l-1.12,5.85c-.75.1-1.5.19-2.25.26a21.2,21.2,0,0,1-2.25.12,20,20,0,0,1-3.38-.27,7.61,7.61,0,0,1-2.74-1,5.52,5.52,0,0,1-1.87-1.91,5.93,5.93,0,0,1-.71-3.08,9.92,9.92,0,0,1,.11-1.57c.07-.5.16-1.05.26-1.65l5.1-24.08h-6.52l1.2-5.62h6.52l2.4-11.48h6.38l-2.4,11.48Z"}),a.default.createElement("path",{d:"M550.08,179.34,542,218.11h-6.3l8-38.77Zm-5-7,1.65-7.8h6.45l-1.65,7.8Z"}),a.default.createElement("path",{d:"M555.36,193.66a23.64,23.64,0,0,1,4.28-7.8,21.21,21.21,0,0,1,6.82-5.4,20,20,0,0,1,9.11-2q7.88,0,12,4.08t4.13,12a29.67,29.67,0,0,1-1.43,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.69,19.69,0,0,1-9.07,2,18.72,18.72,0,0,1-6.86-1.2A14.26,14.26,0,0,1,555,209.3a18.17,18.17,0,0,1-1.12-6.49A29.11,29.11,0,0,1,555.36,193.66Zm7.62,16.8q2.68,2.92,7.94,2.93a10.78,10.78,0,0,0,6.19-1.8,16.48,16.48,0,0,0,4.5-4.54,21.36,21.36,0,0,0,2.78-6,22,22,0,0,0,.93-6.08,15.3,15.3,0,0,0-.59-4.27,9.33,9.33,0,0,0-1.88-3.49,9.12,9.12,0,0,0-3.19-2.33,11,11,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8A16.35,16.35,0,0,0,564,190.4a20.61,20.61,0,0,0-2.81,6,23.25,23.25,0,0,0-.94,6.3A10.89,10.89,0,0,0,563,210.46Z"}),a.default.createElement("path",{d:"M609.62,179.34l-1.2,5.85h.15a15.14,15.14,0,0,1,6.08-5.07,18.35,18.35,0,0,1,7.72-1.68c3.65,0,6.37.8,8.14,2.4s2.66,4.12,2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.47,2.78-.82,4.28l-4.73,22.12H621l4.95-22.65c.05-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.27-1.65a10.28,10.28,0,0,0,.11-1.31,4.59,4.59,0,0,0-1.95-4.09,8.44,8.44,0,0,0-4.8-1.31,11.67,11.67,0,0,0-5.21,1.28,14.73,14.73,0,0,0-4.39,3.22,10.53,10.53,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l8.1-38.77Z"}),a.default.createElement("path",{d:"M643.34,185.45a14.06,14.06,0,0,1,3.78-3.94,15.83,15.83,0,0,1,5.1-2.32,23.22,23.22,0,0,1,5.93-.75,31.06,31.06,0,0,1,5.4.45,13.69,13.69,0,0,1,4.5,1.57,8.55,8.55,0,0,1,3.11,3,9.13,9.13,0,0,1,1.16,4.84,16.64,16.64,0,0,1-.41,3.56c-.27,1.27-.54,2.44-.79,3.49L668.65,206c-.15.8-.36,1.7-.64,2.7a11,11,0,0,0-.41,2.85,2.64,2.64,0,0,0,.52,1.88,1.82,1.82,0,0,0,1.35.52,3.18,3.18,0,0,0,1-.19l1-.33-1,4.72a12.18,12.18,0,0,1-1.91.56,9,9,0,0,1-2,.27,5.21,5.21,0,0,1-4-1.43,4.69,4.69,0,0,1-1-4l-.15-.15a13.38,13.38,0,0,1-5,4.12,18.69,18.69,0,0,1-7.95,1.43,17.86,17.86,0,0,1-4.61-.57,9.5,9.5,0,0,1-3.71-1.87,9.3,9.3,0,0,1-2.51-3.38,12.1,12.1,0,0,1-.94-5.06,10.71,10.71,0,0,1,1.84-6.67,11.53,11.53,0,0,1,4.68-3.64,23.14,23.14,0,0,1,6.3-1.69q3.45-.45,6.68-.75c1.7-.15,3.16-.31,4.39-.49a9.84,9.84,0,0,0,3-.86,3.84,3.84,0,0,0,1.77-1.72,7.06,7.06,0,0,0,.56-3.08,4.07,4.07,0,0,0-.75-2.55,5.43,5.43,0,0,0-1.88-1.54,8.78,8.78,0,0,0-2.51-.78,16.59,16.59,0,0,0-2.66-.23,17,17,0,0,0-3.56.38,10.28,10.28,0,0,0-3.19,1.23,8.35,8.35,0,0,0-2.4,2.18,7.14,7.14,0,0,0-1.28,3.19h-6.37A13.45,13.45,0,0,1,643.34,185.45Zm1.8,26.59a8.83,8.83,0,0,0,4.83,1.35q7.57,0,10.88-5.1a12.73,12.73,0,0,0,2.14-4.73q.56-2.55,1.23-5.25h-.15a8.69,8.69,0,0,1-3.41,1.39c-1.37.27-2.84.49-4.39.64s-3.11.33-4.68.56a18.11,18.11,0,0,0-4.24,1.09,7.88,7.88,0,0,0-3.08,2.13A6,6,0,0,0,643,208,4.47,4.47,0,0,0,645.14,212Z"}),a.default.createElement("path",{d:"M693.55,164.56,682.3,218.11H676l11.17-53.55Z"}),a.default.createElement("path",{d:"M755.39,214.17q-5.89,5.15-15.79,5.14-11,0-17-6.11t-6-17.29a37.86,37.86,0,0,1,2-12.41,32.13,32.13,0,0,1,5.82-10.39,27.51,27.51,0,0,1,21.56-9.82,26.66,26.66,0,0,1,8.06,1.16,18.43,18.43,0,0,1,6.45,3.45,15.87,15.87,0,0,1,4.31,5.77,19.64,19.64,0,0,1,1.58,8.14h-7.13q0-6.3-3.71-9.41a14.34,14.34,0,0,0-9.56-3.11,19.47,19.47,0,0,0-9.79,2.36,22.07,22.07,0,0,0-6.94,6.11,26.89,26.89,0,0,0-4.16,8.51,34.16,34.16,0,0,0-1.39,9.64,24.58,24.58,0,0,0,1,7.13,15.14,15.14,0,0,0,2.92,5.51,13.23,13.23,0,0,0,4.92,3.56,17.62,17.62,0,0,0,7,1.28q6.6,0,10.72-3.49a19,19,0,0,0,5.85-9.86h7.13Q761.28,209,755.39,214.17Z"}),a.default.createElement("path",{d:"M775.07,204a9.33,9.33,0,0,0,.83,4,8.21,8.21,0,0,0,2.25,2.93,10.91,10.91,0,0,0,3.22,1.8,11.28,11.28,0,0,0,3.75.64,12.12,12.12,0,0,0,7-1.92A11.25,11.25,0,0,0,796.3,206h6.37a16.72,16.72,0,0,1-2.4,5.66,15.16,15.16,0,0,1-4,4,17.5,17.5,0,0,1-5.18,2.44,21.47,21.47,0,0,1-6,.83,19.1,19.1,0,0,1-8-1.47,13.82,13.82,0,0,1-5.06-3.75,13.45,13.45,0,0,1-2.62-5,20,20,0,0,1-.75-5.29,30.46,30.46,0,0,1,1.61-10.16,25.1,25.1,0,0,1,4.35-7.91,19.42,19.42,0,0,1,6.37-5.1,17,17,0,0,1,7.62-1.8q8.55,0,12.48,4.5t3.94,12.67a17.34,17.34,0,0,1-.22,2.85c-.15.9-.28,1.63-.38,2.18H775.3A24.88,24.88,0,0,0,775.07,204Zm23.36-13a9.17,9.17,0,0,0-1.5-3.53,7.9,7.9,0,0,0-2.88-2.47,9.45,9.45,0,0,0-4.43-.94,13.78,13.78,0,0,0-5,.86,12.5,12.5,0,0,0-3.86,2.37,14,14,0,0,0-2.77,3.48,20.71,20.71,0,0,0-1.8,4.24h22.5A14.2,14.2,0,0,0,798.43,191Z"}),a.default.createElement("path",{d:"M822.17,179.34l-1.2,5.85h.15a15.14,15.14,0,0,1,6.08-5.07,18.31,18.31,0,0,1,7.72-1.68q5.48,0,8.14,2.4t2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.48,2.78-.82,4.28l-4.73,22.12H833.5l5-22.65c0-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.26-1.65a8.91,8.91,0,0,0,.12-1.31,4.59,4.59,0,0,0-2-4.09,8.44,8.44,0,0,0-4.8-1.31,11.75,11.75,0,0,0-5.22,1.28,14.81,14.81,0,0,0-4.38,3.22,10.41,10.41,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l8.1-38.77Z"}),a.default.createElement("path",{d:"M874.22,179.34,873,185H865.3l-4.8,22.8c0,.45-.11.88-.15,1.28a10.18,10.18,0,0,0-.08,1.27,2.08,2.08,0,0,0,1.16,2.06,6,6,0,0,0,2.67.57,9.48,9.48,0,0,0,1.87-.19,17.19,17.19,0,0,0,1.8-.49l-1.12,5.85c-.75.1-1.5.19-2.25.26a21.2,21.2,0,0,1-2.25.12,20,20,0,0,1-3.38-.27,7.61,7.61,0,0,1-2.74-1,5.52,5.52,0,0,1-1.87-1.91,5.93,5.93,0,0,1-.71-3.08,9.92,9.92,0,0,1,.11-1.57c.07-.5.16-1.05.26-1.65l5.1-24.08H852.4l1.2-5.62h6.52l2.4-11.48h6.38l-2.4,11.48Z"}),a.default.createElement("path",{d:"M880.67,204a9.19,9.19,0,0,0,.83,4,8.21,8.21,0,0,0,2.25,2.93,10.79,10.79,0,0,0,3.22,1.8,11.28,11.28,0,0,0,3.75.64,12.12,12.12,0,0,0,7-1.92,11.17,11.17,0,0,0,4.12-5.51h6.38a16.72,16.72,0,0,1-2.4,5.66,15.2,15.2,0,0,1-4,4,17.33,17.33,0,0,1-5.17,2.44,21.47,21.47,0,0,1-6,.83,19.1,19.1,0,0,1-8-1.47,13.82,13.82,0,0,1-5.06-3.75,13.3,13.3,0,0,1-2.62-5,20,20,0,0,1-.75-5.29,30.46,30.46,0,0,1,1.61-10.16,25.1,25.1,0,0,1,4.35-7.91,19.42,19.42,0,0,1,6.37-5.1,17,17,0,0,1,7.62-1.8q8.55,0,12.48,4.5t3.94,12.67a17.34,17.34,0,0,1-.22,2.85c-.15.9-.28,1.63-.38,2.18H880.89A26.62,26.62,0,0,0,880.67,204ZM904,191a9.17,9.17,0,0,0-1.5-3.53,7.85,7.85,0,0,0-2.89-2.47,9.38,9.38,0,0,0-4.42-.94,13.78,13.78,0,0,0-5,.86,12.5,12.5,0,0,0-3.86,2.37,14,14,0,0,0-2.77,3.48,20.71,20.71,0,0,0-1.8,4.24h22.5A14.58,14.58,0,0,0,904,191Z"}),a.default.createElement("path",{d:"M927.54,179.34l-1.87,8.32h.15a21.18,21.18,0,0,1,5.74-6.6,13.49,13.49,0,0,1,8.36-2.62,7.87,7.87,0,0,0,1.12-.08,3,3,0,0,1,1.13.08l-1.5,6.82a4.6,4.6,0,0,0-1-.07h-.9c-.8,0-1.45,0-1.94,0a9.68,9.68,0,0,0-1.88.34,12.38,12.38,0,0,0-4.69,2.33,16.56,16.56,0,0,0-3.56,4,15.72,15.72,0,0,0-2,4.39c-.5,1.67-.9,3.24-1.2,4.69l-3.67,17.17h-6.3l8-38.77Z"}),a.default.createElement("path",{d:"M962,185l1.12-5.62h6.6c.5-2,1-3.85,1.39-5.7a18.7,18.7,0,0,1,1.84-4.92,9.43,9.43,0,0,1,3.34-3.45,11.43,11.43,0,0,1,6-1.31c.9,0,1.8,0,2.7.11a13.47,13.47,0,0,1,2.62.49l-1,5.4c-.55-.1-1.07-.19-1.57-.26a9,9,0,0,0-1.43-.11,6.35,6.35,0,0,0-3.6.86,5.82,5.82,0,0,0-2,2.25,11.28,11.28,0,0,0-1,3.11c-.23,1.15-.52,2.33-.87,3.53h7.43l-1,5.62h-7.5l-7.13,33.15h-6.37l7.2-33.15Z"}),a.default.createElement("path",{d:"M984.58,193.66a23.64,23.64,0,0,1,4.28-7.8,21.21,21.21,0,0,1,6.82-5.4,19.92,19.92,0,0,1,9.11-2q7.88,0,12,4.08t4.13,12a29.67,29.67,0,0,1-1.43,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.69,19.69,0,0,1-9.07,2,18.72,18.72,0,0,1-6.86-1.2,14.26,14.26,0,0,1-8.37-8.44,18.17,18.17,0,0,1-1.12-6.49A29.11,29.11,0,0,1,984.58,193.66Zm7.61,16.8q2.7,2.92,7.95,2.93a10.78,10.78,0,0,0,6.19-1.8,16.76,16.76,0,0,0,4.5-4.54,21.36,21.36,0,0,0,2.78-6,22,22,0,0,0,.93-6.08,14.94,14.94,0,0,0-.6-4.27,8.9,8.9,0,0,0-5.06-5.82,11,11,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.61,20.61,0,0,0-2.81,6,23.25,23.25,0,0,0-.94,6.3A10.93,10.93,0,0,0,992.19,210.46Z"}),a.default.createElement("path",{d:"M1038.62,179.34l-1.88,8.32h.15a21.18,21.18,0,0,1,5.74-6.6,13.49,13.49,0,0,1,8.36-2.62,8,8,0,0,0,1.13-.08,2.9,2.9,0,0,1,1.12.08l-1.5,6.82a4.49,4.49,0,0,0-1-.07h-.9q-1.2,0-1.95,0a9.82,9.82,0,0,0-1.88.34,12.38,12.38,0,0,0-4.69,2.33,16.56,16.56,0,0,0-3.56,4,15.71,15.71,0,0,0-2,4.39c-.5,1.67-.9,3.24-1.2,4.69l-3.68,17.17h-6.3l8-38.77Z"}),a.default.createElement("path",{d:"M1103.94,164.56q7.88,0,11.4,3.38t3.53,9.45a14.08,14.08,0,0,1-2.74,8.28,12.49,12.49,0,0,1-3.19,3,10.55,10.55,0,0,1-4.27,1.62v.15a10.83,10.83,0,0,1,5.85,3.93,11.59,11.59,0,0,1,2.17,7.17,15.94,15.94,0,0,1-1.46,6.9,15.23,15.23,0,0,1-4,5.21,19.06,19.06,0,0,1-6,3.3,23.21,23.21,0,0,1-7.42,1.16h-26.48l11.18-53.55Zm-7.35,47.55a31.91,31.91,0,0,0,3.53-.26,12.71,12.71,0,0,0,4.27-1.35,10.58,10.58,0,0,0,3.64-3.19,9.62,9.62,0,0,0,1.54-5.77,8.29,8.29,0,0,0-.9-4.13,6.12,6.12,0,0,0-2.44-2.4,10.84,10.84,0,0,0-3.53-1.12,27.79,27.79,0,0,0-4.16-.3h-15.3l-3.9,18.52Zm3.75-24.52q11.4,0,11.4-10.2a6.17,6.17,0,0,0-1-3.75,6.31,6.31,0,0,0-2.59-2,11.47,11.47,0,0,0-3.41-.86,33.17,33.17,0,0,0-3.49-.19H1088l-3.6,17Z"}),a.default.createElement("path",{d:"M1136.19,179.34l-8.1,38.77h-6.3l8-38.77Zm-5-7,1.65-7.8h6.45l-1.65,7.8Z"}),a.default.createElement("path",{d:"M1141.48,193.66a23.62,23.62,0,0,1,4.27-7.8,21.24,21.24,0,0,1,6.83-5.4,19.92,19.92,0,0,1,9.11-2q7.88,0,12,4.08t4.12,12a29.66,29.66,0,0,1-1.42,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.74,19.74,0,0,1-9.08,2,18.76,18.76,0,0,1-6.86-1.2,14.21,14.21,0,0,1-8.36-8.44,18.17,18.17,0,0,1-1.12-6.49A28.83,28.83,0,0,1,1141.48,193.66Zm7.61,16.8q2.7,2.92,8,2.93a10.8,10.8,0,0,0,6.19-1.8,16.76,16.76,0,0,0,4.5-4.54,21.33,21.33,0,0,0,2.77-6,21.66,21.66,0,0,0,.94-6.08,14.94,14.94,0,0,0-.6-4.27,9,9,0,0,0-5.06-5.82,11.08,11.08,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.36,20.36,0,0,0-2.81,6,22.87,22.87,0,0,0-.94,6.3A10.93,10.93,0,0,0,1149.09,210.46Z"}),a.default.createElement("path",{d:"M1206.09,179.34l-1.2,5.62h-7.73l-4.8,22.8c0,.45-.1.88-.15,1.28a10.24,10.24,0,0,0-.07,1.27,2.07,2.07,0,0,0,1.16,2.06,6,6,0,0,0,2.66.57,9.59,9.59,0,0,0,1.88-.19,17.19,17.19,0,0,0,1.8-.49l-1.13,5.85c-.75.1-1.5.19-2.25.26a21.2,21.2,0,0,1-2.25.12,19.92,19.92,0,0,1-3.37-.27,7.61,7.61,0,0,1-2.74-1,5.52,5.52,0,0,1-1.87-1.91,5.93,5.93,0,0,1-.72-3.08,9.9,9.9,0,0,1,.12-1.57c.07-.5.16-1.05.26-1.65l5.1-24.08h-6.53l1.2-5.62H1192l2.4-11.48h6.37l-2.4,11.48Z"}),a.default.createElement("path",{d:"M1212.54,204a9.33,9.33,0,0,0,.82,4,8.21,8.21,0,0,0,2.25,2.93,11,11,0,0,0,3.23,1.8,11.28,11.28,0,0,0,3.75.64,12.12,12.12,0,0,0,7.05-1.92,11.23,11.23,0,0,0,4.12-5.51h6.38a16.72,16.72,0,0,1-2.4,5.66,15.2,15.2,0,0,1-4,4,17.44,17.44,0,0,1-5.17,2.44,21.47,21.47,0,0,1-6,.83,19.1,19.1,0,0,1-8-1.47,13.73,13.73,0,0,1-5.06-3.75,13.47,13.47,0,0,1-2.63-5,20,20,0,0,1-.75-5.29,30.71,30.71,0,0,1,1.61-10.16,25.31,25.31,0,0,1,4.36-7.91,19.32,19.32,0,0,1,6.37-5.1,16.93,16.93,0,0,1,7.61-1.8q8.55,0,12.49,4.5t3.94,12.67a17.32,17.32,0,0,1-.23,2.85c-.15.9-.27,1.63-.37,2.18h-29.18A24.88,24.88,0,0,0,1212.54,204Zm23.36-13a9.48,9.48,0,0,0-1.5-3.53,8,8,0,0,0-2.89-2.47,9.41,9.41,0,0,0-4.42-.94,13.74,13.74,0,0,0-5,.86,12.38,12.38,0,0,0-3.86,2.37,14.06,14.06,0,0,0-2.78,3.48,20.71,20.71,0,0,0-1.8,4.24h22.5A14.57,14.57,0,0,0,1235.9,191Z"}),a.default.createElement("path",{d:"M1274.71,186.05a8.54,8.54,0,0,0-6-2,12.6,12.6,0,0,0-6.49,1.65,15.46,15.46,0,0,0-4.72,4.28,19.2,19.2,0,0,0-2.89,5.88,22.39,22.39,0,0,0-1,6.42,18.44,18.44,0,0,0,.48,4.27,9.62,9.62,0,0,0,1.62,3.53,8,8,0,0,0,3,2.4,10.26,10.26,0,0,0,4.54.9,11.49,11.49,0,0,0,7-2.18,12.45,12.45,0,0,0,4.27-5.77h6.38a17.68,17.68,0,0,1-6.3,10.05,18.39,18.39,0,0,1-11.4,3.45q-8,0-12-4.35t-4-12.3a28.61,28.61,0,0,1,1.39-8.93,23.07,23.07,0,0,1,4.12-7.61,19.9,19.9,0,0,1,15.94-7.31q6.6,0,10.46,3.18t4.09,10h-6.37A7.19,7.19,0,0,0,1274.71,186.05Z"}),a.default.createElement("path",{d:"M1303.29,164.56,1298.71,185l.15.15a15.14,15.14,0,0,1,6.08-5.07,18.35,18.35,0,0,1,7.72-1.68q5.47,0,8.14,2.4t2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.47,2.78-.82,4.28l-4.73,22.12h-6.37l5-22.65c0-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.26-1.65a8.91,8.91,0,0,0,.12-1.31,4.59,4.59,0,0,0-1.95-4.09,8.44,8.44,0,0,0-4.8-1.31,11.75,11.75,0,0,0-5.22,1.28,14.81,14.81,0,0,0-4.38,3.22,10.53,10.53,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l11.25-53.55Z"}),a.default.createElement("path",{d:"M1341.61,179.34l-1.2,5.85h.15a15.14,15.14,0,0,1,6.08-5.07,18.35,18.35,0,0,1,7.72-1.68q5.48,0,8.14,2.4t2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.47,2.78-.82,4.28l-4.73,22.12h-6.37l5-22.65c0-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.26-1.65a8.91,8.91,0,0,0,.12-1.31,4.59,4.59,0,0,0-2-4.09,8.44,8.44,0,0,0-4.8-1.31,11.75,11.75,0,0,0-5.22,1.28,14.81,14.81,0,0,0-4.38,3.22,10.53,10.53,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l8.1-38.77Z"}),a.default.createElement("path",{d:"M1372.1,193.66a23.62,23.62,0,0,1,4.27-7.8,21.24,21.24,0,0,1,6.83-5.4,19.92,19.92,0,0,1,9.11-2q7.88,0,12,4.08t4.13,12a29.67,29.67,0,0,1-1.43,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.69,19.69,0,0,1-9.07,2,18.82,18.82,0,0,1-6.87-1.2,14.28,14.28,0,0,1-8.36-8.44,18.17,18.17,0,0,1-1.12-6.49A28.83,28.83,0,0,1,1372.1,193.66Zm7.61,16.8q2.7,2.92,8,2.93a10.8,10.8,0,0,0,6.19-1.8,16.76,16.76,0,0,0,4.5-4.54,21.33,21.33,0,0,0,2.77-6,21.66,21.66,0,0,0,.94-6.08,14.94,14.94,0,0,0-.6-4.27,8.9,8.9,0,0,0-5.06-5.82,11.08,11.08,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.36,20.36,0,0,0-2.81,6,22.87,22.87,0,0,0-.94,6.3A10.93,10.93,0,0,0,1379.71,210.46Z"}),a.default.createElement("path",{d:"M1429.66,164.56l-11.25,53.55h-6.3l11.18-53.55Z"}),a.default.createElement("path",{d:"M1431.8,193.66a23.62,23.62,0,0,1,4.27-7.8,21.24,21.24,0,0,1,6.83-5.4,19.92,19.92,0,0,1,9.11-2q7.88,0,12,4.08t4.12,12a29.66,29.66,0,0,1-1.42,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.74,19.74,0,0,1-9.08,2,18.76,18.76,0,0,1-6.86-1.2,14.21,14.21,0,0,1-8.36-8.44,18.17,18.17,0,0,1-1.13-6.49A28.83,28.83,0,0,1,1431.8,193.66Zm7.61,16.8q2.7,2.92,7.95,2.93a10.8,10.8,0,0,0,6.19-1.8,16.76,16.76,0,0,0,4.5-4.54,21.33,21.33,0,0,0,2.77-6,21.66,21.66,0,0,0,.94-6.08,14.94,14.94,0,0,0-.6-4.27,9,9,0,0,0-5.06-5.82,11.08,11.08,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.36,20.36,0,0,0-2.81,6,22.87,22.87,0,0,0-.94,6.3A10.93,10.93,0,0,0,1439.41,210.46Z"}),a.default.createElement("path",{d:"M1505.11,218.22a42.28,42.28,0,0,1-1.58,4.77,16.38,16.38,0,0,1-6.9,8.32,21.65,21.65,0,0,1-10.72,2.48,23.88,23.88,0,0,1-5.74-.68,14.84,14.84,0,0,1-4.84-2.1,11.05,11.05,0,0,1-3.41-3.71,11.55,11.55,0,0,1-1.39-5.51h6.3a6.24,6.24,0,0,0,1,3.18,6.06,6.06,0,0,0,2.17,1.95,9.21,9.21,0,0,0,3,1,24,24,0,0,0,3.52.26,12.06,12.06,0,0,0,6-1.35,11.56,11.56,0,0,0,3.86-3.52,18.41,18.41,0,0,0,2.37-5c.57-1.88,1.11-3.76,1.61-5.66l-.15-.15a11.91,11.91,0,0,1-5.25,4.5,17.17,17.17,0,0,1-6.83,1.35,16,16,0,0,1-6.34-1.17,11.82,11.82,0,0,1-4.53-3.3,14.61,14.61,0,0,1-2.74-5.06,20.9,20.9,0,0,1-.94-6.45,27.41,27.41,0,0,1,1.39-8.55,25.65,25.65,0,0,1,4-7.69,20.83,20.83,0,0,1,6.33-5.55,16.87,16.87,0,0,1,8.48-2.13,15,15,0,0,1,4.16.56,15.29,15.29,0,0,1,3.68,1.57,10.67,10.67,0,0,1,2.85,2.48,8.52,8.52,0,0,1,1.61,3.26v.15h.15l1.2-7.12h6l-7,33.15Q1505.86,215.49,1505.11,218.22Zm-24.45-11.88a9.87,9.87,0,0,0,1.76,3.3,8.36,8.36,0,0,0,3,2.28,9.55,9.55,0,0,0,4.2.87,11,11,0,0,0,6.27-1.8,15.09,15.09,0,0,0,4.38-4.58,22.14,22.14,0,0,0,2.59-6,24.36,24.36,0,0,0,.86-6.18,10.75,10.75,0,0,0-2.43-7.35q-2.45-2.78-7.47-2.78a9.72,9.72,0,0,0-5.92,1.88,16.68,16.68,0,0,0-4.28,4.61,22.49,22.49,0,0,0-2.62,5.92,21.83,21.83,0,0,0-.9,5.89A13,13,0,0,0,1480.66,206.34Z"}),a.default.createElement("path",{d:"M1525,228.2a16.49,16.49,0,0,1-2.62,2.92,10.93,10.93,0,0,1-3.23,1.95,11.26,11.26,0,0,1-4.2.72,10.54,10.54,0,0,1-2.32-.27,8.76,8.76,0,0,1-2.1-.71l1.12-5.17a7.5,7.5,0,0,0,1.8.75,7.15,7.15,0,0,0,1.8.3,5.2,5.2,0,0,0,3.53-1.17,12.37,12.37,0,0,0,2.47-3l3.9-6.38-6.82-38.77h6.82l4.5,30.82h.15l16.28-30.82h7l-25.65,45.3C1526.58,225.89,1525.78,227.07,1525,228.2Z"}),a.default.createElement("path",{d:"M1591,164.56l-11.25,53.55h-7.12l11.25-53.55Z"}),a.default.createElement("path",{d:"M1605.45,179.34l-1.2,5.85h.15a15.14,15.14,0,0,1,6.08-5.07,18.35,18.35,0,0,1,7.72-1.68c3.65,0,6.37.8,8.14,2.4s2.66,4.12,2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.47,2.78-.82,4.28l-4.73,22.12h-6.37l5-22.65c0-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.27-1.65a10.28,10.28,0,0,0,.11-1.31,4.59,4.59,0,0,0-2-4.09,8.44,8.44,0,0,0-4.8-1.31,11.67,11.67,0,0,0-5.21,1.28,14.73,14.73,0,0,0-4.39,3.22,10.53,10.53,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l8.1-38.77Z"}),a.default.createElement("path",{d:"M1635.53,185l1.12-5.62h6.6c.5-2,1-3.85,1.39-5.7a18.7,18.7,0,0,1,1.84-4.92,9.43,9.43,0,0,1,3.34-3.45,11.43,11.43,0,0,1,6-1.31c.9,0,1.8,0,2.7.11a13.47,13.47,0,0,1,2.62.49l-1,5.4c-.55-.1-1.07-.19-1.57-.26a9,9,0,0,0-1.43-.11,6.35,6.35,0,0,0-3.6.86,5.82,5.82,0,0,0-2,2.25,11.28,11.28,0,0,0-1,3.11c-.23,1.15-.52,2.33-.87,3.53H1657l-1,5.62h-7.5l-7.13,33.15h-6.37l7.2-33.15Z"}),a.default.createElement("path",{d:"M1658.14,193.66a23.64,23.64,0,0,1,4.28-7.8,21.21,21.21,0,0,1,6.82-5.4,20,20,0,0,1,9.11-2q7.88,0,12,4.08t4.13,12a29.67,29.67,0,0,1-1.43,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.69,19.69,0,0,1-9.07,2,18.72,18.72,0,0,1-6.86-1.2,14.26,14.26,0,0,1-8.37-8.44,18.17,18.17,0,0,1-1.12-6.49A29.11,29.11,0,0,1,1658.14,193.66Zm7.61,16.8q2.7,2.92,8,2.93a10.78,10.78,0,0,0,6.19-1.8,16.48,16.48,0,0,0,4.5-4.54,21.36,21.36,0,0,0,2.78-6,22,22,0,0,0,.93-6.08,14.94,14.94,0,0,0-.6-4.27,8.9,8.9,0,0,0-5.06-5.82,11,11,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.61,20.61,0,0,0-2.81,6,23.25,23.25,0,0,0-.94,6.3A10.93,10.93,0,0,0,1665.75,210.46Z"}),a.default.createElement("path",{d:"M1712.18,179.34l-1.88,8.32h.15a21.18,21.18,0,0,1,5.74-6.6,13.51,13.51,0,0,1,8.36-2.62,8,8,0,0,0,1.13-.08,2.9,2.9,0,0,1,1.12.08l-1.5,6.82a4.49,4.49,0,0,0-1-.07h-.9q-1.2,0-2,0a9.82,9.82,0,0,0-1.88.34,12.27,12.27,0,0,0-4.68,2.33,16.39,16.39,0,0,0-3.57,4,15.71,15.71,0,0,0-2,4.39c-.5,1.67-.9,3.24-1.2,4.69l-3.68,17.17h-6.3l8-38.77Z"}),a.default.createElement("path",{d:"M1737.23,179.34l-1.43,5.77.15.15a18.56,18.56,0,0,1,6-5,16,16,0,0,1,7.54-1.83,12,12,0,0,1,6.3,1.57,7.83,7.83,0,0,1,3.45,5.4,16.69,16.69,0,0,1,5.82-5.06,15.48,15.48,0,0,1,7.46-1.91,16.53,16.53,0,0,1,4,.48,11.55,11.55,0,0,1,3.49,1.5,7.46,7.46,0,0,1,2.44,2.67,8.36,8.36,0,0,1,.9,4,23.25,23.25,0,0,1-.38,3.9c-.25,1.45-.5,2.72-.75,3.82l-4.87,23.25h-6.38l5.4-24.6a21.64,21.64,0,0,0,.41-2.14,13.51,13.51,0,0,0,.19-2.06,4.8,4.8,0,0,0-1.69-3.75,6.11,6.11,0,0,0-4.23-1.5,8.83,8.83,0,0,0-2.74.45,15,15,0,0,0-2.66,1.16,15,15,0,0,0-4.35,3.72,11,11,0,0,0-2.33,4,43.53,43.53,0,0,0-1.27,4.73l-4.28,20H1747l4.65-22.12c.35-1.5.64-2.9.86-4.2a20.19,20.19,0,0,0,.34-2.63,5,5,0,0,0-1.39-3.75,5.53,5.53,0,0,0-4-1.35,10.34,10.34,0,0,0-5.22,1.5,17.3,17.3,0,0,0-4.31,3.45,10.93,10.93,0,0,0-2.77,3.94,33.21,33.21,0,0,0-1.35,4.84l-4.35,20.32h-6.3l8.17-38.77Z"}),a.default.createElement("path",{d:"M1793.29,185.45a14.1,14.1,0,0,1,3.79-3.94,15.83,15.83,0,0,1,5.1-2.32,23.15,23.15,0,0,1,5.92-.75,31.06,31.06,0,0,1,5.4.45,13.69,13.69,0,0,1,4.5,1.57,8.55,8.55,0,0,1,3.11,3,9.13,9.13,0,0,1,1.17,4.84,16.68,16.68,0,0,1-.42,3.56c-.27,1.27-.53,2.44-.78,3.49L1818.6,206c-.15.8-.36,1.7-.64,2.7a11,11,0,0,0-.41,2.85,2.64,2.64,0,0,0,.53,1.88,1.82,1.82,0,0,0,1.35.52,3.12,3.12,0,0,0,1-.19l1-.33-1,4.72a12.34,12.34,0,0,1-1.92.56,8.91,8.91,0,0,1-2,.27,5.23,5.23,0,0,1-4-1.43,4.69,4.69,0,0,1-1-4l-.15-.15a13.35,13.35,0,0,1-5,4.12,18.69,18.69,0,0,1-8,1.43,17.94,17.94,0,0,1-4.62-.57,9.5,9.5,0,0,1-3.71-1.87,9.3,9.3,0,0,1-2.51-3.38,12.1,12.1,0,0,1-.94-5.06,10.71,10.71,0,0,1,1.84-6.67,11.57,11.57,0,0,1,4.69-3.64,23.14,23.14,0,0,1,6.3-1.69q3.45-.45,6.67-.75c1.7-.15,3.16-.31,4.39-.49a9.91,9.91,0,0,0,3-.86,3.81,3.81,0,0,0,1.76-1.72,7.06,7.06,0,0,0,.56-3.08,4.07,4.07,0,0,0-.75-2.55,5.39,5.39,0,0,0-1.87-1.54,8.85,8.85,0,0,0-2.52-.78,16.59,16.59,0,0,0-2.66-.23,17,17,0,0,0-3.56.38,10.28,10.28,0,0,0-3.19,1.23,8.35,8.35,0,0,0-2.4,2.18,7.13,7.13,0,0,0-1.27,3.19h-6.38A13.45,13.45,0,0,1,1793.29,185.45Zm1.8,26.59a8.86,8.86,0,0,0,4.84,1.35q7.58,0,10.87-5.1a12.73,12.73,0,0,0,2.14-4.73c.37-1.7.79-3.45,1.24-5.25H1814a8.74,8.74,0,0,1-3.42,1.39c-1.37.27-2.83.49-4.38.64s-3.12.33-4.69.56a18.11,18.11,0,0,0-4.24,1.09,7.84,7.84,0,0,0-3.07,2.13A6,6,0,0,0,1793,208,4.47,4.47,0,0,0,1795.09,212Z"}),a.default.createElement("path",{d:"M1850.55,179.34l-1.2,5.62h-7.72l-4.8,22.8c0,.45-.1.88-.15,1.28a10.18,10.18,0,0,0-.08,1.27,2.08,2.08,0,0,0,1.16,2.06,6,6,0,0,0,2.67.57,9.48,9.48,0,0,0,1.87-.19,17.19,17.19,0,0,0,1.8-.49l-1.12,5.85c-.75.1-1.5.19-2.25.26a21.2,21.2,0,0,1-2.25.12,20,20,0,0,1-3.38-.27,7.61,7.61,0,0,1-2.74-1,5.52,5.52,0,0,1-1.87-1.91,5.93,5.93,0,0,1-.71-3.08,9.92,9.92,0,0,1,.11-1.57c.07-.5.16-1.05.26-1.65l5.1-24.08h-6.52l1.2-5.62h6.52l2.4-11.48h6.38l-2.4,11.48Z"}),a.default.createElement("path",{d:"M1864,179.34l-8.1,38.77h-6.3l8-38.77Zm-5-7,1.65-7.8h6.45l-1.65,7.8Z"}),a.default.createElement("path",{d:"M1869.26,193.66a23.64,23.64,0,0,1,4.28-7.8,21.21,21.21,0,0,1,6.82-5.4,20,20,0,0,1,9.11-2q7.88,0,12,4.08t4.13,12a29.67,29.67,0,0,1-1.43,9.15,23.82,23.82,0,0,1-4.2,7.83,20.66,20.66,0,0,1-6.75,5.44,19.69,19.69,0,0,1-9.07,2,18.72,18.72,0,0,1-6.86-1.2,14.26,14.26,0,0,1-8.37-8.44,18.17,18.17,0,0,1-1.12-6.49A29.11,29.11,0,0,1,1869.26,193.66Zm7.61,16.8q2.7,2.92,8,2.93a10.78,10.78,0,0,0,6.19-1.8,16.48,16.48,0,0,0,4.5-4.54,21.36,21.36,0,0,0,2.78-6,22,22,0,0,0,.93-6.08,14.94,14.94,0,0,0-.6-4.27,8.9,8.9,0,0,0-5.06-5.82,11,11,0,0,0-4.54-.86,11.59,11.59,0,0,0-6.45,1.8,16.35,16.35,0,0,0-4.65,4.54,20.61,20.61,0,0,0-2.81,6,23.25,23.25,0,0,0-.94,6.3A10.93,10.93,0,0,0,1876.87,210.46Z"}),a.default.createElement("path",{d:"M1923.52,179.34l-1.2,5.85h.15a15.14,15.14,0,0,1,6.08-5.07,18.35,18.35,0,0,1,7.72-1.68c3.65,0,6.37.8,8.14,2.4s2.66,4.12,2.66,7.57a23.49,23.49,0,0,1-.3,3.3c-.2,1.35-.47,2.78-.82,4.28l-4.73,22.12h-6.37l5-22.65c0-.4.12-.86.22-1.39s.2-1.07.3-1.65.19-1.12.27-1.65a10.28,10.28,0,0,0,.11-1.31,4.59,4.59,0,0,0-2-4.09,8.44,8.44,0,0,0-4.8-1.31,11.75,11.75,0,0,0-5.22,1.28,14.81,14.81,0,0,0-4.38,3.22,10.53,10.53,0,0,0-2.7,3.64,26.79,26.79,0,0,0-1.58,4.46l-4.5,21.45h-6.3l8.1-38.77Z"})))};exports.NIHNLMNCBILogo=t; },{"react":"SAdv"}],"QWGj":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.NIHBanner=void 0;var e=r(require("react")),t=r(require("prop-types")),a=require("../logos/NIH-NLM-NCBI-Logo");function r(e){return e&&e.__esModule?e:{default:e}}var l=e.default.memo(function(t){return e.default.createElement("div",{className:"bckg-primary-darker p-md-top p-md-bottom print-hidden"},e.default.createElement("div",{className:"main-width f-white"},e.default.createElement("a",{href:"https://www.ncbi.nlm.nih.gov",className:"inline-block hover:text-blue-100","data-ga-action":"header-link","data-ga-label":"NIH-NLM-NCBI Link"},e.default.createElement(a.NIHNLMNCBILogo,null),e.default.createElement("span",{className:"sr-only"},"NIH National Library of Medicine NCBI"))))});exports.NIHBanner=l,l.propTypes={width:t.default.number.isRequired};var n=l;exports.default=n; },{"react":"SAdv","prop-types":"yu5W","../logos/NIH-NLM-NCBI-Logo":"F9dj"}],"gKhF":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.PubChemLogo=void 0;var C=t(require("react")),e=t(require("prop-types"));function t(C){return C&&C.__esModule?C:{default:C}}var l=function(e){var t=e.width,l=e.height;return C.default.createElement("svg",{className:"icon icon-pubchem-logo",viewBox:"0 0 685 200",preserveAspectRatio:"xMidYMid meet",width:t||"12em",height:l||"4em"},C.default.createElement("g",null,C.default.createElement("g",null,C.default.createElement("path",{className:"show-stroke",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M329.5,19.5 L396.8,61.3 L396.6,140.5 L329.0,178.0 L261.7,136.2 L261.9,56.9 L329.5,19.5 Z"}),C.default.createElement("path",{className:"show-fill",d:"M351.6,83.5 L371.0,83.5 C370.4,78.1 369.0,73.3 366.7,69.1 C364.4,64.9 361.5,61.4 357.9,58.5 C354.4,55.7 350.4,53.5 345.9,52.1 C341.4,50.6 336.7,49.8 331.6,49.8 C324.6,49.8 318.3,51.1 312.7,53.6 C307.2,56.2 302.4,59.6 298.6,64.1 C294.8,68.5 291.8,73.8 289.8,79.7 C287.7,85.7 286.7,92.2 286.7,99.2 C286.7,106.0 287.7,112.3 289.8,118.2 C291.8,124.1 294.8,129.3 298.6,133.6 C302.4,138.0 307.2,141.4 312.7,143.9 C318.3,146.4 324.6,147.6 331.6,147.6 C337.3,147.6 342.4,146.8 347.1,145.0 C351.8,143.3 355.9,140.7 359.4,137.4 C362.9,134.1 365.7,130.1 367.8,125.4 C370.0,120.7 371.3,115.4 371.8,109.5 L352.4,109.5 C351.6,115.8 349.5,120.9 346.0,124.7 C342.6,128.6 337.8,130.5 331.6,130.5 C327.1,130.5 323.3,129.6 320.1,127.8 C316.9,126.0 314.4,123.6 312.4,120.7 C310.5,117.7 309.0,114.3 308.1,110.6 C307.2,106.9 306.8,103.1 306.8,99.2 C306.8,95.1 307.2,91.1 308.1,87.3 C309.0,83.4 310.5,80.0 312.4,77.0 C314.4,74.0 316.9,71.6 320.1,69.8 C323.3,68.0 327.1,67.1 331.6,67.1 C334.1,67.1 336.5,67.5 338.7,68.4 C341.0,69.2 343.0,70.3 344.8,71.8 C346.6,73.3 348.1,75.0 349.3,77.0 C350.5,79.0 351.2,81.1 351.6,83.5 Z"})),C.default.createElement("g",null,C.default.createElement("path",{className:"show-fill",d:"M34.9,95.2 L34.9,67.8 L50.5,67.8 C52.8,67.8 55.1,68.0 57.2,68.3 C59.3,68.7 61.2,69.3 62.8,70.3 C64.4,71.3 65.7,72.7 66.7,74.5 C67.7,76.3 68.2,78.6 68.2,81.5 C68.2,84.4 67.7,86.8 66.7,88.6 C65.7,90.3 64.4,91.7 62.8,92.7 C61.2,93.7 59.3,94.4 57.2,94.7 C55.1,95.0 52.8,95.2 50.5,95.2 L34.9,95.2 ZM14.8,52.2 L14.8,143.6 L34.9,143.6 L34.9,110.8 L56.0,110.8 C61.7,110.8 66.6,110.0 70.6,108.3 C74.6,106.7 77.9,104.5 80.4,101.7 C82.9,99.0 84.8,95.9 85.9,92.3 C87.1,88.8 87.6,85.2 87.6,81.5 C87.6,77.8 87.1,74.1 85.9,70.6 C84.8,67.1 82.9,64.0 80.4,61.3 C77.9,58.6 74.6,56.4 70.6,54.7 C66.6,53.0 61.7,52.2 56.0,52.2 L14.8,52.2 Z"}),C.default.createElement("path",{className:"show-fill",d:"M160.4,143.6 L160.4,77.4 L142.2,77.4 L142.2,112.1 C142.2,118.8 141.1,123.7 138.8,126.6 C136.6,129.6 133.0,131.0 128.1,131.0 C123.7,131.0 120.7,129.7 119.0,127.0 C117.3,124.3 116.4,120.3 116.4,114.8 L116.4,77.4 L98.3,77.4 L98.3,118.1 C98.3,122.2 98.6,125.9 99.4,129.3 C100.1,132.7 101.3,135.5 103.1,137.9 C104.9,140.2 107.4,142.1 110.5,143.3 C113.6,144.6 117.6,145.3 122.5,145.3 C126.3,145.3 130.1,144.4 133.7,142.7 C137.4,141.0 140.4,138.2 142.7,134.4 L143.1,134.4 L143.1,143.6 L160.4,143.6 Z"}),C.default.createElement("path",{className:"show-fill",d:"M222.7,110.6 C222.7,113.3 222.4,115.9 221.8,118.5 C221.2,121.1 220.3,123.3 219.0,125.3 C217.7,127.2 216.1,128.8 214.2,130.0 C212.3,131.1 209.9,131.7 207.2,131.7 C204.6,131.7 202.3,131.1 200.3,130.0 C198.3,128.8 196.7,127.2 195.4,125.3 C194.1,123.3 193.2,121.1 192.6,118.5 C192.0,115.9 191.7,113.3 191.7,110.6 C191.7,107.8 192.0,105.1 192.6,102.5 C193.2,99.9 194.1,97.7 195.4,95.7 C196.7,93.8 198.3,92.2 200.3,91.0 C202.3,89.9 204.6,89.3 207.2,89.3 C209.9,89.3 212.3,89.9 214.2,91.0 C216.1,92.2 217.7,93.8 219.0,95.7 C220.3,97.7 221.2,99.9 221.8,102.5 C222.4,105.1 222.7,107.8 222.7,110.6 ZM174.2,52.2 L174.2,143.6 L191.5,143.6 L191.5,135.1 L191.7,135.1 C193.7,138.8 196.6,141.4 200.4,143.0 C204.3,144.5 208.6,145.3 213.5,145.3 C216.8,145.3 220.1,144.6 223.3,143.2 C226.6,141.8 229.5,139.8 232.1,136.9 C234.7,134.1 236.8,130.5 238.4,126.1 C240.1,121.7 240.9,116.5 240.9,110.4 C240.9,104.4 240.1,99.2 238.4,94.8 C236.8,90.4 234.7,86.8 232.1,83.9 C229.5,81.1 226.6,79.0 223.3,77.7 C220.1,76.3 216.8,75.6 213.5,75.6 C209.4,75.6 205.4,76.4 201.6,78.0 C197.8,79.6 194.8,82.1 192.6,85.5 L192.4,85.5 L192.4,52.2 L174.2,52.2 Z"})),C.default.createElement("g",null,C.default.createElement("path",{className:"show-fill",d:"M419.8,52.2 L419.8,143.6 L438.0,143.6 L438.0,108.9 C438.0,102.2 439.1,97.3 441.3,94.4 C443.5,91.4 447.1,90.0 452.1,90.0 C456.4,90.0 459.5,91.3 461.2,94.0 C462.9,96.7 463.7,100.8 463.7,106.2 L463.7,143.6 L481.9,143.6 L481.9,102.9 C481.9,98.8 481.5,95.1 480.8,91.7 C480.1,88.3 478.8,85.5 477.0,83.1 C475.2,80.8 472.8,78.9 469.7,77.6 C466.6,76.3 462.6,75.6 457.7,75.6 C454.3,75.6 450.8,76.5 447.2,78.2 C443.6,80.0 440.7,82.8 438.4,86.6 L438.0,86.6 L438.0,52.2 L419.8,52.2 Z"}),C.default.createElement("path",{className:"show-fill",d:"M540.3,103.4 L510.7,103.4 C510.8,102.1 511.1,100.7 511.5,99.0 C512.0,97.4 512.8,95.9 514.0,94.4 C515.1,93.0 516.7,91.8 518.6,90.8 C520.5,89.8 522.9,89.3 525.8,89.3 C530.2,89.3 533.6,90.5 535.7,92.9 C537.9,95.3 539.4,98.8 540.3,103.4 ZM510.7,114.9 L558.4,114.9 C558.8,109.8 558.4,104.9 557.2,100.2 C556.0,95.5 554.0,91.3 551.3,87.7 C548.7,84.0 545.2,81.1 541.0,78.9 C536.9,76.7 532.0,75.6 526.3,75.6 C521.3,75.6 516.7,76.5 512.6,78.3 C508.4,80.1 504.9,82.6 501.9,85.7 C498.9,88.8 496.6,92.5 495.0,96.7 C493.3,101.0 492.5,105.6 492.5,110.6 C492.5,115.7 493.3,120.4 494.9,124.6 C496.5,128.9 498.7,132.6 501.6,135.7 C504.5,138.7 508.1,141.1 512.2,142.8 C516.4,144.4 521.1,145.3 526.3,145.3 C533.8,145.3 540.2,143.5 545.5,140.1 C550.8,136.7 554.7,131.0 557.3,123.1 L541.3,123.1 C540.7,125.2 539.1,127.1 536.4,128.9 C533.8,130.8 530.6,131.7 527.0,131.7 C521.8,131.7 517.9,130.4 515.2,127.7 C512.5,125.1 511.0,120.8 510.7,114.9 Z"}),C.default.createElement("path",{className:"show-fill",d:"M569.7,77.4 L569.7,143.6 L587.9,143.6 L587.9,105.2 C587.9,101.9 588.4,99.3 589.3,97.3 C590.2,95.3 591.4,93.8 592.7,92.7 C594.0,91.6 595.4,90.9 596.8,90.5 C598.2,90.2 599.3,90.0 600.2,90.0 C603.1,90.0 605.3,90.4 606.8,91.4 C608.3,92.4 609.3,93.7 610.0,95.3 C610.6,97.0 611.0,98.7 611.1,100.6 C611.1,102.6 611.2,104.5 611.2,106.5 L611.2,143.6 L629.4,143.6 L629.4,106.7 C629.4,104.7 629.5,102.7 629.8,100.6 C630.1,98.6 630.7,96.8 631.6,95.3 C632.5,93.7 633.7,92.4 635.3,91.4 C636.9,90.4 639.0,90.0 641.5,90.0 C644.1,90.0 646.1,90.4 647.6,91.2 C649.1,92.1 650.2,93.2 651.0,94.7 C651.8,96.1 652.2,97.9 652.4,99.8 C652.6,101.8 652.7,103.9 652.7,106.1 L652.7,143.6 L670.8,143.6 L670.8,99.3 C670.8,95.0 670.2,91.4 669.0,88.4 C667.8,85.3 666.2,82.9 664.0,81.0 C661.9,79.1 659.4,77.8 656.4,76.9 C653.4,76.0 650.1,75.6 646.6,75.6 C642.0,75.6 638.0,76.7 634.7,79.0 C631.3,81.2 628.6,83.7 626.7,86.6 C624.9,82.5 622.3,79.7 618.8,78.1 C615.3,76.4 611.5,75.6 607.3,75.6 C603.0,75.6 599.1,76.6 595.8,78.4 C592.4,80.3 589.5,83.0 587.1,86.4 L586.9,86.4 L586.9,77.4 L569.7,77.4 Z"}))))};exports.PubChemLogo=l,l.propTypes={width:e.default.string,height:e.default.string};var a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"vzLw":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.PubChemHexagon=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var C=function(t){var r=t.width,C=t.height;return e.default.createElement("svg",{className:"icon icon-pubchem-hexagon",viewBox:"0 0 600 600",preserveAspectRatio:"xMidYMid meet",width:r||"3em",height:C||"3em"},e.default.createElement("g",null,e.default.createElement("path",{id:"hexagon",className:"show-stroke",fill:"none",strokeWidth:"40",strokeLinecap:"round",strokeLinejoin:"round",d:"M301.4,35.1 L523.6,173.0 L522.8,434.5 L299.8,558.1 L77.6,420.2 L78.4,158.7 L301.4,35.1 Z"}),e.default.createElement("path",{id:"C",d:"M374.3,246.2 L438.5,246.2 C436.5,228.4 431.7,212.5 424.1,198.7 C416.5,184.9 406.9,173.3 395.2,163.9 C383.5,154.6 370.3,147.5 355.5,142.6 C340.7,137.7 325.0,135.2 308.4,135.2 C285.3,135.2 264.5,139.4 246.1,147.7 C227.6,156.1 212.1,167.6 199.4,182.3 C186.7,197.0 177.0,214.2 170.3,233.9 C163.5,253.7 160.1,275.1 160.1,298.1 C160.1,320.6 163.5,341.5 170.3,361.0 C177.0,380.4 186.7,397.3 199.4,411.7 C212.1,426.1 227.6,437.4 246.1,445.6 C264.5,453.8 285.3,457.9 308.4,457.9 C327.0,457.9 344.0,455.1 359.5,449.3 C375.0,443.5 388.5,435.2 400.0,424.2 C411.6,413.3 420.9,400.1 427.9,384.5 C435.0,368.9 439.3,351.5 441.0,332.2 L376.8,332.2 C374.3,353.0 367.3,369.7 355.9,382.3 C344.5,395.0 328.7,401.3 308.4,401.3 C293.5,401.3 280.8,398.4 270.4,392.5 C260.0,386.6 251.5,378.7 245.0,368.9 C238.6,359.2 233.8,348.1 230.9,335.9 C227.9,323.7 226.4,311.1 226.4,298.1 C226.4,284.6 227.9,271.5 230.9,258.8 C233.8,246.1 238.6,234.8 245.0,224.9 C251.5,214.9 260.0,207.0 270.4,201.1 C280.8,195.2 293.5,192.2 308.4,192.2 C316.6,192.2 324.4,193.6 331.8,196.3 C339.3,199.1 346.0,202.9 351.9,207.8 C357.8,212.7 362.7,218.4 366.7,224.9 C370.6,231.3 373.2,238.5 374.3,246.2 Z"})))};exports.PubChemHexagon=C,C.propTypes={width:t.default.string,height:t.default.string};var a=C;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"LKeO":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.PubChemLogoLink=void 0;var e=r(require("react")),t=r(require("prop-types")),o=r(require("./../logos/PubChemLogo")),a=r(require("./../logos/PubChemHexagon"));function r(e){return e&&e.__esModule?e:{default:e}}var u=e.default.memo(function(t){var r=t.showText,u=t.trackAction,l=t.isHome,s=t.autoSize,i=e.default.createElement("a",{href:"/",className:"logo button nowrap ripple lh-1","data-ga-action":u,"data-ga-label":"Logo Link"},r?e.default.createElement(o.default,{width:s?"100%":"",height:s?"auto":""}):e.default.createElement(a.default,{width:s?"75%":"",height:s?"auto":""}),e.default.createElement("span",{className:"sr-only"},"PubChem"));return l?e.default.createElement("h1",{className:"f-1"},i):i});exports.PubChemLogoLink=u,u.propTypes={showText:t.default.bool,isHome:t.default.bool,trackAction:t.default.string,autoSize:t.default.bool},u.defaultProps={showText:!0,isHome:!1,trackAction:"NONE",autoSize:!1};var l=u;exports.default=l; },{"react":"SAdv","prop-types":"yu5W","./../logos/PubChemLogo":"gKhF","./../logos/PubChemHexagon":"vzLw"}],"IYY6":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-alert-circle",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Ev66":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-info",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"ndc8":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.GlobalAlertBanner=void 0;var e=i(require("react")),t=require("../../utils-logging/Log"),r=require("../../utils/Font"),n=o(require("../icons/AlertCircle")),a=o(require("../icons/Info"));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function u(e,t){return p(e)||d(e,t)||c(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(u){i=!0,a=u}finally{try{l||null==r.return||r.return()}finally{if(i)throw a}}return o}}function p(e){if(Array.isArray(e))return e}var m=function(o){var l=o.width,i=35*r.FONT_SIZE,f=u((0,e.useState)(""),2),c=f[0],s=f[1],d=u((0,e.useState)(""),2),p=d[0],m=d[1];return(0,e.useEffect)(function(){fetch("/pcfe/alerts/critical_banner.json").then(function(e){return e.json()}).then(function(e){s(e.message||""),m(e.type||"")}).catch(function(e){var r="Error fetching alert message...";(0,t.DEBUG_LOG_START)(r),(0,t.DEBUG_LOG)(e.message),(0,t.DEBUG_LOG_END)(r),s("")})},[]),c?e.default.createElement("div",{className:"alert f-base".concat("info"===p?" info":"")},e.default.createElement("div",{className:"main-width p-md-top p-md-bottom flex-container flex-nowrap align-vertical-top"},l>=i&&e.default.createElement("div",{className:"alert-icon p-md-right"},"info"===p?e.default.createElement(a.default,{width:"48",height:"48"}):e.default.createElement(n.default,{width:"48",height:"48"})),e.default.createElement("div",{className:"alert-text f-lh-15 flex-grow-1",dangerouslySetInnerHTML:{__html:c}}))):null};exports.GlobalAlertBanner=m;var y=m;exports.default=y; },{"react":"SAdv","../../utils-logging/Log":"LH3n","../../utils/Font":"i9OY","../icons/AlertCircle":"IYY6","../icons/Info":"Ev66"}],"ILbe":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useOnClickOutside=n,exports.default=void 0;var e=r(require("react"));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}function r(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var a=u?Object.getOwnPropertyDescriptor(e,c):null;a&&(a.get||a.set)?Object.defineProperty(o,c,a):o[c]=e[c]}return o.default=e,n&&n.set(e,o),o}function n(t,r){(0,e.useEffect)(function(){var e=function(e){t.current&&!t.current.contains(e.target)&&r(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[t,r])}var o=n;exports.default=o; },{"react":"SAdv"}],"vKqM":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Dropdown=void 0;var e=i(require("react")),t=r(require("prop-types")),a=r(require("../react-hooks/hook-click-outside")),l=r(require("./icons/KeyboardArrowDown")),n=r(require("./icons/Clear"));function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=n?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(l,r,i):l[r]=e[r]}return l.default=e,a&&a.set(e,l),l}function u(e,t){return m(e)||f(e,t)||c(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"==typeof e)return d(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function f(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,n,r=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(l=a.next()).done)&&(r.push(l.value),!t||r.length!==t);o=!0);}catch(u){i=!0,n=u}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return r}}function m(e){if(Array.isArray(e))return e}var p=function(t){var r=(0,e.useRef)(),o=u((0,e.useState)(t.isOpen),2),i=o[0],s=o[1];return(0,a.default)(r,function(){return s(!1)}),e.default.createElement("div",{ref:r,className:"relative"+(t.inlineBlock||!t.showText&&t.icon?" inline-block "+t.widthClassName:"")},e.default.createElement("div",{className:"align-left "+t.backgroundClassName},t.inlineBlock||!t.showText&&t.icon?e.default.createElement("button",{className:"button "+(t.inlineBlock&&t.showText&&t.icon?" has-icon-left with-padding-small "+t.buttonClassName:"")+t.iconButtonClassName,id:t.label,title:t.title,onClick:function(e){s(!0)},"aria-haspopup":"true","aria-expanded":i,"data-ga-action":t.trackAction+"-open","data-ga-label":t.trackLabel+" Open"},t.icon,e.default.createElement("span",{className:t.showText?"btn-text":"sr-only"},t.label)):e.default.createElement("button",{className:"button width-100 "+t.buttonClassName+" "+t.backgroundClassName,id:t.label,onClick:function(e){s(!0)},title:t.title,"aria-haspopup":"true","aria-expanded":i,"data-ga-action":t.trackAction+"-open","data-ga-label":t.trackLabel+" Open"},e.default.createElement("div",{className:"table-grid full-width fixed-layout "+t.labelClassNames},t.icon?e.default.createElement("div",{className:"width-2em height-2em align-center"},t.icon):null,e.default.createElement("div",{className:"p-sm-left p-sm-right capitalized ellipsis"},t.label),t.showArrow?e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(l.default,null)):null))),i&&e.default.createElement("div",{className:"align-left","aria-labelledby":t.label},e.default.createElement("div",{className:"absolute top-0 min-width-100 z-index-100 box-shadow b-radius "+("right"===t.menuAlign?"right-0 block-right":"left-0 block-left")},t.menuTitle&&e.default.createElement("div",{className:"bckg-gray-dark f-white flex-container full-width flex-nowrap align-vertical-center p-xsm"},e.default.createElement("div",{className:"flex-grow-1 p-md-rectangle"},t.menuTitle),e.default.createElement("div",{className:"f-075"},e.default.createElement("button",{autoFocus:!0,className:"button round-icon",onClick:function(e){s(!1)},"data-ga-action":t.trackAction+"-close","data-ga-label":t.trackLabel+" Close"},e.default.createElement(n.default,null)))),e.default.createElement(e.default.Fragment,null,t.children))))};exports.Dropdown=p,p.propTypes={icon:t.default.element,label:t.default.string.isRequired,title:t.default.string.isRequired,menuTitle:t.default.string,menuAlign:t.default.oneOf(["left","right"]),showText:t.default.bool,showArrow:t.default.bool,labelClassNames:t.default.string,backgroundClassName:t.default.string,iconButtonClassName:t.default.string,buttonClassName:t.default.string,widthClassName:t.default.string,inlineBlock:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string,closeOnAction:t.default.bool},p.defaultProps={menuAlign:"left",labelClassNames:"align-left",backgroundClassName:"",iconButtonClassName:"",buttonClassName:"",widthClassName:"",inlineBlock:!1,trackAction:"dropdown-menu",trackLabel:"Dropdown Menu",closeOnAction:!1};var b=p;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../react-hooks/hook-click-outside":"ILbe","./icons/KeyboardArrowDown":"qjAC","./icons/Clear":"UpNA"}],"PV8u":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.AboutLink=void 0;var t=a(require("react")),e=a(require("prop-types"));function a(t){return t&&t.__esModule?t:{default:t}}var r=function(e){var a=e.trackAction;return t.default.createElement("a",{className:"button with-padding",href:"https://pubchem.ncbi.nlm.nih.gov/docs/about","data-ga-action":a,"data-ga-label":"About Link"},t.default.createElement("span",{className:"btn-text"},"About"))};exports.AboutLink=r,r.propTypes={trackAction:e.default.string},r.defaultProps={trackAction:"NONE"};var o=r;exports.default=o; },{"react":"SAdv","prop-types":"yu5W"}],"GXof":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.BlogLink=void 0;var e=a(require("react")),t=a(require("prop-types"));function a(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var a=t.trackAction;return e.default.createElement("a",{className:"button with-padding",href:"https://pubchem.ncbi.nlm.nih.gov/docs/","data-ga-action":a,"data-ga-label":"Blog Link"},e.default.createElement("span",{className:"btn-text"},"Docs"))};exports.BlogLink=r,r.propTypes={trackAction:t.default.string},r.defaultProps={trackAction:"NONE"};var o=r;exports.default=o; },{"react":"SAdv","prop-types":"yu5W"}],"woCO":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SubmitLink=void 0;var t=a(require("react")),e=a(require("prop-types"));function a(t){return t&&t.__esModule?t:{default:t}}var r=function(e){var a=e.trackAction;return t.default.createElement("a",{className:"button with-padding",href:"https://pubchem.ncbi.nlm.nih.gov/submit/","data-ga-action":a,"data-ga-label":"Submit Link"},t.default.createElement("span",{className:"btn-text"},"Submit"))};exports.SubmitLink=r,r.propTypes={trackAction:e.default.string},r.defaultProps={trackAction:"NONE"};var i=r;exports.default=i; },{"react":"SAdv","prop-types":"yu5W"}],"F6Xp":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ContactLink=void 0;var t=a(require("react")),e=a(require("prop-types"));function a(t){return t&&t.__esModule?t:{default:t}}var r=function(e){var a=e.trackAction;return t.default.createElement("a",{className:"button with-padding",href:"https://pubchem.ncbi.nlm.nih.gov/docs/contact","data-ga-action":a,"data-ga-label":"Contact Link"},t.default.createElement("span",{className:"btn-text"},"Contact"))};exports.ContactLink=r,r.propTypes={trackAction:e.default.string},r.defaultProps={trackAction:"NONE"};var n=r;exports.default=n; },{"react":"SAdv","prop-types":"yu5W"}],"Bpeq":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-search",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:i},e.default.createElement("path",{d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"O5Nw":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-keyboard-arrow-right",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:o},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z",fill:l||""}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"OmbS":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Header=void 0;var e=E(require("react")),t=E(require("prop-types")),a=require("../../ini/ini"),l=require("../../utils/Font"),r=require("./OfficialGovHeader"),n=E(require("./NIHBanner")),i=E(require("./PubChemLogoLink")),d=E(require("./GlobalAlertBanner")),u=E(require("../Dropdown")),c=E(require("../social/AboutLink")),m=E(require("../social/BlogLink")),o=E(require("../social/SubmitLink")),f=E(require("../social/ContactLink")),s=E(require("../icons/Search")),h=E(require("../icons/Menu"));function E(e){return e&&e.__esModule?e:{default:e}}var p=e.default.memo(function(t){var E=t.width,p=t.noSearchBox,b=50*l.FONT_SIZE,k=37.5*l.FONT_SIZE,g=25*l.FONT_SIZE;return e.default.createElement("header",{className:p?"":" b-bottom"},e.default.createElement(d.default,{width:E}),e.default.createElement(r.OfficialGovHeader,{width:E}),e.default.createElement(n.default,{width:E}),e.default.createElement("div",{className:"main-width p-xsm-top p-xsm-bottom"},e.default.createElement("div",{className:"flex-container full-width flex-nowrap align-vertical-center"},e.default.createElement("div",null,e.default.createElement("div",{className:"table-grid full-width"},e.default.createElement("div",{className:"logo-container "+(E>g?"p-md-right p-md-top p-md-bottom":"p-sm-right p-sm-top p-sm-bottom f-0875")},e.default.createElement(i.default,{showText:!0,isHome:p,trackAction:"header-link"})),E>k&&e.default.createElement("div",{className:"align-left"},e.default.createElement("nav",{className:"print-hidden"},e.default.createElement("div",{className:"table-grid f-gray f-lh-15 f-medium"},e.default.createElement("div",null,e.default.createElement(c.default,{trackAction:"header-link"})),e.default.createElement("div",null,e.default.createElement(m.default,{trackAction:"header-link"})),e.default.createElement("div",null,e.default.createElement(o.default,{trackAction:"header-link"})),e.default.createElement(f.default,{trackAction:"header-link"})))))),e.default.createElement("div",{className:"flex-grow-1 align-right nowrap print-hidden"},!p&&e.default.createElement("a",{className:"block button "+(E>b?"has-icon-left with-padding-small b-radius":""),href:a.SEARCH_URL,"data-ga-action":"header-link","data-ga-label":"Search PubChem"},e.default.createElement(s.default,{width:E>b?36:48,height:E>b?36:48}),e.default.createElement("span",{className:"btn-text "+(E>b?"":"sr-only")},"Search PubChem")),E<=k&&e.default.createElement(u.default,{label:"Menu",icon:e.default.createElement(h.default,{width:48,height:48}),menuAlign:"right",menuTitle:"MENU",title:"PubChem Menu",trackAction:"header-menu",trackLabel:"Header Menu"},e.default.createElement(e.default.Fragment,null,e.default.createElement("ul",{className:"unstyled-list p-xsm bckg-gray-lightest width-10em"},e.default.createElement("li",{className:""},e.default.createElement(c.default,{trackAction:"header-menu-link"})),e.default.createElement("li",{className:"b-top"},e.default.createElement(m.default,{trackAction:"header-menu-link"})),e.default.createElement("li",{className:"b-top"},e.default.createElement(o.default,{trackAction:"header-menu-link"})),e.default.createElement("li",{className:"b-top"},e.default.createElement(f.default,{trackAction:"header-menu-link"})))))))))});exports.Header=p,p.propTypes={noSearchBox:t.default.bool,width:t.default.number.isRequired},p.defaultProps={noSearchBox:!0};var b=p;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../../ini/ini":"wjNQ","../../utils/Font":"i9OY","./OfficialGovHeader":"gk9P","./NIHBanner":"QWGj","./PubChemLogoLink":"LKeO","./GlobalAlertBanner":"ndc8","../Dropdown":"vKqM","../social/AboutLink":"PV8u","../social/BlogLink":"GXof","../social/SubmitLink":"woCO","../social/ContactLink":"F6Xp","../icons/Search":"Bpeq","../icons/Menu":"O5Nw"}],"ficY":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(t){var r=t.width,i=t.height,l=t.color,a=t.style;return e.default.createElement("svg",{className:"icon icon-twitter",fill:l||"",viewBox:"0 0 40 40",width:r||"40",height:i||"40",style:a},e.default.createElement("path",{d:"M6.06736 7L16.8778 20.8991L6.00001 32.2H10.2L18.6 23.1L25.668 32.2H34L22.8 17.5L31.9 7H28.4L20.7 15.4L14.401 7H6.06898H6.06736ZM9.66753 8.73423H12.9327L29.7327 30.4658H26.5697L9.66753 8.73423Z"}))},l=i;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"BfAC":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var o=function(t){var r=t.width,o=t.height,a=t.color,l=t.style;return e.default.createElement("svg",{className:"icon icon-facebook",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:o||"24",style:l},e.default.createElement("path",{d:"M17,2V2H17V6H15C14.31,6 14,6.81 14,7.5V10H14L17,10V14H14V22H10V14H7V10H10V6A4,4 0 0,1 14,2H17Z"}))},a=o;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"J6s0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,c=t.style;return e.default.createElement("svg",{className:"icon icon-help",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:c},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"c5tp":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var o=function(t){var r=t.width,o=t.height;t.color,t.style;return e.default.createElement("svg",{className:"icon icon-youtube show-stroke",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",width:r||"24",height:o||"24",style:{fill:"transparent"}},e.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z"}))},n=o;exports.default=n; },{"react":"SAdv","prop-types":"yu5W"}],"ioJ2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Footer=void 0;var e=i(require("react")),t=i(require("../icons/Twitter")),a=i(require("../icons/Facebook")),l=i(require("../icons/Help")),n=i(require("../icons/Youtube"));function i(e){return e&&e.__esModule?e:{default:e}}var r=function(){return e.default.createElement("footer",{id:"footer2",className:"print-hidden"},e.default.createElement("div",{className:"pc-gray-background bckg-gray-lightest"},e.default.createElement("div",{className:"main-width p-md-top p-md-bottom"},e.default.createElement("ul",{id:"pc-links",className:"unstyled-list"},e.default.createElement("li",{className:"p-md-right"},e.default.createElement("a",{href:"https://x.com/search?q=(%23PubChem)%20(from%3ANCBI)&src=typed_query",className:"button","data-ga-action":"footer-link","data-ga-label":"Twitter Link",target:"_blank"},e.default.createElement(t.default,{width:"36px",height:"36px"}),e.default.createElement("span",{className:"btn-text"},"PubChem on X"))),e.default.createElement("li",{className:"p-md-right"},e.default.createElement("a",{href:"https://www.facebook.com/search/posts/?q=%23pubchem%20%40ncbi",className:"button","data-ga-action":"footer-link","data-ga-label":"Facebook Link",target:"_blank"},e.default.createElement(a.default,{width:"36px",height:"36px"}),e.default.createElement("span",{className:"btn-text"},"PubChem on Facebook"))),e.default.createElement("li",null,e.default.createElement("a",{href:"https://pubchem.ncbi.nlm.nih.gov/docs/contact",className:"button","data-ga-action":"footer-link","data-ga-label":"Help Link"},e.default.createElement(l.default,{width:"36px",height:"36px"}),e.default.createElement("span",{className:"btn-text"},"PubChem Help")))))),e.default.createElement("div",{className:"bckg-primary-darker f-white p-l-top p-l-bottom"},e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{id:"nlm-identity",className:"f-lh-15"},e.default.createElement("div",{className:"p-md-bottom"},e.default.createElement("div",{className:"p-sm-bottom"},"Connect with NLM"),e.default.createElement("ul",{className:"unstyled-list flex-container flex-nowrap"},e.default.createElement("li",null,e.default.createElement("a",{href:"https://twitter.com/NLM_NIH",title:"SM-Twitter",className:"sm-link","data-ga-action":"footer-link","data-ga-label":"NLM Twitter Link",target:"_blank"},e.default.createElement(t.default,null),e.default.createElement("span",{className:"sr-only"},"Twitter"))),e.default.createElement("li",{className:"p-sm-right p-sm-left"},e.default.createElement("a",{href:"https://www.facebook.com/nationallibraryofmedicine",title:"SM-Facebook",className:"sm-link","data-ga-action":"footer-link","data-ga-label":"NLM Facebook Link",target:"_blank"},e.default.createElement(a.default,null),e.default.createElement("span",{className:"sr-only"},"Facebook"))),e.default.createElement("li",null,e.default.createElement("a",{href:"https://www.youtube.com/user/NLMNIH",title:"SM-Youtube",className:"sm-link","data-ga-action":"footer-link","data-ga-label":"NLM YouTube Link",target:"_blank"},e.default.createElement(n.default,null),e.default.createElement("span",{className:"sr-only"},"YouTube"))))),e.default.createElement("address",{className:"not-italic p-md-bottom"},e.default.createElement("a",{href:"https://www.google.com/maps/place/8600+Rockville+Pike,+Bethesda,+MD+20894/@38.9959508,-77.101021,17z/data=!3m1!4b1!4m5!3m4!1s0x89b7c95e25765ddb:0x19156f88b27635b8!8m2!3d38.9959508!4d-77.0988323",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"NLM Address Link",target:"_blank",rel:"noopener noreferrer"},"National Library of Medicine ",e.default.createElement("br",null),"8600 Rockville Pike, Bethesda, MD 20894")),e.default.createElement("div",{className:"p-md-bottom"},e.default.createElement("a",{href:"https://www.nlm.nih.gov/web_policies.html",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"Policies Link"},"Web Policies"),e.default.createElement("br",null),e.default.createElement("a",{href:"https://www.nih.gov/institutes-nih/nih-office-director/office-communications-public-liaison/freedom-information-act-office",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"FOIA Link"},"FOIA"),e.default.createElement("br",null),e.default.createElement("a",{href:"https://www.hhs.gov/vulnerability-disclosure-policy/index.html",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"HHS Vulnerability Disclosure Link"},"HHS Vulnerability Disclosure")),e.default.createElement("div",{className:"p-md-bottom"},e.default.createElement("a",{href:"https://support.nlm.nih.gov/",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"NLM Support Link"},"Help"),e.default.createElement("br",null),e.default.createElement("a",{href:"https://www.nlm.nih.gov/accessibility.html",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"Accessibility Link"},"Accessibility"),e.default.createElement("br",null),e.default.createElement("a",{href:"https://www.nlm.nih.gov/careers/careers.html",className:"inline-block hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"Careers Link"},"Careers"))),e.default.createElement("nav",{className:"f-125 f-lh-1 align-center p-md-top"},e.default.createElement("ul",{id:"org-links",className:"unstyled-list"},e.default.createElement("li",{className:"p-sm-right"},e.default.createElement("a",{href:"//www.nlm.nih.gov/",className:"hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"NLM Link"},"NLM")),e.default.createElement("li",{className:"p-sm-left p-sm-right"},e.default.createElement("a",{href:"https://www.nih.gov/",className:"hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"NIH Link"},"NIH")),e.default.createElement("li",{className:"p-sm-left p-sm-right"},e.default.createElement("a",{href:"https://www.hhs.gov/",className:"hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"HHS Link"},"HHS")),e.default.createElement("li",{className:"p-sm-left"},e.default.createElement("a",{href:"https://www.usa.gov/",className:"hover:text-blue-100","data-ga-action":"footer-link","data-ga-label":"USA.gov Link"},"USA.gov")))))))};exports.Footer=r; },{"react":"SAdv","../icons/Twitter":"ficY","../icons/Facebook":"BfAC","../icons/Help":"J6s0","../icons/Youtube":"c5tp"}],"t4e6":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.BasePage=void 0;var e=o(require("react")),t=o(require("prop-types")),r=o(require("./Header")),a=require("./Footer2");function o(e){return e&&e.__esModule?e:{default:e}}var l=e.default.memo(function(t){var o=t.width,l=t.noSearchBox,u=t.children;return e.default.createElement("div",{className:"relative flex-container-vertical"},e.default.createElement(r.default,{noSearchBox:l,width:o}),e.default.createElement("main",{id:"main-content",className:"b-bottom b-thick b-active flex-grow-1"},u),e.default.createElement(a.Footer,{width:o}))});exports.BasePage=l,l.propTypes={width:t.default.number.isRequired,noSearchBox:t.default.bool},l.defaultProps={noSearchBox:!1};var u=l;exports.default=u; },{"react":"SAdv","prop-types":"yu5W","./Header":"OmbS","./Footer2":"ioJ2"}],"Z4op":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Spinner=void 0;var e=a(require("react")),r=a(require("prop-types"));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(r){var a=r.className,o=r.backgroundColor;return e.default.createElement("div",{style:{backgroundColor:o},className:a||"loader-background"},e.default.createElement("div",{className:"loader"}))};exports.Spinner=o,o.propTypes={className:r.default.string,backgroundColor:r.default.string},o.defaultProps={className:"loader-background",backgroundColor:"#fff"};var t=o;exports.default=t; },{"react":"SAdv","prop-types":"yu5W"}],"VxRY":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ErrorMessage=void 0;var e=a(require("react")),t=a(require("prop-types"));function a(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var a=t.title,r=t.message,s=t.setMinHeight,l=t.containerClassName,i=t.isDataError,o=r;if(i)try{o=r.split(/TIME=.*? /i)[0]}catch(m){}return e.default.createElement("div",{className:l+(s?" min-height-50vh":"")},e.default.createElement("div",{className:"p-md b-left b-thick b-secondary bckg-secondary-lightest"},a&&!i?e.default.createElement("h4",{className:"f-medium p-sm-bottom"},a):null,i&&e.default.createElement("p",{className:"f-medium p-md-bottom"},"Apologies, we are having some trouble retrieving data from our servers..."),e.default.createElement("p",{className:"f-0875 italic"},o)))};exports.ErrorMessage=r,r.propTypes={title:t.default.string,message:t.default.node,setMinHeight:t.default.bool,containerClassName:t.default.string,isDataError:t.default.bool},r.defaultProps={title:"ERROR",message:"Something went wrong...",setMinHeight:!1,containerClassName:"align-left p-md-top p-md-bottom f-medium",isDataError:!1};var s=r;exports.default=s; },{"react":"SAdv","prop-types":"yu5W"}],"lxuR":[function(require,module,exports) { var global = arguments[3]; var e=arguments[3],t="object"==typeof e&&e&&e.Object===Object&&e;module.exports=t; },{}],"VQ1k":[function(require,module,exports) { var e=require("./_freeGlobal"),t="object"==typeof self&&self&&self.Object===Object&&self,l=e||t||Function("return this")();module.exports=l; },{"./_freeGlobal":"lxuR"}],"paVz":[function(require,module,exports) { var o=require("./_root"),r=o.Symbol;module.exports=r; },{"./_root":"VQ1k"}],"DjR4":[function(require,module,exports) { var r=require("./_Symbol"),t=Object.prototype,e=t.hasOwnProperty,o=t.toString,a=r?r.toStringTag:void 0;function l(r){var t=e.call(r,a),l=r[a];try{r[a]=void 0;var c=!0}catch(n){}var i=o.call(r);return c&&(t?r[a]=l:delete r[a]),i}module.exports=l; },{"./_Symbol":"paVz"}],"kd6M":[function(require,module,exports) { var t=Object.prototype,o=t.toString;function r(t){return o.call(t)}module.exports=r; },{}],"CCpz":[function(require,module,exports) { var e=require("./_Symbol"),r=require("./_getRawTag"),o=require("./_objectToString"),t="[object Null]",i="[object Undefined]",n=e?e.toStringTag:void 0;function u(e){return null==e?void 0===e?i:t:n&&n in Object(e)?r(e):o(e)}module.exports=u; },{"./_Symbol":"paVz","./_getRawTag":"DjR4","./_objectToString":"kd6M"}],"MXp1":[function(require,module,exports) { function n(n){var o=typeof n;return null!=n&&("object"==o||"function"==o)}module.exports=n; },{}],"KGxx":[function(require,module,exports) { var e=require("./_baseGetTag"),r=require("./isObject"),t="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",c="[object Proxy]";function u(u){if(!r(u))return!1;var i=e(u);return i==n||i==o||i==t||i==c}module.exports=u; },{"./_baseGetTag":"CCpz","./isObject":"MXp1"}],"BVWz":[function(require,module,exports) { var r=require("./_root"),e=r["__core-js_shared__"];module.exports=e; },{"./_root":"VQ1k"}],"ZWFe":[function(require,module,exports) { var e=require("./_coreJsData"),r=function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function n(e){return!!r&&r in e}module.exports=n; },{"./_coreJsData":"BVWz"}],"AfA5":[function(require,module,exports) { var t=Function.prototype,r=t.toString;function n(t){if(null!=t){try{return r.call(t)}catch(n){}try{return t+""}catch(n){}}return""}module.exports=n; },{}],"MTtl":[function(require,module,exports) { var e=require("./isFunction"),r=require("./_isMasked"),t=require("./isObject"),o=require("./_toSource"),n=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,i=Function.prototype,u=Object.prototype,p=i.toString,s=u.hasOwnProperty,a=RegExp("^"+p.call(s).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(n){return!(!t(n)||r(n))&&(e(n)?a:c).test(o(n))}module.exports=l; },{"./isFunction":"KGxx","./_isMasked":"ZWFe","./isObject":"MXp1","./_toSource":"AfA5"}],"CouD":[function(require,module,exports) { function n(n,o){return null==n?void 0:n[o]}module.exports=n; },{}],"AijS":[function(require,module,exports) { var e=require("./_baseIsNative"),r=require("./_getValue");function u(u,a){var i=r(u,a);return e(i)?i:void 0}module.exports=u; },{"./_baseIsNative":"MTtl","./_getValue":"CouD"}],"qTWM":[function(require,module,exports) { var e=require("./_getNative"),r=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch(t){}}();module.exports=r; },{"./_getNative":"AijS"}],"K8cD":[function(require,module,exports) { var e=require("./_defineProperty");function r(r,o,u){"__proto__"==o&&e?e(r,o,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[o]=u}module.exports=r; },{"./_defineProperty":"qTWM"}],"EW21":[function(require,module,exports) { function e(e,n){return e===n||e!=e&&n!=n}module.exports=e; },{}],"lQ9H":[function(require,module,exports) { var e=require("./_baseAssignValue"),r=require("./eq"),o=Object.prototype,a=o.hasOwnProperty;function i(o,i,t){var n=o[i];a.call(o,i)&&r(n,t)&&(void 0!==t||i in o)||e(o,i,t)}module.exports=i; },{"./_baseAssignValue":"K8cD","./eq":"EW21"}],"jdas":[function(require,module,exports) { var r=require("./_assignValue"),e=require("./_baseAssignValue");function a(a,i,u,n){var o=!u;u||(u={});for(var s=-1,v=i.length;++s<v;){var l=i[s],t=n?n(u[l],a[l],l,u,a):void 0;void 0===t&&(t=a[l]),o?e(u,l,t):r(u,l,t)}return u}module.exports=a; },{"./_assignValue":"lQ9H","./_baseAssignValue":"K8cD"}],"wmEn":[function(require,module,exports) { function e(e){return e}module.exports=e; },{}],"c7k6":[function(require,module,exports) { function e(e,l,r){switch(r.length){case 0:return e.call(l);case 1:return e.call(l,r[0]);case 2:return e.call(l,r[0],r[1]);case 3:return e.call(l,r[0],r[1],r[2])}return e.apply(l,r)}module.exports=e; },{}],"ISOC":[function(require,module,exports) { var r=require("./_apply"),t=Math.max;function a(a,e,n){return e=t(void 0===e?a.length-1:e,0),function(){for(var o=arguments,u=-1,i=t(o.length-e,0),f=Array(i);++u<i;)f[u]=o[e+u];u=-1;for(var h=Array(e+1);++u<e;)h[u]=o[u];return h[e]=n(f),r(a,this,h)}}module.exports=a; },{"./_apply":"c7k6"}],"r0fg":[function(require,module,exports) { function n(n){return function(){return n}}module.exports=n; },{}],"uMBx":[function(require,module,exports) { var e=require("./constant"),r=require("./_defineProperty"),t=require("./identity"),i=r?function(t,i){return r(t,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:t;module.exports=i; },{"./constant":"r0fg","./_defineProperty":"qTWM","./identity":"wmEn"}],"beQ9":[function(require,module,exports) { var r=800,e=16,n=Date.now;function t(t){var o=0,u=0;return function(){var a=n(),i=e-(a-u);if(u=a,i>0){if(++o>=r)return arguments[0]}else o=0;return t.apply(void 0,arguments)}}module.exports=t; },{}],"fKzF":[function(require,module,exports) { var e=require("./_baseSetToString"),r=require("./_shortOut"),t=r(e);module.exports=t; },{"./_baseSetToString":"uMBx","./_shortOut":"beQ9"}],"HVdE":[function(require,module,exports) { var e=require("./identity"),r=require("./_overRest"),t=require("./_setToString");function i(i,u){return t(r(i,u,e),i+"")}module.exports=i; },{"./identity":"wmEn","./_overRest":"ISOC","./_setToString":"fKzF"}],"cl1f":[function(require,module,exports) { var e=9007199254740991;function r(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=e}module.exports=r; },{}],"GQ83":[function(require,module,exports) { var e=require("./isFunction"),n=require("./isLength");function r(r){return null!=r&&n(r.length)&&!e(r)}module.exports=r; },{"./isFunction":"KGxx","./isLength":"cl1f"}],"AjIP":[function(require,module,exports) { var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(t,n){var o=typeof t;return!!(n=null==n?e:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t<n}module.exports=t; },{}],"V2jf":[function(require,module,exports) { var e=require("./eq"),r=require("./isArrayLike"),i=require("./_isIndex"),n=require("./isObject");function u(u,t,q){if(!n(q))return!1;var s=typeof t;return!!("number"==s?r(q)&&i(t,q.length):"string"==s&&t in q)&&e(q[t],u)}module.exports=u; },{"./eq":"EW21","./isArrayLike":"GQ83","./_isIndex":"AjIP","./isObject":"MXp1"}],"QfKz":[function(require,module,exports) { var e=require("./_baseRest"),r=require("./_isIterateeCall");function t(t){return e(function(e,o){var i=-1,n=o.length,u=n>1?o[n-1]:void 0,v=n>2?o[2]:void 0;for(u=t.length>3&&"function"==typeof u?(n--,u):void 0,v&&r(o[0],o[1],v)&&(u=n<3?void 0:u,n=1),e=Object(e);++i<n;){var a=o[i];a&&t(e,a,i,u)}return e})}module.exports=t; },{"./_baseRest":"HVdE","./_isIterateeCall":"V2jf"}],"DYZZ":[function(require,module,exports) { var t=Object.prototype;function o(o){var r=o&&o.constructor;return o===("function"==typeof r&&r.prototype||t)}module.exports=o; },{}],"qLlz":[function(require,module,exports) { function r(r,o){for(var e=-1,n=Array(r);++e<r;)n[e]=o(e);return n}module.exports=r; },{}],"uCpm":[function(require,module,exports) { function e(e){return null!=e&&"object"==typeof e}module.exports=e; },{}],"Fseb":[function(require,module,exports) { var e=require("./_baseGetTag"),r=require("./isObjectLike"),t="[object Arguments]";function u(u){return r(u)&&e(u)==t}module.exports=u; },{"./_baseGetTag":"CCpz","./isObjectLike":"uCpm"}],"Mbrk":[function(require,module,exports) { var e=require("./_baseIsArguments"),r=require("./isObjectLike"),t=Object.prototype,l=t.hasOwnProperty,n=t.propertyIsEnumerable,u=e(function(){return arguments}())?e:function(e){return r(e)&&l.call(e,"callee")&&!n.call(e,"callee")};module.exports=u; },{"./_baseIsArguments":"Fseb","./isObjectLike":"uCpm"}],"MdGg":[function(require,module,exports) { var r=Array.isArray;module.exports=r; },{}],"SVLt":[function(require,module,exports) { function e(){return!1}module.exports=e; },{}],"APIu":[function(require,module,exports) { var e=require("./_root"),o=require("./stubFalse"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,t=r&&"object"==typeof module&&module&&!module.nodeType&&module,p=t&&t.exports===r,u=p?e.Buffer:void 0,d=u?u.isBuffer:void 0,s=d||o;module.exports=s; },{"./_root":"VQ1k","./stubFalse":"SVLt"}],"koUJ":[function(require,module,exports) { var e=require("./_baseGetTag"),t=require("./isLength"),r=require("./isObjectLike"),o="[object Arguments]",b="[object Array]",c="[object Boolean]",j="[object Date]",a="[object Error]",n="[object Function]",i="[object Map]",A="[object Number]",y="[object Object]",u="[object RegExp]",g="[object Set]",l="[object String]",p="[object WeakMap]",s="[object ArrayBuffer]",m="[object DataView]",U="[object Float32Array]",f="[object Float64Array]",q="[object Int8Array]",F="[object Int16Array]",I="[object Int32Array]",d="[object Uint8Array]",h="[object Uint8ClampedArray]",k="[object Uint16Array]",x="[object Uint32Array]",B={};function D(o){return r(o)&&t(o.length)&&!!B[e(o)]}B[U]=B[f]=B[q]=B[F]=B[I]=B[d]=B[h]=B[k]=B[x]=!0,B[o]=B[b]=B[s]=B[c]=B[m]=B[j]=B[a]=B[n]=B[i]=B[A]=B[y]=B[u]=B[g]=B[l]=B[p]=!1,module.exports=D; },{"./_baseGetTag":"CCpz","./isLength":"cl1f","./isObjectLike":"uCpm"}],"QM7F":[function(require,module,exports) { function n(n){return function(r){return n(r)}}module.exports=n; },{}],"m7ov":[function(require,module,exports) { var e=require("./_freeGlobal"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,t=r&&r.exports===o,p=t&&e.process,u=function(){try{var e=r&&r.require&&r.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(o){}}();module.exports=u; },{"./_freeGlobal":"lxuR"}],"SAjJ":[function(require,module,exports) { var e=require("./_baseIsTypedArray"),r=require("./_baseUnary"),a=require("./_nodeUtil"),i=a&&a.isTypedArray,s=i?r(i):e;module.exports=s; },{"./_baseIsTypedArray":"koUJ","./_baseUnary":"QM7F","./_nodeUtil":"m7ov"}],"asoi":[function(require,module,exports) { var e=require("./_baseTimes"),r=require("./isArguments"),t=require("./isArray"),i=require("./isBuffer"),n=require("./_isIndex"),s=require("./isTypedArray"),u=Object.prototype,f=u.hasOwnProperty;function a(u,a){var o=t(u),p=!o&&r(u),y=!o&&!p&&i(u),g=!o&&!p&&!y&&s(u),h=o||p||y||g,l=h?e(u.length,String):[],q=l.length;for(var b in u)!a&&!f.call(u,b)||h&&("length"==b||y&&("offset"==b||"parent"==b)||g&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||n(b,q))||l.push(b);return l}module.exports=a; },{"./_baseTimes":"qLlz","./isArguments":"Mbrk","./isArray":"MdGg","./isBuffer":"APIu","./_isIndex":"AjIP","./isTypedArray":"SAjJ"}],"hUHa":[function(require,module,exports) { function n(n,r){return function(t){return n(r(t))}}module.exports=n; },{}],"Y386":[function(require,module,exports) { var e=require("./_overArg"),r=e(Object.keys,Object);module.exports=r; },{"./_overArg":"hUHa"}],"IwDl":[function(require,module,exports) { var r=require("./_isPrototype"),e=require("./_nativeKeys"),t=Object.prototype,o=t.hasOwnProperty;function n(t){if(!r(t))return e(t);var n=[];for(var u in Object(t))o.call(t,u)&&"constructor"!=u&&n.push(u);return n}module.exports=n; },{"./_isPrototype":"DYZZ","./_nativeKeys":"Y386"}],"rC10":[function(require,module,exports) { var e=require("./_arrayLikeKeys"),r=require("./_baseKeys"),i=require("./isArrayLike");function u(u){return i(u)?e(u):r(u)}module.exports=u; },{"./_arrayLikeKeys":"asoi","./_baseKeys":"IwDl","./isArrayLike":"GQ83"}],"IVmz":[function(require,module,exports) { var e=require("./_assignValue"),r=require("./_copyObject"),i=require("./_createAssigner"),o=require("./isArrayLike"),s=require("./_isPrototype"),t=require("./keys"),u=Object.prototype,a=u.hasOwnProperty,c=i(function(i,u){if(s(u)||o(u))r(u,t(u),i);else for(var c in u)a.call(u,c)&&e(i,c,u[c])});module.exports=c; },{"./_assignValue":"lQ9H","./_copyObject":"jdas","./_createAssigner":"QfKz","./isArrayLike":"GQ83","./_isPrototype":"DYZZ","./keys":"rC10"}],"Clm3":[function(require,module,exports) { "use strict";var e=Object.prototype.hasOwnProperty,t="~";function n(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,n,o,s,i){if("function"!=typeof o)throw new TypeError("The listener must be a function");var c=new r(o,s||e,i),f=t?t+n:n;return e._events[f]?e._events[f].fn?e._events[f]=[e._events[f],c]:e._events[f].push(c):(e._events[f]=c,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function i(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(t=!1)),i.prototype.eventNames=function(){var n,r,o=[];if(0===this._eventsCount)return o;for(r in n=this._events)e.call(n,r)&&o.push(t?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(n)):o},i.prototype.listeners=function(e){var n=t?t+e:e,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,s=r.length,i=new Array(s);o<s;o++)i[o]=r[o].fn;return i},i.prototype.listenerCount=function(e){var n=t?t+e:e,r=this._events[n];return r?r.fn?1:r.length:0},i.prototype.emit=function(e,n,r,o,s,i){var c=t?t+e:e;if(!this._events[c])return!1;var f,u,a=this._events[c],l=arguments.length;if(a.fn){switch(a.once&&this.removeListener(e,a.fn,void 0,!0),l){case 1:return a.fn.call(a.context),!0;case 2:return a.fn.call(a.context,n),!0;case 3:return a.fn.call(a.context,n,r),!0;case 4:return a.fn.call(a.context,n,r,o),!0;case 5:return a.fn.call(a.context,n,r,o,s),!0;case 6:return a.fn.call(a.context,n,r,o,s,i),!0}for(u=1,f=new Array(l-1);u<l;u++)f[u-1]=arguments[u];a.fn.apply(a.context,f)}else{var v,h=a.length;for(u=0;u<h;u++)switch(a[u].once&&this.removeListener(e,a[u].fn,void 0,!0),l){case 1:a[u].fn.call(a[u].context);break;case 2:a[u].fn.call(a[u].context,n);break;case 3:a[u].fn.call(a[u].context,n,r);break;case 4:a[u].fn.call(a[u].context,n,r,o);break;default:if(!f)for(v=1,f=new Array(l-1);v<l;v++)f[v-1]=arguments[v];a[u].fn.apply(a[u].context,f)}}return!0},i.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},i.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},i.prototype.removeListener=function(e,n,r,o){var i=t?t+e:e;if(!this._events[i])return this;if(!n)return s(this,i),this;var c=this._events[i];if(c.fn)c.fn!==n||o&&!c.once||r&&c.context!==r||s(this,i);else{for(var f=0,u=[],a=c.length;f<a;f++)(c[f].fn!==n||o&&!c[f].once||r&&c[f].context!==r)&&u.push(c[f]);u.length?this._events[i]=1===u.length?u[0]:u:s(this,i)}return this},i.prototype.removeAllListeners=function(e){var r;return e?(r=t?t+e:e,this._events[r]&&s(this,r)):(this._events=new n,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prefixed=t,i.EventEmitter=i,"undefined"!=typeof module&&(module.exports=i); },{}],"A7ow":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=!1;if("undefined"!=typeof window)try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(r){}var n=e;exports.default=n; },{}],"C7j0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("eventemitter3")),t=r(require("./lib/supportPassiveEvent"));function r(e){return e&&e.__esModule?e:{default:e}}var s={connections:{},EE:new e.default,enableResizeInfo:!1,enableScrollInfo:!1,listeners:{},removers:[],supportPassiveEvent:t.default};exports.default=s; },{"eventemitter3":"Clm3","./lib/supportPassiveEvent":"A7ow"}],"Nm7g":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("lodash/assign")),t=r(require("../globalVars"));function r(e){return e&&e.__esModule?e:{default:e}}var a=t.default.supportPassiveEvent,n={capture:!1,passive:!1};function s(t,r,s,u){var v="addEventListener",o="removeEventListener",d=r,i=!!a&&(0,e.default)({},n,u);return!t.addEventListener&&t.attachEvent&&(v="attachEvent",o="detachEvent",d="on"+r),t[v](d,s,i),{remove:function(){t[o](r,s)}}}var u=s;exports.default=u; },{"lodash/assign":"IVmz","../globalVars":"C7j0"}],"XW7q":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=!1;if("undefined"!=typeof navigator){var t=navigator.userAgent.match(/MSIE (\d+\.\d+)/);t&&(e=parseFloat(t[1],10)<9)}var a=e;exports.default=a; },{}],"RiGr":[function(require,module,exports) { function t(){this.__data__=[],this.size=0}module.exports=t; },{}],"WpMd":[function(require,module,exports) { var r=require("./eq");function e(e,n){for(var t=e.length;t--;)if(r(e[t][0],n))return t;return-1}module.exports=e; },{"./eq":"EW21"}],"Oadt":[function(require,module,exports) { var e=require("./_assocIndexOf"),r=Array.prototype,t=r.splice;function a(r){var a=this.__data__,o=e(a,r);return!(o<0)&&(o==a.length-1?a.pop():t.call(a,o,1),--this.size,!0)}module.exports=a; },{"./_assocIndexOf":"WpMd"}],"JYyI":[function(require,module,exports) { var r=require("./_assocIndexOf");function e(e){var a=this.__data__,o=r(a,e);return o<0?void 0:a[o][1]}module.exports=e; },{"./_assocIndexOf":"WpMd"}],"mbio":[function(require,module,exports) { var e=require("./_assocIndexOf");function r(r){return e(this.__data__,r)>-1}module.exports=r; },{"./_assocIndexOf":"WpMd"}],"lALI":[function(require,module,exports) { var s=require("./_assocIndexOf");function e(e,r){var t=this.__data__,i=s(t,e);return i<0?(++this.size,t.push([e,r])):t[i][1]=r,this}module.exports=e; },{"./_assocIndexOf":"WpMd"}],"feFl":[function(require,module,exports) { var e=require("./_listCacheClear"),t=require("./_listCacheDelete"),r=require("./_listCacheGet"),l=require("./_listCacheHas"),o=require("./_listCacheSet");function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var l=e[t];this.set(l[0],l[1])}}a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=l,a.prototype.set=o,module.exports=a; },{"./_listCacheClear":"RiGr","./_listCacheDelete":"Oadt","./_listCacheGet":"JYyI","./_listCacheHas":"mbio","./_listCacheSet":"lALI"}],"BFUS":[function(require,module,exports) { var e=require("./_ListCache");function i(){this.__data__=new e,this.size=0}module.exports=i; },{"./_ListCache":"feFl"}],"vJkQ":[function(require,module,exports) { function e(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}module.exports=e; },{}],"MihR":[function(require,module,exports) { function t(t){return this.__data__.get(t)}module.exports=t; },{}],"rKyc":[function(require,module,exports) { function t(t){return this.__data__.has(t)}module.exports=t; },{}],"pXsE":[function(require,module,exports) { var e=require("./_getNative"),r=require("./_root"),o=e(r,"Map");module.exports=o; },{"./_getNative":"AijS","./_root":"VQ1k"}],"dsTJ":[function(require,module,exports) { var e=require("./_getNative"),r=e(Object,"create");module.exports=r; },{"./_getNative":"AijS"}],"IqRJ":[function(require,module,exports) { var e=require("./_nativeCreate");function t(){this.__data__=e?e(null):{},this.size=0}module.exports=t; },{"./_nativeCreate":"dsTJ"}],"qIWk":[function(require,module,exports) { function t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}module.exports=t; },{}],"C6p9":[function(require,module,exports) { var e=require("./_nativeCreate"),r="__lodash_hash_undefined__",t=Object.prototype,a=t.hasOwnProperty;function _(t){var _=this.__data__;if(e){var o=_[t];return o===r?void 0:o}return a.call(_,t)?_[t]:void 0}module.exports=_; },{"./_nativeCreate":"dsTJ"}],"yXIv":[function(require,module,exports) { var e=require("./_nativeCreate"),r=Object.prototype,t=r.hasOwnProperty;function a(r){var a=this.__data__;return e?void 0!==a[r]:t.call(a,r)}module.exports=a; },{"./_nativeCreate":"dsTJ"}],"EHgb":[function(require,module,exports) { var e=require("./_nativeCreate"),_="__lodash_hash_undefined__";function i(i,t){var a=this.__data__;return this.size+=this.has(i)?0:1,a[i]=e&&void 0===t?_:t,this}module.exports=i; },{"./_nativeCreate":"dsTJ"}],"VLZ6":[function(require,module,exports) { var e=require("./_hashClear"),r=require("./_hashDelete"),t=require("./_hashGet"),h=require("./_hashHas"),o=require("./_hashSet");function a(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var h=e[r];this.set(h[0],h[1])}}a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=h,a.prototype.set=o,module.exports=a; },{"./_hashClear":"IqRJ","./_hashDelete":"qIWk","./_hashGet":"C6p9","./_hashHas":"yXIv","./_hashSet":"EHgb"}],"w2u7":[function(require,module,exports) { var e=require("./_Hash"),i=require("./_ListCache"),r=require("./_Map");function a(){this.size=0,this.__data__={hash:new e,map:new(r||i),string:new e}}module.exports=a; },{"./_Hash":"VLZ6","./_ListCache":"feFl","./_Map":"pXsE"}],"e876":[function(require,module,exports) { function o(o){var n=typeof o;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==o:null===o}module.exports=o; },{}],"k3Fb":[function(require,module,exports) { var r=require("./_isKeyable");function e(e,a){var t=e.__data__;return r(a)?t["string"==typeof a?"string":"hash"]:t.map}module.exports=e; },{"./_isKeyable":"e876"}],"tEiJ":[function(require,module,exports) { var e=require("./_getMapData");function t(t){var r=e(this,t).delete(t);return this.size-=r?1:0,r}module.exports=t; },{"./_getMapData":"k3Fb"}],"XnUX":[function(require,module,exports) { var e=require("./_getMapData");function t(t){return e(this,t).get(t)}module.exports=t; },{"./_getMapData":"k3Fb"}],"YCUr":[function(require,module,exports) { var e=require("./_getMapData");function r(r){return e(this,r).has(r)}module.exports=r; },{"./_getMapData":"k3Fb"}],"lAj5":[function(require,module,exports) { var e=require("./_getMapData");function t(t,i){var s=e(this,t),r=s.size;return s.set(t,i),this.size+=s.size==r?0:1,this}module.exports=t; },{"./_getMapData":"k3Fb"}],"gJex":[function(require,module,exports) { var e=require("./_mapCacheClear"),r=require("./_mapCacheDelete"),t=require("./_mapCacheGet"),a=require("./_mapCacheHas"),p=require("./_mapCacheSet");function o(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}o.prototype.clear=e,o.prototype.delete=r,o.prototype.get=t,o.prototype.has=a,o.prototype.set=p,module.exports=o; },{"./_mapCacheClear":"w2u7","./_mapCacheDelete":"tEiJ","./_mapCacheGet":"XnUX","./_mapCacheHas":"YCUr","./_mapCacheSet":"lAj5"}],"Py75":[function(require,module,exports) { var e=require("./_ListCache"),i=require("./_Map"),t=require("./_MapCache"),s=200;function _(_,a){var r=this.__data__;if(r instanceof e){var h=r.__data__;if(!i||h.length<s-1)return h.push([_,a]),this.size=++r.size,this;r=this.__data__=new t(h)}return r.set(_,a),this.size=r.size,this}module.exports=_; },{"./_ListCache":"feFl","./_Map":"pXsE","./_MapCache":"gJex"}],"Ti4V":[function(require,module,exports) { var e=require("./_ListCache"),t=require("./_stackClear"),r=require("./_stackDelete"),a=require("./_stackGet"),s=require("./_stackHas"),o=require("./_stackSet");function i(t){var r=this.__data__=new e(t);this.size=r.size}i.prototype.clear=t,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=s,i.prototype.set=o,module.exports=i; },{"./_ListCache":"feFl","./_stackClear":"BFUS","./_stackDelete":"vJkQ","./_stackGet":"MihR","./_stackHas":"rKyc","./_stackSet":"Py75"}],"qGBm":[function(require,module,exports) { function n(n,r){for(var e=-1,l=null==n?0:n.length;++e<l&&!1!==r(n[e],e,n););return n}module.exports=n; },{}],"MOga":[function(require,module,exports) { var e=require("./_copyObject"),r=require("./keys");function u(u,o){return u&&e(o,r(o),u)}module.exports=u; },{"./_copyObject":"jdas","./keys":"rC10"}],"BbYR":[function(require,module,exports) { function r(r){var n=[];if(null!=r)for(var u in Object(r))n.push(u);return n}module.exports=r; },{}],"Jobt":[function(require,module,exports) { var r=require("./isObject"),e=require("./_isPrototype"),t=require("./_nativeKeysIn"),o=Object.prototype,i=o.hasOwnProperty;function n(o){if(!r(o))return t(o);var n=e(o),u=[];for(var s in o)("constructor"!=s||!n&&i.call(o,s))&&u.push(s);return u}module.exports=n; },{"./isObject":"MXp1","./_isPrototype":"DYZZ","./_nativeKeysIn":"BbYR"}],"vON2":[function(require,module,exports) { var e=require("./_arrayLikeKeys"),r=require("./_baseKeysIn"),i=require("./isArrayLike");function u(u){return i(u)?e(u,!0):r(u)}module.exports=u; },{"./_arrayLikeKeys":"asoi","./_baseKeysIn":"Jobt","./isArrayLike":"GQ83"}],"wX7T":[function(require,module,exports) { var e=require("./_copyObject"),r=require("./keysIn");function u(u,n){return u&&e(n,r(n),u)}module.exports=u; },{"./_copyObject":"jdas","./keysIn":"vON2"}],"QpEu":[function(require,module,exports) { var e=require("./_root"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,t=r&&r.exports===o,p=t?e.Buffer:void 0,u=p?p.allocUnsafe:void 0;function n(e,o){if(o)return e.slice();var r=e.length,t=u?u(r):new e.constructor(r);return e.copy(t),t}module.exports=n; },{"./_root":"VQ1k"}],"UcRH":[function(require,module,exports) { function r(r,e){var n=-1,o=r.length;for(e||(e=Array(o));++n<o;)e[n]=r[n];return e}module.exports=r; },{}],"i1Ey":[function(require,module,exports) { function r(r,n){for(var e=-1,l=null==r?0:r.length,o=0,t=[];++e<l;){var u=r[e];n(u,e,r)&&(t[o++]=u)}return t}module.exports=r; },{}],"PYXc":[function(require,module,exports) { function e(){return[]}module.exports=e; },{}],"A6cy":[function(require,module,exports) { var r=require("./_arrayFilter"),e=require("./stubArray"),t=Object.prototype,u=t.propertyIsEnumerable,n=Object.getOwnPropertySymbols,o=n?function(e){return null==e?[]:(e=Object(e),r(n(e),function(r){return u.call(e,r)}))}:e;module.exports=o; },{"./_arrayFilter":"i1Ey","./stubArray":"PYXc"}],"Lcp4":[function(require,module,exports) { var e=require("./_copyObject"),r=require("./_getSymbols");function o(o,t){return e(o,r(o),t)}module.exports=o; },{"./_copyObject":"jdas","./_getSymbols":"A6cy"}],"JZaC":[function(require,module,exports) { function e(e,n){for(var r=-1,t=n.length,o=e.length;++r<t;)e[o+r]=n[r];return e}module.exports=e; },{}],"p8sb":[function(require,module,exports) { var e=require("./_overArg"),r=e(Object.getPrototypeOf,Object);module.exports=r; },{"./_overArg":"hUHa"}],"kXMg":[function(require,module,exports) { var r=require("./_arrayPush"),e=require("./_getPrototype"),t=require("./_getSymbols"),o=require("./stubArray"),u=Object.getOwnPropertySymbols,y=u?function(o){for(var u=[];o;)r(u,t(o)),o=e(o);return u}:o;module.exports=y; },{"./_arrayPush":"JZaC","./_getPrototype":"p8sb","./_getSymbols":"A6cy","./stubArray":"PYXc"}],"pVn7":[function(require,module,exports) { var e=require("./_copyObject"),r=require("./_getSymbolsIn");function o(o,t){return e(o,r(o),t)}module.exports=o; },{"./_copyObject":"jdas","./_getSymbolsIn":"kXMg"}],"tFQC":[function(require,module,exports) { var r=require("./_arrayPush"),e=require("./isArray");function u(u,a,i){var n=a(u);return e(u)?n:r(n,i(u))}module.exports=u; },{"./_arrayPush":"JZaC","./isArray":"MdGg"}],"IPko":[function(require,module,exports) { var e=require("./_baseGetAllKeys"),r=require("./_getSymbols"),u=require("./keys");function s(s){return e(s,u,r)}module.exports=s; },{"./_baseGetAllKeys":"tFQC","./_getSymbols":"A6cy","./keys":"rC10"}],"YpG6":[function(require,module,exports) { var e=require("./_baseGetAllKeys"),r=require("./_getSymbolsIn"),u=require("./keysIn");function n(n){return e(n,u,r)}module.exports=n; },{"./_baseGetAllKeys":"tFQC","./_getSymbolsIn":"kXMg","./keysIn":"vON2"}],"tLzw":[function(require,module,exports) { var e=require("./_getNative"),r=require("./_root"),t=e(r,"DataView");module.exports=t; },{"./_getNative":"AijS","./_root":"VQ1k"}],"KjT3":[function(require,module,exports) { var e=require("./_getNative"),r=require("./_root"),o=e(r,"Promise");module.exports=o; },{"./_getNative":"AijS","./_root":"VQ1k"}],"wJ1B":[function(require,module,exports) { var e=require("./_getNative"),r=require("./_root"),t=e(r,"Set");module.exports=t; },{"./_getNative":"AijS","./_root":"VQ1k"}],"ddK9":[function(require,module,exports) { var e=require("./_getNative"),r=require("./_root"),a=e(r,"WeakMap");module.exports=a; },{"./_getNative":"AijS","./_root":"VQ1k"}],"tNzG":[function(require,module,exports) { var e=require("./_DataView"),r=require("./_Map"),t=require("./_Promise"),a=require("./_Set"),u=require("./_WeakMap"),c=require("./_baseGetTag"),o=require("./_toSource"),i="[object Map]",n="[object Object]",s="[object Promise]",b="[object Set]",w="[object WeakMap]",j="[object DataView]",q=o(e),_=o(r),p=o(t),f=o(a),v=o(u),M=c;(e&&M(new e(new ArrayBuffer(1)))!=j||r&&M(new r)!=i||t&&M(t.resolve())!=s||a&&M(new a)!=b||u&&M(new u)!=w)&&(M=function(e){var r=c(e),t=r==n?e.constructor:void 0,a=t?o(t):"";if(a)switch(a){case q:return j;case _:return i;case p:return s;case f:return b;case v:return w}return r}),module.exports=M; },{"./_DataView":"tLzw","./_Map":"pXsE","./_Promise":"KjT3","./_Set":"wJ1B","./_WeakMap":"ddK9","./_baseGetTag":"CCpz","./_toSource":"AfA5"}],"OFAg":[function(require,module,exports) { var t=Object.prototype,n=t.hasOwnProperty;function e(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}module.exports=e; },{}],"ysan":[function(require,module,exports) { var r=require("./_root"),e=r.Uint8Array;module.exports=e; },{"./_root":"VQ1k"}],"WAmC":[function(require,module,exports) { var e=require("./_Uint8Array");function r(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}module.exports=r; },{"./_Uint8Array":"ysan"}],"xYOm":[function(require,module,exports) { var e=require("./_cloneArrayBuffer");function r(r,f){var t=f?e(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}module.exports=r; },{"./_cloneArrayBuffer":"WAmC"}],"fNI5":[function(require,module,exports) { var e=/\w*$/;function r(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}module.exports=r; },{}],"FLXW":[function(require,module,exports) { var e=require("./_Symbol"),o=e?e.prototype:void 0,r=o?o.valueOf:void 0;function t(e){return r?Object(r.call(e)):{}}module.exports=t; },{"./_Symbol":"paVz"}],"kEIG":[function(require,module,exports) { var r=require("./_cloneArrayBuffer");function e(e,f){var t=f?r(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}module.exports=e; },{"./_cloneArrayBuffer":"WAmC"}],"xYnk":[function(require,module,exports) { var e=require("./_cloneArrayBuffer"),r=require("./_cloneDataView"),c=require("./_cloneRegExp"),t=require("./_cloneSymbol"),a=require("./_cloneTypedArray"),o="[object Boolean]",n="[object Date]",b="[object Map]",s="[object Number]",u="[object RegExp]",j="[object Set]",y="[object String]",i="[object Symbol]",l="[object ArrayBuffer]",A="[object DataView]",w="[object Float32Array]",p="[object Float64Array]",f="[object Int8Array]",m="[object Int16Array]",q="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",U="[object Uint16Array]",d="[object Uint32Array]";function g(g,x,B){var D=g.constructor;switch(x){case l:return e(g);case o:case n:return new D(+g);case A:return r(g,B);case w:case p:case f:case m:case q:case _:case S:case U:case d:return a(g,B);case b:return new D;case s:case y:return new D(g);case u:return c(g);case j:return new D;case i:return t(g)}}module.exports=g; },{"./_cloneArrayBuffer":"WAmC","./_cloneDataView":"xYOm","./_cloneRegExp":"fNI5","./_cloneSymbol":"FLXW","./_cloneTypedArray":"kEIG"}],"HRDU":[function(require,module,exports) { var r=require("./isObject"),e=Object.create,t=function(){function t(){}return function(n){if(!r(n))return{};if(e)return e(n);t.prototype=n;var o=new t;return t.prototype=void 0,o}}();module.exports=t; },{"./isObject":"MXp1"}],"iVSu":[function(require,module,exports) { var e=require("./_baseCreate"),r=require("./_getPrototype"),t=require("./_isPrototype");function o(o){return"function"!=typeof o.constructor||t(o)?{}:e(r(o))}module.exports=o; },{"./_baseCreate":"HRDU","./_getPrototype":"p8sb","./_isPrototype":"DYZZ"}],"JEK6":[function(require,module,exports) { var e=require("./_getTag"),r=require("./isObjectLike"),t="[object Map]";function i(i){return r(i)&&e(i)==t}module.exports=i; },{"./_getTag":"tNzG","./isObjectLike":"uCpm"}],"N6ID":[function(require,module,exports) { var e=require("./_baseIsMap"),r=require("./_baseUnary"),a=require("./_nodeUtil"),i=a&&a.isMap,s=i?r(i):e;module.exports=s; },{"./_baseIsMap":"JEK6","./_baseUnary":"QM7F","./_nodeUtil":"m7ov"}],"EpNq":[function(require,module,exports) { var e=require("./_getTag"),r=require("./isObjectLike"),t="[object Set]";function i(i){return r(i)&&e(i)==t}module.exports=i; },{"./_getTag":"tNzG","./isObjectLike":"uCpm"}],"OQqK":[function(require,module,exports) { var e=require("./_baseIsSet"),r=require("./_baseUnary"),i=require("./_nodeUtil"),s=i&&i.isSet,a=s?r(s):e;module.exports=a; },{"./_baseIsSet":"EpNq","./_baseUnary":"QM7F","./_nodeUtil":"m7ov"}],"ZxeG":[function(require,module,exports) { var e=require("./_Stack"),r=require("./_arrayEach"),t=require("./_assignValue"),i=require("./_baseAssign"),o=require("./_baseAssignIn"),n=require("./_cloneBuffer"),a=require("./_copyArray"),c=require("./_copySymbols"),u=require("./_copySymbolsIn"),b=require("./_getAllKeys"),j=require("./_getAllKeysIn"),y=require("./_getTag"),s=require("./_initCloneArray"),q=require("./_initCloneByTag"),f=require("./_initCloneObject"),l=require("./isArray"),A=require("./isBuffer"),_=require("./isMap"),g=require("./isObject"),p=require("./isSet"),v=require("./keys"),m=require("./keysIn"),I=1,S=2,d=4,B="[object Arguments]",E="[object Array]",k="[object Boolean]",C="[object Date]",F="[object Error]",U="[object Function]",h="[object GeneratorFunction]",M="[object Map]",O="[object Number]",w="[object Object]",x="[object RegExp]",D="[object Set]",K="[object String]",T="[object Symbol]",V="[object WeakMap]",G="[object ArrayBuffer]",N="[object DataView]",R="[object Float32Array]",W="[object Float64Array]",z="[object Int8Array]",H="[object Int16Array]",J="[object Int32Array]",L="[object Uint8Array]",P="[object Uint8ClampedArray]",Q="[object Uint16Array]",X="[object Uint32Array]",Y={};function Z(E,k,C,F,M,O){var x,D=k&I,K=k&S,T=k&d;if(C&&(x=M?C(E,F,M,O):C(E)),void 0!==x)return x;if(!g(E))return E;var V=l(E);if(V){if(x=s(E),!D)return a(E,x)}else{var G=y(E),N=G==U||G==h;if(A(E))return n(E,D);if(G==w||G==B||N&&!M){if(x=K||N?{}:f(E),!D)return K?u(E,o(x,E)):c(E,i(x,E))}else{if(!Y[G])return M?E:{};x=q(E,G,D)}}O||(O=new e);var R=O.get(E);if(R)return R;O.set(E,x),p(E)?E.forEach(function(e){x.add(Z(e,k,C,e,E,O))}):_(E)&&E.forEach(function(e,r){x.set(r,Z(e,k,C,r,E,O))});var W=V?void 0:(T?K?j:b:K?m:v)(E);return r(W||E,function(e,r){W&&(e=E[r=e]),t(x,r,Z(e,k,C,r,E,O))}),x}Y[B]=Y[E]=Y[G]=Y[N]=Y[k]=Y[C]=Y[R]=Y[W]=Y[z]=Y[H]=Y[J]=Y[M]=Y[O]=Y[w]=Y[x]=Y[D]=Y[K]=Y[T]=Y[L]=Y[P]=Y[Q]=Y[X]=!0,Y[F]=Y[U]=Y[V]=!1,module.exports=Z; },{"./_Stack":"Ti4V","./_arrayEach":"qGBm","./_assignValue":"lQ9H","./_baseAssign":"MOga","./_baseAssignIn":"wX7T","./_cloneBuffer":"QpEu","./_copyArray":"UcRH","./_copySymbols":"Lcp4","./_copySymbolsIn":"pVn7","./_getAllKeys":"IPko","./_getAllKeysIn":"YpG6","./_getTag":"tNzG","./_initCloneArray":"OFAg","./_initCloneByTag":"xYnk","./_initCloneObject":"iVSu","./isArray":"MdGg","./isBuffer":"APIu","./isMap":"N6ID","./isObject":"MXp1","./isSet":"OQqK","./keys":"rC10","./keysIn":"vON2"}],"h9Jz":[function(require,module,exports) { var e=require("./_baseClone"),r=4;function n(n){return e(n,r)}module.exports=n; },{"./_baseClone":"ZxeG"}],"I45B":[function(require,module,exports) { var r=require("./_root"),e=function(){return r.Date.now()};module.exports=e; },{"./_root":"VQ1k"}],"CUEx":[function(require,module,exports) { var r=/\s/;function t(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}module.exports=t; },{}],"ggHp":[function(require,module,exports) { var e=require("./_trimmedEndIndex"),r=/^\s+/;function n(n){return n?n.slice(0,e(n)+1).replace(r,""):n}module.exports=n; },{"./_trimmedEndIndex":"CUEx"}],"Vjhf":[function(require,module,exports) { var e=require("./_baseGetTag"),r=require("./isObjectLike"),o="[object Symbol]";function t(t){return"symbol"==typeof t||r(t)&&e(t)==o}module.exports=t; },{"./_baseGetTag":"CCpz","./isObjectLike":"uCpm"}],"YmiQ":[function(require,module,exports) { var e=require("./_baseTrim"),r=require("./isObject"),t=require("./isSymbol"),i=NaN,u=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt;function a(a){if("number"==typeof a)return a;if(t(a))return i;if(r(a)){var o="function"==typeof a.valueOf?a.valueOf():a;a=r(o)?o+"":o}if("string"!=typeof a)return 0===a?a:+a;a=e(a);var b=f.test(a);return b||n.test(a)?s(a.slice(2),b?2:8):u.test(a)?i:+a}module.exports=a; },{"./_baseTrim":"ggHp","./isObject":"MXp1","./isSymbol":"Vjhf"}],"EtSx":[function(require,module,exports) { var i=require("./isObject"),t=require("./now"),r=require("./toNumber"),n="Expected a function",e=Math.max,u=Math.min;function o(o,a,f){var c,v,d,m,l,s,T=0,p=!1,h=!1,x=!0;if("function"!=typeof o)throw new TypeError(n);function g(i){var t=c,r=v;return c=v=void 0,T=i,m=o.apply(r,t)}function q(i){var t=i-s;return void 0===s||t>=a||t<0||h&&i-T>=d}function w(){var i=t();if(q(i))return y(i);l=setTimeout(w,function(i){var t=a-(i-s);return h?u(t,d-(i-T)):t}(i))}function y(i){return l=void 0,x&&c?g(i):(c=v=void 0,m)}function b(){var i=t(),r=q(i);if(c=arguments,v=this,s=i,r){if(void 0===l)return function(i){return T=i,l=setTimeout(w,a),p?g(i):m}(s);if(h)return clearTimeout(l),l=setTimeout(w,a),g(s)}return void 0===l&&(l=setTimeout(w,a)),m}return a=r(a)||0,i(f)&&(p=!!f.leading,d=(h="maxWait"in f)?e(r(f.maxWait)||0,a):d,x="trailing"in f?!!f.trailing:x),b.cancel=function(){void 0!==l&&clearTimeout(l),T=0,c=s=v=l=void 0},b.flush=function(){return void 0===l?m:y(t())},b}module.exports=o; },{"./isObject":"MXp1","./now":"I45B","./toNumber":"YmiQ"}],"Xuid":[function(require,module,exports) { var i=require("./debounce"),e=require("./isObject"),n="Expected a function";function r(r,t,a){var o=!0,u=!0;if("function"!=typeof r)throw new TypeError(n);return e(a)&&(o="leading"in a?!!a.leading:o,u="trailing"in a?!!a.trailing:u),i(r,t,{leading:o,maxWait:t,trailing:u})}module.exports=r; },{"./debounce":"EtSx","./isObject":"MXp1"}],"OTfq":[function(require,module,exports) { function o(){}module.exports=o; },{}],"JxQ3":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=e(require("./globalVars"));function e(t){return t&&t.__esModule?t:{default:t}}var o=function(){function t(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,o,i){return o&&t(e.prototype,o),i&&t(e,i),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s={width:0,height:0},n={delta:0,top:0},a={axisIntention:"",startX:0,startY:0,deltaX:0,deltaY:0},r=5,h=function(t){var e={x:0,y:0},o=document.body,i=document.documentElement;return t.pageX||t.pageY?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX+o.scrollLeft+i.scrollLeft,e.y=t.clientY+o.scrollTop+i.scrollTop),e},l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e);var o=(t.mainType||"").toLowerCase(),r=(t.subType||"").toLowerCase();this.mainType=o,this.subType=r,this.type=o+r.charAt(0).toUpperCase()+r.slice(1)||"",this.scroll=n,this.resize=s,this.touch=a}return o(e,[{key:"update",value:function(e){var o=this.mainType,i=this.subType,s=document.documentElement;if(t.default.enableScrollInfo&&("scroll"===o||"touchmove"===o)){var n=s.scrollTop+document.body.scrollTop;n!==this.scroll.top&&(this.scroll.delta=n-this.scroll.top,this.scroll.top=n)}if(t.default.enableResizeInfo&&"resize"===o&&(this.resize.width=window.innerWidth||s.clientWidth,this.resize.height=window.innerHeight||s.clientHeight),t.default.enableTouchInfo&&e.touches&&("touchstart"===o||"touchmove"===o||"touchend"===o)){var a=void 0,l=void 0,c=void 0;"touchstart"===o||"start"===i?(a=h(e.touches[0]),this.touch.axisIntention="",this.touch.startX=a.x,this.touch.startY=a.y,this.touch.deltaX=0,this.touch.deltaY=0):"touchmove"===o&&(a=h(e.touches[0]),this.touch.deltaX=a.x-this.touch.startX,this.touch.deltaY=a.y-this.touch.startY,""===this.touch.axisIntention&&(l=Math.abs(this.touch.deltaX),c=Math.abs(this.touch.deltaY),l>r&&l>=c?this.touch.axisIntention="x":c>r&&c>l&&(this.touch.axisIntention="y")))}}}]),e}(),c=l;exports.default=c; },{"./globalVars":"C7j0"}],"FT5O":[function(require,module,exports) { var t,e,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(n){t=r}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(n){e=o}}();var c,s=[],l=!1,a=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):a=-1,s.length&&h())}function h(){if(!l){var t=i(f);l=!0;for(var e=s.length;e;){for(c=s,s=[];++a<e;)c&&c[a].run();a=-1,e=s.length}c=null,l=!1,u(t)}}function m(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new m(t,e)),1!==s.length||l||i(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}; },{}],"GaUP":[function(require,module,exports) { var process = require("process"); var e=require("process");(function(){var n,r,t,o,u,i;"undefined"!=typeof performance&&null!==performance&&performance.now?module.exports=function(){return performance.now()}:null!=e&&e.hrtime?(module.exports=function(){return(n()-u)/1e6},r=e.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),i=1e9*e.uptime(),u=o-i):Date.now?(module.exports=function(){return Date.now()-t},t=Date.now()):(module.exports=function(){return(new Date).getTime()-t},t=(new Date).getTime())}).call(this); },{"process":"FT5O"}],"Akui":[function(require,module,exports) { var global = arguments[3]; for(var e=arguments[3],n=require("performance-now"),t="undefined"==typeof window?e:window,a=["moz","webkit"],l="AnimationFrame",c=t["request"+l],o=t["cancel"+l]||t["cancelRequest"+l],r=0;!c&&r<a.length;r++)c=t[a[r]+"Request"+l],o=t[a[r]+"Cancel"+l]||t[a[r]+"CancelRequest"+l];if(!c||!o){var i=0,u=0,f=[],m=1e3/60;c=function(e){if(0===f.length){var t=n(),a=Math.max(0,m-(t-i));i=a+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var n=0;n<e.length;n++)if(!e[n].cancelled)try{e[n].callback(i)}catch(t){setTimeout(function(){throw t},0)}},Math.round(a))}return f.push({handle:++u,callback:e,cancelled:!1}),u},o=function(e){for(var n=0;n<f.length;n++)f[n].handle===e&&(f[n].cancelled=!0)}}module.exports=function(e){return c.call(t,e)},module.exports.cancel=function(){o.apply(t,arguments)},module.exports.polyfill=function(e){e||(e=t),e.requestAnimationFrame=c,e.cancelAnimationFrame=o}; },{"performance-now":"GaUP"}],"A2MH":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("raf"));function t(e){return e&&e.__esModule?e:{default:e}}var r=Date.now||function(){return(new Date).getTime()};function u(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=void 0,o=void 0,a=0,i=0,d=function d(){var f=r();u-(f-a)<=0?(a=f,i=0,t.apply(n,o)):i=(0,e.default)(d)};return function(){n=this,o=arguments,i||(i=(0,e.default)(d))}}var n=u;exports.default=n; },{"raf":"Akui"}],"GBg0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_THROTTLE_RATE=exports.EVENT_END_DELAY=void 0;var E=100;exports.EVENT_END_DELAY=E;var e=50;exports.DEFAULT_THROTTLE_RATE=e; },{}],"T1Gt":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=d(require("lodash/clone")),t=d(require("lodash/throttle")),r=d(require("lodash/noop")),i=d(require("./AugmentedEvent")),n=d(require("./globalVars")),o=d(require("./lib/leIE8")),u=d(require("./lib/listen")),a=d(require("./lib/rAFThrottle")),l=require("./constants");function d(e){return e&&e.__esModule?e:{default:e}}var s=n.default.connections,c=n.default.EE,f=n.default.listeners,v=n.default.removers,m=void 0,h=void 0,p=void 0,E=0;function b(e){return e.id||"target-id-"+E++}function _(e,t,i,n){return c.on(e,t||r.default,i),s[n=n||e]=(s[n]||0)+1,{_type:e,_cb:t,_ctx:i,unsubscribe:function(){if(this._type){c.removeListener(e,t,i),s[n]--,0===s[n]&&(f[n].remove(),f[n]=void 0),this._type=void 0,this._cb=void 0,this._ctx=void 0;for(var r=v.length-1;r>=0;r--){if(v[r]===this){v.splice(r,1);break}}}}}}function y(r,n,d){return function(s,m,h,p){var E=h.context,y=h.target,T=y&&b(y),q=T?":"+T:"",z=n+"Start:"+s+q,g=n+"End:"+s+q,w=n+":"+s+q,x=_(d+":"+s+q,m,E,w);if(v.push(x),f[w])return x;var S={start:new i.default({mainType:n,subType:"start"}),main:new i.default({mainType:n}),end:new i.default({mainType:n,subType:"end"})};"raf"===s?(s=16,N=(0,a.default)(N)):s>0&&(N=(0,t.default)(N,s));var A=void 0;function D(e){S.end.update(e),c.emit(g,e,S.end),A=null}function N(t){A||(S.start.update(t),c.emit(z,t,S.start)),clearTimeout(A),S.main.update(t),c.emit(w,t,S.main),A=o.default?setTimeout(function(){D((0,e.default)(t))},s+l.EVENT_END_DELAY):setTimeout(D.bind(null,t),s+l.EVENT_END_DELAY)}return f[w]=(0,u.default)(y||r,n,N,p),x}}function T(e,t){return function(r,n,o,a){var l=o.context,d=o.target,s=d&&b(d),m=t+":0"+(s?":"+s:""),h=_(m,n,l);if(v.push(h),f[m])return h;var p=new i.default({mainType:t});return f[m]=(0,u.default)(d||e,t,function(e){p.update(e),c.emit(m,e,p)},a),h}}"undefined"!=typeof window&&(p=(m=(h=window).document||document).body);var q={scrollStart:y(h,"scroll","scrollStart"),scrollEnd:y(h,"scroll","scrollEnd"),scroll:y(h,"scroll","scroll"),resizeStart:y(h,"resize","resizeStart"),resizeEnd:y(h,"resize","resizeEnd"),resize:y(h,"resize","resize"),visibilitychange:T(m,"visibilitychange"),touchmoveStart:y(p,"touchmove","touchmoveStart"),touchmoveEnd:y(p,"touchmove","touchmoveEnd"),touchmove:y(p,"touchmove","touchmove"),touchstart:T(p,"touchstart"),touchend:T(p,"touchend")};exports.default=q; },{"lodash/clone":"h9Jz","lodash/throttle":"Xuid","lodash/noop":"OTfq","./AugmentedEvent":"JxQ3","./globalVars":"C7j0","./lib/leIE8":"XW7q","./lib/listen":"Nm7g","./lib/rAFThrottle":"A2MH","./constants":"GBg0"}],"eAbl":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("./globalVars")),l=a(require("./lib/leIE8")),n=a(require("./mainEventConnectors")),t=require("./constants");function a(e){return e&&e.__esModule?e:{default:e}}function o(a,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=r.useRAF||!1,f=parseInt(r.throttleRate,10),s=r.eventOptions;return isNaN(f)&&(f=t.DEFAULT_THROTTLE_RATE),u&&(f="raf"),l.default&&(f=0),e.default.enableScrollInfo=e.default.enableScrollInfo||r.enableScrollInfo||!1,e.default.enableResizeInfo=e.default.enableResizeInfo||r.enableResizeInfo||!1,e.default.enableTouchInfo=e.default.enableTouchInfo||r.enableTouchInfo||!1,n.default[a](f,o,r,s)}var r=o;exports.default=r; },{"./globalVars":"C7j0","./lib/leIE8":"XW7q","./mainEventConnectors":"T1Gt","./constants":"GBg0"}],"hKpk":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("./globalVars"));function r(e){return e&&e.__esModule?e:{default:e}}var t=e.default.removers;function u(e,r){for(var u=void 0,o=t.length-1;o>=0;o-=1)(u=t[o])._cb===r&&u._type.indexOf(e)>=0&&(u.unsubscribe(),t.splice(o,1))}var o=u;exports.default=o; },{"./globalVars":"C7j0"}],"AiDi":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unsubscribe=exports.subscribe=exports.listen=void 0;var e=t(require("./dist-es/lib/listen")),s=t(require("./dist-es/subscribe")),r=t(require("./dist-es/unsubscribe"));function t(e){return e&&e.__esModule?e:{default:e}}var u="undefined"!=typeof window;function i(){0}var n=u?e.default:i;exports.listen=n;var o=u?s.default:i;exports.subscribe=o;var b=u?r.default:i;exports.unsubscribe=b; },{"./dist-es/lib/listen":"Nm7g","./dist-es/subscribe":"eAbl","./dist-es/unsubscribe":"hKpk"}],"YYkR":[function(require,module,exports) { "use strict";function e(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"mjrD":[function(require,module,exports) { "use strict";function e(){return window.pageXOffset||0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"VG7M":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useScroll=s;var r=require("react"),t=require("subscribe-ui-event"),e=u(require("../utils/ScrollY")),n=u(require("../utils/ScrollX"));function u(r){return r&&r.__esModule?r:{default:r}}function o(r,t){return f(r)||c(r,t)||i(r,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(r,t){if(r){if("string"==typeof r)return a(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(r,t):void 0}}function a(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}function c(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=e){var n,u,o=[],l=!0,i=!1;try{for(e=e.call(r);!(l=(n=e.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(a){i=!0,u=a}finally{try{l||null==e.return||e.return()}finally{if(i)throw u}}return o}}function f(r){if(Array.isArray(r))return r}function s(){var u=o((0,r.useState)({top:(0,e.default)(),left:(0,n.default)()}),2),l=u[0],i=u[1];function a(r,t){i({top:t.scroll.top,left:t.scroll.left})}return(0,r.useEffect)(function(){var r=(0,t.subscribe)("scroll",a,{useRAF:!0,enableScrollInfo:!0});return function(){r&&r.unsubscribe()}},[]),l} },{"react":"SAdv","subscribe-ui-event":"AiDi","../utils/ScrollY":"YYkR","../utils/ScrollX":"mjrD"}],"dkJh":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-arrow-upward",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),e.default.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"TWED":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.GoTopButton=void 0;var t=o(require("react")),e=o(require("../icons/ArrowUpward"));function o(t){return t&&t.__esModule?t:{default:t}}var r=t.default.memo(function(o){return t.default.createElement("button",{className:"button square-icon bckg-gray-lightest with-border",onClick:function(){window&&window.scrollTo(0,0)},title:"Back to top","data-ga-action":"go-top-button","data-ga-label":"Go to top"},t.default.createElement(e.default,null))});exports.GoTopButton=r;var a=r;exports.default=a; },{"react":"SAdv","../icons/ArrowUpward":"dkJh"}],"jIt7":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.StickyBar=void 0;var e=i(require("react")),t=a(require("prop-types")),r=require("../../react-hooks/hook-scroll"),l=a(require("./PubChemLogoLink")),n=a(require("./GoTopButton")),o=a(require("../../utils-logging/GoogleAnalytics"));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(l,o,a):l[o]=e[o]}return l.default=e,r&&r.set(e,l),l}function c(e,t){return m(e)||p(e,t)||s(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,l=new Array(t);r<t;r++)l[r]=e[r];return l}function p(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var l,n,o=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(l=r.next()).done)&&(o.push(l.value),!t||o.length!==t);a=!0);}catch(i){u=!0,n=i}finally{try{a||null==r.return||r.return()}finally{if(u)throw n}}return o}}function m(e){if(Array.isArray(e))return e}var g=function(t){var a=t.topTrigger,u=t.title,i=t.menu,f=t.fullscreen,s=t.isEnabled,d=t.isCompact,p=t.triggerFunction,m=t.shouldRecalcTrigger,g=(0,r.useScroll)(),y=g.top,b=(g.left,c((0,e.useState)(!1),2)),v=b[0],h=b[1],w=c((0,e.useState)(a),2),x=w[0],E=w[1];return(0,e.useEffect)(function(){!v&&y>a&&(o.default.event({action:"scroll",label:"Scrolled a little bit"}),h(!0))},[y,a]),(0,e.useEffect)(function(){p&&E(p()||a)},[m]),s&&y>x?e.default.createElement("div",{className:"sticky-bar print-hidden fixed top-0 left-0 width-100 z-index-1000 bckg-white p-xsm-top p-xsm-bottom bottom-shadow"},e.default.createElement("div",{className:f?"p-md-left p-md-right":"main-width"},e.default.createElement("div",{className:"flex-container flex-nowrap align-vertical-center"},!f&&e.default.createElement("div",{className:"f-0875"},e.default.createElement(l.default,{showText:!d||!u,trackAction:"sticky-bar-link"})),e.default.createElement("div",{className:"flex-item full-width flex-grow-1 p-sm-left p-sm-right"},u||null),i||null,e.default.createElement("div",{className:"p-xsm-top p-xsm-bottom p-sm-left"},e.default.createElement(n.default,null))))):null};exports.StickyBar=g,g.propTypes={topTrigger:t.default.number,title:t.default.element,menu:t.default.element,fullscreen:t.default.bool,isEnabled:t.default.bool,isCompact:t.default.bool,shouldRecalcTrigger:t.default.bool,triggerFunction:t.default.func},g.defaultProps={topTrigger:400,fullscreen:!1,isEnabled:!0,isCompact:!1};var y=g;exports.default=y; },{"react":"SAdv","prop-types":"yu5W","../../react-hooks/hook-scroll":"VG7M","./PubChemLogoLink":"LKeO","./GoTopButton":"TWED","../../utils-logging/GoogleAnalytics":"z7bP"}],"DJgC":[function(require,module,exports) { "use strict";function r(){var r=!1;try{var i=window.navigator.userAgent,t=i.indexOf("MSIE ");if(t>0)r=parseInt(i.substring(t+5,i.indexOf(".",t)),10);else if(i.indexOf("Trident/")>0){var n=i.indexOf("rv:");r=parseInt(i.substring(n+3,i.indexOf(".",n)),10)}else{var e=i.indexOf("Edge/");r=e>0&&parseInt(i.substring(e+5,i.indexOf(".",e)),10)}}catch(a){}return r}function i(){var r=!1;try{r=!!window.navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i)}catch(i){}return r}function t(){var r=!1;try{r=!!window.navigator.platform.match(/(iPhone|iPod|iPad)/i)}catch(i){}return r}function n(){var r=!1;try{r=r=!!window.navigator.platform.match(/Android/i)}catch(i){}return r}function e(){var r=!1;try{r=!!window.navigator.platform.match(/^Win\d\d/i)}catch(i){}return r}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIE=r,exports.isMacLike=i,exports.isiOS=t,exports.isAndroid=n,exports.isWindows=e; },{}],"NMJE":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var e=t(require("../utils/PCFEStorage"));function t(e){return e&&e.__esModule?e:{default:e}}function o(t){var o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"compound,gene,taxonomy",a=1e3;try{var s=e.default.getItem("autocomplete_"+n+"_"+t,"sessionStorage");s&&(o=JSON.parse(s))&&o.timestamp&&(a=(Date.now()-o.timestamp)/36e5)}catch(u){}return o&&a<1?new Promise(function(e,t){e(o)}):fetch("/rest/autocomplete/"+n+"/"+t+("assay"===n?"?blobtype=Entrez":"")).then(function(e){if(e.status>=400)throw new Error("Bad response from server");return e.json()}).then(function(e){return r(t,e,n)}).catch(function(){throw new Error("Could not read results from autocomplete return...")})}function r(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compound,gene,taxonomy",n={query:t};n.timestamp=Date.now();try{n.dictionary_terms=o.dictionary_terms,e.default.setItem("autocomplete_"+r+"_"+t,JSON.stringify(n),"sessionStorage")}catch(a){console.log("could not process autocompleteall data"),console.log(a.message)}finally{return n}} },{"../utils/PCFEStorage":"mx2d","process":"FT5O"}],"BdRY":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=a(require("react")),e=a(require("prop-types")),r=require("../../../utils-logging/Log"),o=require("../../../utils/Font"),n=a(require("../../../data-fetchers/autocompleteall-fetch"));function a(t){return t&&t.__esModule?t:{default:t}}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function l(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),t}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=h();return function(){var r,o=m(t);if(e){var n=m(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return d(this,r)}}function d(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return y(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(e){c(s,t.default.Component);var a=p(s);function s(t){var e;return i(this,s),(e=a.call(this,t)).handleSelect=e.handleSelect.bind(y(e)),e.defaultParams={rBlob:null,isOpen:!1,hasError:!1,row:void 0,column:void 0},e.state=e.defaultParams,e}return l(s,[{key:"componentDidMount",value:function(){this.getData()}},{key:"componentDidCatch",value:function(t,e){this.setState({hasError:!0});var o="React Error Boundary in Autocomplete Component";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(t),(0,r.DEBUG_LOG)(e.componentStack),(0,r.DEBUG_LOG_END)(o)}},{key:"componentWillReceiveProps",value:function(t){if("none"!==t.keyDown)try{if(this.state.rBlob&&this.state.rBlob.dictionary_terms){var e=this.state.row,o=this.state.column||0,n=this.state.rBlob.dictionary_terms,a=Object.keys(this.state.rBlob.dictionary_terms);if("enter"===t.keyDown)void 0===e?this.setQuery(this.props.query):this.setQuery(n[a[o]][e],!0,a[o]);else{switch(t.keyDown){case"arrowDown":void 0===e?e=0:e++;break;case"arrowUp":e>0?e--:e=void 0;break;case"arrowLeft":void 0!==e&&(o=o?o-1:0);break;case"arrowRight":void 0!==e&&(o=o+1<a.length?o+1:o)}e=function(t,e){var r=n[a[e]].length;return t>r-1&&r>0?r-1:t}(e,o),this.setState({column:o,row:e})}}else"enter"===t.keyDown&&this.setQuery(this.props.query)}catch(i){var s="KeyDown error in Autocomplete Component";(0,r.DEBUG_LOG_START)(s),(0,r.DEBUG_LOG)(i.message),(0,r.DEBUG_LOG_END)(s)}}},{key:"componentDidUpdate",value:function(t,e){t.query!==this.props.query&&this.getData()}},{key:"handleSelect",value:function(t){var e=t.currentTarget.getAttribute("data-query"),r=t.currentTarget.getAttribute("data-collection");this.setQuery(e,!0,r)}},{key:"setQuery",value:function(t,e,r){!e||this.props.entrezSettings.on&&"BioAssays"===this.props.entrezSettings.option||!t.match(/\s/)?this.props.selectValue(t,"compound"!==r?r:null):this.props.selectValue('"'+t+'"',"compound"!==r?r:null),this.setState(this.defaultParams)}},{key:"getData",value:function(){var t=this;if(this.props.query.length>2&&this.props.isInputFocused){var e=this.props.entrezSettings.on,o=this.props.entrezSettings.option,a=void 0;e&&(a="BioAssays"===o?"assay":"compound"),this.setState({row:void 0,column:void 0,hasError:!1},function(){(0,n.default)(t.props.query,a).then(function(e){if(e)if(t.props.query===e.query)t.setState({rBlob:e,isOpen:!0});else try{t.state.rBlob.query.length<e.query.length&&e.query.match(t.props.query)&&t.setState({rBlob:e,isOpen:!0})}catch(r){}}).catch(function(t){var e="autocompleteall_fetch error in Autocomplete Component";(0,r.DEBUG_LOG_START)(e),(0,r.DEBUG_LOG)(t.message),(0,r.DEBUG_LOG_END)(e)})})}else this.setState(this.defaultParams)}},{key:"render",value:function(){var e=this;o.FONT_SIZE;return t.default.createElement(t.default.Fragment,null,!this.state.hasError&&this.state.isOpen&&this.props.isInputFocused&&this.state.rBlob&&this.state.rBlob.dictionary_terms?t.default.createElement("div",{className:"relative"},t.default.createElement("div",{className:"bckg-white f-gray box-shadow b-radius absolute left-0 top-0 z-index-100 align-left f-0875 width-100"},t.default.createElement("div",{className:"table-grid full-width fixed-layout align-top p-xsm"},Object.keys(this.state.rBlob.dictionary_terms).map(function(r){var o=Object.keys(e.state.rBlob.dictionary_terms)[e.state.column]===r;return t.default.createElement("div",{className:"p-xsm"},!e.props.entrezSettings.on&&t.default.createElement("h3",{className:"capitalized p-sm-rectangle b-bottom b-thick b-primary-alt-lightest"},r),t.default.createElement("ul",{className:"unstyled-list align-left"},e.state.rBlob.dictionary_terms[r].map(function(n,a){return t.default.createElement("li",{key:n,className:o&&e.state.row===a?"bckg-gray-lightest":""},t.default.createElement("button",{className:"button with-padding width-100 align-left ellipsis","data-query":n,"data-collection":r,"data-ga-action":"autosuggest-value-select","data-ga-label":"Autosuggest: "+n,onClick:e.handleSelect},n))})))})))):null)}}]),s}();exports.default=b,b.propTypes={selectValue:e.default.func.isRequired,query:e.default.string,isInputFocused:e.default.bool,keyDown:e.default.oneOf(["none","arrowDown","arrowUp","arrowLeft","arrowRight","enter"]),entrezSettings:e.default.object},b.defaultProps={query:"",isInputFocused:!1,keyDown:"none",entrezSettings:{}}; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils/Font":"i9OY","../../../data-fetchers/autocompleteall-fetch":"NMJE"}],"Vih5":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types")),n=require("../../../utils/Platform"),o=require("../../../utils/Font"),r=l(require("../../../react-shared-components/icons/Search")),a=l(require("../../../react-shared-components/icons/Clear")),s=l(require("./Autocomplete")),i=require("../../../ini/ini"),u=l(require("../../../utils-logging/GoogleAnalytics"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=S();return function(){var n,o=g(e);if(t){var r=g(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(t){f(c,e.default.Component);var l=m(c);function c(t){var o;return d(this,c),(o=l.call(this,t)).id="search_"+Date.now(),o.textInput=e.default.createRef(),o.handleChange=o.handleChange.bind(v(o)),o.handleReset=o.handleReset.bind(v(o)),o.handleSubmit=o.handleSubmit.bind(v(o)),o.handleFocus=o.handleFocus.bind(v(o)),o.handleKeyDown=o.handleKeyDown.bind(v(o)),o.handleAutocompleteSelect=o.handleAutocompleteSelect.bind(v(o)),o.state={query:t.query,keyDown:"none",isFocused:!t.query&&!(0,n.isiOS)()&&!(0,n.isAndroid)()},o}return p(c,[{key:"componentDidMount",value:function(){(0,n.isiOS)()||(0,n.isAndroid)()||this.doManualFocus()}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.doManualFocus(),this.props.query!==e.query&&this.setState({query:this.props.query,isFocused:!this.props.query},function(){n.doManualFocus()})}},{key:"handleChange",value:function(e){this.setState({query:e.target.value,keyDown:"none"})}},{key:"handleReset",value:function(e){var t=this;this.setState({query:"",keyDown:"none"},function(){t.props.setParams({query:""},!0)})}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.props.entrezSettings.on?this.redirectToEntrez(this.state.query):this.props.setParams({query:this.state.query},!0)}},{key:"handleFocus",value:function(e){this.setState({isFocused:!0})}},{key:"doManualFocus",value:function(){this.state.isFocused?this.props.inputHandle&&this.props.inputHandle.focus({preventScroll:!0}):this.props.inputHandle&&this.props.inputHandle.blur()}},{key:"handleKeyDown",value:function(e){if(this.props.autoComplete){var t="none";13===e.keyCode?(e.preventDefault(),t="enter"):40===e.keyCode?t="arrowDown":38===e.keyCode?t="arrowUp":37===e.keyCode?t="arrowLeft":39===e.keyCode&&(t="arrowRight"),this.setState({keyDown:t})}}},{key:"handleAutocompleteSelect",value:function(e,t){var n=this;this.setState({keyDown:"none",query:e,isFocused:!1},function(){if(n.props.entrezSettings.on)n.redirectToEntrez(e);else{var o={query:e};t&&(o.tab=t),n.props.setParams(o,!0)}})}},{key:"redirectToEntrez",value:function(e){if(this.props.entrezSettings.on){u.default.event({action:"search-entrez-"+this.props.entrezSettings.option.toLowerCase(),label:e});var t="?term="+e;switch(this.props.entrezSettings.option){case"Compounds":location=i.PCCOMPOUND_URL+t;break;case"Substances":location=i.PCSUBSTANCE_URL+t;break;case"BioAssays":location=i.PCASSAY_URL+t}}}},{key:"render",value:function(){var t=this.props.width,i=50*o.FONT_SIZE,u=30*o.FONT_SIZE,l=!(0,n.isIE)();return e.default.createElement(e.default.Fragment,null,e.default.createElement("form",{role:"search",onSubmit:this.handleSubmit,onReset:this.handleReset},e.default.createElement("label",{htmlFor:this.id,className:"block p-sm-bottom f-0875 align-left "+(this.props.showLabel?this.props.labelClassName:"sr-only")},"Search for"),e.default.createElement("div",{className:"bckg-white box-shadow with-transition b-radius flex-container width-100 flex-nowrap align-vertical-center "+(t>i?"f-175":t>u?"f-15":"f-125")},e.default.createElement("div",{className:"flex-grow-1 p-xsm-left p-xsm-top p-xsm-bottom b-right b-light"},e.default.createElement("input",{type:"text",id:this.id,ref:this.props.inputRef,value:this.state.query,placeholder:this.props.placeholder,onChange:this.handleChange,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown,autoComplete:"off",spellCheck:"false",onTouchEnd:this.props.onTouchEnd})),this.state.query&&(l||!this.state.isFocused)&&e.default.createElement("div",{className:"main-search-reset height-1point5em p-xsm-left p-xsm-right"},e.default.createElement("button",{tabIndex:-1,className:"button width-1point5em height-1point5em lh-1",type:"reset",onClick:this.handleReset,"data-ga-action":"search-reset-button","data-ga-label":"Search Reset Button"},e.default.createElement("span",{className:"sr-only"},"Clear"),e.default.createElement(a.default,{width:"1em",height:"1em"}))),e.default.createElement("div",{className:"main-search-submit"},e.default.createElement("button",{className:"button width-2em height-2em lh-1",type:"submit",onClick:this.handleSubmit,disabled:!this.state.query,"data-ga-action":"search-button","data-ga-label":"Search Button"},e.default.createElement("span",{className:"sr-only"},"Search"),e.default.createElement(r.default,{width:"1.75em",height:"1.75em"}))))),this.props.autoComplete?e.default.createElement("div",{className:"p-xsm-top"},e.default.createElement(s.default,{query:this.state.query,selectValue:this.handleAutocompleteSelect,isInputFocused:this.state.isFocused,keyDown:this.state.keyDown,entrezSettings:this.props.entrezSettings})):null)}}]),c}();exports.default=w,w.propTypes={hashObject:t.default.object,query:t.default.string,placeholder:t.default.string,width:t.default.number.isRequired,autoComplete:t.default.bool,setParams:t.default.func.isRequired,inputRef:t.default.node.isRequired,inputHandle:t.default.node.isRequired,onTouchEnd:t.default.func.isRequired,showLabel:t.default.bool,labelClassName:t.default.string,entrezSettings:t.default.object},w.defaultProps={hashObject:{},query:"",placeholder:"",autoComplete:!1,showLabel:!1,labelClassName:"",entrezSettings:{}}; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Platform":"DJgC","../../../utils/Font":"i9OY","../../../react-shared-components/icons/Search":"Bpeq","../../../react-shared-components/icons/Clear":"UpNA","./Autocomplete":"BdRY","../../../ini/ini":"wjNQ","../../../utils-logging/GoogleAnalytics":"z7bP"}],"vO10":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.EXAMPLES=void 0;var e={aspirin:{type:"text",cid:2244},EGFR:{type:"text"},C9H8O4:{type:"formulaquery"},"57-27-2":{type:"text",cid:5288826},"C1=CC=C(C=C1)C=O":{type:"smiles"},"InChI=1S/C3H6O/c1-3(2)4/h1-2H3":{type:"inchi"}};exports.EXAMPLES=e;var t=e;exports.default=t; },{}],"FDCD":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("react")),t=require("../helpers/query-examples");function a(e){return e&&e.__esModule?e:{default:e}}function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}var l=function(a){r(a);var l=Object.keys(t.EXAMPLES);return e.default.createElement("ul",{className:"unstyled-list flex-container space-between single-line f-0875"},e.default.createElement("li",{key:"label",className:"p-sm-rectangle"},"Try"),l.map(function(t){return e.default.createElement("li",{key:t,className:"p-sm-rectangle"},e.default.createElement("a",{href:"#query="+encodeURIComponent(t),className:"p-xsm","data-ga-action":"example-query-link","data-ga-label":"Example Query"},t))}))},n=l;exports.default=n; },{"react":"SAdv","../helpers/query-examples":"vO10"}],"eFhb":[function(require,module,exports) { "use strict";function e(){return exports.default=e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},e.apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"Bz3x":[function(require,module,exports) { "use strict";function e(e,t){if(null==e)return{};var r,n,u={},f=Object.keys(e);for(n=0;n<f.length;n++)r=f[n],t.indexOf(r)>=0||(u[r]=e[r]);return u}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"TUsb":[function(require,module,exports) { "use strict";function e(t,r){return exports.default=e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e(t,r)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"B7HP":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var e=t(require("./setPrototypeOf.js"));function t(e){return e&&e.__esModule?e:{default:e}}function o(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,(0,e.default)(t,o)} },{"./setPrototypeOf.js":"TUsb"}],"dzl1":[function(require,module,exports) { "use strict";function s(s,e){return s.classList?!!e&&s.classList.contains(e):-1!==(" "+(s.className.baseVal||s.className)+" ").indexOf(" "+e+" ")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s; },{}],"hukk":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var s=e(require("./hasClass"));function e(s){return s&&s.__esModule?s:{default:s}}function a(e,a){e.classList?e.classList.add(a):(0,s.default)(e,a)||("string"==typeof e.className?e.className=e.className+" "+a:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+a))} },{"./hasClass":"dzl1"}],"yOLY":[function(require,module,exports) { "use strict";function e(e,s){return e.replace(new RegExp("(^|\\s)"+s+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function s(s,a){s.classList?s.classList.remove(a):"string"==typeof s.className?s.className=e(s.className,a):s.setAttribute("class",e(s.className&&s.className.baseVal||"",a))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s; },{}],"Eg9c":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={disabled:!1};exports.default=e; },{}],"rssn":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classNamesShape=exports.timeoutsShape=void 0;var e=s(require("prop-types"));function s(e){return e&&e.__esModule?e:{default:e}}var t=null;exports.timeoutsShape=t;var r=null;exports.classNamesShape=r; },{"prop-types":"yu5W"}],"FjYa":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("react"));function t(e){return e&&e.__esModule?e:{default:e}}var r=e.default.createContext(null);exports.default=r; },{"react":"SAdv"}],"G1jo":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.EXITING=exports.ENTERED=exports.ENTERING=exports.EXITED=exports.UNMOUNTED=void 0;var t=u(require("@babel/runtime/helpers/esm/objectWithoutPropertiesLoose")),e=u(require("@babel/runtime/helpers/esm/inheritsLoose")),n=u(require("prop-types")),i=u(require("react")),r=u(require("react-dom")),s=u(require("./config")),o=require("./utils/PropTypes"),a=u(require("./TransitionGroupContext"));function u(t){return t&&t.__esModule?t:{default:t}}var p="unmounted";exports.UNMOUNTED=p;var l="exited";exports.EXITED=l;var d="entering";exports.ENTERING=d;var E="entered";exports.ENTERED=E;var c="exiting";exports.EXITING=c;var f=function(n){function o(t,e){var i;i=n.call(this,t,e)||this;var r,s=e&&!e.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?s?(r=l,i.appearStatus=d):r=E:r=t.unmountOnExit||t.mountOnEnter?p:l,i.state={status:r},i.nextCallback=null,i}(0,e.default)(o,n),o.getDerivedStateFromProps=function(t,e){return t.in&&e.status===p?{status:l}:null};var u=o.prototype;return u.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},u.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==E&&(e=d):n!==d&&n!==E||(e=c)}this.updateStatus(!1,e)},u.componentWillUnmount=function(){this.cancelNextCallback()},u.getTimeouts=function(){var t,e,n,i=this.props.timeout;return t=e=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,e=i.enter,n=void 0!==i.appear?i.appear:e),{exit:t,enter:e,appear:n}},u.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===d?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:p})},u.performEnter=function(t){var e=this,n=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[r.default.findDOMNode(this),i],a=o[0],u=o[1],p=this.getTimeouts(),l=i?p.appear:p.enter;!t&&!n||s.default.disabled?this.safeSetState({status:E},function(){e.props.onEntered(a)}):(this.props.onEnter(a,u),this.safeSetState({status:d},function(){e.props.onEntering(a,u),e.onTransitionEnd(l,function(){e.safeSetState({status:E},function(){e.props.onEntered(a,u)})})}))},u.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:r.default.findDOMNode(this);e&&!s.default.disabled?(this.props.onExit(i),this.safeSetState({status:c},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(i)})})})):this.safeSetState({status:l},function(){t.props.onExited(i)})},u.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},u.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},u.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,e.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},u.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:r.default.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=s[0],a=s[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},u.render=function(){var e=this.state.status;if(e===p)return null;var n=this.props,r=n.children,s=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,t.default)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.default.createElement(a.default.Provider,{value:null},"function"==typeof r?r(e,s):i.default.cloneElement(i.default.Children.only(r),s))},o}(i.default.Component);function h(){}f.contextType=a.default,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED=p,f.EXITED=l,f.ENTERING=d,f.ENTERED=E,f.EXITING=c;var x=f;exports.default=x; },{"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose":"Bz3x","@babel/runtime/helpers/esm/inheritsLoose":"B7HP","prop-types":"yu5W","react":"SAdv","react-dom":"CSY6","./config":"Eg9c","./utils/PropTypes":"rssn","./TransitionGroupContext":"FjYa"}],"uK1m":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("@babel/runtime/helpers/esm/extends")),s=l(require("@babel/runtime/helpers/esm/objectWithoutPropertiesLoose")),r=l(require("@babel/runtime/helpers/esm/inheritsLoose")),t=l(require("prop-types")),n=l(require("dom-helpers/addClass")),o=l(require("dom-helpers/removeClass")),a=l(require("react")),i=l(require("./Transition")),p=require("./utils/PropTypes");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return(0,n.default)(e,s)})},d=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return(0,o.default)(e,s)})},c=function(t){function n(){for(var e,s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];return(e=t.call.apply(t,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(s,r){var t=e.resolveArguments(s,r),n=t[0],o=t[1];e.removeClasses(n,"exit"),e.addClass(n,o?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(s,r)},e.onEntering=function(s,r){var t=e.resolveArguments(s,r),n=t[0],o=t[1]?"appear":"enter";e.addClass(n,o,"active"),e.props.onEntering&&e.props.onEntering(s,r)},e.onEntered=function(s,r){var t=e.resolveArguments(s,r),n=t[0],o=t[1]?"appear":"enter";e.removeClasses(n,o),e.addClass(n,o,"done"),e.props.onEntered&&e.props.onEntered(s,r)},e.onExit=function(s){var r=e.resolveArguments(s)[0];e.removeClasses(r,"appear"),e.removeClasses(r,"enter"),e.addClass(r,"exit","base"),e.props.onExit&&e.props.onExit(s)},e.onExiting=function(s){var r=e.resolveArguments(s)[0];e.addClass(r,"exit","active"),e.props.onExiting&&e.props.onExiting(s)},e.onExited=function(s){var r=e.resolveArguments(s)[0];e.removeClasses(r,"exit"),e.addClass(r,"exit","done"),e.props.onExited&&e.props.onExited(s)},e.resolveArguments=function(s,r){return e.props.nodeRef?[e.props.nodeRef.current,s]:[s,r]},e.getClassNames=function(s){var r=e.props.classNames,t="string"==typeof r,n=t?""+(t&&r?r+"-":"")+s:r[s];return{baseClassName:n,activeClassName:t?n+"-active":r[s+"Active"],doneClassName:t?n+"-done":r[s+"Done"]}},e}(0,r.default)(n,t);var o=n.prototype;return o.addClass=function(e,s,r){var t=this.getClassNames(s)[r+"ClassName"],n=this.getClassNames("enter").doneClassName;"appear"===s&&"done"===r&&n&&(t+=" "+n),"active"===r&&e&&e.scrollTop,t&&(this.appliedClasses[s][r]=t,u(e,t))},o.removeClasses=function(e,s){var r=this.appliedClasses[s],t=r.base,n=r.active,o=r.done;this.appliedClasses[s]={},t&&d(e,t),n&&d(e,n),o&&d(e,o)},o.render=function(){var r=this.props,t=(r.classNames,(0,s.default)(r,["classNames"]));return a.default.createElement(i.default,(0,e.default)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(a.default.Component);c.defaultProps={classNames:""},c.propTypes={};var v=c;exports.default=v; },{"@babel/runtime/helpers/esm/extends":"eFhb","@babel/runtime/helpers/esm/objectWithoutPropertiesLoose":"Bz3x","@babel/runtime/helpers/esm/inheritsLoose":"B7HP","prop-types":"yu5W","dom-helpers/addClass":"hukk","dom-helpers/removeClass":"yOLY","react":"SAdv","./Transition":"G1jo","./utils/PropTypes":"rssn"}],"sqyR":[function(require,module,exports) { "use strict";function e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"R4HM":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getChildMapping=n,exports.mergeChildMappings=t,exports.getInitialChildMapping=i,exports.getNextChildMapping=l;var e=require("react");function n(n,t){var r=Object.create(null);return n&&e.Children.map(n,function(e){return e}).forEach(function(n){r[n.key]=function(n){return t&&(0,e.isValidElement)(n)?t(n):n}(n)}),r}function t(e,n){function t(t){return t in n?n[t]:e[t]}e=e||{},n=n||{};var r,i=Object.create(null),l=[];for(var o in e)o in n?l.length&&(i[o]=l,l=[]):l.push(o);var u={};for(var a in n){if(i[a])for(r=0;r<i[a].length;r++){var c=i[a][r];u[i[a][r]]=t(c)}u[a]=t(a)}for(r=0;r<l.length;r++)u[l[r]]=t(l[r]);return u}function r(e,n,t){return null!=t[n]?t[n]:e.props[n]}function i(t,i){return n(t.children,function(n){return(0,e.cloneElement)(n,{onExited:i.bind(null,n),in:!0,appear:r(n,"appear",t),enter:r(n,"enter",t),exit:r(n,"exit",t)})})}function l(i,l,o){var u=n(i.children),a=t(l,u);return Object.keys(a).forEach(function(n){var t=a[n];if((0,e.isValidElement)(t)){var c=n in l,p=n in u,f=l[n],d=(0,e.isValidElement)(f)&&!f.props.in;!p||c&&!d?p||!c||d?p&&c&&(0,e.isValidElement)(f)&&(a[n]=(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:f.props.in,exit:r(t,"exit",i),enter:r(t,"enter",i)})):a[n]=(0,e.cloneElement)(t,{in:!1}):a[n]=(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,exit:r(t,"exit",i),enter:r(t,"enter",i)})}}),a} },{"react":"SAdv"}],"y7cJ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("@babel/runtime/helpers/esm/objectWithoutPropertiesLoose")),t=l(require("@babel/runtime/helpers/esm/extends")),r=l(require("@babel/runtime/helpers/esm/assertThisInitialized")),n=l(require("@babel/runtime/helpers/esm/inheritsLoose")),i=l(require("prop-types")),o=l(require("react")),u=l(require("./TransitionGroupContext")),a=require("./utils/ChildMapping");function l(e){return e&&e.__esModule?e:{default:e}}var d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},s={component:"div",childFactory:function(e){return e}},p=function(i){function l(e,t){var n,o=(n=i.call(this,e,t)||this).handleExited.bind((0,r.default)(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}(0,n.default)(l,i);var s=l.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},l.getDerivedStateFromProps=function(e,t){var r=t.children,n=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,n):(0,a.getNextChildMapping)(e,r,n),firstRender:!1}},s.handleExited=function(e,r){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(r),this.mounted&&this.setState(function(r){var n=(0,t.default)({},r.children);return delete n[e.key],{children:n}}))},s.render=function(){var t=this.props,r=t.component,n=t.childFactory,i=(0,e.default)(t,["component","childFactory"]),a=this.state.contextValue,l=d(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===r?o.default.createElement(u.default.Provider,{value:a},l):o.default.createElement(u.default.Provider,{value:a},o.default.createElement(r,i,l))},l}(o.default.Component);p.propTypes={},p.defaultProps=s;var c=p;exports.default=c; },{"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose":"Bz3x","@babel/runtime/helpers/esm/extends":"eFhb","@babel/runtime/helpers/esm/assertThisInitialized":"sqyR","@babel/runtime/helpers/esm/inheritsLoose":"B7HP","prop-types":"yu5W","react":"SAdv","./TransitionGroupContext":"FjYa","./utils/ChildMapping":"R4HM"}],"c41x":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("@babel/runtime/helpers/esm/objectWithoutPropertiesLoose")),n=l(require("@babel/runtime/helpers/esm/inheritsLoose")),r=l(require("prop-types")),t=l(require("react")),i=l(require("react-dom")),o=l(require("./TransitionGroup"));function l(e){return e&&e.__esModule?e:{default:e}}var a=function(r){function l(){for(var e,n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return(e=r.call.apply(r,[this].concat(t))||this).handleEnter=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExited",1,r)},e}(0,n.default)(l,r);var a=l.prototype;return a.handleLifecycle=function(e,n,r){var o,l=this.props.children,a=t.default.Children.toArray(l)[n];if(a.props[e]&&(o=a.props)[e].apply(o,r),this.props[e]){var d=a.props.nodeRef?void 0:i.default.findDOMNode(this);this.props[e](d)}},a.render=function(){var n=this.props,r=n.children,i=n.in,l=(0,e.default)(n,["children","in"]),a=t.default.Children.toArray(r),d=a[0],h=a[1];return delete l.onEnter,delete l.onEntering,delete l.onEntered,delete l.onExit,delete l.onExiting,delete l.onExited,t.default.createElement(o.default,l,i?t.default.cloneElement(d,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):t.default.cloneElement(h,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},l}(t.default.Component);a.propTypes={};var d=a;exports.default=d; },{"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose":"Bz3x","@babel/runtime/helpers/esm/inheritsLoose":"B7HP","prop-types":"yu5W","react":"SAdv","react-dom":"CSY6","./TransitionGroup":"y7cJ"}],"ApWa":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.modes=void 0;var e,t,n=i(require("@babel/runtime/helpers/esm/inheritsLoose")),r=i(require("react")),u=i(require("prop-types")),a=require("./Transition"),o=i(require("./TransitionGroupContext"));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return e!==t&&(!r.default.isValidElement(e)||!r.default.isValidElement(t)||null==e.key||e.key!==t.key)}var c={out:"out-in",in:"in-out"};exports.modes=c;var s=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},d=((e={})[c.out]=function(e){var t=e.current,n=e.changeState;return r.default.cloneElement(t,{in:!1,onExited:s(t,"onExited",function(){n(a.ENTERING,null)})})},e[c.in]=function(e){var t=e.current,n=e.changeState,u=e.children;return[t,r.default.cloneElement(u,{in:!0,onEntered:s(u,"onEntered",function(){n(a.ENTERING)})})]},e),E=((t={})[c.out]=function(e){var t=e.children,n=e.changeState;return r.default.cloneElement(t,{in:!0,onEntered:s(t,"onEntered",function(){n(a.ENTERED,r.default.cloneElement(t,{in:!0}))})})},t[c.in]=function(e){var t=e.current,n=e.children,u=e.changeState;return[r.default.cloneElement(t,{in:!1,onExited:s(t,"onExited",function(){u(a.ENTERED,r.default.cloneElement(n,{in:!0}))})}),r.default.cloneElement(n,{in:!0})]},t),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];return(t=e.call.apply(e,[this].concat(r))||this).state={status:a.ENTERED,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,n.default)(t,e);var u=t.prototype;return u.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===a.ENTERING&&e.mode===c.in?{status:a.ENTERING}:t.current&&l(t.current,e.children)?{status:a.EXITING}:{current:r.default.cloneElement(e.children,{in:!0})}},u.render=function(){var e,t=this.props,n=t.children,u=t.mode,i=this.state,l=i.status,c=i.current,s={children:n,current:c,changeState:this.changeState,status:l};switch(l){case a.ENTERING:e=E[u](s);break;case a.EXITING:e=d[u](s);break;case a.ENTERED:e=c}return r.default.createElement(o.default.Provider,{value:{isMounting:!this.appeared}},e)},t}(r.default.Component);f.propTypes={},f.defaultProps={mode:c.out};var p=f;exports.default=p; },{"@babel/runtime/helpers/esm/inheritsLoose":"B7HP","react":"SAdv","prop-types":"yu5W","./Transition":"G1jo","./TransitionGroupContext":"FjYa"}],"tAZs":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CSSTransition",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"ReplaceTransition",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"SwitchTransition",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"TransitionGroup",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"Transition",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"config",{enumerable:!0,get:function(){return u.default}});var e=o(require("./CSSTransition")),r=o(require("./ReplaceTransition")),t=o(require("./SwitchTransition")),n=o(require("./TransitionGroup")),i=o(require("./Transition")),u=o(require("./config"));function o(e){return e&&e.__esModule?e:{default:e}} },{"./CSSTransition":"uK1m","./ReplaceTransition":"c41x","./SwitchTransition":"ApWa","./TransitionGroup":"y7cJ","./Transition":"G1jo","./config":"Eg9c"}],"zc3M":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.enableScroll=exports.disableScroll=void 0;var o=require("./Platform"),e=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.IS_WIDGET||(document.body.classList.add("has-modal"),(0,o.isWindows)()&&document.body.classList.add("has-scroll-width"))};exports.disableScroll=e;var s=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.IS_WIDGET||document.body.classList.remove("has-modal","has-scroll-width")};exports.enableScroll=s; },{"./Platform":"DJgC"}],"YUkR":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Modal=void 0;var e=s(require("react")),t=i(require("prop-types")),r=require("react-dom"),a=require("react-transition-group"),l=i(require("./icons/Clear")),n=require("../react-hooks/hook-click-outside"),o=require("../utils/Scrollbar"),u=require("../utils/Platform");function i(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=l?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(a,n,o):a[n]=e[n]}return a.default=e,r&&r.set(e,a),a}function f(e,t){return y(e)||b(e,t)||m(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function b(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,l,n=[],o=!0,u=!1;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(i){u=!0,l=i}finally{try{o||null==r.return||r.return()}finally{if(u)throw l}}return n}}function y(e){if(Array.isArray(e))return e}var v=e.default.memo(function(t){var i=t.startOpen,c=t.onClose,s=t.className,d=t.title,m=t.children,p=t.trigger,b=t.isCompact,y=t.trackAction,v=t.trackLabel,g=(0,e.useRef)(),E=f((0,e.useState)(i),2),O=E[0],h=E[1];return(0,e.useEffect)(function(){h(i)},[i]),(0,n.useOnClickOutside)(g,function(){h(!1),c&&c()}),(0,e.useEffect)(function(){return O&&(0,o.disableScroll)(),function(){(0,o.enableScroll)()}},[]),e.default.createElement(e.default.Fragment,null,p&&p({setIsOpen:h}),(0,r.createPortal)(e.default.createElement(a.CSSTransition,{in:O,timeout:120,classNames:"modal-transition",unmountOnExit:function(){(0,o.enableScroll)()},onEnter:function(){(0,o.disableScroll)()},onExited:function(){(0,o.enableScroll)()}},function(){return e.default.createElement("div",null,e.default.createElement("div",{className:"scrollbar-placeholder"}),e.default.createElement("div",{className:"overlay"+((0,u.isiOS)()||(0,u.isAndroid)()?" align-top":"")},e.default.createElement("div",{ref:g,className:"modal "+s,role:"dialog","aria-labelledby":y+"-title"},e.default.createElement("div",{className:"modal-scrollable"},e.default.createElement("div",{className:"modal-title f-base f-1rem uppercase flex-container flex-nowrap align-vertical-center"},e.default.createElement("div",{id:y+"-title",className:"flex-grow-1 "+(b?"p-md-left":"p-l-left")},d),e.default.createElement("div",{className:"p-xsm"},e.default.createElement("button",{className:"modal-close button square-icon",onClick:function(){h(!1),c&&c()},"data-ga-action":y+"-close","data-ga-label":v+" Close",autoFocus:!0},e.default.createElement(l.default,null),e.default.createElement("span",{className:"btn-text sr-only"},"Close")))),e.default.createElement("div",{className:"modal-body "+(b?"p-md-left p-md-right":"p-l-left p-l-right")},m)))))}),document.getElementById("root-modal")))});exports.Modal=v,v.propTypes={startOpen:t.default.bool,onClose:t.default.func,className:t.default.string,isCompact:t.default.bool,title:t.default.oneOfType([t.default.string,t.default.node]),trackAction:t.default.string.isRequired,trackLabel:t.default.string},v.defaultProps={startOpen:!1,className:"",isCompact:!0};var g=v;exports.default=g; },{"react":"SAdv","prop-types":"yu5W","react-dom":"CSY6","react-transition-group":"tAZs","./icons/Clear":"UpNA","../react-hooks/hook-click-outside":"ILbe","../utils/Scrollbar":"zc3M","../utils/Platform":"DJgC"}],"SQqz":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types"));function l(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var l=t.width,r=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-edit",fill:a||"",viewBox:"0 0 24 24",width:l||"24",height:r||"24",style:i},e.default.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=r;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"sdAv":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react"));function l(e){return e&&e.__esModule?e:{default:e}}var t=function(l){var t=l.width,r=l.height,a=l.color,u=l.style;return e.default.createElement("svg",{className:"icon icon-molecule",fill:a||"",viewBox:"0 0 512 512",width:t||"24",height:r||"24",style:u},e.default.createElement("g",null,e.default.createElement("path",{d:"M455.281,404.894v-73.787l30.053-29.803l-10.481-10.606l-28.365,28.178l-55.207-27.509v-80l-71.25-35.75l-63.875,32\r l-63.938-32l-64.219,32l-56.718-28.25v-70.729l56.5-28.25l56.5,28.25V152h15V99.365l-64-32V0h-15v67.365l-54.769,27.51\r L21.459,50.697L10.666,61.303l45.616,45.803v73.787l-29.553,29.803l10.731,10.606l27.99-28.178l54.832,27.509v80l71.75,35.75\r l64.125-32l64.063,32l63.781-32l56.281,28.25v70.729l-56.5,28.25l-56.5-28.25V360h-15v52.635l64,32V512h15v-67.365l55.269-27.51\r l44.427,44.178l10.356-10.606L455.281,404.894z M248.281,291.365l-56.5,28.25l-56.5-28.25v-70.729l56.5-28.25l56.5,28.25V291.365z\r M376.281,291.365l-56.5,28.25l-56.5-28.25v-70.729l56.5-28.25l56.5,28.25V291.365z"})),e.default.createElement("g",null,e.default.createElement("rect",{x:"96.28",y:"161",width:"16",height:"15"})),e.default.createElement("g",null,e.default.createElement("rect",{x:"352.28",y:"385",width:"16",height:"15"})),e.default.createElement("g",null,e.default.createElement("rect",{x:"408.28",y:"336",width:"15",height:"64"})),e.default.createElement("g",null,e.default.createElement("rect",{x:"152.28",y:"224",width:"15",height:"64"})))},r=t;exports.default=r; },{"react":"SAdv"}],"xuol":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SketcherOpener=void 0;var e=c(require("react")),t=i(require("prop-types")),r=require("../../../ini/ini"),a=i(require("../../../react-shared-components/Modal")),n=i(require("../../../react-shared-components/icons/Edit")),o=i(require("../../../react-shared-components/icons/Molecule")),l=require("../../../utils/Scrollbar");function i(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=n?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(a,o,l):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}function s(e,t){return h(e)||p(e,t)||f(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function p(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(a=r.next()).done)&&(o.push(a.value),!t||o.length!==t);l=!0);}catch(u){i=!0,n=u}finally{try{l||null==r.return||r.return()}finally{if(i)throw n}}return o}}function h(e){if(Array.isArray(e))return e}var b=function(t){var l=t.isCompact,i=t.seedSmiles,u=t.showEditText,c=t.entrezOn,d=t.trackAction,f=t.setParams,m=s((0,e.useState)(i),2),p=m[0],h=m[1];(0,e.useEffect)(function(){window.transferSmiles=function(e){h(e)}},[]);var b={iframe:{border:0,width:"905px",height:"450px"},molIcon:{transform:"rotateZ(-25deg) translateX(-0.2em) translateY(0.2em)"},container:{width:"905px"},structureIcon:{width:"4em",height:"4em",background:'url("https://pubchem.ncbi.nlm.nih.gov/image/id2img.cgi?w=150&h=150&id='+encodeURIComponent(i)+'") center center / 6em 6em, white',borderRadius:"50%"}};return e.default.createElement(a.default,{className:"sketcher-container",startOpen:t.isOpen,isCompact:l,onClose:function(){f({draw:""})},trigger:function(t){t.setIsOpen;return e.default.createElement("button",{className:"button "+(i?u?"has-icon-left lh-1 with-border":"":"has-icon-top "+(l?"":"width-100 with-padding")),onClick:function(){return f({draw:!0})},"data-ga-action":d,"data-ga-label":i?"Edit Structure Modal Open":"Draw Structure Modal Open",disabled:c&&!i,"aria-disabled":c&&!i},i?e.default.createElement(e.Fragment,null,u&&e.default.createElement(n.default,null),e.default.createElement("span",{className:"btn-text f-base "+(u?"p-sm-right":"sr-only")},"Edit Structure")):e.default.createElement(e.Fragment,null,e.default.createElement("span",{className:"relative"},e.default.createElement("span",{className:"absolute right-0 top-0",style:b.molIcon},e.default.createElement(o.default,{width:"4em",height:"4em"})),e.default.createElement(n.default,{width:"3em",height:"3em"})),e.default.createElement("span",{className:"btn-text p-sm-top "+(l?"f-075":"f-1")},"Draw Structure")))},title:i?"Edit Structure":"Draw Structure",trackAction:d,trackLabel:i?"Edit Structure Modal":"Draw Structure Modal"},e.default.createElement("div",{className:"block-centered",style:b.container},e.default.createElement("iframe",{src:r.SKETCHER_URL+(i?"?smiles="+encodeURIComponent(i):""),seamless:"seamless",style:b.iframe},e.default.createElement("div",{className:"p-l f-secondary f-bold"},"Your browser does not seem to support interactive structure editing capability. Please try another browser...")),e.default.createElement("div",{className:"align-left f-white p-sm-top"},e.default.createElement("button",{className:"button with-padding bckg-primary",onClick:function(e){f({query:p,draw:""})},"data-ga-action":"sketcher-search-button","data-ga-label":"Sketcher Search Button"},e.default.createElement("span",{className:"btn-text"},"Search for This Structure")))))};exports.SketcherOpener=b,b.propTypes={isCompact:t.default.bool,setParams:t.default.func.isRequired,seedSmiles:t.default.string,showEditText:t.default.bool,trackAction:t.default.string},b.defaultProps={isCompact:!0,showEditText:!1,trackAction:"sketcher-button"};var y=b;exports.default=y; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../react-shared-components/Modal":"YUkR","../../../react-shared-components/icons/Edit":"SQqz","../../../react-shared-components/icons/Molecule":"sdAv","../../../utils/Scrollbar":"zc3M"}],"M0vG":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setUrlParams=o,exports.default=void 0;var e=a(require("./Url")),t=require("../utils-logging/Log");function a(e){return e&&e.__esModule?e:{default:e}}function o(a,o){var r=o?e.default.constructHash(a):e.default.replaceHashVariable(a);if((0,t.DEBUG_LOG_START)("setParams"),(0,t.DEBUG_LOG)("URL="+r),(0,t.DEBUG_LOG_END)("setParams"),r)window.location=r;else try{window.history.pushState("",document.title,window.location.pathname+window.location.search),window.dispatchEvent(new HashChangeEvent("hashchange"))}catch(n){window.location="#"}}var r=o;exports.default=r; },{"./Url":"qcwJ","../utils-logging/Log":"LH3n"}],"VZpp":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,u=t.style;return e.default.createElement("svg",{className:"icon list-upload",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:u},e.default.createElement("path",{d:"M9,14V8H5L12,1L19,8H15V14H9M5,18V16H19V18H5M19,20H5V22H19V20Z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"mC8c":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SearchBoxForm=void 0;var e=c(require("react")),t=o(require("prop-types")),a=require("../utils/Platform"),l=o(require("./icons/Clear")),r=o(require("./icons/Search")),n=o(require("../react-hooks/hook-click-outside"));function o(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(u=function(e){return e?a:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=u(t);if(a&&a.has(e))return a.get(e);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(l,n,o):l[n]=e[n]}return l.default=e,a&&a.set(e,l),l}function s(e,t){return p(e)||m(e,t)||f(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function m(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,r,n=[],o=!0,u=!1;try{for(a=a.call(e);!(o=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(c){u=!0,r=c}finally{try{o||null==a.return||a.return()}finally{if(u)throw r}}return n}}function p(e){if(Array.isArray(e))return e}var h=function(t){var o=t.id,u=t.autoFocus,c=t.autoCompleteFetch,i=t.autoCompleteFetchParams,f=t.setAutoCompleteSearch,d=t.setSearch,m=t.containerClassName,p=t.labelClassName,h=t.showLabel,b=t.labelValue,v=t.placeholder,y=(0,e.useRef)(),g=s((0,e.useState)(t.value),2),w=g[0],x=g[1],C=s((0,e.useState)(u),2),E=C[0],S=C[1],N=s((0,e.useState)(null),2),k=N[0],F=N[1],O=s((0,e.useState)(-1),2),j=O[0],P=O[1];(0,n.default)(y,function(){return S(!1)});var M=function(e){e.preventDefault(),j<0?d(w):f?f(k[j]):d(k[j]);var t=document.querySelector(":focus");t&&t.blur(),S(!1)},A=function(e){e.preventDefault(),x(""),d(""),S(!1)},q=(0,e.useMemo)(function(){return!(0,a.isIE)()},[]);return(0,e.useEffect)(function(){x(t.value)},[t.value]),(0,e.useEffect)(function(){P(-1),w||F(null),w&&w.length>1&&c&&c(w,i).then(function(e){F(e.dictionaryTermsArr)}).catch(function(e){})},[w]),e.default.createElement("div",{ref:y},e.default.createElement("form",{role:"search",onSubmit:M,onReset:A},e.default.createElement("label",{htmlFor:o,className:"block p-sm-bottom f-0875 align-left "+(h?p:"sr-only")},b),e.default.createElement("div",{className:"flex-container width-100 align-vertical-center flex-nowrap "+m},e.default.createElement("div",{className:"flex-grow-1 p-xsm"},e.default.createElement("input",{type:"text",className:"seamless-box",id:o,value:w,placeholder:v,onFocus:function(){S(!0)},onChange:function(e){x(e.target.value),e.target.value||A(e)},onKeyDown:function(e){13===e.keyCode?M(e):40===e.keyCode?P(Math.min(j+1,9)):38===e.keyCode&&P(Math.max(j-1,-1))},autoComplete:"off",spellCheck:"false"})),w&&q&&e.default.createElement("div",{className:"height-1point5em p-xsm-left p-xsm-right"},e.default.createElement("button",{tabIndex:-1,className:"button width-1point5em height-1point5em lh-1",type:"reset",value:"Reset","data-ga-action":"search-reset-button","data-ga-label":"Search Reset Button"},e.default.createElement("span",{className:"sr-only"},"Clear"),e.default.createElement(l.default,{width:"1em",height:"1em"}))),e.default.createElement("div",{className:w?"bckg-active-strongest f-white":""},e.default.createElement("button",{className:"button width-2em height-2em lh-1",type:"submit",value:"Submit",disabled:!w,"data-ga-action":"search-button","data-ga-label":"Search Button"},e.default.createElement("span",{className:"sr-only"},"Search"),e.default.createElement(r.default,{width:"1.75em",height:"1.75em"}))))),E&&k&&k.length>0&&e.default.createElement("div",{className:"relative"},e.default.createElement("div",{className:"absolute left-0 top-0 z-index-100 width-100 p-1px p-xsm-top"},e.default.createElement("div",{className:"bckg-white box-shadow b-radius"},e.default.createElement("ul",{className:"unstyled-list rowed"},k.map(function(t,a){return e.default.createElement("li",{className:"p-1px"+(a===j?" bckg-gray-lightest":"")},e.default.createElement("button",{className:"button autocomplete-choice width-100 with-padding-small align-left wrap-normal",onClick:function(e){S(!1),f?f(t):d(t)}},e.default.createElement("span",{className:"btn-text"},t)))}))))))};exports.SearchBoxForm=h,h.propTypes={id:t.default.string,value:t.default.string,autoFocus:t.default.bool,setSearch:t.default.func.isRequired,autoCompleteFetch:t.default.function,autoCompleteFetchParams:t.default.object,autoCompleteSetSearch:t.default.function,containerClassName:t.default.string,showLabel:t.default.bool,labelClassName:t.default.string,labelValue:t.default.string},h.defaultProps={id:"search-box-"+Date.now(),value:"",autoFocus:!1,autoCompleteFetch:void 0,autoCompleteFetchParams:{},autoCompleteSetSearch:void 0,containerClassName:"bckg-white box-shadow with-transition b-radius",labelClassName:"",showLabel:!0,labelValue:"SEARCH FOR"};var b=h;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../utils/Platform":"DJgC","./icons/Clear":"UpNA","./icons/Search":"Bpeq","../react-hooks/hook-click-outside":"ILbe"}],"TfdN":[function(require,module,exports) { var define; var e;!function(t,i){"function"==typeof e&&e.amd?e([],i):"object"==typeof module&&"undefined"!=typeof exports?module.exports=i():t.Papa=i()}(this,function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},i=!t.document&&!!t.postMessage,r=i&&/blob:/i.test((t.location||{}).protocol),n={},s=0,a={parse:function(i,r){var o=(r=r||{}).dynamicTyping||!1;if(b(o)&&(r.dynamicTypingFunction=o,o={}),r.dynamicTyping=o,r.transform=!!b(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var h=function(){if(!a.WORKERS_SUPPORTED)return!1;var i,r,o=(i=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),h=new t.Worker(o);return h.onmessage=_,h.id=s++,n[h.id]=h}();return h.userStep=r.step,h.userChunk=r.chunk,h.userComplete=r.complete,h.userError=r.error,r.step=b(r.step),r.chunk=b(r.chunk),r.complete=b(r.complete),r.error=b(r.error),delete r.worker,void h.postMessage({input:i,config:r,workerId:h.id})}var c=null;return a.NODE_STREAM_INPUT,"string"==typeof i?c=r.download?new u(r):new d(r):!0===i.readable&&b(i.read)&&b(i.on)?c=new l(r):(t.File&&i instanceof File||i instanceof Object)&&(c=new f(r)),c.stream(i)},unparse:function(e,t){var i=!1,r=!0,n=",",s="\r\n",o='"',h=o+o,u=!1,f=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(n=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(i=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(o=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");f=t.columns}void 0!==t.escapeChar&&(h=t.escapeChar+o),"boolean"==typeof t.escapeFormulae&&(d=t.escapeFormulae)}}();var l=new RegExp(p(o),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return c(null,e,u);if("object"==typeof e[0])return c(f||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),c(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function c(e,t,i){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var o=Array.isArray(e)&&0<e.length,h=!Array.isArray(t[0]);if(o&&r){for(var u=0;u<e.length;u++)0<u&&(a+=n),a+=g(e[u],u);0<t.length&&(a+=s)}for(var f=0;f<t.length;f++){var d=o?e.length:t[f].length,l=!1,c=o?0===Object.keys(t[f]).length:0===t[f].length;if(i&&!o&&(l="greedy"===i?""===t[f].join("").trim():1===t[f].length&&0===t[f][0].length),"greedy"===i&&o){for(var p=[],_=0;_<d;_++){var m=h?e[_]:_;p.push(t[f][m])}l=""===p.join("").trim()}if(!l){for(var y=0;y<d;y++){0<y&&!c&&(a+=n);var v=o&&h?e[y]:y;a+=g(t[f][v],y)}f<t.length-1&&(!i||0<d&&!c)&&(a+=s)}}return a}function g(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);!0===d&&"string"==typeof e&&null!==e.match(/^[=+\-@].*$/)&&(e="'"+e);var r=e.toString().replace(l,h);return"boolean"==typeof i&&i||"function"==typeof i&&i(e,t)||Array.isArray(i)&&i[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return!0;return!1}(r,a.BAD_DELIMITERS)||-1<r.indexOf(n)||" "===r.charAt(0)||" "===r.charAt(r.length-1)?o+r+o:r}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!i&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=g,a.ParserHandle=c,a.NetworkStreamer=u,a.FileStreamer=f,a.StringStreamer=d,a.ReadableStreamStreamer=l,t.jQuery){var o=t.jQuery;o.fn.parse=function(e){var i=e.config||{},r=[];return this.each(function(e){if("INPUT"!==o(this).prop("tagName").toUpperCase()||"file"!==o(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var n=0;n<this.files.length;n++)r.push({file:this.files[n],inputElem:this,instanceConfig:o.extend({},i)})}),n(),this;function n(){if(0!==r.length){var t,i,n,h=r[0];if(b(e.before)){var u=e.before(h.file,h.inputElem);if("object"==typeof u){if("abort"===u.action)return"AbortError",t=h.file,i=h.inputElem,n=u.reason,void(b(e.error)&&e.error({name:"AbortError"},t,i,n));if("skip"===u.action)return void s();"object"==typeof u.config&&(h.instanceConfig=o.extend(h.instanceConfig,u.config))}else if("skip"===u)return void s()}var f=h.instanceConfig.complete;h.instanceConfig.complete=function(e){b(f)&&f(e,h.file,h.inputElem),s()},a.parse(h.file,h.instanceConfig)}else b(e.complete)&&e.complete()}function s(){r.splice(0,1),n()}}}function h(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=v(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new c(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,i){if(this.isFirstChunk&&b(this._config.beforeFirstChunk)){var n=this._config.beforeFirstChunk(e);void 0!==n&&(e=n)}this.isFirstChunk=!1,this._halted=!1;var s=this._partialLine+e;this._partialLine="";var o=this._handle.parse(s,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var h=o.meta.cursor;this._finished||(this._partialLine=s.substring(h-this._baseIndex),this._baseIndex=h),o&&o.data&&(this._rowCount+=o.data.length);var u=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:o,workerId:a.WORKER_ID,finished:u});else if(b(this._config.chunk)&&!i){if(this._config.chunk(o,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);o=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(o.data),this._completeResults.errors=this._completeResults.errors.concat(o.errors),this._completeResults.meta=o.meta),this._completed||!u||!b(this._config.complete)||o&&o.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),u||o&&o.meta.paused||this._nextChunk(),o}this._halted=!0},this._sendError=function(e){b(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),h.call(this,e),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),i||(t.onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+n)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}i&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){var e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null===(e=t.getResponseHeader("Content-Range"))?-1:parseInt(e.substring(e.lastIndexOf("/")+1))),this.parseChunk(t.responseText)))},this._chunkError=function(e){var i=t.statusText||e;this._sendError(new Error(i))}}function f(e){var t,i;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),h.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,i=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);e=i.call(e,this._start,n)}var s=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:s}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;h.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,i=this._config.chunkSize;return i?(e=t.substring(0,i),t=t.substring(i)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function l(e){h.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0},this._streamData=k(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=k(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=k(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=k(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function c(e){var t,i,r,n=Math.pow(2,53),s=-n,o=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,h=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,u=this,f=0,d=0,l=!1,c=!1,_=[],m={data:[],errors:[],meta:{}};if(b(e.step)){var y=e.step;e.step=function(t){if(m=t,w())E();else{if(E(),0===m.data.length)return;f+=t.data.length,e.preview&&f>e.preview?i.abort():(m.data=m.data[0],y(m,u))}}}function k(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function E(){if(m&&r&&(R("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines)for(var t=0;t<m.data.length;t++)k(m.data[t])&&m.data.splice(t--,1);return w()&&function(){if(m)if(Array.isArray(m.data[0])){for(var t=0;w()&&t<m.data.length;t++)m.data[t].forEach(i);m.data.splice(0,1)}else m.data.forEach(i);function i(t,i){b(e.transformHeader)&&(t=e.transformHeader(t,i)),_.push(t)}}(),function(){if(!m||!e.header&&!e.dynamicTyping&&!e.transform)return m;function t(t,i){var r,n=e.header?{}:[];for(r=0;r<t.length;r++){var s=r,a=t[r];e.header&&(s=r>=_.length?"__parsed_extra":_[r]),e.transform&&(a=e.transform(a,s)),a=C(s,a),"__parsed_extra"===s?(n[s]=n[s]||[],n[s].push(a)):n[s]=a}return e.header&&(r>_.length?R("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+r,d+i):r<_.length&&R("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+r,d+i)),n}var i=1;return!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(t),i=m.data.length):m.data=t(m.data,0),e.header&&m.meta&&(m.meta.fields=_),d+=i,m}()}function w(){return e.header&&0===_.length}function C(t,i){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&(function(e){if(o.test(e)){var t=parseFloat(e);if(s<t&&t<n)return!0}return!1}(i)?parseFloat(i):h.test(i)?new Date(i):""===i?null:i):i;var r}function R(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),m.errors.push(n)}this.parse=function(n,s,o){var h=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(p(t)+"([^]*?)"+p(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return"\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(n,h)),r=!1,e.delimiter)b(e.delimiter)&&(e.delimiter=e.delimiter(n),m.meta.delimiter=e.delimiter);else{var u=function(t,i,r,n,s){var o,h,u,f;s=s||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var d=0;d<s.length;d++){var l=s[d],c=0,p=0,_=0;u=void 0;for(var m=new g({comments:n,delimiter:l,newline:i,preview:10}).parse(t),y=0;y<m.data.length;y++)if(r&&k(m.data[y]))_++;else{var v=m.data[y].length;p+=v,void 0!==u?0<v&&(c+=Math.abs(v-u),u=v):u=v}0<m.data.length&&(p/=m.data.length-_),(void 0===h||c<=h)&&(void 0===f||f<p)&&1.99<p&&(h=c,o=l,f=p)}return{successful:!!(e.delimiter=o),bestDelimiter:o}}(n,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);u.successful?e.delimiter=u.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),m.meta.delimiter=e.delimiter}var f=v(e);return e.preview&&e.header&&f.preview++,t=n,i=new g(f),m=i.parse(t,s,o),E(),l?{meta:{paused:!0}}:m||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,i.abort(),t=b(e.chunk)?"":t.substring(i.getCharIndex())},this.resume=function(){u.streamer._halted?(l=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return c},this.abort=function(){c=!0,i.abort(),m.meta.aborted=!0,b(e.complete)&&e.complete(m),t=""}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t,i=(e=e||{}).delimiter,r=e.newline,n=e.comments,s=e.step,o=e.preview,h=e.fastMode,u=t=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(u=e.escapeChar),("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=","),n===i)throw new Error("Comment character same as delimiter");!0===n?n="#":("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,d=!1;this.parse=function(e,a,l){if("string"!=typeof e)throw new Error("Input must be a string");var c=e.length,g=i.length,_=r.length,m=n.length,y=b(s),v=[],k=[],E=[],w=f=0;if(!e)return j();if(h||!1!==h&&-1===e.indexOf(t)){for(var C=e.split(r),R=0;R<C.length;R++){if(E=C[R],f+=E.length,R!==C.length-1)f+=r.length;else if(l)return j();if(!n||E.substring(0,m)!==n){if(y){if(v=[],D(E.split(i)),M(),d)return j()}else D(E.split(i));if(o&&o<=R)return v=v.slice(0,o),j(!0)}}return j()}for(var S=e.indexOf(i,f),O=e.indexOf(r,f),x=new RegExp(p(u)+p(t),"g"),I=e.indexOf(t,f);;)if(e[f]!==t)if(n&&0===E.length&&e.substring(f,f+m)===n){if(-1===O)return j();f=O+_,O=e.indexOf(r,f),S=e.indexOf(i,f)}else if(-1!==S&&(S<O||-1===O))E.push(e.substring(f,S)),f=S+g,S=e.indexOf(i,f);else{if(-1===O)break;if(E.push(e.substring(f,O)),z(O+_),y&&(M(),d))return j();if(o&&v.length>=o)return j(!0)}else for(I=f,f++;;){if(-1===(I=e.indexOf(t,I+1)))return l||k.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:v.length,index:f}),F();if(I===c-1)return F(e.substring(f,I).replace(x,t));if(t!==u||e[I+1]!==u){if(t===u||0===I||e[I-1]!==u){-1!==S&&S<I+1&&(S=e.indexOf(i,I+1)),-1!==O&&O<I+1&&(O=e.indexOf(r,I+1));var T=L(-1===O?S:Math.min(S,O));if(e[I+1+T]===i){E.push(e.substring(f,I).replace(x,t)),e[f=I+1+T+g]!==t&&(I=e.indexOf(t,f)),S=e.indexOf(i,f),O=e.indexOf(r,f);break}var A=L(O);if(e.substring(I+1+A,I+1+A+_)===r){if(E.push(e.substring(f,I).replace(x,t)),z(I+1+A+_),S=e.indexOf(i,f),I=e.indexOf(t,f),y&&(M(),d))return j();if(o&&v.length>=o)return j(!0);break}k.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:v.length,index:f}),I++}}else I++}return F();function D(e){v.push(e),w=f}function L(t){var i=0;if(-1!==t){var r=e.substring(I+1,t);r&&""===r.trim()&&(i=r.length)}return i}function F(t){return l||(void 0===t&&(t=e.substring(f)),E.push(t),f=c,D(E),y&&M()),j()}function z(t){f=t,D(E),E=[],O=e.indexOf(r,f)}function j(e){return{data:v,errors:k,meta:{delimiter:i,linebreak:r,aborted:d,truncated:!!e,cursor:w+(a||0)}}}function M(){s(j()),v=[],k=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return f}}function _(e){var t=e.data,i=n[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var s={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(b(i.userStep)){for(var a=0;a<t.results.data.length&&(i.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},s),!r);a++);delete t.results}else b(i.userChunk)&&(i.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!r&&m(t.workerId,t.results)}function m(e,t){var i=n[e];b(i.userComplete)&&i.userComplete(t),i.terminate(),delete n[e]}function y(){throw new Error("Not implemented.")}function v(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=v(e[i]);return t}function k(e,t){return function(){e.apply(t,arguments)}}function b(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var i=e.data;if(void 0===a.WORKER_ID&&i&&(a.WORKER_ID=i.workerId),"string"==typeof i.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(i.input,i.config),finished:!0});else if(t.File&&i.input instanceof File||i.input instanceof Object){var r=a.parse(i.input,i.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(u.prototype=Object.create(h.prototype)).constructor=u,(f.prototype=Object.create(h.prototype)).constructor=f,(d.prototype=Object.create(d.prototype)).constructor=d,(l.prototype=Object.create(h.prototype)).constructor=l,a}); },{}],"OEtS":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CSVFileReader=void 0;var e=i(require("react")),t=n(require("prop-types")),a=i(require("papaparse")),r=n(require("./icons/Clear"));function n(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(l=function(e){return e?a:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=l(t);if(a&&a.has(e))return a.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,a&&a.set(e,r),r}var s=function(t){var n=t.className,l=t.label,i=t.id,s=t.accept,o=t.fileEncoding,u=t.parserOptions,d=t.disabled,c=t.onFileLoaded,f=t.onError,p=t.onReset,m=(0,e.useRef)(null);return e.default.createElement("form",{onReset:function(){p&&p(),m.current.value=""}},e.default.createElement("div",{className:n},l&&e.default.createElement("label",{htmlFor:i},l),e.default.createElement("div",{className:"box-shadow with-transition b-radius flex-container width-100 flex-nowrap align-vertical-center"},e.default.createElement("div",{className:"flex-grow-1"},e.default.createElement("input",{ref:m,type:"file",id:i,accept:s,onChange:function(e){var t=new FileReader,r=e.target.files;if(r.length>0){var n={name:r[0].name,size:r[0].size,type:r[0].type};t.onload=function(e){var r=a.parse(t.result,Object.assign({},u,{error:f,encoding:o}));c(r?r.data:[],n.name)},t.readAsText(r[0],o)}},disabled:d})),m&&m.current&&m.current.value&&e.default.createElement("div",{className:"height-1point5em p-xsm-left p-xsm-right"},e.default.createElement("button",{tabIndex:-1,className:"button width-1point5em height-1point5em lh-1",type:"reset",value:"Reset","data-ga-action":"file-reset-button","data-ga-label":"File Reset Button"},e.default.createElement("span",{className:"sr-only"},"Clear"),e.default.createElement(r.default,{width:"1em",height:"1em"}))))))};exports.CSVFileReader=s,s.propTypes={className:t.default.string,label:t.default.string,id:t.default.string.isRequired,accept:t.default.string,fileEncoding:t.default.string,parserOptions:t.default.object,disabled:t.default.bool},s.defaultProps={className:"csv-input",label:"Select a file",accept:".csv, text/csv",fileEncoding:"UTF-8",parserOptions:{},disabled:!1};var o=s;exports.default=o; },{"react":"SAdv","prop-types":"yu5W","papaparse":"TfdN","./icons/Clear":"UpNA"}],"W5bu":[function(require,module,exports) { "use strict";function e(e){return e?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.format_count=e,exports.default=void 0;var t=e;exports.default=t; },{}],"vX4j":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],r=200,n="Expected a function",e="__lodash_hash_undefined__",o=1,u=2,i=1/0,a=9007199254740991,c=1.7976931348623157e308,f=NaN,l="[object Arguments]",s="[object Array]",p="[object Boolean]",v="[object Date]",_="[object Error]",h="[object Function]",y="[object GeneratorFunction]",d="[object Map]",b="[object Number]",g="[object Object]",j="[object Promise]",w="[object RegExp]",m="[object Set]",O="[object String]",A="[object Symbol]",$="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",k="[object Float32Array]",E="[object Float64Array]",F="[object Int8Array]",I="[object Int16Array]",M="[object Int32Array]",P="[object Uint8Array]",T="[object Uint8ClampedArray]",U="[object Uint16Array]",z="[object Uint32Array]",C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/,B=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/[\\^$.*+?()[\]{}|]/g,R=/^\s+|\s+$/g,V=/\\(\\)?/g,W=/^[-+]0x[0-9a-f]+$/i,G=/^0b[01]+$/i,q=/^\[object .+?Constructor\]$/,H=/^0o[0-7]+$/i,J=/^(?:0|[1-9]\d*)$/,K={};K[k]=K[E]=K[F]=K[I]=K[M]=K[P]=K[T]=K[U]=K[z]=!0,K[l]=K[s]=K[x]=K[p]=K[S]=K[v]=K[_]=K[h]=K[d]=K[b]=K[g]=K[w]=K[m]=K[O]=K[$]=!1;var Q=parseInt,X="object"==typeof t&&t&&t.Object===Object&&t,Y="object"==typeof self&&self&&self.Object===Object&&self,Z=X||Y||Function("return this")(),tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,rt=tt&&"object"==typeof module&&module&&!module.nodeType&&module,nt=rt&&rt.exports===tt,et=nt&&X.process,ot=function(){try{return et&&et.binding("util")}catch(t){}}(),ut=ot&&ot.isTypedArray;function it(t,r){for(var n=-1,e=t?t.length:0;++n<e;)if(r(t[n],n,t))return!0;return!1}function at(t,r,n,e){for(var o=t.length,u=n+(e?1:-1);e?u--:++u<o;)if(r(t[u],u,t))return u;return-1}function ct(t){return function(r){return null==r?void 0:r[t]}}function ft(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}function lt(t){return function(r){return t(r)}}function st(t,r){return null==t?void 0:t[r]}function pt(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(n){}return r}function vt(t){var r=-1,n=Array(t.size);return t.forEach(function(t,e){n[++r]=[e,t]}),n}function _t(t,r){return function(n){return t(r(n))}}function ht(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}var yt=Array.prototype,dt=Function.prototype,bt=Object.prototype,gt=Z["__core-js_shared__"],jt=function(){var t=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),wt=dt.toString,mt=bt.hasOwnProperty,Ot=bt.toString,At=RegExp("^"+wt.call(mt).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=Z.Symbol,xt=Z.Uint8Array,St=bt.propertyIsEnumerable,kt=yt.splice,Et=_t(Object.keys,Object),Ft=Math.max,It=Dr(Z,"DataView"),Mt=Dr(Z,"Map"),Pt=Dr(Z,"Promise"),Tt=Dr(Z,"Set"),Ut=Dr(Z,"WeakMap"),zt=Dr(Object,"create"),Ct=Yr(It),Lt=Yr(Mt),Bt=Yr(Pt),Dt=Yr(Tt),Nt=Yr(Ut),Rt=$t?$t.prototype:void 0,Vt=Rt?Rt.valueOf:void 0,Wt=Rt?Rt.toString:void 0;function Gt(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function qt(){this.__data__=zt?zt(null):{}}function Ht(t){return this.has(t)&&delete this.__data__[t]}function Jt(t){var r=this.__data__;if(zt){var n=r[t];return n===e?void 0:n}return mt.call(r,t)?r[t]:void 0}function Kt(t){var r=this.__data__;return zt?void 0!==r[t]:mt.call(r,t)}function Qt(t,r){return this.__data__[t]=zt&&void 0===r?e:r,this}function Xt(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function Yt(){this.__data__=[]}function Zt(t){var r=this.__data__,n=gr(r,t);return!(n<0)&&(n==r.length-1?r.pop():kt.call(r,n,1),!0)}function tr(t){var r=this.__data__,n=gr(r,t);return n<0?void 0:r[n][1]}function rr(t){return gr(this.__data__,t)>-1}function nr(t,r){var n=this.__data__,e=gr(n,t);return e<0?n.push([t,r]):n[e][1]=r,this}function er(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function or(){this.__data__={hash:new Gt,map:new(Mt||Xt),string:new Gt}}function ur(t){return Lr(this,t).delete(t)}function ir(t){return Lr(this,t).get(t)}function ar(t){return Lr(this,t).has(t)}function cr(t,r){return Lr(this,t).set(t,r),this}function fr(t){var r=-1,n=t?t.length:0;for(this.__data__=new er;++r<n;)this.add(t[r])}function lr(t){return this.__data__.set(t,e),this}function sr(t){return this.__data__.has(t)}function pr(t){this.__data__=new Xt(t)}function vr(){this.__data__=new Xt}function _r(t){return this.__data__.delete(t)}function hr(t){return this.__data__.get(t)}function yr(t){return this.__data__.has(t)}function dr(t,n){var e=this.__data__;if(e instanceof Xt){var o=e.__data__;if(!Mt||o.length<r-1)return o.push([t,n]),this;e=this.__data__=new er(o)}return e.set(t,n),this}function br(t,r){var n=en(t)||nn(t)?ft(t.length,String):[],e=n.length,o=!!e;for(var u in t)!r&&!mt.call(t,u)||o&&("length"==u||Vr(u,e))||n.push(u);return n}function gr(t,r){for(var n=t.length;n--;)if(rn(t[n][0],r))return n;return-1}function jr(t,r){for(var n=0,e=(r=Wr(r,t)?[r]:Tr(r)).length;null!=t&&n<e;)t=t[Xr(r[n++])];return n&&n==e?t:void 0}function wr(t){return Ot.call(t)}function mr(t,r){return null!=t&&r in Object(t)}function Or(t,r,n,e,o){return t===r||(null==t||null==r||!fn(t)&&!ln(r)?t!=t&&r!=r:Ar(t,r,Or,n,e,o))}function Ar(t,r,n,e,o,i){var a=en(t),c=en(r),f=s,p=s;a||(f=(f=Nr(t))==l?g:f),c||(p=(p=Nr(r))==l?g:p);var v=f==g&&!pt(t),_=p==g&&!pt(r),h=f==p;if(h&&!v)return i||(i=new pr),a||pn(t)?Ur(t,r,n,e,o,i):zr(t,r,f,n,e,o,i);if(!(o&u)){var y=v&&mt.call(t,"__wrapped__"),d=_&&mt.call(r,"__wrapped__");if(y||d){var b=y?t.value():t,j=d?r.value():r;return i||(i=new pr),n(b,j,e,o,i)}}return!!h&&(i||(i=new pr),Cr(t,r,n,e,o,i))}function $r(t,r,n,e){var i=n.length,a=i,c=!e;if(null==t)return!a;for(t=Object(t);i--;){var f=n[i];if(c&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++i<a;){var l=(f=n[i])[0],s=t[l],p=f[1];if(c&&f[2]){if(void 0===s&&!(l in t))return!1}else{var v=new pr;if(e)var _=e(s,p,l,t,r,v);if(!(void 0===_?Or(p,s,e,o|u,v):_))return!1}}return!0}function xr(t){return!(!fn(t)||qr(t))&&(an(t)||pt(t)?At:q).test(Yr(t))}function Sr(t){return ln(t)&&cn(t.length)&&!!K[Ot.call(t)]}function kr(t){return"function"==typeof t?t:null==t?jn:"object"==typeof t?en(t)?Ir(t[0],t[1]):Fr(t):wn(t)}function Er(t){if(!Hr(t))return Et(t);var r=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&r.push(n);return r}function Fr(t){var r=Br(t);return 1==r.length&&r[0][2]?Kr(r[0][0],r[0][1]):function(n){return n===t||$r(n,t,r)}}function Ir(t,r){return Wr(t)&&Jr(r)?Kr(Xr(t),r):function(n){var e=dn(n,t);return void 0===e&&e===r?bn(n,t):Or(r,e,void 0,o|u)}}function Mr(t){return function(r){return jr(r,t)}}function Pr(t){if("string"==typeof t)return t;if(sn(t))return Wt?Wt.call(t):"";var r=t+"";return"0"==r&&1/t==-i?"-0":r}function Tr(t){return en(t)?t:Qr(t)}function Ur(t,r,n,e,i,a){var c=i&u,f=t.length,l=r.length;if(f!=l&&!(c&&l>f))return!1;var s=a.get(t);if(s&&a.get(r))return s==r;var p=-1,v=!0,_=i&o?new fr:void 0;for(a.set(t,r),a.set(r,t);++p<f;){var h=t[p],y=r[p];if(e)var d=c?e(y,h,p,r,t,a):e(h,y,p,t,r,a);if(void 0!==d){if(d)continue;v=!1;break}if(_){if(!it(r,function(t,r){if(!_.has(r)&&(h===t||n(h,t,e,i,a)))return _.add(r)})){v=!1;break}}else if(h!==y&&!n(h,y,e,i,a)){v=!1;break}}return a.delete(t),a.delete(r),v}function zr(t,r,n,e,i,a,c){switch(n){case S:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case x:return!(t.byteLength!=r.byteLength||!e(new xt(t),new xt(r)));case p:case v:case b:return rn(+t,+r);case _:return t.name==r.name&&t.message==r.message;case w:case O:return t==r+"";case d:var f=vt;case m:var l=a&u;if(f||(f=ht),t.size!=r.size&&!l)return!1;var s=c.get(t);if(s)return s==r;a|=o,c.set(t,r);var h=Ur(f(t),f(r),e,i,a,c);return c.delete(t),h;case A:if(Vt)return Vt.call(t)==Vt.call(r)}return!1}function Cr(t,r,n,e,o,i){var a=o&u,c=gn(t),f=c.length;if(f!=gn(r).length&&!a)return!1;for(var l=f;l--;){var s=c[l];if(!(a?s in r:mt.call(r,s)))return!1}var p=i.get(t);if(p&&i.get(r))return p==r;var v=!0;i.set(t,r),i.set(r,t);for(var _=a;++l<f;){var h=t[s=c[l]],y=r[s];if(e)var d=a?e(y,h,s,r,t,i):e(h,y,s,t,r,i);if(!(void 0===d?h===y||n(h,y,e,o,i):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var b=t.constructor,g=r.constructor;b!=g&&"constructor"in t&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof g&&g instanceof g)&&(v=!1)}return i.delete(t),i.delete(r),v}function Lr(t,r){var n=t.__data__;return Gr(r)?n["string"==typeof r?"string":"hash"]:n.map}function Br(t){for(var r=gn(t),n=r.length;n--;){var e=r[n],o=t[e];r[n]=[e,o,Jr(o)]}return r}function Dr(t,r){var n=st(t,r);return xr(n)?n:void 0}Gt.prototype.clear=qt,Gt.prototype.delete=Ht,Gt.prototype.get=Jt,Gt.prototype.has=Kt,Gt.prototype.set=Qt,Xt.prototype.clear=Yt,Xt.prototype.delete=Zt,Xt.prototype.get=tr,Xt.prototype.has=rr,Xt.prototype.set=nr,er.prototype.clear=or,er.prototype.delete=ur,er.prototype.get=ir,er.prototype.has=ar,er.prototype.set=cr,fr.prototype.add=fr.prototype.push=lr,fr.prototype.has=sr,pr.prototype.clear=vr,pr.prototype.delete=_r,pr.prototype.get=hr,pr.prototype.has=yr,pr.prototype.set=dr;var Nr=wr;function Rr(t,r,n){for(var e,o=-1,u=(r=Wr(r,t)?[r]:Tr(r)).length;++o<u;){var i=Xr(r[o]);if(!(e=null!=t&&n(t,i)))break;t=t[i]}return e||!!(u=t?t.length:0)&&cn(u)&&Vr(i,u)&&(en(t)||nn(t))}function Vr(t,r){return!!(r=null==r?a:r)&&("number"==typeof t||J.test(t))&&t>-1&&t%1==0&&t<r}function Wr(t,r){if(en(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!sn(t))||(L.test(t)||!C.test(t)||null!=r&&t in Object(r))}function Gr(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}function qr(t){return!!jt&&jt in t}function Hr(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||bt)}function Jr(t){return t==t&&!fn(t)}function Kr(t,r){return function(n){return null!=n&&(n[t]===r&&(void 0!==r||t in Object(n)))}}(It&&Nr(new It(new ArrayBuffer(1)))!=S||Mt&&Nr(new Mt)!=d||Pt&&Nr(Pt.resolve())!=j||Tt&&Nr(new Tt)!=m||Ut&&Nr(new Ut)!=$)&&(Nr=function(t){var r=Ot.call(t),n=r==g?t.constructor:void 0,e=n?Yr(n):void 0;if(e)switch(e){case Ct:return S;case Lt:return d;case Bt:return j;case Dt:return m;case Nt:return $}return r});var Qr=tn(function(t){t=yn(t);var r=[];return B.test(t)&&r.push(""),t.replace(D,function(t,n,e,o){r.push(e?o.replace(V,"$1"):n||t)}),r});function Xr(t){if("string"==typeof t||sn(t))return t;var r=t+"";return"0"==r&&1/t==-i?"-0":r}function Yr(t){if(null!=t){try{return wt.call(t)}catch(r){}try{return t+""}catch(r){}}return""}function Zr(t,r,n){var e=t?t.length:0;if(!e)return-1;var o=null==n?0:_n(n);return o<0&&(o=Ft(e+o,0)),at(t,kr(r,3),o)}function tn(t,r){if("function"!=typeof t||r&&"function"!=typeof r)throw new TypeError(n);var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],u=e.cache;if(u.has(o))return u.get(o);var i=t.apply(this,n);return e.cache=u.set(o,i),i};return e.cache=new(tn.Cache||er),e}function rn(t,r){return t===r||t!=t&&r!=r}function nn(t){return un(t)&&mt.call(t,"callee")&&(!St.call(t,"callee")||Ot.call(t)==l)}tn.Cache=er;var en=Array.isArray;function on(t){return null!=t&&cn(t.length)&&!an(t)}function un(t){return ln(t)&&on(t)}function an(t){var r=fn(t)?Ot.call(t):"";return r==h||r==y}function cn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function fn(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function ln(t){return!!t&&"object"==typeof t}function sn(t){return"symbol"==typeof t||ln(t)&&Ot.call(t)==A}var pn=ut?lt(ut):Sr;function vn(t){return t?(t=hn(t))===i||t===-i?(t<0?-1:1)*c:t==t?t:0:0===t?t:0}function _n(t){var r=vn(t),n=r%1;return r==r?n?r-n:r:0}function hn(t){if("number"==typeof t)return t;if(sn(t))return f;if(fn(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=fn(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(R,"");var n=G.test(t);return n||H.test(t)?Q(t.slice(2),n?2:8):W.test(t)?f:+t}function yn(t){return null==t?"":Pr(t)}function dn(t,r,n){var e=null==t?void 0:jr(t,r);return void 0===e?n:e}function bn(t,r){return null!=t&&Rr(t,r,mr)}function gn(t){return on(t)?br(t):Er(t)}function jn(t){return t}function wn(t){return Wr(t)?ct(Xr(t)):Mr(t)}module.exports=Zr; },{}],"jlAm":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CustomSelect=void 0;var e=u(require("react")),t=o(require("prop-types")),a=o(require("../react-hooks/hook-click-outside")),n=o(require("./icons/KeyboardArrowDown")),r=o(require("./icons/Clear")),l=o(require("../utils/FormatCount"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=i(t);if(a&&a.has(e))return a.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var o=r?Object.getOwnPropertyDescriptor(e,l):null;o&&(o.get||o.set)?Object.defineProperty(n,l,o):n[l]=e[l]}return n.default=e,a&&a.set(e,n),n}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){return b(e)||p(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"==typeof e)return m(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function p(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(n=a.next()).done)&&(l.push(n.value),!t||l.length!==t);o=!0);}catch(u){i=!0,r=u}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return l}}function b(e){if(Array.isArray(e))return e}var g=require("lodash.findindex"),h=function(t){var o=t.value,i=t.unselectedTitle,u=t.labelInside,f=t.labelOnTop,d=t.label,m=t.isCompact,p=t.backgroundClassName,b=t.trackAction,h=t.trackLabel,y=t.options,v=t.menuAlign,w=t.menuTitle,k=t.restrictHeight,E=t.onChange,x=(0,e.useRef)(),N=s((0,e.useState)(!1),2),C=N[0],O=N[1],A=s((0,e.useState)(o),2),S=A[0],j=A[1];return(0,a.default)(x,function(){return O(!1)}),(0,e.useEffect)(function(){j(o)},[o]),e.default.createElement("div",{ref:x,className:"relative"},e.default.createElement("div",{className:f?"":"flex-container flex-nowrap align-vertical-center width-100"},d&&!m&&!u&&e.default.createElement("label",{className:"p-xsm-bottom p-xsm-right nowrap"+(f?" align-left block ":"")},d),e.default.createElement("div",{className:"flex-grow-1 nowrap relative "},e.default.createElement("button",{className:"button width-100 align-left has-icon-right with-border "+p,onClick:function(e){O(!0)},"data-ga-action":b+"-menu-open","data-ga-label":h+" Menu Open"},e.default.createElement("div",{className:"table-grid full-width fixed-layout"},e.default.createElement("div",{className:"p-sm-left p-sm-right "+(t.useEllipsis?"ellipsis":"wrap-normal f-lh-135")},function(){var e=S||0===S?S:i;try{var t=g(y,function(e){return e.name===S});t>-1&&y[t].name&&(e=y[t].display_name||y[t].name)}catch(a){}return(u?d+" ":"")+e}()),e.default.createElement("div",{className:"width-2em align-center"},e.default.createElement(n.default,{width:"1.5em",height:"1.5em"})))))),C&&e.default.createElement("div",{className:"align-left"},e.default.createElement("div",{style:{left:"right"===v?"auto":0,right:"right"===v?0:"auto"},className:"absolute top-0 min-width-100 z-index-100 box-shadow"},w&&e.default.createElement("div",{className:"bckg-gray-dark f-white flex-container full-width flex-nowrap align-vertical-center p-xsm"},e.default.createElement("div",{className:"flex-grow-1 p-md-rectangle"},w),e.default.createElement("div",{className:"f-075"},e.default.createElement("button",{autoFocus:!0,className:"button round-icon",onClick:function(e){O(!1)},"data-ga-action":b+"-menu-close","data-ga-label":h+" Menu Close"},e.default.createElement(r.default,null)))),e.default.createElement("div",{className:k?"max-height-25em":"max-height-50vh"},y.map(function(t){var a="object"===c(t)?t.name:t,n="object"===c(t)?t.display_name||t.name:t,r=e.default.createElement("span",{className:"btn-text wrap-normal breakword p-sm-top p-sm-bottom f-gray"},n+("object"===c(t)&&t.count?" ("+(0,l.default)(t.count)+")":""));return e.default.createElement("div",{key:a,className:"b-bottom bckg-white "+(a===S?"":" bckg-gray-lightest")},t.url?e.default.createElement("a",{href:t.url,className:"button lh-1 with-padding align-left block width-100","data-ga-action":b,"data-ga-label":h+": "+n,name:a,onClick:function(e){j(e.currentTarget.getAttribute("name")),O(!1)}},r):e.default.createElement("button",{type:"button",className:"button lh-1 with-padding align-left block width-100",name:a,onClick:function(e){j(e.currentTarget.getAttribute("name")),O(!1),E(e.currentTarget.getAttribute("name"))},"data-ga-action":b,"data-ga-label":h+": "+n},r))})))))};exports.CustomSelect=h,h.propTypes={icon:t.default.element,unselectedTitle:t.default.string,labelInside:t.default.bool,label:t.default.string,labelOnTop:t.default.bool,menuAlign:t.default.oneOf(["left","right"]),menuTitle:t.default.string,backgroundClassName:t.default.string,options:t.default.array.isRequired,onChange:t.default.func.isRequired,value:t.default.string,restrictHeight:t.default.bool,useEllipsis:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},h.defaultProps={unselectedTitle:"Choose One",labelInside:!1,menuAlign:"left",labelOnTop:!1,restrictHeight:!0,trackAction:"select",useEllipsis:!0,trackLabel:"Select",backgroundClassName:""};var y=h;exports.default=y; },{"react":"SAdv","prop-types":"yu5W","../react-hooks/hook-click-outside":"ILbe","./icons/KeyboardArrowDown":"qjAC","./icons/Clear":"UpNA","../utils/FormatCount":"W5bu","lodash.findindex":"vX4j"}],"oZ0z":[function(require,module,exports) { "use strict";function e(e,r){return fetch(e,{body:r,cache:"no-cache",credentials:"same-origin",headers:{"content-type":"application/x-www-form-urlencoded"},method:"POST",mode:"cors",redirect:"follow",referrer:"no-referrer"}).then(function(e){return e.json()})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"ivTq":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.UploadIdListToServer=void 0;var e=o(require("react")),t=n(require("prop-types")),r=n(require("./ErrorMessage")),a=n(require("../utils/PostData"));function n(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=n?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}function u(e,t){return d(e)||f(e,t)||s(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function f(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,l=[],o=!0,u=!1;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(l.push(a.value),!t||l.length!==t);o=!0);}catch(i){u=!0,n=i}finally{try{o||null==r.return||r.return()}finally{if(u)throw n}}return l}}function d(e){if(Array.isArray(e))return e}var m=function(t){var n=t.fileName,l=t.data,o=t.idType,i=u((0,e.useState)(0),2),s=i[0],c=i[1],f=u((0,e.useState)(null),2),d=f[0],m=f[1],p=u((0,e.useState)(""),2),y=p[0],v=p[1];return(0,e.useEffect)(function(){m(null),v(""),c(Date.now())},[n,l,o]),(0,e.useEffect)(function(){if(l&&l.length>0){var e=s;(0,a.default)("/list_gateway/list_gateway.cgi?format=json&action=post_to_cache&id_type="+o,"ids="+l.join(",")).then(function(t){e===s&&(t.Response.error?v(t.Response.error):t.Response.cache_key?m(t.Response.cache_key):v("Something went wrong trying to upload data to our servers..."))}).catch(function(t){e===s&&v(t.message)})}},[n,l,o]),e.default.createElement("div",null,y?e.default.createElement(r.default,{message:y,containerClassName:"align-left f-medium"}):e.default.createElement(e.Fragment,null,d?e.default.createElement(e.Fragment,null,e.default.createElement("div",{className:"b-left b-green b-thick"},e.default.createElement("div",{className:"p-md-rectangle"},e.default.createElement("h4",{className:"f-medium p-sm-bottom"},"SUCCESS"),e.default.createElement("div",{className:"f-lh-15"},e.default.createElement("div",{className:"f-bold breakword"},"List ID: ",d),e.default.createElement("div",{className:"f-0875 uppercase"},"Type: ",o),e.default.createElement("div",{className:"f-0875"},"Location: PubChem servers"),e.default.createElement("div",{className:"f-0875"},"Time until expiration: 8 hours")))),e.default.createElement("div",{className:"p-md-top p-md-bottom f-white align-left"},e.default.createElement("a",{href:"#query="+d,className:"button bckg-primary with-padding"},"Search Pubchem With This List"))):e.default.createElement("div",{className:"p-l align-center"},"Uploading the file to PubChem servers...")))};exports.UploadIdListToServer=m,m.propTypes={fileName:t.default.string,data:t.default.array},m.defaultProps={data:[]};var p=m;exports.default=p; },{"react":"SAdv","prop-types":"yu5W","./ErrorMessage":"VxRY","../utils/PostData":"oZ0z"}],"baFa":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ListUpload=void 0;var e=p(require("react")),t=c(require("prop-types")),a=require("../../../ini/ini"),r=c(require("../../../utils/SetUrlParams")),n=c(require("../../../react-shared-components/Modal")),l=c(require("../../../react-shared-components/ErrorMessage")),i=c(require("../../../react-shared-components/icons/ListUpload")),o=c(require("../../../react-shared-components/SearchBoxForm")),s=c(require("../../../react-shared-components/CSVFileReader")),d=c(require("../../../react-shared-components/CustomSelect")),u=c(require("../../../react-shared-components/UploadIdListToServer"));function c(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(m=function(e){return e?a:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=m(t);if(a&&a.has(e))return a.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=n?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(r,l,i):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}function f(e,t){return E(e)||y(e,t)||b(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){if(e){if("string"==typeof e)return g(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function y(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,l=[],i=!0,o=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(l.push(r.value),!t||l.length!==t);i=!0);}catch(s){o=!0,n=s}finally{try{i||null==a.return||a.return()}finally{if(o)throw n}}return l}}function E(e){if(Array.isArray(e))return e}var v=function(t){var c=t.width,m=t.bp,p=t.isOpen,h=t.setParams,b=t.trackAction,g=t.trackLabel,y=t.entrezOn,E=[{name:"cid",display_name:"Compound, e.g. CID like 2244"},{name:"sid",display_name:"Substance, e.g. SID like 319306286"},{name:"aid",display_name:"BioAssay, e.g. AID like 450"},{name:"geneid",display_name:"Gene, e.g. GENEID like 1956"},{name:"protacxn",display_name:"Protein, e.g. protein accession like P40825"},{name:"pwacc",display_name:"Pathway, e.g. pathway accession like PWY-5340"},{name:"pmid",display_name:"PubMed, e.g. PMID like 1234"},{name:"publicationnumber",display_name:"Patent, e.g. patent publication number like CA-2272433-A1"}],v=f((0,e.useState)(E[0].name),2),N=v[0],C=v[1],I=f((0,e.useState)(""),2),O=I[0],L=I[1],P=f((0,e.useState)([]),2),S=P[0],_=P[1],k=(0,e.useMemo)(function(){var e="";if(O&&S)try{S[0]?S[0].length>1?e="Too many columns found... Only a single column containing identifiers should be present.":a.COLLECTION_STRING_ID_TYPES[a.ID_COLLECTIONS[N]]||Number.isInteger(Number(S[0][0]))?!a.COLLECTION_NUMERIC_ID_TYPES[a.ID_COLLECTIONS[N]]&&Number.isInteger(Number(S[0][0]))&&(e="The format for "+N.toUpperCase()+" identifiers does not appear to be correct..."):e="Non-integer values found, but "+N.toUpperCase()+" identifiers should be integers... ":e="The file appears empty or corrupted..."}catch(t){}return e},[O,S,N]);return e.default.createElement(n.default,{startOpen:p,isCompact:c<=m,onClose:function(){h({upload:""})},trigger:function(t){t.setIsOpen;return e.default.createElement("button",{className:"button has-icon-top "+(c>m?"width-100 with-padding":""),onClick:function(){return h({upload:!0})},"data-ga-action":b,"data-ga-label":g+" Open",disabled:y,"aria-disabled":y},e.default.createElement(i.default,{width:"3em",height:"3em"}),e.default.createElement("span",{className:"btn-text p-sm-top "+(c>m?"f-1":"f-075")},"Upload ID List"))},title:"UPLOAD ID LIST",trackAction:b,trackLabel:g},p&&e.default.createElement("div",{className:"min-height-50vh align-left"},e.default.createElement("div",{className:"align-left p-md-bottom"},e.default.createElement("div",{className:"f-0875 f-lh-15"},"A list of PubChem identifiers may be used as input to PubChem search where you can view or download records. Don't have a file handy? Download an ",e.default.createElement("a",{className:"f-medium",href:"/pcfe/data-examples/PubChem_CID_list_example.csv"},"example list of PubChem CIDs"),".")),e.default.createElement("h2",{className:"f-125 f-bold p-sm-top"},"STEP 1. Choose Identifier Type"),e.default.createElement("div",{className:c>m?"p-md p-xl-right":"p-md-top p-md-bottom"},e.default.createElement(d.default,{value:N,options:E,onChange:function(e){C(e)},menuAlign:"right",menuTitle:"Choose Identifier Type",bFixedWidth:!1,backgroundClassName:"bckg-gray-lightest"+(c>m?" f-125":""),trackAction:"select-list-upload-id-type",trackLabel:"Select List Upload ID Type"})),e.default.createElement("h2",{className:"f-125 f-bold p-sm-top"},"STEP 2. Provide a List of Identifiers"),e.default.createElement("div",{className:c>m?"p-md p-xl-right":"p-md-top p-md-bottom"},e.default.createElement(o.default,{labelValue:"Enter identifiers separated by comma or space",showLabel:!0,value:"",id:"identifier-list",setSearch:function(e){var t={};try{e.match(/^[0-9][0-9\s,]+$/)?(t.query=e.trim(),t.collection=a.ID_COLLECTIONS[N]):(t.query=e.trim().replace(/\s+/g,",").replace(/,+/g," OR "),t.tab=a.ID_COLLECTIONS[N])}catch(n){}(0,r.default)(t,!0)}})),e.default.createElement("div",{className:c>m?"p-md p-xl-right":"p-md-top p-md-bottom"},e.default.createElement(s.default,{id:"id-list-upload",label:"OR Upload a file (one identifier per line)",accept:"*.*",parserOptions:{skipEmptyLines:!0},onFileLoaded:function(e,t){_(e),L(t)},onError:function(e){_([])},onReset:function(){_([]),L("")}}),e.default.createElement("div",{className:"min-height-500"},O&&e.default.createElement(e.Fragment,null,e.default.createElement("div",{className:"p-md-top p-md-bottom"},S.length>0&&e.default.createElement("div",{className:"b-left b-thick p-sm-top p-sm-bottom"},e.default.createElement("div",{className:"p-sm-bottom p-md-left"},e.default.createElement("h4",{className:"f-medium p-sm-bottom"},"Preview of ",O),e.default.createElement("div",{className:"f-0875"},"Number of rows: ",S.length," ",S.length>1e6?"( Please consider uploading smaller files since we might have trouble processing such a large data set...)":""),e.default.createElement("div",{className:"f-0875"},"Number of columns: ",S[0].length)),e.default.createElement("ul",{className:"unstyled-list"},S.slice(0,Math.min(5,S.length)).map(function(t,a){return e.default.createElement("li",{className:"ellipsis p-md-left p-l-right"},a+1+". "+t)}),S.length>5&&e.default.createElement("li",{className:"p-md-left"},"6. ...")))),k?e.default.createElement(l.default,{message:k,containerClassName:"align-left f-medium"}):e.default.createElement(u.default,{fileName:O,data:S,idType:N}))))))};exports.ListUpload=v,v.propTypes={width:t.default.number.isRequired,bp:t.default.number,setParams:t.default.func.isRequired,isOpen:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},v.defaultProps={bp:560,isOpen:!1,trackAction:"list-upload-modal",trackLabel:"List Upload Modal"};var N=v;exports.default=N; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../utils/SetUrlParams":"M0vG","../../../react-shared-components/Modal":"YUkR","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/icons/ListUpload":"VZpp","../../../react-shared-components/SearchBoxForm":"mC8c","../../../react-shared-components/CSVFileReader":"OEtS","../../../react-shared-components/CustomSelect":"jlAm","../../../react-shared-components/UploadIdListToServer":"ivTq"}],"d68N":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-tree",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M3,3H9V7H3V3M15,10H21V14H15V10M15,17H21V21H15V17M13,13H7V18H13V20H7L5,20V9H7V11H13V13Z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"SbWd":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var H=e(require("react")),V=e(require("prop-types"));function e(H){return H&&H.__esModule?H:{default:H}}var t=function(V){var e=V.width,t=V.height,M=V.color,r=V.style;return H.default.createElement("svg",{className:"icon icon-ptable",fill:M||"",viewBox:"2 0 20 20",width:e||"24",height:t||"24",style:r},H.default.createElement("path",{d:"M2,4V6H4V4H2M20,4V6H22V4H20M2,7V9H4V7H2M5,7V9H7V7H5M14,7V9H16V7H14M17,7V9H19V7H17M20,7V9H22V7H20M2,10V12H4V10H2M5,10V12H7V10H5M8,10V12H10V10H8M11,10V12H13V10H11M14,10V12H16V10H14M17,10V12H19V10H17M20,10V12H22V10H20M2,13V15H4V13H2M5,13V15H7V13H5M8,13V15H10V13H8M11,13V15H13V13H11M14,13V15H16V13H14M17,13V15H19V13H17M20,13V15H22V13H20M5,17V19H7V17H5M8,17V19H10V17H8M11,17V19H13V17H11M14,17V19H16V17H14M17,17V19H19V17H17Z"}))},M=t;exports.default=M; },{"react":"SAdv","prop-types":"yu5W"}],"xOKZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types")),a=require("../../../utils/Font"),i=require("../../../ini/ini"),r=l(require("./SketcherOpener")),d=l(require("./ListUpload")),s=l(require("../../../react-shared-components/icons/Tree")),n=l(require("../../../react-shared-components/icons/PTable"));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(t){var l=t.width,c=t.setParams,u=t.hashObject,o=t.trackAction,m=t.entrezOn,p=40*a.FONT_SIZE,f=30*a.FONT_SIZE;return e.default.createElement("div",{className:"splash-buttons p-md-top block-centered"},e.default.createElement("div",{className:l>p?"table-grid with-padding full-width fixed-layout align-center":"flex-container space-around align-center"},e.default.createElement("div",{className:"p-sm "+(l>f?"width-25":" width-50")},e.default.createElement(r.default,{isCompact:l<=p,setParams:c,isOpen:u.draw,trackAction:o,entrezOn:m})),e.default.createElement("div",{className:"p-sm "+(l>f?"width-25":" width-50")},e.default.createElement(d.default,{width:l,bp:p,setParams:c,isOpen:u.upload,trackAction:o,entrezOn:m})),e.default.createElement("div",{className:"p-sm "+(l>f?"width-25":" width-50")},e.default.createElement("a",{className:"button has-icon-top "+(l>p?"width-100 with-padding":""),href:i.HOME_URL+"/classification/","data-ga-action":o,"data-ga-label":"Classification Browser Link"},e.default.createElement(s.default,{width:"3em",height:"3em"}),e.default.createElement("span",{className:"btn-text p-sm-top "+(l>p?"f-1":"f-075")},"Browse Data"))),e.default.createElement("div",{className:"p-sm "+(l>f?"width-25":" width-50")},e.default.createElement("a",{className:"button has-icon-top "+(l>p?"width-100 with-padding":""),href:i.PTABLE_URL,"data-ga-action":o,"data-ga-label":"Periodic Table Link"},e.default.createElement(n.default,{width:"3em",height:"3em"}),e.default.createElement("span",{className:"btn-text p-sm-top "+(l>p?"f-1":"f-075")},"Periodic Table")))))};c.propTypes={width:t.default.number.isRequired,setParams:t.default.func.isRequired,hashObject:t.default.object.isRequired},c.defaultProps={hashObject:{},trackAction:"input-options-icon"};var u=c;exports.default=u; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Font":"i9OY","../../../ini/ini":"wjNQ","./SketcherOpener":"xuol","./ListUpload":"baFa","../../../react-shared-components/icons/Tree":"d68N","../../../react-shared-components/icons/PTable":"SbWd"}],"wKWa":[function(require,module,exports) { "use strict";var e=/(?=(YYYY|YY|MM|DD|HH|mm|ss|ms))\1([:\/]*)/g,t={YYYY:["getFullYear",4],YY:["getFullYear",2],MM:["getMonth",2,1],DD:["getDate",2],HH:["getHours",2],mm:["getMinutes",2],ss:["getSeconds",2],ms:["getMilliseconds",3]},Y=function(Y,s,n){return"string"!=typeof Y&&(s=Y,Y="YYYY-MM-DD"),s||(s=new Date),Y.replace(e,function(e,Y,r){var u=t[Y],g=u[0],i=u[1];return!0===n&&(g="getUTC"+g.slice(3)),("00"+String(s[g]()+(u[2]||0))).slice(-i)+(r||"")})};Y.utc=function(e,t){return Y(e,t,!0)},module.exports=Y; },{}],"WipS":[function(require,module,exports) { "use strict";function t(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0,a=function(){};return{s:a,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function r(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}function e(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var n=require("time-stamp");function o(r,e){var a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;try{a="TIME="+n.utc("YYYY/MM/DD:HH:mm:ss")}catch(c){}var u=!1;try{String(r).match(/\/SDF|\/TXT|\/CSV/i)&&(u=!0)}catch(c){}return fetch(r,{headers:{"Content-Type":(u?"text/plain":"application/json")+"; charset=utf-8"}}).then(function(n){try{if(n.ok)return u?n.text():n.json()}catch(c){throw new Error(e+(u?" INVALID TEXT ":" INVALID JSON ")+a+" URL="+r)}var l="",f=!1;try{var s,h=t(n.headers.entries());try{for(h.s();!(s=h.n()).done;){var y=s.value;"x-throttling-control"===y[0]&&(l=" "+y[0]+"="+y[1]).match(/too many requests|blacklisted/i)&&(f=!0)}}catch(c){h.e(c)}finally{h.f()}}catch(c){}var d=n.status,m=n.statusText;if(!f&&d>=500&&i<2)return o(r,e,i+1);throw new Error(e+": "+d+" "+m+" "+a+" URL="+r+l)}).then(function(t){if(!u){var n="";if(e&&(n+=e),t&&t.Fault)throw t.Fault.Code&&(n+=": "+t.Fault.Code),t.Fault.Message&&(n+=" "+t.Fault.Message),new Error(n+" "+a+" URL="+r)}return t}).catch(function(t){var n=!1;if(t&&t.message?t.message.match(/network|offline|type error|failed to fetch|failed to load|cancel|expected pattern/i)&&(n=!0):n=!0,i<2&&n)return o(r,e,i+1);throw new Error(t.message)})} },{"time-stamp":"wKWa"}],"n1wP":[function(require,module,exports) { var define; var n;!function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e():"function"==typeof n&&n.amd?n(e):this.$script=e()}(0,function(){var n,t,e=document,o=e.getElementsByTagName("head")[0],r=!1,u="push",i="readyState",f="onreadystatechange",c={},a={},l={},s={};function d(n,t){for(var e=0,o=n.length;e<o;++e)if(!t(n[e]))return r;return 1}function h(n,t){d(n,function(n){return t(n),1})}function m(t,e,o){t=t[u]?t:[t];var r=e&&e.call,i=r?e:o,f=r?t.join(""):e,g=t.length;function v(n){return n.call?n():c[n]}function y(){if(!--g)for(var n in c[f]=1,i&&i(),l)d(n.split("|"),v)&&!h(l[n],v)&&(l[n]=[])}return setTimeout(function(){h(t,function t(e,o){return null===e?y():(o||/^https?:\/\//.test(e)||!n||(e=-1===e.indexOf(".js")?n+e+".js":n+e),s[e]?(f&&(a[f]=1),2==s[e]?y():setTimeout(function(){t(e,!0)},0)):(s[e]=1,f&&(a[f]=1),void p(e,y)))})},0),m}function p(n,r){var u,c=e.createElement("script");c.onload=c.onerror=c[f]=function(){c[i]&&!/^c|loade/.test(c[i])||u||(c.onload=c[f]=null,u=1,s[n]=2,r())},c.async=1,c.src=t?n+(-1===n.indexOf("?")?"?":"&")+t:n,o.insertBefore(c,o.lastChild)}return m.get=p,m.order=function(n,t,e){!function o(r){r=n.shift(),n.length?m(r,o):m(r,t,e)}()},m.path=function(t){n=t},m.urlArgs=function(n){t=n},m.ready=function(n,t,e){n=n[u]?n:[n];var o,r=[];return!h(n,function(n){c[n]||r[u](n)})&&d(n,function(n){return c[n]})?t():(o=n.join("|"),l[o]=l[o]||[],l[o][u](t),e&&e(r)),m},m.done=function(n){m([null],n)},m}); },{}],"kEmP":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],r=200,e="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",u="[object Array]",c="[object Boolean]",a="[object Date]",i="[object Error]",f="[object Function]",s="[object GeneratorFunction]",l="[object Map]",p="[object Number]",_="[object Object]",h="[object Promise]",y="[object RegExp]",v="[object Set]",b="[object String]",d="[object Symbol]",j="[object WeakMap]",g="[object ArrayBuffer]",w="[object DataView]",O="[object Float32Array]",m="[object Float64Array]",A="[object Int8Array]",x="[object Int16Array]",S="[object Int32Array]",$="[object Uint8Array]",E="[object Uint8ClampedArray]",I="[object Uint16Array]",P="[object Uint32Array]",F=/[\\^$.*+?()[\]{}|]/g,k=/\w*$/,B=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,M={};M[o]=M[u]=M[g]=M[w]=M[c]=M[a]=M[O]=M[m]=M[A]=M[x]=M[S]=M[l]=M[p]=M[_]=M[y]=M[v]=M[b]=M[d]=M[$]=M[E]=M[I]=M[P]=!0,M[i]=M[f]=M[j]=!1;var D="object"==typeof t&&t&&t.Object===Object&&t,R="object"==typeof self&&self&&self.Object===Object&&self,T=D||R||Function("return this")(),z="object"==typeof exports&&exports&&!exports.nodeType&&exports,C=z&&"object"==typeof module&&module&&!module.nodeType&&module,L=C&&C.exports===z;function V(t,r){return t.set(r[0],r[1]),t}function W(t,r){return t.add(r),t}function G(t,r){for(var e=-1,n=t?t.length:0;++e<n&&!1!==r(t[e],e,t););return t}function N(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t}function q(t,r,e,n){var o=-1,u=t?t.length:0;for(n&&u&&(e=t[++o]);++o<u;)e=r(e,t[o],o,t);return e}function H(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function J(t,r){return null==t?void 0:t[r]}function K(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(e){}return r}function Q(t){var r=-1,e=Array(t.size);return t.forEach(function(t,n){e[++r]=[n,t]}),e}function X(t,r){return function(e){return t(r(e))}}function Y(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e}var Z=Array.prototype,tt=Function.prototype,rt=Object.prototype,et=T["__core-js_shared__"],nt=function(){var t=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ot=tt.toString,ut=rt.hasOwnProperty,ct=rt.toString,at=RegExp("^"+ot.call(ut).replace(F,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=L?T.Buffer:void 0,ft=T.Symbol,st=T.Uint8Array,lt=X(Object.getPrototypeOf,Object),pt=Object.create,_t=rt.propertyIsEnumerable,ht=Z.splice,yt=Object.getOwnPropertySymbols,vt=it?it.isBuffer:void 0,bt=X(Object.keys,Object),dt=Ar(T,"DataView"),jt=Ar(T,"Map"),gt=Ar(T,"Promise"),wt=Ar(T,"Set"),Ot=Ar(T,"WeakMap"),mt=Ar(Object,"create"),At=Ur(dt),xt=Ur(jt),St=Ur(gt),$t=Ur(wt),Et=Ur(Ot),It=ft?ft.prototype:void 0,Pt=It?It.valueOf:void 0;function Ft(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function kt(){this.__data__=mt?mt(null):{}}function Bt(t){return this.has(t)&&delete this.__data__[t]}function Ut(t){var r=this.__data__;if(mt){var n=r[t];return n===e?void 0:n}return ut.call(r,t)?r[t]:void 0}function Mt(t){var r=this.__data__;return mt?void 0!==r[t]:ut.call(r,t)}function Dt(t,r){return this.__data__[t]=mt&&void 0===r?e:r,this}function Rt(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Tt(){this.__data__=[]}function zt(t){var r=this.__data__,e=nr(r,t);return!(e<0)&&(e==r.length-1?r.pop():ht.call(r,e,1),!0)}function Ct(t){var r=this.__data__,e=nr(r,t);return e<0?void 0:r[e][1]}function Lt(t){return nr(this.__data__,t)>-1}function Vt(t,r){var e=this.__data__,n=nr(e,t);return n<0?e.push([t,r]):e[n][1]=r,this}function Wt(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Gt(){this.__data__={hash:new Ft,map:new(jt||Rt),string:new Ft}}function Nt(t){return mr(this,t).delete(t)}function qt(t){return mr(this,t).get(t)}function Ht(t){return mr(this,t).has(t)}function Jt(t,r){return mr(this,t).set(t,r),this}function Kt(t){this.__data__=new Rt(t)}function Qt(){this.__data__=new Rt}function Xt(t){return this.__data__.delete(t)}function Yt(t){return this.__data__.get(t)}function Zt(t){return this.__data__.has(t)}function tr(t,e){var n=this.__data__;if(n instanceof Rt){var o=n.__data__;if(!jt||o.length<r-1)return o.push([t,e]),this;n=this.__data__=new Wt(o)}return n.set(t,e),this}function rr(t,r){var e=Tr(t)||Rr(t)?H(t.length,String):[],n=e.length,o=!!n;for(var u in t)!r&&!ut.call(t,u)||o&&("length"==u||Pr(u,n))||e.push(u);return e}function er(t,r,e){var n=t[r];ut.call(t,r)&&Dr(n,e)&&(void 0!==e||r in t)||(t[r]=e)}function nr(t,r){for(var e=t.length;e--;)if(Dr(t[e][0],r))return e;return-1}function or(t,r){return t&&gr(r,qr(r),t)}function ur(t,r,e,n,u,c,a){var i;if(n&&(i=c?n(t,u,c,a):n(t)),void 0!==i)return i;if(!Gr(t))return t;var l=Tr(t);if(l){if(i=$r(t),!r)return jr(t,i)}else{var p=Sr(t),h=p==f||p==s;if(Lr(t))return lr(t,r);if(p==_||p==o||h&&!c){if(K(t))return c?t:{};if(i=Er(h?{}:t),!r)return wr(t,or(i,t))}else{if(!M[p])return c?t:{};i=Ir(t,p,ur,r)}}a||(a=new Kt);var y=a.get(t);if(y)return y;if(a.set(t,i),!l)var v=e?Or(t):qr(t);return G(v||t,function(o,u){v&&(o=t[u=o]),er(i,u,ur(o,r,e,n,u,t,a))}),i}function cr(t){return Gr(t)?pt(t):{}}function ar(t,r,e){var n=r(t);return Tr(t)?n:N(n,e(t))}function ir(t){return ct.call(t)}function fr(t){return!(!Gr(t)||kr(t))&&(Vr(t)||K(t)?at:B).test(Ur(t))}function sr(t){if(!Br(t))return bt(t);var r=[];for(var e in Object(t))ut.call(t,e)&&"constructor"!=e&&r.push(e);return r}function lr(t,r){if(r)return t.slice();var e=new t.constructor(t.length);return t.copy(e),e}function pr(t){var r=new t.constructor(t.byteLength);return new st(r).set(new st(t)),r}function _r(t,r){var e=r?pr(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function hr(t,r,e){return q(r?e(Q(t),!0):Q(t),V,new t.constructor)}function yr(t){var r=new t.constructor(t.source,k.exec(t));return r.lastIndex=t.lastIndex,r}function vr(t,r,e){return q(r?e(Y(t),!0):Y(t),W,new t.constructor)}function br(t){return Pt?Object(Pt.call(t)):{}}function dr(t,r){var e=r?pr(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function jr(t,r){var e=-1,n=t.length;for(r||(r=Array(n));++e<n;)r[e]=t[e];return r}function gr(t,r,e,n){e||(e={});for(var o=-1,u=r.length;++o<u;){var c=r[o],a=n?n(e[c],t[c],c,e,t):void 0;er(e,c,void 0===a?t[c]:a)}return e}function wr(t,r){return gr(t,xr(t),r)}function Or(t){return ar(t,qr,xr)}function mr(t,r){var e=t.__data__;return Fr(r)?e["string"==typeof r?"string":"hash"]:e.map}function Ar(t,r){var e=J(t,r);return fr(e)?e:void 0}Ft.prototype.clear=kt,Ft.prototype.delete=Bt,Ft.prototype.get=Ut,Ft.prototype.has=Mt,Ft.prototype.set=Dt,Rt.prototype.clear=Tt,Rt.prototype.delete=zt,Rt.prototype.get=Ct,Rt.prototype.has=Lt,Rt.prototype.set=Vt,Wt.prototype.clear=Gt,Wt.prototype.delete=Nt,Wt.prototype.get=qt,Wt.prototype.has=Ht,Wt.prototype.set=Jt,Kt.prototype.clear=Qt,Kt.prototype.delete=Xt,Kt.prototype.get=Yt,Kt.prototype.has=Zt,Kt.prototype.set=tr;var xr=yt?X(yt,Object):Hr,Sr=ir;function $r(t){var r=t.length,e=t.constructor(r);return r&&"string"==typeof t[0]&&ut.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function Er(t){return"function"!=typeof t.constructor||Br(t)?{}:cr(lt(t))}function Ir(t,r,e,n){var o=t.constructor;switch(r){case g:return pr(t);case c:case a:return new o(+t);case w:return _r(t,n);case O:case m:case A:case x:case S:case $:case E:case I:case P:return dr(t,n);case l:return hr(t,n,e);case p:case b:return new o(t);case y:return yr(t);case v:return vr(t,n,e);case d:return br(t)}}function Pr(t,r){return!!(r=null==r?n:r)&&("number"==typeof t||U.test(t))&&t>-1&&t%1==0&&t<r}function Fr(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}function kr(t){return!!nt&&nt in t}function Br(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||rt)}function Ur(t){if(null!=t){try{return ot.call(t)}catch(r){}try{return t+""}catch(r){}}return""}function Mr(t){return ur(t,!0,!0)}function Dr(t,r){return t===r||t!=t&&r!=r}function Rr(t){return Cr(t)&&ut.call(t,"callee")&&(!_t.call(t,"callee")||ct.call(t)==o)}(dt&&Sr(new dt(new ArrayBuffer(1)))!=w||jt&&Sr(new jt)!=l||gt&&Sr(gt.resolve())!=h||wt&&Sr(new wt)!=v||Ot&&Sr(new Ot)!=j)&&(Sr=function(t){var r=ct.call(t),e=r==_?t.constructor:void 0,n=e?Ur(e):void 0;if(n)switch(n){case At:return w;case xt:return l;case St:return h;case $t:return v;case Et:return j}return r});var Tr=Array.isArray;function zr(t){return null!=t&&Wr(t.length)&&!Vr(t)}function Cr(t){return Nr(t)&&zr(t)}var Lr=vt||Jr;function Vr(t){var r=Gr(t)?ct.call(t):"";return r==f||r==s}function Wr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function Gr(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function Nr(t){return!!t&&"object"==typeof t}function qr(t){return zr(t)?rr(t):sr(t)}function Hr(){return[]}function Jr(){return!1}module.exports=Mr; },{}],"X5vv":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=c;var t=require("../utils-logging/Log"),e=a(require("../utils/PCFEStorage")),r=a(require("./generic-fetch")),o=require("../ini/ini");function a(t){return t&&t.__esModule?t:{default:t}}var n=require("scriptjs"),u=require("lodash.clonedeep"),s=require("lodash.findindex"),i="sessionStorage";function c(a,c){return new Promise(function(t,e){n(o.LIB_SPHINX,"sphinx"),n.ready("sphinx",function(){window.Sphinx?t(window.Sphinx):e("Failed to load SPHINX-API.")})}).then(function(){var o=Sphinx.query(a,"counts"!==a.view);if((0,t.DEBUG_LOG_START)("sdq: Sphinx.query - input/output"),(0,t.DEBUG_LOG)(a),(0,t.DEBUG_LOG)(o),(0,t.DEBUG_LOG_END)("sdq: Spinx.query"),o&&o.url_relative){var n,d=o.url_relative.replace("outfmt=jsonp","outfmt=json");c&&"counts"===a.view?d=d.replace('"collection":"*"',c):window.VIEWCODE&&(d+="&viewcode="+window.VIEWCODE),a.input_type&&"text"!==a.input_type&&(d=d.replace('{"'.concat(a.query_type||"*",'":"').concat(a.query,'"'),'{"'.concat(a.input_type,'":"').concat(a.query,'"')));var l=1e3;try{var _=e.default.getItem("sdq_"+d,i);_&&(n=JSON.parse(_))&&n.timestamp&&(l=(Date.now()-n.timestamp)/36e5)}catch(p){}return n&&l<2?new Promise(function(t,e){t(n)}):(0,r.default)(d,"SDQ FETCH ERROR").then(function(r){if("counts"!==a.view){var n=u(r);try{n.timestamp=Date.now(),n.query=a.query,n.collection=o.validated_params.collection,n.sort=o.validated_params.sort,n.sort_dir=o.validated_params.sort_dir,n.validated_params=o.validated_params;var c=Sphinx.query(Object.assign({},a,{download:!0,start:1}));n.downloadUrl=c.url_relative,a.query_subtype&&(n.downloadUrl=c.url_relative.replace('{"'.concat(a.query_type,'":"').concat(a.query,'"'),'{"'.concat(a.query_subtype,'":"').concat(a.query,'"')));try{0===n.SDQOutputSet[0].status.code&&e.default.setItem("sdq_"+d,JSON.stringify(n),i)}catch(p){var l="Error in sdq_output_format function... trying to save to "+i+".";(0,t.DEBUG_LOG_START)(l),(0,t.DEBUG_LOG)(p.message),(0,t.DEBUG_LOG_END)(l)}}catch(p){var _="Error in sdq_output_format function...";throw(0,t.DEBUG_LOG_START)(_),(0,t.DEBUG_LOG)(p.message),(0,t.DEBUG_LOG_END)(_),new Error("Could not format results from sdq return... "+p.message)}finally{return n}}else{var f=Sphinx.config_search_ui;try{"string"==typeof r&&(r=JSON.parse(r));for(var y=r.SDQOutputSet,m=u(f),q={query:a.query,timestamp:Date.now(),count:0,raw:y,status:0,errMessage:[]},v=0;v<m.length;v++){var E=s(y,{collection:m[v].name});E>-1&&(m[v].count=y[E].totalCount,y[E].status.code<q.status&&(q.status=y[E].status.code,q.errMessage.push(y[E].status.error)))}return q.data=m.filter(function(t){return t.count>0}),0===q.status&&e.default.setItem("sdq_"+d,JSON.stringify(q),i),q}catch(p){var w="Error in sdq_count_format function...";throw(0,t.DEBUG_LOG_START)(w),(0,t.DEBUG_LOG)(p.message),(0,t.DEBUG_LOG_END)(w),new Error("Could not format results from SDQ counts return... "+p.message)}}})}throw new Error("Could not form a valid SDQ query with provided input: \n"+o.errors.join("\n"))})} },{"../utils-logging/Log":"LH3n","../utils/PCFEStorage":"mx2d","./generic-fetch":"WipS","../ini/ini":"wjNQ","scriptjs":"n1wP","lodash.clonedeep":"kEmP","lodash.findindex":"vX4j"}],"KrIt":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-keyboard-arrow-right",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),e.default.createElement("path",{d:"M0-.25h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"A2xh":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ReadMoreLink=void 0;var e=l(require("react")),t=a(require("prop-types")),r=a(require("./icons/KeyboardArrowRight"));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}var o=function(t){var a=t.url,n=t.anchor,l=t.title,o=t.nowrap,i=t.trackAction,u=t.trackLabel,c=n.split(/\s+/),d=c.pop();return e.default.createElement("a",{href:a,className:"inline-block",title:l,"data-ga-action":i,"data-ga-label":u},o?e.default.createElement("div",{className:"nowrap"},e.default.createElement("span",null,n),e.default.createElement(r.default,{width:"2em",height:"2em"})):e.default.createElement(e.Fragment,null,e.default.createElement("span",{className:"f-medium"},c.join(" ")," "),e.default.createElement("span",{className:"inline-block f-medium"},d,e.default.createElement(r.default,{width:"2em",height:"2em"}))))};exports.ReadMoreLink=o,o.propTypes={anchor:t.default.string.isRequired,url:t.default.string.isRequired,title:t.default.string,nowrap:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},o.defaultProps={anchor:"Read More",nowrap:!1,title:"",trackAction:"read-more-link",trackLabel:"Read More"};var i=o;exports.default=i; },{"react":"SAdv","prop-types":"yu5W","./icons/KeyboardArrowRight":"KrIt"}],"CQi8":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./GoogleAnalytics"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){var r=t.message;e.default.event({action:"fetch-error",label:(r.match(/FETCH/i)?"":"FETCH ERROR: ")+t.message})} },{"./GoogleAnalytics":"z7bP"}],"ARLZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Stats=void 0;var e=i(require("react")),t=o(require("prop-types")),r=require("../../../ini/ini"),n=o(require("../../../data-fetchers/sdq-fetch")),a=o(require("../../../react-shared-components/ReadMoreLink")),u=o(require("../../../utils-logging/log-fetch-error"));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var o=a?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}function c(e,t){return m(e)||d(e,t)||f(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,u=[],o=!0,l=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);o=!0);}catch(i){l=!0,a=i}finally{try{o||null==r.return||r.return()}finally{if(l)throw a}}return u}}function m(e){if(Array.isArray(e))return e}var b=function(t){var o=c((0,e.useState)([]),2),l=o[0],i=o[1],s=c((0,e.useState)(!1),2),f=s[0],p=s[1],d=c((0,e.useState)(!1),2),m=d[0],b=d[1];return(0,e.useEffect)(function(){(0,n.default)({collection:"generic",view:"counts",query:"*"},'"collection":"'+r.STATS_COLLECTIONS+'"').then(function(e){i(e.data),p(!0)}).catch(function(e){b(!0),p(!0),(0,u.default)(e)})},[]),e.default.createElement(e.Fragment,null,e.default.createElement("ul",{className:"unstyled-list inline-block flex-container flex-nowrap single-line"},f&&!m&&l.map(function(t){return e.default.createElement("li",{key:t.name,className:"p-l-right nowrap"},e.default.createElement("span",{className:"f-2 f-lighter"},(r=t.count,Math.abs(Number(r))>=1e9?Math.abs(Number(r))/1e9+"B":Math.abs(Number(r))>=1e6?Math.round(Math.abs(Number(r))/1e6)+"M":Math.abs(Number(r))>=1e3?Math.round(Math.abs(Number(r))/1e3)+"K":Math.abs(Number(r)))),e.default.createElement("span",{className:"p-sm-left"},t.display_name));var r})),e.default.createElement("div",{className:"p-sm-top"},e.default.createElement(a.default,{url:"https://pubchemdocs.ncbi.nlm.nih.gov/statistics",trackAction:t.trackAction,trackLabel:"Data Statistics Link",anchor:m?"See Data Counts":"See More Statistics"})))};exports.Stats=b,b.propTypes={trackAction:t.default.string},b.defaultProps={trackAction:"NONE"};var y=b;exports.default=y; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../data-fetchers/sdq-fetch":"X5vv","../../../react-shared-components/ReadMoreLink":"A2xh","../../../utils-logging/log-fetch-error":"CQi8"}],"aGdZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=require("../ini/ini"),o=t(require("./generic-fetch"));function t(e){return e&&e.__esModule?e:{default:e}}function a(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,o.default)(e.SOURCES_BASE_URL,"SOURCES FETCH ERROR").then(function(e){return t?e.Table.Row.length:s(e)})}function s(e){for(var o=[],t=e.Table,a=t.Columns.Column,s=0;s<t.Row.length;s++){o.push({Row:t.Row[s].Cell.join(",")});for(var n=[],u=0;u<t.Row[s].Cell.length;u++)if(o[s][a[u]]=t.Row[s].Cell[u],t.Row[s].Cell[u])switch(a[u]){case"Live Substance Count":n.push("Live Substances");break;case"On-Hold Substance Count":n.push("On-Hold Substances");break;case"Live BioAssay Count":n.push("Live BioAssays");break;case"On-Hold BioAssay Count":n.push("On-Hold BioAssays");break;case"Classification Count":n.push("Classifications");break;case"Annotation Count":n.push("Annotations");break;case"Pathway Count":n.push("Pathways")}o[s]["Data Type"]=n.join(","),o[s]["Source Category"].match(/legacy/i)?(o[s].Status="Legacy",o[s]["Source Category"]=o[s]["Source Category"].replace(/,*\s*Legacy Depositors,*\s*/,"")):o[s].Status="Active",o[s]["Source Category"].trim()||(o[s]["Source Category"]="None"),"Korea (South)"===o[s].Country&&(o[s].Country="South Korea")}return o} },{"../ini/ini":"wjNQ","./generic-fetch":"WipS","process":"FT5O"}],"oY2U":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SourcesCount=void 0;var e=c(require("react")),t=u(require("prop-types")),r=require("../../../ini/ini"),n=u(require("../../../data-fetchers/sources-fetch")),a=u(require("../../../utils-logging/log-fetch-error")),o=u(require("../../../react-shared-components/ReadMoreLink"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=a?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function i(e,t){return y(e)||d(e,t)||s(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],u=!0,l=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);u=!0);}catch(c){l=!0,a=c}finally{try{u||null==r.return||r.return()}finally{if(l)throw a}}return o}}function y(e){if(Array.isArray(e))return e}var m=function(t){var u=i((0,e.useState)(void 0),2),l=u[0],c=u[1],f=i((0,e.useState)(!1),2),s=f[0],p=f[1],d=i((0,e.useState)(!1),2),y=d[0],m=d[1];return(0,e.useEffect)(function(){(0,n.default)(!0).then(function(e){c(e),p(!0)}).catch(function(e){m(!0),p(!0),(0,a.default)(e)})},[]),y?null:e.default.createElement(e.Fragment,null,e.default.createElement("div",{className:"flex-container flex-nowrap single-line"},e.default.createElement("div",{className:s?"":"opacity-0"},e.default.createElement("span",{class:"f-2 f-lighter"},s?e.default.createElement("span",null,l):e.default.createElement("span",null,"聽聽聽")),e.default.createElement("span",{className:"p-sm-left"},"Data Sources"))),e.default.createElement("div",{className:"p-sm-top"},e.default.createElement(o.default,{url:r.SOURCES_URL,trackAction:t.trackAction,trackLabel:"Sources Statistics Link",anchor:"Explore Data Sources",nowrap:!0})))};exports.SourcesCount=m,m.propTypes={trackAction:t.default.string},m.defaultProps={trackAction:"NONE"};var v=m;exports.default=v; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../data-fetchers/sources-fetch":"aGdZ","../../../utils-logging/log-fetch-error":"CQi8","../../../react-shared-components/ReadMoreLink":"A2xh"}],"kQiF":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.StatsBar=void 0;var e=c(require("react")),t=c(require("prop-types")),a=require("../../../utils/Font"),r=c(require("./Stats")),l=c(require("./SourcesCount")),s=c(require("../../../react-shared-components/ReadMoreLink")),i=require("../../../ini/ini");function c(e){return e&&e.__esModule?e:{default:e}}var n=function(t){var c=t.width,n=t.trackAction;return c>30*a.FONT_SIZE?e.default.createElement("div",{className:"mini-section stats bckg-gray-lightest"},e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:"flex-container flex-nowrap"},e.default.createElement("div",{className:"flex-grow-1"},e.default.createElement(r.default,{trackAction:n})),e.default.createElement("div",{className:"p-md-left b-left"},e.default.createElement(l.default,{trackAction:n}))))):e.default.createElement("div",{className:"mini-section stats bckg-gray-lightest"},e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:"flex-container full-width space-between"},e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(s.default,{url:"https://pubchemdocs.ncbi.nlm.nih.gov/statistics",trackAction:n,trackLabel:"Data Statistics Link",anchor:"Data Counts"})),e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(s.default,{url:i.SOURCES_URL,trackAction:n,trackLabel:"Sources Statistics Link",anchor:"Data Sources"})))))};exports.StatsBar=n,n.propTypes={width:t.default.number.isRequired,trackAction:t.default.string},n.defaultProps={trackAction:"stats-bar-link"};var u=n;exports.default=u; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Font":"i9OY","./Stats":"ARLZ","./SourcesCount":"oY2U","../../../react-shared-components/ReadMoreLink":"A2xh","../../../ini/ini":"wjNQ"}],"UY6a":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.AnimatedFlask=void 0;var e=a(require("react"));function a(e){return e&&e.__esModule?e:{default:e}}var t=function(){return e.default.createElement("div",{id:"flask"},e.default.createElement("div",{className:"background"}),e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 113 130"},e.default.createElement("g",null,e.default.createElement("path",{fill:"#fff",d:"M0,0v130h112.084L111.75,0H0z M94.75,128C71,128,56,128,56,128s-14.873,0-38.623,0s-13.945-19.422-6.33-35.945S40,41.25,40,41.25V3h16h11v38.25c0,0,23.901,34.283,31.517,50.805S118.5,128,94.75,128z"}),e.default.createElement("path",{fill:"none",stroke:"#aeb0b5",strokeWidth:"5",strokeMiterlimit:"10",d:"M56,127.5c0,0-14.873,0-38.623,0s-13.695-19.172-6.08-35.695C18.912,75.283,40.5,41.25,40.5,41.25V2.5h-9H56h19.5h-8v38.75c0,0,23.651,34.033,31.267,50.555c7.615,16.523,19.733,35.695-4.017,35.695S56,127.5,56,127.5z"}))),e.default.createElement("div",{className:"bubble b0"}),e.default.createElement("div",{className:"bubble b1"}),e.default.createElement("div",{className:"bubble b2"}),e.default.createElement("div",{className:"bubble b3"}),e.default.createElement("div",{className:"bubble b4"}),e.default.createElement("div",{className:"bubble b5"}),e.default.createElement("div",{className:"bubble b6"}),e.default.createElement("div",{className:"bubble b7"}),e.default.createElement("div",{className:"bubble b8"}),e.default.createElement("div",{className:"bubble b9"}),e.default.createElement("div",{className:"swirl s0"}),e.default.createElement("div",{className:"swirl s1"}),e.default.createElement("div",{className:"swirl s2"}),e.default.createElement("div",{className:"swirl s3"}),e.default.createElement("div",{className:"swirl s4"}),e.default.createElement("div",{className:"swirl s5"}))};exports.AnimatedFlask=t;var l=t;exports.default=l; },{"react":"SAdv"}],"QhGu":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.WhatIsPubChem=void 0;var e=l(require("react")),t=l(require("prop-types")),a=require("../../../utils/Font"),r=l(require("../../../react-shared-components/loader-animations/AnimatedFlask")),i=l(require("../../../react-shared-components/ReadMoreLink"));function l(e){return e&&e.__esModule?e:{default:e}}var n=function(t){var l=t.width,n=50*a.FONT_SIZE,c={main:{paddingBottom:l>n?"225px":0}};return e.default.createElement("div",{className:"mini-section bckg-white"},e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:"centered-block"},e.default.createElement("h3",{className:"section-heading f-gray"},"What is PubChem?"),e.default.createElement("div",{className:"relative",style:c.main},e.default.createElement("div",{className:l>n?"f-125":""},e.default.createElement("p",null,"PubChem is the world's largest collection of freely accessible chemical information. Search chemicals by name, molecular formula, structure, and other identifiers. Find chemical and physical properties, biological activities, safety and toxicity information, patents, literature citations and more."),e.default.createElement("p",null,"We are constantly adding new data and working on improving interfaces to chemical information. Please check back often!"),e.default.createElement("div",{className:"align-left"},e.default.createElement(i.default,{url:"https://pubchemdocs.ncbi.nlm.nih.gov/about",trackAction:"feature-link",trackLabel:"Learn More About PubChem Link",anchor:"Learn More About PubChem"}))),l>n&&e.default.createElement("div",{className:"absolute bottom-0 right-0 print-hidden"},e.default.createElement(r.default,null))))))};exports.WhatIsPubChem=n,n.propTypes={width:t.default.number.isRequired};var c=n;exports.default=c; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Font":"i9OY","../../../react-shared-components/loader-animations/AnimatedFlask":"UY6a","../../../react-shared-components/ReadMoreLink":"A2xh"}],"hSzb":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=r(require("prop-types")),a=r(require("./SketcherOpener")),l=r(require("../../../utils/FormatCount"));function r(e){return e&&e.__esModule?e:{default:e}}function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(n=function(e){return e?a:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=n(t);if(a&&a.has(e))return a.get(e);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=r?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(l,u,s):l[u]=e[u]}return l.default=e,a&&a.set(e,l),l}var s=function(t){t.width;var r=t.hashObject,n=t.qInterpretBlob,u=t.setParams,s=r.query,c=n.original_type,i=n.type||void 0,f=n.typeArr||void 0,d=f&&f.indexOf("smiles")>-1,m=f&&f.indexOf("smarts")>-1,o="formulaquery"===c,p=e.default.createElement("div",{className:"inline-block p-sm-left p-sm-right"},e.default.createElement("div",{className:"bckg-gray-lightest inline-block"},e.default.createElement(a.default,{seedSmiles:"structure_by_cid"===i?n.UID_VALUE:s,showEditText:!0,isCompact:!1,setParams:u,isOpen:r.draw,trackAction:"query-interpret-structure-edit-button"}))),y=e.default.createElement("a",{href:"#query=".concat(s,"&input_type=smiles"),className:"f-bold","data-ga-action":"query-interpret-link","data-ga-label":"query-interpret-switch-to-smiles"},"SMILES"),E=e.default.createElement("a",{href:"#query=".concat(s,"&input_type=smarts"),className:"f-bold","data-ga-action":"query-interpret-link","data-ga-label":"query-interpret-switch-to-smarts"},"SMARTS"),h=e.default.createElement("a",{href:"#query=".concat(s),className:"f-bold","data-ga-action":"query-interpret-link","data-ga-label":"query-interpret-switch-to-formula"},"Molecular Formula");function g(){var t=null,a=e.default.createElement("span",null," Search for ",e.default.createElement("a",{href:"#query=".concat(s,"&input_type=text"),"data-ga-action":"query-interpret-link","data-ga-label":"query-interpret-switch-to-text",className:"f-bold"},s," as text")," instead. ");switch(i){case"cache":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a previously computed list of ",e.default.createElement("span",{className:"uppercase"},(0,l.default)(n.cache_size)||""," ",n.cache_id_type||""," "),"identifiers. "));break;case"number":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a numerical identifier look up. "),s.length>1&&!c?a:null);break;case"id_list":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a list of numerical identifiers. "),s.length>1&&s.length<15&&!c?a:null);break;case"list":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a previously computed list of ",e.default.createElement("span",{className:"uppercase"},r.id_type," "),"identifiers. "));break;case"structure_by_cid":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,e.default.createElement("span",null,"a structure search for CID ",n.UID_VALUE,". "),p),a);break;case"formulaquery":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a molecular formula query. "),d&&e.default.createElement("span",null," Switch to ",y," or ",E,"."),s.length>1&&!c?a:null);break;case"inchi":t=e.default.createElement("span",null,e.default.createElement("span",null,"a structure search for an InChI identifier. "),p);break;case"inchikey":t=e.default.createElement("span",null,"a compound search for an InChIKey identifier. ");break;case"smarts":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,e.default.createElement("span",null,"a SMARTS query. Note that substructure search is the only supported search type for SMARTS. ",d&&e.default.createElement("span",null,"Switch to ",y,o&&e.default.createElement("span",null," or ",h),".")),p),"text"!==c&&s.length>1&&s.length<15&&a);break;case"smiles":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,e.default.createElement("span",null,"a structure search for a SMILES identifier. Switch to ",E,o&&e.default.createElement("span",null," or ",h),"."),p),"text"!==c&&s.length>1&&s.length<15&&a);break;case"array":t=e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a previous search result ID list expansion to another linked data type. Note that this functionality is still in ",e.default.createElement("span",{className:"beta"},"尾eta")," stage. "));break;case"text":t=c&&"text"!==c||n.clean_query!==n.query?e.default.createElement("span",null,"a text search",n.clean_query&&n.clean_query!==n.query&&e.default.createElement(e.Fragment,null," for ",e.default.createElement("i",null,n.clean_query)),". "):e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"a text search. "),(d||m||o)&&e.default.createElement("span",null,"Search for ",e.default.createElement("b",null,e.default.createElement("i",null,s))," as ",d&&y,d&&e.default.createElement(e.Fragment,null," or "),m&&E," ",(d||m)&&o&&e.default.createElement(e.Fragment,null," or "),o&&h," instead."))}return t}var b=g();return e.default.createElement("div",{className:"f-0875 f-normal align-left p-xsm-top"},e.default.createElement("div",{className:"f-lh-15"},b?e.default.createElement(e.Fragment,null,e.default.createElement("span",null,"Treating this as "),g(),!c||c===i||"smarts"===i&&"smiles"===c||i.match(/^sm/)&&"formulaquery"===c?null:e.default.createElement("span",null,"Search for ",e.default.createElement("a",{href:"#query=".concat(s),"data-ga-action":"query-interpret-link","data-ga-label":"query-interpret-switch-to-"+c,className:"f-bold"},s," as ",{number:"numerical identifier",id_list:"a list of numerical identifiers",text:"text",formulaquery:"molecular formula",smiles:"SMILES",smarts:"SMARTS",inchi:"InChI",inchikey:"InChIKey",structure_by_cid:"structure"}[c])," ","smiles"===c&&e.default.createElement("span",null,"or ",E),"formulaquery"===c&&d&&e.default.createElement("span",null," or ",y),"formulaquery"===c&&m&&e.default.createElement("span",null," or ",E)," instead."),n.suggestion&&!d&&e.default.createElement("div",null,n.suggestion)):e.default.createElement(e.Fragment,null,"聽")))};s.propTypes={width:t.default.number.isRequired,hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,setParams:t.default.func.isRequired};var c=s;exports.default=c; },{"react":"SAdv","prop-types":"yu5W","./SketcherOpener":"xuol","../../../utils/FormatCount":"W5bu"}],"mKZu":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.EmptyResultMessage=void 0;var e=s(require("react")),t=s(require("prop-types"));function s(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var s=t.message;return e.default.createElement("div",{className:"align-left p-md-top p-md-bottom"},e.default.createElement("div",{className:"p-md bckg-gray-lightest b-left b-thick"},s))};exports.EmptyResultMessage=r,r.propTypes={message:t.default.node},r.defaultProps={message:"0 results found..."};var a=r;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"j6K6":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Tabs=void 0;var e=r(require("react")),t=r(require("prop-types")),a=r(require("../utils/FormatCount")),l=r(require("./CustomSelect"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(t){var r=t.tabs,i=t.activeTabIndex,n=t.tabStyle,o=t.isDropdown,u=t.label,d=t.menuTitle,c=t.trackAction,s=t.trackLabel,b="overline"===n?" capitalized bckg-gray-lightest f-bold":"capitalized f-bold",f=" f-gray b-thick "+("overline"===n?"b-top b-light":"b-bottom b-white"),m=" f-active b-active b-thick b-light "+("overline"===n?"b-top":"b-bottom");return e.default.createElement(e.default.Fragment,null,o?e.default.createElement("div",{className:"width-100"},e.default.createElement(l.default,{value:r[i].name,label:u,labelOnTop:!0,menuTitle:d,options:r,backgroundClassName:"bckg-active-strongest b-active f-white",trackAction:c,trackLabel:s})):e.default.createElement("ul",{className:"unstyled-list flex-container width-100 f-medium f-gray "+b},r.map(function(t,l){var r=e.default.createElement("div",{className:"f-lh-115 p-sm-top p-sm-bottom p-2vw-left p-2vw-right width-100 align-center "+(l===i?m:f)},e.default.createElement("div",null,t.display_name||t.name),void 0!==t.count&&e.default.createElement("div",{className:"p-xsm-top"},"(",(0,a.default)(t.count),")"));return e.default.createElement("li",{key:t.name},l===i?r:e.default.createElement("a",{href:t.url,className:"block","data-ga-action":c,"data-ga-label":s+": "+(t.display_name||t.name)},r))})))};exports.Tabs=i,i.propTypes={tabs:t.default.array.isRequired,activeTabIndex:t.default.number,tabStyle:t.default.oneOf(["overline","underline"]),isDropdown:t.default.bool,menuTitle:t.default.string,label:t.default.string,trackAction:t.default.string,trackLabel:t.default.string},i.defaultProps={activeTabIndex:0,tabStyle:"underline",isDropdown:!1,label:"",menuTitle:"Please Choose One",trackAction:"tab",trackLabel:"Tab"};var n=i;exports.default=n; },{"react":"SAdv","prop-types":"yu5W","../utils/FormatCount":"W5bu","./CustomSelect":"jlAm"}],"Dk4a":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],o=function(t){return t&&t.Math==Math&&t};module.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(); },{}],"asmW":[function(require,module,exports) { module.exports=function(r){try{return!!r()}catch(t){return!0}}; },{}],"X1JT":[function(require,module,exports) { var e=require("../internals/fails");module.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}); },{"../internals/fails":"asmW"}],"uc7O":[function(require,module,exports) { "use strict";var r={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,t=e&&!r.call({1:2},1);exports.f=t?function(r){var t=e(this,r);return!!t&&t.enumerable}:r; },{}],"kdQM":[function(require,module,exports) { module.exports=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}}; },{}],"A16N":[function(require,module,exports) { var r={}.toString;module.exports=function(t){return r.call(t).slice(8,-1)}; },{}],"oO0E":[function(require,module,exports) { var r=require("../internals/fails"),e=require("../internals/classof-raw"),t="".split;module.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(r){return"String"==e(r)?t.call(r,""):Object(r)}:Object; },{"../internals/fails":"asmW","../internals/classof-raw":"A16N"}],"b5Y8":[function(require,module,exports) { module.exports=function(o){if(null==o)throw TypeError("Can't call method on "+o);return o}; },{}],"abBn":[function(require,module,exports) { var e=require("../internals/indexed-object"),r=require("../internals/require-object-coercible");module.exports=function(i){return e(r(i))}; },{"../internals/indexed-object":"oO0E","../internals/require-object-coercible":"b5Y8"}],"UiYU":[function(require,module,exports) { module.exports=function(o){return"object"==typeof o?null!==o:"function"==typeof o}; },{}],"Re1f":[function(require,module,exports) { var n=require("../internals/global"),e=function(n){return"function"==typeof n?n:void 0};module.exports=function(r,t){return arguments.length<2?e(n[r]):n[r]&&n[r][t]}; },{"../internals/global":"Dk4a"}],"Xm2y":[function(require,module,exports) { var e=require("../internals/get-built-in");module.exports=e("navigator","userAgent")||""; },{"../internals/get-built-in":"Re1f"}],"EZlU":[function(require,module,exports) { var e,r,n=require("../internals/global"),s=require("../internals/engine-user-agent"),i=n.process,o=n.Deno,a=i&&i.versions||o&&o.version,t=a&&a.v8;t?r=(e=t.split("."))[0]<4?1:e[0]+e[1]:s&&(!(e=s.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=s.match(/Chrome\/(\d+)/))&&(r=e[1]),module.exports=r&&+r; },{"../internals/global":"Dk4a","../internals/engine-user-agent":"Xm2y"}],"Y4sB":[function(require,module,exports) { var e=require("../internals/engine-v8-version"),r=require("../internals/fails");module.exports=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&e&&e<41}); },{"../internals/engine-v8-version":"EZlU","../internals/fails":"asmW"}],"abdp":[function(require,module,exports) { var e=require("../internals/native-symbol");module.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator; },{"../internals/native-symbol":"Y4sB"}],"kJDf":[function(require,module,exports) { var e=require("../internals/get-built-in"),n=require("../internals/use-symbol-as-uid");module.exports=n?function(e){return"symbol"==typeof e}:function(n){var t=e("Symbol");return"function"==typeof t&&Object(n)instanceof t}; },{"../internals/get-built-in":"Re1f","../internals/use-symbol-as-uid":"abdp"}],"HdkQ":[function(require,module,exports) { var t=require("../internals/is-object");module.exports=function(r,n){var e,i;if("string"===n&&"function"==typeof(e=r.toString)&&!t(i=e.call(r)))return i;if("function"==typeof(e=r.valueOf)&&!t(i=e.call(r)))return i;if("string"!==n&&"function"==typeof(e=r.toString)&&!t(i=e.call(r)))return i;throw TypeError("Can't convert object to primitive value")}; },{"../internals/is-object":"UiYU"}],"no9j":[function(require,module,exports) { module.exports=!1; },{}],"cFza":[function(require,module,exports) { var e=require("../internals/global");module.exports=function(r,t){try{Object.defineProperty(e,r,{value:t,configurable:!0,writable:!0})}catch(a){e[r]=t}return t}; },{"../internals/global":"Dk4a"}],"h5r9":[function(require,module,exports) { var e=require("../internals/global"),r=require("../internals/set-global"),l="__core-js_shared__",a=e[l]||r(l,{});module.exports=a; },{"../internals/global":"Dk4a","../internals/set-global":"cFza"}],"L7Q5":[function(require,module,exports) { var r=require("../internals/is-pure"),e=require("../internals/shared-store");(module.exports=function(r,i){return e[r]||(e[r]=void 0!==i?i:{})})("versions",[]).push({version:"3.16.3",mode:r?"pure":"global",copyright:"漏 2021 Denis Pushkarev (zloirock.ru)"}); },{"../internals/is-pure":"no9j","../internals/shared-store":"h5r9"}],"hZH0":[function(require,module,exports) { var e=require("../internals/require-object-coercible");module.exports=function(r){return Object(e(r))}; },{"../internals/require-object-coercible":"b5Y8"}],"jhgR":[function(require,module,exports) { var e=require("../internals/to-object"),r={}.hasOwnProperty;module.exports=Object.hasOwn||function(t,n){return r.call(e(t),n)}; },{"../internals/to-object":"hZH0"}],"hBVz":[function(require,module,exports) { var o=0,r=Math.random();module.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++o+r).toString(36)}; },{}],"P9SP":[function(require,module,exports) { var e=require("../internals/global"),r=require("../internals/shared"),i=require("../internals/has"),n=require("../internals/uid"),t=require("../internals/native-symbol"),s=require("../internals/use-symbol-as-uid"),l=r("wks"),u=e.Symbol,a=s?u:u&&u.withoutSetter||n;module.exports=function(e){return i(l,e)&&(t||"string"==typeof l[e])||(t&&i(u,e)?l[e]=u[e]:l[e]=a("Symbol."+e)),l[e]}; },{"../internals/global":"Dk4a","../internals/shared":"L7Q5","../internals/has":"jhgR","../internals/uid":"hBVz","../internals/native-symbol":"Y4sB","../internals/use-symbol-as-uid":"abdp"}],"DnpN":[function(require,module,exports) { var r=require("../internals/is-object"),e=require("../internals/is-symbol"),i=require("../internals/ordinary-to-primitive"),t=require("../internals/well-known-symbol"),n=t("toPrimitive");module.exports=function(t,o){if(!r(t)||e(t))return t;var l,u=t[n];if(void 0!==u){if(void 0===o&&(o="default"),l=u.call(t,o),!r(l)||e(l))return l;throw TypeError("Can't convert object to primitive value")}return void 0===o&&(o="number"),i(t,o)}; },{"../internals/is-object":"UiYU","../internals/is-symbol":"kJDf","../internals/ordinary-to-primitive":"HdkQ","../internals/well-known-symbol":"P9SP"}],"Baco":[function(require,module,exports) { var r=require("../internals/to-primitive"),i=require("../internals/is-symbol");module.exports=function(e){var n=r(e,"string");return i(n)?n:String(n)}; },{"../internals/to-primitive":"DnpN","../internals/is-symbol":"kJDf"}],"KIX7":[function(require,module,exports) { var e=require("../internals/global"),r=require("../internals/is-object"),t=e.document,n=r(t)&&r(t.createElement);module.exports=function(e){return n?t.createElement(e):{}}; },{"../internals/global":"Dk4a","../internals/is-object":"UiYU"}],"QiUK":[function(require,module,exports) { var e=require("../internals/descriptors"),r=require("../internals/fails"),n=require("../internals/document-create-element");module.exports=!e&&!r(function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}); },{"../internals/descriptors":"X1JT","../internals/fails":"asmW","../internals/document-create-element":"KIX7"}],"Chxa":[function(require,module,exports) { var e=require("../internals/descriptors"),r=require("../internals/object-property-is-enumerable"),t=require("../internals/create-property-descriptor"),i=require("../internals/to-indexed-object"),n=require("../internals/to-property-key"),o=require("../internals/has"),s=require("../internals/ie8-dom-define"),a=Object.getOwnPropertyDescriptor;exports.f=e?a:function(e,c){if(e=i(e),c=n(c),s)try{return a(e,c)}catch(p){}if(o(e,c))return t(!r.f.call(e,c),e[c])}; },{"../internals/descriptors":"X1JT","../internals/object-property-is-enumerable":"uc7O","../internals/create-property-descriptor":"kdQM","../internals/to-indexed-object":"abBn","../internals/to-property-key":"Baco","../internals/has":"jhgR","../internals/ie8-dom-define":"QiUK"}],"YTgW":[function(require,module,exports) { var r=require("../internals/is-object");module.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}; },{"../internals/is-object":"UiYU"}],"ab1b":[function(require,module,exports) { var e=require("../internals/descriptors"),r=require("../internals/ie8-dom-define"),t=require("../internals/an-object"),n=require("../internals/to-property-key"),i=Object.defineProperty;exports.f=e?i:function(e,o,s){if(t(e),o=n(o),t(s),r)try{return i(e,o,s)}catch(u){}if("get"in s||"set"in s)throw TypeError("Accessors not supported");return"value"in s&&(e[o]=s.value),e}; },{"../internals/descriptors":"X1JT","../internals/ie8-dom-define":"QiUK","../internals/an-object":"YTgW","../internals/to-property-key":"Baco"}],"QcOb":[function(require,module,exports) { var r=require("../internals/descriptors"),e=require("../internals/object-define-property"),t=require("../internals/create-property-descriptor");module.exports=r?function(r,n,i){return e.f(r,n,t(1,i))}:function(r,e,t){return r[e]=t,r}; },{"../internals/descriptors":"X1JT","../internals/object-define-property":"ab1b","../internals/create-property-descriptor":"kdQM"}],"g8Lf":[function(require,module,exports) { var e=require("../internals/shared-store"),n=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(e){return n.call(e)}),module.exports=e.inspectSource; },{"../internals/shared-store":"h5r9"}],"M1Di":[function(require,module,exports) { var e=require("../internals/global"),r=require("../internals/inspect-source"),t=e.WeakMap;module.exports="function"==typeof t&&/native code/.test(r(t)); },{"../internals/global":"Dk4a","../internals/inspect-source":"g8Lf"}],"MWVK":[function(require,module,exports) { var e=require("../internals/shared"),r=require("../internals/uid"),n=e("keys");module.exports=function(e){return n[e]||(n[e]=r(e))}; },{"../internals/shared":"L7Q5","../internals/uid":"hBVz"}],"xNX7":[function(require,module,exports) { module.exports={}; },{}],"BXu9":[function(require,module,exports) { var e,r,n,t=require("../internals/native-weak-map"),a=require("../internals/global"),i=require("../internals/is-object"),u=require("../internals/create-non-enumerable-property"),o=require("../internals/has"),l=require("../internals/shared-store"),s=require("../internals/shared-key"),c=require("../internals/hidden-keys"),f="Object already initialized",d=a.WeakMap,p=function(t){return n(t)?r(t):e(t,{})},h=function(e){return function(n){var t;if(!i(n)||(t=r(n)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return t}};if(t||l.state){var q=l.state||(l.state=new d),y=q.get,w=q.has,v=q.set;e=function(e,r){if(w.call(q,e))throw new TypeError(f);return r.facade=e,v.call(q,e,r),r},r=function(e){return y.call(q,e)||{}},n=function(e){return w.call(q,e)}}else{var b=s("state");c[b]=!0,e=function(e,r){if(o(e,b))throw new TypeError(f);return r.facade=e,u(e,b,r),r},r=function(e){return o(e,b)?e[b]:{}},n=function(e){return o(e,b)}}module.exports={set:e,get:r,has:n,enforce:p,getterFor:h}; },{"../internals/native-weak-map":"M1Di","../internals/global":"Dk4a","../internals/is-object":"UiYU","../internals/create-non-enumerable-property":"QcOb","../internals/has":"jhgR","../internals/shared-store":"h5r9","../internals/shared-key":"MWVK","../internals/hidden-keys":"xNX7"}],"eC1e":[function(require,module,exports) { var e=require("../internals/global"),n=require("../internals/create-non-enumerable-property"),r=require("../internals/has"),t=require("../internals/set-global"),i=require("../internals/inspect-source"),o=require("../internals/internal-state"),s=o.get,a=o.enforce,u=String(String).split("String");(module.exports=function(i,o,s,l){var c,p=!!l&&!!l.unsafe,f=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet;"function"==typeof s&&("string"!=typeof o||r(s,"name")||n(s,"name",o),(c=a(s)).source||(c.source=u.join("string"==typeof o?o:""))),i!==e?(p?!g&&i[o]&&(f=!0):delete i[o],f?i[o]=s:n(i,o,s)):f?i[o]=s:t(o,s)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||i(this)}); },{"../internals/global":"Dk4a","../internals/create-non-enumerable-property":"QcOb","../internals/has":"jhgR","../internals/set-global":"cFza","../internals/inspect-source":"g8Lf","../internals/internal-state":"BXu9"}],"Lq7S":[function(require,module,exports) { var o=Math.ceil,r=Math.floor;module.exports=function(t){return isNaN(t=+t)?0:(t>0?r:o)(t)}; },{}],"IuvA":[function(require,module,exports) { var e=require("../internals/to-integer"),r=Math.min;module.exports=function(n){return n>0?r(e(n),9007199254740991):0}; },{"../internals/to-integer":"Lq7S"}],"nFG2":[function(require,module,exports) { var r=require("../internals/to-integer"),e=Math.max,t=Math.min;module.exports=function(n,a){var i=r(n);return i<0?e(i+a,0):t(i,a)}; },{"../internals/to-integer":"Lq7S"}],"Os2z":[function(require,module,exports) { var e=require("../internals/to-indexed-object"),r=require("../internals/to-length"),n=require("../internals/to-absolute-index"),t=function(t){return function(i,u,o){var l,f=e(i),s=r(f.length),a=n(o,s);if(t&&u!=u){for(;s>a;)if((l=f[a++])!=l)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===u)return t||a||0;return!t&&-1}};module.exports={includes:t(!0),indexOf:t(!1)}; },{"../internals/to-indexed-object":"abBn","../internals/to-length":"IuvA","../internals/to-absolute-index":"nFG2"}],"OMJe":[function(require,module,exports) { var e=require("../internals/has"),r=require("../internals/to-indexed-object"),n=require("../internals/array-includes").indexOf,i=require("../internals/hidden-keys");module.exports=function(s,t){var u,a=r(s),d=0,l=[];for(u in a)!e(i,u)&&e(a,u)&&l.push(u);for(;t.length>d;)e(a,u=t[d++])&&(~n(l,u)||l.push(u));return l}; },{"../internals/has":"jhgR","../internals/to-indexed-object":"abBn","../internals/array-includes":"Os2z","../internals/hidden-keys":"xNX7"}],"LcAu":[function(require,module,exports) { module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]; },{}],"QFJ3":[function(require,module,exports) { var e=require("../internals/object-keys-internal"),r=require("../internals/enum-bug-keys"),t=r.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(r){return e(r,t)}; },{"../internals/object-keys-internal":"OMJe","../internals/enum-bug-keys":"LcAu"}],"ZVeN":[function(require,module,exports) { exports.f=Object.getOwnPropertySymbols; },{}],"IKOE":[function(require,module,exports) { var e=require("../internals/get-built-in"),r=require("../internals/object-get-own-property-names"),n=require("../internals/object-get-own-property-symbols"),t=require("../internals/an-object");module.exports=e("Reflect","ownKeys")||function(e){var o=r.f(t(e)),i=n.f;return i?o.concat(i(e)):o}; },{"../internals/get-built-in":"Re1f","../internals/object-get-own-property-names":"QFJ3","../internals/object-get-own-property-symbols":"ZVeN","../internals/an-object":"YTgW"}],"nsgC":[function(require,module,exports) { var e=require("../internals/has"),r=require("../internals/own-keys"),n=require("../internals/object-get-own-property-descriptor"),t=require("../internals/object-define-property");module.exports=function(i,o){for(var a=r(o),s=t.f,l=n.f,p=0;p<a.length;p++){var u=a[p];e(i,u)||s(i,u,l(o,u))}}; },{"../internals/has":"jhgR","../internals/own-keys":"IKOE","../internals/object-get-own-property-descriptor":"Chxa","../internals/object-define-property":"ab1b"}],"Q0IW":[function(require,module,exports) { var r=require("../internals/fails"),e=/#|\.prototype\./,t=function(e,t){var u=o[n(e)];return u==i||u!=a&&("function"==typeof t?r(t):!!t)},n=t.normalize=function(r){return String(r).replace(e,".").toLowerCase()},o=t.data={},a=t.NATIVE="N",i=t.POLYFILL="P";module.exports=t; },{"../internals/fails":"asmW"}],"HcUp":[function(require,module,exports) { var e=require("../internals/global"),r=require("../internals/object-get-own-property-descriptor").f,t=require("../internals/create-non-enumerable-property"),n=require("../internals/redefine"),o=require("../internals/set-global"),i=require("../internals/copy-constructor-properties"),a=require("../internals/is-forced");module.exports=function(s,l){var p,u,f,c,q,d=s.target,g=s.global,y=s.stat;if(p=g?e:y?e[d]||o(d,{}):(e[d]||{}).prototype)for(u in l){if(c=l[u],f=s.noTargetGet?(q=r(p,u))&&q.value:p[u],!a(g?u:d+(y?".":"#")+u,s.forced)&&void 0!==f){if(typeof c==typeof f)continue;i(c,f)}(s.sham||f&&f.sham)&&t(c,"sham",!0),n(p,u,c,s)}}; },{"../internals/global":"Dk4a","../internals/object-get-own-property-descriptor":"Chxa","../internals/create-non-enumerable-property":"QcOb","../internals/redefine":"eC1e","../internals/set-global":"cFza","../internals/copy-constructor-properties":"nsgC","../internals/is-forced":"Q0IW"}],"QEsI":[function(require,module,exports) { module.exports=function(n){if("function"!=typeof n)throw TypeError(String(n)+" is not a function");return n}; },{}],"gNOr":[function(require,module,exports) { var e=require("../internals/object-keys-internal"),r=require("../internals/enum-bug-keys");module.exports=Object.keys||function(n){return e(n,r)}; },{"../internals/object-keys-internal":"OMJe","../internals/enum-bug-keys":"LcAu"}],"eP3N":[function(require,module,exports) { var e=require("../internals/descriptors"),r=require("../internals/object-define-property"),n=require("../internals/an-object"),t=require("../internals/object-keys");module.exports=e?Object.defineProperties:function(e,i){n(e);for(var o,s=t(i),a=s.length,u=0;a>u;)r.f(e,o=s[u++],i[o]);return e}; },{"../internals/descriptors":"X1JT","../internals/object-define-property":"ab1b","../internals/an-object":"YTgW","../internals/object-keys":"gNOr"}],"LvFd":[function(require,module,exports) { var e=require("../internals/get-built-in");module.exports=e("document","documentElement"); },{"../internals/get-built-in":"Re1f"}],"OOXt":[function(require,module,exports) { var e,n=require("../internals/an-object"),r=require("../internals/object-define-properties"),t=require("../internals/enum-bug-keys"),i=require("../internals/hidden-keys"),u=require("../internals/html"),o=require("../internals/document-create-element"),c=require("../internals/shared-key"),l=">",a="<",d="prototype",s="script",f=c("IE_PROTO"),m=function(){},p=function(e){return a+s+l+e+a+"/"+s+l},v=function(e){e.write(p("")),e.close();var n=e.parentWindow.Object;return e=null,n},y=function(){var e,n=o("iframe"),r="java"+s+":";return n.style.display="none",u.appendChild(n),n.src=String(r),(e=n.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F},b=function(){try{e=new ActiveXObject("htmlfile")}catch(r){}b="undefined"!=typeof document?document.domain&&e?v(e):y():v(e);for(var n=t.length;n--;)delete b[d][t[n]];return b()};i[f]=!0,module.exports=Object.create||function(e,t){var i;return null!==e?(m[d]=n(e),i=new m,m[d]=null,i[f]=e):i=b(),void 0===t?i:r(i,t)}; },{"../internals/an-object":"YTgW","../internals/object-define-properties":"eP3N","../internals/enum-bug-keys":"LcAu","../internals/hidden-keys":"xNX7","../internals/html":"LvFd","../internals/document-create-element":"KIX7","../internals/shared-key":"MWVK"}],"il53":[function(require,module,exports) { "use strict";var n=require("../internals/a-function"),t=require("../internals/is-object"),r=[].slice,e={},i=function(n,t,r){if(!(t in e)){for(var i=[],o=0;o<t;o++)i[o]="a["+o+"]";e[t]=Function("C,a","return new C("+i.join(",")+")")}return e[t](n,r)};module.exports=Function.bind||function(e){var o=n(this),a=r.call(arguments,1),c=function(){var n=a.concat(r.call(arguments));return this instanceof c?i(o,n.length,n):o.apply(e,n)};return t(o.prototype)&&(c.prototype=o.prototype),c}; },{"../internals/a-function":"QEsI","../internals/is-object":"UiYU"}],"L4mw":[function(require,module,exports) { var e=require("../internals/export"),n=require("../internals/get-built-in"),r=require("../internals/a-function"),t=require("../internals/an-object"),i=require("../internals/is-object"),u=require("../internals/object-create"),a=require("../internals/function-bind"),c=require("../internals/fails"),s=n("Reflect","construct"),l=c(function(){function e(){}return!(s(function(){},[],e)instanceof e)}),o=!c(function(){s(function(){})}),f=l||o;e({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,n){r(e),t(n);var c=arguments.length<3?e:r(arguments[2]);if(o&&!l)return s(e,n,c);if(e==c){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var f=[null];return f.push.apply(f,n),new(a.apply(e,f))}var p=c.prototype,q=u(i(p)?p:Object.prototype),w=Function.apply.call(e,q,n);return i(w)?w:q}}); },{"../internals/export":"HcUp","../internals/get-built-in":"Re1f","../internals/a-function":"QEsI","../internals/an-object":"YTgW","../internals/is-object":"UiYU","../internals/object-create":"OOXt","../internals/function-bind":"il53","../internals/fails":"asmW"}],"bluD":[function(require,module,exports) { var r=require("../internals/classof-raw");module.exports=Array.isArray||function(a){return"Array"==r(a)}; },{"../internals/classof-raw":"A16N"}],"kMrP":[function(require,module,exports) { var r=require("../internals/is-symbol");module.exports=function(n){if(r(n))throw TypeError("Cannot convert a Symbol value to a string");return String(n)}; },{"../internals/is-symbol":"kJDf"}],"f5Un":[function(require,module,exports) { var e=require("../internals/to-indexed-object"),t=require("../internals/object-get-own-property-names").f,r={}.toString,n="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(e){try{return t(e)}catch(r){return n.slice()}};module.exports.f=function(i){return n&&"[object Window]"==r.call(i)?o(i):t(e(i))}; },{"../internals/to-indexed-object":"abBn","../internals/object-get-own-property-names":"QFJ3"}],"dIgK":[function(require,module,exports) { var e=require("../internals/well-known-symbol");exports.f=e; },{"../internals/well-known-symbol":"P9SP"}],"jVm7":[function(require,module,exports) { var e=require("../internals/global");module.exports=e; },{"../internals/global":"Dk4a"}],"qwG5":[function(require,module,exports) { var e=require("../internals/path"),r=require("../internals/has"),n=require("../internals/well-known-symbol-wrapped"),l=require("../internals/object-define-property").f;module.exports=function(a){var i=e.Symbol||(e.Symbol={});r(i,a)||l(i,a,{value:n.f(a)})}; },{"../internals/path":"jVm7","../internals/has":"jhgR","../internals/well-known-symbol-wrapped":"dIgK","../internals/object-define-property":"ab1b"}],"XyNr":[function(require,module,exports) { var e=require("../internals/object-define-property").f,r=require("../internals/has"),n=require("../internals/well-known-symbol"),o=n("toStringTag");module.exports=function(n,t,i){n&&!r(n=i?n:n.prototype,o)&&e(n,o,{configurable:!0,value:t})}; },{"../internals/object-define-property":"ab1b","../internals/has":"jhgR","../internals/well-known-symbol":"P9SP"}],"xlqj":[function(require,module,exports) { var n=require("../internals/a-function");module.exports=function(r,t,e){if(n(r),void 0===t)return r;switch(e){case 0:return function(){return r.call(t)};case 1:return function(n){return r.call(t,n)};case 2:return function(n,e){return r.call(t,n,e)};case 3:return function(n,e,u){return r.call(t,n,e,u)}}return function(){return r.apply(t,arguments)}}; },{"../internals/a-function":"QEsI"}],"oRWC":[function(require,module,exports) { var r=require("../internals/is-object"),e=require("../internals/is-array"),n=require("../internals/well-known-symbol"),o=n("species");module.exports=function(n){var i;return e(n)&&("function"!=typeof(i=n.constructor)||i!==Array&&!e(i.prototype)?r(i)&&null===(i=i[o])&&(i=void 0):i=void 0),void 0===i?Array:i}; },{"../internals/is-object":"UiYU","../internals/is-array":"bluD","../internals/well-known-symbol":"P9SP"}],"hvnf":[function(require,module,exports) { var r=require("../internals/array-species-constructor");module.exports=function(e,n){return new(r(e))(0===n?0:n)}; },{"../internals/array-species-constructor":"oRWC"}],"aJu7":[function(require,module,exports) { var e=require("../internals/function-bind-context"),r=require("../internals/indexed-object"),n=require("../internals/to-object"),t=require("../internals/to-length"),i=require("../internals/array-species-create"),a=[].push,c=function(c){var s=1==c,l=2==c,u=3==c,o=4==c,f=6==c,d=7==c,h=5==c||f;return function(q,v,p,x){for(var b,j,m=n(q),g=r(m),w=e(v,p,3),y=t(g.length),E=0,I=x||i,R=s?I(q,y):l||d?I(q,0):void 0;y>E;E++)if((h||E in g)&&(j=w(b=g[E],E,m),c))if(s)R[E]=j;else if(j)switch(c){case 3:return!0;case 5:return b;case 6:return E;case 2:a.call(R,b)}else switch(c){case 4:return!1;case 7:a.call(R,b)}return f?-1:u||o?o:R}};module.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}; },{"../internals/function-bind-context":"xlqj","../internals/indexed-object":"oO0E","../internals/to-object":"hZH0","../internals/to-length":"IuvA","../internals/array-species-create":"hvnf"}],"x4QL":[function(require,module,exports) { "use strict";var e=require("../internals/export"),r=require("../internals/global"),t=require("../internals/get-built-in"),n=require("../internals/is-pure"),i=require("../internals/descriptors"),o=require("../internals/native-symbol"),s=require("../internals/fails"),a=require("../internals/has"),u=require("../internals/is-array"),l=require("../internals/is-object"),c=require("../internals/is-symbol"),f=require("../internals/an-object"),p=require("../internals/to-object"),y=require("../internals/to-indexed-object"),b=require("../internals/to-property-key"),q=require("../internals/to-string"),d=require("../internals/create-property-descriptor"),g=require("../internals/object-create"),h=require("../internals/object-keys"),m=require("../internals/object-get-own-property-names"),v=require("../internals/object-get-own-property-names-external"),w=require("../internals/object-get-own-property-symbols"),j=require("../internals/object-get-own-property-descriptor"),O=require("../internals/object-define-property"),S=require("../internals/object-property-is-enumerable"),k=require("../internals/create-non-enumerable-property"),P=require("../internals/redefine"),E=require("../internals/shared"),x=require("../internals/shared-key"),N=require("../internals/hidden-keys"),F=require("../internals/uid"),J=require("../internals/well-known-symbol"),T=require("../internals/well-known-symbol-wrapped"),C=require("../internals/define-well-known-symbol"),D=require("../internals/set-to-string-tag"),I=require("../internals/internal-state"),Q=require("../internals/array-iteration").forEach,z=x("hidden"),A="Symbol",B="prototype",G=J("toPrimitive"),H=I.set,K=I.getterFor(A),L=Object[B],M=r.Symbol,R=t("JSON","stringify"),U=j.f,V=O.f,W=v.f,X=S.f,Y=E("symbols"),Z=E("op-symbols"),$=E("string-to-symbol-registry"),_=E("symbol-to-string-registry"),ee=E("wks"),re=r.QObject,te=!re||!re[B]||!re[B].findChild,ne=i&&s(function(){return 7!=g(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a})?function(e,r,t){var n=U(L,r);n&&delete L[r],V(e,r,t),n&&e!==L&&V(L,r,n)}:V,ie=function(e,r){var t=Y[e]=g(M[B]);return H(t,{type:A,tag:e,description:r}),i||(t.description=r),t},oe=function(e,r,t){e===L&&oe(Z,r,t),f(e);var n=b(r);return f(t),a(Y,n)?(t.enumerable?(a(e,z)&&e[z][n]&&(e[z][n]=!1),t=g(t,{enumerable:d(0,!1)})):(a(e,z)||V(e,z,d(1,{})),e[z][n]=!0),ne(e,n,t)):V(e,n,t)},se=function(e,r){f(e);var t=y(r),n=h(t).concat(fe(t));return Q(n,function(r){i&&!ue.call(t,r)||oe(e,r,t[r])}),e},ae=function(e,r){return void 0===r?g(e):se(g(e),r)},ue=function(e){var r=b(e),t=X.call(this,r);return!(this===L&&a(Y,r)&&!a(Z,r))&&(!(t||!a(this,r)||!a(Y,r)||a(this,z)&&this[z][r])||t)},le=function(e,r){var t=y(e),n=b(r);if(t!==L||!a(Y,n)||a(Z,n)){var i=U(t,n);return!i||!a(Y,n)||a(t,z)&&t[z][n]||(i.enumerable=!0),i}},ce=function(e){var r=W(y(e)),t=[];return Q(r,function(e){a(Y,e)||a(N,e)||t.push(e)}),t},fe=function(e){var r=e===L,t=W(r?Z:y(e)),n=[];return Q(t,function(e){!a(Y,e)||r&&!a(L,e)||n.push(Y[e])}),n};if(o||(P((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?q(arguments[0]):void 0,r=F(e),t=function(e){this===L&&t.call(Z,e),a(this,z)&&a(this[z],r)&&(this[z][r]=!1),ne(this,r,d(1,e))};return i&&te&&ne(L,r,{configurable:!0,set:t}),ie(r,e)})[B],"toString",function(){return K(this).tag}),P(M,"withoutSetter",function(e){return ie(F(e),e)}),S.f=ue,O.f=oe,j.f=le,m.f=v.f=ce,w.f=fe,T.f=function(e){return ie(J(e),e)},i&&(V(M[B],"description",{configurable:!0,get:function(){return K(this).description}}),n||P(L,"propertyIsEnumerable",ue,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!o,sham:!o},{Symbol:M}),Q(h(ee),function(e){C(e)}),e({target:A,stat:!0,forced:!o},{for:function(e){var r=q(e);if(a($,r))return $[r];var t=M(r);return $[r]=t,_[t]=r,t},keyFor:function(e){if(!c(e))throw TypeError(e+" is not a symbol");if(a(_,e))return _[e]},useSetter:function(){te=!0},useSimple:function(){te=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!i},{create:ae,defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:le}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:ce,getOwnPropertySymbols:fe}),e({target:"Object",stat:!0,forced:s(function(){w.f(1)})},{getOwnPropertySymbols:function(e){return w.f(p(e))}}),R){var pe=!o||s(function(){var e=M();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))});e({target:"JSON",stat:!0,forced:pe},{stringify:function(e,r,t){for(var n,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=r,(l(r)||void 0!==e)&&!c(e))return u(r)||(r=function(e,r){if("function"==typeof n&&(r=n.call(this,e,r)),!c(r))return r}),i[1]=r,R.apply(null,i)}})}M[B][G]||k(M[B],G,M[B].valueOf),D(M,A),N[z]=!0; },{"../internals/export":"HcUp","../internals/global":"Dk4a","../internals/get-built-in":"Re1f","../internals/is-pure":"no9j","../internals/descriptors":"X1JT","../internals/native-symbol":"Y4sB","../internals/fails":"asmW","../internals/has":"jhgR","../internals/is-array":"bluD","../internals/is-object":"UiYU","../internals/is-symbol":"kJDf","../internals/an-object":"YTgW","../internals/to-object":"hZH0","../internals/to-indexed-object":"abBn","../internals/to-property-key":"Baco","../internals/to-string":"kMrP","../internals/create-property-descriptor":"kdQM","../internals/object-create":"OOXt","../internals/object-keys":"gNOr","../internals/object-get-own-property-names":"QFJ3","../internals/object-get-own-property-names-external":"f5Un","../internals/object-get-own-property-symbols":"ZVeN","../internals/object-get-own-property-descriptor":"Chxa","../internals/object-define-property":"ab1b","../internals/object-property-is-enumerable":"uc7O","../internals/create-non-enumerable-property":"QcOb","../internals/redefine":"eC1e","../internals/shared":"L7Q5","../internals/shared-key":"MWVK","../internals/hidden-keys":"xNX7","../internals/uid":"hBVz","../internals/well-known-symbol":"P9SP","../internals/well-known-symbol-wrapped":"dIgK","../internals/define-well-known-symbol":"qwG5","../internals/set-to-string-tag":"XyNr","../internals/internal-state":"BXu9","../internals/array-iteration":"aJu7"}],"IhZV":[function(require,module,exports) { "use strict";var r=require("../internals/export"),e=require("../internals/descriptors"),t=require("../internals/global"),i=require("../internals/has"),o=require("../internals/is-object"),n=require("../internals/object-define-property").f,s=require("../internals/copy-constructor-properties"),a=t.Symbol;if(e&&"function"==typeof a&&(!("description"in a.prototype)||void 0!==a().description)){var l={},c=function(){var r=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof c?new a(r):void 0===r?a():a(r);return""===r&&(l[e]=!0),e};s(c,a);var p=c.prototype=a.prototype;p.constructor=c;var u=p.toString,v="Symbol(test)"==String(a("test")),f=/^Symbol\((.*)\)[^)]+$/;n(p,"description",{configurable:!0,get:function(){var r=o(this)?this.valueOf():this,e=u.call(r);if(i(l,r))return"";var t=v?e.slice(7,-1):e.replace(f,"$1");return""===t?void 0:t}}),r({global:!0,forced:!0},{Symbol:c})} },{"../internals/export":"HcUp","../internals/descriptors":"X1JT","../internals/global":"Dk4a","../internals/has":"jhgR","../internals/is-object":"UiYU","../internals/object-define-property":"ab1b","../internals/copy-constructor-properties":"nsgC"}],"Hjdo":[function(require,module,exports) { var e=require("../internals/well-known-symbol"),r=e("toStringTag"),n={};n[r]="z",module.exports="[object z]"===String(n); },{"../internals/well-known-symbol":"P9SP"}],"ubVB":[function(require,module,exports) { var n=require("../internals/to-string-tag-support"),r=require("../internals/classof-raw"),t=require("../internals/well-known-symbol"),e=t("toStringTag"),u="Arguments"==r(function(){return arguments}()),i=function(n,r){try{return n[r]}catch(t){}};module.exports=n?r:function(n){var t,o,l;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(o=i(t=Object(n),e))?o:u?r(t):"Object"==(l=r(t))&&"function"==typeof t.callee?"Arguments":l}; },{"../internals/to-string-tag-support":"Hjdo","../internals/classof-raw":"A16N","../internals/well-known-symbol":"P9SP"}],"q1gI":[function(require,module,exports) { "use strict";var t=require("../internals/to-string-tag-support"),r=require("../internals/classof");module.exports=t?{}.toString:function(){return"[object "+r(this)+"]"}; },{"../internals/to-string-tag-support":"Hjdo","../internals/classof":"ubVB"}],"y4Jd":[function(require,module,exports) { var e=require("../internals/to-string-tag-support"),r=require("../internals/redefine"),t=require("../internals/object-to-string");e||r(Object.prototype,"toString",t,{unsafe:!0}); },{"../internals/to-string-tag-support":"Hjdo","../internals/redefine":"eC1e","../internals/object-to-string":"q1gI"}],"zEdh":[function(require,module,exports) { var e=require("../internals/define-well-known-symbol");e("iterator"); },{"../internals/define-well-known-symbol":"qwG5"}],"phus":[function(require,module,exports) { var e=require("../internals/well-known-symbol"),r=require("../internals/object-create"),n=require("../internals/object-define-property"),l=e("unscopables"),o=Array.prototype;null==o[l]&&n.f(o,l,{configurable:!0,value:r(null)}),module.exports=function(e){o[l][e]=!0}; },{"../internals/well-known-symbol":"P9SP","../internals/object-create":"OOXt","../internals/object-define-property":"ab1b"}],"XBAZ":[function(require,module,exports) { var t=require("../internals/fails");module.exports=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}); },{"../internals/fails":"asmW"}],"EalW":[function(require,module,exports) { var t=require("../internals/has"),e=require("../internals/to-object"),r=require("../internals/shared-key"),o=require("../internals/correct-prototype-getter"),n=r("IE_PROTO"),c=Object.prototype;module.exports=o?Object.getPrototypeOf:function(r){return r=e(r),t(r,n)?r[n]:"function"==typeof r.constructor&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?c:null}; },{"../internals/has":"jhgR","../internals/to-object":"hZH0","../internals/shared-key":"MWVK","../internals/correct-prototype-getter":"XBAZ"}],"CVww":[function(require,module,exports) { "use strict";var e,r,t,n=require("../internals/fails"),i=require("../internals/object-get-prototype-of"),o=require("../internals/create-non-enumerable-property"),a=require("../internals/has"),l=require("../internals/well-known-symbol"),s=require("../internals/is-pure"),u=l("iterator"),p=!1,c=function(){return this};[].keys&&("next"in(t=[].keys())?(r=i(i(t)))!==Object.prototype&&(e=r):p=!0);var y=null==e||n(function(){var r={};return e[u].call(r)!==r});y&&(e={}),s&&!y||a(e,u)||o(e,u,c),module.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}; },{"../internals/fails":"asmW","../internals/object-get-prototype-of":"EalW","../internals/create-non-enumerable-property":"QcOb","../internals/has":"jhgR","../internals/well-known-symbol":"P9SP","../internals/is-pure":"no9j"}],"Lk67":[function(require,module,exports) { "use strict";var r=require("../internals/iterators-core").IteratorPrototype,e=require("../internals/object-create"),t=require("../internals/create-property-descriptor"),i=require("../internals/set-to-string-tag"),n=require("../internals/iterators"),o=function(){return this};module.exports=function(a,s,u){var c=s+" Iterator";return a.prototype=e(r,{next:t(1,u)}),i(a,c,!1,!0),n[c]=o,a}; },{"../internals/iterators-core":"CVww","../internals/object-create":"OOXt","../internals/create-property-descriptor":"kdQM","../internals/set-to-string-tag":"XyNr","../internals/iterators":"xNX7"}],"e8mR":[function(require,module,exports) { var r=require("../internals/is-object");module.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}; },{"../internals/is-object":"UiYU"}],"p70i":[function(require,module,exports) { var t=require("../internals/an-object"),r=require("../internals/a-possible-prototype");module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,o=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),o=n instanceof Array}catch(c){}return function(n,c){return t(n),r(c),o?e.call(n,c):n.__proto__=c,n}}():void 0); },{"../internals/an-object":"YTgW","../internals/a-possible-prototype":"e8mR"}],"MMdT":[function(require,module,exports) { "use strict";var e=require("../internals/export"),r=require("../internals/create-iterator-constructor"),t=require("../internals/object-get-prototype-of"),n=require("../internals/object-set-prototype-of"),i=require("../internals/set-to-string-tag"),o=require("../internals/create-non-enumerable-property"),s=require("../internals/redefine"),a=require("../internals/well-known-symbol"),u=require("../internals/is-pure"),c=require("../internals/iterators"),l=require("../internals/iterators-core"),f=l.IteratorPrototype,p=l.BUGGY_SAFARI_ITERATORS,q=a("iterator"),y="keys",w="values",b="entries",h=function(){return this};module.exports=function(a,l,g,m,v,A,I){r(g,l,m);var d,j,k,x=function(e){if(e===v&&T)return T;if(!p&&e in O)return O[e];switch(e){case y:case w:case b:return function(){return new g(this,e)}}return function(){return new g(this)}},R=l+" Iterator",G=!1,O=a.prototype,S=O[q]||O["@@iterator"]||v&&O[v],T=!p&&S||x(v),_="Array"==l&&O.entries||S;if(_&&(d=t(_.call(new a)),f!==Object.prototype&&d.next&&(u||t(d)===f||(n?n(d,f):"function"!=typeof d[q]&&o(d,q,h)),i(d,R,!0,!0),u&&(c[R]=h))),v==w&&S&&S.name!==w&&(G=!0,T=function(){return S.call(this)}),u&&!I||O[q]===T||o(O,q,T),c[l]=T,v)if(j={values:x(w),keys:A?T:x(y),entries:x(b)},I)for(k in j)!p&&!G&&k in O||s(O,k,j[k]);else e({target:l,proto:!0,forced:p||G},j);return j}; },{"../internals/export":"HcUp","../internals/create-iterator-constructor":"Lk67","../internals/object-get-prototype-of":"EalW","../internals/object-set-prototype-of":"p70i","../internals/set-to-string-tag":"XyNr","../internals/create-non-enumerable-property":"QcOb","../internals/redefine":"eC1e","../internals/well-known-symbol":"P9SP","../internals/is-pure":"no9j","../internals/iterators":"xNX7","../internals/iterators-core":"CVww"}],"lfZF":[function(require,module,exports) { "use strict";var e=require("../internals/to-indexed-object"),r=require("../internals/add-to-unscopables"),t=require("../internals/iterators"),n=require("../internals/internal-state"),a=require("../internals/define-iterator"),i="Array Iterator",s=n.set,u=n.getterFor(i);module.exports=a(Array,"Array",function(r,t){s(this,{type:i,target:e(r),index:0,kind:t})},function(){var e=u(this),r=e.target,t=e.kind,n=e.index++;return!r||n>=r.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==t?{value:n,done:!1}:"values"==t?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}},"values"),t.Arguments=t.Array,r("keys"),r("values"),r("entries"); },{"../internals/to-indexed-object":"abBn","../internals/add-to-unscopables":"phus","../internals/iterators":"xNX7","../internals/internal-state":"BXu9","../internals/define-iterator":"MMdT"}],"DF5L":[function(require,module,exports) { var e=require("../internals/to-integer"),r=require("../internals/to-string"),t=require("../internals/require-object-coercible"),n=function(n){return function(i,o){var c,a,u=r(t(i)),l=e(o),s=u.length;return l<0||l>=s?n?"":void 0:(c=u.charCodeAt(l))<55296||c>56319||l+1===s||(a=u.charCodeAt(l+1))<56320||a>57343?n?u.charAt(l):c:n?u.slice(l,l+2):a-56320+(c-55296<<10)+65536}};module.exports={codeAt:n(!1),charAt:n(!0)}; },{"../internals/to-integer":"Lq7S","../internals/to-string":"kMrP","../internals/require-object-coercible":"b5Y8"}],"RCom":[function(require,module,exports) { "use strict";var t=require("../internals/string-multibyte").charAt,e=require("../internals/to-string"),r=require("../internals/internal-state"),n=require("../internals/define-iterator"),i="String Iterator",s=r.set,a=r.getterFor(i);n(String,"String",function(t){s(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?{value:void 0,done:!0}:(e=t(n,i),r.index+=e.length,{value:e,done:!1})}); },{"../internals/string-multibyte":"DF5L","../internals/to-string":"kMrP","../internals/internal-state":"BXu9","../internals/define-iterator":"MMdT"}],"ctNs":[function(require,module,exports) { module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}; },{}],"Lrdu":[function(require,module,exports) { var r=require("../internals/global"),e=require("../internals/dom-iterables"),a=require("../modules/es.array.iterator"),i=require("../internals/create-non-enumerable-property"),t=require("../internals/well-known-symbol"),n=t("iterator"),o=t("toStringTag"),l=a.values;for(var s in e){var u=r[s],f=u&&u.prototype;if(f){if(f[n]!==l)try{i(f,n,l)}catch(c){f[n]=l}if(f[o]||i(f,o,s),e[s])for(var y in a)if(f[y]!==a[y])try{i(f,y,a[y])}catch(c){f[y]=a[y]}}} },{"../internals/global":"Dk4a","../internals/dom-iterables":"ctNs","../modules/es.array.iterator":"lfZF","../internals/create-non-enumerable-property":"QcOb","../internals/well-known-symbol":"P9SP"}],"JzbU":[function(require,module,exports) { var r=require("../internals/redefine");module.exports=function(e,n,i){for(var o in n)r(e,o,n[o],i);return e}; },{"../internals/redefine":"eC1e"}],"SsV5":[function(require,module,exports) { var e=require("../internals/fails");module.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}); },{"../internals/fails":"asmW"}],"VVRb":[function(require,module,exports) { var e=require("../internals/export"),r=require("../internals/hidden-keys"),t=require("../internals/is-object"),n=require("../internals/has"),i=require("../internals/object-define-property").f,a=require("../internals/object-get-own-property-names"),u=require("../internals/object-get-own-property-names-external"),o=require("../internals/uid"),f=require("../internals/freezing"),s=!1,l=o("meta"),c=0,b=Object.isExtensible||function(){return!0},p=function(e){i(e,l,{value:{objectID:"O"+c++,weakData:{}}})},g=function(e,r){if(!t(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!n(e,l)){if(!b(e))return"F";if(!r)return"E";p(e)}return e[l].objectID},q=function(e,r){if(!n(e,l)){if(!b(e))return!0;if(!r)return!1;p(e)}return e[l].weakData},y=function(e){return f&&s&&b(e)&&!n(e,l)&&p(e),e},j=function(){d.enable=function(){},s=!0;var r=a.f,t=[].splice,n={};n[l]=1,r(n).length&&(a.f=function(e){for(var n=r(e),i=0,a=n.length;i<a;i++)if(n[i]===l){t.call(n,i,1);break}return n},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},d=module.exports={enable:j,fastKey:g,getWeakData:q,onFreeze:y};r[l]=!0; },{"../internals/export":"HcUp","../internals/hidden-keys":"xNX7","../internals/is-object":"UiYU","../internals/has":"jhgR","../internals/object-define-property":"ab1b","../internals/object-get-own-property-names":"QFJ3","../internals/object-get-own-property-names-external":"f5Un","../internals/uid":"hBVz","../internals/freezing":"SsV5"}],"SkI9":[function(require,module,exports) { var r=require("../internals/well-known-symbol"),e=require("../internals/iterators"),t=r("iterator"),o=Array.prototype;module.exports=function(r){return void 0!==r&&(e.Array===r||o[t]===r)}; },{"../internals/well-known-symbol":"P9SP","../internals/iterators":"xNX7"}],"BRhK":[function(require,module,exports) { var r=require("../internals/classof"),e=require("../internals/iterators"),n=require("../internals/well-known-symbol"),t=n("iterator");module.exports=function(n){if(null!=n)return n[t]||n["@@iterator"]||e[r(n)]}; },{"../internals/classof":"ubVB","../internals/iterators":"xNX7","../internals/well-known-symbol":"P9SP"}],"YyGk":[function(require,module,exports) { var r=require("../internals/an-object");module.exports=function(e){var n=e.return;if(void 0!==n)return r(n.call(e)).value}; },{"../internals/an-object":"YTgW"}],"brEe":[function(require,module,exports) { var e=require("../internals/an-object"),t=require("../internals/is-array-iterator-method"),r=require("../internals/to-length"),n=require("../internals/function-bind-context"),i=require("../internals/get-iterator-method"),o=require("../internals/iterator-close"),a=function(e,t){this.stopped=e,this.result=t};module.exports=function(u,l,f){var s,c,h,T,d,p,q,E=f&&f.that,w=!(!f||!f.AS_ENTRIES),y=!(!f||!f.IS_ITERATOR),R=!(!f||!f.INTERRUPTED),b=n(l,E,1+w+R),g=function(e){return s&&o(s),new a(!0,e)},I=function(t){return w?(e(t),R?b(t[0],t[1],g):b(t[0],t[1])):R?b(t,g):b(t)};if(y)s=u;else{if("function"!=typeof(c=i(u)))throw TypeError("Target is not iterable");if(t(c)){for(h=0,T=r(u.length);T>h;h++)if((d=I(u[h]))&&d instanceof a)return d;return new a(!1)}s=c.call(u)}for(p=s.next;!(q=p.call(s)).done;){try{d=I(q.value)}catch(m){throw o(s),m}if("object"==typeof d&&d&&d instanceof a)return d}return new a(!1)}; },{"../internals/an-object":"YTgW","../internals/is-array-iterator-method":"SkI9","../internals/to-length":"IuvA","../internals/function-bind-context":"xlqj","../internals/get-iterator-method":"BRhK","../internals/iterator-close":"YyGk"}],"OR3i":[function(require,module,exports) { module.exports=function(o,r,n){if(!(o instanceof r))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return o}; },{}],"ai1C":[function(require,module,exports) { var r=require("../internals/well-known-symbol"),n=r("iterator"),t=!1;try{var e=0,o={next:function(){return{done:!!e++}},return:function(){t=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(u){}module.exports=function(r,e){if(!e&&!t)return!1;var o=!1;try{var i={};i[n]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(u){}return o}; },{"../internals/well-known-symbol":"P9SP"}],"vTyY":[function(require,module,exports) { var t=require("../internals/is-object"),e=require("../internals/object-set-prototype-of");module.exports=function(o,r,n){var p,i;return e&&"function"==typeof(p=r.constructor)&&p!==n&&t(i=p.prototype)&&i!==n.prototype&&e(o,i),o}; },{"../internals/is-object":"UiYU","../internals/object-set-prototype-of":"p70i"}],"aStW":[function(require,module,exports) { "use strict";var e=require("../internals/export"),r=require("../internals/global"),n=require("../internals/is-forced"),t=require("../internals/redefine"),i=require("../internals/internal-metadata"),a=require("../internals/iterate"),s=require("../internals/an-instance"),u=require("../internals/is-object"),l=require("../internals/fails"),o=require("../internals/check-correctness-of-iteration"),c=require("../internals/set-to-string-tag"),f=require("../internals/inherit-if-required");module.exports=function(d,h,q){var g=-1!==d.indexOf("Map"),p=-1!==d.indexOf("Weak"),v=g?"set":"add",w=r[d],x=w&&w.prototype,b=w,y={},E=function(e){var r=x[e];t(x,e,"add"==e?function(e){return r.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(p&&!u(e))&&r.call(this,0===e?0:e)}:"get"==e?function(e){return p&&!u(e)?void 0:r.call(this,0===e?0:e)}:"has"==e?function(e){return!(p&&!u(e))&&r.call(this,0===e?0:e)}:function(e,n){return r.call(this,0===e?0:e,n),this})};if(n(d,"function"!=typeof w||!(p||x.forEach&&!l(function(){(new w).entries().next()}))))b=q.getConstructor(h,d,g,v),i.enable();else if(n(d,!0)){var S=new b,k=S[v](p?{}:-0,1)!=S,m=l(function(){S.has(1)}),O=o(function(e){new w(e)}),j=!p&&l(function(){for(var e=new w,r=5;r--;)e[v](r,r);return!e.has(-0)});O||((b=h(function(e,r){s(e,b,d);var n=f(new w,e,b);return null!=r&&a(r,n[v],{that:n,AS_ENTRIES:g}),n})).prototype=x,x.constructor=b),(m||j)&&(E("delete"),E("has"),g&&E("get")),(j||k)&&E(v),p&&x.clear&&delete x.clear}return y[d]=b,e({global:!0,forced:b!=w},y),c(b,d),p||q.setStrong(b,d,g),b}; },{"../internals/export":"HcUp","../internals/global":"Dk4a","../internals/is-forced":"Q0IW","../internals/redefine":"eC1e","../internals/internal-metadata":"VVRb","../internals/iterate":"brEe","../internals/an-instance":"OR3i","../internals/is-object":"UiYU","../internals/fails":"asmW","../internals/check-correctness-of-iteration":"ai1C","../internals/set-to-string-tag":"XyNr","../internals/inherit-if-required":"vTyY"}],"kGov":[function(require,module,exports) { var define; var e,t=require("../internals/redefine-all"),r=require("../internals/internal-metadata").getWeakData,n=require("../internals/an-object"),i=require("../internals/is-object"),u=require("../internals/an-instance"),a=require("../internals/iterate"),s=require("../internals/array-iteration"),o=require("../internals/has"),f=require("../internals/internal-state"),c=f.set,l=f.getterFor,d=s.find,h=s.findIndex,v=0,p=function(e){return e.frozen||(e.frozen=new q)},q=function(){this.entries=[]},g=function(e,t){return d(e.entries,function(e){return e[0]===t})};q.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var r=g(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},module.exports={getConstructor:function(e,s,f,d){var h=e(function(e,t){u(e,h,s),c(e,{type:s,id:v++,frozen:void 0}),null!=t&&a(t,e[d],{that:e,AS_ENTRIES:f})}),q=l(s),g=function(e,t,i){var u=q(e),a=r(n(t),!0);return!0===a?p(u).set(t,i):a[u.id]=i,e};return t(h.prototype,{delete:function(e){var t=q(this);if(!i(e))return!1;var n=r(e);return!0===n?p(t).delete(e):n&&o(n,t.id)&&delete n[t.id]},has:function(e){var t=q(this);if(!i(e))return!1;var n=r(e);return!0===n?p(t).has(e):n&&o(n,t.id)}}),t(h.prototype,f?{get:function(e){var t=q(this);if(i(e)){var n=r(e);return!0===n?p(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),h}}; },{"../internals/redefine-all":"JzbU","../internals/internal-metadata":"VVRb","../internals/an-object":"YTgW","../internals/is-object":"UiYU","../internals/an-instance":"OR3i","../internals/iterate":"brEe","../internals/array-iteration":"aJu7","../internals/has":"jhgR","../internals/internal-state":"BXu9"}],"feRJ":[function(require,module,exports) { "use strict";var e,t=require("../internals/global"),r=require("../internals/redefine-all"),n=require("../internals/internal-metadata"),i=require("../internals/collection"),l=require("../internals/collection-weak"),a=require("../internals/is-object"),s=require("../internals/internal-state").enforce,o=require("../internals/native-weak-map"),c=!t.ActiveXObject&&"ActiveXObject"in t,u=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},h=module.exports=i("WeakMap",f,l);if(o&&c){e=l.getConstructor(f,"WeakMap",!0),n.enable();var z=h.prototype,v=z.delete,q=z.has,b=z.get,d=z.set;r(z,{delete:function(t){if(a(t)&&!u(t)){var r=s(this);return r.frozen||(r.frozen=new e),v.call(this,t)||r.frozen.delete(t)}return v.call(this,t)},has:function(t){if(a(t)&&!u(t)){var r=s(this);return r.frozen||(r.frozen=new e),q.call(this,t)||r.frozen.has(t)}return q.call(this,t)},get:function(t){if(a(t)&&!u(t)){var r=s(this);return r.frozen||(r.frozen=new e),q.call(this,t)?b.call(this,t):r.frozen.get(t)}return b.call(this,t)},set:function(t,r){if(a(t)&&!u(t)){var n=s(this);n.frozen||(n.frozen=new e),q.call(this,t)?d.call(this,t,r):n.frozen.set(t,r)}else d.call(this,t,r);return this}})} },{"../internals/global":"Dk4a","../internals/redefine-all":"JzbU","../internals/internal-metadata":"VVRb","../internals/collection":"aStW","../internals/collection-weak":"kGov","../internals/is-object":"UiYU","../internals/internal-state":"BXu9","../internals/native-weak-map":"M1Di"}],"WM0i":[function(require,module,exports) { var e=require("../internals/export"),r=require("../internals/fails"),t=require("../internals/to-indexed-object"),n=require("../internals/object-get-own-property-descriptor").f,i=require("../internals/descriptors"),o=r(function(){n(1)}),s=!i||o;e({target:"Object",stat:!0,forced:s,sham:!i},{getOwnPropertyDescriptor:function(e,r){return n(t(e),r)}}); },{"../internals/export":"HcUp","../internals/fails":"asmW","../internals/to-indexed-object":"abBn","../internals/object-get-own-property-descriptor":"Chxa","../internals/descriptors":"X1JT"}],"V6QN":[function(require,module,exports) { var t=require("../internals/export"),e=require("../internals/object-set-prototype-of");t({target:"Object",stat:!0},{setPrototypeOf:e}); },{"../internals/export":"HcUp","../internals/object-set-prototype-of":"p70i"}],"ARrs":[function(require,module,exports) { var e=require("../internals/export"),t=require("../internals/fails"),r=require("../internals/to-object"),n=require("../internals/object-get-prototype-of"),o=require("../internals/correct-prototype-getter"),i=t(function(){n(1)});e({target:"Object",stat:!0,forced:i,sham:!o},{getPrototypeOf:function(e){return n(r(e))}}); },{"../internals/export":"HcUp","../internals/fails":"asmW","../internals/to-object":"hZH0","../internals/object-get-prototype-of":"EalW","../internals/correct-prototype-getter":"XBAZ"}],"C7vi":[function(require,module,exports) { var define; var e;!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var s=r.apply(null,o);s&&e.push(s)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var a in o)t.call(o,a)&&o[a]&&e.push(a);else e.push(o.toString())}}return e.join(" ")}"undefined"!=typeof module&&module.exports?(r.default=r,module.exports=r):"function"==typeof e&&"object"==typeof e.amd&&e.amd?e("classnames",[],function(){return r}):window.classNames=r}(); },{}],"Pivc":[function(require,module,exports) { module.exports=function(r,e,t,o){var n=t?t.call(o,r,e):void 0;if(void 0!==n)return!!n;if(r===e)return!0;if("object"!=typeof r||!r||"object"!=typeof e||!e)return!1;var i=Object.keys(r),f=Object.keys(e);if(i.length!==f.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(e),v=0;v<i.length;v++){var a=i[v];if(!u(a))return!1;var c=r[a],l=e[a];if(!1===(n=t?t.call(o,c,l,a):void 0)||void 0===n&&c!==l)return!1}return!0}; },{}],"U7mN":[function(require,module,exports) { "use strict";require("core-js/modules/es.reflect.construct.js"),require("core-js/modules/es.symbol.js"),require("core-js/modules/es.symbol.description.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.symbol.iterator.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("core-js/modules/es.weak-map.js"),require("core-js/modules/es.object.get-own-property-descriptor.js"),require("core-js/modules/es.object.set-prototype-of.js"),require("core-js/modules/es.object.get-prototype-of.js");var t=a(require("react")),e=r(require("prop-types")),s=require("subscribe-ui-event"),o=r(require("classnames")),i=r(require("shallowequal"));function r(t){return t&&t.__esModule?t:{default:t}}function n(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,s=new WeakMap;return(n=function(t){return t?s:e})(t)}function a(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==l(t)&&"function"!=typeof t)return{default:t};var s=n(e);if(s&&s.has(t))return s.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var a=i?Object.getOwnPropertyDescriptor(t,r):null;a&&(a.get||a.set)?Object.defineProperty(o,r,a):o[r]=t[r]}return o.default=t,s&&s.set(t,o),o}function u(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var s=0;s<e.length;s++){var o=e[s];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e,s){return e&&c(t.prototype,e),s&&c(t,s),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=g();return function(){var s,o=v(t);if(e){var i=v(this).constructor;s=Reflect.construct(o,arguments,i)}else s=o.apply(this,arguments);return b(this,s)}}function b(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?m(t):e}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var k,T,S,j,B,w=0,O=1,x=2,C="transform",q=!0,E=0,R=-1,z=function(e){f(n,t.Component);var r=y(n);function n(t,e){var s;return h(this,n),(s=r.call(this,t,e)).handleResize=s.handleResize.bind(m(s)),s.handleScroll=s.handleScroll.bind(m(s)),s.handleScrollStart=s.handleScrollStart.bind(m(s)),s.delta=0,s.stickyTop=0,s.stickyBottom=0,s.frozen=!1,s.skipNextScrollEvent=!1,s.scrollTop=-1,s.bottomBoundaryTarget,s.topTarget,s.subscribers,s.state={top:0,bottom:0,width:0,height:0,x:0,y:0,topBoundary:0,bottomBoundary:1/0,status:w,pos:0,activated:!1},s}return p(n,[{key:"getTargetHeight",value:function(t){return t&&t.offsetHeight||0}},{key:"getTopPosition",value:function(t){return"string"==typeof(t=t||this.props.top||0)&&(this.topTarget||(this.topTarget=k.querySelector(t)),t=this.getTargetHeight(this.topTarget)),t}},{key:"getTargetBottom",value:function(t){if(!t)return-1;var e=t.getBoundingClientRect();return this.scrollTop+e.bottom}},{key:"getBottomBoundary",value:function(t){var e=t||this.props.bottomBoundary;return"object"===l(e)&&(e=e.value||e.target||0),"string"==typeof e&&(this.bottomBoundaryTarget||(this.bottomBoundaryTarget=k.querySelector(e)),e=this.getTargetBottom(this.bottomBoundaryTarget)),e&&e>0?e:1/0}},{key:"reset",value:function(){this.setState({status:w,pos:0})}},{key:"release",value:function(t){this.setState({status:O,pos:t-this.state.y})}},{key:"fix",value:function(t){this.setState({status:x,pos:t})}},{key:"updateInitialDimension",value:function(t){if(t=t||{},this.outerElement&&this.innerElement){var e=this.outerElement.getBoundingClientRect(),s=this.innerElement.getBoundingClientRect(),o=e.width||e.right-e.left,i=s.height||s.bottom-s.top,r=e.top+this.scrollTop;this.setState({top:this.getTopPosition(t.top),bottom:Math.min(this.state.top+i,R),width:o,height:i,x:e.left,y:r,bottomBoundary:this.getBottomBoundary(t.bottomBoundary),topBoundary:r})}}},{key:"handleResize",value:function(t,e){this.props.shouldFreeze()||(R=e.resize.height,this.updateInitialDimension(),this.update())}},{key:"handleScrollStart",value:function(t,e){this.frozen=this.props.shouldFreeze(),this.frozen||(this.scrollTop===e.scroll.top?this.skipNextScrollEvent=!0:(this.scrollTop=e.scroll.top,this.updateInitialDimension()))}},{key:"handleScroll",value:function(t,e){this.skipNextScrollEvent?this.skipNextScrollEvent=!1:(E=e.scroll.delta,this.scrollTop=e.scroll.top,this.update())}},{key:"update",value:function(){if(!this.props.enabled||this.state.bottomBoundary-this.state.topBoundary<=this.state.height||0===this.state.width&&0===this.state.height)this.state.status!==w&&this.reset();else{var t=E,e=this.scrollTop+this.state.top,s=this.scrollTop+this.state.bottom;if(e<=this.state.topBoundary)this.reset();else if(s>=this.state.bottomBoundary)this.stickyBottom=this.state.bottomBoundary,this.stickyTop=this.stickyBottom-this.state.height,this.release(this.stickyTop);else if(this.state.height>R-this.state.top)switch(this.state.status){case w:this.release(this.state.y),this.stickyTop=this.state.y,this.stickyBottom=this.stickyTop+this.state.height;case O:this.stickyBottom=this.stickyTop+this.state.height,t>0&&s>this.stickyBottom?this.fix(this.state.bottom-this.state.height):t<0&&e<this.stickyTop&&this.fix(this.state.top);break;case x:var o=!0,i=this.state.pos,r=this.state.height;if(t>0&&i===this.state.top)this.stickyTop=e-t,this.stickyBottom=this.stickyTop+r;else if(t<0&&i===this.state.bottom-r)this.stickyBottom=s-t,this.stickyTop=this.stickyBottom-r;else if(i!==this.state.bottom-r&&i!==this.state.top){var n=i+r-this.state.bottom;this.stickyBottom=s-t+n,this.stickyTop=this.stickyBottom-r}else o=!1;o&&this.release(this.stickyTop)}else this.fix(this.state.top);this.delta=t}}},{key:"componentDidUpdate",value:function(t,e){var s=this;e.status!==this.state.status&&this.props.onStateChange&&this.props.onStateChange({status:this.state.status}),!(0,i.default)(this.props,t)&&(t.enabled!==this.props.enabled?this.props.enabled?this.setState({activated:!0},function(){s.updateInitialDimension(),s.update()}):this.setState({activated:!1},function(){s.reset()}):t.top===this.props.top&&t.bottomBoundary===this.props.bottomBoundary||(this.updateInitialDimension(),this.update()))}},{key:"componentWillUnmount",value:function(){for(var t=(this.subscribers||[]).length-1;t>=0;t--)this.subscribers[t].unsubscribe()}},{key:"componentDidMount",value:function(){B||(B=window,k=document,S=k.documentElement,T=k.body,R=B.innerHeight||S.clientHeight,(j=window.Modernizr)&&j.prefixed&&(q=j.csstransforms3d,C=j.prefixed("transform"))),this.scrollTop=T.scrollTop+S.scrollTop,this.props.enabled&&(this.setState({activated:!0}),this.updateInitialDimension(),this.update()),this.subscribers=[(0,s.subscribe)("scrollStart",this.handleScrollStart.bind(this),{useRAF:!0}),(0,s.subscribe)("scroll",this.handleScroll.bind(this),{useRAF:!0,enableScrollInfo:!0}),(0,s.subscribe)("resize",this.handleResize.bind(this),{enableResizeInfo:!0})]}},{key:"translate",value:function(t,e){q&&this.props.enableTransforms&&this.state.activated?t[C]="translate3d(0,"+Math.round(e)+"px,0)":t.top=e+"px"}},{key:"shouldComponentUpdate",value:function(t,e){return!(this.props.shouldFreeze()||(0,i.default)(this.props,t)&&(0,i.default)(this.state,e))}},{key:"render",value:function(){var e,s=this,i={position:this.state.status===x?"fixed":"relative",top:this.state.status===x?"0px":"",zIndex:this.props.innerZ},r={};this.translate(i,this.state.pos),this.state.status!==w&&(i.width=this.state.width+"px",r.height=this.state.height+"px");var n=(0,o.default)("sticky-outer-wrapper",this.props.className,(u(e={},this.props.activeClass,this.state.status===x),u(e,this.props.releasedClass,this.state.status===O),e)),a=(0,o.default)("sticky-inner-wrapper",this.props.innerClass,u({},this.props.innerActiveClass,this.state.status===x)),l=this.props.children;return t.default.createElement("div",{ref:function(t){s.outerElement=t},className:n,style:r},t.default.createElement("div",{ref:function(t){s.innerElement=t},className:a,style:i},"function"==typeof l?l({status:this.state.status}):l))}}]),n}();z.displayName="Sticky",z.defaultProps={shouldFreeze:function(){return!1},enabled:!0,top:0,bottomBoundary:0,enableTransforms:!0,activeClass:"active",releasedClass:"released",onStateChange:null,innerClass:"",innerActiveClass:""},z.propTypes={enabled:e.default.bool,top:e.default.oneOfType([e.default.string,e.default.number]),bottomBoundary:e.default.oneOfType([e.default.object,e.default.string,e.default.number]),enableTransforms:e.default.bool,activeClass:e.default.string,releasedClass:e.default.string,innerClass:e.default.string,innerActiveClass:e.default.string,className:e.default.string,onStateChange:e.default.func,shouldFreeze:e.default.func,innerZ:e.default.oneOfType([e.default.string,e.default.number])},z.STATUS_ORIGINAL=w,z.STATUS_RELEASED=O,z.STATUS_FIXED=x,module.exports=z; },{"core-js/modules/es.reflect.construct.js":"L4mw","core-js/modules/es.symbol.js":"x4QL","core-js/modules/es.symbol.description.js":"IhZV","core-js/modules/es.object.to-string.js":"y4Jd","core-js/modules/es.symbol.iterator.js":"zEdh","core-js/modules/es.array.iterator.js":"lfZF","core-js/modules/es.string.iterator.js":"RCom","core-js/modules/web.dom-collections.iterator.js":"Lrdu","core-js/modules/es.weak-map.js":"feRJ","core-js/modules/es.object.get-own-property-descriptor.js":"WM0i","core-js/modules/es.object.set-prototype-of.js":"V6QN","core-js/modules/es.object.get-prototype-of.js":"ARrs","react":"SAdv","prop-types":"yu5W","subscribe-ui-event":"AiDi","classnames":"C7vi","shallowequal":"Pivc"}],"yvfJ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-menu-down",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M7 10l5 5 5-5z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"abMe":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,u=t.style;return e.default.createElement("svg",{className:"icon icon-menu-up",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:u},e.default.createElement("path",{d:"M7 14l5-5 5 5z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"wv10":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SorterDropdown=void 0;var e=c(require("react")),t=i(require("prop-types")),a=i(require("./icons/MenuDown")),r=i(require("./icons/MenuUp")),n=i(require("./icons/KeyboardArrowDown")),l=i(require("./icons/Clear")),o=i(require("../react-hooks/hook-click-outside"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var o=n?Object.getOwnPropertyDescriptor(e,l):null;o&&(o.get||o.set)?Object.defineProperty(r,l,o):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){return g(e)||b(e,t)||m(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"==typeof e)return p(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function b(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(s){i=!0,n=s}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return l}}function g(e){if(Array.isArray(e))return e}var y=require("lodash.findindex"),h=function(t){var i=(0,e.useRef)(),s=f((0,e.useState)(!1),2),c=s[0],d=s[1],m=f((0,e.useState)(t.sort),2),p=m[0],b=m[1],g=f((0,e.useState)(t.sortDir),2),h=g[0],v=g[1];(0,o.default)(i,function(){return d(!1)}),(0,e.useEffect)(function(){b(t.sort),v(t.sortDir)},[t.sort,t.sortDir]);var w=p||"Please Choose One",N=!1;if("object"===u(t.options[0])){var k=y(t.options,{field:p});k>-1&&(w=t.options[k].name,"desc_only"===t.options[k].type&&(N=!0))}return e.default.createElement("div",{ref:i,className:"relative "+t.containerClassName},e.default.createElement("div",{className:"flex-container flex-nowrap align-vertical-center width-100"},t.label&&e.default.createElement("label",{className:"p-sm-left p-sm-right nowrap align-right"},t.label),e.default.createElement("div",{className:"width-2em height-2em relative"},e.default.createElement("button",{className:"button absolute top-0 left-0 width-2em height-2em",onClick:function(){var e="asc"===h?"desc":"asc",a={page:1};t.paramNames.sortDir?a[t.paramNames.sortDir]=e:a.sortDir=e,v(e),t.setParams(a)},title:"asc"===h?"Ascending":"Descending","data-ga-action":t.trackAction+"-direction","data-ga-label":t.trackLabel+" Direction: "+h,disabled:N},e.default.createElement("div",{className:"absolute left-0"+("desc"===h||!p||N?" f-gray-lighter":""),style:{top:"-0.35em"}},e.default.createElement(r.default,{width:"2em",height:"2em"})),e.default.createElement("div",{className:"absolute left-0"+(N||"asc"!==h&&p?"":" f-gray-lighter"),style:{bottom:"-0.35em"}},e.default.createElement(a.default,{width:"2em",height:"2em"})),e.default.createElement("span",{className:"sr-only"},"Descending"))),e.default.createElement("div",{className:"flex-grow-1 nowrap border b-radius "+t.backgroundClassName},e.default.createElement("div",{className:"p-l-left"},e.default.createElement("button",{className:"button width-100 align-left has-icon-right",onClick:function(e){d(!0)},"data-ga-action":t.trackAction+"-open","data-ga-label":t.trackLabel+" Open"},e.default.createElement("div",{className:"table-grid full-width fixed-layout"},e.default.createElement("span",{className:"btn-text ellipsis"},w),e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(n.default,null))))))),c&&e.default.createElement("div",{className:"align-left"},e.default.createElement("div",{style:{left:"right"===t.menuAlign?"auto":0,right:"right"===t.menuAlign?0:"auto"},className:"absolute top-0 min-width-100 z-index-100 box-shadow"},e.default.createElement("div",{className:"bckg-gray-dark f-white flex-container full-width flex-nowrap align-vertical-center p-xsm"},e.default.createElement("div",{className:"flex-grow-1 p-md-rectangle"},"Choose Sort Options"),e.default.createElement("div",{className:"f-075"},e.default.createElement("button",{autoFocus:!0,className:"button round-icon",onClick:function(e){d(!1)},"data-ga-action":t.trackAction+"-close","data-ga-label":t.trackLabel+" Close"},e.default.createElement(l.default,null)))),t.options.map(function(a){var r="object"===u(a)?a.field:a,n="object"===u(a)?a.name:a;return e.default.createElement("div",{key:r,className:"b-bottom bckg-white f-gray"+(r===p?"":" bckg-gray-lightest")},e.default.createElement("button",{type:"button",className:"button with-padding block align-left width-100",name:r,onClick:function(e){var a=e.currentTarget.getAttribute("name");b(a),d(!1),t.setParams({sort:a,page:1})},"data-ga-action":t.trackAction+"-option","data-ga-label":t.trackLabel+" Option: "+n},e.default.createElement("span",{className:"btn-text capitalized wrap-normal f-lh-115"},n)))}))))};exports.SorterDropdown=h,h.propTypes={sort:t.default.string,sortDir:t.default.oneOf(["asc","desc"]),options:t.default.array.isRequired,setParams:t.default.func.isRequired,paramNames:t.default.object,label:t.default.string,isCompact:t.default.bool,containerClassName:t.default.string,backgroundClassName:t.default.string,trackAction:t.default.string,trackLabel:t.default.string},h.defaultProps={label:"Sort by",sortDir:"desc",paramNames:{},isCompact:!1,containerClassName:"",backgroundClassName:"bckg-white",trackAction:"sort",trackLabel:"Sort"};var v=h;exports.default=v; },{"react":"SAdv","prop-types":"yu5W","./icons/MenuDown":"yvfJ","./icons/MenuUp":"abMe","./icons/KeyboardArrowDown":"qjAC","./icons/Clear":"UpNA","../react-hooks/hook-click-outside":"ILbe","lodash.findindex":"vX4j"}],"vzAy":[function(require,module,exports) { var n=9007199254740991,r="[object Arguments]",t="[object Function]",e="[object GeneratorFunction]",u=/^(?:0|[1-9]\d*)$/;function o(n,r){for(var t=-1,e=Array(n);++t<n;)e[t]=r(t);return e}function c(n,r){return function(t){return n(r(t))}}var f=Object.prototype,i=f.hasOwnProperty,a=f.toString,l=f.propertyIsEnumerable,p=c(Object.keys,Object);function b(n,r){var t=m(n)||O(n)?o(n.length,String):[],e=t.length,u=!!e;for(var c in n)!r&&!i.call(n,c)||u&&("length"==c||g(c,e))||t.push(c);return t}var v=j();function y(n,r){return n&&v(n,r,E)}function s(n){if(!h(n))return p(n);var r=[];for(var t in Object(n))i.call(n,t)&&"constructor"!=t&&r.push(t);return r}function j(n){return function(r,t,e){for(var u=-1,o=Object(r),c=e(r),f=c.length;f--;){var i=c[n?f:++u];if(!1===t(o[i],i,o))break}return r}}function g(r,t){return!!(t=null==t?n:t)&&("number"==typeof r||u.test(r))&&r>-1&&r%1==0&&r<t}function h(n){var r=n&&n.constructor;return n===("function"==typeof r&&r.prototype||f)}function O(n){return d(n)&&i.call(n,"callee")&&(!l.call(n,"callee")||a.call(n)==r)}var m=Array.isArray;function A(n){return null!=n&&F(n.length)&&!k(n)}function d(n){return w(n)&&A(n)}function k(n){var r=S(n)?a.call(n):"";return r==t||r==e}function F(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=n}function S(n){var r=typeof n;return!!n&&("object"==r||"function"==r)}function w(n){return!!n&&"object"==typeof n}function x(n,r){return n&&y(n,"function"==typeof r?r:G)}function E(n){return A(n)?b(n):s(n)}function G(n){return n}module.exports=x; },{}],"rZI2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=s(require("react")),t=s(require("prop-types")),r=s(require("../../../react-shared-components/SorterDropdown")),a=require("../../../utils-logging/Log");function s(e){return e&&e.__esModule?e:{default:e}}var o=require("lodash.forown"),l=function(t){var s,l=t.hashObject,n=t.extra_sort,d=t.setParams,i=t.isCompact,u=t.resultsCount,c=t.containerClassName,f=t.backgroundClassName,p=window.Sphinx?window.Sphinx.config[l.collection||l.tab]:null,m=[];try{for(var _=0;_<n.length;_++)m.push({name:n[_].display_name,field:n[_].name,type:"desc_only"});if(!m.length){var y={name:"Relevance",field:"relevancescore",sort_dir:"desc",type:"desc_only"};try{p.default_sort&&(p.default_sort.query_types.indexOf(l.query_type)>-1?y={name:p.cols[p.default_sort.field].display_name,field:p.default_sort.field,sort_dir:p.default_sort.sort_dir,type:"default"}:y.name===p.cols[p.default_sort.field].display_name&&(s=p.default_sort.field))}catch(C){}finally{m.push(y)}}var h=p.cols||{};o(h,function(e,t){h[t].sort&&t!==s&&m.push({name:e.display_name,field:t,sort_dir:"desc",type:"default"})})}catch(C){var g="Error in SDQSorter Component";(0,a.DEBUG_LOG_START)(g),(0,a.DEBUG_LOG)(C.message),(0,a.DEBUG_LOG_END)(g)}return e.default.createElement("div",{className:u>1?"":i?"hidden":"visibility-hidden"},p&&m.length?e.default.createElement(r.default,{options:m,setParams:d,paramNames:{sortDir:"sort_dir"},sort:l.sort||m[0].field,sortDir:l.sort_dir,isCompact:i,containerClassName:c,backgroundClassName:f}):null)};l.propTypes={hashObject:t.default.object.isRequired,setParams:t.default.func.isRequired,isCompact:t.default.bool,resultsCount:t.default.number,containerClassName:t.default.string,backgroundClassName:t.default.string,extra_sort:t.default.array},l.defaultProps={isCompact:!1,resultsCount:0,containerClassName:"",backgroundClassName:"bckg-white",extra_sort:[]};var n=l;exports.default=n; },{"react":"SAdv","prop-types":"yu5W","../../../react-shared-components/SorterDropdown":"wv10","../../../utils-logging/Log":"LH3n","lodash.forown":"vzAy"}],"OLm8":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-filter",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Earo":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],e=200,r="__lodash_hash_undefined__",n=1,o=2,i=9007199254740991,u="[object Arguments]",a="[object Array]",c="[object AsyncFunction]",s="[object Boolean]",f="[object Date]",l="[object Error]",_="[object Function]",h="[object GeneratorFunction]",p="[object Map]",v="[object Number]",y="[object Null]",b="[object Object]",d="[object Promise]",g="[object Proxy]",j="[object RegExp]",w="[object Set]",m="[object String]",z="[object Symbol]",A="[object Undefined]",O="[object WeakMap]",S="[object ArrayBuffer]",x="[object DataView]",k="[object Float32Array]",E="[object Float64Array]",F="[object Int8Array]",P="[object Int16Array]",$="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",I="[object Uint16Array]",L="[object Uint32Array]",T=/[\\^$.*+?()[\]{}|]/g,M=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,R={};R[k]=R[E]=R[F]=R[P]=R[$]=R[U]=R[B]=R[I]=R[L]=!0,R[u]=R[a]=R[S]=R[s]=R[x]=R[f]=R[l]=R[_]=R[p]=R[v]=R[b]=R[j]=R[w]=R[m]=R[O]=!1;var C="object"==typeof t&&t&&t.Object===Object&&t,N="object"==typeof self&&self&&self.Object===Object&&self,V=C||N||Function("return this")(),W="object"==typeof exports&&exports&&!exports.nodeType&&exports,G=W&&"object"==typeof module&&module&&!module.nodeType&&module,q=G&&G.exports===W,H=q&&C.process,J=function(){try{return H&&H.binding&&H.binding("util")}catch(t){}}(),K=J&&J.isTypedArray;function Q(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var u=t[r];e(u,r,t)&&(i[o++]=u)}return i}function X(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}function Y(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function Z(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function tt(t){return function(e){return t(e)}}function et(t,e){return t.has(e)}function rt(t,e){return null==t?void 0:t[e]}function nt(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function ot(t,e){return function(r){return t(e(r))}}function it(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ut=Array.prototype,at=Function.prototype,ct=Object.prototype,st=V["__core-js_shared__"],ft=at.toString,lt=ct.hasOwnProperty,_t=function(){var t=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ht=ct.toString,pt=RegExp("^"+ft.call(lt).replace(T,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=q?V.Buffer:void 0,yt=V.Symbol,bt=V.Uint8Array,dt=ct.propertyIsEnumerable,gt=ut.splice,jt=yt?yt.toStringTag:void 0,wt=Object.getOwnPropertySymbols,mt=vt?vt.isBuffer:void 0,zt=ot(Object.keys,Object),At=Oe(V,"DataView"),Ot=Oe(V,"Map"),St=Oe(V,"Promise"),xt=Oe(V,"Set"),kt=Oe(V,"WeakMap"),Et=Oe(Object,"create"),Ft=Be(At),Pt=Be(Ot),$t=Be(St),Ut=Be(xt),Bt=Be(kt),It=yt?yt.prototype:void 0,Lt=It?It.valueOf:void 0;function Tt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Mt(){this.__data__=Et?Et(null):{},this.size=0}function Dt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Rt(t){var e=this.__data__;if(Et){var n=e[t];return n===r?void 0:n}return lt.call(e,t)?e[t]:void 0}function Ct(t){var e=this.__data__;return Et?void 0!==e[t]:lt.call(e,t)}function Nt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Et&&void 0===e?r:e,this}function Vt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Wt(){this.__data__=[],this.size=0}function Gt(t){var e=this.__data__,r=le(e,t);return!(r<0)&&(r==e.length-1?e.pop():gt.call(e,r,1),--this.size,!0)}function qt(t){var e=this.__data__,r=le(e,t);return r<0?void 0:e[r][1]}function Ht(t){return le(this.__data__,t)>-1}function Jt(t,e){var r=this.__data__,n=le(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function Kt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Qt(){this.size=0,this.__data__={hash:new Tt,map:new(Ot||Vt),string:new Tt}}function Xt(t){var e=Ae(this,t).delete(t);return this.size-=e?1:0,e}function Yt(t){return Ae(this,t).get(t)}function Zt(t){return Ae(this,t).has(t)}function te(t,e){var r=Ae(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function ee(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Kt;++e<r;)this.add(t[e])}function re(t){return this.__data__.set(t,r),this}function ne(t){return this.__data__.has(t)}function oe(t){var e=this.__data__=new Vt(t);this.size=e.size}function ie(){this.__data__=new Vt,this.size=0}function ue(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function ae(t){return this.__data__.get(t)}function ce(t){return this.__data__.has(t)}function se(t,r){var n=this.__data__;if(n instanceof Vt){var o=n.__data__;if(!Ot||o.length<e-1)return o.push([t,r]),this.size=++n.size,this;n=this.__data__=new Kt(o)}return n.set(t,r),this.size=n.size,this}function fe(t,e){var r=Te(t),n=!r&&Le(t),o=!r&&!n&&De(t),i=!r&&!n&&!o&&Ge(t),u=r||n||o||i,a=u?Z(t.length,String):[],c=a.length;for(var s in t)!e&&!lt.call(t,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Ee(s,c))||a.push(s);return a}function le(t,e){for(var r=t.length;r--;)if(Ie(t[r][0],e))return r;return-1}function _e(t,e,r){var n=e(t);return Te(t)?n:X(n,r(t))}function he(t){return null==t?void 0===t?A:y:jt&&jt in Object(t)?Se(t):Ue(t)}function pe(t){return We(t)&&he(t)==u}function ve(t,e,r,n,o){return t===e||(null==t||null==e||!We(t)&&!We(e)?t!=t&&e!=e:ye(t,e,r,n,ve,o))}function ye(t,e,r,o,i,c){var s=Te(t),f=Te(e),l=s?a:ke(t),_=f?a:ke(e),h=(l=l==u?b:l)==b,p=(_=_==u?b:_)==b,v=l==_;if(v&&De(t)){if(!De(e))return!1;s=!0,h=!1}if(v&&!h)return c||(c=new oe),s||Ge(t)?je(t,e,r,o,i,c):we(t,e,l,r,o,i,c);if(!(r&n)){var y=h&<.call(t,"__wrapped__"),d=p&<.call(e,"__wrapped__");if(y||d){var g=y?t.value():t,j=d?e.value():e;return c||(c=new oe),i(g,j,r,o,c)}}return!!v&&(c||(c=new oe),me(t,e,r,o,i,c))}function be(t){return!(!Ve(t)||Pe(t))&&(Ce(t)?pt:M).test(Be(t))}function de(t){return We(t)&&Ne(t.length)&&!!R[he(t)]}function ge(t){if(!$e(t))return zt(t);var e=[];for(var r in Object(t))lt.call(t,r)&&"constructor"!=r&&e.push(r);return e}function je(t,e,r,i,u,a){var c=r&n,s=t.length,f=e.length;if(s!=f&&!(c&&f>s))return!1;var l=a.get(t);if(l&&a.get(e))return l==e;var _=-1,h=!0,p=r&o?new ee:void 0;for(a.set(t,e),a.set(e,t);++_<s;){var v=t[_],y=e[_];if(i)var b=c?i(y,v,_,e,t,a):i(v,y,_,t,e,a);if(void 0!==b){if(b)continue;h=!1;break}if(p){if(!Y(e,function(t,e){if(!et(p,e)&&(v===t||u(v,t,r,i,a)))return p.push(e)})){h=!1;break}}else if(v!==y&&!u(v,y,r,i,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function we(t,e,r,i,u,a,c){switch(r){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case S:return!(t.byteLength!=e.byteLength||!a(new bt(t),new bt(e)));case s:case f:case v:return Ie(+t,+e);case l:return t.name==e.name&&t.message==e.message;case j:case m:return t==e+"";case p:var _=nt;case w:var h=i&n;if(_||(_=it),t.size!=e.size&&!h)return!1;var y=c.get(t);if(y)return y==e;i|=o,c.set(t,e);var b=je(_(t),_(e),i,u,a,c);return c.delete(t),b;case z:if(Lt)return Lt.call(t)==Lt.call(e)}return!1}function me(t,e,r,o,i,u){var a=r&n,c=ze(t),s=c.length;if(s!=ze(e).length&&!a)return!1;for(var f=s;f--;){var l=c[f];if(!(a?l in e:lt.call(e,l)))return!1}var _=u.get(t);if(_&&u.get(e))return _==e;var h=!0;u.set(t,e),u.set(e,t);for(var p=a;++f<s;){var v=t[l=c[f]],y=e[l];if(o)var b=a?o(y,v,l,e,t,u):o(v,y,l,t,e,u);if(!(void 0===b?v===y||i(v,y,r,o,u):b)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var d=t.constructor,g=e.constructor;d!=g&&"constructor"in t&&"constructor"in e&&!("function"==typeof d&&d instanceof d&&"function"==typeof g&&g instanceof g)&&(h=!1)}return u.delete(t),u.delete(e),h}function ze(t){return _e(t,qe,xe)}function Ae(t,e){var r=t.__data__;return Fe(e)?r["string"==typeof e?"string":"hash"]:r.map}function Oe(t,e){var r=rt(t,e);return be(r)?r:void 0}function Se(t){var e=lt.call(t,jt),r=t[jt];try{t[jt]=void 0;var n=!0}catch(i){}var o=ht.call(t);return n&&(e?t[jt]=r:delete t[jt]),o}Tt.prototype.clear=Mt,Tt.prototype.delete=Dt,Tt.prototype.get=Rt,Tt.prototype.has=Ct,Tt.prototype.set=Nt,Vt.prototype.clear=Wt,Vt.prototype.delete=Gt,Vt.prototype.get=qt,Vt.prototype.has=Ht,Vt.prototype.set=Jt,Kt.prototype.clear=Qt,Kt.prototype.delete=Xt,Kt.prototype.get=Yt,Kt.prototype.has=Zt,Kt.prototype.set=te,ee.prototype.add=ee.prototype.push=re,ee.prototype.has=ne,oe.prototype.clear=ie,oe.prototype.delete=ue,oe.prototype.get=ae,oe.prototype.has=ce,oe.prototype.set=se;var xe=wt?function(t){return null==t?[]:(t=Object(t),Q(wt(t),function(e){return dt.call(t,e)}))}:He,ke=he;function Ee(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||D.test(t))&&t>-1&&t%1==0&&t<e}function Fe(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Pe(t){return!!_t&&_t in t}function $e(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ct)}function Ue(t){return ht.call(t)}function Be(t){if(null!=t){try{return ft.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ie(t,e){return t===e||t!=t&&e!=e}(At&&ke(new At(new ArrayBuffer(1)))!=x||Ot&&ke(new Ot)!=p||St&&ke(St.resolve())!=d||xt&&ke(new xt)!=w||kt&&ke(new kt)!=O)&&(ke=function(t){var e=he(t),r=e==b?t.constructor:void 0,n=r?Be(r):"";if(n)switch(n){case Ft:return x;case Pt:return p;case $t:return d;case Ut:return w;case Bt:return O}return e});var Le=pe(function(){return arguments}())?pe:function(t){return We(t)&<.call(t,"callee")&&!dt.call(t,"callee")},Te=Array.isArray;function Me(t){return null!=t&&Ne(t.length)&&!Ce(t)}var De=mt||Je;function Re(t,e){return ve(t,e)}function Ce(t){if(!Ve(t))return!1;var e=he(t);return e==_||e==h||e==c||e==g}function Ne(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Ve(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function We(t){return null!=t&&"object"==typeof t}var Ge=K?tt(K):de;function qe(t){return Me(t)?fe(t):ge(t)}function He(){return[]}function Je(){return!1}module.exports=Re; },{}],"uLNZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=l(require("react")),e=l(require("prop-types")),a=require("../../../utils-logging/Log"),n=l(require("../../../utils-logging/GoogleAnalytics")),i=l(require("../../../react-shared-components/icons/Clear")),s=l(require("../../../react-shared-components/ErrorMessage")),r=l(require("../../../react-shared-components/CustomSelect"));function l(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function m(t,e,a){return e&&u(t.prototype,e),a&&u(t,a),t}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=g();return function(){var a,n=b(t);if(e){var i=b(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return f(this,a)}}function f(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(t)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=require("lodash.isequal"),y=function(e){h(o,t.default.Component);var l=d(o);function o(t){var e;return c(this,o),(e=l.call(this,t)).handleChange1=e.handleChange1.bind(v(e)),e.handleChange2=e.handleChange2.bind(v(e)),e.handleMouseUp=e.handleMouseUp.bind(v(e)),e.handleReset=e.handleReset.bind(v(e)),e.state=o.processStats(t),e}return m(o,[{key:"componentDidUpdate",value:function(t,e){(!this.props.isLoading&&t.isLoading||!A(t.hashObject,this.props.hashObject))&&this.setState(o.processStats(this.props))}},{key:"componentDidCatch",value:function(t,e){var n="React Error Boundary in CollectionHistogramFilter Component";(0,a.DEBUG_LOG_START)(n),(0,a.DEBUG_LOG)(t),(0,a.DEBUG_LOG)(e.componentStack),(0,a.DEBUG_LOG_END)(n),this.setState({hasError:!0,errMessage:n+": "+t})}},{key:"handleChange1",value:function(t){var e=parseFloat(t.target.value),a={handle1:e};this.state.handle1<this.state.handle2?e<this.state.handle2?a.minXActive=e:(a.minXActive=this.state.handle2,a.maxXActive=e):e>this.state.handle2?a.maxXActive=e:(a.maxXActive=this.state.handle2,a.minXActive=e),this.setState(a)}},{key:"handleChange2",value:function(t){var e=parseFloat(t.target.value),a={handle2:e};this.state.handle2>this.state.handle1?e>this.state.handle1?a.maxXActive=e:(a.maxXActive=this.state.handle1,a.minXActive=e):e<this.state.handle1?a.minXActive=e:(a.minXActive=this.state.handle1,a.maxXActive=e),this.setState(a)}},{key:"handleMouseUp",value:function(t){n.default.event({action:"filter-histogram-input",label:"Filter Histogram Input: "+this.props.title}),this.setParams()}},{key:"handleReset",value:function(t){var e=this,a={minXActive:null,maxXActive:null,handle1:this.state.minX,handle2:this.state.maxX},n={};n[this.props.name+"_eq"]="",n[this.props.name+"_lt"]="",n[this.props.name+"_lte"]="",n[this.props.name+"_gt"]="",n[this.props.name+"_gte"]="",this.setState(a,function(){e.props.setParams(n)})}},{key:"setParams",value:function(){var t={page:""};null!==this.state.minXActive&&(t[this.props.name+"_gte"]=this.state.minXActive),null!==this.state.maxXActive&&(t[this.props.name+"_lte"]=this.state.maxXActive),this.props.setParams(t)}},{key:"render",value:function(){var e=this;if(this.state.hasError)return t.default.createElement(s.default,{message:this.state.errMessage});var a=this.state.binArr?this.state.binArr.length:0,n=a?200/a:0;return t.default.createElement("div",{className:"relative p-sm"},t.default.createElement("div",{className:"flex-container flex-nowrap width-100 align-vertical-center b-bottom b-light p-xsm-left p-xsm-right"},t.default.createElement("h3",{className:"f-1 f-lh-2 f-gray f-medium uppercase flex-grow-1"},t.default.createElement("span",null,this.props.title),this.props.units?t.default.createElement(t.default.Fragment,null,t.default.createElement("span",null,", "),t.default.createElement("span",{dangerouslySetInnerHTML:{__html:this.props.units}})):null),this.props.isActive?t.default.createElement("div",{className:"f-0875"},t.default.createElement("button",{className:"button has-icon-left with-padding-small",onClick:this.handleReset,"data-ga-action":"filter-reset-button","data-ga-label":"Filter Reset Button: "+this.props.title},t.default.createElement(i.default,null),t.default.createElement("span",{className:"btn-text"},"Reset"))):null),this.state.maxY?t.default.createElement("div",{className:"p-md-bottom"},t.default.createElement("div",{className:"p-sm"},t.default.createElement("div",{className:"width-100 relative p-md-left p-md-right"},t.default.createElement("svg",{width:"100%",height:"105",viewBox:"0 0 200 105",preserveAspectRatio:"none"},t.default.createElement("g",null,this.state.binArr.map(function(a,i){var s=a.count?100*a.count/e.state.maxY+4:0,r=e.props.isActive&&a.tick<=parseFloat(e.state.maxXActive||e.state.maxX)&&a.tick>=parseFloat(e.state.minXActive||e.state.minX)?"#0071bc":"#ccc";return t.default.createElement("g",{key:i},t.default.createElement("title",null,a.count+" Records - "+a.tick),t.default.createElement("rect",{fill:r,width:.7*n,height:s,x:n*i+.15*n,y:104-s}),t.default.createElement("line",{x1:n*i,y1:"104",x2:n*i+n,y2:"104",strokeWidth:"2",stroke:r}))})))),t.default.createElement("div",{className:"double-slider p-sm-bottom "+(this.props.isActive?" is-active":"")},t.default.createElement("div",{className:"slider-handle-1"},t.default.createElement("input",{type:"range",title:this.state.handle1,value:this.state.handle1,min:this.state.minX,max:this.state.maxX,onChange:this.handleChange1,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleMouseUp,step:this.state.bingap})),t.default.createElement("div",{className:"slider-handle-2"},t.default.createElement("input",{type:"range",title:this.state.handle2,value:this.state.handle2,min:this.state.minX,max:this.state.maxX,onChange:this.handleChange2,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleMouseUp,step:this.state.bingap}))),t.default.createElement("div",{className:"table-grid full-width fixed-layout"},t.default.createElement("div",{className:"align-left "+(this.props.isCompact?"p-sm-rectangle":"p-md-rectangle")},t.default.createElement("div",{className:"width-10em max-width-100 inline-block f-0875"},t.default.createElement(r.default,{value:this.state.minXActive||this.state.minX,options:this.state.optionsMin,label:"MIN",labelOnTop:!0,menuTitle:"Select MIN",onChange:function(t){var a={};a[e.props.name+"_gte"]=t,e.props.setParams(a)}}))),t.default.createElement("div",{className:"align-right "+(this.props.isCompact?"p-sm-rectangle":"p-md-rectangle")},t.default.createElement("div",{className:"width-10em max-width-100 inline-block f-0875"},t.default.createElement(r.default,{value:this.state.maxXActive||this.state.maxX,options:this.state.optionsMax,label:"MAX",labelOnTop:!0,menuTitle:"Select MAX",onChange:function(t){var a={};a[e.props.name+"_lte"]=t,e.props.setParams(a)},trackAction:"filter-histogram-select",trackLabel:"Filter Histogram Select: "+this.props.title})))))):t.default.createElement("div",{className:"p-l f-0875 italic"},"No records with nonzero ",this.props.title," values found..."))}}],[{key:"processStats",value:function(t){var e={};try{for(var n=t.dataBlob.SDQOutputSet,i=0;i<n.length;i++)if("histogram"===n[i].type&&t.name===Object.keys(n[i].histogram)[0]&&0===n[i].status.code){e.bingap=parseInt(n[i].bingap),e.stats=n[i].histogram[t.name],e.totalCount=n[i].totalCount;var s=null,r=null,l=void 0,o=void 0;e.maxY=0,e.minXActive=null,e.maxXActive=null;for(var c=0;c<e.stats.length;c++)if(e.stats[c].count&&!s&&"NULL"!==e.stats[c].tick){s=e.stats[c].tick,l=c;break}for(var u=e.stats.length-1;u>=0;u--)if(e.stats[u].count&&!r&&"NULL"!==e.stats[u].tick){r=e.stats[u].tick,o=u;break}e.binArr=e.stats.slice(l,o+1),e.minX=parseFloat(s),e.maxX=parseFloat(r);for(var m=0;m<e.binArr.length;m++)e.binArr[m].count>e.maxY&&"NULL"!==e.stats[m].tick&&(e.maxY=e.binArr[m].count);if(t.isActive){for(var h=0;h<t.activeFilters.length;h++){var p=Object.keys(t.activeFilters[h])[0];p.match(t.name+"_lt","gi")?e.maxXActive=t.activeFilters[h][p]:p.match(t.name+"_gt","gi")&&(e.minXActive=t.activeFilters[h][p])}e.maxXActive&&!e.minXActive&&(e.minXActive=e.minX),e.minXActive&&!e.maxXActive&&(e.maxXActive=e.maxX)}e.handle1=e.minXActive||e.minX,e.handle2=e.maxXActive||e.maxX,e.optionsMin=[];for(var d=0;d<e.binArr.length-1;d++){var f=e.binArr[d].tick>=1?parseInt(e.binArr[d].tick):parseFloat(e.binArr[d].tick);if(e.binArr[d].count&&(e.maxXActive?f<e.maxXActive:f<e.maxX)){var v={display_name:f,name:f};e.optionsMin.push(v)}}e.optionsMax=[];for(var g=e.binArr.length-1;g>=0;g--){var b=e.binArr[g].tick>=1?parseInt(e.binArr[g].tick):parseFloat(e.binArr[g].tick);if(e.binArr[g].count&&(e.minXActive?b>e.minXActive:b>e.minX)){var A={display_name:b,name:b};e.optionsMax.push(A)}}break}}catch(X){var y="Exception caught in CollectionHistogramFilter Component processStats method";(0,a.DEBUG_LOG_START)(y),(0,a.DEBUG_LOG)(X.message),(0,a.DEBUG_LOG_END)(y)}finally{return e}}}]),o}();y.propTypes={title:e.default.string.isRequired,units:e.default.string,dataBlob:e.default.object.isRequired,hashObject:e.default.object.isRequired,setParams:e.default.func.isRequired,isCompact:e.default.bool,isLoading:e.default.bool,isActive:e.default.bool,activeFilters:e.default.array},y.defaultProps={isCompact:!0,isLoading:!1,isActive:!1,activeFilters:[]};var X=y;exports.default=X; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../react-shared-components/icons/Clear":"UpNA","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/CustomSelect":"jlAm","lodash.isequal":"Earo"}],"oLqE":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types"));function l(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var l=t.width,r=t.height,a=t.color,c=t.style;return e.default.createElement("svg",{className:"icon icon-checkbox",fill:a||"",viewBox:"0 0 24 24",width:l||"24",height:r||"24",style:c},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}))},a=r;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Y5mx":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,c=t.style;return e.default.createElement("svg",{className:"icon icon-checkbox-outline",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:c},e.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"RWnr":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CustomCheckBox=void 0;var e=o(require("react")),t=n(require("prop-types")),r=n(require("./icons/Checkbox")),a=n(require("./icons/CheckboxOutline"));function n(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=n?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}function u(e,t){return d(e)||f(e,t)||c(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function f(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,l=[],o=!0,u=!1;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(l.push(a.value),!t||l.length!==t);o=!0);}catch(i){u=!0,n=i}finally{try{o||null==r.return||r.return()}finally{if(u)throw n}}return l}}function d(e){if(Array.isArray(e))return e}var b=function(t){var n=u((0,e.useState)(t.isChecked),2),l=n[0],o=n[1];return(0,e.useEffect)(function(){o(t.isChecked)},[t.isChecked]),e.default.createElement("button",{role:"checkbox","aria-checked":l,disabled:t.isDisabled,"aria-disabled":t.isDisabled,className:"button has-icon-left "+t.buttonClassName,onClick:function(e){o(!l),t.onClick(t.value)},"data-ga-action":t.trackAction,"data-ga-label":t.trackLabel+": "+t.label},l?e.default.createElement(r.default,null):e.default.createElement(a.default,null),e.default.createElement("span",{className:"btn-text wrap-normal capitalized align-left p-sm-right "+t.labelClassName},t.label))};exports.CustomCheckBox=b,b.propTypes={isChecked:t.default.bool,isDisabled:t.default.bool,value:t.default.string,onClick:t.default.func.isRequired,label:t.default.func.isRequired,labelClassName:t.default.string,buttonClassName:t.default.string,trackAction:t.default.string,trackLabel:t.default.string},b.defaultProps={isChecked:!1,isDisabled:!1,labelClassName:"f-0875",buttonClassName:"lh-15",trackAction:"checkbox",trackLabel:"CheckBox"};var p=b;exports.default=p; },{"react":"SAdv","prop-types":"yu5W","./icons/Checkbox":"oLqE","./icons/CheckboxOutline":"Y5mx"}],"jFy2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=s(require("react")),t=s(require("prop-types")),r=require("../../../utils-logging/Log"),a=s(require("../../../react-shared-components/ErrorMessage")),n=s(require("../../../react-shared-components/icons/Clear")),o=s(require("../../../react-shared-components/CustomCheckBox")),i=s(require("../../../utils/FormatCount"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function p(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=v();return function(){var r,a=k(e);if(t){var n=k(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(t){f(l,e.default.Component);var s=d(l);function l(e){var t;return c(this,l),(t=s.call(this,e)).handleAllCheckboxClick=t.handleAllCheckboxClick.bind(b(t)),t.handleCheckboxClick=t.handleCheckboxClick.bind(b(t)),t.handleReset=t.handleReset.bind(b(t)),t.MAX=20,t.state={hasError:!1,allChecked:!1,allUnChecked:!1,errMessage:""},t}return p(l,[{key:"shouldComponentUpdate",value:function(e,t){return!e.isLoading}},{key:"componentDidCatch",value:function(e,t){var a="React Error Boundary in CollectionCheckboxFilter Component";(0,r.DEBUG_LOG_START)(a),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(a),this.setState({hasError:!0,errMessage:a+": "+e})}},{key:"handleAllCheckboxClick",value:function(e){var t=this.processStats(),r={page:""};if(l.bAnyChecked(t))r[this.props.name]="";else{for(var a=[],n=0;n<t.length;n++)a.push(t[n].tick);r[this.props.name]=a.length>1?'"'+a.join('","')+'"':a[0]}this.props.setParams(r)}},{key:"handleCheckboxClick",value:function(e){for(var t={page:""},r=!1,a=this.processStats(),n=[],o=0;o<a.length;o++)a[o].isActive&&(e!==a[o].tick?n.push(a[o].tick):r=!0);n.length?(r||n.push(e),t[this.props.name]=n.length>1?'"'+n.join('","')+'"':n[0]):t[this.props.name]=r?"":e,this.props.setParams(t)}},{key:"handleReset",value:function(e){var t={page:""};t[this.props.name]="",this.props.setParams(t)}},{key:"processStats",value:function(){var e=[];try{for(var t=this.props.dataBlob.SDQOutputSet,a=0;a<t.length;a++)if("histogram"===t[a].type){var n="";try{if((n=Object.keys(t[a].histogram)[0])===this.props.name&&0===t[a].status.code){if(e=t[a].histogram[n],this.props.activeValue)for(var o=this.props.activeValue.substr(1,this.props.activeValue.length-2).split('","'),i=0;i<e.length;i++)(e[i].tick===this.props.activeValue||o.indexOf(e[i].tick)>-1)&&(e[i].isActive=!0);for(var s=0;s<e.length;s++)if(this.props.config.is_list){var l=e[s].tick.split(this.props.config.list_separator||",");if(this.props.config.translate)for(var c=0;c<l.length;c++)l[c]=this.props.config.translate[l[c]]||l[c];e[s].display_name=l.join("; ")}else this.props.config.translate&&(e[s].display_name=this.props.config.translate[e[s].tick]||e[s].tick);break}}catch(p){}}}catch(p){var u="Exception caught in CollectionCheckboxFilter Component processStats method";(0,r.DEBUG_LOG_START)(u),(0,r.DEBUG_LOG)(p.message),(0,r.DEBUG_LOG_END)(u)}finally{return e}}},{key:"render",value:function(){var t=this;if(this.state.hasError)return e.default.createElement(a.default,{message:this.state.errMessage});var r=this.processStats(),s=l.bAnyChecked(r);return e.default.createElement("div",{className:"p-sm-bottom"},e.default.createElement("div",{className:"flex-container flex-nowrap width-100 align-vertical-center b-bottom b-light p-xsm-left p-xsm-right"},e.default.createElement("div",{className:"flex-grow-1"},e.default.createElement(o.default,{onClick:this.handleAllCheckboxClick,label:this.props.title+(r.length===this.MAX?" (top "+this.MAX+")":""),isChecked:s,labelClassName:"f-1 uppercase",trackAction:"filter-check-all",trackLabel:"Filter Check All: "+this.props.title})),this.props.activeValue?e.default.createElement("div",{className:"f-0875"},e.default.createElement("button",{className:"button has-icon-left with-padding-small",onClick:this.handleReset,"data-ga-action":"filter-reset-button","data-ga-label":"Filter Reset Button: "+this.props.title},e.default.createElement(n.default,null),e.default.createElement("span",{className:"btn-text"},"Reset"))):null),e.default.createElement("div",{className:"max-height-25em"},e.default.createElement("div",{className:"p-sm-top p-sm-bottom p-xsm-left p-md-right"},r.map(function(r,a){if(r.count&&r.tick)return e.default.createElement("div",{key:a,className:"item"},e.default.createElement(o.default,{onClick:t.handleCheckboxClick,label:(r.display_name||r.tick)+" ("+(0,i.default)(r.count)+")",value:r.tick,isChecked:r.isActive,trackAction:"filter-check",trackLabel:"Filter Check: "+t.props.title}))}))))}}],[{key:"bAnyChecked",value:function(e){for(var t=!1,r=0;r<e.length;r++)if(e[r].isActive){t=!0;break}return t}},{key:"sortDisplayValues",value:function(e){return e?e.sort(function(e,t){if(t.count-e.count!=0)return t.count-e.count;var r=e.name.toUpperCase(),a=t.name.toUpperCase();return r<a?-1:r>a?1:void 0}):[]}}]),l}();y.propTypes={dataBlob:t.default.object.isRequired,name:t.default.string.isRequired,title:t.default.string.isRequired,setParams:t.default.func.isRequired,activeValue:t.default.string,isCompact:t.default.bool,isLoading:t.default.bool},y.defaultProps={activeValue:"",isCompact:!0,isLoading:!1};var g=y;exports.default=g; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/icons/Clear":"UpNA","../../../react-shared-components/CustomCheckBox":"RWnr","../../../utils/FormatCount":"W5bu"}],"jZSh":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../../../utils-logging/Log");function t(t,i){var r=[];try{for(var s,l=Sphinx.config[t],o=0;o<l.views[i].length;o++)if("docsum"!==i)((s=l.cols[l.views[i][o]]).range_filter||s.date_filter||s.discrete_filter)&&r.push(l.views[i][o]);else for(var a=0;a<l.views[i][o].length;a++)((s=l.cols[l.views[i][o][a]]).range_filter||s.date_filter||s.discrete_filter)&&r.push(l.views[i][o][a])}catch(f){var c="Exception caught in get-collection-filters method";(0,e.DEBUG_LOG_START)(c),(0,e.DEBUG_LOG)(f.message),(0,e.DEBUG_LOG_END)(c)}finally{return r}} },{"../../../utils-logging/Log":"LH3n"}],"PF6Q":[function(require,module,exports) { var n=9007199254740991,r="[object Arguments]",t="[object Function]",e="[object GeneratorFunction]",u=/^(?:0|[1-9]\d*)$/;function o(n,r,t){switch(t.length){case 0:return n.call(r);case 1:return n.call(r,t[0]);case 2:return n.call(r,t[0],t[1]);case 3:return n.call(r,t[0],t[1],t[2])}return n.apply(r,t)}function c(n,r){for(var t=-1,e=Array(n);++t<n;)e[t]=r(t);return e}function a(n,r){return function(t){return n(r(t))}}var i=Object.prototype,l=i.hasOwnProperty,f=i.toString,v=i.propertyIsEnumerable,p=a(Object.keys,Object),s=Math.max,y=!v.call({valueOf:1},"valueOf");function h(n,r){var t=S(n)||F(n)?c(n.length,String):[],e=t.length,u=!!e;for(var o in n)!r&&!l.call(n,o)||u&&("length"==o||m(o,e))||t.push(o);return t}function g(n,r,t){var e=n[r];l.call(n,r)&&x(e,t)&&(void 0!==t||r in n)||(n[r]=t)}function b(n){if(!w(n))return p(n);var r=[];for(var t in Object(n))l.call(n,t)&&"constructor"!=t&&r.push(t);return r}function d(n,r){return r=s(void 0===r?n.length-1:r,0),function(){for(var t=arguments,e=-1,u=s(t.length-r,0),c=Array(u);++e<u;)c[e]=t[r+e];e=-1;for(var a=Array(r+1);++e<r;)a[e]=t[e];return a[r]=c,o(n,this,a)}}function j(n,r,t,e){t||(t={});for(var u=-1,o=r.length;++u<o;){var c=r[u],a=e?e(t[c],n[c],c,t,n):void 0;g(t,c,void 0===a?n[c]:a)}return t}function O(n){return d(function(r,t){var e=-1,u=t.length,o=u>1?t[u-1]:void 0,c=u>2?t[2]:void 0;for(o=n.length>3&&"function"==typeof o?(u--,o):void 0,c&&A(t[0],t[1],c)&&(o=u<3?void 0:o,u=1),r=Object(r);++e<u;){var a=t[e];a&&n(r,a,e,o)}return r})}function m(r,t){return!!(t=null==t?n:t)&&("number"==typeof r||u.test(r))&&r>-1&&r%1==0&&r<t}function A(n,r,t){if(!M(t))return!1;var e=typeof r;return!!("number"==e?k(t)&&m(r,t.length):"string"==e&&r in t)&&x(t[r],n)}function w(n){var r=n&&n.constructor;return n===("function"==typeof r&&r.prototype||i)}function x(n,r){return n===r||n!=n&&r!=r}function F(n){return E(n)&&l.call(n,"callee")&&(!v.call(n,"callee")||f.call(n)==r)}var S=Array.isArray;function k(n){return null!=n&&I(n.length)&&!G(n)}function E(n){return P(n)&&k(n)}function G(n){var r=M(n)?f.call(n):"";return r==t||r==e}function I(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=n}function M(n){var r=typeof n;return!!n&&("object"==r||"function"==r)}function P(n){return!!n&&"object"==typeof n}var $=O(function(n,r){if(y||w(r)||k(r))j(r,q(r),n);else for(var t in r)l.call(r,t)&&g(n,t,r[t])});function q(n){return k(n)?h(n):b(n)}module.exports=$; },{}],"kvAs":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=u(require("prop-types")),r=u(require("../../../data-fetchers/sdq-fetch")),n=require("../../../utils-logging/Log"),a=u(require("../../../utils-logging/GoogleAnalytics")),o=u(require("../../../react-shared-components/ErrorMessage")),i=u(require("../../../react-shared-components/loader-animations/Spinner")),s=u(require("./CollectionHistogramFilter")),l=u(require("./CollectionCheckBoxFilter")),c=u(require("../helpers/get-collection-filters"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=b();return function(){var r,n=E(e);if(t){var a=E(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=require("lodash.isequal"),q=require("lodash.assign"),D=require("lodash.clonedeep"),G=function(t){m(f,e.default.Component);var u=v(f);function f(e){var t;return d(this,f),(t=u.call(this,e)).handleResetAll=t.handleResetAll.bind(_(t)),t.currentFetchID=0,t.state={isLoaded:!1,isUpdating:!1,hasError:!1,errMessage:""},t}return h(f,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){var r=this;O(e.hashObject,this.props.hashObject)||this.setState({isUpdating:this.state.isLoaded},function(){r.doSearch()})}},{key:"componentDidCatch",value:function(e,t){var r="React Error Boundary in CollectionFilters Component";(0,n.DEBUG_LOG_START)(r),(0,n.DEBUG_LOG)(e),(0,n.DEBUG_LOG)(t.componentStack),(0,n.DEBUG_LOG_END)(r),this.setState({hasError:!0,errMessage:r+": "+e}),a.default.event({action:"react-error",label:r+": "+e})}},{key:"doSearch",value:function(){var e=this,t=this.props.hashObject,o=Date.now();this.currentFetchID=o;var i=(0,c.default)(t.collection,"docsum"),s=this.getActives(),l=D(t);"list"!==l.query_type&&(l.query=this.props.qInterpretBlob.clean_query||this.props.qInterpretBlob.query),l.listID&&(l.query=t.listID,l.id_type=t.id_type,l.query_type="list");var u=[(0,r.default)(q({},f.removeFiltersFromInput(l,s),{view:"minimal",histograms:i}))];if(s.length&&u.push((0,r.default)(q({},l,{view:"minimal",histograms:i}))),s.length>1)for(var d=0;d<s.length;d++)u.push((0,r.default)(q({},f.removeFiltersFromInput(l,[s[d]]),{view:"minimal",histograms:i})));Promise.all(u).then(function(t){if(o===e.currentFetchID){for(var r={},n=0;n<i.length;n++)s.length&&i[n].indexOf(s)<0?r[i[n]]=t[1]:r[i[n]]=t[0];if(s.length>1)for(var a=0;a<s.length;a++)r[s[a]]=t[a+2];o===e.currentFetchID&&e.setState({dataBlob:r,isLoaded:!0,isUpdating:!1})}}).catch(function(t){if(o===e.currentFetchID){var r="sdq_fetch error in CollectionFilters Component";(0,n.DEBUG_LOG_START)(r),(0,n.DEBUG_LOG)(t.message),(0,n.DEBUG_LOG_END)(r),a.default.event({action:"CollectionFilter-error",label:r+": "+t.message}),e.setState({hasError:!0,errMessage:r+": "+t.message})}})}},{key:"processConfig",value:function(){var e=this.props.config,t=[];try{for(var r=e.cols||{},o=(0,c.default)(this.props.hashObject.collection,"docsum"),i=0;i<o.length;i++){var s=o[i],l=r[s];(l.date_filter||l.range_filter||l.discrete_filter)&&t.push({name:s,units:l.units,display_name:l.display_name,date_filter:l.date_filter,range_filter:l.range_filter,discrete_filter:l.discrete_filter})}}catch(f){var u="Error in CollectionFilters Component processConfig method";(0,n.DEBUG_LOG_START)(u),(0,n.DEBUG_LOG)(f.message),(0,n.DEBUG_LOG_END)(u),a.default.event({action:"CollectionFilters-error",label:u+": "+f.message})}finally{return t}}},{key:"getActives",value:function(){var e=[];try{for(var t=0;t<this.props.activeFilters.length;t++){var r=String(Object.keys(this.props.activeFilters[t])).replace(/_.*/gi,"");e.indexOf(r)<0&&e.push(r)}}catch(o){var a="Error in CollectionFilters Component getActives method";(0,n.DEBUG_LOG_START)(a),(0,n.DEBUG_LOG)(o.message),(0,n.DEBUG_LOG_END)(a)}finally{return e}}},{key:"handleResetAll",value:function(e){for(var t=this.getActives(),r={},n=0;n<t.length;n++)r[t[n]]="",r[t[n]+"_eq"]="",r[t[n]+"_lt"]="",r[t[n]+"_lte"]="",r[t[n]+"_gt"]="",r[t[n]+"_gte"]="";this.props.setParams(r)}},{key:"render",value:function(){var t=this,r=this.processConfig(),n=this.getActives();return e.default.createElement("div",{className:"relative"+(this.state.isUpdating?" updating1":"")},this.state.ErrorMessage?e.default.createElement(o.default,{message:this.state.errMessage}):this.state.isLoaded&&this.state.dataBlob?e.default.createElement("div",{className:this.props.isCompact?"":"flex-container full-width space-around align-top"},r.map(function(a){return a.range_filter||a.date_filter?e.default.createElement("div",{className:"p-md-bottom "+(t.props.isCompact||r.length<4?"width-100":"width-25em")},e.default.createElement(s.default,{key:a.name,name:a.name,units:a.units,title:a.display_name,dataBlob:t.state.dataBlob[a.name],setParams:t.props.setParams,isActive:n.indexOf(a.name)>-1,activeFilters:t.props.activeFilters,config:t.props.config.cols[a.name],isLoading:t.state.isUpdating})):e.default.createElement("div",{className:"p-md-bottom "+(t.props.isCompact||r.length<4?"width-100":"width-25em")},e.default.createElement(l.default,{key:a.name,name:a.name,title:a.display_name,dataBlob:t.state.dataBlob[a.name],setParams:t.props.setParams,activeValue:t.props.hashObject[a.name],config:t.props.config.cols[a.name],isLoading:t.state.isUpdating}))})):e.default.createElement(i.default,{className:"loader-background loader-background-search"}))}}],[{key:"removeFiltersFromInput",value:function(e,t){for(var r=D(e),n=0;n<t.length;n++)delete r[t[n]],delete r[t[n]+"_eq"],delete r[t[n]+"_lt"],delete r[t[n]+"_lte"],delete r[t[n]+"_gt"],delete r[t[n]+"_gte"];return r}}]),f}();G.propTypes={hashObject:t.default.object.isRequired,activeFilters:t.default.array,config:t.default.object.isRequired,setParams:t.default.func.isRequired,isCompact:t.default.bool,resultsCount:t.default.number},G.defaultProps={hashObject:{},activeFilters:[],isCompact:!0,resultsCount:0};var C=G;exports.default=C; },{"react":"SAdv","prop-types":"yu5W","../../../data-fetchers/sdq-fetch":"X5vv","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/loader-animations/Spinner":"Z4op","./CollectionHistogramFilter":"uLNZ","./CollectionCheckBoxFilter":"jFy2","../helpers/get-collection-filters":"jZSh","lodash.isequal":"Earo","lodash.assign":"PF6Q","lodash.clonedeep":"kEmP"}],"k0A0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-trash-can",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:i},e.default.createElement("path",{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"K22n":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=i(require("react")),t=i(require("prop-types")),r=i(require("../../../react-shared-components/Modal")),n=i(require("../../../react-shared-components/icons/Filter")),a=i(require("./CollectionFilters")),l=i(require("../../../react-shared-components/icons/TrashCan")),s=i(require("../helpers/get-collection-filters")),o=i(require("../../../utils/FormatCount"));function i(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=y();return function(){var r,n=v(e);if(t){var a=v(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(t){d(c,e.default.Component);var i=m(c);function c(e){var t;return u(this,c),(t=i.call(this,e)).handleReset=t.handleReset.bind(g(t)),t}return p(c,[{key:"handleReset",value:function(){for(var e=this.getActives(),t={},r=0;r<e.length;r++)try{t[Object.keys(e[r])[0]]="",t[String(Object.keys(e[r])[0]).replace(/_.*/gi,"")]=""}catch(n){}this.props.setParams(t)}},{key:"getActives",value:function(){var e=[];try{e=Sphinx.query(this.props.hashObject).validated_params.filters||[]}catch(t){}finally{return e}}},{key:"render",value:function(){var t=this,i=this.getActives();return(this.props.resultsCount>1||i.length)&&(0,s.default)(this.props.hashObject.collection,"docsum").length?e.default.createElement(e.default.Fragment,null,e.default.createElement(r.default,{className:"filters-container",startOpen:this.props.hashObject.filters,isCompact:this.props.isCompact,onClose:function(){return t.props.setParams({filters:""})},trigger:function(r){r.setIsOpen;return e.default.createElement("button",{className:"button bckg-gray-lightest with-padding-small with-border b-radius width-100 has-icon-left","data-ga-action":"filters-modal-open","data-ga-label":"Filters Modal Open",onClick:function(){t.props.setParams({filters:!0})}},e.default.createElement(n.default,null),e.default.createElement("span",{className:"btn-text p-sm-right"},"Filters"+(i.length?" ("+i.length+")":"")))},title:e.default.createElement("div",{className:"flex-container flex-nowrap width-100 align-vertical-center"},e.default.createElement("div",{className:"f-lh-15"},"FILTERS"),e.default.createElement("div",{className:"flex-grow-1 align-center uppercase p-md-left p-md-right"},this.props.isUpdating?e.default.createElement("span",null,"(...)"):e.default.createElement("span",null,(0,o.default)(this.props.resultsCount)+" result"+(1===this.props.resultsCount?"":"s")," ")),i.length>0&&e.default.createElement("div",{className:"inline-block f-0875 p-sm-right"},e.default.createElement("button",{className:"button bckg-gray-lightest "+(this.props.isCompact?" square-icon":"with-padding-small has-icon-left with-border b-radius"),onClick:this.handleReset,"data-ga-action":"filters-reset-all-button","data-ga-label":"Reset All Filters Button"},e.default.createElement(l.default,null),e.default.createElement("span",{className:"btn-text"},e.default.createElement("span",{className:this.props.isCompact?" sr-only":""},"Clear All")," ",e.default.createElement("span",null,"(",i.length,")"))))),trackAction:"filters-modal",trackLabel:"Filters Modal"},e.default.createElement("div",{className:"min-height-70vh align-left"},e.default.createElement(a.default,{hashObject:this.props.hashObject,config:this.props.config,activeFilters:i,setParams:this.props.setParams,isCompact:this.props.isCompact,qInterpretBlob:this.props.qInterpretBlob})))):e.default.createElement(e.default.Fragment,null,null)}}]),c}();C.propTypes={hashObject:t.default.object.isRequired,config:t.default.object.isRequired,setParams:t.default.func.isRequired,isCompact:t.default.bool,resultsCount:t.default.number,isUpdating:t.default.bool,containerClassName:t.default.string,backgroundClassName:t.default.string},C.defaultProps={hashObject:{},isCompact:!0,isUpdating:!1,resultsCount:0,backgroundClassName:"bckg-white"};var E=C;exports.default=E; },{"react":"SAdv","prop-types":"yu5W","../../../react-shared-components/Modal":"YUkR","../../../react-shared-components/icons/Filter":"OLm8","./CollectionFilters":"kvAs","../../../react-shared-components/icons/TrashCan":"k0A0","../helpers/get-collection-filters":"jZSh","../../../utils/FormatCount":"W5bu"}],"VUft":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=r(require("react")),t=require("../utils-logging/Log");function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var r="";try{for(var a={},u=0;u<e.length;u++)e[u].match(/[A-Z]/)&&(u<e.length-1&&e[u+1].match(/[a-z]/)?(a[e[u]+e[u+1]]?(a[e[u]+e[u+1]]=++a[e[u]+e[u+1]],!1):a[e[u]+e[u+1]]=1,u++):a[e[u]]?(a[e[u]]=++a[e[u]],!1):a[e[u]]=1);for(var n=!1,i=0;i<e.length;i++)if("+"===e[i]||"-"===e[i])i<e.length-1&&e[i+1].match(/[a-z]/i)?r+=e[i]:(n=!0,!0,r+="<sup>"+e[i]);else if(e[i].match(/[0-9]/)){for(var l=e[i],c=!i,o=i,s=i+1;s<e.length&&e[s].match(/[0-9]/);s++)l+=e[s],i++;n||c?r+=l:c||e[o-1].match(/[a-z]|\)/i)?r+="<sub>"+l+"</sub>":r+=l}else n?(r+="</sup>"+e[i],n=!1):r+=e[i];n&&(r+="</sup>")}catch(h){r=e,(0,t.DEBUG_LOG)("Exception caught in FormatFormulaJSX utility function:\n"+h.message)}finally{return r}} },{"react":"SAdv","../utils-logging/Log":"LH3n"}],"f8je":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UrlPubChemDevFriendly=r,exports.default=void 0;var e=require("../ini/ini");function r(r){if(r){var t=String(r);try{if((e.isDev||e.isTest)&&(t=t.replace(e.PROD_HOME_URL,e.HOME_URL),e.isDev)){var i=new RegExp(e.HOME_URL+"/("+Object.values(e.ID_COLLECTIONS).join("|")+"|source|sources)/");t.match(i)&&(t=t.replace(e.HOME_URL,e.HOME_URL+"/rest"))}}catch(s){}return t}}var t=r;exports.default=t; },{"../ini/ini":"wjNQ"}],"pxHR":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=l(require("../../../utils/UrlPubChemDevFriendly"));function l(e){return e&&e.__esModule?e:{default:e}}function t(l,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,a="";try{if(t.template&&(a=t.template),a)for(var f=0;f<t.field.length;f++){if(!i&&!r[t.field[f]]){a="";break}if(i)try{var o=r[t.field[f]].split(l.cols[t.field[f]].list_separator||"|")[d],u=new RegExp("{"+t.field[f]+"}","g");a=a.replace(u,o)}catch(s){a="";break}else{var n=new RegExp("{"+t.field[f]+"}","g");a=a.replace(n,i||r[t.field[f]])}}else r[t.field]&&(a=r[t.field]);a=(0,e.default)(a)}catch(c){}return a} },{"../../../utils/UrlPubChemDevFriendly":"f8je"}],"qkhS":[function(require,module,exports) { "use strict";function e(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; },{}],"VumS":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getQueryMatchRegExp=u,exports.default=void 0;var e=t(require("../../../utils/EscapeRegExp")),r=require("../../../utils-logging/Log");function t(e){return e&&e.__esModule?e:{default:e}}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=null;if(t.query&&"id_list"!==t.type)try{var o=[];if("text"!==t.type)o.push((0,e.default)(t.clean_query||t.query));else if(t.hasQuotes)for(var a=0;a<t.wordArr.length;a++){for(var l=t.wordArr[a].replace(/['"]/g,"").split(/\W+/g),s=[],i=0;i<l.length;i++)s.push((0,e.default)(l[i]));o.push(s.join("\\W+"))}else for(var g=0;g<t.wordArr.length;g++)t.wordArr[g].match(/^(and|or|not)$/gi)||o.push((0,e.default)(t.wordArr[g]).replace(/\W+/g,"\\W+"));u=new RegExp("("+o.join("W*|")+")","gi")}catch(p){var n="getQueryMatchRegExp Exception";(0,r.DEBUG_LOG_START)(n),(0,r.DEBUG_LOG)(p.message),(0,r.DEBUG_LOG_END)(n)}return u}var o=u;exports.default=o; },{"../../../utils/EscapeRegExp":"qkhS","../../../utils-logging/Log":"LH3n"}],"Lr35":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTruncatedListWithQueryMatches=n;var e=require("../../../utils-logging/Log"),r=t(require("../../../utils/EscapeRegExp"));function t(e){return e&&e.__esModule?e:{default:e}}function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"|",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if(t)try{var a=t.split(n).filter(function(e){return null!=e&&""!==e});if(!i||a.length<i)o=a.join("; ");else if(l.query&&"id_list"!==l.type){var u=[];if("text"!==l.type)u.push((0,r.default)(l.query));else if(l.hasQuotes)for(var g=0;g<l.wordArr.length;g++){for(var s=l.wordArr[g].replace(/['"]/g,"").split(/\W+/g),h=[],f=0;f<s.length;f++)h.push((0,r.default)(s[f]));u.push(h.join("\\W+"))}else for(var c=0;c<l.wordArr.length;c++)l.wordArr[c].match(/^(and|or|not)$/gi)||u.push((0,r.default)(l.wordArr[c]).replace(/\W+/g,"\\W+"));for(var d=[],p=new Array(l.wordArr.length).fill(0),v=0;v<a.length&&!String(p.join("")).match(/^1+$/);v++)for(var y=0;y<u.length;y++){var w=new RegExp(u[y],"gi");!p[y]&&a[v].match(w)&&(p[y]=1,d.push(v))}for(var x=d.filter(function(e,r){return d.indexOf(e)===r}),A=0;A<i;A++)x.length<i&&x.indexOf(A)<0&&x.splice(A,0,A);for(var W=0;W<x.length;W++)o+=a[x[W]],W<x.length-1?(o+="; ",x[W]<x[W+1]-1&&(o+="...; ")):x[W]<a.length-1&&(o+="; ...")}else o=a.slice(0,i).join("; "),i<a.length&&(o+="; ...")}catch(_){(0,e.DEBUG_LOG)("Exception in getTruncatedListWithQueryMatches: ".concat(_.message))}return o} },{"../../../utils-logging/Log":"LH3n","../../../utils/EscapeRegExp":"qkhS"}],"FraL":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("react"));function t(e){return e&&e.__esModule?e:{default:e}}var r=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-unlock",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,1 10,15A2,2 0 0,1 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17Z"}))},l=r;exports.default=l; },{"react":"SAdv"}],"dcpA":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SDQDocsum=void 0;var e=f(require("react")),t=c(require("prop-types")),a=require("../../utils-logging/Log"),l=c(require("../../utils/FormatFormulaHTML")),r=c(require("../../utils/FormatCount")),n=c(require("./helpers/getFieldUrl")),i=c(require("./helpers/getQueryMatchRegExp")),u=require("./helpers/getTruncatedListWithQueryMatches"),s=c(require("../icons/UnLock"));function c(e){return e&&e.__esModule?e:{default:e}}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var i=r?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(l,n,i):l[n]=e[n]}return l.default=e,a&&a.set(e,l),l}var d=e.default.memo(function(t){var c=t.isCompact,o=t.isWidget,f=void 0!==o&&o,d=t.data,m=t.sort,p=t.qInterpretBlob,g=void 0===p?{type:"text"}:p,h=t.config,_=t.isFeatured,b=t.position,E=t.page,v=t.label,y=h.docsum_row_max_fields||1e3;function k(t){var n=t.value,s=String(t.value);try{if(t.name.match(/date/i))n=8===s.length&&parseInt(s)?"".concat(s.substring(0,4),"-").concat(s.substring(4,6),"-").concat(s.substring(6)):s;else if(t.name.match(/formula|mf/i))n=e.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,l.default)(t.value)}});else if(t.config.is_list&&t.config.display_count){var o;o=s.match(/^count/i)?s.replace("count:",""):s.split(t.config.list_separator||"|").length,n=e.default.createElement("span",{className:"border b-radius b-primary p-sm-left p-sm-right f-white bckg-primary"},(0,r.default)(o))}else{t.config.is_list&&(s=(0,u.getTruncatedListWithQueryMatches)(s,t.config.list_separator||"|",t.config.list_display_truncate?c?3:_?8:5:0,g)),s=s.replace(/(<([^>]+)>)/gi,"");var f=(0,i.default)(g);if(f)if(t.config.show_if_match_only&&!s.match(f))n=null;else{var d=s.split(f);n=e.default.createElement("span",null,d.map(function(t,a){if(t.match(f))return e.default.createElement("span",{key:a,className:"highlight"},t);if(t.match(/_\|\|_/)){var l=t.split(/_\|\|_/);return e.default.createElement(e.Fragment,{key:a},l.map(function(t,a){return e.default.createElement(e.Fragment,{key:a},t,a+1<l.length&&e.default.createElement("br",null))}))}return e.default.createElement(e.Fragment,{key:a},t)}))}else n=s}}catch(p){var m="Exception caught in SDQDocsum Component format_item function.";(0,a.DEBUG_LOG_START)(m),(0,a.DEBUG_LOG)(p.message),(0,a.DEBUG_LOG_END)(m)}finally{return n}}if(h&&h.views&&h.views.docsum){var x,N,w,D,L;try{N=(x=h.views.docsum.slice()).shift()[0],w=h.url_field&&h.cols[h.url_field].url&&h.cols[h.url_field].url.template?(0,n.default)(h,h.cols[h.url_field].url,d):d[h.url_field],h.thumbnail&&("cid"===h.thumbnail.url.field[0]&&0===d[h.thumbnail.url.field[0]]||(D=(0,n.default)(h,h.thumbnail.url,d),L=(0,n.default)(h,h.thumbnail.href,d)))}catch(F){var O="Exception caught in SDQDocsum Component trying to read config.";(0,a.DEBUG_LOG_START)(O),(0,a.DEBUG_LOG)(F.message),(0,a.DEBUG_LOG_END)(O)}return e.default.createElement("div",{className:f?"":"f-lh-135"},e.default.createElement("div",{className:"p-md-rectangle "+(h.thumbnail&&D&&!c?"flex-container flex-nowrap width-100":"")},h.thumbnail&&D&&e.default.createElement("div",null,e.default.createElement("a",{href:L||w,tabIndex:-1,"data-ga-action":_?"featured-result-link":"result-link","data-ga-label":(_?"Featured "+v+" ":"")+"Result Thumbnail Link; Position:"+b+"; Page:"+E},e.default.createElement("img",{className:"",width:h.thumbnail.width,height:h.thumbnail.height,src:D,alt:"Structure image"}))),e.default.createElement("div",{className:h.thumbnail&&D&&!c?"flex-grow-1 p-md-left":""},d[N]&&e.default.createElement("div",{className:"f-medium p-sm-top p-sm-bottom "+(f?"f-1":"f-1125")},h.cols[N].flag_field&&1===d[h.cols[N].flag_field]?e.default.createElement("span",{className:"f-gray",title:"Open or Free Access"},e.default.createElement(s.default,null)):null,e.default.createElement("a",{href:w,className:h.cols[N].capitalize?" capitalized":"","data-ga-action":_?"featured-result-link":"result-link","data-ga-label":(_?"Featured "+v+" ":"")+"Result Title Link; Position:"+b+"; Page:"+E},e.default.createElement("span",{className:"breakword"},k({name:N,value:d[N],config:h.cols[N]})))),x.map(function(t,a){return e.default.createElement("div",{className:"f-0875"},t.map(function(t,a){if("cid"===t&&0===d[t])return null;if(!d[t]&&0!==d[t]||String(d[t]).match(/^null$/i)||!(a<y||t===m))return null;var l="";try{l=(0,n.default)(h,h.cols[t].url,d)}catch(F){}var r=k({name:t,value:d[t],config:h.cols[t]});if(!r)return null;var i=e.default.createElement(e.default.Fragment,null,e.default.createElement("span",{className:"breakword"+(h.cols[t].capitalize?" capitalized":"")},r),h.cols[t].units&&e.default.createElement("span",{dangerouslySetInnerHTML:{__html:h.cols[t].units}}));return e.default.createElement("div",{className:"p-xsm-top p-xsm-bottom "+(c?"block":"inline-block")},e.default.createElement("span",{className:t===m?"sort-highlight":""},e.default.createElement("span",{className:"f-medium"},h.cols[t].display_short_name||h.cols[t].display_name,t===m?e.default.createElement("span",null," (sort by)"):null,": "),l?e.default.createElement("a",{className:"f-medium",href:l,"data-ga-action":_?"featured-result-link":"result-link","data-ga-label":(_?"Featured "+v+" ":"")+"Result Secondary Link; Position:"+b+"; Page:"+E},i):i),"聽聽")}))}))),h.docsum_extra_links&&e.default.createElement("div",{className:"b-top b-light p-md-rectangle"},h.docsum_extra_links.map(function(t,a){return t.field_must_exist&&!d[t.field_must_exist]?null:e.default.createElement("div",{className:"f-0875 p-xsm-top p-xsm-bottom "+(c?"block":"inline-block p-l-right")},e.default.createElement("a",{className:"f-medium",href:(0,n.default)(h,t.url,d),"data-ga-action":_?"featured-result-link":"result-link","data-ga-label":(_?"Featured "+v:"")+"Result Extra Link; Position:"+b+"; Page:"+E},t.display_name))})))}return e.default.createElement(e.default.Fragment,null,null)});exports.SDQDocsum=d,d.propTypes={isCompact:t.default.bool,data:t.default.array.isRequired,sort:t.default.string,qInterpretBlob:t.default.object.isRequired,config:t.default.object.isRequired,position:t.default.number,page:t.default.number,label:t.default.string},d.defaultProps={isCompact:!0,position:1,page:1,label:""};var m=d;exports.default=m; },{"react":"SAdv","prop-types":"yu5W","../../utils-logging/Log":"LH3n","../../utils/FormatFormulaHTML":"VUft","../../utils/FormatCount":"W5bu","./helpers/getFieldUrl":"pxHR","./helpers/getQueryMatchRegExp":"VumS","./helpers/getTruncatedListWithQueryMatches":"Lr35","../icons/UnLock":"FraL"}],"GLZl":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-keyboard-arrow-left",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),e.default.createElement("path",{d:"M0-.5h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"PFAK":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("react"));function t(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var l=t.width,r=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-first-page",fill:a||"",viewBox:"0 0 24 24",width:l||"24",height:r||"24",style:i},e.default.createElement("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),e.default.createElement("path",{d:"M24 24H0V0h24v24z",fill:"none"}))},r=l;exports.default=r; },{"react":"SAdv"}],"acEs":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("react"));function t(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var l=t.width,a=t.height,r=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-last-page",fill:r||"",viewBox:"0 0 24 24",width:l||"24",height:a||"24",style:i},e.default.createElement("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),e.default.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv"}],"lmia":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ErrorBoundary=void 0;var e=n(require("react")),t=n(require("prop-types")),r=n(require("../utils-logging/GoogleAnalytics")),o=require("../utils/Platform");function n(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=d();return function(){var r,o=h(e);if(t){var n=h(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return p(this,r)}}function p(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(t){c(u,e.default.Component);var n=l(u);function u(e){var t;return a(this,u),(t=n.call(this,e)).state={hasError:!1},t}return s(u,[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var n=this.props.componentName||this.props.errMessage||"";(0,o.isIE)()&&(0,o.isIE)()<12||r.default.event({action:"react-error",label:(n?n+"; ":"")+e+": "+t.componentStack})}},{key:"render",value:function(){return this.state.hasError?this.props.showMessage?this.props.componentName?e.default.createElement("div",{className:"f-secondary-dark italic p-sm"},"React Error in ",this.props.componentName,"..."):e.default.createElement("div",{className:"f-secondary-dark italic p-sm"},this.props.errMessage||"Something went wrong..."):null:this.props.children}}]),u}();exports.ErrorBoundary=m,m.propTypes={showMessage:t.default.bool,errMessage:t.default.string,componentName:t.default.string},m.defaultProps={showMessage:!1,errMessage:"",componentName:"ReactComponent"};var b=m;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../utils-logging/GoogleAnalytics":"z7bP","../utils/Platform":"DJgC"}],"Q6VP":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Pagination=void 0;var e=o(require("react")),a=o(require("prop-types")),t=o(require("./icons/KeyboardArrowRight")),n=o(require("./icons/KeyboardArrowLeft")),r=o(require("./icons/FirstPage")),u=o(require("./icons/LastPage")),l=o(require("../utils/FormatCount")),i=o(require("./ErrorBoundary"));function o(e){return e&&e.__esModule?e:{default:e}}var s=function a(o){var s=o.totalCount,d=o.showTotalCount,m=o.pageSize,c=o.currentPage,f=o.setParams,g=o.resultsContainerRef,p=o.isCompact,b=o.grayBackground,h=o.trackAction,N=o.trackLabel,P=parseInt(c)||a.defaultProps.currentPage;return e.default.createElement(i.default,{errMessage:"React Error in Pagination component"},e.default.createElement(e.default.Fragment,null,s&&e.default.createElement("div",null,p&&d&&e.default.createElement("div",{className:"f-lh-2 f-medium f-gray nowrap p-sm align-center"},(0,l.default)(s)+" results"),e.default.createElement("ul",{className:"unstyled-list flex-container align-vertical-center centered"+(p?" b-radius centered":"")},function(){var e=[];try{var a=Math.ceil(s/m);if(p)P>2&&e.push({name:"Beginning",pageNum:1}),1!==P&&e.push({name:"Previous",pageNum:P-1}),e.push({name:"Page "+(0,l.default)(P),pageNum:P}),P!==a&&e.push({name:"Next",pageNum:P+1}),P<a-1&&e.push({name:"End",pageNum:a});else{1!==P&&e.push({name:"Previous",pageNum:P-1}),e.push({name:1,pageNum:1}),P-2-1>1&&e.push({name:"..."});for(var t=P+2<a?P+2:a-1,n=P-2>2?P-2:2;n<=t;n++)e.push({name:(0,l.default)(n),pageNum:n});P+2<a-1&&e.push({name:"..."}),e.push({name:(0,l.default)(a),pageNum:a}),P!==a&&e.push({name:"Next",pageNum:P+1})}}catch(r){}finally{return e}}().map(function(a,l){return e.default.createElement("li",{key:a.name+"_"+l,className:"b-bottom b-thick "+(P===a.pageNum?"b-gray":b?"b-light":"b-white")},P===a.pageNum?e.default.createElement("div",{className:"f-lh-2 f-medium f-gray p-md-left p-md-right"},e.default.createElement("span",{className:"inline-block align-middle f-bold"},a.name)):a.pageNum?e.default.createElement("button",{className:"button "+(p?"with-padding-small":"with-padding"),value:a.pageNum,"aria-label":"Page "+a.pageNum,onClick:function(e){if(f({page:e.currentTarget.value}),g)try{window.scrollTo(0,window.pageYOffset-100+g.current.getBoundingClientRect().top)}catch(a){}else window.scrollTo(0,0);e.currentTarget.blur()},"data-ga-action":h,"data-ga-label":N+" Page: "+a.name},"Beginning"===a.name&&e.default.createElement(r.default,null),"Previous"===a.name&&e.default.createElement(n.default,null),!p&&e.default.createElement("span",{className:"btn-text f-bold"},a.name),"Next"===a.name&&e.default.createElement(t.default,null),"End"===a.name&&e.default.createElement(u.default,null)):e.default.createElement("span",null,a.name))})))))};exports.Pagination=s,s.propTypes={totalCount:a.default.number.isRequired,showTotalCount:a.default.bool,pageSize:a.default.number,currentPage:a.default.number,setParams:a.default.func.isRequired,resultsContainerRef:a.default.node,grayBackground:a.default.bool,trackAction:a.default.string,trackLabel:a.default.string},s.defaultProps={showTotalCount:!0,pageSize:10,currentPage:1,grayBackground:!1,trackAction:"pagination-button",trackLabel:"Pagination"};var d=s;exports.default=d; },{"react":"SAdv","prop-types":"yu5W","./icons/KeyboardArrowRight":"KrIt","./icons/KeyboardArrowLeft":"GLZl","./icons/FirstPage":"PFAK","./icons/LastPage":"acEs","../utils/FormatCount":"W5bu","./ErrorBoundary":"lmia"}],"unOu":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,C=t.color,l=t.style;return e.default.createElement("svg",{className:"icon icon-database-search",fill:C||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:l},e.default.createElement("path",{d:"M10,1C5.58,1 2,2.79 2,5C2,7.06 5.13,8.74 9.15,8.96C10.45,7.7 12.19,7 14,7C14.8,7 15.59,7.14 16.34,7.41C17.37,6.74 18,5.91 18,5C18,2.79 14.42,1 10,1M2,7V10C2,11.68 4.08,13.11 7,13.71C7.06,12.7 7.32,11.72 7.77,10.82C4.44,10.34 2,8.82 2,7M13.93,8.94C12.75,8.95 11.53,9.4 10.46,10.46C6.21,14.71 11.71,21.5 16.75,18.17L21.29,22.71L22.71,21.29L18.17,16.75C20.66,12.97 17.47,8.93 13.93,8.94M13.9,11C15.47,10.95 17,12.16 17,14A3,3 0 0,1 14,17C11.33,17 10,13.77 11.88,11.88C12.47,11.29 13.19,11 13.9,11M2,12V15C2,17.05 5.09,18.72 9.06,18.95C8.17,18.07 7.54,16.95 7.22,15.74C4.18,15.17 2,13.72 2,12Z"}))},C=a;exports.default=C; },{"react":"SAdv","prop-types":"yu5W"}],"pjNf":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(t){var r=t.width,i=t.height,l=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-open-in-new",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:i||"24",style:o},e.default.createElement("path",{d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"}))},l=i;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"bWGw":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-radio",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Vb28":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-radio-outline",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"avz2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CustomRadioGroup=void 0;var e=n(require("react")),t=n(require("prop-types")),a=n(require("./icons/Radio")),l=n(require("./icons/RadioOutline")),r=n(require("./ErrorBoundary"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=function(t){var n=t.label,i=t.labelClassName,s=t.selectedOption,u=t.options,d=t.onChange,c=t.listClassName,f=t.btnTextClassName,m=t.trackAction,b=t.trackLabel,p=t.isDisabled,y="radiogroup_"+Date.now(),g="object"===o(s)?s.name:s;return e.default.createElement(r.default,null,e.default.createElement(e.default.Fragment,null,n&&e.default.createElement("label",{htmlFor:y,className:"block p-sm-bottom "+i},n),e.default.createElement("div",{id:y,role:"radiogroup"},u.map(function(t){var r="object"===o(t)?t.name:t,n="object"===o(t)?t.display_name||t.name:t;return e.default.createElement("div",{key:r,className:c},e.default.createElement("button",{type:"button",className:"button lh-15 with-padding-small align-left has-icon-left no-disabled-style",role:"radio","aria-checked":r===g,name:r,onClick:function(e){d&&d(e.currentTarget.getAttribute("name"))},"data-ga-action":m,"data-ga-label":b+": "+r,disabled:r===g||p,"aria-disabled":r===g||p},1===u.length?null:r===g?e.default.createElement(a.default,null):e.default.createElement(l.default,null),e.default.createElement("span",{className:"btn-text f-0875 "+f},n)))}))))};exports.CustomRadioGroup=i,i.propTypes={label:t.default.string,labelClassName:t.default.string,selectedOption:t.default.string,options:t.default.array.isRequired,onChange:t.default.func.isRequired,listClassName:t.default.string,btnTextClassName:t.default.string,trackAction:t.default.string,trackLabel:t.default.string,isDisabled:t.default.bool},i.defaultProps={listClassName:"",btnTextClassName:"capitalized ellipsis p-md-right",trackAction:"radio-select",trackLabel:"Radio Select",isDisabled:!1};var s=i;exports.default=s; },{"react":"SAdv","prop-types":"yu5W","./icons/Radio":"bWGw","./icons/RadioOutline":"Vb28","./ErrorBoundary":"lmia"}],"DegH":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=r(require("../../../utils/PCFEStorage")),t=require("../../../ini/ini");function r(e){return e&&e.__esModule?e:{default:e}}var i=require("lodash.clonedeep");function a(r,a){if(r&&a){var u=JSON.parse(e.default.getItem(t.SAVED_SEARCHES_KEY))||{},s=i(r);return s.timestamp||(s.timestamp=Date.now()),s.hash=location.hash,u[a]=s,e.default.setItem(t.SAVED_SEARCHES_KEY,JSON.stringify(u))}} },{"../../../utils/PCFEStorage":"mx2d","../../../ini/ini":"wjNQ","lodash.clonedeep":"kEmP"}],"bND4":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var L=function(t){var r=t.width,L=t.height,l=t.color,a=t.style;return e.default.createElement("svg",{className:"icon icon-star-outline",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:L||"24",style:a},e.default.createElement("path",{d:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"}))},l=L;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"Y24P":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-star",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:i},e.default.createElement("path",{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"zqDS":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SaveSearch=void 0;var e=c(require("react")),t=o(require("prop-types")),a=o(require("../helpers/search-save")),r=o(require("../../../react-shared-components/icons/StarOutline")),l=o(require("../../../react-shared-components/icons/KeyboardArrowDown")),n=o(require("../../../react-shared-components/icons/Star")),s=o(require("../../../react-hooks/hook-click-outside")),i=o(require("../../../react-shared-components/ErrorMessage"));function o(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(u=function(e){return e?a:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=u(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var s=l?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=e[n]}return r.default=e,a&&a.set(e,r),r}function d(e,t){return b(e)||h(e,t)||m(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"==typeof e)return p(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function h(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,l,n=[],s=!0,i=!1;try{for(a=a.call(e);!(s=(r=a.next()).done)&&(n.push(r.value),!t||n.length!==t);s=!0);}catch(o){i=!0,l=o}finally{try{s||null==a.return||a.return()}finally{if(i)throw l}}return n}}function b(e){if(Array.isArray(e))return e}var v=function(t){var o=(0,e.useRef)(),u=d((0,e.useState)(t.isOpen),2),c=u[0],f=u[1],m=d((0,e.useState)(!1),2),p=m[0],h=m[1],b=d((0,e.useState)(""),2),v=b[0],g=b[1],y=d((0,e.useState)(""),2),w=y[0],S=y[1];return(0,s.default)(o,function(){return f(!1)}),e.default.createElement("div",{ref:o,className:"relative align-left"},e.default.createElement("button",{className:"button width-100 "+(t.buttonClassName||""),onClick:function(e){f(!0)},disabled:t.isDisabled,"data-ga-action":"save-search-open-button","data-ga-label":"Save Search Button"},e.default.createElement("div",{className:"flex-container flex-nowrap space-between full-width"},e.default.createElement("div",{className:"width-2em height-2em align-center"},p?e.default.createElement(n.default,null):e.default.createElement(r.default,null)),e.default.createElement("div",{className:"btn-txt ellipsis",style:{maxWidth:"calc(100% - 4em)"}},p?e.default.createElement("span",null,"Saved as ",e.default.createElement("i",null,w)):e.default.createElement("span",null,"Save for Later")),e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(l.default,null)))),c&&e.default.createElement("div",{className:"absolute z-index-100 width-100 left-0 top-0 box-shadow bckg-gray-lightest b-radius p-sm"},e.default.createElement("div",null,t.editLabel&&e.default.createElement("label",{className:"p-xsm-bottom"},t.editLabel),e.default.createElement("input",{type:"text",className:"width-100 p-xsm",value:w,onChange:function(e){S(e.target.value)},autoFocus:!0})),v&&e.default.createElement(i.default,{message:"Attempt to save to localStorage failed... This might happen if your browser is configured to not allow access to localStorage."}),e.default.createElement("div",{className:"table-grid full-width fixed-layout"},e.default.createElement("div",{className:"f-white p-xsm-top p-sm-right"},e.default.createElement("button",{className:"button width-100 with-padding-small bckg-primary",title:w?"Save for later":"Give your search a name you can easily remember",disabled:!w,onClick:function(e){(0,a.default)({timestamp:t.timestamp,listID:t.listID,id_type:t.id_type,listSize:t.listSize,alias:t.alias,hashObject:t.hashObject},w)?(h(!0),f(!1),window.dispatchEvent(window.saveEvent)):(h(!1),g("Failed trying to save this search to localStorage..."))},"data-ga-action":"save-search-button","data-ga-label":"Save Search: "+t.hashObject.collection},t.saveLabel)),e.default.createElement("div",{className:"f-white p-xsm-top"},e.default.createElement("button",{className:"button width-100 with-padding-small bckg-gray",onClick:function(e){f(!1)},type:"reset","data-ga-action":"save-search-reset-button","data-ga-label":"Save Search Reset Button"},t.cancelLabel))),e.default.createElement("div",{className:"p-md-top f-0875"},e.default.createElement("button",{className:"button with-border with-padding width-100",onClick:function(e){t.setParams({saved:!0})},"data-ga-action":"view-saved-searches-button","data-ga-label":"View Saved Searches Button"},"View Saved Searches")),e.default.createElement("div",{className:"p-sm-top p-sm-bottom f-075 italic"},"Note that your saved searches are kept for 8 hours and are accessible on your current device only.")))};exports.SaveSearch=v,v.propTypes={isDisabled:t.default.bool,timestamp:t.default.string,filename:t.default.string,listID:t.default.string,id_type:t.default.string,hashObject:t.default.object,file_numrows:t.default.number,setParams:t.default.func,tagClassName:t.default.string,editLabel:t.default.string,saveLabel:t.default.string,cancelLabel:t.default.string,buttonClassName:t.default.string},v.defaultProps={timestamp:0,value:"",tagClassName:"",editLabel:"Name your search",saveLabel:"Save",cancelLabel:"Cancel"};var g=v;exports.default=g; },{"react":"SAdv","prop-types":"yu5W","../helpers/search-save":"DegH","../../../react-shared-components/icons/StarOutline":"bND4","../../../react-shared-components/icons/KeyboardArrowDown":"qjAC","../../../react-shared-components/icons/Star":"Y24P","../../../react-hooks/hook-click-outside":"ILbe","../../../react-shared-components/ErrorMessage":"VxRY"}],"cTHT":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=s(require("react")),t=s(require("prop-types")),r=require("../../../utils-logging/Log"),n=s(require("../../../utils-logging/GoogleAnalytics")),a=require("../../../ini/ini"),o=s(require("../../../utils/FormatCount")),i=s(require("../../../data-fetchers/sdq-fetch"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=g();return function(){var r,n=v(e);if(t){var a=v(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=require("lodash.isequal"),E=require("lodash.clonedeep"),_=function(t){d(l,e.default.Component);var s=h(l);function l(e){var t;return u(this,l),(t=s.call(this,e)).state=l.getInitialState(),t.currentFetchID=0,t}return f(l,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){b(t.listID,this.state.listID)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var a="React Error Boundary in GlobalTextSearchResults Component";(0,r.DEBUG_LOG_START)(a),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(a),this.setState({hasError:!0,errMessage:a}),n.default.event({action:"react-error",label:a+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this,t=Date.now();this.currentFetchID=t,(0,i.default)({collection:"generic",view:"counts",query:this.state.listID,id_type:this.props.hashObject.id_type,query_type:"list"},a.SEARCH_COLLECTIONS).then(function(r){if(e.currentFetchID===t){var n=[];r.data&&(n=r.data.filter(function(t){var r=!1;try{var n=t.name===e.props.hashObject.collection,a=e.props.hashObject.id_type===Sphinx.config[t.name].query_types.list.id_types[0];r=n&&a}catch(o){}finally{return!r}})),e.setState({isLoaded:!0,data:n})}}).catch(function(a){if(e.currentFetchID===t){e.setState({hasError:!0,errMessage:a.message,isLoaded:!0});var o="sdq_fetch error in GlobalListSearchResults Component trying to get counts";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(a.message),(0,r.DEBUG_LOG_END)(o),n.default.event({action:"fetch-error",label:o+": "+a.message})}})}},{key:"getQueryArray",value:function(){var e=[],t=E(this.props.hashObject);try{(e=e.concat(this.props.qArr)).length?delete t.query:this.props.qInterpretBlob.type.match(/formula|structure|smiles|inchi|smarts/i),e.push(t)}catch(a){this.setState({hasError:!0,errMessage:a.message});var n="Exception caught in GlobalListSearchResults Component in getQueryArray method";(0,r.DEBUG_LOG_START)(n),(0,r.DEBUG_LOG)(a.message),(0,r.DEBUG_LOG_END)(n)}finally{return e}}},{key:"render",value:function(){var t=this;if(this.state.hasError)return e.default.createElement("div",{className:"p-md"},this.state.errMessage);if(this.state.isLoaded&&this.state.data){var r=this.state.data;return e.default.createElement(e.default.Fragment,null,this.state.isLoaded&&r&&r.length>0?e.default.createElement("div",null,e.default.createElement("ul",{className:"unstyled-list rowed"},r.map(function(r){return e.default.createElement("li",{key:r.name},e.default.createElement("a",{href:"#query="+JSON.stringify(t.getQueryArray())+"&collection="+r.name,className:"button with-padding width-100","data-ga-action":"linked-results-link","data-ga-label":"Linked Results Link: "+r.display_name},e.default.createElement("div",{className:"table-grid full-width"},e.default.createElement("div",{className:"align-left"},e.default.createElement("span",{className:"wrap-normal f-lh-115 p-sm-right p-xsm-top p-xsm-bottom"},r.display_name)),e.default.createElement("div",{className:"align-right"},(0,o.default)(r.count)))))}))):0===r.length?e.default.createElement("div",{className:"p-md"},"No linked data found..."):e.default.createElement("div",{className:"p-md"},"Something went wrong loading counts..."))}return e.default.createElement("div",{className:"p-md f-light f-gray uppercase"},"Loading counts...")}}],[{key:"getInitialState",value:function(){return{listID:null,hasError:!1,errMessage:"",isLoaded:!1}}},{key:"getDerivedStateFromProps",value:function(e,t){return b(t.listID,e.listID)?null:Object.assign({},l.getInitialState(),{listID:e.listID})}}]),l}();_.propTypes={qInterpretBlob:t.default.object.isRequired,listID:t.default.string.isRequired,hashObject:t.default.object.isRequired,qArr:t.default.array},_.defaultProps={qArr:[]};var D=_;exports.default=D; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../ini/ini":"wjNQ","../../../utils/FormatCount":"W5bu","../../../data-fetchers/sdq-fetch":"X5vv","lodash.isequal":"Earo","lodash.clonedeep":"kEmP"}],"KBxT":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../utils-logging/Log");function t(t,o){var _="Push to Entrez";(0,e.DEBUG_LOG_START)(_),(0,e.DEBUG_LOG)("idType="+o+" cachekey="+t),(0,e.DEBUG_LOG_END)(_),window.open("/list_gateway/list_gateway.cgi?action=cache_to_entrez&redirect_to_entrez=y&id_type="+o+"&cache_key="+encodeURIComponent(t))} },{"../utils-logging/Log":"LH3n"}],"ZgUc":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-swap",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:i},e.default.createElement("path",{d:"M4,6L8,10V7H16A2,2 0 0,1 18,9A2,2 0 0,1 16,11H8A4,4 0 0,0 4,15A4,4 0 0,0 8,19H16V22L20,18L16,14V17H8A2,2 0 0,1 6,15A2,2 0 0,1 8,13H16A4,4 0 0,0 20,9A4,4 0 0,0 16,5H8V2L4,6Z"}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"Jp1o":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,o=t.color,a=t.style;return e.default.createElement("svg",{className:"icon icon-download",fill:o||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:a},e.default.createElement("path",{d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}))},o=l;exports.default=o; },{"react":"SAdv","prop-types":"yu5W"}],"vQrj":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DownloadPUGV2=void 0;var e=i(require("react")),t=n(require("prop-types")),r=require("../ini/ini"),a=n(require("./CustomRadioGroup")),o=n(require("./CustomSelect"));function n(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var i=o?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(a,n,i):a[n]=e[n]}return a.default=e,r&&r.set(e,a),a}function s(e,t){return m(e)||c(e,t)||d(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function c(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,o,n=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(a=r.next()).done)&&(n.push(a.value),!t||n.length!==t);l=!0);}catch(s){i=!0,o=s}finally{try{l||null==r.return||r.return()}finally{if(i)throw o}}return n}}function m(e){if(Array.isArray(e))return e}var f=function(t){var n=s((0,e.useState)("None"),2),l=n[0],i=n[1],u=s((0,e.useState)(t.recordTypeOptions?t.recordTypeOptions[0].name:void 0),2),d=u[0],p=u[1],c=s((0,e.useState)(1),2),m=c[0],f=c[1];return e.default.createElement(e.Fragment,null,e.default.createElement("div",{className:"flex-container flex-nowrap p-md-bottom"},t.formatList.map(function(a){var o={Query:{Type:"Download",Parameter:[{Name:"DownloadType",String:[t.downloadType]},{Name:"RecordIDType",String:[t.idType]},{Name:"CacheKey",String:[t.listID]},{Name:"Format",String:[a]}]}};d&&(o.Query.Parameter.push({Name:"RecordType",String:[d]}),m>1&&o.Query.Parameter.push({Name:"Num3DConformers",Number:[parseInt(m)]})),t.isCompressionZip?o.Query.Parameter.push({Name:"Compression",String:["Zip"]}):"None"!==l&&o.Query.Parameter.push({Name:"Compression",String:[l]});var n=r.PUGV2_BASE_URL+JSON.stringify(o);return e.default.createElement("div",{className:"p-sm-right f-white"},e.default.createElement("a",{className:"button with-padding-small bckg-gray b-radius",rel:"nofollow",download:t.downloadFileName,href:n+"&filename="+t.downloadFileName+"_"+("PNG"===a?"images":t.downloadType.toLowerCase()),"data-ga-action":t.trackAction,"data-ga-label":t.trackLabel+"; "+a.toUpperCase()+" - Save"},e.default.createElement("span",{className:"btn-text uppercase"},a)))})),t.recordTypeOptions&&e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(a.default,{label:t.recordTypeLabel,options:t.recordTypeOptions,selectedOption:d,onChange:function(e){p(e)},listClassName:"inline-block",trackAction:"select-download-recordtype",trackLabel:"Select Download Record Type"}),"Compound3D"===d&&e.default.createElement(o.default,{label:"Number of Conformers",value:m,menuTitle:"Select Number of Conformers",onChange:function(e){f(e),f(e)},options:[1,2,3,4,5,6,7,8,9,10]})),t.isCompressionZip?e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement("div",{className:"label"},"Compression: Zip Only")):e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(a.default,{label:"Compression:",options:["None","GZip"],selectedOption:l,onChange:function(e){i(e)},listClassName:"inline-block",trackAction:"select-download-compression",trackLabel:"Select Download Compression"})))};exports.DownloadPUGV2=f,f.propTypes={formatList:t.default.array.isRequired,downloadType:t.default.oneOf(["Summary","Records","Properties"]).isRequired,recordTypeOptions:t.default.array,recordTypeLabel:t.default.string,listID:t.default.string.isRequired,idType:t.default.string.isRequired,downloadFileName:t.default.string,isCompressionZip:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},f.defaultProps={recordTypeLabel:"",isCompressionZip:!1,downloadFileName:"PubChem_search",trackAction:"download",trackLabel:"Download"};var y=f;exports.default=y; },{"react":"SAdv","prop-types":"yu5W","../ini/ini":"wjNQ","./CustomRadioGroup":"avz2","./CustomSelect":"jlAm"}],"Qxbq":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DownloadSDQ=void 0;var e=o(require("react")),t=a(require("prop-types")),r=a(require("./CustomRadioGroup"));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=o?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}function l(e,t){return d(e)||c(e,t)||u(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function c(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(a=r.next()).done)&&(o.push(a.value),!t||o.length!==t);l=!0);}catch(u){i=!0,n=u}finally{try{l||null==r.return||r.return()}finally{if(i)throw n}}return o}}function d(e){if(Array.isArray(e))return e}var f=function(t){var a=l((0,e.useState)("None"),2),n=a[0],o=a[1];if(t.downloadUrl)return e.default.createElement(e.Fragment,null,e.default.createElement("div",{className:"flex-container flex-nowrap p-md-bottom"},t.formatList.map(function(r){return e.default.createElement("div",{className:"p-sm-right f-white"},e.default.createElement("a",{className:"button with-padding-small bckg-gray b-radius",rel:"nofollow",download:t.downloadFileName,href:t.downloadUrl.replace("outfmt=csv","outfmt="+r.toLowerCase())+("GZip"===n?"&compress=1":"")+("CSV"===r?"&showcolumndisplayname=1":""),"data-ga-action":t.trackAction,"data-ga-label":t.trackLabel+"; "+r.toUpperCase()+" - Save"},e.default.createElement("span",{className:"btn-text uppercase"},r)))})),e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(r.default,{label:"Compression:",options:["None","GZip"],selectedOption:n,onChange:function(e){o(e)},listClassName:"inline-block",trackAction:"select-download-compression",trackLabel:"Select Download Compression"})))};exports.DownloadSDQ=f,f.propTypes={formatList:t.default.array.isRequired,downloadUrl:t.default.string.isRequired,downloadFileName:t.default.string,trackAction:t.default.string,trackLabel:t.default.string},f.defaultProps={recordTypeLabel:"",isCompressionZip:!1,downloadFileName:"PubChem_search",trackAction:"download",trackLabel:"Download"};var p=f;exports.default=p; },{"react":"SAdv","prop-types":"yu5W","./CustomRadioGroup":"avz2"}],"RNAt":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=w(require("react")),t=E(require("prop-types")),a=require("../../../utils-logging/Log"),r=E(require("../../../utils-logging/GoogleAnalytics")),l=require("../../../ini/ini"),s=E(require("../../../react-shared-components/ErrorMessage")),n=E(require("../../../react-shared-components/loader-animations/Spinner")),i=E(require("../../../react-shared-components/icons/DatabaseSearch")),o=E(require("../../../react-shared-components/icons/ListUpload")),d=E(require("../../../react-shared-components/icons/OpenInNew")),c=E(require("../../../react-shared-components/CustomRadioGroup")),u=E(require("./SaveSearch")),p=E(require("./GlobalListSearchResult")),m=E(require("../../../data-fetchers/sdq-fetch")),h=E(require("../../../data-fetchers/entrez-push")),f=E(require("../../../react-shared-components/Dropdown")),y=E(require("../../../react-shared-components/icons/Swap")),b=E(require("../../../react-shared-components/icons/Download")),g=E(require("../../../react-shared-components/DownloadPUGV2")),_=E(require("../../../react-shared-components/DownloadSDQ"));function E(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var n=l?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(r,s,n):r[s]=e[s]}return r.default=e,a&&a.set(e,r),r}function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t,a){return t&&q(e.prototype,t),a&&q(e,a),e}function S(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=k();return function(){var a,r=C(e);if(t){var l=C(this).constructor;a=Reflect.construct(r,arguments,l)}else a=r.apply(this,arguments);return I(this,a)}}function I(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return L(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=require("lodash.isequal"),P=require("lodash.clonedeep"),U=function(t){S(v,e.default.Component);var E=j(v);function v(e){var t;return O(this,v),(t=E.call(this,e)).handlePushtoEntrez=t.handlePushtoEntrez.bind(L(t)),t.handleSelectIDType=t.handleSelectIDType.bind(L(t)),t.state=v.getInitialState(),t}return N(v,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){A(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var l="React Error Boundary in CollectionResultsActions Component";(0,a.DEBUG_LOG_START)(l),(0,a.DEBUG_LOG)(e),(0,a.DEBUG_LOG)(t.componentStack),(0,a.DEBUG_LOG_END)(l),this.setState({hasError:!0,errMessage:l+": "+e}),r.default.event({action:"react-error",label:l+": "+e})}},{key:"doSearch",value:function(){var e=this;if(this.state.config){var t=this.state.hashObject.selected_id_type||this.state.hashObject.id_type;try{t||(t=this.state.config.query_types.list.id_types[0])}catch(l){}var r=P(this.state.hashObject);"list"===r.query_type&&r.id_type===t?this.setState({isLoaded:!0,isUpdating:!1,listID:r.query,listSize:this.props.resultsCount}):r.query&&r.collection&&(delete r.start,delete r.limit,delete r.page,r.get_list_id=!0,r.id_type=t,r.skip_result_return=!0,r.view="minimal","list"===r.query_type||(r.listID?(r.query=r.listID,r.query_type="list"):r.query=this.props.qInterpretBlob.clean_query||r.query),(0,m.default)(r).then(function(t){var a=t.SDQOutputSet[0];e.setState({isLoaded:!0,isUpdating:!1,listID:a.netcachekey,listSize:a.storeCount||a.totalCount,timestamp:t.timestamp})}).catch(function(t){var r="sdq_fetch error in CollectionResultsActions Component doSearch method";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(t.message),(0,a.DEBUG_LOG_END)(r),e.setState({hasError:!0,errMessage:r+": "+t.message})}))}}},{key:"handleSelectIDType",value:function(e){var t={};this.state.hashObject.id_type&&(t.id_type=""),t.selected_id_type=this.state.config.query_types.list.id_types[0]===e?"":e,this.props.setParams(t)}},{key:"handlePushtoEntrez",value:function(e){try{var t=e.currentTarget.getAttribute("data-listID");t&&(0,h.default)(t,this.state.hashObject.selected_id_type||this.state.hashObject.id_type||this.state.config.query_types.list.id_types[0])}catch(l){var r="Exception caught in CollectionSearchResult Component handlePushtoEntrez method";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(l.message),(0,a.DEBUG_LOG_END)(r)}}},{key:"render",value:function(){var t=e.default.createElement("div",{className:"p-xsm-top"},"Please try a different query or review ",e.default.createElement("a",{className:"f-medium",href:"https://pubchemdocs.ncbi.nlm.nih.gov/downloads"},"bulk download options"),".");if(this.state.hasError)return e.default.createElement(s.default,{message:this.state.errMessage});if(this.state.config){var a=this.props.isCompact,r=this.state.config,m=P(this.state.hashObject),h=[];try{m.id_type=m.selected_id_type||m.id_type||r.query_types.list.id_types[0],delete m.selected_id_type;for(var E=0;E<r.query_types.list.id_types.length;E++)h.push({name:r.query_types.list.id_types[E],display_name:l.ID_NAMES[r.query_types.list.id_types[E]]})}catch(w){}var v=this.state.listID;return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"align-center block-centered "+(a?"width-100":"width-20em p-xl-bottom")},e.default.createElement("div",{className:"p-md-top"},e.default.createElement(f.default,{label:"Download",icon:e.default.createElement(b.default,null),showArrow:!0,menuAlign:"right",menuTitle:"DOWNLOAD",showText:!0,buttonClassName:"with-border bckg-gray-lightest",labelClassNames:"align-center",trackAction:"download-menu",trackLabel:"Download Menu"},e.default.createElement("div",{className:"f-0875 bckg-gray-lightest b-radius p-md"},e.default.createElement("h3",{className:"f-125"},"Summary (Search Results)"),e.default.createElement("div",{className:"p-md"},e.default.createElement(_.default,{formatList:["CSV","JSON","XML"],downloadUrl:this.props.downloadUrl,downloadFileName:this.props.downloadfilename})),this.state.listID?e.default.createElement(e.Fragment,null,m.id_type.match(/^(c|s)id$/i)&&e.default.createElement("div",{className:"p-md-top b-top"},e.default.createElement("h3",{className:"f-125"},"Chemical Structure Records"),e.default.createElement("div",{className:"p-md"},this.props.resultsCount>5e5?e.default.createElement(e.Fragment,null,e.default.createElement("div",null,"Too many results (>500,000) for download..."),t):e.default.createElement(g.default,{formatList:["SDF","JSON","XML","ASNT"],downloadType:"Records",recordTypeOptions:m.id_type.match(/^cid$/i)?[{name:"",display_name:"2D"},{name:"Compound3D",display_name:"3D"}]:null,recordTypeLabel:"Coordinate Type:",idType:m.id_type.toUpperCase(),listID:this.state.listID,downloadFileName:this.props.downloadfilename}))),m.id_type.match(/^(c|s)id$/i)&&e.default.createElement("div",{className:"p-md-top b-top"},e.default.createElement("h3",{className:"f-125"},"Chemical Structure Images"),e.default.createElement("div",{className:"p-md"},this.props.resultsCount>5e5?e.default.createElement(e.Fragment,null,e.default.createElement("div",null,"Too many results (>500,000) for download..."),t):e.default.createElement(g.default,{formatList:["PNG"],downloadType:"Properties",recordTypeOptions:[{name:"SmallImage",display_name:"Small"},{name:"LargeImage",display_name:"Large"}],recordTypeLabel:"Image Size:",idType:m.id_type.toUpperCase(),listID:this.state.listID,isCompressionZip:!0,downloadFileName:this.props.downloadfilename}))),m.id_type.match(/^aid$/i)&&e.default.createElement("div",{className:"p-md-top b-top"},e.default.createElement("h3",{className:"f-125"},"Submitted BioAssays"),e.default.createElement("div",{className:"p-md"},this.props.resultsCount>1e4?e.default.createElement(e.Fragment,null,e.default.createElement("div",null,"Too many results (>10,000) for download..."),t):e.default.createElement(g.default,{formatList:["JSON","XML","ASNT"],downloadType:"Records",recordTypeOptions:[{name:"AssayFull",display_name:"BioAssay Descriptions & Data"},{name:"AssayDescription",display_name:"BioAssay Descriptions Only"}],recordTypeLabel:"",idType:m.id_type.toUpperCase(),listID:this.state.listID,downloadFileName:this.props.downloadfilename}))),m.id_type.match(/^aid$/i)&&e.default.createElement("div",{className:"p-md-top b-top"},e.default.createElement("h3",{className:"f-125"},"Submitted BioAssays Data Only"),e.default.createElement("div",{className:"p-md"},this.props.resultsCount>1e4?e.default.createElement(e.Fragment,null,e.default.createElement("div",null,"Too many results (> 10,000) for download..."),t):e.default.createElement(g.default,{formatList:["CSV"],downloadType:"Records",recordTypeOptions:[{name:"AssayData",display_name:"Complete Data Table"},{name:"AssayConcise",display_name:"Concise Data Table"}],recordTypeLabel:"",idType:m.id_type.toUpperCase(),listID:this.state.listID,isCompressionZip:!0,downloadFileName:this.props.downloadfilename})))):e.default.createElement("span",null,"LOADING...")))),this.props.qInterpretBlob&&"text"===this.props.qInterpretBlob.type&&r.entrez_search_url&&e.default.createElement("div",{className:"p-md-top"},e.default.createElement("div",{className:"border b-radius bckg-gray-lightest"},e.default.createElement("a",{href:r.entrez_search_url+m.query,target:"_blank",rel:"noopener",className:"button width-100","data-ga-action":"search-entrez-link","data-ga-label":"Search Entrez Link"},e.default.createElement("div",{className:"flex-container flex-nowrap space-between full-width border b-light"},e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(i.default,null)),e.default.createElement("div",{className:"btn-txt"},"Search in ",m.id_type.match(/^pmid$/i)?"PubMed":"Entrez"),e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(d.default,null)))))),r.query_types&&r.query_types.list&&e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"align-left p-md-top"},e.default.createElement("div",{className:"box-shadow b-radius p-md bckg-white"},e.default.createElement(c.default,{label:"Actions on results with ID type:",options:h,selectedOption:m.id_type,onChange:this.handleSelectIDType,trackAction:"select-id-type",trackLabel:"Select ID Type"}),!m.id_type.match(/publicationnumber|pwacc|pathwayid|diseaseid|cellid|pmid/i)&&e.default.createElement("div",{className:"p-md-top"},e.default.createElement("button",{className:"button b-radius with-border bckg-gray-lightest width-100",disabled:!v||!this.state.isLoaded||this.state.isUpdating,"data-listID":v,onClick:this.handlePushtoEntrez,"data-ga-action":"push-to-entrez-link","data-ga-label":"Push to Entrez Link"},e.default.createElement("div",{className:"flex-container flex-nowrap space-between full-width"},e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(o.default,null)),e.default.createElement("div",{className:"btn-txt"},"Push to Entrez"),e.default.createElement("div",{className:"width-2em height-2em align-center"},e.default.createElement(d.default,null))))),e.default.createElement("div",{className:"p-md-top"},e.default.createElement(u.default,{isOpen:!(!m.save||!v),isDisabled:!v||!this.state.isLoaded||this.state.isUpdating,setParams:this.props.setParams,buttonClassName:"bckg-gray-lightest b-radius with-border",listSize:this.state.listSize,id_type:m.id_type,timestamp:this.state.timestamp,alias:this.props.qInterpretBlob.alias||m.query,hashObject:m,listID:v,qArr:this.props.qArr})),v&&this.state.isLoaded&&!this.state.isUpdating&&e.default.createElement("div",{className:"p-md-top align-left"},e.default.createElement("div",{className:"bckg-white"},e.default.createElement(f.default,{label:"Linked Data Sets",icon:e.default.createElement(y.default,null),showArrow:!0,menuAlign:"right",menuTitle:"DATA LINKED TO RESULTS",showText:!0,buttonClassName:"with-border bckg-gray-lightest",labelClassNames:"align-center",trackAction:"linked-data-menu",trackLabel:"Linked Data Menu"},e.default.createElement("div",{className:"f-0875 bckg-gray-lightest b-radius p-sm"},e.default.createElement(p.default,{qInterpretBlob:this.props.qInterpretBlob,hashObject:Object.assign({},m,{query:this.props.qInterpretBlob.clean_query||m.query},m.listID?{listID:v}:{}),listID:v,qArr:this.props.qArr}))))))))))}return e.default.createElement(n.default,{className:"loader-background loader-background-search"})}}],[{key:"getInitialState",value:function(){return{config:null,hashObject:{},hasError:!1,errMessage:"",isLoaded:!1,isUpdating:!1}}},{key:"getDerivedStateFromProps",value:function(e,t){var a=e.qInterpretBlob.query||e.hashObject.query;if(A(t.hashObject,e.hashObject))return null;var r={hashObject:e.hashObject};try{r.config=Sphinx.config[e.hashObject.collection||e.hashObject.tab]}catch(l){r.config={}}return t.hashObject.query!==a||t.hashObject.collection!==e.hashObject.collection||t.hashObject.id_type!==e.hashObject.id_type||t.hashObject.selected_id_type!==e.hashObject.selected_id_type?(r.isLoaded=!1,r.isUpdating=!1):r.isUpdating=!0,r}}]),v}();U.propTypes={hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object,qArr:t.default.qArr,setParams:t.default.func.isRequired,isCompact:t.default.bool,listID:t.default.string,width:t.default.number,downloadUrl:t.default.string,downloadFileName:t.default.string},U.defaultProps={hashObject:{},isCompact:!0,downloadUrl:"",downloadFileName:"PubChem_download",qArr:[]};var B=U;exports.default=B; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../ini/ini":"wjNQ","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/icons/DatabaseSearch":"unOu","../../../react-shared-components/icons/ListUpload":"VZpp","../../../react-shared-components/icons/OpenInNew":"pjNf","../../../react-shared-components/CustomRadioGroup":"avz2","./SaveSearch":"zqDS","./GlobalListSearchResult":"cTHT","../../../data-fetchers/sdq-fetch":"X5vv","../../../data-fetchers/entrez-push":"KBxT","../../../react-shared-components/Dropdown":"vKqM","../../../react-shared-components/icons/Swap":"ZgUc","../../../react-shared-components/icons/Download":"Jp1o","../../../react-shared-components/DownloadPUGV2":"vQrj","../../../react-shared-components/DownloadSDQ":"Qxbq","lodash.isequal":"Earo","lodash.clonedeep":"kEmP"}],"BaJQ":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],r=200,n="Expected a function",e="__lodash_hash_undefined__",o=1,u=2,i=1/0,a=9007199254740991,c=1.7976931348623157e308,f=NaN,l="[object Arguments]",s="[object Array]",p="[object Boolean]",v="[object Date]",_="[object Error]",h="[object Function]",y="[object GeneratorFunction]",d="[object Map]",b="[object Number]",g="[object Object]",j="[object Promise]",w="[object RegExp]",m="[object Set]",O="[object String]",A="[object Symbol]",$="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",k="[object Float32Array]",E="[object Float64Array]",F="[object Int8Array]",I="[object Int16Array]",M="[object Int32Array]",P="[object Uint8Array]",T="[object Uint8ClampedArray]",U="[object Uint16Array]",z="[object Uint32Array]",C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/,B=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/[\\^$.*+?()[\]{}|]/g,R=/^\s+|\s+$/g,V=/\\(\\)?/g,W=/^[-+]0x[0-9a-f]+$/i,G=/^0b[01]+$/i,q=/^\[object .+?Constructor\]$/,H=/^0o[0-7]+$/i,J=/^(?:0|[1-9]\d*)$/,K={};K[k]=K[E]=K[F]=K[I]=K[M]=K[P]=K[T]=K[U]=K[z]=!0,K[l]=K[s]=K[x]=K[p]=K[S]=K[v]=K[_]=K[h]=K[d]=K[b]=K[g]=K[w]=K[m]=K[O]=K[$]=!1;var Q=parseInt,X="object"==typeof t&&t&&t.Object===Object&&t,Y="object"==typeof self&&self&&self.Object===Object&&self,Z=X||Y||Function("return this")(),tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,rt=tt&&"object"==typeof module&&module&&!module.nodeType&&module,nt=rt&&rt.exports===tt,et=nt&&X.process,ot=function(){try{return et&&et.binding("util")}catch(t){}}(),ut=ot&&ot.isTypedArray;function it(t,r){for(var n=-1,e=t?t.length:0;++n<e;)if(r(t[n],n,t))return!0;return!1}function at(t,r,n,e){for(var o=t.length,u=n+(e?1:-1);e?u--:++u<o;)if(r(t[u],u,t))return u;return-1}function ct(t){return function(r){return null==r?void 0:r[t]}}function ft(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}function lt(t){return function(r){return t(r)}}function st(t,r){return null==t?void 0:t[r]}function pt(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(n){}return r}function vt(t){var r=-1,n=Array(t.size);return t.forEach(function(t,e){n[++r]=[e,t]}),n}function _t(t,r){return function(n){return t(r(n))}}function ht(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}var yt=Array.prototype,dt=Function.prototype,bt=Object.prototype,gt=Z["__core-js_shared__"],jt=function(){var t=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),wt=dt.toString,mt=bt.hasOwnProperty,Ot=bt.toString,At=RegExp("^"+wt.call(mt).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=Z.Symbol,xt=Z.Uint8Array,St=bt.propertyIsEnumerable,kt=yt.splice,Et=_t(Object.keys,Object),Ft=Math.max,It=Nr(Z,"DataView"),Mt=Nr(Z,"Map"),Pt=Nr(Z,"Promise"),Tt=Nr(Z,"Set"),Ut=Nr(Z,"WeakMap"),zt=Nr(Object,"create"),Ct=Zr(It),Lt=Zr(Mt),Bt=Zr(Pt),Dt=Zr(Tt),Nt=Zr(Ut),Rt=$t?$t.prototype:void 0,Vt=Rt?Rt.valueOf:void 0,Wt=Rt?Rt.toString:void 0;function Gt(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function qt(){this.__data__=zt?zt(null):{}}function Ht(t){return this.has(t)&&delete this.__data__[t]}function Jt(t){var r=this.__data__;if(zt){var n=r[t];return n===e?void 0:n}return mt.call(r,t)?r[t]:void 0}function Kt(t){var r=this.__data__;return zt?void 0!==r[t]:mt.call(r,t)}function Qt(t,r){return this.__data__[t]=zt&&void 0===r?e:r,this}function Xt(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function Yt(){this.__data__=[]}function Zt(t){var r=this.__data__,n=gr(r,t);return!(n<0)&&(n==r.length-1?r.pop():kt.call(r,n,1),!0)}function tr(t){var r=this.__data__,n=gr(r,t);return n<0?void 0:r[n][1]}function rr(t){return gr(this.__data__,t)>-1}function nr(t,r){var n=this.__data__,e=gr(n,t);return e<0?n.push([t,r]):n[e][1]=r,this}function er(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}function or(){this.__data__={hash:new Gt,map:new(Mt||Xt),string:new Gt}}function ur(t){return Br(this,t).delete(t)}function ir(t){return Br(this,t).get(t)}function ar(t){return Br(this,t).has(t)}function cr(t,r){return Br(this,t).set(t,r),this}function fr(t){var r=-1,n=t?t.length:0;for(this.__data__=new er;++r<n;)this.add(t[r])}function lr(t){return this.__data__.set(t,e),this}function sr(t){return this.__data__.has(t)}function pr(t){this.__data__=new Xt(t)}function vr(){this.__data__=new Xt}function _r(t){return this.__data__.delete(t)}function hr(t){return this.__data__.get(t)}function yr(t){return this.__data__.has(t)}function dr(t,n){var e=this.__data__;if(e instanceof Xt){var o=e.__data__;if(!Mt||o.length<r-1)return o.push([t,n]),this;e=this.__data__=new er(o)}return e.set(t,n),this}function br(t,r){var n=un(t)||on(t)?ft(t.length,String):[],e=n.length,o=!!e;for(var u in t)!r&&!mt.call(t,u)||o&&("length"==u||Wr(u,e))||n.push(u);return n}function gr(t,r){for(var n=t.length;n--;)if(en(t[n][0],r))return n;return-1}function jr(t,r){for(var n=0,e=(r=Gr(r,t)?[r]:Tr(r)).length;null!=t&&n<e;)t=t[Yr(r[n++])];return n&&n==e?t:void 0}function wr(t){return Ot.call(t)}function mr(t,r){return null!=t&&r in Object(t)}function Or(t,r,n,e,o){return t===r||(null==t||null==r||!sn(t)&&!pn(r)?t!=t&&r!=r:Ar(t,r,Or,n,e,o))}function Ar(t,r,n,e,o,i){var a=un(t),c=un(r),f=s,p=s;a||(f=(f=Rr(t))==l?g:f),c||(p=(p=Rr(r))==l?g:p);var v=f==g&&!pt(t),_=p==g&&!pt(r),h=f==p;if(h&&!v)return i||(i=new pr),a||_n(t)?zr(t,r,n,e,o,i):Cr(t,r,f,n,e,o,i);if(!(o&u)){var y=v&&mt.call(t,"__wrapped__"),d=_&&mt.call(r,"__wrapped__");if(y||d){var b=y?t.value():t,j=d?r.value():r;return i||(i=new pr),n(b,j,e,o,i)}}return!!h&&(i||(i=new pr),Lr(t,r,n,e,o,i))}function $r(t,r,n,e){var i=n.length,a=i,c=!e;if(null==t)return!a;for(t=Object(t);i--;){var f=n[i];if(c&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++i<a;){var l=(f=n[i])[0],s=t[l],p=f[1];if(c&&f[2]){if(void 0===s&&!(l in t))return!1}else{var v=new pr;if(e)var _=e(s,p,l,t,r,v);if(!(void 0===_?Or(p,s,e,o|u,v):_))return!1}}return!0}function xr(t){return!(!sn(t)||Hr(t))&&(fn(t)||pt(t)?At:q).test(Zr(t))}function Sr(t){return pn(t)&&ln(t.length)&&!!K[Ot.call(t)]}function kr(t){return"function"==typeof t?t:null==t?mn:"object"==typeof t?un(t)?Ir(t[0],t[1]):Fr(t):On(t)}function Er(t){if(!Jr(t))return Et(t);var r=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&r.push(n);return r}function Fr(t){var r=Dr(t);return 1==r.length&&r[0][2]?Qr(r[0][0],r[0][1]):function(n){return n===t||$r(n,t,r)}}function Ir(t,r){return Gr(t)&&Kr(r)?Qr(Yr(t),r):function(n){var e=gn(n,t);return void 0===e&&e===r?jn(n,t):Or(r,e,void 0,o|u)}}function Mr(t){return function(r){return jr(r,t)}}function Pr(t){if("string"==typeof t)return t;if(vn(t))return Wt?Wt.call(t):"";var r=t+"";return"0"==r&&1/t==-i?"-0":r}function Tr(t){return un(t)?t:Xr(t)}function Ur(t){return function(r,n,e){var o=Object(r);if(!an(r)){var u=kr(n,3);r=wn(r),n=function(t){return u(o[t],t,o)}}var i=t(r,n,e);return i>-1?o[u?r[i]:i]:void 0}}function zr(t,r,n,e,i,a){var c=i&u,f=t.length,l=r.length;if(f!=l&&!(c&&l>f))return!1;var s=a.get(t);if(s&&a.get(r))return s==r;var p=-1,v=!0,_=i&o?new fr:void 0;for(a.set(t,r),a.set(r,t);++p<f;){var h=t[p],y=r[p];if(e)var d=c?e(y,h,p,r,t,a):e(h,y,p,t,r,a);if(void 0!==d){if(d)continue;v=!1;break}if(_){if(!it(r,function(t,r){if(!_.has(r)&&(h===t||n(h,t,e,i,a)))return _.add(r)})){v=!1;break}}else if(h!==y&&!n(h,y,e,i,a)){v=!1;break}}return a.delete(t),a.delete(r),v}function Cr(t,r,n,e,i,a,c){switch(n){case S:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case x:return!(t.byteLength!=r.byteLength||!e(new xt(t),new xt(r)));case p:case v:case b:return en(+t,+r);case _:return t.name==r.name&&t.message==r.message;case w:case O:return t==r+"";case d:var f=vt;case m:var l=a&u;if(f||(f=ht),t.size!=r.size&&!l)return!1;var s=c.get(t);if(s)return s==r;a|=o,c.set(t,r);var h=zr(f(t),f(r),e,i,a,c);return c.delete(t),h;case A:if(Vt)return Vt.call(t)==Vt.call(r)}return!1}function Lr(t,r,n,e,o,i){var a=o&u,c=wn(t),f=c.length;if(f!=wn(r).length&&!a)return!1;for(var l=f;l--;){var s=c[l];if(!(a?s in r:mt.call(r,s)))return!1}var p=i.get(t);if(p&&i.get(r))return p==r;var v=!0;i.set(t,r),i.set(r,t);for(var _=a;++l<f;){var h=t[s=c[l]],y=r[s];if(e)var d=a?e(y,h,s,r,t,i):e(h,y,s,t,r,i);if(!(void 0===d?h===y||n(h,y,e,o,i):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var b=t.constructor,g=r.constructor;b!=g&&"constructor"in t&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof g&&g instanceof g)&&(v=!1)}return i.delete(t),i.delete(r),v}function Br(t,r){var n=t.__data__;return qr(r)?n["string"==typeof r?"string":"hash"]:n.map}function Dr(t){for(var r=wn(t),n=r.length;n--;){var e=r[n],o=t[e];r[n]=[e,o,Kr(o)]}return r}function Nr(t,r){var n=st(t,r);return xr(n)?n:void 0}Gt.prototype.clear=qt,Gt.prototype.delete=Ht,Gt.prototype.get=Jt,Gt.prototype.has=Kt,Gt.prototype.set=Qt,Xt.prototype.clear=Yt,Xt.prototype.delete=Zt,Xt.prototype.get=tr,Xt.prototype.has=rr,Xt.prototype.set=nr,er.prototype.clear=or,er.prototype.delete=ur,er.prototype.get=ir,er.prototype.has=ar,er.prototype.set=cr,fr.prototype.add=fr.prototype.push=lr,fr.prototype.has=sr,pr.prototype.clear=vr,pr.prototype.delete=_r,pr.prototype.get=hr,pr.prototype.has=yr,pr.prototype.set=dr;var Rr=wr;function Vr(t,r,n){for(var e,o=-1,u=(r=Gr(r,t)?[r]:Tr(r)).length;++o<u;){var i=Yr(r[o]);if(!(e=null!=t&&n(t,i)))break;t=t[i]}return e||!!(u=t?t.length:0)&&ln(u)&&Wr(i,u)&&(un(t)||on(t))}function Wr(t,r){return!!(r=null==r?a:r)&&("number"==typeof t||J.test(t))&&t>-1&&t%1==0&&t<r}function Gr(t,r){if(un(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!vn(t))||(L.test(t)||!C.test(t)||null!=r&&t in Object(r))}function qr(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}function Hr(t){return!!jt&&jt in t}function Jr(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||bt)}function Kr(t){return t==t&&!sn(t)}function Qr(t,r){return function(n){return null!=n&&(n[t]===r&&(void 0!==r||t in Object(n)))}}(It&&Rr(new It(new ArrayBuffer(1)))!=S||Mt&&Rr(new Mt)!=d||Pt&&Rr(Pt.resolve())!=j||Tt&&Rr(new Tt)!=m||Ut&&Rr(new Ut)!=$)&&(Rr=function(t){var r=Ot.call(t),n=r==g?t.constructor:void 0,e=n?Zr(n):void 0;if(e)switch(e){case Ct:return S;case Lt:return d;case Bt:return j;case Dt:return m;case Nt:return $}return r});var Xr=nn(function(t){t=bn(t);var r=[];return B.test(t)&&r.push(""),t.replace(D,function(t,n,e,o){r.push(e?o.replace(V,"$1"):n||t)}),r});function Yr(t){if("string"==typeof t||vn(t))return t;var r=t+"";return"0"==r&&1/t==-i?"-0":r}function Zr(t){if(null!=t){try{return wt.call(t)}catch(r){}try{return t+""}catch(r){}}return""}function tn(t,r,n){var e=t?t.length:0;if(!e)return-1;var o=null==n?0:yn(n);return o<0&&(o=Ft(e+o,0)),at(t,kr(r,3),o)}var rn=Ur(tn);function nn(t,r){if("function"!=typeof t||r&&"function"!=typeof r)throw new TypeError(n);var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],u=e.cache;if(u.has(o))return u.get(o);var i=t.apply(this,n);return e.cache=u.set(o,i),i};return e.cache=new(nn.Cache||er),e}function en(t,r){return t===r||t!=t&&r!=r}function on(t){return cn(t)&&mt.call(t,"callee")&&(!St.call(t,"callee")||Ot.call(t)==l)}nn.Cache=er;var un=Array.isArray;function an(t){return null!=t&&ln(t.length)&&!fn(t)}function cn(t){return pn(t)&&an(t)}function fn(t){var r=sn(t)?Ot.call(t):"";return r==h||r==y}function ln(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function sn(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function pn(t){return!!t&&"object"==typeof t}function vn(t){return"symbol"==typeof t||pn(t)&&Ot.call(t)==A}var _n=ut?lt(ut):Sr;function hn(t){return t?(t=dn(t))===i||t===-i?(t<0?-1:1)*c:t==t?t:0:0===t?t:0}function yn(t){var r=hn(t),n=r%1;return r==r?n?r-n:r:0}function dn(t){if("number"==typeof t)return t;if(vn(t))return f;if(sn(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=sn(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(R,"");var n=G.test(t);return n||H.test(t)?Q(t.slice(2),n?2:8):W.test(t)?f:+t}function bn(t){return null==t?"":Pr(t)}function gn(t,r,n){var e=null==t?void 0:jr(t,r);return void 0===e?n:e}function jn(t,r){return null!=t&&Vr(t,r,mr)}function wn(t){return an(t)?br(t):Er(t)}function mn(t){return t}function On(t){return Gr(t)?ct(Yr(t)):Mr(t)}module.exports=rn; },{}],"kn9X":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=b(require("react")),t=b(require("prop-types")),r=b(require("react-stickynode")),a=require("../../../utils-logging/Log"),s=b(require("../../../utils-logging/GoogleAnalytics")),o=require("../../../utils/Font"),n=b(require("../../../react-shared-components/loader-animations/Spinner")),l=b(require("../../../react-shared-components/EmptyResultMessage")),i=b(require("../../../react-shared-components/ErrorMessage")),c=b(require("./CollectionSorter")),u=b(require("./CollectionFiltersModalOpener")),d=b(require("../../../react-shared-components/sdq/SDQDocsum")),h=b(require("../../../utils/FormatCount")),p=b(require("../../../react-shared-components/Pagination")),f=b(require("../../../data-fetchers/sdq-fetch")),m=b(require("./CollectionResultsActions"));function b(e){return e&&e.__esModule?e:{default:e}}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function v(e,t,r){return t&&E(e.prototype,t),r&&E(e,r),e}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=j();return function(){var r,a=S(e);if(t){var s=S(this).constructor;r=Reflect.construct(a,arguments,s)}else r=a.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=require("lodash.isequal"),D=require("lodash.clonedeep"),B=require("lodash.assign"),N=require("lodash.find"),P=function(t){q(g,e.default.Component);var b=_(g);function g(e){var t;return y(this,g),(t=b.call(this,e)).state=g.getInitialState(),t.settings={pageSize:10},t.currentFetchID=0,t}return v(g,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){I(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var r="React Error Boundary in CollectionSearchResult Component";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(e),(0,a.DEBUG_LOG)(t.componentStack),(0,a.DEBUG_LOG_END)(r),s.default.event({action:"react-error",label:r+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this;if(!this.state.isLoaded||this.state.isUpdating){var t=D(this.state.hashObject);"list"!==this.state.hashObject.query_type&&(t.query=this.props.qInterpretBlob.clean_query||this.props.qInterpretBlob.query);try{t.downloadfilename="PubChem",t.collection&&(t.downloadfilename+="_"+t.collection),this.props.qInterpretBlob.type&&(t.downloadfilename+="_"+("array"!==this.props.qInterpretBlob.type?this.props.qInterpretBlob.type:"composite_query")),this.state.hashObject.tab&&t.collection!==this.state.hashObject.tab&&(t.downloadfilename+="_"+this.state.hashObject.tab),"array"!==this.props.qInterpretBlob.type?this.props.qInterpretBlob.query.length<100&&(t.downloadfilename+="_"+encodeURIComponent(this.props.qInterpretBlob.query.replace(/"/g,"'"))):t.downloadfilename+="_"+this.props.qInterpretBlob.alias.replace(/"/g,"'")}catch(o){}if(t.listID&&(t.query=this.state.hashObject.listID,t.id_type="referencesid"===this.state.hashObject.id_type?"sid":this.state.hashObject.id_type,t.query_type="list"),t.query&&t.collection){var r=Date.now();this.currentFetchID=r,this.downloadfilename=t.downloadfilename,(0,f.default)(B({},t,{view:"docsum"},this.calcPaginationParams(this.state.hashObject))).then(function(a){r===e.currentFetchID&&(e.processResults(a),s.default.event({action:"display-results-"+e.state.hashObject.collection,label:"Display: "+JSON.stringify(t)}))}).catch(function(t){var o="sdq_fetch error in CollectionSearchResult Component";(0,a.DEBUG_LOG_START)(o),(0,a.DEBUG_LOG)(t.message),(0,a.DEBUG_LOG_END)(o),s.default.event({action:"CollectionSearchResult-error",label:o+": "+t.message}),r===e.currentFetchID&&e.setState({hasError:!0,errMessage:t.message||o})})}else this.setState({isLoaded:!1,hasError:!0,errMessage:"Both query and collection need to be specified..."})}}},{key:"calcPaginationParams",value:function(e){var t={start:1,limit:this.settings.pageSize};try{var r=parseInt(e.page);r&&(t.start=1+10*(r-1))}catch(a){}finally{return t}}},{key:"processResults",value:function(e){var t={isLoaded:!0,isUpdating:!1};try{t.config=Sphinx.config[this.props.hashObject.collection||this.props.hashObject.tab];var r=e.SDQOutputSet[0],o={rows:r.rows,totalCount:r.totalCount,netcachekey:r.listID,status:r.status};o.downloadUrl=e.downloadUrl,o.currentPage=this.state.hashObject.page||1,o.sort=e.sort,o.sort_dir=e.sort_dir,t.results=o,0!==o.totalCount||this.props.hashObject.filters?o.rows&&0!==o.rows.length||(t.hasError=!0,t.errMessage="Apologies, something went wrong, the server returned no results..."):t.isEmpty=!0}catch(l){var n="Error in CollectionSearchResult Component processResults method";(0,a.DEBUG_LOG_START)(n),(0,a.DEBUG_LOG)(l.message),(0,a.DEBUG_LOG_END)(n),s.default.event({action:"CollectionSearchResult-error",label:n+": "+l.message}),t.hasError=!0,t.errMessage=n+": "+l.message}finally{this.setState(t)}}},{key:"render",value:function(){var t=this,a=this.props.width,s=55*o.FONT_SIZE,f=55*o.FONT_SIZE,b=40*o.FONT_SIZE,g=25*o.FONT_SIZE;if(0===this.props.knownTotalCount||this.state.isEmpty)return e.default.createElement(l.default,null);if(this.state.hasError)return e.default.createElement(i.default,{message:this.state.errMessage});if(this.state.isLoaded&&this.state.config){var y=D(this.state.hashObject),E=this.state.results||{},v=this.state.isLoaded?(0,h.default)(E.totalCount)+" result"+(1!==E.totalCount?"s":""):"",q=null,O=!1;return this.props.incomplete&&(v+=" (incomplete)",O=!0),void 0!==E.status&&E.status.code<0&&(String(E.status.warning).match(/too many records/i)&&!O&&(v+=" (incomplete)"),q=E.status.warning),e.default.createElement("div",{id:"collection-results-container",className:"min-height-50vh"+(this.state.isUpdating&&!this.state.hashObject.filters?" updating1 ":"")},this.props.showTitle?e.default.createElement("h3",{className:"p-xsm-bottom"},this.state.config.display_name):null,q?e.default.createElement("div",{className:"p-md-top"},e.default.createElement("div",{className:"p-md b-left b-thick b-gold bckg-gold-lightest"},"Warning: ",q)):null,e.default.createElement("div",{className:a>s?" table-grid full-width fixed-layout align-top":""},e.default.createElement("div",null,e.default.createElement("div",{className:"p-sm-top p-sm-bottom "+(this.props.incomplete||q?"":"b-primary ")},e.default.createElement("div",{className:a>b?"table-grid align-middle full-width fixed-layout":""},e.default.createElement("div",null,e.default.createElement("div",{className:a>b?"table-grid align-middle":"table-grid align-middle full-width fixed-layout"},e.default.createElement("div",{className:"f-medium"+(a>g?" p-md-right":"")},E.totalCount>this.settings.pageSize&&E.currentPage>1?e.default.createElement("span",null,"Page ",(0,h.default)(E.currentPage)," of "):null,e.default.createElement("span",{className:""},v)),e.default.createElement("div",{className:a>b?" p-md-right":"align-right"},e.default.createElement(u.default,{hashObject:this.state.hashObject,qInterpretBlob:this.props.qInterpretBlob,config:this.state.config,setParams:this.props.setParams,isCompact:a<=b,isUpdating:this.state.isUpdating,resultsCount:E.totalCount,containerClassName:"p-sm-top p-sm-bottom",backgroundClassName:"bckg-gray-lightest"})))),e.default.createElement("div",{className:"align-right"},e.default.createElement(c.default,{hashObject:y,extra_sort:this.props.extra_sort,setParams:this.props.setParams,isCompact:a<=b,resultsCount:E.totalCount,containerClassName:"p-sm-top p-sm-bottom",backgroundClassName:"bckg-gray-lightest"})))),e.default.createElement("div",{className:""},e.default.createElement("ul",{className:"unstyled-list"},E.rows.map(function(r,s){return e.default.createElement("li",{className:"p-md-bottom ",key:"docsum_"+s},e.default.createElement("div",{className:"box-shadow b-radius"},e.default.createElement(d.default,{isCompact:a<=g,data:E.rows[s],sort:E.sort,qInterpretBlob:t.props.qInterpretBlob,config:t.state.config,position:s+1,page:t.state.hashObject.page})))})),E.totalCount>this.settings.pageSize?e.default.createElement("div",{className:"p-l-bottom"},e.default.createElement(p.default,{totalCount:E.totalCount,currentPage:E.currentPage,setParams:this.props.setParams,isCompact:a<=f,resultsContainerRef:this.props.resultsContainerRef})):null)),e.default.createElement("aside",{className:"print-hidden width-20em "+(a>s?"p-l-left":"block-centered")},e.default.createElement(r.default,{enabled:a>s,top:75,innerZ:10,bottomBoundary:"#collection-results-container"},e.default.createElement("div",{className:a>s?"min-height-50vh":""},!y.filters&&e.default.createElement(m.default,{hashObject:y,qInterpretBlob:this.props.qInterpretBlob,qArr:this.props.qArr,setParams:this.props.setParams,isCompact:a<=s,resultsCount:E.totalCount,downloadUrl:E.downloadUrl,downloadfilename:this.downloadfilename}))))))}return e.default.createElement(n.default,{className:"loader-background loader-background-search"})}}],[{key:"getInitialState",value:function(){return{hasError:!1,isLoaded:!1,isUpdating:!1,isEmpty:!1,hashObject:{},errMessage:"",listID:null,config:null}}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.qInterpretBlob.query||e.hashObject.query;if(I(t.hashObject,e.hashObject)&&t.listID==t.listID)return null;var a={hashObject:e.hashObject,listID:e.listID,isEmpty:!1,hasError:!1,errMessage:""};return t.hashObject.query!==r||t.hashObject.collection!==e.hashObject.collection?(a.isLoaded=!1,a.isUpdating=!1):(a.isLoaded=t.isLoaded,a.isUpdating=!0),a}}]),g}();P.propTypes={hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,setParams:t.default.func.isRequired,width:t.default.number.isRequired,resultsContainerRef:t.default.node,knownTotalCount:t.default.number,incomplete:t.default.bool,qArr:t.default.array,listID:t.default.string},P.defaultProps={hashObject:{},qInterpretBlob:{},qArr:[],listID:null,showTitle:!1};var R=P;exports.default=R; },{"react":"SAdv","prop-types":"yu5W","react-stickynode":"U7mN","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../utils/Font":"i9OY","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/EmptyResultMessage":"mKZu","../../../react-shared-components/ErrorMessage":"VxRY","./CollectionSorter":"rZI2","./CollectionFiltersModalOpener":"K22n","../../../react-shared-components/sdq/SDQDocsum":"dcpA","../../../utils/FormatCount":"W5bu","../../../react-shared-components/Pagination":"Q6VP","../../../data-fetchers/sdq-fetch":"X5vv","./CollectionResultsActions":"RNAt","lodash.isequal":"Earo","lodash.clonedeep":"kEmP","lodash.assign":"PF6Q","lodash.find":"BaJQ"}],"yEH5":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=p(require("react")),t=p(require("prop-types")),r=require("../../../utils-logging/Log"),a=p(require("../../../utils-logging/GoogleAnalytics")),n=require("../../../utils/Font"),s=p(require("../../../utils/Url")),o=require("../../../ini/ini"),i=p(require("../../../react-shared-components/loader-animations/Spinner")),u=p(require("../../../react-shared-components/ErrorMessage")),l=p(require("../../../react-shared-components/EmptyResultMessage")),c=p(require("../../../react-shared-components/Tabs")),d=p(require("./CollectionSearchResult")),f=p(require("../../../data-fetchers/sdq-fetch"));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function m(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=O();return function(){var r,a=S(e);if(t){var n=S(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return q(this,r)}}function q(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=require("lodash.clonedeep"),T=require("lodash.assign"),w=require("lodash.findindex"),G=function(t){_(h,e.default.Component);var p=v(h);function h(e){var t;return y(this,h),(t=p.call(this,e)).state=h.getInitialState(),t}return m(h,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){t.query!==this.state.query&&this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var n="React Error Boundary in GlobalTextSearchResults Component";(0,r.DEBUG_LOG_START)(n),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(n),a.default.event({action:"react-error",label:n+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this,t=this.props.hashObject,n=this.props.qInterpretBlob.clean_query||this.props.qInterpretBlob.query;if(1!==n.length&&n.match(/[a-z0-9]/i)){var i={collection:"generic",view:"counts",query:n};"list"===t.input_type&&(i.query_type=t.input_type),t.query_type&&(i.query_type=t.query_type),t.id_type&&(i.id_type=t.id_type),(0,f.default)(i,o.SEARCH_COLLECTIONS_TABS).then(function(r){if(e.tabsSettings=Sphinx.config_search_ui.filter(function(e){return!e.is_secondary}),r.status<0&&r.errMessage)e.setState({hasError:!0,errMessage:String(r.errMessage),isLoaded:!0});else{for(var a={isLoaded:!0,totalCount:0,tabs:j(e.tabsSettings)},o=r.data,i=0;i<o.length;i++){var u=w(a.tabs,{name:o[i].name});u>-1&&(a.tabs[u].count=o[i].count,a.tabs[u].url=e.state.tabsHistory[a.tabs[u].name]||s.default.constructHash({query:n,tab:o[i].name,alias:t.alias||"",input_type:t.input_type||"",query_type:t.query_type||"",id_type:t.query_type||""}),a.totalCount+=o[i].count)}a.tabs=a.tabs.filter(function(e){return e.count>0}),e.setState(T({},h.getInitialState(),a))}}).catch(function(t){e.setState({hasError:!0,errMessage:t.message,isLoaded:!0});var n="sdq_fetch error in GlobalTextSearchResults Component";(0,r.DEBUG_LOG_START)(n),(0,r.DEBUG_LOG)(t.message),(0,r.DEBUG_LOG_END)(n),a.default.event({action:"fetch-error",label:n+": "+t.message})})}else this.setState(T({},h.getInitialState(),{redoSuggestion:"This does not appear to be a well formed query..."}))}},{key:"render",value:function(){if(this.state.redoSuggestion)return e.default.createElement("div",{className:"main-width"},e.default.createElement(u.default,{message:this.state.redoSuggestion,title:"Please try a different search"}));if(this.state.hasError)return e.default.createElement("div",{className:"main-width"},e.default.createElement(u.default,{message:this.state.errMessage}));if(this.state.isLoaded&&this.state.totalCount){var t=this.props.hashObject,r=this.state.tabs,a=this.state.activeTabIndex,s=this.props.width,o=40*n.FONT_SIZE;return e.default.createElement(e.default.Fragment,null,this.state.totalCount?e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:s>o?"b-bottom":""},e.default.createElement(c.default,{tabs:r,activeTabIndex:a,tabStyle:"underline",isDropdown:s<=o,label:"Choose Data Collection",trackAction:"text-search-tab",trackLabel:"Text Search Tab"}))),e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:"p-sm-top f-0875 f-normal"},e.default.createElement("span",{className:"f-gray"},r[a].description),r[a].help_url&&e.default.createElement("span",{className:"f-medium"}," ",e.default.createElement("a",{href:r[a].help_url},"Read More...")))),e.default.createElement("div",{className:"main-width"},e.default.createElement(d.default,{hashObject:T({},t,{collection:r[a].name||t.tab},this.props.hashObject.input_type||this.props.hashObject.query_type?{query_type:this.props.hashObject.input_type||this.props.hashObject.query_type}:{},r[a].id_type?{id_type:r[a].id_type}:{},this.props.hashObject.id_type?{id_type:this.props.hashObject.id_type}:{}),qInterpretBlob:this.props.qInterpretBlob,knownTotalCount:r[a].count,setParams:this.props.setParams,width:s,resultsContainerRef:this.props.resultsContainerRef}))):e.default.createElement("div",{className:"main-width"},"list"===this.props.qInterpretBlob.type?e.default.createElement(u.default,{message:"Expired or invalid list of identifiers..."}):e.default.createElement(l.default,null)))}return this.state.isLoaded&&!this.state.totalCount?e.default.createElement("div",{className:"main-width"},e.default.createElement(l.default,null)):e.default.createElement(i.default,{className:"loader-background loader-background-search"})}}],[{key:"getInitialState",value:function(){return{hasError:!1,errMessage:"",isLoaded:!1,redoSuggestion:"",tabs:[],tabsHistory:{},activeTabIndex:0,totalCount:0}}},{key:"getDerivedStateFromProps",value:function(e,t){var a=e.qInterpretBlob.query||e.hashObject.query;if(e.hashObject&&t.query!==a)return T({},h.getInitialState(),{query:a});if(!e.hashObject)return null;var n={activeTabIndex:0,tabs:j(t.tabs),tabsHistory:j(t.tabsHistory)||{}};try{var o=n.tabs;if(e.hashObject.tab)for(var i=0;i<o.length;i++)o[i].name===e.hashObject.tab?(n.activeTabIndex=i,n.tabsHistory[o[i].name]=s.default.constructHash(T({},e.hashObject)),o[i].url=n.tabsHistory[o[i].name]):n.tabsHistory[o[i].name]||(n.tabsHistory[o[i].name]=s.default.constructHash({query:e.hashObject.query,tab:o[i].name,alias:e.hashObject.alias||"",input_type:e.hashObject.input_type||"",query_type:e.hashObject.query_type||"",id_type:e.hashObject.query_type||""}),o[i].url=n.tabsHistory[o[i].name])}catch(l){var u="Error in GlobalTextSearch getDerivedStateFromProps - calculating active tab indices...";(0,r.DEBUG_LOG_START)(u),(0,r.DEBUG_LOG)(l.message),(0,r.DEBUG_LOG_END)(u)}finally{return n}}}]),h}();G.propTypes={width:t.default.number.isRequired,hashObject:t.default.object.isRequired,setParams:t.default.func.isRequired,qInterpretBlob:t.default.object,resultsContainerRef:t.default.node},G.defaultProps={qInterpretBlob:{}};var B=G;exports.default=B; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../utils/Font":"i9OY","../../../utils/Url":"qcwJ","../../../ini/ini":"wjNQ","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/EmptyResultMessage":"mKZu","../../../react-shared-components/Tabs":"j6K6","./CollectionSearchResult":"kn9X","../../../data-fetchers/sdq-fetch":"X5vv","lodash.clonedeep":"kEmP","lodash.assign":"PF6Q","lodash.findindex":"vX4j"}],"Lg9R":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var e=r(require("../utils/PCFEStorage")),t=require("../ini/ini");function r(e){return e&&e.__esModule?e:{default:e}}var n="sessionStorage";function o(r){var o=r;try{o=String(o).trim().replace(/^"|'/,"").replace(/"|'$/,"")}catch(c){}var u,a=t.PUGREST_BASE_URL+"concepts/name/JSON?name="+encodeURIComponent(o),i=1e3;try{var s=e.default.getItem("pugrest_"+a,n);s&&(u=JSON.parse(s))&&u.timestamp&&(i=(Date.now()-u.timestamp)/36e5)}catch(c){}return u&&i<240?new Promise(function(e,t){e(u)}):fetch(a).then(function(e){return e.json()}).then(function(t){return t.timestamp=Date.now(),e.default.setItem("pugrest_"+a,JSON.stringify(t),n),t}).catch(function(){throw new Error("Could not get CIDs for "+r+" from /rest/pug/ return...")})} },{"../utils/PCFEStorage":"mx2d","../ini/ini":"wjNQ"}],"et9p":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types")),r=require("../../../utils-logging/Log"),n=l(require("../../../utils-logging/GoogleAnalytics")),o=l(require("../../../data-fetchers/lookup-CID-by-name-fetch")),a=l(require("../../../react-shared-components/sdq/SDQDocsum")),s=l(require("../../../data-fetchers/sdq-fetch")),u=require("../../../utils/Font"),c=require("../helpers/query-examples"),i=require("../../../ini/ini");function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=D();return function(){var r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(t){h(l,e.default.Component);var i=b(l);function l(e){var t;return d(this,l),(t=i.call(this,e)).state=l.getInitialState(),t}return m(l,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){t.query!==this.state.query&&this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var o="React Error Boundary in ExactMatchResult Component";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(o),n.default.event({action:"react-error",label:o+": "+t.componentStack})}},{key:"fetchFromSDQ",value:function(e){var t=this,o={},a={query:e,query_type:"cid",collection:"compound",view:"docsum"};(0,s.default)(a).then(function(e){o.config=Sphinx.config.compound;var r=e.SDQOutputSet[0],n={rows:r.rows,totalCount:r.totalCount,netcachekey:r.listID,status:r.status};o.results=n,0===n.totalCount?o.isEmpty=!0:n.rows?o.isLoaded=!0:(o.hasError=!0,o.errMessage="Something went wrong, no results found in sdq output..."),t.setState(o)}).catch(function(e){var t="sdq_fetch error in ExactMatchResult Component";(0,r.DEBUG_LOG_START)(t),(0,r.DEBUG_LOG)(e.message),(0,r.DEBUG_LOG_END)(t),n.default.event({action:"ExactMatchResult-error",label:t+": "+e.message})})}},{key:"doSearch",value:function(){var e=this,t=this.state.query;t&&("cid"===this.props.queryType?this.fetchFromSDQ(t):c.EXAMPLES[t]&&c.EXAMPLES[t].cid?this.fetchFromSDQ(c.EXAMPLES[t].cid):(0,o.default)(t).then(function(t){var r,o,a;try{r=t.ConceptsAndCIDs.CID?t.ConceptsAndCIDs.CID[0]:null,(a=t.ConceptsAndCIDs.Concept?t.ConceptsAndCIDs.Concept[0]:null)&&(o=a.PreferredCID)}catch(s){}a&&!o?(e.setState({concept:a,isLoaded:!0}),n.default.event({action:"display-featured-result-concept",label:"Display Featured Result, Concept = "+JSON.stringify(a)})):r?(e.fetchFromSDQ(r),n.default.event({action:"display-featured-result-compound",label:"Display Featured Result, Compound CID="+r})):e.setState({isLoaded:!0})}).catch(function(t){e.setState({hasError:!0,isLoaded:!1});var o="sdq_fetch error in SearchResults Component";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(t.message),(0,r.DEBUG_LOG_END)(o),n.default.event({action:"fetch-error",label:o+": "+t.message})}))}},{key:"render",value:function(){var t=25*u.FONT_SIZE;return this.state.isEmpty||this.state.hasError||!this.state.isLoaded?null:this.state.concept?e.default.createElement("div",{className:"main-width p-l-bottom"},e.default.createElement("div",{className:"label p-sm-bottom"},this.props.title),e.default.createElement("div",{className:"box-shadow"},e.default.createElement("div",{className:"f-lh-135 p-md-rectangle"},e.default.createElement("div",{className:"f-medium p-sm-top p-sm-bottom f-125"},e.default.createElement("a",{href:this.state.concept.URL,className:"f-medium","data-ga-action":"featured-result-link","data-ga-label":"Featured Concept Title Link"},this.state.concept.ConceptName)),e.default.createElement("div",{className:"p-sm-bottom"},e.default.createElement("div",{className:"f-0875"},e.default.createElement("span",{className:"f-medium"},"PubChem CID: "),e.default.createElement("span",null,"Not available and might not be a discrete structure.")),this.state.concept.Description&&this.state.concept.Description.map(function(t,r){return e.default.createElement("p",{key:r,className:"f-0875 p-sm-top"},t)}))))):e.default.createElement(e.default.Fragment,null,this.state.results?e.default.createElement("div",{className:"main-width p-l-bottom"},e.default.createElement("div",{className:"label p-sm-bottom"},this.props.title),e.default.createElement("div",{className:"box-shadow"},e.default.createElement(a.default,{isCompact:this.props.width<t,isFeatured:!0,data:this.state.results.rows[0],qInterpretBlob:this.props.qInterpretBlob,config:this.state.config,label:"Compound"}))):null)}}],[{key:"getInitialState",value:function(){return{query:"",concept:null,hasError:!1,isLoaded:!1}}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.qInterpretBlob.clean_query||e.hashObject.query;return t.query!==r?Object.assign({},l.getInitialState(),{query:r}):null}}]),l}();g.propTypes={hashObject:t.default.object.isRequired,title:t.default.string,queryType:t.default.oneOf.cid,width:t.default.number.isRequired,qInterpretBlob:t.default.object.isRequired},g.defaultProps={title:"Best Match"};var q=g;exports.default=q; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../data-fetchers/lookup-CID-by-name-fetch":"Lg9R","../../../react-shared-components/sdq/SDQDocsum":"dcpA","../../../data-fetchers/sdq-fetch":"X5vv","../../../utils/Font":"i9OY","../helpers/query-examples":"vO10","../../../ini/ini":"wjNQ"}],"Meds":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types")),r=require("../../../utils-logging/Log"),a=l(require("../../../utils-logging/GoogleAnalytics")),n=require("../../../ini/ini"),o=l(require("../../../react-shared-components/icons/KeyboardArrowRight")),u=l(require("../../../data-fetchers/sources-fetch"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=b();return function(){var r,a=v(e);if(t){var n=v(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=require("lodash.assign"),E=function(t){d(i,e.default.Component);var l=p(i);function i(e){var t;return c(this,i),(t=l.call(this,e)).state=i.getInitialState(),t}return f(i,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){t.query!==this.state.query&&this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var n="React Error Boundary in SourceMatchResult Component";(0,r.DEBUG_LOG_START)(n),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(n),a.default.event({action:"react-error",label:n+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this,t=this.state.query;t&&(0,u.default)().then(function(r){var n=i.findMatches(r,t);n.isLoaded=!0,n.blob=r,e.setState(n,function(){e.state.hasMatch&&a.default.event({action:"display-featured-result-source",label:"Display Featured Result, Source: "+t})})})}},{key:"render",value:function(){if(!this.state.hasError&&this.state.isLoaded&&this.state.hasMatch){var t=this.state.matchArr.slice(0,Math.min(3,this.state.matchArr.length));return e.default.createElement("div",{className:"main-width p-l-bottom"},e.default.createElement("div",{className:"label p-sm-bottom"},"DATA SOURCE",t>1?"s":""),e.default.createElement("div",{className:"box-shadow b-radius"},t.map(function(t,r){return e.default.createElement("div",{className:"p-sm"+(r?" b-top b-light":"")},e.default.createElement("div",null,e.default.createElement("div",{className:"f-medium f-1125"},e.default.createElement("a",{href:n.SOURCES_URL+t.DSN,"data-ga-action":"featured-result-link","data-ga-label":"Featured Result (Source) Title Link"},t["Source Name"])),t["Source Category"]?e.default.createElement("div",{className:"p-sm-top f-0875 f-medium"},t["Source Category"]):null,t.Description?e.default.createElement("div",{className:"p-sm-top f-0875"},t.Description):null,t["Last Updated"]?e.default.createElement("div",{className:"p-sm-top f-0875"},"Last Updated: ",t["Last Updated"]):null))}),this.state.totalCount>1?e.default.createElement("div",{className:"p-sm b-top b-light f-0875"},e.default.createElement("a",{className:"inline-block",href:n.SOURCES_URL+"#matching="+this.state.query,"data-ga-action":"featured-result-link","data-ga-label":"Featured Result (Source) All Link"},e.default.createElement("span",{className:"btn-text f-medium"}," View all data sources matching ",e.default.createElement("i",null,this.state.query)),e.default.createElement(o.default,null))):null))}return e.default.createElement(e.default.Fragment,null,null)}}],[{key:"getInitialState",value:function(){return{query:"",hasError:!1,hasMatch:!1,isLoaded:!1,blob:null,totalCount:0,matchArr:[]}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.query!==e.hashObject.query?g({},i.getInitialState(),{query:e.qInterpretBlob.clean_query||e.hashObject.query}):null}},{key:"findMatches",value:function(e,t){for(var r,a,n={hasMatch:!1},o=[],u=[],l=0;l<e.length;l++){r=new RegExp("^"+t,"i"),a=new RegExp(t,"i");try{"Legacy"!==e[l].Status&&(e[l]["Source Name"].match(r)?(o.push(e[l]),n.hasMatch=!0):e[l]["Source Name"].match(a)&&(u.push(e[l]),n.hasMatch=!0))}catch(i){}}return n.matchArr=o.length?o:u,n.totalCount=o.length+u.length,n}}]),i}();E.propTypes={hashObject:t.default.object.isRequired,title:t.default.string,width:t.default.number.isRequired,qInterpretBlob:t.default.object.isRequired},E.defaultProps={title:"Featured Result"};var S=E;exports.default=S; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../ini/ini":"wjNQ","../../../react-shared-components/icons/KeyboardArrowRight":"KrIt","../../../data-fetchers/sources-fetch":"aGdZ","lodash.assign":"PF6Q"}],"UX0M":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=f(require("react")),t=f(require("prop-types")),r=require("../../../utils-logging/Log"),n=f(require("../../../utils-logging/GoogleAnalytics")),o=require("../../../ini/ini"),a=f(require("../../../data-fetchers/sdq-fetch")),i=f(require("../../../react-shared-components/loader-animations/Spinner")),u=f(require("../../../react-shared-components/ErrorMessage")),c=f(require("../../../react-shared-components/sdq/SDQDocsum")),l=f(require("../../../react-shared-components/EmptyResultMessage")),s=require("../../../utils/Font");function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=g();return function(){var r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return q(this,r)}}function q(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=require("lodash.assign"),w=require("lodash.forown"),O=function(t){y(p,e.default.Component);var f=v(p);function p(e){var t;return d(this,p),(t=f.call(this,e)).state=p.getInitialState(),t}return m(p,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e){this.props.query!==e.query&&this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var o="React Error Boundary in NumericSearchResult Component";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(o),n.default.event({action:"react-error",label:o+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this,t=this.props.qInterpretBlob.clean_query||this.props.query,r=[];w(o.COLLECTION_NUMERIC_ID_TYPES,function(n,o){e.props.hashObject.collection&&o!==e.props.hashObject.collection.toLowerCase()||r.push((0,a.default)({query:t,query_type:n,collection:o,view:"docsum"}))}),Promise.all(r).then(function(r){for(var o=[],a=0;a<r.length;a++)try{var i=r[a].SDQOutputSet[0];i.totalCount&&Sphinx.config[i.collection]&&o.push({rows:i.rows,totalCount:i.totalCount,netcachekey:i.listID,status:i.status,config:Sphinx.config[i.collection]})}catch(u){}e.setState({rArr:o,isEmpty:!o.length,isLoaded:!0,hasError:!1},function(){e.state.isEmpty||n.default.event({action:"display-featured-result-numeric",label:"Display Featured Result, Numeric: "+t})})})}},{key:"render",value:function(){var t=this;if(this.state.isLoaded){if(this.state.hasError)return e.default.createElement("div",{className:"main-width"},e.default.createElement(u.default,null));if(this.state.isEmpty)return e.default.createElement("div",{className:"main-width"},e.default.createElement(l.default,null));var r=0;try{r=this.state.rArr.length}catch(o){}var n=25*s.FONT_SIZE;return e.default.createElement("div",{className:"main-width"},e.default.createElement("h3",{className:"f-normal f-125 p-md-bottom"},"Found ",r," record",r>1?"s":""," with numerical identifier",r>1?"s":""," matching ",e.default.createElement("i",null,this.props.qInterpretBlob.clean_query||this.props.query)),this.state.rArr.map(function(r,o){return r&&r.config?e.default.createElement("div",{className:"p-l-bottom"},e.default.createElement("div",{className:"label p-sm-bottom"},r.config.display_name?r.config.display_name.replace(/s$/,""):""),e.default.createElement("div",{className:"box-shadow"},e.default.createElement(c.default,{isCompact:t.props.width<n,isFeatured:!0,label:"Numeric",data:r.rows[0],qInterpretBlob:t.props.qInterpretBlob,config:r.config}))):null}))}return e.default.createElement(i.default,{className:"loader-background loader-background-search"})}}],[{key:"getInitialState",value:function(){return{hasError:!1,errMessage:"",isLoaded:!1,isEmpty:!1,rArr:[]}}},{key:"getDerivedStateFromProps",value:function(e,t){return e.query!==t.query?_({},p.getInitialState(),{query:e.query}):null}}]),p}();O.propTypes={query:t.default.number.isRequired,hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,width:t.default.number.isRequired};var D=O;exports.default=D; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../ini/ini":"wjNQ","../../../data-fetchers/sdq-fetch":"X5vv","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/sdq/SDQDocsum":"dcpA","../../../react-shared-components/EmptyResultMessage":"mKZu","../../../utils/Font":"i9OY","lodash.assign":"PF6Q","lodash.forown":"vzAy"}],"FRRW":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.WarningMessage=void 0;var e=t(require("react")),r=t(require("prop-types"));function t(e){return e&&e.__esModule?e:{default:e}}var s=function(r){var t=r.message;return t?e.default.createElement("div",{className:"p-md b-left b-thick b-gold bckg-gold-lightest"},"Warning: ",t):null};exports.WarningMessage=s,s.propTypes={message:r.default.string},s.defaultProps={message:""};var a=s;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"DSq2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DataLoadWrapper=void 0;var e=d(require("react")),t=l(require("prop-types")),a=l(require("./ErrorBoundary")),r=l(require("./loader-animations/Spinner")),s=l(require("./ErrorMessage")),n=l(require("./EmptyResultMessage")),o=l(require("./WarningMesssage"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(u=function(e){return e?a:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=u(t);if(a&&a.has(e))return a.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,a&&a.set(e,r),r}var i=function(t){var l=t.children,u=t.isLoaded,d=t.isUpdating,i=t.isEmpty,f=t.emptyMessage,p=t.dataErrorMessage,c=t.warningMessage,g=t.componentName,m=t.showReactErrorMessage,M=t.showSpinner,E=t.loaderMessage;return e.default.createElement(a.default,{showMessage:m,componentName:g},u?p?e.default.createElement(s.default,{message:p}):i?e.default.createElement(n.default,{message:f}):d?e.default.createElement("div",{className:"height-100 updating1"},c&&e.default.createElement(o.default,{message:c}),l):e.default.createElement(e.Fragment,null,c&&e.default.createElement(o.default,{message:c}),l):e.default.createElement(e.Fragment,null,E&&e.default.createElement("div",{className:"align-center label"},E),M&&e.default.createElement(r.default,{className:"loader-background loader-background-search"})))};exports.DataLoadWrapper=i,i.propTypes={isLoaded:t.default.bool.isRequired,isUpdating:t.default.bool,isEmpty:t.default.bool,emptyMessage:t.default.string,dataErrorMessage:t.default.string,showReactErrorMessage:t.default.bool,showSpinner:t.default.bool,loaderMessage:t.default.string,componentName:t.default.string},i.defaultProps={isLoaded:!1,isUpdating:!1,isEmpty:!1,emptyMessage:"",dataErrorMessage:"",showReactErrorMessage:!1,showSpinner:!0,loaderMessage:"",componentName:""};var f=i;exports.default=f; },{"react":"SAdv","prop-types":"yu5W","./ErrorBoundary":"lmia","./loader-animations/Spinner":"Z4op","./ErrorMessage":"VxRY","./EmptyResultMessage":"mKZu","./WarningMesssage":"FRRW"}],"ltTO":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=l(require("prop-types")),r=require("../../../ini/ini"),a=l(require("../../../react-shared-components/DataLoadWrapper")),n=l(require("../../../utils/PostData")),o=l(require("./CollectionSearchResult"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=n?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(a,o,l):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function s(e,t){return y(e)||m(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function m(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(a=r.next()).done)&&(o.push(a.value),!t||o.length!==t);l=!0);}catch(u){i=!0,n=u}finally{try{l||null==r.return||r.return()}finally{if(i)throw n}}return o}}function y(e){if(Array.isArray(e))return e}var h=require("lodash.assign"),_=function(t){var l=t.hashObject,i=(t.qInterpretBlob,s((0,e.useState)({}),2)),u=i[0],f=i[1],d=s((0,e.useState)(!1),2),p=d[0],m=d[1],y=s((0,e.useState)(!1),2),_=y[0],b=y[1],E=s((0,e.useState)(""),2),O=E[0],v=E[1];return(0,e.useEffect)(function(){f({}),m(!1),b(!1),v("");var e=r.COLLECTION_NUMERIC_ID_TYPES[l.collection],t=l.query.replace(/[,\s]+/g,",");e&&t?(0,n.default)("/list_gateway/list_gateway.cgi?format=json&action=post_to_cache&id_type="+e,"ids="+t).then(function(t){f({id:t.Response.cache_key,id_type:e,totalCount:t.Response.list_size,storeCount:t.Response.list_size}),m(!0),t.Response.list_size||b(!0)}).catch(function(e){m(!0),v(e.message)}):m(!0)},[l.query,l.collection]),e.default.createElement("div",{className:"p-md-top main-width"},e.default.createElement(a.default,{isLoaded:p,isEmpty:_,dataErrorMessage:O,componentName:"NumericListSearchResult"},e.default.createElement("div",null,u.id_type?e.default.createElement(e.Fragment,null,e.default.createElement("h3",{className:"p-xsm-bottom f-normal f-15"},"Identifier List Search for ",r.ID_NAMES[r.COLLECTION_NUMERIC_ID_TYPES[l.collection]]),e.default.createElement(o.default,c({},t,{hashObject:h({},l,{listID:u.id,id_type:u.id_type})}))):e.default.createElement(e.Fragment,null,e.default.createElement("h3",{className:"f-normal f-15"},"Please choose the data collection for the identifier list search:"),e.default.createElement("ul",null,Object.keys(r.COLLECTION_NUMERIC_ID_TYPES).map(function(t){return e.default.createElement("li",{className:"p-xsm f-125 f-medium"},e.default.createElement("a",{href:"#query="+l.query+"&collection="+t,"data-ga-action":"id_list_collection_chooser_link","data-ga-label":"ID List Collection Chooser Link: "+t},r.ID_NAMES[r.COLLECTION_NUMERIC_ID_TYPES[t]]))}))))))};_.propTypes={isCompact:t.default.bool,hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object,setParams:t.default.func.isRequired,resultsContainerRef:t.default.node},_.defaultProps={isCompact:!1,qInterpretBlob:{}};var b=_;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../react-shared-components/DataLoadWrapper":"DSq2","../../../utils/PostData":"oZ0z","./CollectionSearchResult":"kn9X","lodash.assign":"PF6Q"}],"Zbmp":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var t=e(require("../utils/PCFEStorage"));function e(t){return t&&t.__esModule?t:{default:t}}var r="sessionStorage";function o(e){var o,a=1e3;try{var u=t.default.getItem("autocompleteTOC_"+e,r);u&&(o=JSON.parse(u))&&o.timestamp&&(a=(Date.now()-o.timestamp)/36e5)}catch(s){}return o&&a<1?new Promise(function(t,e){t(o)}):fetch("/rest/autocomplete/classification72/"+e).then(function(t){if(t.status>=400)throw new Error("Bad response from server");return t.json()}).then(function(t){return n(e,t)}).catch(function(){throw new Error("Could not read results from autocompleteTOC return...")})}function n(e,o){var n={query:e};n.timestamp=Date.now();try{n.dictionary_terms=o.dictionary_terms,t.default.setItem("autocompleteTOC_"+e,JSON.stringify(n),r)}catch(a){}finally{return n}} },{"../utils/PCFEStorage":"mx2d","process":"FT5O"}],"nNPX":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=u(require("prop-types")),r=require("../../../utils-logging/Log"),o=u(require("../../../utils-logging/GoogleAnalytics")),a=u(require("../../../data-fetchers/lookup-CID-by-name-fetch")),n=require("../../../ini/ini"),i=u(require("../../../data-fetchers/autocompleteTOC-fetch")),c=u(require("../../../react-shared-components/icons/KeyboardArrowRight"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=v();return function(){var r,o=g(e);if(t){var a=g(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(t){p(l,e.default.Component);var u=m(l);function l(e){var t;return s(this,l),(t=u.call(this,e)).state={hasError:!1,isLoaded:!1,tocUrl:""},t}return d(l,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.props.hashObject.query!==e.hashObject.query&&this.setState({isLoaded:!1,hasError:!1},function(){t.doSearch()})}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var a="React Error Boundary in ExactMatchResult Component";(0,r.DEBUG_LOG_START)(a),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(a),o.default.event({action:"react-error",label:a+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this;if(this.props.hashObject.query&&!this.state.isLoaded){var t=this.props.qInterpretBlob,r=this.props.hashObject.query,c="";t&&t.clean_query&&(c=t.clean_query);t.nWords;(0,i.default)(r).then(function(t){var i=[],u=void 0,l="",s="";try{i=t.dictionary_terms.classification72;for(var f=0;f<i.length;f++){var d=new RegExp(i[f],"gi");if(r.match(d)){u=i[f],s=r.replace(d,"").trim();break}c.match(d)&&(u=i[f],s=c.replace(d,"").trim())}}catch(p){}u?(0,a.default)(s).then(function(t){var r;try{r=t.IdentifierList.CID[0]}catch(a){}r&&(l=n.SUMMARY_URL.cid+r+"#section="+u.replace(/[,. ]+/g,"-").replace(/\//g,"-").replace(/:/g,"-")),e.setState({isLoaded:!0,tocUrl:l}),o.default.event({action:"display-featured-result-compound-toc",label:"Display Featured Result, Compound TOC: "+u})}).catch(function(t){e.setState({hasError:!0,isLoaded:!1})}):e.setState({isLoaded:!0,tocUrl:""})}).catch(function(t){e.setState({hasError:!0})})}}},{key:"render",value:function(){return this.state.hasError?e.default.createElement("div",{className:"main-width p-md-bottom f-secondary"},"Something went wrong in CompoundNameTOCMatchResult display..."):this.state.isLoaded&&this.state.tocUrl?e.default.createElement("div",{className:"main-width p-l-bottom"},e.default.createElement("div",{className:"label p-sm-bottom"},"BEST MATCH FROM COMPOUND SUMMARY"),e.default.createElement("div",{className:"box-shadow b-radius p-1px"},e.default.createElement("div",{className:"relative"},e.default.createElement("iframe",{className:"pubchem-widget b-radius width-100 height-500px no-border hidden-overflow",seamless:!0,scrolling:"no",src:this.state.tocUrl+"&embed=true&internal=true"}),e.default.createElement("div",{className:"absolute width-100 left-0 bottom-0"},e.default.createElement("div",{className:"f-0875 f-medium height-2em f-lh-2 bckg-primary f-white b-radius-bottom-left b-radius-bottom-right"},e.default.createElement("a",{href:this.state.tocUrl,className:"block width-100 align-center","data-ga-action":"featured-result-link","data-ga-label":"Featured Result Compound TOC Full Record Link"},e.default.createElement("span",{className:"btn-text"},"View Full Record"),e.default.createElement(c.default,null))))))):e.default.createElement(e.default.Fragment,null,null)}}]),l}();E.propTypes={hashObject:t.default.object.isRequired,title:t.default.string,width:t.default.number.isRequired,qInterpretBlob:t.default.object},E.defaultProps={title:"Featured Result"};var O=E;exports.default=O; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../data-fetchers/lookup-CID-by-name-fetch":"Lg9R","../../../ini/ini":"wjNQ","../../../data-fetchers/autocompleteTOC-fetch":"Zbmp","../../../react-shared-components/icons/KeyboardArrowRight":"KrIt"}],"BF7F":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var t=require("../utils-logging/Log"),r=e(require("../utils/PCFEStorage"));function e(t){return t&&t.__esModule?t:{default:t}}var u=require("scriptjs"),s=2,i="sessionStorage";function n(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise(function(t,r){u("/pcfe/structure-api/structure-api.min.js","structure"),u.ready("structure",function(){window.Structure?t(window.Structure):r("structure-api failed to load")})}).catch(function(){throw new Error("Error loading structure-api...")}).then(function(){var u=Structure.query(e);if(u.url_relative){var n,o=u.url_relative,a=1e3;try{var c=r.default.getItem("structure_"+o,i);c&&(n=JSON.parse(c))&&n.timestamp&&(a=(Date.now()-n.timestamp)/36e5)}catch(f){}return n&&a<s?new Promise(function(t,r){t(n)}):fetch(o).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText+"("+t.status+")")}).then(function(u){var s=u;s.timestamp=Date.now();try{s.options=Structure.config.search_types[e.search_type]}catch(f){var n="Error in structure_fetch trying to get config...";(0,t.DEBUG_LOG_START)(n),(0,t.DEBUG_LOG)("Query URL="+o),(0,t.DEBUG_LOG)(f.message),(0,t.DEBUG_LOG_END)(n)}if(0===s.response.status)r.default.setItem("structure_"+o,JSON.stringify(s),i);else if(-1===s.response.status)try{JSON.stringify(s).match(/failed to get ensemble|failed to get fingerprint|unable to standardize/i)&&r.default.setItem("structure_"+o,JSON.stringify(s),i)}catch(a){}return s}).catch(function(r){var e="Error in structure_fetch trying to read results";throw(0,t.DEBUG_LOG_START)(e),(0,t.DEBUG_LOG)("Query URL="+o),(0,t.DEBUG_LOG)(r.message),(0,t.DEBUG_LOG_END)(e),new Error("Error in retrieving results from structure search system... "+r.message)})}return Promise.reject("Could not form a valid structure query with provided input: \n"+u.errors.join("\n"))})} },{"../utils-logging/Log":"LH3n","../utils/PCFEStorage":"mx2d","scriptjs":"n1wP"}],"UvCk":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(t){var r=t.width,i=t.height,l=t.color,u=t.style;return e.default.createElement("svg",{className:"icon icon-menu-right",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:i||"24",style:u},e.default.createElement("path",{d:"M10,17L15,12L10,7V17Z"}))},l=i;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"QRAT":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ShowHideArrowCollapsible=void 0;var e=o(require("react")),t=r(require("prop-types")),n=r(require("./icons/MenuDown")),a=r(require("./icons/MenuRight"));function r(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function u(e,t){return d(e)||f(e,t)||i(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function f(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,l=[],o=!0,u=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(l.push(a.value),!t||l.length!==t);o=!0);}catch(s){u=!0,r=s}finally{try{o||null==n.return||n.return()}finally{if(u)throw r}}return l}}function d(e){if(Array.isArray(e))return e}var p=function(t){var r=t.isOpenStart,l=t.openClassName,o=t.closedClassName,s=t.buttonContainerOpenClassName,i=t.buttonContainerClassName,c=t.buttonOpenClassName,f=t.buttonClassName,d=t.trackAction,p=t.trackLabel,m=t.isCompact,b=t.buttonLabel,C=t.buttonTitle,y=t.boxClassName,g=t.children,N=u((0,e.useState)(r),2),h=N[0],v=N[1];return e.default.createElement("div",{className:h?l:o},e.default.createElement("div",{className:h?s:i},e.default.createElement("button",{className:h?c:f,onClick:function(){return v(!h)},"data-ga-action":d,"data-ga-label":p,title:C},h?e.default.createElement(n.default,null):e.default.createElement(a.default,null),e.default.createElement("span",{className:"btn-text capitalized"+(m?" sr-only":"")},b))),e.default.createElement("div",{className:y+(h?"":" hidden")},g))};exports.ShowHideArrowCollapsible=p,p.propTypes={closedClassName:t.default.string,openClassName:t.default.string,children:t.default.element.isRequired,boxClassName:t.default.string,buttonLabel:t.default.oneOfType([t.default.string,t.default.node]).isRequired,title:t.default.string,buttonClassName:t.default.string,buttonOpenClassName:t.default.string,buttonContainerClassName:t.default.string,buttonContainerOpenClassName:t.default.string,isCompact:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string,isOpenStart:t.default.bool},p.defaultProps={boxClassName:"p-md",buttonTitle:"",buttonClassName:"button lh-15 align-left outline-inner-svg has-icon-left",buttonOpenClassName:"button lh-15 align-left outline-inner-svg has-icon-left",buttonContainerClassName:"inline-block",closedClassName:"p-md-top p-md-bottom",openClassName:"p-md-top p-md-bottom",isCompact:!1,trackAction:"show-hide-button",trackLabel:"Show/Hide",isOpenStart:!1};var m=p;exports.default=m; },{"react":"SAdv","prop-types":"yu5W","./icons/MenuDown":"yvfJ","./icons/MenuRight":"UvCk"}],"vNpF":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,d=t.style;return e.default.createElement("svg",{className:"icon-add-circle",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:d},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"OzKc":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-remove-circle",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"oF5r":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=l(require("prop-types")),n=l(require("../utils-logging/GoogleAnalytics")),a=l(require("./icons/AddCircle")),r=l(require("./icons/RemoveCircle"));function l(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=m();return function(){var n,a=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(t){c(o,e.default.Component);var l=f(o);function o(e){var t;return i(this,o),(t=l.call(this,e)).state={value:e.value},t.handleChange=t.handleChange.bind(h(t)),t.handleStepPlus=t.handleStepPlus.bind(h(t)),t.handleStepMinus=t.handleStepMinus.bind(h(t)),t.handleMouseUp=t.handleMouseUp.bind(h(t)),t}return u(o,[{key:"handleChange",value:function(e){this.setState({value:e.target.value})}},{key:"handleStepPlus",value:function(){this.props.onChange(+this.state.value+ +this.props.step)}},{key:"handleStepMinus",value:function(){this.props.onChange(+this.state.value-+this.props.step)}},{key:"handleMouseUp",value:function(e){this.props.onChange(this.state.value),n.default.event({action:this.props.trackAction,label:this.props.trackLabel+": "+this.props.label})}},{key:"componentDidUpdate",value:function(e,t){this.props.value!==e.value&&this.setState({value:this.props.value})}},{key:"render",value:function(){return e.default.createElement("div",{className:"align-vertical-center width-100"},e.default.createElement("div",{className:"align-center p-sm-bottom label"},this.props.label),e.default.createElement("div",{className:"table-grid block-centered with-padding f-125"},e.default.createElement("div",{className:"p-sm-bottom"},e.default.createElement("div",{className:"p-xsm border b-light b-radius"},this.state.value,this.props.unit||"")),void 0!==this.props.altValue&&e.default.createElement("div",{className:"p-sm-bottom"},e.default.createElement("div",{className:"p-xsm border b-light b-radius"},this.props.altValue,this.props.altUnit||""))),e.default.createElement("div",{className:""},e.default.createElement("div",{className:"flex-container flex-nowrap align-vertical-center p-md-bottom"},e.default.createElement("button",{className:"button square-icon",onClick:this.handleStepPlus,disabled:this.state.value>=this.props.max,"data-ga-action":this.props.trackAction,"data-lablel":this.props.trackAction+" Step Minus"},e.default.createElement(a.default,null)),e.default.createElement("div",{className:"flex-grow-1 relative"},e.default.createElement("div",{className:"absolute top-0 left-0 align-left p-md-top f-lh-2"},this.props.min+this.props.unit),e.default.createElement("div",{className:"absolute top-0 right-0 align-right p-md-top f-lh-2"},this.props.max+this.props.unit),e.default.createElement("input",{type:"range",title:this.state.value,value:this.state.value,min:this.props.min,max:this.props.max,step:this.props.step,onChange:this.handleChange,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleMouseUp})),e.default.createElement("button",{className:"button square-icon",onClick:this.handleStepMinus,disabled:this.state.value<=this.props.min,"data-ga-action":this.props.trackAction,"data-lablel":this.props.trackAction+" Step Plus"},e.default.createElement(r.default,null)))))}}]),o}();exports.default=v,v.propTypes={label:t.default.string,value:t.default.number,altValue:t.default.number,min:t.default.number,max:t.default.number,step:t.default.number,onChange:t.default.func.isRequired,unit:t.default.string,altUnit:t.default.string,trackAction:t.default.string,trackLabel:t.default.string},v.defaultProps={min:1,max:100,step:1,unit:"",trackAction:"range-input",trackLabel:"Range Input"}; },{"react":"SAdv","prop-types":"yu5W","../utils-logging/GoogleAnalytics":"z7bP","./icons/AddCircle":"vNpF","./icons/RemoveCircle":"OzKc"}],"vA71":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=c(require("react")),t=o(require("prop-types")),a=require("../../../ini/ini"),r=o(require("../../../react-shared-components/ShowHideArrowCollapsible")),n=o(require("../../../react-shared-components/icons/Checkbox")),l=o(require("../../../react-shared-components/icons/CheckboxOutline")),u=o(require("../../../react-shared-components/RangeInput")),i=o(require("../../../react-shared-components/CustomRadioGroup"));function o(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=n?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}function d(e,t){return b(e)||v(e,t)||p(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"==typeof e)return m(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function v(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,l=[],u=!0,i=!1;try{for(a=a.call(e);!(u=(r=a.next()).done)&&(l.push(r.value),!t||l.length!==t);u=!0);}catch(o){i=!0,n=o}finally{try{u||null==a.return||a.return()}finally{if(i)throw n}}return l}}function b(e){if(Array.isArray(e))return e}var y=require("lodash.forown"),h=require("lodash.clonedeep"),g=require("scriptjs"),w=function(t){var r=t.hashObject,o=t.name,s=t.setParams,c=t.showReset,f=t.isCompact,p=t.trackAction,m=t.trackLabel,v=d((0,e.useState)(void 0),2),b=v[0],w=v[1];(0,e.useEffect)(function(){g(a.LIB_STRUCT,function(){w(window.Structure.config.search_types[o])})});var _,k=function(){var e=h(r);return delete e.page,e},O=(_=!0,b&&Object.keys(b).map(function(e){var t=b[e];t.ui&&void 0!==r[e]&&String(r[e])!==String(t.default_value)&&(_=!1)}),_);return b?e.default.createElement("div",{className:f?"":"inline-block align-center"},Object.keys(b).map(function(t){var a=b[t];if(!a.ui)return null;if("string"===a.type)return e.default.createElement("div",{className:"p-sm-top p-sm-bottom align-left"+(f?"":" width-25em")},e.default.createElement(i.default,{label:a.display_name,onChange:function(e){var a=k();a[t]=e,s(a,!0)},options:a.display_values||a.values,selectedOption:r[t]||a.default_value}));if("bool"===a.type){var o=r[t];return void 0===o&&(o=a.default_value),e.default.createElement("div",{className:"align-left"+(f?" p-sm-top p-sm-bottom":"")},e.default.createElement("button",{type:"button",role:"checkbox","aria-checked":o,className:"button width-100 has-icon-left align-left wrap-normal with-padding-small",value:t,onClick:function(e){var t=k();t[e.currentTarget.value]=!o,s(t,!0)},"data-ga-action":p,"data-ga-label":m+": "+t},o?e.default.createElement(n.default,null):e.default.createElement(l.default,null),e.default.createElement("span",{className:"btn-text f-0875"},a.display_name)))}if("num"===a.type&&a.display_values){for(var c=[],d=0,v=a.min;v<=a.max;v++)c.push({name:a.display_values[d].value,display_name:a.display_values[d].name||v}),d++;return e.default.createElement("div",{className:"p-sm-top p-sm-bottom align-left"+(f?"":" width-25em")},e.default.createElement(i.default,{label:a.display_name,onChange:function(e){var a=k();a[t]=e,s(a,!0)},options:a.display_values,selectedOption:a.display_values[r[t]-1]||a.display_values[a.default_value-1]}))}if("num"===a.type){var y=r[t]||a.default_value;return e.default.createElement("div",{className:"p-sm-top p-sm-bottom"+(f?"":" width-25em")},e.default.createElement(u.default,{label:a.display_name,value:y,min:a.min,max:a.max,unit:a.unit,onChange:function(e){var a=k();a[t]=parseInt(e),s(a,!0)},trackAction:p,trackLabel:m}))}}),c?e.default.createElement("div",{className:"f-0875 p-md p-l-top"+(O?"":" f-white")},e.default.createElement("button",{className:"button with-padding b-radius with-border"+(O?" f-white":" bckg-gray"),onClick:function(e){var t;s((t=k(),y(b,function(e,a){"inputs"!==a&&"return"!==a&&delete t[a]}),t),!0)},disabled:O,"data-ga-action":p+"-reset-button","data-ga-label":m+" Reset Button"},e.default.createElement("span",{className:"btn-text"},"Reset Default Settings"))):null):null};w.propTypes={hashObject:t.default.object.isRequired,name:t.default.oneOf(["identity","similarity","substructure","superstructure","similarity_3d"]),setParams:t.default.func,showReset:t.default.bool,isCompact:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},w.defaultProps={name:"identity",showReset:!0,isCompact:!1,trackAction:"structure-search-settings-option",trackLabel:"Structure Search Settings Option"};var _=w;exports.default=_; },{"react":"SAdv","prop-types":"yu5W","../../../ini/ini":"wjNQ","../../../react-shared-components/ShowHideArrowCollapsible":"QRAT","../../../react-shared-components/icons/Checkbox":"oLqE","../../../react-shared-components/icons/CheckboxOutline":"Y5mx","../../../react-shared-components/RangeInput":"oF5r","../../../react-shared-components/CustomRadioGroup":"avz2","lodash.forown":"vzAy","lodash.clonedeep":"kEmP","scriptjs":"n1wP"}],"hlIr":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types")),a=r(require("../../../react-shared-components/icons/CheckboxOutline")),l=r(require("../../../react-shared-components/icons/Checkbox"));function r(e){return e&&e.__esModule?e:{default:e}}var n=function(t){var r=t.data,n=t.setParams,u=t.isFullSearch,c=t.isCompact,o=t.isLoaded,s=t.dataErrorMessage;return e.default.createElement(e.default.Fragment,null,(r&&r.percentcompletion<100||u)&&e.default.createElement("div",{className:"p-md-top p-sm-bottom"},e.default.createElement("div",{className:"p-md b-left b-thick"+(c?" f-0875":"")+(!o||s||r&&r.percentcompletion<100?" b-gold bckg-gold-lightest":" b-primary bckg-primary-alt-lightest")},e.default.createElement("span",null,"Percentage of the database searched: ",s?"unknown...":o&&r?function(e){var t=e;try{t=e>1?Math.round(e):e.toPrecision(1)}catch(a){}finally{return t}}(r.percentcompletion)+"%.":"calculating..."),o&&r&&r.percentcompletion<100&&u&&e.default.createElement("span",null," Full database search produces too many hits, please refine your query..."),e.default.createElement("div",{className:"p-md-left p-sm-top"},e.default.createElement("button",{className:"button has-icon-left lh-1",onClick:function(e){n({fullsearch:!u,page:1})},"data-ga-action":"full-structure-search-button","data-ga-label":"Full Structure Search Button"},u?e.default.createElement(l.default,null):e.default.createElement(a.default,null),e.default.createElement("span",{className:"btn-text p-sm-right"},"Search All"))))))};n.propTypes={data:t.default.object.isRequired,setParams:t.default.func.isRequired,isFullSearch:t.default.bool,isCompact:t.default.bool,isLoaded:t.default.bool,dataErrorMessage:t.default.string};var u=n;exports.default=u; },{"react":"SAdv","prop-types":"yu5W","../../../react-shared-components/icons/CheckboxOutline":"Y5mx","../../../react-shared-components/icons/Checkbox":"oLqE"}],"AbWK":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=f(require("react")),t=f(require("prop-types")),r=require("../../../utils/Font"),a=require("../../../utils-logging/Log"),s=f(require("../../../utils-logging/GoogleAnalytics")),n=f(require("../../../data-fetchers/structure-fetch")),o=f(require("../../../react-shared-components/loader-animations/Spinner")),u=f(require("../../../react-shared-components/ErrorMessage")),i=f(require("./StructureSearchOptions")),c=f(require("./CollectionSearchResult")),l=f(require("./StructureSearchUnfinishedMessage")),h=f(require("../../../react-shared-components/EmptyResultMessage"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function y(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=E();return function(){var r,a=j(e);if(t){var s=j(this).constructor;r=Reflect.construct(a,arguments,s)}else r=a.apply(this,arguments);return O(this,r)}}function O(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=require("lodash.isequal"),_=require("lodash.assign"),w=function(t){b(p,e.default.Component);var f=v(p);function p(e){var t;d(this,p),(t=f.call(this,e)).state=p.getInitialState(),t.currentFetchID=0;var r=null;try{r=Structure?Structure.config.search_types.formula:null}catch(a){}finally{t.options=r}return t}return y(p,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){q(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var r="React Error Boundary in FormulaSearchResult Component";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(e),(0,a.DEBUG_LOG)(t.componentStack),(0,a.DEBUG_LOG_END)(r),s.default.event({action:"react-error",label:r+": "+t.componentStack}),this.setState({hasError:!0,errMessage:r})}},{key:"doSearch",value:function(){var e=this,t=Date.now();this.currentFetchID=t,(0,n.default)(p.getInputBlob(this.state.hashObject)).then(function(r){t===e.currentFetchID&&(r.response&&0===r.response.status?(e.options=r.options,e.setState({data:r.response,isEmpty:!r.response.cachekey,errMessage:"",isLoaded:!0,hasError:!1})):r.response&&r.response.error?e.setState({isLoaded:!0,hasError:!0,errMessage:r.response.error}):e.setState({isLoaded:!0,hasError:!0,errMessage:"Unknown error has occurred while retrieving results..."}))}).catch(function(r){t===e.currentFetchID&&e.setState({hasError:!0,isLoaded:!0,errMessage:r.message})})}},{key:"render",value:function(){var t=this.props.width,a=40*r.FONT_SIZE;return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"main-width"},e.default.createElement("h3",{className:"f-normal f-15 "},"Molecular Formula Search"),e.default.createElement("div",{className:"p-sm"},e.default.createElement(i.default,{hashObject:this.props.hashObject,name:"formula",setParams:this.props.setParams,isCompact:this.props.width<=640,showReset:!1,trackAction:"formula-search-settings-option",trackLabel:"Formula Search Settings Option"})),e.default.createElement(l.default,{data:this.state.data,setParams:this.props.setParams,isFullSearch:this.state.hashObject.fullsearch,isCompact:t<=a,isLoaded:this.state.isLoaded})),this.state.isLoaded?e.default.createElement("div",{className:"main-width"},this.state.hasError?e.default.createElement(u.default,{message:this.state.errMessage,setMinHeight:!0}):this.state.isEmpty?e.default.createElement(h.default,null):e.default.createElement(c.default,{hashObject:_({},this.props.hashObject,{listID:this.state.data.cachekey,collection:"compound",id_type:"cid"}),qInterpretBlob:this.props.qInterpretBlob,incomplete:this.state.data.percentcompletion<100,setParams:this.props.setParams,width:this.props.width,resultsContainerRef:this.props.resultsContainerRef,actions:[{display_name:"Push Results to Entrez",action:"entrez_push"}]})):e.default.createElement(o.default,{className:"loader-background loader-background-search"}))}}],[{key:"getInitialState",value:function(){return{hashObject:{},isEmpty:!1,isLoaded:!1,hasError:!1,errMessage:""}}},{key:"getDerivedStateFromProps",value:function(e,t){var r=null;if(!q(t.hashObject,e.hashObject))if(t.hashObject.query!==e.hashObject.query)r=_({},p.getInitialState(),{hashObject:e.hashObject},{data:{}});else{var a=!1;try{if(Structure)Structure.query(p.getInputBlob(t.hashObject)).url_relative===Structure.query(p.getInputBlob(e.hashObject)).url_relative&&(a=!0)}catch(s){}r={hashObject:e.hashObject,isLoaded:a}}return r}},{key:"getInputBlob",value:function(e){return _({},{query:e.query,input_type:"formulaquery",search_type:"formula",time:5e3,nrecords:1e5,UseCache:!0},e,e.fullsearch?{time:"unlimited"}:{},e.fullsearch?{nrecords:"unlimited"}:{})}}]),p}();w.propTypes={width:t.default.number.isRequired,hashObject:t.default.object.isRequired,setParams:t.default.func.isRequired,resultsContainerRef:t.default.node};var R=w;exports.default=R; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Font":"i9OY","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../data-fetchers/structure-fetch":"BF7F","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/ErrorMessage":"VxRY","./StructureSearchOptions":"vA71","./CollectionSearchResult":"kn9X","./StructureSearchUnfinishedMessage":"hlIr","../../../react-shared-components/EmptyResultMessage":"mKZu","lodash.isequal":"Earo","lodash.assign":"PF6Q"}],"eMrI":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ShowHide=void 0;var t=n(require("react")),e=n(require("prop-types"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=f();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(e){i(o,t.default.Component);var n=u(o);function o(t){var e;return r(this,o),(e=n.call(this,t)).state={isOpen:!1},e.handleToggle=e.handleToggle.bind(c(e)),e}return s(o,[{key:"handleToggle",value:function(t){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){this.props.width;return t.default.createElement("div",{className:this.state.isOpen?this.props.openClassName:this.props.closedClassName},t.default.createElement("div",{className:"flex-container flex-nowrap width-100 align-vertical-center"},this.props.title?t.default.createElement("div",{className:"align-left flex-grow-1"},this.props.title):null,t.default.createElement("div",{className:this.props.title?"align-right p-sm-left ":""},t.default.createElement("div",{className:this.state.isOpen?this.props.buttonContainerOpenClassName:this.props.buttonContainerClassName},t.default.createElement("button",{className:this.state.isOpen?this.props.buttonOpenClassName:this.props.buttonClassName,onClick:this.handleToggle,"data-ga-action":this.props.trackAction+(this.state.isOpen?"-close":"-open"),"data-ga-label":this.props.trackLabel+(this.state.isOpen?" Close":" Open")},this.props.buttonIcon||null,t.default.createElement("span",{className:"btn-text capitalized p-xsm-right"+(this.props.width>this.props.bp?"":" sr-only")},this.props.buttonLabel))))),t.default.createElement("div",{className:this.props.boxClassName+(this.state.isOpen?"":" hidden")},this.props.children))}}]),o}();exports.ShowHide=h,h.propTypes={closedClassName:e.default.string,openClassName:e.default.string,children:e.default.element.isRequired,title:e.default.element,boxClassName:e.default.string,buttonLabel:e.default.string.isRequired,buttonClassName:e.default.string,buttonOpenClassName:e.default.string,buttonContainerClassName:e.default.string,buttonContainerOpenClassName:e.default.string,buttonIcon:e.default.element,width:e.default.number,bp:e.default.number,trackAction:e.default.string,trackLabel:e.default.string},h.defaultProps={boxClassName:"p-md",buttonClassName:"button with-padding with-border",buttonOpenClassName:"button with-padding with-border",buttonContainerClassName:"inline-block",closedClassName:"p-md-top p-md-bottom",openClassName:"p-md-top p-md-bottom",width:800,bp:640,trackAction:"show-hide",trackLabel:"Show/Hide"};var b=h;exports.default=b; },{"react":"SAdv","prop-types":"yu5W"}],"UBpk":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("react")),l=t(require("prop-types"));function t(e){return e&&e.__esModule?e:{default:e}}var c=function(l){var t=l.width,c=l.height,r=l.color,a=l.style;return e.default.createElement("svg",{className:"icon icon-settings",fill:r||"",viewBox:"0 0 24 24",width:t||"24",height:c||"24",style:a},e.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),e.default.createElement("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"}))},r=c;exports.default=r; },{"react":"SAdv","prop-types":"yu5W"}],"Lv0q":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=y(require("react")),t=y(require("prop-types")),a=require("../../../utils-logging/Log"),r=y(require("../../../utils-logging/GoogleAnalytics")),s=y(require("../../../utils/Url")),n=y(require("../../../utils/FormatCount")),i=y(require("../../../data-fetchers/structure-fetch")),o=y(require("../../../react-shared-components/loader-animations/Spinner")),c=y(require("../../../react-shared-components/Tabs")),u=y(require("./StructureSearchOptions")),l=y(require("./StructureSearchUnfinishedMessage")),d=y(require("../../../react-shared-components/ErrorMessage")),h=y(require("../../../react-shared-components/ShowHide")),p=y(require("./CollectionSearchResult")),f=require("../../../utils/Font"),b=y(require("../../../react-shared-components/icons/Settings")),m=y(require("../../../react-shared-components/icons/DatabaseSearch"));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,a){return t&&v(e.prototype,t),a&&v(e,a),e}function E(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=I();return function(){var a,r=L(e);if(t){var s=L(this).constructor;a=Reflect.construct(r,arguments,s)}else a=r.apply(this,arguments);return j(this,a)}}function j(e,t){if(t&&("object"===g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=require("lodash.isequal"),C=require("lodash.clonedeep"),D=require("lodash.findindex"),N=require("lodash.find"),F=function(t){E(g,e.default.Component);var y=q(g);function g(e){var t;return S(this,g),(t=y.call(this,e)).state=g.getInitialState(),t}return O(g,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e){k(this.state.hashObject,e.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0});var s="React Error Boundary in StructureSearchResult Component";(0,a.DEBUG_LOG_START)(s),(0,a.DEBUG_LOG)(e),(0,a.DEBUG_LOG)(t.componentStack),(0,a.DEBUG_LOG_END)(s),r.default.event({action:"react-error",label:s+": "+t.componentStack})}},{key:"doSearch",value:function(){for(var e=this,t=this.state.tabs,a=function(a){if(!t[a].isLoaded){var r=s.default.parseHash(e.state.tabsHistory[t[a].name].substr(1));delete r.query;var o=Object.assign({},{search_type:t[a].name,query:"structure_by_cid"===e.props.qInterpretBlob.type?e.props.qInterpretBlob.UID_VALUE:e.state.hashObject.query,input_type:"structure_by_cid"===e.props.qInterpretBlob.type?"cid":e.props.qInterpretBlob.type,UseCache:t[a].UseCache},t[a].time?{time:t[a].time}:{},t[a].nrecords?{nrecords:t[a].nrecords}:{},r);e.state.hashObject.fullsearch&&(o.time="unlimited",o.nrecords="unlimited");var c=Date.now();t[a].currentFetchID=c,(0,i.default)(o).then(function(r){if(r&&t[a].currentFetchID===c){var s=C(e.state);s.isLoaded=!0,s.tabs[a].isLoaded=!0,s.tabs[a].url=e.state.tabsHistory[s.tabs[a].name],0===r.response.status?(s.tabs[a].data=r.response,s.tabs[a].count=(s.tabs[a].data.percentcompletion<100?">":"")+(0,n.default)(s.tabs[a].data.hitcount),s.tabs[a].options=r.options):(s.tabs[a].hasError=!0,s.tabs[a].count=0,s.tabs[a].errMessage=r.response.error.join("\n")),e.setState(s)}}).catch(function(r){if(t[a].currentFetchID===c){var s=C(e.state);s.tabs[a].isLoaded=!0,s.tabs[a].hasError=!0,s.tabs[a].errMessage=r.message,e.setState(s)}})}},r=0;r<t.length;r++)a(r)}},{key:"render",value:function(){var t=this.props.width,a=50*f.FONT_SIZE,r=this.state.hashObject,s=this.state.tabs,n=this.state.activeTabIndex,i=[];try{i=s[n].options.sort.display_values}catch(y){}return e.default.createElement(e.default.Fragment,null,this.state.isLoaded?e.default.createElement(e.default.Fragment,null,this.state.hasError?e.default.createElement("div",{className:"main-width"},e.default.createElement(d.default,{message:"Something went wrong in Structure Search Results display...",setMinHeight:!0})):e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"main-width"},t<=a&&e.default.createElement("div",{className:"label p-sm-bottom"},"Choose Structure Search Type"),e.default.createElement(h.default,{openClassName:"p-0",closedClassName:"p-0"+(t>a?" b-bottom":""),title:e.default.createElement(c.default,{tabs:s,activeTabIndex:n,tabStyle:"underline",isDropdown:t<=a,icon:e.default.createElement(m.default,null),trackAction:"structure-search-tab",trackLabel:"Structure Search Tab"}),titleClassName:"f-normal f-125",buttonLabel:"Settings",buttonIcon:e.default.createElement(b.default,null),buttonClassName:"button b-radius bckg-primary "+(t>a?"with-padding-small has-icon-left":"square-icon p-less"),buttonOpenClassName:"button b-radius arrow-after bckg-primary "+(t>a?"with-padding-small has-icon-left":"square-icon p-less arrow-small"),buttonContainerClassName:"p-sm-left f-white",buttonContainerOpenClassName:"p-sm-left f-white",boxClassName:t>a?"p-0":"p-smm-top",width:t,bp:a,trackAction:"structure-search-settings-button",trackLabel:"Structure Search Settings Button"},e.default.createElement("div",{className:"relative b-radius bckg-gray-lightest p-md "+(t>a?"align-center":"align-left f-0875")},e.default.createElement(u.default,{hashObject:r,name:s[n].name,setParams:this.props.setParams,isCompact:this.props.width<=640,trackAction:"structure-search-settings-option",trackLabel:"Structure ("+s[n].name+") Search Settings Option"})))),e.default.createElement("div",{className:"main-width"},e.default.createElement("div",{className:"p-sm-top f-0875 f-mormal f-gray"},s[n].description),e.default.createElement(l.default,{data:s[n].data,setParams:this.props.setParams,isFullSearch:r.fullsearch,isCompact:t<=a,isLoaded:s[n].isLoaded})),this.state.tabs[n].isLoaded?this.state.tabs[n].hasError?e.default.createElement("div",{className:"main-width"},e.default.createElement(d.default,{message:s[n].errMessage,setMinHeight:!0})):e.default.createElement("div",{className:"main-width"},e.default.createElement(p.default,{knownTotalCount:s[n].data.hitcount,incomplete:s[n].data.percentcompletion<100,hashObject:Object.assign({},r,{listID:s[n].data.cachekey,collection:"compound",id_type:"cid"}),qInterpretBlob:this.props.qInterpretBlob,setParams:this.props.setParams,width:this.props.width,extra_sort:i,actions:[{display_name:"Push Results to Entrez",action:"entrez_push"}]})):e.default.createElement(o.default,{className:"loader-background loader-background-search"}))):e.default.createElement(o.default,{className:"loader-background loader-background-search"}))}}],[{key:"getInitialState",value:function(){var e=Structure&&Structure.config&&Structure.config.search_types;return{hashObject:{},hasError:!1,isLoaded:!1,isSettingsOpen:!1,explanation:"",tabs:[{name:"identity",display_name:"Identity",count:"...",description:"Find structures very closely related to the input, comparing chemical connectivity, and optionally stereoisomers and isotopes.",isLoaded:!1,UseCache:!0,hasError:!1,currentFetchID:0,options:e?Structure.config.search_types.identity:null},{name:"similarity",display_name:"Similarity",count:"...",description:"Fingerprint Tanimoto-based 2-dimensional similarity search.",isLoaded:!1,time:1e3,nrecords:1e3,hasError:!1,currentFetchID:0,options:e?Structure.config.search_types.similarity:null},{name:"substructure",display_name:"Substructure",count:"...",description:"Standard substructure search, finds structures in the database that contain the input structure as a part.",isLoaded:!1,time:1e3,nrecords:1e3,hasError:!1,currentFetchID:0,options:e?Structure.config.search_types.substructure:null},{name:"superstructure",display_name:"Superstructure",count:"...",description:"Standard superstructure search, finds structures in the database that are contained within (substructures of) the input structure.",isLoaded:!1,time:1e3,nrecords:1e3,hasError:!1,currentFetchID:0,options:e?Structure.config.search_types.superstructure:null},{name:"similarity_3d",display_name:"3D Similarity",count:"...",description:"Feature-based 3-dimensional similarity search. Only annotated compound set is searched by default, use the Settings menu to widen the search.",isLoaded:!1,time:2e3,nrecords:1e3,hasError:!1,options:e?Structure.config.search_types.similarity_3d:null}],tabsHistory:{},activeTabIndex:0}}},{key:"getDerivedStateFromProps",value:function(e,t){if(k(e.hashObject,t.hashObject))return null;var a=Object.assign({},e.hashObject.query!==t.hashObject.query?g.getInitialState(e.qInterpretBlob.type):C(t),{hashObject:e.hashObject}),r=!0;a.activeTabIndex=D(a.tabs,{name:e.hashObject.tab}),a.activeTabIndex<0&&(a.activeTabIndex=0,r=!1),e.hashObject.tab&&r?a.tabsHistory[e.hashObject.tab]=s.default.constructHash(e.hashObject):(a.tabsHistory[a.tabs[0].name]=s.default.constructHash(e.hashObject),a.tabs[0].isLoaded=!1,a.tabs[0].count="...");for(var n=0;n<a.tabs.length;n++)a.tabsHistory[a.tabs[n].name]?e.hashObject.tab&&r&&e.hashObject.tab===a.tabs[n].name&&(a.tabs[n].isLoaded=!1,a.tabs[n].count="..."):a.tabsHistory[a.tabs[n].name]=s.default.constructHash({query:e.hashObject.query,tab:a.tabs[n].name})+(e.hashObject.input_type?"&input_type="+e.hashObject.input_type:"");return a}}]),g}();F.propTypes={hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,setParams:t.default.func.isRequired,width:t.default.number.isRequired,resultsContainerRef:t.default.node};var T=F;exports.default=T; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../utils/Url":"qcwJ","../../../utils/FormatCount":"W5bu","../../../data-fetchers/structure-fetch":"BF7F","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/Tabs":"j6K6","./StructureSearchOptions":"vA71","./StructureSearchUnfinishedMessage":"hlIr","../../../react-shared-components/ErrorMessage":"VxRY","../../../react-shared-components/ShowHide":"eMrI","./CollectionSearchResult":"kn9X","../../../utils/Font":"i9OY","../../../react-shared-components/icons/Settings":"UBpk","../../../react-shared-components/icons/DatabaseSearch":"unOu","lodash.isequal":"Earo","lodash.clonedeep":"kEmP","lodash.findindex":"vX4j","lodash.find":"BaJQ"}],"JWGG":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=p(require("react")),t=p(require("prop-types")),r=require("../../../utils/Font"),a=require("../../../utils-logging/Log"),s=p(require("../../../utils-logging/GoogleAnalytics")),n=p(require("../../../data-fetchers/structure-fetch")),o=p(require("../../../react-shared-components/loader-animations/Spinner")),u=p(require("../../../react-shared-components/ErrorMessage")),i=p(require("./StructureSearchOptions")),c=p(require("./CollectionSearchResult")),l=p(require("./StructureSearchUnfinishedMessage")),h=p(require("../../../react-shared-components/EmptyResultMessage")),d=p(require("../../../react-shared-components/ShowHide")),f=p(require("../../../react-shared-components/icons/Settings"));function p(e){return e&&e.__esModule?e:{default:e}}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function g(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function S(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){var t=q();return function(){var r,a=w(e);if(t){var s=w(this).constructor;r=Reflect.construct(a,arguments,s)}else r=a.apply(this,arguments);return E(this,r)}}function E(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return j(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=require("lodash.isequal"),k=require("lodash.assign"),R=function(t){S(m,e.default.Component);var p=O(m);function m(e){var t;b(this,m),(t=p.call(this,e)).state=m.getInitialState(),t.currentFetchID=0;var r=null;try{r=Structure?Structure.config.search_types.substructure:null}catch(a){}finally{t.options=r}return t}return g(m,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){_(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var r="React Error Boundary in StructureSMARTSSearchResult Component";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(e),(0,a.DEBUG_LOG)(t.componentStack),(0,a.DEBUG_LOG_END)(r),s.default.event({action:"react-error",label:r+": "+t.componentStack}),this.setState({hasError:!0,errMessage:r})}},{key:"doSearch",value:function(){var e=this,t=Date.now();this.currentFetchID=t,(0,n.default)(m.getInputBlob(this.state.hashObject)).then(function(r){t===e.currentFetchID&&(r.response&&0===r.response.status?(e.options=r.options,e.setState({data:r.response,isEmpty:!r.response.cachekey,errMessage:"",isLoaded:!0,hasError:!1})):r.response&&r.response.error?e.setState({isLoaded:!0,hasError:!0,errMessage:r.response.error}):e.setState({isLoaded:!0,hasError:!0,errMessage:"Unknown error has occurred while retrieving results..."}))}).catch(function(r){t===e.currentFetchID&&e.setState({isLoaded:!0,hasError:!0,errMessage:r.message})})}},{key:"render",value:function(){var t=this.props.width,a=40*r.FONT_SIZE;return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"main-width"},e.default.createElement(d.default,{openClassName:"p-0",closedClassName:"p-0",title:e.default.createElement("h3",{className:"f-normal f-15"},"Substructure Search"),buttonLabel:"Settings",buttonIcon:e.default.createElement(f.default,null),buttonClassName:"button b-radius "+(t>a?"with-padding-small has-icon-left":"square-icon"),buttonOpenClassName:"button b-radius bckg-gray-lightest arrow-after arrow-small "+(t>a?"with-padding-small has-icon-left":"square-icon"),buttonContainerClassName:"",buttonContainerOpenClassName:"",boxClassName:"p-smm-top p-smm-bottom",width:t,bp:a,trackAction:"smarts-substructure-search-settings-button",trackLabel:"SMARTS Substructure Search Settings Button"},e.default.createElement("div",{className:"relative b-radius bckg-gray-lightest p-md "+(t>a?"align-center":"align-left f-0875")},e.default.createElement(i.default,{hashObject:this.props.hashObject,name:"substructure",setParams:this.props.setParams,isCompact:this.props.width<=640,showReset:!1,trackAction:"smarts-substructure-search-settings-option",trackLabel:"SMARTS Substructure Search Settings Option"}))),e.default.createElement("div",{className:"p-sm-top p-xsm-left f-0875 f-gray "},"Standard substructure search, finds structures in the database that contain the input structure as a part."),e.default.createElement(l.default,{data:this.state.data,setParams:this.props.setParams,isFullSearch:this.state.hashObject.fullsearch,isCompact:t<=a,isLoaded:this.state.isLoaded})),this.state.isLoaded?e.default.createElement("div",{className:"main-width"},this.state.hasError?e.default.createElement(u.default,{message:this.state.errMessage,setMinHeight:!0}):this.state.isEmpty?e.default.createElement(h.default,null):e.default.createElement(c.default,{hashObject:k({},this.props.hashObject,{listID:this.state.data.cachekey,collection:"compound",id_type:"cid"}),qInterpretBlob:this.props.qInterpretBlob,incomplete:this.state.data.percentcompletion<100,setParams:this.props.setParams,width:this.props.width,resultsContainerRef:this.props.resultsContainerRef,actions:[{display_name:"Push Results to Entrez",action:"entrez_push"}]})):e.default.createElement(o.default,{className:"loader-background loader-background-search"}))}}],[{key:"getInitialState",value:function(){return{hashObject:{},isEmpty:!1,isLoaded:!1,hasError:!1,errMessage:""}}},{key:"getDerivedStateFromProps",value:function(e,t){var r=null;if(!_(t.hashObject,e.hashObject))if(t.hashObject.query!==e.hashObject.query)r=k({},m.getInitialState(),{hashObject:e.hashObject},{data:{}});else{var a=!1;try{if(Structure)Structure.query(m.getInputBlob(t.hashObject)).url_relative===Structure.query(m.getInputBlob(e.hashObject)).url_relative&&(a=!0)}catch(s){}r={hashObject:e.hashObject,isLoaded:a}}return r}},{key:"getInputBlob",value:function(e){return k({},{query:e.query,input_type:"smarts",search_type:"substructure",time:5e3,nrecords:1e3,UseCache:!0},e,e.fullsearch?{time:"unlimited"}:{},e.fullsearch?{nrecords:"unlimited"}:{})}}]),m}();R.propTypes={width:t.default.number.isRequired,hashObject:t.default.object.isRequired,setParams:t.default.func.isRequired,resultsContainerRef:t.default.node};var C=R;exports.default=C; },{"react":"SAdv","prop-types":"yu5W","../../../utils/Font":"i9OY","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../data-fetchers/structure-fetch":"BF7F","../../../react-shared-components/loader-animations/Spinner":"Z4op","../../../react-shared-components/ErrorMessage":"VxRY","./StructureSearchOptions":"vA71","./CollectionSearchResult":"kn9X","./StructureSearchUnfinishedMessage":"hlIr","../../../react-shared-components/EmptyResultMessage":"mKZu","../../../react-shared-components/ShowHide":"eMrI","../../../react-shared-components/icons/Settings":"UBpk","lodash.isequal":"Earo","lodash.assign":"PF6Q"}],"A2mk":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={remove:function(e){var t;if(e.match(/^'.+'$/)||e.match(/^".+"$/))t='"'+e.replace(/[&;]/g," ").replace(/^['"]/,"").replace(/['"]$/,"").replace(/,+$/,"").replace(/\s*[?!.;]\s*/g," ").trim()+'"';else{for(var r=e.replace(/[&;]/g," ").replace(/['"]/g,"").split(/\s+/),o=[],h=0;h<r.length;h++)this.arr.indexOf(r[h].toLowerCase())<0&&o.push(r[h].trim());t=o.join(" ").trim()}return t},arr:["about","above","across","after","afterwards","again","against","all","almost","alone","along","already","also","although","always","am","among","amongst","amoungst","amount","an","and","another","any","anyhow","anyone","anything","anyway","anywhere","are","around","as","at","back","be","became","because","become","becomes","becoming","been","before","beforehand","behind","being","below","beside","besides","between","beyond","bill","both","bottom","but","by","call","can","cannot","cant","co","con","could","couldnt","cry","de","describe","detail","do","done","down","due","during","each","eg","eight","either","eleven","else","elsewhere","empty","enough","etc","even","ever","every","everyone","everything","everywhere","except","few","fifteen","fify","fill","find","fire","first","five","for","former","formerly","forty","found","four","from","front","full","further","give","go","had","has","hasnt","have","he","hence","her","here","hereafter","hereby","herein","hereupon","hers","herself","him","himself","his","how","however","hundred","ie","if","in","inc","indeed","interest","into","is","it","its","itself","keep","last","latter","latterly","least","less","ltd","made","many","may","me","meanwhile","might","mill","mine","more","moreover","most","mostly","move","much","must","my","myself","name","namely","neither","never","nevertheless","next","nine","no","nobody","none","noone","nor","nothing","now","nowhere","off","often","on","once","only","onto","other","others","otherwise","our","ours","ourselves","out","over","own","part","per","perhaps","please","put","rather","re","same","see","seem","seemed","seeming","seems","serious","several","she","should","show","side","since","sincere","six","sixty","so","some","somehow","someone","something","sometime","sometimes","somewhere","still","such","system","take","ten","than","that","the","their","them","themselves","then","thence","there","thereafter","thereby","therefore","therein","thereupon","these","they","thick","thin","third","this","those","though","three","through","throughout","thru","thus","to","together","too","top","toward","towards","twelve","twenty","two","un","under","until","up","upon","us","very","via","was","we","well","were","what","whatever","when","whence","whenever","where","whereafter","whereas","whereby","wherein","whereupon","wherever","whether","which","while","whither","who","whoever","whole","whom","whose","why","will","with","within","without","would","yet","you","your","yours","yourself","yourselves","the"]},t=e;exports.default=t; },{}],"m5jL":[function(require,module,exports) { "use strict";function a(a){var e="",i=String(a).trim();return i?i.match(/^cid[^a-z]*$|^compound[^a-z]*$/i)?e="cid":i.match(/^aid[^a-z]*$|^assay[^a-z]*$|^bioassay[^a-z]*$/i)?e="aid":i.match(/^sid[^a-z]*$|^substance[^a-z]*$/i)?e="sid":i.match(/^gene\s*id[^a-z]*$|^gene[^a-z]*$/i)&&(e="geneid"):e="",e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a; },{}],"hjkG":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=require("../../../utils-logging/Log"),r=c(require("./STOPWORDS")),t=require("../../../ini/ini"),i=c(require("../../../utils/uid-type-resolve")),a=c(require("../../../data-fetchers/structure-fetch")),u=c(require("../../../data-fetchers/lookup-CID-by-name-fetch")),s=require("./query-examples");function c(e){return e&&e.__esModule?e:{default:e}}var y=require("scriptjs");function n(c){var n=c.query,l=String(c.input_type).toLowerCase();return new Promise(function(e,r){y("/pcfe/structure-api/structure-api.min.js","structure"),y.ready("structure",function(){window.Structure?e(window.Structure):r("structure-api failed to load")})}).catch(function(){throw new Error("Error loading structure-api...")}).then(function(){var y=["text","number","list","structure_by_cid","cid","inchi","inchikey","smiles","smarts"],o={query:n,typeArr:[]};c.alias&&(o.alias=c.alias);try{var p="Interpret Query";(0,e.DEBUG_LOG_START)(p),(0,e.DEBUG_LOG)("Original query is ..."+n+"...");var _=n.trim(),h=new RegExp(/^[0-9]+[,\s]*$/),d=new RegExp(/^[0-9]+\.[0-9]+$/),f=new RegExp(/^[0-9][0-9\s,]+$/),m=new RegExp(/\s*(\d+)$/),E=new RegExp(/(\d{2,7}-\d{2}-\d)$/),g=new RegExp(/^inchikey=\S+$/i),G=function(){var t=r.default.remove(o.array_query||_);if(_!==t&&(t?(0,e.DEBUG_LOG)("After removing stop-words query is ..."+t+"..."):(t=_,(0,e.DEBUG_LOG)("The query is a stop-word, so we will keep it ..."+t+"..."))),o.clean_query||(o.clean_query=t.trim()),o.hasQuotes=n.match(/^['"].+['"]$/),o.wordArr=o.hasQuotes?[o.clean_query]:o.clean_query.split(/\s+/),o.nWords=o.wordArr.length,o.nWords>1&&_.match(/\s+/)&&("smiles"!==o.type&&"smarts"!==o.type||(o.type="text")),"formulaquery"===o.type)for(var i=0;i<o.validityArr.length;i++)if("Formula"===o.validityArr[i].type&&!o.validityArr[i].valid){o.type="text",o.suggestion="(While this appears to be a molecular formula, it is not of the type supported in our molecular formula search system.)";break}return o.type&&"formulaquery_case"!==o.type&&"validity_check_failed"!==o.type||("formulaquery_case"===o.type?o.suggestion="Did you mean to search for molecular formula? Note that formula input is case sensitive, expecting properly capitalized element names.":"validity_check_failed"===o.type&&(o.errMessage?o.suggestion=o.errMessage:o.suggestion="(This does not appear to be a valid FORMULA SMILES or SMARTS...)"),o.type=t.match(/[a-z0-9]+/i)||t.length>1?"text":"unresolved"),(0,e.DEBUG_LOG)("Query type is ..."+o.type+"..."),"uid"===o.type&&((0,e.DEBUG_LOG)("UID_TYPE="+o.UID_TYPE),(0,e.DEBUG_LOG)("UID_VALUE="+o.UID_VALUE),(0,e.DEBUG_LOG)()),(0,e.DEBUG_LOG)(o),void 0!==l&&y.indexOf(l)>-1&&(o.original_type=o.type||null,o.type=l,(0,e.DEBUG_LOG)("Query type overridden by user input is ..."+o.type+"...")),(0,e.DEBUG_LOG_END)(p),new Promise(function(e,r){e(o)})};if(_)if(s.EXAMPLES[_]&&"text"===s.EXAMPLES[_].type)o.type=s.EXAMPLES[_].type;else if(_.match(h))o.type="number";else if(_.match(g))o.type="inchikey",o.clean_query=_.replace(/inchikey=/,"");else if(_.match(f))o.type="id_list";else if("list"===l)o.type="list";else if(_.match(d))o.type="text";else if(_.length<15&&_.match(/^[a-z0-9]+$/i)||!_.match(/[a-z0-9]/i))o.typeArr.push("text");else try{o.qArr=JSON.parse(_),Array.isArray(o.qArr)&&(o.type="array",o.array_query=o.qArr[0].query,o.alias=o.qArr[0].alias||o.qArr[0].query)}catch(I){}else o.type="empty";if(!o.type&&_.match(/structure/i)){(0,e.DEBUG_LOG)("Detected word ...structure... in the query");try{var D=_.replace(/structure/gi,"").replace(/search/gi,""),U=r.default.remove(D);if((0,e.DEBUG_LOG)("After removing all the stopwords the clean query is ..."+U+"..."),U){var v=m.exec(U),L=(0,i.default)(U);if(!v||"cid"!==L)return(0,u.default)(U).then(function(r){var t;(0,e.DEBUG_LOG)("Checking if there is a CID associated with this query...");try{(t=r.IdentifierList.CID[0])&&(o.type="structure_by_cid",o.UID_TYPE="cid",o.UID_VALUE=t,(0,e.DEBUG_LOG)("Found CID ..."+o.UID_VALUE+"..."))}catch(I){(0,e.DEBUG_LOG)("Caught exception while reading return from pug_rest: "+I.message)}finally{return G()}}).catch(function(e){return G()});o.type="structure_by_cid",o.UID_TYPE=L,o.UID_VALUE=v[1],(0,e.DEBUG_LOG)("Found CID ..."+o.UID_VALUE+"...")}}catch(I){(0,e.DEBUG_LOG)("Caught exception while trying to figure out CID from this query: "+I.message)}}if(!o.type&&_.match(m)&&!_.match(E)){(0,e.DEBUG_LOG)("Checking if this might be a UID...");try{var A=m.exec(_),q=(0,i.default)(_);q&&(o.type="uid",o.UID_TYPE=q,o.UID_VALUE=A[1],o.redirect_url=t.SUMMARY_URL[o.UID_TYPE]+o.UID_VALUE)}catch(I){var O="Error in query_interpret function while trying to match to uidRegex";(0,e.DEBUG_LOG_START)(O),(0,e.DEBUG_LOG)(I.message),(0,e.DEBUG_LOG_END)(O)}}if(!o.type&&_.match(E)){(0,e.DEBUG_LOG)("Checking if this might be a CAS with some extra words...");try{var w=E.exec(_);(0,i.default)(_)&&(o.type="text",o.clean_query=w[1])}catch(I){var B="Error in query_interpret function while trying to match to casRegex";(0,e.DEBUG_LOG_START)(B),(0,e.DEBUG_LOG)(I.message),(0,e.DEBUG_LOG_END)(B)}}return o.type||_.match(/\s/)?G():((0,e.DEBUG_LOG)("Checking if this might be a chemical structure or formula..."),o.type=Structure.checkinput(_),o.type.match(/formula|inchi/i)||(o.type=void 0),(0,a.default)({query:n,search_type:"validity",input_type:"query"}).then(function(e){if(0!==e.response.status){o.type=o.type||"validity_check_failed";try{o.errMessage=e.response.error.join("; ")}catch(I){}}else if(e.response.validity){o.validityArr=e.response.validity;for(var r=0;r<o.validityArr.length;r++)o.validityArr[r].valid&&(o.typeArr.push(o.validityArr[r].type.toLowerCase().replace(/formula/,"formulaquery")),"Cache"===o.validityArr[r].type&&(o.cache_id_type=o.validityArr[r].cache_id_type,o.cache_size=o.validityArr[r].cache_size));!o.type&&o.typeArr.length>0&&"formulaquery"!==o.typeArr[0]&&(o.type=o.typeArr[0])}return G()}).catch(function(e){return o.type=o.type||"validity_check_failed",o.errMessage=e.message,G()}))}catch(I){o.type="unresolved";var x="Error in query_interpret function";(0,e.DEBUG_LOG_START)(x),(0,e.DEBUG_LOG)(I.message),(0,e.DEBUG_LOG_END)(x)}})} },{"../../../utils-logging/Log":"LH3n","./STOPWORDS":"A2mk","../../../ini/ini":"wjNQ","../../../utils/uid-type-resolve":"m5jL","../../../data-fetchers/structure-fetch":"BF7F","../../../data-fetchers/lookup-CID-by-name-fetch":"Lg9R","./query-examples":"vO10","scriptjs":"n1wP"}],"rvRN":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-arrow-downward",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),e.default.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Q6sL":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=c(require("react")),t=c(require("prop-types")),r=require("../../../utils-logging/Log"),n=c(require("../../../utils-logging/GoogleAnalytics")),a=c(require("../../../utils/Url")),s=c(require("../../../utils/FormatCount")),o=c(require("../../../react-shared-components/icons/ArrowDownward")),i=c(require("./CollectionSearchResult")),u=c(require("../../../react-shared-components/ErrorMessage")),l=c(require("../../../data-fetchers/sdq-fetch"));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=q();return function(){var r,n=_(e);if(t){var a=_(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=require("lodash.isequal"),E=require("lodash.assign"),S=function(t){y(f,e.default.Component);var c=b(f);function f(e){var t;return h(this,f),(t=c.call(this,e)).state=f.getInitialState(),t.currentFetchID=0,t}return d(f,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){O(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var a="React Error Boundary in SearchHistoryItem Component";(0,r.DEBUG_LOG_START)(a),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(a),this.setState({hasError:!0,errMessage:a+": "+e}),n.default.event({action:"react-error",label:a+": "+t.componentStack})}},{key:"doSearch",value:function(){var e=this,t=this.state.qArr[this.props.level],a=(0,l.default)(E({},t,{query:t.listID||t.query||this.props.prevList},{view:"minimal",id_type:t.selected_id_type||t.id_type,get_list_id:!t.listID,skip_result_return:!0},t.listID?{query_type:"list"}:{})),s=Date.now();this.currentFetchID=s,a.then(function(r){if(s===e.currentFetchID){var n=r.SDQOutputSet[0],a={totalCount:n.totalCount,listID:t.listID||n.netcachekey};e.setState({isLoaded:!0,isUpdating:!1,results:a,errMessage:""})}}).catch(function(t){var a="sdq_fetch error in SearchHistoryItem Component";(0,r.DEBUG_LOG_START)(a),(0,r.DEBUG_LOG)(t.message),(0,r.DEBUG_LOG_END)(a),n.default.event({action:"SearchHistoryItem-error",label:a+": "+t.message}),s===e.currentFetchID&&e.setState({hasError:!0,errMessage:t.message||a})})}},{key:"render",value:function(){if(this.state.hasError)return e.default.createElement(u.default,{message:this.state.errMessage});if(this.state.isLoaded){var t=this.state.qArr,r=this.props.level,n=this.state.hashObject,l="";try{if(r){var c={query:JSON.stringify(t.slice(0,r)),collection:t[r].collection};l=a.default.constructHash(c)}else l=a.default.constructHash(t[0])}catch(h){}return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"f-medium"},e.default.createElement("a",{href:l,"data-ga-action":"search-history-link","data-ga-label":"Search History Link: "+Sphinx.config[t[r].collection].display_name},e.default.createElement("span",null,Sphinx.config[t[r].collection].display_name," (",(0,s.default)(this.state.results.totalCount),")"))),e.default.createElement("div",{className:"p-sm f-gray"},e.default.createElement(o.default,null)," ",e.default.createElement("span",{className:"uppercase f-gray"},t[r].id_type," ")," List"),r<t.length-1?e.default.createElement(f,{hashObject:n,prevList:this.state.results.listID,qInterpretBlob:this.props.qInterpretBlob,level:r+1,width:this.props.width,setParams:this.props.setParams}):e.default.createElement("div",null,e.default.createElement(i.default,{qArr:this.state.qArr,hashObject:E({},n,{query:this.state.results.listID,query_type:"list"}),qInterpretBlob:this.props.qInterpretBlob,width:this.props.width,setParams:this.props.setParams,showTitle:!0})))}return e.default.createElement("div",{className:""},"Loading...")}}],[{key:"getInitialState",value:function(){return{hashObject:{},qArr:[],results:{},isLoaded:!1,hasError:!1,errMessage:""}}},{key:"getDerivedStateFromProps",value:function(e,t){return O(t.hashObject,e.hashObject)?null:E({},f.getInitialState(),{hashObject:e.hashObject,qArr:JSON.parse(e.hashObject.query)||[]})}}]),f}();S.propTypes={width:t.default.number.isRequired,hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,level:t.default.number,setParams:t.default.func.isRequired,qArr:t.default.array,prevList:t.default.string},S.defaultProps={level:0,prevList:null,qArr:[]};var D=S;exports.default=D; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","../../../utils/Url":"qcwJ","../../../utils/FormatCount":"W5bu","../../../react-shared-components/icons/ArrowDownward":"rvRN","./CollectionSearchResult":"kn9X","../../../react-shared-components/ErrorMessage":"VxRY","../../../data-fetchers/sdq-fetch":"X5vv","lodash.isequal":"Earo","lodash.assign":"PF6Q"}],"BfNI":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=u(require("prop-types")),r=require("../../../utils-logging/Log"),n=u(require("../../../utils-logging/GoogleAnalytics")),o=u(require("./SearchHistoryItem")),a=u(require("../../../react-shared-components/ErrorMessage"));function u(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=b();return function(){var r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=require("lodash.isequal"),O=require("lodash.assign"),g=function(t){f(i,e.default.Component);var u=h(i);function i(e){var t;return s(this,i),(t=u.call(this,e)).state=i.getInitialState(),t}return l(i,[{key:"componentDidMount",value:function(){this.doSearch()}},{key:"componentDidUpdate",value:function(e,t){v(t.hashObject,this.state.hashObject)||this.doSearch()}},{key:"componentDidCatch",value:function(e,t){var o="React Error Boundary in QueryArraySearchResult Component";(0,r.DEBUG_LOG_START)(o),(0,r.DEBUG_LOG)(e),(0,r.DEBUG_LOG)(t.componentStack),(0,r.DEBUG_LOG_END)(o),this.setState({hasError:!0,errMessage:o}),n.default.event({action:"react-error",label:o+": "+t.componentStack})}},{key:"doSearch",value:function(){}},{key:"render",value:function(){return this.state.hasError?e.default.createElement("div",{className:"main-width"},e.default.createElement(a.default,{message:this.state.errMessage})):e.default.createElement("div",{className:"main-width"},e.default.createElement(o.default,{hashObject:this.state.hashObject,qInterpretBlob:this.props.qInterpretBlob,level:0,width:this.props.width,setParams:this.props.setParams,resultsContainerRef:this.props.resultsContainerRef}))}}],[{key:"getInitialState",value:function(){return{hashObject:{},hasError:!1,errMessage:""}}},{key:"getDerivedStateFromProps",value:function(e,t){return v(t.hashObject,e.hashObject)?null:O({},i.getInitialState(),{hashObject:e.hashObject})}}]),i}();g.propTypes={hashObject:t.default.object.isRequired,qInterpretBlob:t.default.object.isRequired,width:t.default.number.isRequired,setParams:t.default.func.isRequired,resultsContainerRef:t.default.node},g.defaultProps={};var j=g;exports.default=j; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../utils-logging/GoogleAnalytics":"z7bP","./SearchHistoryItem":"Q6sL","../../../react-shared-components/ErrorMessage":"VxRY","lodash.isequal":"Earo","lodash.assign":"PF6Q"}],"NSfm":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,o=t.style;return e.default.createElement("svg",{className:"icon icon-folder-star",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:o},e.default.createElement("path",{d:"M20,6H12L10,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8A2,2 0 0,0 20,6M17.94,17L15,15.28L12.06,17L12.84,13.67L10.25,11.43L13.66,11.14L15,8L16.34,11.14L19.75,11.43L17.16,13.67L17.94,17Z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"wxIw":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(t){var r=t.width,l=t.height,a=t.color,i=t.style;return e.default.createElement("svg",{className:"icon icon-eye",fill:a||"",viewBox:"0 0 24 24",width:r||"24",height:l||"24",style:i},e.default.createElement("path",{d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"}))},a=l;exports.default=a; },{"react":"SAdv","prop-types":"yu5W"}],"Lzhu":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=r(require("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(t){var r=t.width,a=t.height,l=t.color,u=t.style;return e.default.createElement("svg",{className:"icon icon-update",fill:l||"",viewBox:"0 0 24 24",width:r||"24",height:a||"24",style:u},e.default.createElement("path",{d:"M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z"}))},l=a;exports.default=l; },{"react":"SAdv","prop-types":"yu5W"}],"sm4V":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.InlineEdit=void 0;var e=a(require("react")),t=require("prop-types"),n=a(require("./icons/Edit"));function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=d();return function(){var n,a=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(t){u(r,e.default.PureComponent);var a=c(r);function r(e){var t;return o(this,r),(t=a.call(this,e)).state={value:e.value,edit:!1},t.toggleMode=t.toggleMode.bind(p(t)),t.onCancel=t.onCancel.bind(p(t)),t.onSave=t.onSave.bind(p(t)),t.onChange=t.onChange.bind(p(t)),t}return i(r,[{key:"componentDidUpdate",value:function(e,t){this.props.value!==e.value&&this.setState({value:this.props.value})}},{key:"toggleMode",value:function(e){this.setState({edit:e})}},{key:"onSave",value:function(e){var t=this;e.currentTarget.getAttribute("data-key");this.setState({edit:!1},function(){return t.props.onSave(t.state.value,t.props.value)})}},{key:"onCancel",value:function(e){this.setState({edit:!1,value:this.props.value})}},{key:"onChange",value:function(e){this.setState({value:e.target.value})}},{key:"render",value:function(){var t=this;return e.default.createElement("div",{className:"relative"},e.default.createElement("span",{className:"cursor-pointer inline "+(this.props.tagClassName||""),title:"Click to edit",onClick:function(){return t.toggleMode(!0)}},this.state.value,e.default.createElement("span",{className:"f-gray-lighter p-xsm-left"},e.default.createElement(n.default,{width:"1em",height:"1em"}))),this.state.edit&&e.default.createElement("div",{className:"absolute z-index-100 min-width-12em left-0 top-0 box-shadow bckg-gray-lightest b-radius p-sm"},e.default.createElement("form",{onSubmit:this.onSave,onReset:this.onCancel},e.default.createElement("div",null,this.props.editLabel&&e.default.createElement("label",{className:"p-xsm-bottom"},this.props.editLabel),e.default.createElement("input",{type:"text",className:"width-100 p-xsm",value:this.state.value,onChange:this.onChange,autoFocus:!0})),e.default.createElement("div",{className:"table-grid full-width fixed-layout"},e.default.createElement("div",{className:"f-white p-xsm-top p-sm-right"},e.default.createElement("button",{className:"button width-100 with-padding-small bckg-primary",onClick:this.onSave,type:"submit"},this.props.saveLabel)),e.default.createElement("div",{className:"f-white p-xsm-top"},e.default.createElement("button",{className:"button width-100 with-padding-small bckg-gray",onClick:this.onCancel,type:"reset"},this.props.cancelLabel))))))}}]),r}();exports.InlineEdit=m,m.propTypes={value:(0,t.oneOfType)([t.string,t.number]),tagClassName:t.string,onSave:t.func,editLabel:t.string,saveLabel:t.string,cancelLabel:t.string},m.defaultProps={value:"",tagClassName:"",onSave:null,editLabel:"",saveLabel:"Save",cancelLabel:"Cancel"};var h=m;exports.default=h; },{"react":"SAdv","prop-types":"yu5W","./icons/Edit":"SQqz"}],"f9U0":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=E(require("react")),t=E(require("prop-types")),a=require("../../../utils-logging/Log"),l=require("../../../ini/ini"),n=E(require("../../../utils/PostData")),s=E(require("../../../utils/PCFEStorage")),r=E(require("../../../utils/FormatCount")),i=E(require("../../../react-shared-components/Modal")),o=E(require("../../../react-shared-components/icons/FolderStar")),c=E(require("../../../react-shared-components/icons/Eye")),u=E(require("../../../react-shared-components/icons/Update")),d=E(require("../../../react-shared-components/icons/TrashCan")),m=E(require("../../../react-shared-components/icons/Star")),f=E(require("../../../react-shared-components/icons/Clear")),p=E(require("../../../react-shared-components/CustomSelect")),h=E(require("../../../react-shared-components/InlineEdit")),g=E(require("../helpers/search-save"));function E(e){return e&&e.__esModule?e:{default:e}}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function S(e,t,a){return t&&y(e.prototype,t),a&&y(e,a),e}function N(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){var t=k();return function(){var a,l=w(e);if(t){var n=w(this).constructor;a=Reflect.construct(l,arguments,n)}else a=l.apply(this,arguments);return C(this,a)}}function C(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return L(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=require("lodash.clonedeep"),A=function(t){N(v,e.default.Component);var E=O(v);function v(e){var t;return b(this,v),(t=E.call(this,e)).state=Object.assign(v.getInitialState()),t.handleDeleteQuery=t.handleDeleteQuery.bind(L(t)),t.handleRenameQuery=t.handleRenameQuery.bind(L(t)),t.handleSelect_Q1=t.handleSelect_Q1.bind(L(t)),t.handleSelect_Q2=t.handleSelect_Q2.bind(L(t)),t.handleSelect_OP=t.handleSelect_OP.bind(L(t)),t.handleListLogic=t.handleListLogic.bind(L(t)),t.handleResetListLogic=t.handleResetListLogic.bind(L(t)),t.handleDeleteAll=t.handleDeleteAll.bind(L(t)),t.updateLastChanged=t.updateLastChanged.bind(L(t)),t}return S(v,[{key:"componentDidMount",value:function(){var e=this;window.addEventListener("save",function(t){e.updateLastChanged()})}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen!==e.isOpen&&this.setState({isOpen:this.props.isOpen})}},{key:"handleSelect_Q1",value:function(e){this.setState({selected1:e})}},{key:"handleSelect_Q2",value:function(e){this.setState({selected2:e})}},{key:"handleSelect_OP",value:function(e){this.setState({operation:e})}},{key:"handleListLogic",value:function(){var e=this,t=v.getSavedOnPCFE(),l={Query:{Action:[{List:{CacheKey:t[this.state.selected1].listID}},{List:{CacheKey:t[this.state.selected2].listID}},{Operation:this.state.operation}],Return:"CacheKey"}};(0,n.default)("/list_gateway/list_refinement.cgi?format=json","query="+JSON.stringify(l)).then(function(l){try{var n=l.Response.List.CacheKey,s=l.Response.ListSize,r=e.state.selected1+" "+e.state.operation+" "+e.state.selected2;if(n){var i={timestamp:Date.now(),listID:n,id_type:t[e.state.selected1].id_type,listSize:s,name:r};(0,g.default)(i,r)}e.setState(Object.assign(v.getInitialState(),{timestamp:Date.now(),isOpen:!0,hasError:!1}))}catch(c){var o="Exception caught in post_data to /list_gateway/list_refinement.cgi";(0,a.DEBUG_LOG_START)(o),(0,a.DEBUG_LOG)(c.message),(0,a.DEBUG_LOG_END)(o)}}).catch(function(e){var t="Exception caught in post_data to /list_gateway/list_refinement.cgi";(0,a.DEBUG_LOG_START)(t),(0,a.DEBUG_LOG)(e.message),(0,a.DEBUG_LOG_END)(t)})}},{key:"handleResetListLogic",value:function(e){this.setState({selected1:null,selected2:null,operation:"AND"})}},{key:"handleRenameQuery",value:function(e,t){if(e!==t){var a=v.getSavedOnPCFE(),l=D(a[t]);delete a[t],a[e]=l,v.setSavedOnPCFE(a),this.updateLastChanged()}}},{key:"handleDeleteQuery",value:function(e){var t=e.currentTarget.getAttribute("data-alias"),a=v.getSavedOnPCFE();delete a[t],v.setSavedOnPCFE(a),this.updateLastChanged()}},{key:"handleDeleteAll",value:function(e){v.deleteSavedOnPCFE(),this.updateLastChanged()}},{key:"updateLastChanged",value:function(){this.setState({lastChanged:Date.now()})}},{key:"render",value:function(){var t=this,a=this.props.width,l=this.props.bp,n=this.props.bp2,s=v.getSavedSearches(),g=Object.keys(s).sort(function(e,t){return s[t].timestamp-s[e].timestamp}),E=g.filter(function(e){return e!==t.state.selected2&&(!t.state.selected2||s[e].id_type===s[t.state.selected2].id_type)}),b=g.filter(function(e){return e!==t.state.selected1&&(!t.state.selected1||s[e].id_type===s[t.state.selected1].id_type)});return e.default.createElement("div",{className:this.props.buttonContainerClassName+(g.length>0?"":" visibility-hidden")},e.default.createElement(i.default,{startOpen:this.props.isOpen,isCompact:a<=l,onClose:function(){t.setState(Object.assign(v.getInitialState())),t.props.setParams({saved:""})},trigger:function(a){a.setIsOpen;return e.default.createElement("button",{className:"button has-icon-left with-padding-small",onClick:function(){return t.props.setParams({saved:!0})},"data-ga-action":t.props.trackAction+"-open","data-ga-label":t.props.trackLabel+" Open"},e.default.createElement(o.default,null),e.default.createElement("span",{className:"btn-text"},"Saved Searches",g.length?" ("+g.length+")":""))},trackAction:this.props.trackAction,trackLabel:this.props.trackLabel,title:"Saved Searches"},e.default.createElement("div",{className:"min-height-70vh align-left"},e.default.createElement("div",{className:"p-md-bottom"},e.default.createElement("div",{className:"f-lh-15 f-0875"},"View previously saved results and/or use boolean logic to combine previously saved result lists",g.length<2?e.default.createElement("i",null," when you have more than one saved list"):null,".")),e.default.createElement("div",{className:"bckg-primary-darker f-white p-md-top p-md-bottom"},e.default.createElement("div",{className:a>l?"p-l-left p-l-right":"p-md-left p-md-right"},e.default.createElement("div",{className:a>n?"table-grid full-width fixed-layout":""},e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(p.default,{label:"Query 1",title:"choose query1",options:E,onChange:this.handleSelect_Q1,value:this.state.selected1,menuTitle:g.length<1?"Save Some Searches First!":"Select Query #1",labelOnTop:!0,menuAlign:"left"})),e.default.createElement("div",{className:"width-10em "+(a>n?"p-sm-rectangle":"p-xsm-top p-xsm-bottom")},e.default.createElement(p.default,{label:"Operator",title:"choose query2",options:["AND","OR","NOT"],onChange:this.handleSelect_OP,value:this.state.operation,labelOnTop:!0,menuAlign:"left"})),e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(p.default,{label:"Query 2 (of the same ID type as query 1)",title:"choose query2",options:b,onChange:this.handleSelect_Q2,value:this.state.selected2,menuTitle:g.length<2?"Save Some Searches First!":"Select Query #2",menuAlign:"right",labelOnTop:!0}))),e.default.createElement("div",{className:"table-grid full-width fixed-layout",role:"toolbar"},e.default.createElement("div",{className:"f-white p-xsm-right p-sm-top p-sm-bottom"},e.default.createElement("button",{className:"button bckg-primary has-icon-left width-100",disabled:!this.state.selected1||!this.state.selected2,onClick:this.handleListLogic},e.default.createElement(m.default,null),e.default.createElement("span",{className:"btn-text"},"Add to Saved"))),e.default.createElement("div",{className:"f-white p-xsm-left p-sm-top p-sm-bottom"},e.default.createElement("button",{className:"button bckg-gray has-icon-left width-100",disabled:!this.state.selected1&&!this.state.selected2&&"AND"===this.state.operation,onClick:this.handleResetListLogic},e.default.createElement(f.default,null),e.default.createElement("span",{className:"btn-text"},"Reset")))))),g.length?e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:"p-l-top"},e.default.createElement("div",{className:"flex-container width-100 align-vertical-center p-xsm-bottom"},e.default.createElement("div",{className:"align-left flex-grow-1 f-medium"},g.length," saved search",g.length>1?"es":""," found"),e.default.createElement("div",{className:"f-0875 nowrap"},e.default.createElement("button",{className:"button with-padding has-icon-left",onClick:this.updateLastChanged},e.default.createElement(u.default,null),e.default.createElement("span",{className:"btn-text"},"Refresh Data")),e.default.createElement("button",{className:"button with-padding has-icon-left",onClick:this.handleDeleteAll},e.default.createElement(d.default,null),e.default.createElement("span",{className:"btn-text"},"Delete All"))))),e.default.createElement("div",null,e.default.createElement("table",{className:a>n?"":"minimal b-top b-light"},a>n&&e.default.createElement("thead",{className:"nowrap uppercase f-0875 f-gray"},e.default.createElement("tr",null,e.default.createElement("th",null,"Query"),a>l&&e.default.createElement(e.default.Fragment,null,e.default.createElement("th",{className:"align-left"},"ID Type"),e.default.createElement("th",{className:"align-right"},"List Size"),e.default.createElement("th",{className:"align-right"},"Expires in")),a>n&&e.default.createElement("th",{className:"align-right"},e.default.createElement("span",{className:"p-md-right"},"Actions on your results")))),e.default.createElement("tbody",null,g.map(function(i){var o="#query="+s[i].listID,u=e.default.createElement("ul",{className:"unstyled-list inline-block nowrap f-0875",role:"toolbar"},e.default.createElement("li",{className:"p-sm-top p-sm-bottom p-xsm-right"},e.default.createElement("a",{className:"button has-icon-left with-padding-small",href:o,target:"_blank",rel:"noopener"},e.default.createElement(c.default,null),e.default.createElement("span",{className:"btn-text"},"View Results"))),e.default.createElement("li",{className:"p-sm-top p-sm-bottom"},e.default.createElement("button",{className:"button has-icon-left with-padding-small","data-alias":i,onClick:t.handleDeleteQuery},e.default.createElement(d.default,null),e.default.createElement("span",{className:"btn-text"},"Delete"))));return e.default.createElement("tr",{key:i},e.default.createElement("td",null,e.default.createElement("div",{className:"p-sm-top p-sm-bottom"},e.default.createElement(h.default,{value:i,tagClassName:"f-primary f-bold breakword",editLabel:"Rename Query",saveLabel:"Save",cancelLabel:"Cancel",onSave:t.handleRenameQuery})),e.default.createElement("div",{className:"f-0875 breakword"},s[i].filename&&e.default.createElement("div",null,"File: ",s[i].filename),a<=l&&e.default.createElement(e.default.Fragment,null,e.default.createElement("div",null,"ID Type: ",e.default.createElement("span",{className:"uppercase"},s[i].id_type)),e.default.createElement("div",null,"List Size: ",(0,r.default)(s[i].file_numrows||s[i].listSize)),e.default.createElement("div",null,"Expires in: ",s[i].age))),a<=n?u:null),a>l&&e.default.createElement(e.default.Fragment,null,e.default.createElement("td",{className:"uppercase align-left"},s[i].id_type),e.default.createElement("td",{className:"uppercase align-right"},(0,r.default)(s[i].file_numrows||s[i].listSize)),e.default.createElement("td",{className:"align-right"},s[i].age)),a>n&&e.default.createElement("td",{className:"align-right"},u))}))))):e.default.createElement("div",{className:"p-l-top"},"No saved searches found. Try saving some and come back!"))))}}],[{key:"getInitialState",value:function(){return{hasError:!1,selected1:null,selected2:null,operation:"AND",lastChanged:null}}},{key:"getSavedSearches",value:function(){var e;try{for(var t=v.getSavedOnPCFE(),l=Object.keys(t),n=0;n<l.length;n++){var s=v.getTimeUntilExpiration(t[l[n]].timestamp);s<0?delete t[l[n]]:t[l[n]].age=s<1?"<1 hour":s+" hours"}v.setSavedOnPCFE(t),e=t}catch(i){e={};var r="Exception caught in the getSavedSearches method of SavedSearchesManager component";(0,a.DEBUG_LOG_START)(r),(0,a.DEBUG_LOG)(i.message),(0,a.DEBUG_LOG_END)(r)}finally{return e||{}}}},{key:"getSavedOnPCFE",value:function(){return JSON.parse(s.default.getItem(l.SAVED_SEARCHES_KEY))||{}}},{key:"setSavedOnPCFE",value:function(e){s.default.setItem(l.SAVED_SEARCHES_KEY,JSON.stringify(e))}},{key:"deleteSavedOnPCFE",value:function(){s.default.removeItem(l.SAVED_SEARCHES_KEY)}},{key:"getTimeUntilExpiration",value:function(e){return Math.floor(8-(Date.now()-e)/36e5)}}]),v}();A.propTypes={width:t.default.number.isRequired,bp:t.default.number,bp2:t.default.number,buttonContainerClassName:t.default.string,isOpen:t.default.bool,trackAction:t.default.string,trackLabel:t.default.string},A.defaultProps={bp:1e3,bp2:640,isOpen:!1,trackAction:"saved-searches-modal",trackLabel:"Saved Searches Modal"};var x=A;exports.default=x; },{"react":"SAdv","prop-types":"yu5W","../../../utils-logging/Log":"LH3n","../../../ini/ini":"wjNQ","../../../utils/PostData":"oZ0z","../../../utils/PCFEStorage":"mx2d","../../../utils/FormatCount":"W5bu","../../../react-shared-components/Modal":"YUkR","../../../react-shared-components/icons/FolderStar":"NSfm","../../../react-shared-components/icons/Eye":"wxIw","../../../react-shared-components/icons/Update":"Lzhu","../../../react-shared-components/icons/TrashCan":"k0A0","../../../react-shared-components/icons/Star":"Y24P","../../../react-shared-components/icons/Clear":"UpNA","../../../react-shared-components/CustomSelect":"jlAm","../../../react-shared-components/InlineEdit":"sm4V","../helpers/search-save":"DegH","lodash.clonedeep":"kEmP"}],"sdxu":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=i(require("../../../utils/PCFEStorage")),t=require("../../../ini/ini");function i(e){return e&&e.__esModule?e:{default:e}}function r(i,r){if(void 0!==i&&void 0!==r)return e.default.setItem(t.ENTREZ_KEY,JSON.stringify({on:i,option:r}))} },{"../../../utils/PCFEStorage":"mx2d","../../../ini/ini":"wjNQ"}],"NDi2":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=o(require("prop-types")),r=o(require("../../../react-shared-components/CustomCheckBox")),n=o(require("../../../react-shared-components/CustomRadioGroup")),a=o(require("../helpers/entrez-settings-save"));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=a?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function i(e,t){return p(e)||d(e,t)||s(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],l=!0,u=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(i){u=!0,a=i}finally{try{l||null==r.return||r.return()}finally{if(u)throw a}}return o}}function p(e){if(Array.isArray(e))return e}var m=e.default.memo(function(t){var o=t.entrezOn,l=t.entrezOption,u=t.dispatch,c=t.isCompact,s=i((0,e.useState)(o),2),f=s[0],d=s[1],p=i((0,e.useState)(l),2),m=p[0],b=p[1],y=(0,e.useCallback)(function(){u(f,m)});return e.default.createElement("div",{className:"entrez block-centered inline-block p-sm-top"},e.default.createElement("div",{className:"f-white flex-container align-vertical-center p-xsm "+(c?"":" border b-transparent b-radius")+(f?" bckg-secondary-darkest":"")},e.default.createElement("div",{className:f?"bckg-secondary":""},e.default.createElement(r.default,{onClick:function(){var e=!f;d(e),(0,a.default)(e,m),y()},label:"Use Entrez",isChecked:f,trackAction:"entrez-checkbox-"+(f?"on":"off")})),e.default.createElement("div",{className:(c?"":"p-md-left")+(f?"":" opacity-025"+(c?" hidden":""))},e.default.createElement(n.default,{options:["Compounds","Substances","BioAssays"],selectedOption:m,onChange:function(e){b(e),(0,a.default)(f,e),y()},trackAction:"select-entrez-database",trackLabel:"Select Entrez Database",listClassName:"inline-block"}))))});m.propTypes={entrezOn:t.default.bool,entrezOption:t.default.string,dispatch:t.default.func.isRequired,isCompact:t.default.bool},m.defaultProps={isCompact:!1,entrezOn:!1,entrezOption:"Compounds"};var b=m;exports.default=b; },{"react":"SAdv","prop-types":"yu5W","../../../react-shared-components/CustomCheckBox":"RWnr","../../../react-shared-components/CustomRadioGroup":"avz2","../helpers/entrez-settings-save":"sdxu"}],"ycKt":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=T(require("react")),t=require("../../utils-logging/Log"),a=require("../../utils/Font"),r=T(require("../../utils-logging/GoogleAnalytics")),s=T(require("../../utils/Width")),n=T(require("../../utils/Url")),i=require("../../ini/ini"),l=T(require("../../utils/PCFEStorage")),o=T(require("../../react-shared-components/page-base/BasePage")),c=T(require("../../react-shared-components/loader-animations/Spinner")),u=T(require("../../react-shared-components/ErrorMessage")),h=T(require("../../react-shared-components/page-base/StickyBar")),d=T(require("./components/SearchBox")),f=T(require("./components/QueryExamples")),m=T(require("./components/InputOptions")),p=T(require("./components/StatsBar")),b=T(require("./components/WhatIsPubChem")),y=T(require("./components/QueryInterpretMessage")),E=T(require("./components/GlobalTextSearch")),q=T(require("./components/ExactMatchResult")),g=T(require("./components/SourceMatchResult")),w=T(require("./components/NumericSearchResult")),O=T(require("./components/NumericListSearchResult")),S=T(require("./components/CompoundTOCMatchResult")),v=T(require("./components/FormulaSearchResult")),I=T(require("./components/StructureSearchResult")),B=T(require("./components/StructureSMARTSSearchResult")),C=T(require("./components/CollectionSearchResult")),j=T(require("./helpers/query-interpret")),_=T(require("./components/QueryArraySearchResult")),P=T(require("../../react-shared-components/icons/Search")),R=T(require("./components/SavedSearchesManager")),N=T(require("./components/EntrezSearch"));function T(e){return e&&e.__esModule?e:{default:e}}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t,a){return t&&x(e.prototype,t),a&&x(e,a),e}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e){var t=U();return function(){var a,r=H(e);if(t){var s=H(this).constructor;a=Reflect.construct(r,arguments,s)}else a=r.apply(this,arguments);return A(this,a)}}function A(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return F(e)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(T){D(x,e.default.Component);var k=G(x);function x(t){var a;L(this,x),(a=k.call(this,t)).state=x.getInitialState(),a.setParams=a.setParams.bind(F(a)),a.scrollToSearchBox=a.scrollToSearchBox.bind(F(a)),a.handleEntrezSettings=a.handleEntrezSettings.bind(F(a)),a.getStickyBarTrigger=a.getStickyBarTrigger.bind(F(a)),a.queryContainer=e.default.createRef(),a.resultsContainer=e.default.createRef(),a.textInput=null;try{window.saveEvent=new Event("save")}catch(r){try{window.saveEvent=document.createEvent("Event"),window.saveEvent.initEvent("save",!0,!0)}catch(s){}}return a}return z(x,[{key:"componentDidMount",value:function(){var e=this;window.addEventListener("hashchange",function(t){e.doSearch()}),window.addEventListener("resize",function(t){e.setState({width:(0,s.default)(window.innerWidth)})}),this.doSearch()}},{key:"componentDidCatch",value:function(e,a){this.setState({hasError:!0});var s="React Error Boundary in HomeApp";(0,t.DEBUG_LOG_START)(s),(0,t.DEBUG_LOG)(e),(0,t.DEBUG_LOG)(a.componentStack),(0,t.DEBUG_LOG_END)(s),r.default.event({action:"react-error",label:e+": "+a.componentStack})}},{key:"setParams",value:function(e,a){var r=a?n.default.constructHash(e):n.default.replaceHashVariable(e);if((0,t.DEBUG_LOG_START)("setParams"),(0,t.DEBUG_LOG)("URL="+r),(0,t.DEBUG_LOG_END)("setParams"),r)location=r;else{try{history.pushState("",document.title,window.location.pathname+window.location.search)}catch(s){location="#"}this.setState(x.getInitialState())}}},{key:"doSearch",value:function(){var e=this,t=n.default.parseHash();if(t.query===this.state.hashObject.query&&this.state.qInterpretBlob.type&&t.input_type===this.state.hashObject.input_type)this.setState({hashObject:t,isLoaded:!0});else{window&&window.scrollTo(0,0);var a=x.getInitialState();t.query?this.setState(a,function(){(0,j.default)(t).then(function(a){t.query&&(r.default.event({action:"search-"+a.type,label:t.query}),a.redirect_url?location.replace(a.redirect_url):e.setState({qInterpretBlob:a,isLoaded:!0}))})}):(a.isLoaded=!0,this.setState(a))}}},{key:"scrollToSearchBox",value:function(e){if(this.queryContainer&&this.queryContainer.current)try{this.textInput.focus({preventScroll:!0}),window.scrollTo(0,window.pageYOffset-10+this.queryContainer.current.getBoundingClientRect().top)}catch(t){}else window.scrollTo(0,0)}},{key:"handleEntrezSettings",value:function(){this.setState({entrezSettings:JSON.parse(l.default.getItem(i.ENTREZ_KEY))})}},{key:"getStickyBarTrigger",value:function(){return this.queryContainer&&this.queryContainer.current?window.pageYOffset+this.queryContainer.current.getBoundingClientRect().bottom:void 0}},{key:"render",value:function(){var t=this,r=this.state.width,s=35*a.FONT_SIZE,n=this.state.entrezSettings.on||!1,l=this.state.entrezSettings.option||"";if(this.state.hasError)return e.default.createElement("div",{className:"main-width p-l-top p-l-bottom"},"Something went wrong...");var j=this.state.hashObject.query,T=this.state.qInterpretBlob.type||void 0;return e.default.createElement("div",{className:j?" has-query":""},e.default.createElement(o.default,{width:r,noSearchBox:!0},e.default.createElement(h.default,{title:e.default.createElement("div",null,e.default.createElement("button",{className:"button no-outline with-padding-small align-left has-icon-left bckg-white with-border b-radius width-100",onClick:this.scrollToSearchBox,tabIndex:-1,"data-ga-action":"sticky-bar-link","data-ga-label":"Sticky Bar Search"},e.default.createElement(P.default,{width:"2em",height:"2em"}),e.default.createElement("span",{className:"btn-text block p-l-right ellipsis"},this.state.qInterpretBlob.alias||j||" "),e.default.createElement("span",{className:"sr-only"},"Search PubChem"))),isCompact:r<=s,triggerFunction:this.getStickyBarTrigger,shouldRecalcTrigger:!!j}),e.default.createElement("div",{className:"search-bar-section"},e.default.createElement("div",{className:"main-width align-right"},e.default.createElement(R.default,{buttonContainerClassName:"inline-block bckg-white p-xsm-left p-xsm-right b-radius-bottom-left b-radius-bottom-right f-0875",width:r,isOpen:this.state.hashObject.saved,setParams:this.setParams}),e.default.createElement("div",{className:"search-bar-inner-container relative"},e.default.createElement("div",{className:"search-bar-inner centered-block"},!j&&e.default.createElement(e.default.Fragment,null,e.default.createElement("h2",{className:"section-heading f-white"},"Explore Chemistry"),e.default.createElement("div",{className:"section-subheading p-md-top p-md-bottom f-white"},"Quickly find chemical information from authoritative sources")),e.default.createElement("div",{ref:this.queryContainer},e.default.createElement(d.default,{hashObject:this.state.hashObject,query:this.state.qInterpretBlob.alias||this.state.hashObject.alias||j,setParams:this.setParams,placeholder:"",autoComplete:!0,width:r,inputRef:function(e){t.textInput=e},inputHandle:this.textInput,showLabel:j,entrezSettings:this.state.entrezSettings})),j?e.default.createElement(y.default,{qInterpretBlob:this.state.qInterpretBlob,hashObject:this.state.hashObject,width:r,setParams:this.setParams}):e.default.createElement(e.default.Fragment,null,n?e.default.createElement("div",{className:"f-white align-left p-sm-rectangle flex-container align-vertical-center"},e.default.createElement("div",{className:"f-0875 underline-links"},"Warning: text search in ",l," collection only, results will be displayed in Entrez Portal. ","Compounds"===l?"Entrez does not support Molecular Formula, SMILES, SMARTS, or InChI queries. ":"",e.default.createElement("a",{href:"https://pubchemdocs.ncbi.nlm.nih.gov/advanced-search-entrez",className:""},"Read More..."))):e.default.createElement("div",{className:"f-white height-2em"},e.default.createElement(f.default,{width:r})),!j&&e.default.createElement(N.default,{dispatch:this.handleEntrezSettings,entrezOn:n,entrezOption:l,isCompact:r<s}),e.default.createElement(m.default,{width:r,setParams:this.setParams,hashObject:this.state.hashObject,entrezOn:n})))))),j?null:e.default.createElement(e.default.Fragment,null,e.default.createElement(p.default,{width:r}),e.default.createElement(b.default,{width:r})),e.default.createElement("div",{id:"results-container",className:j?"min-height-50vh p-md-top p-xl-bottom":""},j&&!this.state.isLoaded&&e.default.createElement(c.default,{className:"loader-background loader-background-search"}),e.default.createElement("div",{id:"featured-results"},"number"===T&&e.default.createElement(w.default,{query:this.state.hashObject.query,hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,width:r}),"text"===T&&j.length>2&&e.default.createElement(g.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,width:r}),"text"===T&&e.default.createElement(q.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,width:r}),"text"===T&&this.state.qInterpretBlob.nWords>1&&e.default.createElement(S.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,width:r})),e.default.createElement("div",{id:"main-results",ref:this.resultsContainer},"id_list"===T&&e.default.createElement(O.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}),"formulaquery"===T&&e.default.createElement(v.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}),"smiles"===T||"inchi"===T||"structure_by_cid"===T?e.default.createElement(I.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}):null,"smarts"===T&&e.default.createElement(B.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}),"list"===this.state.qInterpretBlob.type&&e.default.createElement("div",{className:"main-width"},e.default.createElement(C.default,{hashObject:Object.assign({},this.state.hashObject,{listID:this.state.hashObject.query,query_type:"list",collection:this.state.hashObject.collection||i.ID_COLLECTIONS[this.state.hashObject.id_type],id_type:this.state.hashObject.id_type||i.NAME_COLLECTIONS[this.state.hashObject.collection]}),qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer,showTitle:!0})),"cache"===this.state.qInterpretBlob.type&&e.default.createElement("div",{className:"main-width"},e.default.createElement(C.default,{hashObject:Object.assign({},this.state.hashObject,{listID:this.state.hashObject.query,query_type:"list",collection:i.ID_COLLECTIONS[this.state.qInterpretBlob.cache_id_type.toLowerCase()]||this.state.qInterpretBlob.cache_id_type.toLowerCase(),id_type:i.NAME_COLLECTIONS[this.state.qInterpretBlob.cache_id_type.toLowerCase()]||this.state.qInterpretBlob.cache_id_type.toLowerCase()}),qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer,showTitle:!0})),"inchikey"===this.state.qInterpretBlob.type&&e.default.createElement("div",{className:"main-width"},e.default.createElement(C.default,{hashObject:Object.assign({},this.state.hashObject,{collection:"compound",input_type:"inchikey"}),qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer,showTitle:!0})),"text"===this.state.qInterpretBlob.type?e.default.createElement(E.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}):null,"array"===this.state.qInterpretBlob.type?e.default.createElement(_.default,{hashObject:this.state.hashObject,qInterpretBlob:this.state.qInterpretBlob,setParams:this.setParams,width:r,resultsContainerRef:this.resultsContainer}):null,"unresolved"===this.state.qInterpretBlob.type?e.default.createElement("div",{className:"main-width"},e.default.createElement(u.default,{title:"Please try a different search",message:"This does not appear to be a well formed query...",setMinHeight:!0})):null))))}}],[{key:"getInitialState",value:function(){return{hasError:!1,width:(0,s.default)(window.innerWidth),isLoaded:!1,hashObject:n.default.parseHash(),qInterpretBlob:{},entrezSettings:JSON.parse(l.default.getItem(i.ENTREZ_KEY))||{on:!1,option:"Compounds"}}}},{key:"getSavedOnPCFE",value:function(){return JSON.parse(l.default.getItem(i.SAVED_SEARCHES_KEY))||{}}}]),x}(),Y=W;exports.default=Y; },{"react":"SAdv","../../utils-logging/Log":"LH3n","../../utils/Font":"i9OY","../../utils-logging/GoogleAnalytics":"z7bP","../../utils/Width":"omF3","../../utils/Url":"qcwJ","../../ini/ini":"wjNQ","../../utils/PCFEStorage":"mx2d","../../react-shared-components/page-base/BasePage":"t4e6","../../react-shared-components/loader-animations/Spinner":"Z4op","../../react-shared-components/ErrorMessage":"VxRY","../../react-shared-components/page-base/StickyBar":"jIt7","./components/SearchBox":"Vih5","./components/QueryExamples":"FDCD","./components/InputOptions":"xOKZ","./components/StatsBar":"kQiF","./components/WhatIsPubChem":"QhGu","./components/QueryInterpretMessage":"hSzb","./components/GlobalTextSearch":"yEH5","./components/ExactMatchResult":"et9p","./components/SourceMatchResult":"Meds","./components/NumericSearchResult":"UX0M","./components/NumericListSearchResult":"ltTO","./components/CompoundTOCMatchResult":"nNPX","./components/FormulaSearchResult":"AbWK","./components/StructureSearchResult":"Lv0q","./components/StructureSMARTSSearchResult":"JWGG","./components/CollectionSearchResult":"kn9X","./helpers/query-interpret":"hjkG","./components/QueryArraySearchResult":"BfNI","../../react-shared-components/icons/Search":"Bpeq","./components/SavedSearchesManager":"f9U0","./components/EntrezSearch":"NDi2"}],"Uz22":[function(require,module,exports) { "use strict";var e=u(require("react")),r=u(require("react-dom")),t=u(require("./HomeApp"));function u(e){return e&&e.__esModule?e:{default:e}}r.default.render(e.default.createElement(t.default,null),document.getElementById("root")); },{"react":"SAdv","react-dom":"CSY6","./HomeApp":"ycKt"}]},{},["Uz22"], null) </script> </body> </html>