diff --git a/.gitignore b/.gitignore index 1b3907ff1c..45be03d3ba 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ /spec/example_app/node_modules /spec/example_app/config/database.yml +/spec/example_app/storage /node_modules /public diff --git a/Gemfile b/Gemfile index 9eac6ac246..2299c77a52 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,7 @@ gem "administrate-field-image" gem "faker" gem "front_matter_parser" gem "globalid" +gem "image_processing" gem "kaminari-i18n" gem "pg" gem "pundit" diff --git a/Gemfile.lock b/Gemfile.lock index cdcf4cabec..ed39380f08 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -132,6 +132,7 @@ GEM railties (>= 5.0.0) faker (3.4.1) i18n (>= 1.8.11, < 2) + ffi (1.17.0) formulaic (0.4.2) activesupport capybara @@ -153,6 +154,9 @@ GEM rails-i18n rainbow (>= 2.2.2, < 4.0) terminal-table (>= 1.5.1) + image_processing (1.12.2) + mini_magick (>= 4.9.5, < 5) + ruby-vips (>= 2.0.17, < 3) jsbundling-rails (1.3.0) railties (>= 6.0.0) json (2.7.2) @@ -188,6 +192,7 @@ GEM marcel (1.0.2) matrix (0.4.2) method_source (1.1.0) + mini_magick (4.12.0) mini_mime (1.1.5) mini_portile2 (2.8.6) minitest (5.23.1) @@ -292,6 +297,8 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) + ruby-vips (2.2.1) + ffi (~> 1.12) rubyzip (2.3.2) selenium-webdriver (4.21.1) base64 (~> 0.2) @@ -373,6 +380,7 @@ DEPENDENCIES front_matter_parser globalid i18n-tasks (= 1.0.14) + image_processing jsbundling-rails (~> 1.1) kaminari-i18n launchy diff --git a/app/assets/builds/administrate/application.css b/app/assets/builds/administrate/application.css index 2aada9ecc3..0ad05cdc94 100644 --- a/app/assets/builds/administrate/application.css +++ b/app/assets/builds/administrate/application.css @@ -400,6 +400,562 @@ template { display: none; } +trix-editor { + border: 1px solid #bbb; + border-radius: 3px; + margin: 0; + padding: 0.4em 0.6em; + min-height: 5em; + outline: none; +} + +trix-toolbar * { + box-sizing: border-box; +} + +trix-toolbar .trix-button-row { + display: flex; + flex-wrap: nowrap; + justify-content: space-between; + overflow-x: auto; +} + +trix-toolbar .trix-button-group { + display: flex; + margin-bottom: 10px; + border: 1px solid #bbb; + border-top-color: #ccc; + border-bottom-color: #888; + border-radius: 3px; +} + +trix-toolbar .trix-button-group:not(:first-child) { + margin-left: 1.5vw; +} + +@media (max-width: 768px) { + trix-toolbar .trix-button-group:not(:first-child) { + margin-left: 0; + } +} +trix-toolbar .trix-button-group-spacer { + flex-grow: 1; +} + +@media (max-width: 768px) { + trix-toolbar .trix-button-group-spacer { + display: none; + } +} +trix-toolbar .trix-button { + position: relative; + float: left; + color: rgba(0, 0, 0, 0.6); + font-size: 0.75em; + font-weight: 600; + white-space: nowrap; + padding: 0 0.5em; + margin: 0; + outline: none; + border: none; + border-bottom: 1px solid #ddd; + border-radius: 0; + background: transparent; +} + +trix-toolbar .trix-button:not(:first-child) { + border-left: 1px solid #ccc; +} + +trix-toolbar .trix-button.trix-active { + background: #cbeefa; + color: black; +} + +trix-toolbar .trix-button:not(:disabled) { + cursor: pointer; +} + +trix-toolbar .trix-button:disabled { + color: rgba(0, 0, 0, 0.125); +} + +@media (max-width: 768px) { + trix-toolbar .trix-button { + letter-spacing: -0.01em; + padding: 0 0.3em; + } +} +trix-toolbar .trix-button--icon { + font-size: inherit; + width: 2.6em; + height: 1.6em; + max-width: calc(0.8em + 4vw); + text-indent: -9999px; +} + +@media (max-width: 768px) { + trix-toolbar .trix-button--icon { + height: 2em; + max-width: calc(0.8em + 3.5vw); + } +} +trix-toolbar .trix-button--icon::before { + display: inline-block; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + opacity: 0.6; + content: ""; + background-position: center; + background-repeat: no-repeat; + background-size: contain; +} + +@media (max-width: 768px) { + trix-toolbar .trix-button--icon::before { + right: 6%; + left: 6%; + } +} +trix-toolbar .trix-button--icon.trix-active::before { + opacity: 1; +} + +trix-toolbar .trix-button--icon:disabled::before { + opacity: 0.125; +} + +trix-toolbar .trix-button--icon-attach::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"); + top: 8%; + bottom: 4%; +} + +trix-toolbar .trix-button--icon-bold::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-italic::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-link::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-strike::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-quote::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-heading-1::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-code::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-bullet-list::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-number-list::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-undo::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-redo::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-decrease-nesting-level::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-button--icon-increase-nesting-level::before { + background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); +} + +trix-toolbar .trix-dialogs { + position: relative; +} + +trix-toolbar .trix-dialog { + position: absolute; + top: 0; + left: 0; + right: 0; + font-size: 0.75em; + padding: 15px 10px; + background: #fff; + box-shadow: 0 0.3em 1em #ccc; + border-top: 2px solid #888; + border-radius: 5px; + z-index: 5; +} + +trix-toolbar .trix-input--dialog { + font-size: inherit; + font-weight: normal; + padding: 0.5em 0.8em; + margin: 0 10px 0 0; + border-radius: 3px; + border: 1px solid #bbb; + background-color: #fff; + box-shadow: none; + outline: none; + -webkit-appearance: none; + -moz-appearance: none; +} + +trix-toolbar .trix-input--dialog.validate:invalid { + box-shadow: #F00 0px 0px 1.5px 1px; +} + +trix-toolbar .trix-button--dialog { + font-size: inherit; + padding: 0.5em; + border-bottom: none; +} + +trix-toolbar .trix-dialog--link { + max-width: 600px; +} + +trix-toolbar .trix-dialog__link-fields { + display: flex; + align-items: baseline; +} + +trix-toolbar .trix-dialog__link-fields .trix-input { + flex: 1; +} + +trix-toolbar .trix-dialog__link-fields .trix-button-group { + flex: 0 0 content; + margin: 0; +} + +trix-editor [data-trix-mutable]:not(.attachment__caption-editor) { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +trix-editor [data-trix-mutable]::-moz-selection, +trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection { + background: none; +} + +trix-editor [data-trix-mutable]::selection, +trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection { + background: none; +} + +trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection { + background: highlight; +} + +trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection { + background: highlight; +} + +trix-editor [data-trix-mutable].attachment.attachment--file { + box-shadow: 0 0 0 2px highlight; + border-color: transparent; +} + +trix-editor [data-trix-mutable].attachment img { + box-shadow: 0 0 0 2px highlight; +} + +trix-editor .attachment { + position: relative; +} + +trix-editor .attachment:hover { + cursor: default; +} + +trix-editor .attachment--preview .attachment__caption:hover { + cursor: text; +} + +trix-editor .attachment__progress { + position: absolute; + z-index: 1; + height: 20px; + top: calc(50% - 10px); + left: 5%; + width: 90%; + opacity: 0.9; + transition: opacity 200ms ease-in; +} + +trix-editor .attachment__progress[value="100"] { + opacity: 0; +} + +trix-editor .attachment__caption-editor { + display: inline-block; + width: 100%; + margin: 0; + padding: 0; + font-size: inherit; + font-family: inherit; + line-height: inherit; + color: inherit; + text-align: center; + vertical-align: top; + border: none; + outline: none; + -webkit-appearance: none; + -moz-appearance: none; +} + +trix-editor .attachment__toolbar { + position: absolute; + z-index: 1; + top: -0.9em; + left: 0; + width: 100%; + text-align: center; +} + +trix-editor .trix-button-group { + display: inline-flex; +} + +trix-editor .trix-button { + position: relative; + float: left; + color: #666; + white-space: nowrap; + font-size: 80%; + padding: 0 0.8em; + margin: 0; + outline: none; + border: none; + border-radius: 0; + background: transparent; +} + +trix-editor .trix-button:not(:first-child) { + border-left: 1px solid #ccc; +} + +trix-editor .trix-button.trix-active { + background: #cbeefa; +} + +trix-editor .trix-button:not(:disabled) { + cursor: pointer; +} + +trix-editor .trix-button--remove { + text-indent: -9999px; + display: inline-block; + padding: 0; + outline: none; + width: 1.8em; + height: 1.8em; + line-height: 1.8em; + border-radius: 50%; + background-color: #fff; + border: 2px solid highlight; + box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); +} + +trix-editor .trix-button--remove::before { + display: inline-block; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + opacity: 0.7; + content: ""; + background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E"); + background-position: center; + background-repeat: no-repeat; + background-size: 90%; +} + +trix-editor .trix-button--remove:hover { + border-color: #333; +} + +trix-editor .trix-button--remove:hover::before { + opacity: 1; +} + +trix-editor .attachment__metadata-container { + position: relative; +} + +trix-editor .attachment__metadata { + position: absolute; + left: 50%; + top: 2em; + transform: translate(-50%, 0); + max-width: 90%; + padding: 0.1em 0.6em; + font-size: 0.8em; + color: #fff; + background-color: rgba(0, 0, 0, 0.7); + border-radius: 3px; +} + +trix-editor .attachment__metadata .attachment__name { + display: inline-block; + max-width: 100%; + vertical-align: bottom; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +trix-editor .attachment__metadata .attachment__size { + margin-left: 0.2em; + white-space: nowrap; +} + +.trix-content { + line-height: 1.5; + overflow-wrap: break-word; + word-break: break-word; +} + +.trix-content * { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +.trix-content h1 { + font-size: 1.2em; + line-height: 1.2; +} + +.trix-content blockquote { + border: 0 solid #ccc; + border-left-width: 0.3em; + margin-left: 0.3em; + padding-left: 0.6em; +} + +.trix-content [dir=rtl] blockquote, +.trix-content blockquote[dir=rtl] { + border-width: 0; + border-right-width: 0.3em; + margin-right: 0.3em; + padding-right: 0.6em; +} + +.trix-content ul { + list-style-type: disc; +} + +.trix-content ol { + list-style-type: decimal; +} + +.trix-content li { + margin-left: 1em; +} + +.trix-content [dir=rtl] li { + margin-right: 1em; +} + +.trix-content pre { + display: inline-block; + width: 100%; + vertical-align: top; + font-family: monospace; + font-size: 0.9em; + padding: 0.5em; + white-space: pre; + background-color: #eee; + overflow-x: auto; +} + +.trix-content img { + max-width: 100%; + height: auto; +} + +.trix-content .attachment { + display: inline-block; + position: relative; + max-width: 100%; +} + +.trix-content .attachment a { + color: inherit; + text-decoration: none; +} + +.trix-content .attachment a:hover, .trix-content .attachment a:visited:hover { + color: inherit; +} + +.trix-content .attachment__caption { + text-align: center; +} + +.trix-content .attachment__caption .attachment__name + .attachment__size::before { + content: " •"; +} + +.trix-content .attachment--preview { + width: 100%; + text-align: center; +} + +.trix-content .attachment--preview .attachment__caption { + color: #666; + font-size: 0.9em; + line-height: 1.2; +} + +.trix-content .attachment--file { + color: #333; + line-height: 1; + margin: 0 2px 2px 2px; + padding: 0.4em 1em; + border: 1px solid #bbb; + border-radius: 5px; +} + +.trix-content .attachment-gallery { + display: flex; + flex-wrap: wrap; + position: relative; +} + +.trix-content .attachment-gallery .attachment { + flex: 1 0 33%; + padding: 0 0.5em; + max-width: 33%; +} + +.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment { + flex-basis: 50%; + max-width: 50%; +} + /** * selectize.css (v0.12.6) * Copyright (c) 2013–2015 Brian Reavis & contributors diff --git a/app/assets/builds/administrate/application.css.map b/app/assets/builds/administrate/application.css.map index c2e4e5b80f..64121387c3 100644 --- a/app/assets/builds/administrate/application.css.map +++ b/app/assets/builds/administrate/application.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../stylesheets/administrate/reset/_normalize.scss","../../../../node_modules/selectize/dist/css/selectize.css","../../../../node_modules/selectize/dist/css/selectize.default.css","../../stylesheets/administrate/library/_variables.scss","../../stylesheets/administrate/base/_forms.scss","../../stylesheets/administrate/base/_layout.scss","../../stylesheets/administrate/base/_lists.scss","../../stylesheets/administrate/base/_tables.scss","../../stylesheets/administrate/base/_typography.scss","../../stylesheets/administrate/components/_app-container.scss","../../stylesheets/administrate/components/_attributes.scss","../../stylesheets/administrate/library/_data-label.scss","../../stylesheets/administrate/components/_buttons.scss","../../stylesheets/administrate/components/_cells.scss","../../stylesheets/administrate/components/_field-unit.scss","../../stylesheets/administrate/library/_clearfix.scss","../../stylesheets/administrate/components/_flashes.scss","../../stylesheets/administrate/components/_form-actions.scss","../../stylesheets/administrate/components/_main-content.scss","../../stylesheets/administrate/components/_navigation.scss","../../stylesheets/administrate/components/_pagination.scss","../../stylesheets/administrate/components/_search.scss"],"names":[],"mappings":";AAAA;AAEA;AAAA;AAGA;AAAA;AAAA;AAAA;AAAA;AAMA;EACE;EACA;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA,OAEO;EACL;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;AAAA;AAAA;EAOE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;EAGE;EACA;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;EACA;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA;EAEE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAIA;E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EF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;AACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;EAGE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AC3UF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;AACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;EAGE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;ACjZF;AAoEA;ACpEA;EACE;EACA;EACA;EACA;;;AAGF;EACE,aDEiB;ECDjB;EACA;;;AAGF;EACE;EACA,aDLiB;ECMjB;;;AAGF;AAAA;EAEE;EACA,aDnBiB;ECoBjB,WDfe;;;ACkBjB;AAAA;AAAA;EAGE;EACA,aD3BiB;EC4BjB;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAeE;EACA,kBDjCM;ECkCN,QDOY;ECNZ,eDxCmB;ECyCnB;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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EACA;EACA;;AAEA;EACE,aXfe;;;AWmBnB;EACE;EACA;EACA;;;AAGF;EACE,QX0BY;EWzBZ;EACA;EACA,SXrBc;EWsBd;;AAEA;EACE;;AAGF;EACE;;;AAKF;EACE,OX5BE;EW6BF;;;AErDF;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;ACfR;EACE;;;ACDF;EACE,kBfoBM;EenBN,efcmB;EebnB;EAEA;EACA;EACA;;;AAGF;AAAA;EAEE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA,efwCY;EevCZ;;;AAGF;EACE;EACA;;;AC1BF;EACE;EACA,ShBaa;EgBZb;;;AAGF;EACE;EACA,OhByBO;EgBxBP;EACA;EACA;EACA,SAdwB;EAexB;;AAGA;EACE,ehBDY;;AgBId;EACE;EACA,ehBRiB;EgBSjB,OhBUK;;;AgBNT;EACE,ahBpBiB;;;AiBVnB;EACE,YjBgBa;EiBfb,cjBea;EiBdb,ejBca;EiBbb;;AAEA;AAAA;AAAA;AAAA;AAAA;EAKE,QjBOY;;AiBJd;EACE,ajBLe;;;AkBRnB;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE,MlBkBO;EkBjBP,QAlBiB;EAmBjB,MAnBiB;EAoBjB;EACA;EACA;EACA,OAvBiB;;;AA0BnB;EACE,QA3BiB;EA4BjB;EACA;EACA;EACA;EACA,OAhCiB;;;AAmCnB;EACE,MlBFO;EkBGP,QArCiB;EAsCjB;EACA;EACA,OAxCiB;;AA0CjB;EACE,MlBnBG","file":"application.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../stylesheets/administrate/reset/_normalize.scss","../../../../node_modules/trix/dist/trix.css","../../../../node_modules/selectize/dist/css/selectize.css","../../../../node_modules/selectize/dist/css/selectize.default.css","../../stylesheets/administrate/library/_variables.scss","../../stylesheets/administrate/base/_forms.scss","../../stylesheets/administrate/base/_layout.scss","../../stylesheets/administrate/base/_lists.scss","../../stylesheets/administrate/base/_tables.scss","../../stylesheets/administrate/base/_typography.scss","../../stylesheets/administrate/components/_app-container.scss","../../stylesheets/administrate/components/_attributes.scss","../../stylesheets/administrate/library/_data-label.scss","../../stylesheets/administrate/components/_buttons.scss","../../stylesheets/administrate/components/_cells.scss","../../stylesheets/administrate/components/_field-unit.scss","../../stylesheets/administrate/library/_clearfix.scss","../../stylesheets/administrate/components/_flashes.scss","../../stylesheets/administrate/components/_form-actions.scss","../../stylesheets/administrate/components/_main-content.scss","../../stylesheets/administrate/components/_navigation.scss","../../stylesheets/administrate/components/_pagination.scss","../../stylesheets/administrate/components/_search.scss"],"names":[],"mappings":";AAAA;AAEA;AAAA;AAGA;AAAA;AAAA;AAAA;AAAA;AAMA;EACE;EACA;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA,OAEO;EACL;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;AAAA;AAAA;EAOE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA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A;AAIA;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;ACncF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;;;AACA;EACE;IACE;;;AAER;EACE;;;AACA;EACE;IACE;;;AAEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;;;AACF;EACE;EACA;;;AACF;EACE;;;AACF;EACE;;;AACF;EACE;IACE;IACA;;;AAEN;EACE;EACA;EACA;EACA;EACA;;;AACA;EACE;IACE;IACA;;;AACJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;IACE;IACA;;;AACN;EACE;;;AACF;EACE;;;AAEJ;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;;;AAEJ;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AACA;EACE;;;AACF;EACE;EACA;;;AAEJ;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AACA;EACE;;;AAEJ;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;;;AAEJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;;;AACF;EACE;;;AACF;EACE;;;AAEJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACF;EACE;;;AACA;EACE;;;AAEN;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AACF;EACE;EACA;;;AAEJ;EACE;EACA;EACA;;;AACA;EACE;EACA;EACA;;;AACF;EACE;EACA;;;AACF;EACE;EACA;EACA;EACA;;;AACF;AAAA;EAEE;EACA;EACA;EACA;;;AACF;EACE;;;AACF;EACE;;;AACF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACF;EACE;EACA;;;AACF;EACE;EACA;EACA;;;AACA;EACE;EACA;;;AACA;EACE;;;AACN;EACE;;;AACA;EACE;;;AACJ;EACE;EACA;;;AACA;EACE;EACA;EACA;;;AACJ;EACE;EACA;EACA;EACA;EACA;EACA;;;AACF;EACE;EACA;EACA;;;AACA;EACE;EACA;EACA;;;AACF;EACE;EACA;;;AC3ZN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;AACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;EAGE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AC3UF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAEF;EACE;AACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;AAAA;EAEE;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;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F;EACE,QX0BY;EWzBZ;EACA;EACA,SXrBc;EWsBd;;AAEA;EACE;;AAGF;EACE;;;AAKF;EACE,OX5BE;EW6BF;;;AErDF;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;AAdN;EACE,kBbmDM;EalDN;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EAEE;;;ACfR;EACE;;;ACDF;EACE,kBfoBM;EenBN,efcmB;EebnB;EAEA;EACA;EACA;;;AAGF;AAAA;EAEE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA,efwCY;EevCZ;;;AAGF;EACE;EACA;;;AC1BF;EACE;EACA,ShBaa;EgBZb;;;AAGF;EACE;EACA,OhByBO;EgBxBP;EACA;EACA;EACA,SAdwB;EAexB;;AAGA;EACE,ehBDY;;AgBId;EACE;EACA,ehBRiB;EgBSjB,OhBUK;;;AgBNT;EACE,ahBpBiB;;;AiBVnB;EACE,YjBgBa;EiBfb,cjBea;EiBdb,ejBca;EiBbb;;AAEA;AAAA;AAAA;AAAA;AAAA;EAKE,QjBOY;;AiBJd;EACE,ajBLe;;;AkBRnB;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE,MlBkBO;EkBjBP,QAlBiB;EAmBjB,MAnBiB;EAoBjB;EACA;EACA;EACA,OAvBiB;;;AA0BnB;EACE,QA3BiB;EA4BjB;EACA;EACA;EACA;EACA,OAhCiB;;;AAmCnB;EACE,MlBFO;EkBGP,QArCiB;EAsCjB;EACA;EACA,OAxCiB;;AA0CjB;EACE,MlBnBG","file":"application.css"} \ No newline at end of file diff --git a/app/assets/builds/administrate/application.js b/app/assets/builds/administrate/application.js index 93ef53df3b..1e27fd871a 100644 --- a/app/assets/builds/administrate/application.js +++ b/app/assets/builds/administrate/application.js @@ -5,8 +5,8 @@ var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; - var __esm = (fn, res) => function __init() { - return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; + var __esm = (fn2, res) => function __init() { + return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res; }; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; @@ -38,11 +38,11 @@ (function(global, factory) { "use strict"; if (typeof module === "object" && typeof module.exports === "object") { - module.exports = global.document ? factory(global, true) : function(w) { - if (!w.document) { + module.exports = global.document ? factory(global, true) : function(w2) { + if (!w2.document) { throw new Error("jQuery requires a window with a document"); } - return factory(w); + return factory(w2); }; } else { factory(global); @@ -80,13 +80,13 @@ }; function DOMEval(code, node, doc) { doc = doc || document2; - var i, val, script = doc.createElement("script"); + var i2, val, script = doc.createElement("script"); script.text = code; if (node) { - for (i in preservedScriptAttributes) { - val = node[i] || node.getAttribute && node.getAttribute(i); + for (i2 in preservedScriptAttributes) { + val = node[i2] || node.getAttribute && node.getAttribute(i2); if (val) { - script.setAttribute(i, val); + script.setAttribute(i2, val); } } } @@ -130,8 +130,8 @@ return jQuery.each(this, callback); }, map: function(callback) { - return this.pushStack(jQuery.map(this, function(elem, i) { - return callback.call(elem, i, elem); + return this.pushStack(jQuery.map(this, function(elem, i2) { + return callback.call(elem, i2, elem); })); }, slice: function() { @@ -144,18 +144,18 @@ return this.eq(-1); }, even: function() { - return this.pushStack(jQuery.grep(this, function(_elem, i) { - return (i + 1) % 2; + return this.pushStack(jQuery.grep(this, function(_elem, i2) { + return (i2 + 1) % 2; })); }, odd: function() { - return this.pushStack(jQuery.grep(this, function(_elem, i) { - return i % 2; + return this.pushStack(jQuery.grep(this, function(_elem, i2) { + return i2 % 2; })); }, - eq: function(i) { - var len = this.length, j = +i + (i < 0 ? len : 0); - return this.pushStack(j >= 0 && j < len ? [this[j]] : []); + eq: function(i2) { + var len = this.length, j2 = +i2 + (i2 < 0 ? len : 0); + return this.pushStack(j2 >= 0 && j2 < len ? [this[j2]] : []); }, end: function() { return this.prevObject || this.constructor(); @@ -167,21 +167,21 @@ splice: arr.splice }; jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = false; + var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i2 = 1, length = arguments.length, deep = false; if (typeof target === "boolean") { deep = target; - target = arguments[i] || {}; - i++; + target = arguments[i2] || {}; + i2++; } if (typeof target !== "object" && !isFunction(target)) { target = {}; } - if (i === length) { + if (i2 === length) { target = this; - i--; + i2--; } - for (; i < length; i++) { - if ((options = arguments[i]) != null) { + for (; i2 < length; i2++) { + if ((options = arguments[i2]) != null) { for (name in options) { copy = options[name]; if (name === "__proto__" || target === copy) { @@ -241,17 +241,17 @@ DOMEval(code, { nonce: options && options.nonce }, doc); }, each: function(obj, callback) { - var length, i = 0; + var length, i2 = 0; if (isArrayLike(obj)) { length = obj.length; - for (; i < length; i++) { - if (callback.call(obj[i], i, obj[i]) === false) { + for (; i2 < length; i2++) { + if (callback.call(obj[i2], i2, obj[i2]) === false) { break; } } } else { - for (i in obj) { - if (callback.call(obj[i], i, obj[i]) === false) { + for (i2 in obj) { + if (callback.call(obj[i2], i2, obj[i2]) === false) { break; } } @@ -260,9 +260,9 @@ }, // Retrieve the text value of an array of DOM nodes text: function(elem) { - var node, ret = "", i = 0, nodeType = elem.nodeType; + var node, ret = "", i2 = 0, nodeType = elem.nodeType; if (!nodeType) { - while (node = elem[i++]) { + while (node = elem[i2++]) { ret += jQuery.text(node); } } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) { @@ -287,8 +287,8 @@ } return ret; }, - inArray: function(elem, arr2, i) { - return arr2 == null ? -1 : indexOf2.call(arr2, elem, i); + inArray: function(elem, arr2, i2) { + return arr2 == null ? -1 : indexOf2.call(arr2, elem, i2); }, isXMLDoc: function(elem) { var namespace = elem && elem.namespaceURI, docElem = elem && (elem.ownerDocument || elem).documentElement; @@ -297,37 +297,37 @@ // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit merge: function(first, second) { - var len = +second.length, j = 0, i = first.length; - for (; j < len; j++) { - first[i++] = second[j]; + var len = +second.length, j2 = 0, i2 = first.length; + for (; j2 < len; j2++) { + first[i2++] = second[j2]; } - first.length = i; + first.length = i2; return first; }, grep: function(elems, callback, invert) { - var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert; - for (; i < length; i++) { - callbackInverse = !callback(elems[i], i); + var callbackInverse, matches = [], i2 = 0, length = elems.length, callbackExpect = !invert; + for (; i2 < length; i2++) { + callbackInverse = !callback(elems[i2], i2); if (callbackInverse !== callbackExpect) { - matches.push(elems[i]); + matches.push(elems[i2]); } } return matches; }, // arg is for internal usage only map: function(elems, callback, arg) { - var length, value, i = 0, ret = []; + var length, value, i2 = 0, ret = []; if (isArrayLike(elems)) { length = elems.length; - for (; i < length; i++) { - value = callback(elems[i], i, arg); + for (; i2 < length; i2++) { + value = callback(elems[i2], i2, arg); if (value != null) { ret.push(value); } } } else { - for (i in elems) { - value = callback(elems[i], i, arg); + for (i2 in elems) { + value = callback(elems[i2], i2, arg); if (value != null) { ret.push(value); } @@ -346,7 +346,7 @@ } jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), - function(_i, name) { + function(_i2, name) { class2type["[object " + name + "]"] = name.toLowerCase(); } ); @@ -368,11 +368,11 @@ "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ); - jQuery.contains = function(a, b) { - var bup = b && b.parentNode; - return a === bup || !!(bup && bup.nodeType === 1 && // Support: IE 9 - 11+ + jQuery.contains = function(a2, b2) { + var bup = b2 && b2.parentNode; + return a2 === bup || !!(bup && bup.nodeType === 1 && // Support: IE 9 - 11+ // IE doesn't have `contains` on SVG. - (a.contains ? a.contains(bup) : a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16)); + (a2.contains ? a2.contains(bup) : a2.compareDocumentPosition && a2.compareDocumentPosition(bup) & 16)); }; var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; function fcssescape(ch, asCodePoint) { @@ -389,8 +389,8 @@ }; var preferredDoc = document2, pushNative = push; (function() { - var i, Expr, outermostContext, sortInput, hasDuplicate, push2 = pushNative, document3, documentElement2, documentIsHTML, rbuggyQSA, matches, expando = jQuery.expando, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function(a, b) { - if (a === b) { + var i2, Expr, outermostContext, sortInput, hasDuplicate, push2 = pushNative, document3, documentElement2, documentIsHTML, rbuggyQSA, matches, expando = jQuery.expando, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function(a2, b2) { + if (a2 === b2) { hasDuplicate = true; } return 0; @@ -436,7 +436,7 @@ preferredDoc.childNodes ); arr[preferredDoc.childNodes.length].nodeType; - } catch (e) { + } catch (e2) { push2 = { apply: function(target, els) { pushNative.apply(target, slice.call(els)); @@ -447,7 +447,7 @@ }; } function find(selector, context, results, seed) { - var m, i2, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, nodeType = context ? context.nodeType : 9; + var m2, i3, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, nodeType = context ? context.nodeType : 9; results = results || []; if (typeof selector !== "string" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11) { return results; @@ -457,10 +457,10 @@ context = context || document3; if (documentIsHTML) { if (nodeType !== 11 && (match = rquickExpr2.exec(selector))) { - if (m = match[1]) { + if (m2 = match[1]) { if (nodeType === 9) { - if (elem = context.getElementById(m)) { - if (elem.id === m) { + if (elem = context.getElementById(m2)) { + if (elem.id === m2) { push2.call(results, elem); return results; } @@ -468,7 +468,7 @@ return results; } } else { - if (newContext && (elem = newContext.getElementById(m)) && find.contains(context, elem) && elem.id === m) { + if (newContext && (elem = newContext.getElementById(m2)) && find.contains(context, elem) && elem.id === m2) { push2.call(results, elem); return results; } @@ -476,8 +476,8 @@ } else if (match[2]) { push2.apply(results, context.getElementsByTagName(selector)); return results; - } else if ((m = match[3]) && context.getElementsByClassName) { - push2.apply(results, context.getElementsByClassName(m)); + } else if ((m2 = match[3]) && context.getElementsByClassName) { + push2.apply(results, context.getElementsByClassName(m2)); return results; } } @@ -494,9 +494,9 @@ } } groups = tokenize2(selector); - i2 = groups.length; - while (i2--) { - groups[i2] = (nid ? "#" + nid : ":scope") + " " + toSelector(groups[i2]); + i3 = groups.length; + while (i3--) { + groups[i3] = (nid ? "#" + nid : ":scope") + " " + toSelector(groups[i3]); } newSelector = groups.join(","); } @@ -528,15 +528,15 @@ } return cache2; } - function markFunction(fn) { - fn[expando] = true; - return fn; + function markFunction(fn2) { + fn2[expando] = true; + return fn2; } - function assert(fn) { + function assert(fn2) { var el = document3.createElement("fieldset"); try { - return !!fn(el); - } catch (e) { + return !!fn2(el); + } catch (e2) { return false; } finally { if (el.parentNode) { @@ -576,14 +576,14 @@ return false; }; } - function createPositionalPseudo(fn) { + function createPositionalPseudo(fn2) { return markFunction(function(argument) { argument = +argument; return markFunction(function(seed, matches2) { - var j, matchIndexes = fn([], seed.length, argument), i2 = matchIndexes.length; - while (i2--) { - if (seed[j = matchIndexes[i2]]) { - seed[j] = !(matches2[j] = seed[j]); + var j2, matchIndexes = fn2([], seed.length, argument), i3 = matchIndexes.length; + while (i3--) { + if (seed[j2 = matchIndexes[i3]]) { + seed[j2] = !(matches2[j2] = seed[j2]); } } }); @@ -618,44 +618,44 @@ try { document3.querySelector(":has(*,:jqfake)"); return false; - } catch (e) { + } catch (e2) { return true; } }); if (support.getById) { - Expr.filter.ID = function(id) { - var attrId = id.replace(runescape, funescape); + Expr.filter.ID = function(id2) { + var attrId = id2.replace(runescape, funescape); return function(elem) { return elem.getAttribute("id") === attrId; }; }; - Expr.find.ID = function(id, context) { + Expr.find.ID = function(id2, context) { if (typeof context.getElementById !== "undefined" && documentIsHTML) { - var elem = context.getElementById(id); + var elem = context.getElementById(id2); return elem ? [elem] : []; } }; } else { - Expr.filter.ID = function(id) { - var attrId = id.replace(runescape, funescape); + Expr.filter.ID = function(id2) { + var attrId = id2.replace(runescape, funescape); return function(elem) { var node2 = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); return node2 && node2.value === attrId; }; }; - Expr.find.ID = function(id, context) { + Expr.find.ID = function(id2, context) { if (typeof context.getElementById !== "undefined" && documentIsHTML) { - var node2, i2, elems, elem = context.getElementById(id); + var node2, i3, elems, elem = context.getElementById(id2); if (elem) { node2 = elem.getAttributeNode("id"); - if (node2 && node2.value === id) { + if (node2 && node2.value === id2) { return [elem]; } - elems = context.getElementsByName(id); - i2 = 0; - while (elem = elems[i2++]) { + elems = context.getElementsByName(id2); + i3 = 0; + while (elem = elems[i3++]) { node2 = elem.getAttributeNode("id"); - if (node2 && node2.value === id) { + if (node2 && node2.value === id2) { return [elem]; } } @@ -710,27 +710,27 @@ rbuggyQSA.push(":has"); } rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|")); - sortOrder = function(a, b) { - if (a === b) { + sortOrder = function(a2, b2) { + if (a2 === b2) { hasDuplicate = true; return 0; } - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + var compare = !a2.compareDocumentPosition - !b2.compareDocumentPosition; if (compare) { return compare; } - compare = (a.ownerDocument || a) == (b.ownerDocument || b) ? a.compareDocumentPosition(b) : ( + compare = (a2.ownerDocument || a2) == (b2.ownerDocument || b2) ? a2.compareDocumentPosition(b2) : ( // Otherwise we know they are disconnected 1 ); - if (compare & 1 || !support.sortDetached && b.compareDocumentPosition(a) === compare) { - if (a === document3 || a.ownerDocument == preferredDoc && find.contains(preferredDoc, a)) { + if (compare & 1 || !support.sortDetached && b2.compareDocumentPosition(a2) === compare) { + if (a2 === document3 || a2.ownerDocument == preferredDoc && find.contains(preferredDoc, a2)) { return -1; } - if (b === document3 || b.ownerDocument == preferredDoc && find.contains(preferredDoc, b)) { + if (b2 === document3 || b2.ownerDocument == preferredDoc && find.contains(preferredDoc, b2)) { return 1; } - return sortInput ? indexOf2.call(sortInput, a) - indexOf2.call(sortInput, b) : 0; + return sortInput ? indexOf2.call(sortInput, a2) - indexOf2.call(sortInput, b2) : 0; } return compare & 4 ? -1 : 1; }; @@ -749,7 +749,7 @@ elem.document && elem.document.nodeType !== 11) { return ret; } - } catch (e) { + } catch (e2) { nonnativeSelectorCache(expr, true); } } @@ -765,7 +765,7 @@ if ((elem.ownerDocument || elem) != document3) { setDocument(elem); } - var fn = Expr.attrHandle[name.toLowerCase()], val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? fn(elem, name, !documentIsHTML) : void 0; + var fn2 = Expr.attrHandle[name.toLowerCase()], val = fn2 && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? fn2(elem, name, !documentIsHTML) : void 0; if (val !== void 0) { return val; } @@ -775,18 +775,18 @@ throw new Error("Syntax error, unrecognized expression: " + msg); }; jQuery.uniqueSort = function(results) { - var elem, duplicates = [], j = 0, i2 = 0; + var elem, duplicates = [], j2 = 0, i3 = 0; hasDuplicate = !support.sortStable; sortInput = !support.sortStable && slice.call(results, 0); sort.call(results, sortOrder); if (hasDuplicate) { - while (elem = results[i2++]) { - if (elem === results[i2]) { - j = duplicates.push(i2); + while (elem = results[i3++]) { + if (elem === results[i3]) { + j2 = duplicates.push(i3); } } - while (j--) { - splice.call(results, duplicates[j], 1); + while (j2--) { + splice.call(results, duplicates[j2], 1); } } sortInput = null; @@ -905,7 +905,7 @@ return !!elem.parentNode; } ) : function(elem, _context, xml) { - var cache2, outerCache, node, nodeIndex, start2, dir2 = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false; + var cache2, outerCache, node, nodeIndex, start3, dir2 = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false; if (parent) { if (simple) { while (dir2) { @@ -915,11 +915,11 @@ return false; } } - start2 = dir2 = type === "only" && !start2 && "nextSibling"; + start3 = dir2 = type === "only" && !start3 && "nextSibling"; } return true; } - start2 = [forward ? parent.firstChild : parent.lastChild]; + start3 = [forward ? parent.firstChild : parent.lastChild]; if (forward && useCache) { outerCache = parent[expando] || (parent[expando] = {}); cache2 = outerCache[type] || []; @@ -927,7 +927,7 @@ diff = nodeIndex && cache2[2]; node = nodeIndex && parent.childNodes[nodeIndex]; while (node = ++nodeIndex && node && node[dir2] || // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start2.pop()) { + (diff = nodeIndex = 0) || start3.pop()) { if (node.nodeType === 1 && ++diff && node === elem) { outerCache[type] = [dirruns, nodeIndex, diff]; break; @@ -941,7 +941,7 @@ diff = nodeIndex; } if (diff === false) { - while (node = ++nodeIndex && node && node[dir2] || (diff = nodeIndex = 0) || start2.pop()) { + while (node = ++nodeIndex && node && node[dir2] || (diff = nodeIndex = 0) || start3.pop()) { if ((ofType ? nodeName(node, name) : node.nodeType === 1) && ++diff) { if (useCache) { outerCache = node[expando] || (node[expando] = {}); @@ -960,23 +960,23 @@ }; }, PSEUDO: function(pseudo, argument) { - var args, fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || find.error("unsupported pseudo: " + pseudo); - if (fn[expando]) { - return fn(argument); + var args, fn2 = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || find.error("unsupported pseudo: " + pseudo); + if (fn2[expando]) { + return fn2(argument); } - if (fn.length > 1) { + if (fn2.length > 1) { args = [pseudo, pseudo, "", argument]; return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed, matches2) { - var idx, matched = fn(seed, argument), i2 = matched.length; - while (i2--) { - idx = indexOf2.call(seed, matched[i2]); - seed[idx] = !(matches2[idx] = matched[i2]); + var idx, matched = fn2(seed, argument), i3 = matched.length; + while (i3--) { + idx = indexOf2.call(seed, matched[i3]); + seed[idx] = !(matches2[idx] = matched[i3]); } }) : function(elem) { - return fn(elem, 0, args); + return fn2(elem, 0, args); }; } - return fn; + return fn2; } }, pseudos: { @@ -984,10 +984,10 @@ not: markFunction(function(selector) { var input = [], results = [], matcher = compile(selector.replace(rtrimCSS, "$1")); return matcher[expando] ? markFunction(function(seed, matches2, _context, xml) { - var elem, unmatched = matcher(seed, null, xml, []), i2 = seed.length; - while (i2--) { - if (elem = unmatched[i2]) { - seed[i2] = !(matches2[i2] = elem); + var elem, unmatched = matcher(seed, null, xml, []), i3 = seed.length; + while (i3--) { + if (elem = unmatched[i3]) { + seed[i3] = !(matches2[i3] = elem); } } }) : function(elem, _context, xml) { @@ -1094,48 +1094,48 @@ return [argument < 0 ? argument + length : argument]; }), even: createPositionalPseudo(function(matchIndexes, length) { - var i2 = 0; - for (; i2 < length; i2 += 2) { - matchIndexes.push(i2); + var i3 = 0; + for (; i3 < length; i3 += 2) { + matchIndexes.push(i3); } return matchIndexes; }), odd: createPositionalPseudo(function(matchIndexes, length) { - var i2 = 1; - for (; i2 < length; i2 += 2) { - matchIndexes.push(i2); + var i3 = 1; + for (; i3 < length; i3 += 2) { + matchIndexes.push(i3); } return matchIndexes; }), lt: createPositionalPseudo(function(matchIndexes, length, argument) { - var i2; + var i3; if (argument < 0) { - i2 = argument + length; + i3 = argument + length; } else if (argument > length) { - i2 = length; + i3 = length; } else { - i2 = argument; + i3 = argument; } - for (; --i2 >= 0; ) { - matchIndexes.push(i2); + for (; --i3 >= 0; ) { + matchIndexes.push(i3); } return matchIndexes; }), gt: createPositionalPseudo(function(matchIndexes, length, argument) { - var i2 = argument < 0 ? argument + length : argument; - for (; ++i2 < length; ) { - matchIndexes.push(i2); + var i3 = argument < 0 ? argument + length : argument; + for (; ++i3 < length; ) { + matchIndexes.push(i3); } return matchIndexes; }) } }; Expr.pseudos.nth = Expr.pseudos.eq; - for (i in { radio: true, checkbox: true, file: true, password: true, image: true }) { - Expr.pseudos[i] = createInputPseudo(i); + for (i2 in { radio: true, checkbox: true, file: true, password: true, image: true }) { + Expr.pseudos[i2] = createInputPseudo(i2); } - for (i in { submit: true, reset: true }) { - Expr.pseudos[i] = createButtonPseudo(i); + for (i2 in { submit: true, reset: true }) { + Expr.pseudos[i2] = createButtonPseudo(i2); } function setFilters() { } @@ -1190,9 +1190,9 @@ ); } function toSelector(tokens) { - var i2 = 0, len = tokens.length, selector = ""; - for (; i2 < len; i2++) { - selector += tokens[i2].value; + var i3 = 0, len = tokens.length, selector = ""; + for (; i3 < len; i3++) { + selector += tokens[i3].value; } return selector; } @@ -1243,9 +1243,9 @@ } function elementMatcher(matchers) { return matchers.length > 1 ? function(elem, context, xml) { - var i2 = matchers.length; - while (i2--) { - if (!matchers[i2](elem, context, xml)) { + var i3 = matchers.length; + while (i3--) { + if (!matchers[i3](elem, context, xml)) { return false; } } @@ -1253,20 +1253,20 @@ } : matchers[0]; } function multipleContexts(selector, contexts, results) { - var i2 = 0, len = contexts.length; - for (; i2 < len; i2++) { - find(selector, contexts[i2], results); + var i3 = 0, len = contexts.length; + for (; i3 < len; i3++) { + find(selector, contexts[i3], results); } return results; } function condense(unmatched, map, filter, context, xml) { - var elem, newUnmatched = [], i2 = 0, len = unmatched.length, mapped = map != null; - for (; i2 < len; i2++) { - if (elem = unmatched[i2]) { + var elem, newUnmatched = [], i3 = 0, len = unmatched.length, mapped = map != null; + for (; i3 < len; i3++) { + if (elem = unmatched[i3]) { if (!filter || filter(elem, context, xml)) { newUnmatched.push(elem); if (mapped) { - map.push(i2); + map.push(i3); } } } @@ -1281,7 +1281,7 @@ postFinder = setMatcher(postFinder, postSelector); } return markFunction(function(seed, results, context, xml) { - var temp, i2, elem, matcherOut, preMap = [], postMap = [], preexisting = results.length, elems = seed || multipleContexts( + var temp, i3, elem, matcherOut, preMap = [], postMap = [], preexisting = results.length, elems = seed || multipleContexts( selector || "*", context.nodeType ? [context] : context, [] @@ -1301,10 +1301,10 @@ if (postFilter) { temp = condense(matcherOut, postMap); postFilter(temp, [], context, xml); - i2 = temp.length; - while (i2--) { - if (elem = temp[i2]) { - matcherOut[postMap[i2]] = !(matcherIn[postMap[i2]] = elem); + i3 = temp.length; + while (i3--) { + if (elem = temp[i3]) { + matcherOut[postMap[i3]] = !(matcherIn[postMap[i3]] = elem); } } } @@ -1312,17 +1312,17 @@ if (postFinder || preFilter) { if (postFinder) { temp = []; - i2 = matcherOut.length; - while (i2--) { - if (elem = matcherOut[i2]) { - temp.push(matcherIn[i2] = elem); + i3 = matcherOut.length; + while (i3--) { + if (elem = matcherOut[i3]) { + temp.push(matcherIn[i3] = elem); } } postFinder(null, matcherOut = [], temp, xml); } - i2 = matcherOut.length; - while (i2--) { - if ((elem = matcherOut[i2]) && (temp = postFinder ? indexOf2.call(seed, elem) : preMap[i2]) > -1) { + i3 = matcherOut.length; + while (i3--) { + if ((elem = matcherOut[i3]) && (temp = postFinder ? indexOf2.call(seed, elem) : preMap[i3]) > -1) { seed[temp] = !(results[temp] = elem); } } @@ -1340,7 +1340,7 @@ }); } function matcherFromTokens(tokens) { - var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[tokens[0].type], implicitRelative = leadingRelative || Expr.relative[" "], i2 = leadingRelative ? 1 : 0, matchContext = addCombinator(function(elem) { + var checkContext, matcher, j2, len = tokens.length, leadingRelative = Expr.relative[tokens[0].type], implicitRelative = leadingRelative || Expr.relative[" "], i3 = leadingRelative ? 1 : 0, matchContext = addCombinator(function(elem) { return elem === checkContext; }, implicitRelative, true), matchAnyContext = addCombinator(function(elem) { return indexOf2.call(checkContext, elem) > -1; @@ -1349,28 +1349,28 @@ checkContext = null; return ret; }]; - for (; i2 < len; i2++) { - if (matcher = Expr.relative[tokens[i2].type]) { + for (; i3 < len; i3++) { + if (matcher = Expr.relative[tokens[i3].type]) { matchers = [addCombinator(elementMatcher(matchers), matcher)]; } else { - matcher = Expr.filter[tokens[i2].type].apply(null, tokens[i2].matches); + matcher = Expr.filter[tokens[i3].type].apply(null, tokens[i3].matches); if (matcher[expando]) { - j = ++i2; - for (; j < len; j++) { - if (Expr.relative[tokens[j].type]) { + j2 = ++i3; + for (; j2 < len; j2++) { + if (Expr.relative[tokens[j2].type]) { break; } } return setMatcher( - i2 > 1 && elementMatcher(matchers), - i2 > 1 && toSelector( + i3 > 1 && elementMatcher(matchers), + i3 > 1 && toSelector( // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice(0, i2 - 1).concat({ value: tokens[i2 - 2].type === " " ? "*" : "" }) + tokens.slice(0, i3 - 1).concat({ value: tokens[i3 - 2].type === " " ? "*" : "" }) ).replace(rtrimCSS, "$1"), matcher, - i2 < j && matcherFromTokens(tokens.slice(i2, j)), - j < len && matcherFromTokens(tokens = tokens.slice(j)), - j < len && toSelector(tokens) + i3 < j2 && matcherFromTokens(tokens.slice(i3, j2)), + j2 < len && matcherFromTokens(tokens = tokens.slice(j2)), + j2 < len && toSelector(tokens) ); } matchers.push(matcher); @@ -1380,18 +1380,18 @@ } function matcherFromGroupMatchers(elementMatchers, setMatchers) { var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function(seed, context, xml, results, outermost) { - var elem, j, matcher, matchedCount = 0, i2 = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, elems = seed || byElement && Expr.find.TAG("*", outermost), dirrunsUnique = dirruns += contextBackup == null ? 1 : Math.random() || 0.1, len = elems.length; + var elem, j2, matcher, matchedCount = 0, i3 = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, elems = seed || byElement && Expr.find.TAG("*", outermost), dirrunsUnique = dirruns += contextBackup == null ? 1 : Math.random() || 0.1, len = elems.length; if (outermost) { outermostContext = context == document3 || context || outermost; } - for (; i2 !== len && (elem = elems[i2]) != null; i2++) { + for (; i3 !== len && (elem = elems[i3]) != null; i3++) { if (byElement && elem) { - j = 0; + j2 = 0; if (!context && elem.ownerDocument != document3) { setDocument(elem); xml = !documentIsHTML; } - while (matcher = elementMatchers[j++]) { + while (matcher = elementMatchers[j2++]) { if (matcher(elem, context || document3, xml)) { push2.call(results, elem); break; @@ -1410,17 +1410,17 @@ } } } - matchedCount += i2; - if (bySet && i2 !== matchedCount) { - j = 0; - while (matcher = setMatchers[j++]) { + matchedCount += i3; + if (bySet && i3 !== matchedCount) { + j2 = 0; + while (matcher = setMatchers[j2++]) { matcher(unmatched, setMatched, context, xml); } if (seed) { if (matchedCount > 0) { - while (i2--) { - if (!(unmatched[i2] || setMatched[i2])) { - setMatched[i2] = pop.call(results); + while (i3--) { + if (!(unmatched[i3] || setMatched[i3])) { + setMatched[i3] = pop.call(results); } } } @@ -1440,14 +1440,14 @@ return bySet ? markFunction(superMatcher) : superMatcher; } function compile(selector, match) { - var i2, setMatchers = [], elementMatchers = [], cached = compilerCache[selector + " "]; + var i3, setMatchers = [], elementMatchers = [], cached = compilerCache[selector + " "]; if (!cached) { if (!match) { match = tokenize2(selector); } - i2 = match.length; - while (i2--) { - cached = matcherFromTokens(match[i2]); + i3 = match.length; + while (i3--) { + cached = matcherFromTokens(match[i3]); if (cached[expando]) { setMatchers.push(cached); } else { @@ -1463,7 +1463,7 @@ return cached; } function select(selector, context, results, seed) { - var i2, tokens, token, type, find2, compiled = typeof selector === "function" && selector, match = !seed && tokenize2(selector = compiled.selector || selector); + var i3, tokens, token, type, find2, compiled = typeof selector === "function" && selector, match = !seed && tokenize2(selector = compiled.selector || selector); results = results || []; if (match.length === 1) { tokens = match[0] = match[0].slice(0); @@ -1479,9 +1479,9 @@ } selector = selector.slice(tokens.shift().value.length); } - i2 = matchExpr.needsContext.test(selector) ? 0 : tokens.length; - while (i2--) { - token = tokens[i2]; + i3 = matchExpr.needsContext.test(selector) ? 0 : tokens.length; + while (i3--) { + token = tokens[i3]; if (Expr.relative[type = token.type]) { break; } @@ -1490,7 +1490,7 @@ token.matches[0].replace(runescape, funescape), rsibling.test(tokens[0].type) && testContext(context.parentNode) || context )) { - tokens.splice(i2, 1); + tokens.splice(i3, 1); selector = seed.length && toSelector(tokens); if (!selector) { push2.apply(results, seed); @@ -1540,11 +1540,11 @@ } return matched; }; - var siblings = function(n, elem) { + var siblings = function(n2, elem) { var matched = []; - for (; n; n = n.nextSibling) { - if (n.nodeType === 1 && n !== elem) { - matched.push(n); + for (; n2; n2 = n2.nextSibling) { + if (n2.nodeType === 1 && n2 !== elem) { + matched.push(n2); } } return matched; @@ -1553,8 +1553,8 @@ var rsingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; function winnow(elements, qualifier, not) { if (isFunction(qualifier)) { - return jQuery.grep(elements, function(elem, i) { - return !!qualifier.call(elem, i, elem) !== not; + return jQuery.grep(elements, function(elem, i2) { + return !!qualifier.call(elem, i2, elem) !== not; }); } if (qualifier.nodeType) { @@ -1583,19 +1583,19 @@ }; jQuery.fn.extend({ find: function(selector) { - var i, ret, len = this.length, self = this; + var i2, ret, len = this.length, self = this; if (typeof selector !== "string") { return this.pushStack(jQuery(selector).filter(function() { - for (i = 0; i < len; i++) { - if (jQuery.contains(self[i], this)) { + for (i2 = 0; i2 < len; i2++) { + if (jQuery.contains(self[i2], this)) { return true; } } })); } ret = this.pushStack([]); - for (i = 0; i < len; i++) { - jQuery.find(selector, self[i], ret); + for (i2 = 0; i2 < len; i2++) { + jQuery.find(selector, self[i2], ret); } return len > 1 ? jQuery.uniqueSort(ret) : ret; }, @@ -1680,21 +1680,21 @@ }; jQuery.fn.extend({ has: function(target) { - var targets = jQuery(target, this), l = targets.length; + var targets = jQuery(target, this), l2 = targets.length; return this.filter(function() { - var i = 0; - for (; i < l; i++) { - if (jQuery.contains(this, targets[i])) { + var i2 = 0; + for (; i2 < l2; i2++) { + if (jQuery.contains(this, targets[i2])) { return true; } } }); }, closest: function(selectors, context) { - var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== "string" && jQuery(selectors); + var cur, i2 = 0, l2 = this.length, matched = [], targets = typeof selectors !== "string" && jQuery(selectors); if (!rneedsContext.test(selectors)) { - for (; i < l; i++) { - for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) { + for (; i2 < l2; i2++) { + for (cur = this[i2]; cur && cur !== context; cur = cur.parentNode) { if (cur.nodeType < 11 && (targets ? targets.index(cur) > -1 : ( // Don't pass non-elements to jQuery#find cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors) @@ -1747,7 +1747,7 @@ parents: function(elem) { return dir(elem, "parentNode"); }, - parentsUntil: function(elem, _i, until) { + parentsUntil: function(elem, _i2, until) { return dir(elem, "parentNode", until); }, next: function(elem) { @@ -1762,10 +1762,10 @@ prevAll: function(elem) { return dir(elem, "previousSibling"); }, - nextUntil: function(elem, _i, until) { + nextUntil: function(elem, _i2, until) { return dir(elem, "nextSibling", until); }, - prevUntil: function(elem, _i, until) { + prevUntil: function(elem, _i2, until) { return dir(elem, "previousSibling", until); }, siblings: function(elem) { @@ -1786,9 +1786,9 @@ } return jQuery.merge([], elem.childNodes); } - }, function(name, fn) { + }, function(name, fn2) { jQuery.fn[name] = function(until, selector) { - var matched = jQuery.map(this, fn, until); + var matched = jQuery.map(this, fn2, until); if (name.slice(-5) !== "Until") { selector = until; } @@ -1809,7 +1809,7 @@ var rnothtmlwhite = /[^\x20\t\r\n\f]+/g; function createOptions(options) { var object = {}; - jQuery.each(options.match(rnothtmlwhite) || [], function(_, flag) { + jQuery.each(options.match(rnothtmlwhite) || [], function(_2, flag) { object[flag] = true; }); return object; @@ -1848,7 +1848,7 @@ queue.push(memory); } (function add2(args) { - jQuery.each(args, function(_, arg) { + jQuery.each(args, function(_2, arg) { if (isFunction(arg)) { if (!options.unique || !self.has(arg)) { list.push(arg); @@ -1866,7 +1866,7 @@ }, // Remove a callback from the list remove: function() { - jQuery.each(arguments, function(_, arg) { + jQuery.each(arguments, function(_2, arg) { var index; while ((index = jQuery.inArray(arg, list, index)) > -1) { list.splice(index, 1); @@ -1879,8 +1879,8 @@ }, // Check if a given callback is in the list. // If no argument is given, return whether or not list has callbacks attached. - has: function(fn) { - return fn ? jQuery.inArray(fn, list) > -1 : list.length > 0; + has: function(fn2) { + return fn2 ? jQuery.inArray(fn2, list) > -1 : list.length > 0; }, // Remove all callbacks from the list empty: function() { @@ -1937,8 +1937,8 @@ }; return self; }; - function Identity(v) { - return v; + function Identity(v2) { + return v2; } function Thrower(ex) { throw ex; @@ -1993,23 +1993,23 @@ deferred.done(arguments).fail(arguments); return this; }, - "catch": function(fn) { - return promise.then(null, fn); + "catch": function(fn2) { + return promise.then(null, fn2); }, // Keep pipe for back-compat pipe: function() { var fns = arguments; return jQuery.Deferred(function(newDefer) { - jQuery.each(tuples, function(_i, tuple) { - var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]]; + jQuery.each(tuples, function(_i2, tuple) { + var fn2 = isFunction(fns[tuple[4]]) && fns[tuple[4]]; deferred[tuple[1]](function() { - var returned = fn && fn.apply(this, arguments); + var returned = fn2 && fn2.apply(this, arguments); if (returned && isFunction(returned.promise)) { returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject); } else { newDefer[tuple[0] + "With"]( this, - fn ? [returned] : arguments + fn2 ? [returned] : arguments ); } }); @@ -2065,17 +2065,17 @@ }, process = special ? mightThrow : function() { try { mightThrow(); - } catch (e) { + } catch (e2) { if (jQuery.Deferred.exceptionHook) { jQuery.Deferred.exceptionHook( - e, + e2, process.error ); } if (depth + 1 >= maxDepth) { if (handler !== Thrower) { that = void 0; - args = [e]; + args = [e2]; } deferred2.rejectWith(that, args); } @@ -2124,7 +2124,7 @@ return obj != null ? jQuery.extend(obj, promise) : promise; } }, deferred = {}; - jQuery.each(tuples, function(i, tuple) { + jQuery.each(tuples, function(i2, tuple) { var list = tuple[2], stateString = tuple[5]; promise[tuple[1]] = list.add; if (stateString) { @@ -2134,10 +2134,10 @@ }, // rejected_callbacks.disable // fulfilled_callbacks.disable - tuples[3 - i][2].disable, + tuples[3 - i2][2].disable, // rejected_handlers.disable // fulfilled_handlers.disable - tuples[3 - i][3].disable, + tuples[3 - i2][3].disable, // progress_callbacks.lock tuples[0][2].lock, // progress_handlers.lock @@ -2159,10 +2159,10 @@ }, // Deferred helper when: function(singleValue) { - var remaining = arguments.length, i = remaining, resolveContexts = Array(i), resolveValues = slice.call(arguments), primary = jQuery.Deferred(), updateFunc = function(i2) { + var remaining = arguments.length, i2 = remaining, resolveContexts = Array(i2), resolveValues = slice.call(arguments), primary = jQuery.Deferred(), updateFunc = function(i3) { return function(value) { - resolveContexts[i2] = this; - resolveValues[i2] = arguments.length > 1 ? slice.call(arguments) : value; + resolveContexts[i3] = this; + resolveValues[i3] = arguments.length > 1 ? slice.call(arguments) : value; if (!--remaining) { primary.resolveWith(resolveContexts, resolveValues); } @@ -2171,16 +2171,16 @@ if (remaining <= 1) { adoptValue( singleValue, - primary.done(updateFunc(i)).resolve, + primary.done(updateFunc(i2)).resolve, primary.reject, !remaining ); - if (primary.state() === "pending" || isFunction(resolveValues[i] && resolveValues[i].then)) { + if (primary.state() === "pending" || isFunction(resolveValues[i2] && resolveValues[i2].then)) { return primary.then(); } } - while (i--) { - adoptValue(resolveValues[i], updateFunc(i), primary.reject); + while (i2--) { + adoptValue(resolveValues[i2], updateFunc(i2), primary.reject); } return primary.promise(); } @@ -2201,8 +2201,8 @@ }); }; var readyList = jQuery.Deferred(); - jQuery.fn.ready = function(fn) { - readyList.then(fn).catch(function(error2) { + jQuery.fn.ready = function(fn2) { + readyList.then(fn2).catch(function(error2) { jQuery.readyException(error2); }); return this; @@ -2237,12 +2237,12 @@ document2.addEventListener("DOMContentLoaded", completed); window2.addEventListener("load", completed); } - var access = function(elems, fn, key, value, chainable, emptyGet, raw) { - var i = 0, len = elems.length, bulk = key == null; + var access = function(elems, fn2, key, value, chainable, emptyGet, raw) { + var i2 = 0, len = elems.length, bulk = key == null; if (toType(key) === "object") { chainable = true; - for (i in key) { - access(elems, fn, i, key[i], true, emptyGet, raw); + for (i2 in key) { + access(elems, fn2, i2, key[i2], true, emptyGet, raw); } } else if (value !== void 0) { chainable = true; @@ -2251,21 +2251,21 @@ } if (bulk) { if (raw) { - fn.call(elems, value); - fn = null; + fn2.call(elems, value); + fn2 = null; } else { - bulk = fn; - fn = function(elem, _key, value2) { + bulk = fn2; + fn2 = function(elem, _key, value2) { return bulk.call(jQuery(elem), value2); }; } } - if (fn) { - for (; i < len; i++) { - fn( - elems[i], + if (fn2) { + for (; i2 < len; i2++) { + fn2( + elems[i2], key, - raw ? value : value.call(elems[i], i, fn(elems[i], key)) + raw ? value : value.call(elems[i2], i2, fn2(elems[i2], key)) ); } } @@ -2274,9 +2274,9 @@ return elems; } if (bulk) { - return fn.call(elems); + return fn2.call(elems); } - return len ? fn(elems[0], key) : emptyGet; + return len ? fn2(elems[0], key) : emptyGet; }; var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g; function fcamelCase(_all, letter) { @@ -2335,7 +2335,7 @@ return value !== void 0 ? value : key; }, remove: function(owner, key) { - var i, cache2 = owner[this.expando]; + var i2, cache2 = owner[this.expando]; if (cache2 === void 0) { return; } @@ -2346,9 +2346,9 @@ key = camelCase(key); key = key in cache2 ? [key] : key.match(rnothtmlwhite) || []; } - i = key.length; - while (i--) { - delete cache2[key[i]]; + i2 = key.length; + while (i2--) { + delete cache2[key[i2]]; } } if (key === void 0 || jQuery.isEmptyObject(cache2)) { @@ -2393,7 +2393,7 @@ if (typeof data === "string") { try { data = getData(data); - } catch (e) { + } catch (e2) { } dataUser.set(elem, key, data); } else { @@ -2423,15 +2423,15 @@ }); jQuery.fn.extend({ data: function(key, value) { - var i, name, data, elem = this[0], attrs = elem && elem.attributes; + var i2, name, data, elem = this[0], attrs = elem && elem.attributes; if (key === void 0) { if (this.length) { data = dataUser.get(elem); if (elem.nodeType === 1 && !dataPriv.get(elem, "hasDataAttrs")) { - i = attrs.length; - while (i--) { - if (attrs[i]) { - name = attrs[i].name; + i2 = attrs.length; + while (i2--) { + if (attrs[i2]) { + name = attrs[i2].name; if (name.indexOf("data-") === 0) { name = camelCase(name.slice(5)); dataAttr(elem, name, data[name]); @@ -2490,19 +2490,19 @@ }, dequeue: function(elem, type) { type = type || "fx"; - var queue = jQuery.queue(elem, type), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks(elem, type), next = function() { + var queue = jQuery.queue(elem, type), startLength = queue.length, fn2 = queue.shift(), hooks = jQuery._queueHooks(elem, type), next = function() { jQuery.dequeue(elem, type); }; - if (fn === "inprogress") { - fn = queue.shift(); + if (fn2 === "inprogress") { + fn2 = queue.shift(); startLength--; } - if (fn) { + if (fn2) { if (type === "fx") { queue.unshift("inprogress"); } delete hooks.stop; - fn.call(elem, next, hooks); + fn2.call(elem, next, hooks); } if (!startLength && hooks) { hooks.empty.fire(); @@ -2548,7 +2548,7 @@ // Get a promise resolved when queues of a certain type // are emptied (fx is the type by default) promise: function(type, obj) { - var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { + var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i2 = this.length, resolve = function() { if (!--count) { defer.resolveWith(elements, [elements]); } @@ -2558,8 +2558,8 @@ type = void 0; } type = type || "fx"; - while (i--) { - tmp = dataPriv.get(elements[i], type + "queueHooks"); + while (i2--) { + tmp = dataPriv.get(elements[i2], type + "queueHooks"); if (tmp && tmp.empty) { count++; tmp.empty.add(resolve); @@ -2733,20 +2733,20 @@ return ret; } function setGlobalEval(elems, refElements) { - var i = 0, l = elems.length; - for (; i < l; i++) { + var i2 = 0, l2 = elems.length; + for (; i2 < l2; i2++) { dataPriv.set( - elems[i], + elems[i2], "globalEval", - !refElements || dataPriv.get(refElements[i], "globalEval") + !refElements || dataPriv.get(refElements[i2], "globalEval") ); } } var rhtml = /<|&#?\w+;/; function buildFragment(elems, context, scripts, selection, ignored) { - var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length; - for (; i < l; i++) { - elem = elems[i]; + var elem, tmp, tag, wrap, attached, j2, fragment = context.createDocumentFragment(), nodes = [], i2 = 0, l2 = elems.length; + for (; i2 < l2; i2++) { + elem = elems[i2]; if (elem || elem === 0) { if (toType(elem) === "object") { jQuery.merge(nodes, elem.nodeType ? [elem] : elem); @@ -2757,8 +2757,8 @@ tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase(); wrap = wrapMap[tag] || wrapMap._default; tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2]; - j = wrap[0]; - while (j--) { + j2 = wrap[0]; + while (j2--) { tmp = tmp.lastChild; } jQuery.merge(nodes, tmp.childNodes); @@ -2768,8 +2768,8 @@ } } fragment.textContent = ""; - i = 0; - while (elem = nodes[i++]) { + i2 = 0; + while (elem = nodes[i2++]) { if (selection && jQuery.inArray(elem, selection) > -1) { if (ignored) { ignored.push(elem); @@ -2782,8 +2782,8 @@ setGlobalEval(tmp); } if (scripts) { - j = 0; - while (elem = tmp[j++]) { + j2 = 0; + while (elem = tmp[j2++]) { if (rscriptType.test(elem.type || "")) { scripts.push(elem); } @@ -2799,7 +2799,7 @@ function returnFalse() { return false; } - function on(elem, types, selector, data, fn, one) { + function on2(elem, types, selector, data, fn2, one) { var origFn, type; if (typeof types === "object") { if (typeof selector !== "string") { @@ -2807,44 +2807,44 @@ selector = void 0; } for (type in types) { - on(elem, type, selector, data, types[type], one); + on2(elem, type, selector, data, types[type], one); } return elem; } - if (data == null && fn == null) { - fn = selector; + if (data == null && fn2 == null) { + fn2 = selector; data = selector = void 0; - } else if (fn == null) { + } else if (fn2 == null) { if (typeof selector === "string") { - fn = data; + fn2 = data; data = void 0; } else { - fn = data; + fn2 = data; data = selector; selector = void 0; } } - if (fn === false) { - fn = returnFalse; - } else if (!fn) { + if (fn2 === false) { + fn2 = returnFalse; + } else if (!fn2) { return elem; } if (one === 1) { - origFn = fn; - fn = function(event) { + origFn = fn2; + fn2 = function(event) { jQuery().off(event); return origFn.apply(this, arguments); }; - fn.guid = origFn.guid || (origFn.guid = jQuery.guid++); + fn2.guid = origFn.guid || (origFn.guid = jQuery.guid++); } return elem.each(function() { - jQuery.event.add(this, types, fn, data, selector); + jQuery.event.add(this, types, fn2, data, selector); }); } jQuery.event = { global: {}, add: function(elem, types, handler, data, selector) { - var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get(elem); + var handleObjIn, eventHandle, tmp, events, t2, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get(elem); if (!acceptData(elem)) { return; } @@ -2863,14 +2863,14 @@ events = elemData.events = /* @__PURE__ */ Object.create(null); } if (!(eventHandle = elemData.handle)) { - eventHandle = elemData.handle = function(e) { - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply(elem, arguments) : void 0; + eventHandle = elemData.handle = function(e2) { + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e2.type ? jQuery.event.dispatch.apply(elem, arguments) : void 0; }; } types = (types || "").match(rnothtmlwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; + t2 = types.length; + while (t2--) { + tmp = rtypenamespace.exec(types[t2]) || []; type = origType = tmp[1]; namespaces = (tmp[2] || "").split(".").sort(); if (!type) { @@ -2914,19 +2914,19 @@ }, // Detach an event or set of events from an element remove: function(elem, types, handler, selector, mappedTypes) { - var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData(elem) && dataPriv.get(elem); + var j2, origCount, tmp, events, t2, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData(elem) && dataPriv.get(elem); if (!elemData || !(events = elemData.events)) { return; } types = (types || "").match(rnothtmlwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; + t2 = types.length; + while (t2--) { + tmp = rtypenamespace.exec(types[t2]) || []; type = origType = tmp[1]; namespaces = (tmp[2] || "").split(".").sort(); if (!type) { for (type in events) { - jQuery.event.remove(elem, type + types[t], handler, selector, true); + jQuery.event.remove(elem, type + types[t2], handler, selector, true); } continue; } @@ -2934,11 +2934,11 @@ type = (selector ? special.delegateType : special.bindType) || type; handlers = events[type] || []; tmp = tmp[2] && new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)"); - origCount = j = handlers.length; - while (j--) { - handleObj = handlers[j]; + origCount = j2 = handlers.length; + while (j2--) { + handleObj = handlers[j2]; if ((mappedTypes || origType === handleObj.origType) && (!handler || handler.guid === handleObj.guid) && (!tmp || tmp.test(handleObj.namespace)) && (!selector || selector === handleObj.selector || selector === "**" && handleObj.selector)) { - handlers.splice(j, 1); + handlers.splice(j2, 1); if (handleObj.selector) { handlers.delegateCount--; } @@ -2959,21 +2959,21 @@ } }, dispatch: function(nativeEvent) { - var i, j, ret, matched, handleObj, handlerQueue, args = new Array(arguments.length), event = jQuery.event.fix(nativeEvent), handlers = (dataPriv.get(this, "events") || /* @__PURE__ */ Object.create(null))[event.type] || [], special = jQuery.event.special[event.type] || {}; + var i2, j2, ret, matched, handleObj, handlerQueue, args = new Array(arguments.length), event = jQuery.event.fix(nativeEvent), handlers = (dataPriv.get(this, "events") || /* @__PURE__ */ Object.create(null))[event.type] || [], special = jQuery.event.special[event.type] || {}; args[0] = event; - for (i = 1; i < arguments.length; i++) { - args[i] = arguments[i]; + for (i2 = 1; i2 < arguments.length; i2++) { + args[i2] = arguments[i2]; } event.delegateTarget = this; if (special.preDispatch && special.preDispatch.call(this, event) === false) { return; } handlerQueue = jQuery.event.handlers.call(this, event, handlers); - i = 0; - while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) { + i2 = 0; + while ((matched = handlerQueue[i2++]) && !event.isPropagationStopped()) { event.currentTarget = matched.elem; - j = 0; - while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) { + j2 = 0; + while ((handleObj = matched.handlers[j2++]) && !event.isImmediatePropagationStopped()) { if (!event.rnamespace || handleObj.namespace === false || event.rnamespace.test(handleObj.namespace)) { event.handleObj = handleObj; event.data = handleObj.data; @@ -2993,7 +2993,7 @@ return event.result; }, handlers: function(event, handlers) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; + var i2, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; if (delegateCount && // Support: IE <=9 // Black-hole SVG instance trees (trac-13180) cur.nodeType && // Support: Firefox <=42 @@ -3006,8 +3006,8 @@ if (cur.nodeType === 1 && !(event.type === "click" && cur.disabled === true)) { matchedHandlers = []; matchedSelectors = {}; - for (i = 0; i < delegateCount; i++) { - handleObj = handlers[i]; + for (i2 = 0; i2 < delegateCount; i2++) { + handleObj = handlers[i2]; sel = handleObj.selector + " "; if (matchedSelectors[sel] === void 0) { matchedSelectors[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) > -1 : jQuery.find(sel, this, null, [cur]).length; @@ -3163,24 +3163,24 @@ isImmediatePropagationStopped: returnFalse, isSimulated: false, preventDefault: function() { - var e = this.originalEvent; + var e2 = this.originalEvent; this.isDefaultPrevented = returnTrue; - if (e && !this.isSimulated) { - e.preventDefault(); + if (e2 && !this.isSimulated) { + e2.preventDefault(); } }, stopPropagation: function() { - var e = this.originalEvent; + var e2 = this.originalEvent; this.isPropagationStopped = returnTrue; - if (e && !this.isSimulated) { - e.stopPropagation(); + if (e2 && !this.isSimulated) { + e2.stopPropagation(); } }, stopImmediatePropagation: function() { - var e = this.originalEvent; + var e2 = this.originalEvent; this.isImmediatePropagationStopped = returnTrue; - if (e && !this.isSimulated) { - e.stopImmediatePropagation(); + if (e2 && !this.isSimulated) { + e2.stopImmediatePropagation(); } this.stopPropagation(); } @@ -3324,13 +3324,13 @@ }; }); jQuery.fn.extend({ - on: function(types, selector, data, fn) { - return on(this, types, selector, data, fn); + on: function(types, selector, data, fn2) { + return on2(this, types, selector, data, fn2); }, - one: function(types, selector, data, fn) { - return on(this, types, selector, data, fn, 1); + one: function(types, selector, data, fn2) { + return on2(this, types, selector, data, fn2, 1); }, - off: function(types, selector, fn) { + off: function(types, selector, fn2) { var handleObj, type; if (types && types.preventDefault && types.handleObj) { handleObj = types.handleObj; @@ -3348,14 +3348,14 @@ return this; } if (selector === false || typeof selector === "function") { - fn = selector; + fn2 = selector; selector = void 0; } - if (fn === false) { - fn = returnFalse; + if (fn2 === false) { + fn2 = returnFalse; } return this.each(function() { - jQuery.event.remove(this, types, fn, selector); + jQuery.event.remove(this, types, fn2, selector); }); } }); @@ -3379,7 +3379,7 @@ return elem; } function cloneCopyEvent(src, dest) { - var i, l, type, pdataOld, udataOld, udataCur, events; + var i2, l2, type, pdataOld, udataOld, udataCur, events; if (dest.nodeType !== 1) { return; } @@ -3389,8 +3389,8 @@ if (events) { dataPriv.remove(dest, "handle events"); for (type in events) { - for (i = 0, l = events[type].length; i < l; i++) { - jQuery.event.add(dest, type, events[type][i]); + for (i2 = 0, l2 = events[type].length; i2 < l2; i2++) { + jQuery.event.add(dest, type, events[type][i2]); } } } @@ -3411,8 +3411,8 @@ } function domManip(collection, args, callback, ignored) { args = flat(args); - var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[0], valueIsFunction = isFunction(value); - if (valueIsFunction || l > 1 && typeof value === "string" && !support.checkClone && rchecked.test(value)) { + var fragment, first, scripts, hasScripts, node, doc, i2 = 0, l2 = collection.length, iNoClone = l2 - 1, value = args[0], valueIsFunction = isFunction(value); + if (valueIsFunction || l2 > 1 && typeof value === "string" && !support.checkClone && rchecked.test(value)) { return collection.each(function(index) { var self = collection.eq(index); if (valueIsFunction) { @@ -3421,7 +3421,7 @@ domManip(self, args, callback, ignored); }); } - if (l) { + if (l2) { fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored); first = fragment.firstChild; if (fragment.childNodes.length === 1) { @@ -3430,21 +3430,21 @@ if (first || ignored) { scripts = jQuery.map(getAll(fragment, "script"), disableScript); hasScripts = scripts.length; - for (; i < l; i++) { + for (; i2 < l2; i2++) { node = fragment; - if (i !== iNoClone) { + if (i2 !== iNoClone) { node = jQuery.clone(node, true, true); if (hasScripts) { jQuery.merge(scripts, getAll(node, "script")); } } - callback.call(collection[i], node, i); + callback.call(collection[i2], node, i2); } if (hasScripts) { doc = scripts[scripts.length - 1].ownerDocument; jQuery.map(scripts, restoreScript); - for (i = 0; i < hasScripts; i++) { - node = scripts[i]; + for (i2 = 0; i2 < hasScripts; i2++) { + node = scripts[i2]; if (rscriptType.test(node.type || "") && !dataPriv.access(node, "globalEval") && jQuery.contains(doc, node)) { if (node.src && (node.type || "").toLowerCase() !== "module") { if (jQuery._evalUrl && !node.noModule) { @@ -3463,8 +3463,8 @@ return collection; } function remove(elem, selector, keepData) { - var node, nodes = selector ? jQuery.filter(selector, elem) : elem, i = 0; - for (; (node = nodes[i]) != null; i++) { + var node, nodes = selector ? jQuery.filter(selector, elem) : elem, i2 = 0; + for (; (node = nodes[i2]) != null; i2++) { if (!keepData && node.nodeType === 1) { jQuery.cleanData(getAll(node)); } @@ -3482,20 +3482,20 @@ return html; }, clone: function(elem, dataAndEvents, deepDataAndEvents) { - var i, l, srcElements, destElements, clone = elem.cloneNode(true), inPage = isAttached(elem); + var i2, l2, srcElements, destElements, clone = elem.cloneNode(true), inPage = isAttached(elem); if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) { destElements = getAll(clone); srcElements = getAll(elem); - for (i = 0, l = srcElements.length; i < l; i++) { - fixInput(srcElements[i], destElements[i]); + for (i2 = 0, l2 = srcElements.length; i2 < l2; i2++) { + fixInput(srcElements[i2], destElements[i2]); } } if (dataAndEvents) { if (deepDataAndEvents) { srcElements = srcElements || getAll(elem); destElements = destElements || getAll(clone); - for (i = 0, l = srcElements.length; i < l; i++) { - cloneCopyEvent(srcElements[i], destElements[i]); + for (i2 = 0, l2 = srcElements.length; i2 < l2; i2++) { + cloneCopyEvent(srcElements[i2], destElements[i2]); } } else { cloneCopyEvent(elem, clone); @@ -3508,8 +3508,8 @@ return clone; }, cleanData: function(elems) { - var data, elem, type, special = jQuery.event.special, i = 0; - for (; (elem = elems[i]) !== void 0; i++) { + var data, elem, type, special = jQuery.event.special, i2 = 0; + for (; (elem = elems[i2]) !== void 0; i2++) { if (acceptData(elem)) { if (data = elem[dataPriv.expando]) { if (data.events) { @@ -3577,8 +3577,8 @@ }); }, empty: function() { - var elem, i = 0; - for (; (elem = this[i]) != null; i++) { + var elem, i2 = 0; + for (; (elem = this[i2]) != null; i2++) { if (elem.nodeType === 1) { jQuery.cleanData(getAll(elem, false)); elem.textContent = ""; @@ -3595,22 +3595,22 @@ }, html: function(value) { return access(this, function(value2) { - var elem = this[0] || {}, i = 0, l = this.length; + var elem = this[0] || {}, i2 = 0, l2 = this.length; if (value2 === void 0 && elem.nodeType === 1) { return elem.innerHTML; } if (typeof value2 === "string" && !rnoInnerhtml.test(value2) && !wrapMap[(rtagName.exec(value2) || ["", ""])[1].toLowerCase()]) { value2 = jQuery.htmlPrefilter(value2); try { - for (; i < l; i++) { - elem = this[i] || {}; + for (; i2 < l2; i2++) { + elem = this[i2] || {}; if (elem.nodeType === 1) { jQuery.cleanData(getAll(elem, false)); elem.innerHTML = value2; } } elem = 0; - } catch (e) { + } catch (e2) { } } if (elem) { @@ -3639,10 +3639,10 @@ replaceAll: "replaceWith" }, function(name, original) { jQuery.fn[name] = function(selector) { - var elems, ret = [], insert = jQuery(selector), last = insert.length - 1, i = 0; - for (; i <= last; i++) { - elems = i === last ? this : this.clone(true); - jQuery(insert[i])[original](elems); + var elems, ret = [], insert = jQuery(selector), last = insert.length - 1, i2 = 0; + for (; i2 <= last; i2++) { + elems = i2 === last ? this : this.clone(true); + jQuery(insert[i2])[original](elems); push.apply(ret, elems.get()); } return this.pushStack(ret); @@ -3790,9 +3790,9 @@ } var cssPrefixes = ["Webkit", "Moz", "ms"], emptyStyle = document2.createElement("div").style, vendorProps = {}; function vendorPropName(name) { - var capName = name[0].toUpperCase() + name.slice(1), i = cssPrefixes.length; - while (i--) { - name = cssPrefixes[i] + capName; + var capName = name[0].toUpperCase() + name.slice(1), i2 = cssPrefixes.length; + while (i2--) { + name = cssPrefixes[i2] + capName; if (name in emptyStyle) { return name; } @@ -3820,27 +3820,27 @@ ) : value; } function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) { - var i = dimension === "width" ? 1 : 0, extra = 0, delta = 0, marginDelta = 0; + var i2 = dimension === "width" ? 1 : 0, extra = 0, delta = 0, marginDelta = 0; if (box === (isBorderBox ? "border" : "content")) { return 0; } - for (; i < 4; i += 2) { + for (; i2 < 4; i2 += 2) { if (box === "margin") { - marginDelta += jQuery.css(elem, box + cssExpand[i], true, styles); + marginDelta += jQuery.css(elem, box + cssExpand[i2], true, styles); } if (!isBorderBox) { - delta += jQuery.css(elem, "padding" + cssExpand[i], true, styles); + delta += jQuery.css(elem, "padding" + cssExpand[i2], true, styles); if (box !== "padding") { - delta += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); + delta += jQuery.css(elem, "border" + cssExpand[i2] + "Width", true, styles); } else { - extra += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); + extra += jQuery.css(elem, "border" + cssExpand[i2] + "Width", true, styles); } } else { if (box === "content") { - delta -= jQuery.css(elem, "padding" + cssExpand[i], true, styles); + delta -= jQuery.css(elem, "padding" + cssExpand[i2], true, styles); } if (box !== "margin") { - delta -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles); + delta -= jQuery.css(elem, "border" + cssExpand[i2] + "Width", true, styles); } } } @@ -3996,7 +3996,7 @@ return val; } }); - jQuery.each(["height", "width"], function(_i, dimension) { + jQuery.each(["height", "width"], function(_i2, dimension) { jQuery.cssHooks[dimension] = { get: function(elem, computed, extra) { if (computed) { @@ -4049,9 +4049,9 @@ }, function(prefix, suffix) { jQuery.cssHooks[prefix + suffix] = { expand: function(value) { - var i = 0, expanded = {}, parts = typeof value === "string" ? value.split(" ") : [value]; - for (; i < 4; i++) { - expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0]; + var i2 = 0, expanded = {}, parts = typeof value === "string" ? value.split(" ") : [value]; + for (; i2 < 4; i2++) { + expanded[prefix + cssExpand[i2] + suffix] = parts[i2] || parts[i2 - 2] || parts[0]; } return expanded; } @@ -4063,12 +4063,12 @@ jQuery.fn.extend({ css: function(name, value) { return access(this, function(elem, name2, value2) { - var styles, len, map = {}, i = 0; + var styles, len, map = {}, i2 = 0; if (Array.isArray(name2)) { styles = getStyles(elem); len = name2.length; - for (; i < len; i++) { - map[name2[i]] = jQuery.css(elem, name2[i], false, styles); + for (; i2 < len; i2++) { + map[name2[i2]] = jQuery.css(elem, name2[i2], false, styles); } return map; } @@ -4150,11 +4150,11 @@ } }; jQuery.easing = { - linear: function(p) { - return p; + linear: function(p2) { + return p2; }, - swing: function(p) { - return 0.5 - Math.cos(p * Math.PI) / 2; + swing: function(p2) { + return 0.5 - Math.cos(p2 * Math.PI) / 2; }, _default: "swing" }; @@ -4178,10 +4178,10 @@ return fxNow = Date.now(); } function genFx(type, includeWidth) { - var which, i = 0, attrs = { height: type }; + var which, i2 = 0, attrs = { height: type }; includeWidth = includeWidth ? 1 : 0; - for (; i < 4; i += 2 - includeWidth) { - which = cssExpand[i]; + for (; i2 < 4; i2 += 2 - includeWidth) { + which = cssExpand[i2]; attrs["margin" + which] = attrs["padding" + which] = type; } if (includeWidth) { @@ -4460,11 +4460,11 @@ } } }); - jQuery.speed = function(speed, easing, fn) { + jQuery.speed = function(speed, easing, fn2) { var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : { - complete: fn || !fn && easing || isFunction(speed) && speed, + complete: fn2 || !fn2 && easing || isFunction(speed) && speed, duration: speed, - easing: fn && easing || easing && !isFunction(easing) && easing + easing: fn2 && easing || easing && !isFunction(easing) && easing }; if (jQuery.fx.off) { opt.duration = 0; @@ -4570,7 +4570,7 @@ }); } }); - jQuery.each(["toggle", "show", "hide"], function(_i, name) { + jQuery.each(["toggle", "show", "hide"], function(_i2, name) { var cssFn = jQuery.fn[name]; jQuery.fn[name] = function(speed, easing, callback) { return speed == null || typeof speed === "boolean" ? cssFn.apply(this, arguments) : this.animate(genFx(name, true), speed, easing, callback); @@ -4590,12 +4590,12 @@ }); jQuery.timers = []; jQuery.fx.tick = function() { - var timer, i = 0, timers = jQuery.timers; + var timer, i2 = 0, timers = jQuery.timers; fxNow = Date.now(); - for (; i < timers.length; i++) { - timer = timers[i]; - if (!timer() && timers[i] === timer) { - timers.splice(i--, 1); + for (; i2 < timers.length; i2++) { + timer = timers[i2]; + if (!timer() && timers[i2] === timer) { + timers.splice(i2--, 1); } } if (!timers.length) { @@ -4699,9 +4699,9 @@ } }, removeAttr: function(elem, value) { - var name, i = 0, attrNames = value && value.match(rnothtmlwhite); + var name, i2 = 0, attrNames = value && value.match(rnothtmlwhite); if (attrNames && elem.nodeType === 1) { - while (name = attrNames[i++]) { + while (name = attrNames[i2++]) { elem.removeAttribute(name); } } @@ -4717,7 +4717,7 @@ return name; } }; - jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function(_i, name) { + jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function(_i2, name) { var getter = attrHandle[name] || jQuery.find.attr; attrHandle[name] = function(elem, name2, isXML) { var ret, handle, lowercaseName = name2.toLowerCase(); @@ -4833,10 +4833,10 @@ } jQuery.fn.extend({ addClass: function(value) { - var classNames, cur, curValue, className, i, finalValue; + var classNames, cur, curValue, className, i2, finalValue; if (isFunction(value)) { - return this.each(function(j) { - jQuery(this).addClass(value.call(this, j, getClass(this))); + return this.each(function(j2) { + jQuery(this).addClass(value.call(this, j2, getClass(this))); }); } classNames = classesToArray(value); @@ -4845,8 +4845,8 @@ curValue = getClass(this); cur = this.nodeType === 1 && " " + stripAndCollapse(curValue) + " "; if (cur) { - for (i = 0; i < classNames.length; i++) { - className = classNames[i]; + for (i2 = 0; i2 < classNames.length; i2++) { + className = classNames[i2]; if (cur.indexOf(" " + className + " ") < 0) { cur += className + " "; } @@ -4861,10 +4861,10 @@ return this; }, removeClass: function(value) { - var classNames, cur, curValue, className, i, finalValue; + var classNames, cur, curValue, className, i2, finalValue; if (isFunction(value)) { - return this.each(function(j) { - jQuery(this).removeClass(value.call(this, j, getClass(this))); + return this.each(function(j2) { + jQuery(this).removeClass(value.call(this, j2, getClass(this))); }); } if (!arguments.length) { @@ -4876,8 +4876,8 @@ curValue = getClass(this); cur = this.nodeType === 1 && " " + stripAndCollapse(curValue) + " "; if (cur) { - for (i = 0; i < classNames.length; i++) { - className = classNames[i]; + for (i2 = 0; i2 < classNames.length; i2++) { + className = classNames[i2]; while (cur.indexOf(" " + className + " ") > -1) { cur = cur.replace(" " + className + " ", " "); } @@ -4892,11 +4892,11 @@ return this; }, toggleClass: function(value, stateVal) { - var classNames, className, i, self, type = typeof value, isValidValue = type === "string" || Array.isArray(value); + var classNames, className, i2, self, type = typeof value, isValidValue = type === "string" || Array.isArray(value); if (isFunction(value)) { - return this.each(function(i2) { + return this.each(function(i3) { jQuery(this).toggleClass( - value.call(this, i2, getClass(this), stateVal), + value.call(this, i3, getClass(this), stateVal), stateVal ); }); @@ -4908,8 +4908,8 @@ return this.each(function() { if (isValidValue) { self = jQuery(this); - for (i = 0; i < classNames.length; i++) { - className = classNames[i]; + for (i2 = 0; i2 < classNames.length; i2++) { + className = classNames[i2]; if (self.hasClass(className)) { self.removeClass(className); } else { @@ -4931,9 +4931,9 @@ }); }, hasClass: function(selector) { - var className, elem, i = 0; + var className, elem, i2 = 0; className = " " + selector + " "; - while (elem = this[i++]) { + while (elem = this[i2++]) { if (elem.nodeType === 1 && (" " + stripAndCollapse(getClass(elem)) + " ").indexOf(className) > -1) { return true; } @@ -4960,13 +4960,13 @@ return; } valueIsFunction = isFunction(value); - return this.each(function(i) { + return this.each(function(i2) { var val; if (this.nodeType !== 1) { return; } if (valueIsFunction) { - val = value.call(this, i, jQuery(this).val()); + val = value.call(this, i2, jQuery(this).val()); } else { val = value; } @@ -5002,15 +5002,15 @@ }, select: { get: function(elem) { - var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max = one ? index + 1 : options.length; + var value, option, i2, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max = one ? index + 1 : options.length; if (index < 0) { - i = max; + i2 = max; } else { - i = one ? index : 0; + i2 = one ? index : 0; } - for (; i < max; i++) { - option = options[i]; - if ((option.selected || i === index) && // Don't return options that are disabled or in a disabled optgroup + for (; i2 < max; i2++) { + option = options[i2]; + if ((option.selected || i2 === index) && // Don't return options that are disabled or in a disabled optgroup !option.disabled && (!option.parentNode.disabled || !nodeName(option.parentNode, "optgroup"))) { value = jQuery(option).val(); if (one) { @@ -5022,9 +5022,9 @@ return values; }, set: function(elem, value) { - var optionSet, option, options = elem.options, values = jQuery.makeArray(value), i = options.length; - while (i--) { - option = options[i]; + var optionSet, option, options = elem.options, values = jQuery.makeArray(value), i2 = options.length; + while (i2--) { + option = options[i2]; if (option.selected = jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1) { optionSet = true; } @@ -5061,7 +5061,7 @@ } try { xml = new window2.DOMParser().parseFromString(data, "text/xml"); - } catch (e) { + } catch (e2) { } parserErrorElem = xml && xml.getElementsByTagName("parsererror")[0]; if (!xml || parserErrorElem) { @@ -5071,12 +5071,12 @@ } return xml; }; - var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function(e) { - e.stopPropagation(); + var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function(e2) { + e2.stopPropagation(); }; jQuery.extend(jQuery.event, { trigger: function(event, data, elem, onlyHandlers) { - var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [elem || document2], type = hasOwn.call(event, "type") ? event.type : event, namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; + var i2, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [elem || document2], type = hasOwn.call(event, "type") ? event.type : event, namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; cur = lastElement = tmp = elem = elem || document2; if (elem.nodeType === 3 || elem.nodeType === 8) { return; @@ -5116,10 +5116,10 @@ eventPath.push(tmp.defaultView || tmp.parentWindow || window2); } } - i = 0; - while ((cur = eventPath[i++]) && !event.isPropagationStopped()) { + i2 = 0; + while ((cur = eventPath[i2++]) && !event.isPropagationStopped()) { lastElement = cur; - event.type = i > 1 ? bubbleType : special.bindType || type; + event.type = i2 > 1 ? bubbleType : special.bindType || type; handle = (dataPriv.get(cur, "events") || /* @__PURE__ */ Object.create(null))[event.type] && dataPriv.get(cur, "handle"); if (handle) { handle.apply(cur, data); @@ -5160,7 +5160,7 @@ // Piggyback on a donor event to simulate a different one // Used only for `focus(in | out)` events simulate: function(type, elem, event) { - var e = jQuery.extend( + var e2 = jQuery.extend( new jQuery.Event(), event, { @@ -5168,7 +5168,7 @@ isSimulated: true } ); - jQuery.event.trigger(e, null, elem); + jQuery.event.trigger(e2, null, elem); } }); jQuery.fn.extend({ @@ -5188,13 +5188,13 @@ function buildParams(prefix, obj, traditional, add2) { var name; if (Array.isArray(obj)) { - jQuery.each(obj, function(i, v) { + jQuery.each(obj, function(i2, v2) { if (traditional || rbracket.test(prefix)) { - add2(prefix, v); + add2(prefix, v2); } else { buildParams( - prefix + "[" + (typeof v === "object" && v != null ? i : "") + "]", - v, + prefix + "[" + (typeof v2 === "object" && v2 != null ? i2 : "") + "]", + v2, traditional, add2 ); @@ -5208,24 +5208,24 @@ add2(prefix, obj); } } - jQuery.param = function(a, traditional) { - var prefix, s = [], add2 = function(key, valueOrFunction) { + jQuery.param = function(a2, traditional) { + var prefix, s2 = [], add2 = function(key, valueOrFunction) { var value = isFunction(valueOrFunction) ? valueOrFunction() : valueOrFunction; - s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value == null ? "" : value); + s2[s2.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value == null ? "" : value); }; - if (a == null) { + if (a2 == null) { return ""; } - if (Array.isArray(a) || a.jquery && !jQuery.isPlainObject(a)) { - jQuery.each(a, function() { + if (Array.isArray(a2) || a2.jquery && !jQuery.isPlainObject(a2)) { + jQuery.each(a2, function() { add2(this.name, this.value); }); } else { - for (prefix in a) { - buildParams(prefix, a[prefix], traditional, add2); + for (prefix in a2) { + buildParams(prefix, a2[prefix], traditional, add2); } } - return s.join("&"); + return s2.join("&"); }; jQuery.fn.extend({ serialize: function() { @@ -5238,7 +5238,7 @@ }).filter(function() { var type = this.type; return this.name && !jQuery(this).is(":disabled") && rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && (this.checked || !rcheckableType.test(type)); - }).map(function(_i, elem) { + }).map(function(_i2, elem) { var val = jQuery(this).val(); if (val == null) { return null; @@ -5260,9 +5260,9 @@ func = dataTypeExpression; dataTypeExpression = "*"; } - var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || []; + var dataType, i2 = 0, dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || []; if (isFunction(func)) { - while (dataType = dataTypes[i++]) { + while (dataType = dataTypes[i2++]) { if (dataType[0] === "+") { dataType = dataType.slice(1) || "*"; (structure[dataType] = structure[dataType] || []).unshift(func); @@ -5278,7 +5278,7 @@ function inspect(dataType) { var selected; inspected[dataType] = true; - jQuery.each(structure[dataType] || [], function(_, prefilterOrFactory) { + jQuery.each(structure[dataType] || [], function(_2, prefilterOrFactory) { var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR); if (typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[dataTypeOrTransport]) { options.dataTypes.unshift(dataTypeOrTransport); @@ -5304,17 +5304,17 @@ } return target; } - function ajaxHandleResponses(s, jqXHR, responses) { - var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes; + function ajaxHandleResponses(s2, jqXHR, responses) { + var ct2, type, finalDataType, firstDataType, contents = s2.contents, dataTypes = s2.dataTypes; while (dataTypes[0] === "*") { dataTypes.shift(); - if (ct === void 0) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); + if (ct2 === void 0) { + ct2 = s2.mimeType || jqXHR.getResponseHeader("Content-Type"); } } - if (ct) { + if (ct2) { for (type in contents) { - if (contents[type] && contents[type].test(ct)) { + if (contents[type] && contents[type].test(ct2)) { dataTypes.unshift(type); break; } @@ -5324,7 +5324,7 @@ finalDataType = dataTypes[0]; } else { for (type in responses) { - if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) { + if (!dataTypes[0] || s2.converters[type + " " + dataTypes[0]]) { finalDataType = type; break; } @@ -5341,20 +5341,20 @@ return responses[finalDataType]; } } - function ajaxConvert(s, response, jqXHR, isSuccess) { - var conv2, current, conv, tmp, prev, converters = {}, dataTypes = s.dataTypes.slice(); + function ajaxConvert(s2, response, jqXHR, isSuccess) { + var conv2, current, conv, tmp, prev, converters = {}, dataTypes = s2.dataTypes.slice(); if (dataTypes[1]) { - for (conv in s.converters) { - converters[conv.toLowerCase()] = s.converters[conv]; + for (conv in s2.converters) { + converters[conv.toLowerCase()] = s2.converters[conv]; } } current = dataTypes.shift(); while (current) { - if (s.responseFields[current]) { - jqXHR[s.responseFields[current]] = response; + if (s2.responseFields[current]) { + jqXHR[s2.responseFields[current]] = response; } - if (!prev && isSuccess && s.dataFilter) { - response = s.dataFilter(response, s.dataType); + if (!prev && isSuccess && s2.dataFilter) { + response = s2.dataFilter(response, s2.dataType); } prev = current; current = dataTypes.shift(); @@ -5381,15 +5381,15 @@ } } if (conv !== true) { - if (conv && s.throws) { + if (conv && s2.throws) { response = conv(response); } else { try { response = conv(response); - } catch (e) { + } catch (e2) { return { state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current + error: conv ? e2 : "No conversion from " + prev + " to " + current }; } } @@ -5483,7 +5483,7 @@ url = void 0; } options = options || {}; - var transport, cacheURL, responseHeadersString, responseHeaders, timeoutTimer, urlAnchor, completed2, fireGlobals, i, uncached, s = jQuery.ajaxSetup({}, options), callbackContext = s.context || s, globalEventContext = s.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event, deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks("once memory"), statusCode = s.statusCode || {}, requestHeaders = {}, requestHeadersNames = {}, strAbort = "canceled", jqXHR = { + var transport, cacheURL, responseHeadersString, responseHeaders, timeoutTimer, urlAnchor, completed2, fireGlobals, i2, uncached, s2 = jQuery.ajaxSetup({}, options), callbackContext = s2.context || s2, globalEventContext = s2.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event, deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks("once memory"), statusCode = s2.statusCode || {}, requestHeaders = {}, requestHeadersNames = {}, strAbort = "canceled", jqXHR = { readyState: 0, // Builds headers hashtable if needed getResponseHeader: function(key) { @@ -5514,7 +5514,7 @@ // Overrides response content-type header overrideMimeType: function(type) { if (completed2 == null) { - s.mimeType = type; + s2.mimeType = type; } return this; }, @@ -5543,48 +5543,48 @@ } }; deferred.promise(jqXHR); - s.url = ((url || s.url || location2.href) + "").replace(rprotocol, location2.protocol + "//"); - s.type = options.method || options.type || s.method || s.type; - s.dataTypes = (s.dataType || "*").toLowerCase().match(rnothtmlwhite) || [""]; - if (s.crossDomain == null) { + s2.url = ((url || s2.url || location2.href) + "").replace(rprotocol, location2.protocol + "//"); + s2.type = options.method || options.type || s2.method || s2.type; + s2.dataTypes = (s2.dataType || "*").toLowerCase().match(rnothtmlwhite) || [""]; + if (s2.crossDomain == null) { urlAnchor = document2.createElement("a"); try { - urlAnchor.href = s.url; + urlAnchor.href = s2.url; urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host; - } catch (e) { - s.crossDomain = true; + s2.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host; + } catch (e2) { + s2.crossDomain = true; } } - if (s.data && s.processData && typeof s.data !== "string") { - s.data = jQuery.param(s.data, s.traditional); + if (s2.data && s2.processData && typeof s2.data !== "string") { + s2.data = jQuery.param(s2.data, s2.traditional); } - inspectPrefiltersOrTransports(prefilters, s, options, jqXHR); + inspectPrefiltersOrTransports(prefilters, s2, options, jqXHR); if (completed2) { return jqXHR; } - fireGlobals = jQuery.event && s.global; + fireGlobals = jQuery.event && s2.global; if (fireGlobals && jQuery.active++ === 0) { jQuery.event.trigger("ajaxStart"); } - s.type = s.type.toUpperCase(); - s.hasContent = !rnoContent.test(s.type); - cacheURL = s.url.replace(rhash, ""); - if (!s.hasContent) { - uncached = s.url.slice(cacheURL.length); - if (s.data && (s.processData || typeof s.data === "string")) { - cacheURL += (rquery.test(cacheURL) ? "&" : "?") + s.data; - delete s.data; + s2.type = s2.type.toUpperCase(); + s2.hasContent = !rnoContent.test(s2.type); + cacheURL = s2.url.replace(rhash, ""); + if (!s2.hasContent) { + uncached = s2.url.slice(cacheURL.length); + if (s2.data && (s2.processData || typeof s2.data === "string")) { + cacheURL += (rquery.test(cacheURL) ? "&" : "?") + s2.data; + delete s2.data; } - if (s.cache === false) { + if (s2.cache === false) { cacheURL = cacheURL.replace(rantiCache, "$1"); uncached = (rquery.test(cacheURL) ? "&" : "?") + "_=" + nonce.guid++ + uncached; } - s.url = cacheURL + uncached; - } else if (s.data && s.processData && (s.contentType || "").indexOf("application/x-www-form-urlencoded") === 0) { - s.data = s.data.replace(r20, "+"); + s2.url = cacheURL + uncached; + } else if (s2.data && s2.processData && (s2.contentType || "").indexOf("application/x-www-form-urlencoded") === 0) { + s2.data = s2.data.replace(r20, "+"); } - if (s.ifModified) { + if (s2.ifModified) { if (jQuery.lastModified[cacheURL]) { jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]); } @@ -5592,47 +5592,47 @@ jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]); } } - if (s.data && s.hasContent && s.contentType !== false || options.contentType) { - jqXHR.setRequestHeader("Content-Type", s.contentType); + if (s2.data && s2.hasContent && s2.contentType !== false || options.contentType) { + jqXHR.setRequestHeader("Content-Type", s2.contentType); } jqXHR.setRequestHeader( "Accept", - s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + (s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "") : s.accepts["*"] + s2.dataTypes[0] && s2.accepts[s2.dataTypes[0]] ? s2.accepts[s2.dataTypes[0]] + (s2.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "") : s2.accepts["*"] ); - for (i in s.headers) { - jqXHR.setRequestHeader(i, s.headers[i]); + for (i2 in s2.headers) { + jqXHR.setRequestHeader(i2, s2.headers[i2]); } - if (s.beforeSend && (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed2)) { + if (s2.beforeSend && (s2.beforeSend.call(callbackContext, jqXHR, s2) === false || completed2)) { return jqXHR.abort(); } strAbort = "abort"; - completeDeferred.add(s.complete); - jqXHR.done(s.success); - jqXHR.fail(s.error); - transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR); + completeDeferred.add(s2.complete); + jqXHR.done(s2.success); + jqXHR.fail(s2.error); + transport = inspectPrefiltersOrTransports(transports, s2, options, jqXHR); if (!transport) { done(-1, "No Transport"); } else { jqXHR.readyState = 1; if (fireGlobals) { - globalEventContext.trigger("ajaxSend", [jqXHR, s]); + globalEventContext.trigger("ajaxSend", [jqXHR, s2]); } if (completed2) { return jqXHR; } - if (s.async && s.timeout > 0) { + if (s2.async && s2.timeout > 0) { timeoutTimer = window2.setTimeout(function() { jqXHR.abort("timeout"); - }, s.timeout); + }, s2.timeout); } try { completed2 = false; transport.send(requestHeaders, done); - } catch (e) { + } catch (e2) { if (completed2) { - throw e; + throw e2; } - done(-1, e); + done(-1, e2); } } function done(status, nativeStatusText, responses, headers) { @@ -5649,15 +5649,15 @@ jqXHR.readyState = status > 0 ? 4 : 0; isSuccess = status >= 200 && status < 300 || status === 304; if (responses) { - response = ajaxHandleResponses(s, jqXHR, responses); + response = ajaxHandleResponses(s2, jqXHR, responses); } - if (!isSuccess && jQuery.inArray("script", s.dataTypes) > -1 && jQuery.inArray("json", s.dataTypes) < 0) { - s.converters["text script"] = function() { + if (!isSuccess && jQuery.inArray("script", s2.dataTypes) > -1 && jQuery.inArray("json", s2.dataTypes) < 0) { + s2.converters["text script"] = function() { }; } - response = ajaxConvert(s, response, jqXHR, isSuccess); + response = ajaxConvert(s2, response, jqXHR, isSuccess); if (isSuccess) { - if (s.ifModified) { + if (s2.ifModified) { modified = jqXHR.getResponseHeader("Last-Modified"); if (modified) { jQuery.lastModified[cacheURL] = modified; @@ -5667,7 +5667,7 @@ jQuery.etag[cacheURL] = modified; } } - if (status === 204 || s.type === "HEAD") { + if (status === 204 || s2.type === "HEAD") { statusText = "nocontent"; } else if (status === 304) { statusText = "notmodified"; @@ -5698,12 +5698,12 @@ if (fireGlobals) { globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [jqXHR, s, isSuccess ? success : error2] + [jqXHR, s2, isSuccess ? success : error2] ); } completeDeferred.fireWith(callbackContext, [jqXHR, statusText]); if (fireGlobals) { - globalEventContext.trigger("ajaxComplete", [jqXHR, s]); + globalEventContext.trigger("ajaxComplete", [jqXHR, s2]); if (!--jQuery.active) { jQuery.event.trigger("ajaxStop"); } @@ -5718,7 +5718,7 @@ return jQuery.get(url, void 0, callback, "script"); } }); - jQuery.each(["get", "post"], function(_i, method) { + jQuery.each(["get", "post"], function(_i2, method) { jQuery[method] = function(url, data, callback, type) { if (isFunction(data)) { type = type || callback; @@ -5734,11 +5734,11 @@ }, jQuery.isPlainObject(url) && url)); }; }); - jQuery.ajaxPrefilter(function(s) { - var i; - for (i in s.headers) { - if (i.toLowerCase() === "content-type") { - s.contentType = s.headers[i] || ""; + jQuery.ajaxPrefilter(function(s2) { + var i2; + for (i2 in s2.headers) { + if (i2.toLowerCase() === "content-type") { + s2.contentType = s2.headers[i2] || ""; } } }); @@ -5786,8 +5786,8 @@ }, wrapInner: function(html) { if (isFunction(html)) { - return this.each(function(i) { - jQuery(this).wrapInner(html.call(this, i)); + return this.each(function(i2) { + jQuery(this).wrapInner(html.call(this, i2)); }); } return this.each(function() { @@ -5801,8 +5801,8 @@ }, wrap: function(html) { var htmlIsFunction = isFunction(html); - return this.each(function(i) { - jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i) : html); + return this.each(function(i2) { + jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i2) : html); }); }, unwrap: function(selector) { @@ -5821,7 +5821,7 @@ jQuery.ajaxSettings.xhr = function() { try { return new window2.XMLHttpRequest(); - } catch (e) { + } catch (e2) { } }; var xhrSuccessStatus = { @@ -5838,7 +5838,7 @@ if (support.cors || xhrSupported && !options.crossDomain) { return { send: function(headers, complete) { - var i, xhr = options.xhr(); + var i2, xhr = options.xhr(); xhr.open( options.type, options.url, @@ -5847,8 +5847,8 @@ options.password ); if (options.xhrFields) { - for (i in options.xhrFields) { - xhr[i] = options.xhrFields[i]; + for (i2 in options.xhrFields) { + xhr[i2] = options.xhrFields[i2]; } } if (options.mimeType && xhr.overrideMimeType) { @@ -5857,8 +5857,8 @@ if (!options.crossDomain && !headers["X-Requested-With"]) { headers["X-Requested-With"] = "XMLHttpRequest"; } - for (i in headers) { - xhr.setRequestHeader(i, headers[i]); + for (i2 in headers) { + xhr.setRequestHeader(i2, headers[i2]); } callback = function(type) { return function() { @@ -5908,9 +5908,9 @@ callback = callback("abort"); try { xhr.send(options.hasContent && options.data || null); - } catch (e) { + } catch (e2) { if (callback) { - throw e; + throw e2; } } }, @@ -5922,9 +5922,9 @@ }; } }); - jQuery.ajaxPrefilter(function(s) { - if (s.crossDomain) { - s.contents.script = false; + jQuery.ajaxPrefilter(function(s2) { + if (s2.crossDomain) { + s2.contents.script = false; } }); jQuery.ajaxSetup({ @@ -5941,20 +5941,20 @@ } } }); - jQuery.ajaxPrefilter("script", function(s) { - if (s.cache === void 0) { - s.cache = false; + jQuery.ajaxPrefilter("script", function(s2) { + if (s2.cache === void 0) { + s2.cache = false; } - if (s.crossDomain) { - s.type = "GET"; + if (s2.crossDomain) { + s2.type = "GET"; } }); - jQuery.ajaxTransport("script", function(s) { - if (s.crossDomain || s.scriptAttrs) { + jQuery.ajaxTransport("script", function(s2) { + if (s2.crossDomain || s2.scriptAttrs) { var script, callback; return { - send: function(_, complete) { - script = jQuery("