Skip to content

Commit

Permalink
Commit assets for release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Aug 27, 2024
1 parent f834c1d commit 11a1170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/html/assets.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub const INDEX : & str = "<link href=\"assets/ui.79764675.css\" type=\"text/css\" rel=\"stylesheet\"><script type=\"module\" src=\"assets/ui.b047d601.js\"></script><script src=\"assets/ui.c7940a4a.js\" nomodule defer></script>" ; pub const CSS_NAME : & str = "ui.79764675.css" ; pub const CSS : & str = "*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:\"\"}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{color:inherit;border-top-width:1px;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.top-0{top:0}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.m-1{margin:.25rem}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.min-h-screen{min-height:100vh}.w-4\\/5{width:80%}.w-full{width:100%}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.flex-col{flex-direction:column}.place-content-end{place-content:end}.overflow-x-auto{overflow-x:auto}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-theme-purple{--tw-border-opacity:1;border-color:rgb(108 91 124/var(--tw-border-opacity))}.bg-theme-purple{--tw-bg-opacity:1;background-color:rgb(108 91 124/var(--tw-bg-opacity))}.bg-theme-rose-light{--tw-bg-opacity:1;background-color:rgb(214 161 168/var(--tw-bg-opacity))}.bg-theme-salmon-light{--tw-bg-opacity:1;background-color:rgb(241 187 191/var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-bold{font-weight:700}.leading-none{line-height:1}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-theme-salmon-light{--tw-text-opacity:1;color:rgb(241 187 191/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.drop-shadow-xl{--tw-drop-shadow:drop-shadow(0 20px 13px #00000008)drop-shadow(0 8px 5px #00000014);filter:var(--tw-blur)var(--tw-brightness)var(--tw-contrast)var(--tw-grayscale)var(--tw-hue-rotate)var(--tw-invert)var(--tw-saturate)var(--tw-sepia)var(--tw-drop-shadow)}.visited\\:text-purple-600:visited{color:#9333ea}.hover\\:bg-theme-orange:hover{--tw-bg-opacity:1;background-color:rgb(248 181 149/var(--tw-bg-opacity))}.hover\\:text-blue-800:hover{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.hover\\:after\\:content-\\[\\'_§\\'\\]:hover:after{--tw-content:\" §\";content:var(--tw-content)}\n/*# sourceMappingURL=ui.79764675.css.map */\n" ; pub const CSS_MAP : & str = "{\"mappings\":\"ACKE,8DAOD,+BAWC,yRAaA,kCAOA,+CAMA,8FAIA,wDAUA,wGAKA,4BAQA,gMAUA,oBAIA,8EAMD,kBAEA,cAMC,kEAQA,uOAiBA,kCAMA,8JASA,6BAIA,iCAIA,iCAIA,wCAAA,wCAMA,+DAKA,oDAKA,oEAKA,0BAIA,4DAcD,4BAGA,iBAEA,8CAQC,iBAIA,yBAKA,iEAMA,oCAKA,yBAMA,mFAYA,qCAIwE,sBAEzE,8lCAwGA,6BAEA,4BAEA,4BAEA,iBAEA,aAEA,iCAEA,8BAEA,mBAEA,mBAEA,qBAEA,mBAEA,qBAEA,+BAEA,kBAEA,mBAEA,kBAEA,gCAEA,wCAEA,sCAEA,gCAEA,qCAEA,iCAEA,oEAIA,yBAEA,+BAEA,mCAEA,qFAGA,iGAGA,yFAGA,8FAGA,gGAGA,oBAEA,mBAEA,2BAEA,+BAEA,4CAGA,iDAGA,2BAEA,4BAEA,+EAGA,2FAGA,0CAEA,6QAGA,gDAEA,uGAGA,4FAGA\",\"sources\":[\"ui.79764675.css\",\"ui/index.css\"],\"sourcesContent\":[\"*, :before, :after {\\n box-sizing: border-box;\\n border: 0 solid #e5e7eb;\\n}\\n\\n:before, :after {\\n --tw-content: \\\"\\\";\\n}\\n\\nhtml, :host {\\n -webkit-text-size-adjust: 100%;\\n tab-size: 4;\\n font-feature-settings: normal;\\n font-variation-settings: normal;\\n -webkit-tap-highlight-color: transparent;\\n font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;\\n line-height: 1.5;\\n}\\n\\nbody {\\n line-height: inherit;\\n margin: 0;\\n}\\n\\nhr {\\n color: inherit;\\n border-top-width: 1px;\\n height: 0;\\n}\\n\\nabbr:where([title]) {\\n text-decoration: underline dotted;\\n}\\n\\nh1, h2, h3, h4, h5, h6 {\\n font-size: inherit;\\n font-weight: inherit;\\n}\\n\\na {\\n color: inherit;\\n -webkit-text-decoration: inherit;\\n text-decoration: inherit;\\n}\\n\\nb, strong {\\n font-weight: bolder;\\n}\\n\\ncode, kbd, samp, pre {\\n font-feature-settings: normal;\\n font-variation-settings: normal;\\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;\\n font-size: 1em;\\n}\\n\\nsmall {\\n font-size: 80%;\\n}\\n\\nsub, sup {\\n vertical-align: baseline;\\n font-size: 75%;\\n line-height: 0;\\n position: relative;\\n}\\n\\nsub {\\n bottom: -.25em;\\n}\\n\\nsup {\\n top: -.5em;\\n}\\n\\ntable {\\n text-indent: 0;\\n border-color: inherit;\\n border-collapse: collapse;\\n}\\n\\nbutton, input, optgroup, select, textarea {\\n font-feature-settings: inherit;\\n font-variation-settings: inherit;\\n font-family: inherit;\\n font-size: 100%;\\n font-weight: inherit;\\n line-height: inherit;\\n letter-spacing: inherit;\\n color: inherit;\\n margin: 0;\\n padding: 0;\\n}\\n\\nbutton, select {\\n text-transform: none;\\n}\\n\\nbutton, input:where([type=\\\"button\\\"]), input:where([type=\\\"reset\\\"]), input:where([type=\\\"submit\\\"]) {\\n -webkit-appearance: button;\\n background-color: #0000;\\n background-image: none;\\n}\\n\\n:-moz-focusring {\\n outline: auto;\\n}\\n\\n:-moz-ui-invalid {\\n box-shadow: none;\\n}\\n\\nprogress {\\n vertical-align: baseline;\\n}\\n\\n::-webkit-inner-spin-button {\\n height: auto;\\n}\\n\\n::-webkit-outer-spin-button {\\n height: auto;\\n}\\n\\n[type=\\\"search\\\"] {\\n -webkit-appearance: textfield;\\n outline-offset: -2px;\\n}\\n\\n::-webkit-search-decoration {\\n -webkit-appearance: none;\\n}\\n\\n::-webkit-file-upload-button {\\n -webkit-appearance: button;\\n font: inherit;\\n}\\n\\nsummary {\\n display: list-item;\\n}\\n\\nblockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {\\n margin: 0;\\n}\\n\\nfieldset {\\n margin: 0;\\n padding: 0;\\n}\\n\\nlegend {\\n padding: 0;\\n}\\n\\nol, ul, menu {\\n margin: 0;\\n padding: 0;\\n list-style: none;\\n}\\n\\ndialog {\\n padding: 0;\\n}\\n\\ntextarea {\\n resize: vertical;\\n}\\n\\ninput::placeholder, textarea::placeholder {\\n opacity: 1;\\n color: #9ca3af;\\n}\\n\\nbutton, [role=\\\"button\\\"] {\\n cursor: pointer;\\n}\\n\\n:disabled {\\n cursor: default;\\n}\\n\\nimg, svg, video, canvas, audio, iframe, embed, object {\\n vertical-align: middle;\\n display: block;\\n}\\n\\nimg, video {\\n max-width: 100%;\\n height: auto;\\n}\\n\\n[hidden] {\\n display: none;\\n}\\n\\n*, :before, :after, ::backdrop {\\n --tw-border-spacing-x: 0;\\n --tw-border-spacing-y: 0;\\n --tw-translate-x: 0;\\n --tw-translate-y: 0;\\n --tw-rotate: 0;\\n --tw-skew-x: 0;\\n --tw-skew-y: 0;\\n --tw-scale-x: 1;\\n --tw-scale-y: 1;\\n --tw-pan-x: ;\\n --tw-pan-y: ;\\n --tw-pinch-zoom: ;\\n --tw-scroll-snap-strictness: proximity;\\n --tw-gradient-from-position: ;\\n --tw-gradient-via-position: ;\\n --tw-gradient-to-position: ;\\n --tw-ordinal: ;\\n --tw-slashed-zero: ;\\n --tw-numeric-figure: ;\\n --tw-numeric-spacing: ;\\n --tw-numeric-fraction: ;\\n --tw-ring-inset: ;\\n --tw-ring-offset-width: 0px;\\n --tw-ring-offset-color: #fff;\\n --tw-ring-color: #3b82f680;\\n --tw-ring-offset-shadow: 0 0 #0000;\\n --tw-ring-shadow: 0 0 #0000;\\n --tw-shadow: 0 0 #0000;\\n --tw-shadow-colored: 0 0 #0000;\\n --tw-blur: ;\\n --tw-brightness: ;\\n --tw-contrast: ;\\n --tw-grayscale: ;\\n --tw-hue-rotate: ;\\n --tw-invert: ;\\n --tw-saturate: ;\\n --tw-sepia: ;\\n --tw-drop-shadow: ;\\n --tw-backdrop-blur: ;\\n --tw-backdrop-brightness: ;\\n --tw-backdrop-contrast: ;\\n --tw-backdrop-grayscale: ;\\n --tw-backdrop-hue-rotate: ;\\n --tw-backdrop-invert: ;\\n --tw-backdrop-opacity: ;\\n --tw-backdrop-saturate: ;\\n --tw-backdrop-sepia: ;\\n --tw-contain-size: ;\\n --tw-contain-layout: ;\\n --tw-contain-paint: ;\\n --tw-contain-style: ;\\n}\\n\\n.invisible {\\n visibility: hidden;\\n}\\n\\n.absolute {\\n position: absolute;\\n}\\n\\n.relative {\\n position: relative;\\n}\\n\\n.right-0 {\\n right: 0;\\n}\\n\\n.top-0 {\\n top: 0;\\n}\\n\\n.col-start-1 {\\n grid-column-start: 1;\\n}\\n\\n.row-start-1 {\\n grid-row-start: 1;\\n}\\n\\n.m-1 {\\n margin: .25rem;\\n}\\n\\n.flex {\\n display: flex;\\n}\\n\\n.table {\\n display: table;\\n}\\n\\n.grid {\\n display: grid;\\n}\\n\\n.hidden {\\n display: none;\\n}\\n\\n.min-h-screen {\\n min-height: 100vh;\\n}\\n\\n.w-4\\\\/5 {\\n width: 80%;\\n}\\n\\n.w-full {\\n width: 100%;\\n}\\n\\n.grow {\\n flex-grow: 1;\\n}\\n\\n.table-fixed {\\n table-layout: fixed;\\n}\\n\\n.list-inside {\\n list-style-position: inside;\\n}\\n\\n.list-decimal {\\n list-style-type: decimal;\\n}\\n\\n.flex-col {\\n flex-direction: column;\\n}\\n\\n.place-content-end {\\n place-content: end;\\n}\\n\\n.overflow-x-auto {\\n overflow-x: auto;\\n}\\n\\n.truncate {\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n}\\n\\n.border {\\n border-width: 1px;\\n}\\n\\n.border-t {\\n border-top-width: 1px;\\n}\\n\\n.border-dashed {\\n border-style: dashed;\\n}\\n\\n.border-black {\\n --tw-border-opacity: 1;\\n border-color: rgb(0 0 0 / var(--tw-border-opacity));\\n}\\n\\n.border-theme-purple {\\n --tw-border-opacity: 1;\\n border-color: rgb(108 91 124 / var(--tw-border-opacity));\\n}\\n\\n.bg-theme-purple {\\n --tw-bg-opacity: 1;\\n background-color: rgb(108 91 124 / var(--tw-bg-opacity));\\n}\\n\\n.bg-theme-rose-light {\\n --tw-bg-opacity: 1;\\n background-color: rgb(214 161 168 / var(--tw-bg-opacity));\\n}\\n\\n.bg-theme-salmon-light {\\n --tw-bg-opacity: 1;\\n background-color: rgb(241 187 191 / var(--tw-bg-opacity));\\n}\\n\\n.p-1 {\\n padding: .25rem;\\n}\\n\\n.p-2 {\\n padding: .5rem;\\n}\\n\\n.text-left {\\n text-align: left;\\n}\\n\\n.text-center {\\n text-align: center;\\n}\\n\\n.text-2xl {\\n font-size: 1.5rem;\\n line-height: 2rem;\\n}\\n\\n.text-3xl {\\n font-size: 1.875rem;\\n line-height: 2.25rem;\\n}\\n\\n.font-bold {\\n font-weight: 700;\\n}\\n\\n.leading-none {\\n line-height: 1;\\n}\\n\\n.text-blue-600 {\\n --tw-text-opacity: 1;\\n color: rgb(37 99 235 / var(--tw-text-opacity));\\n}\\n\\n.text-theme-salmon-light {\\n --tw-text-opacity: 1;\\n color: rgb(241 187 191 / var(--tw-text-opacity));\\n}\\n\\n.underline {\\n text-decoration-line: underline;\\n}\\n\\n.drop-shadow-xl {\\n --tw-drop-shadow: drop-shadow(0 20px 13px #00000008) drop-shadow(0 8px 5px #00000014);\\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\\n}\\n\\n.visited\\\\:text-purple-600:visited {\\n color: #9333ea;\\n}\\n\\n.hover\\\\:bg-theme-orange:hover {\\n --tw-bg-opacity: 1;\\n background-color: rgb(248 181 149 / var(--tw-bg-opacity));\\n}\\n\\n.hover\\\\:text-blue-800:hover {\\n --tw-text-opacity: 1;\\n color: rgb(30 64 175 / var(--tw-text-opacity));\\n}\\n\\n.hover\\\\:after\\\\:content-\\\\[\\\\'_§\\\\'\\\\]:hover:after {\\n --tw-content: \\\" §\\\";\\n content: var(--tw-content);\\n}\\n/*# sourceMappingURL=ui.79764675.css.map */\\n\",\"@tailwind base;\\n@tailwind components;\\n@tailwind utilities;\\n\"],\"names\":[],\"version\":3,\"file\":\"ui.79764675.css.map\",\"sourceRoot\":\"../../\"}" ; pub const JS_NAME : & str = "ui.b047d601.js" ; pub const JS : & str = "class e extends HTMLElement{connectedCallback(){let e=this.querySelector('[data-target = \"copy\"]'),t=this.querySelector('[data-target = \"state0\"]'),a=this.querySelector('[data-target = \"state1\"]');if(!(e&&t&&a))return;let i=()=>{t.classList.toggle(\"invisible\"),a.classList.toggle(\"invisible\")};e.addEventListener(\"click\",e=>{e.preventDefault();let t=this.querySelector('[data-target = \"content\"]'),a=t?.textContent;a&&(navigator.clipboard.writeText(a),i(),window.setTimeout(i,1e3))}),e.classList.remove(\"hidden\")}}window.customElements.define(\"mg-copy\",e);\n//# sourceMappingURL=ui.b047d601.js.map\n" ; pub const JS_MAP : & str = "{\"mappings\":\"ACAA,MAAM,UAAa,YACjB,mBAAoB,CAClB,IAAI,EAAS,IAAI,CAAC,aAAa,CAAC,0BAC5B,EAAS,IAAI,CAAC,aAAa,CAAC,4BAC5B,EAAS,IAAI,CAAC,aAAa,CAAC,4BAEhC,GAAI,CAAE,CAAA,GAAU,GAAU,CAAA,EACxB,OAGF,IAAM,EAAY,KAChB,EAAO,SAAS,CAAC,MAAM,CAAC,aACxB,EAAO,SAAS,CAAC,MAAM,CAAC,YAC1B,EAEA,EAAO,gBAAgB,CAAC,QAAS,AAAC,IAChC,EAAI,cAAc,GAElB,IAAI,EAAU,IAAI,CAAC,aAAa,CAAC,6BAC7B,EAAO,GAAS,YACf,IAIL,UAAU,SAAS,CAAC,SAAS,CAAC,GAE9B,IACA,OAAO,UAAU,CAAC,EAAW,KAC/B,GAEA,EAAO,SAAS,CAAC,MAAM,CAAC,SAC1B,CACF,CAEA,OAAO,cAAc,CAAC,MAAM,CAAC,UAAW\",\"sources\":[\"<anon>\",\"ui/index.ts\"],\"sourcesContent\":[\"var $8a162d157fa43b4b$exports = {};\\nclass $8a162d157fa43b4b$var$Copy extends HTMLElement {\\n connectedCallback() {\\n let button = this.querySelector('[data-target = \\\"copy\\\"]');\\n let state0 = this.querySelector('[data-target = \\\"state0\\\"]');\\n let state1 = this.querySelector('[data-target = \\\"state1\\\"]');\\n if (!(button && state0 && state1)) return;\\n const swapState = ()=>{\\n state0.classList.toggle(\\\"invisible\\\");\\n state1.classList.toggle(\\\"invisible\\\");\\n };\\n button.addEventListener(\\\"click\\\", (evt)=>{\\n evt.preventDefault();\\n let content = this.querySelector('[data-target = \\\"content\\\"]');\\n let text = content?.textContent;\\n if (!text) return;\\n navigator.clipboard.writeText(text);\\n swapState();\\n window.setTimeout(swapState, 1000);\\n });\\n button.classList.remove(\\\"hidden\\\");\\n }\\n}\\nwindow.customElements.define(\\\"mg-copy\\\", $8a162d157fa43b4b$var$Copy);\\n\\n\\n//# sourceMappingURL=ui.b047d601.js.map\\n\",\"class Copy extends HTMLElement {\\n connectedCallback() {\\n let button = this.querySelector('[data-target = \\\"copy\\\"]');\\n let state0 = this.querySelector('[data-target = \\\"state0\\\"]');\\n let state1 = this.querySelector('[data-target = \\\"state1\\\"]');\\n\\n if (!(button && state0 && state1)) {\\n return;\\n }\\n\\n const swapState = () => {\\n state0.classList.toggle(\\\"invisible\\\");\\n state1.classList.toggle(\\\"invisible\\\");\\n };\\n\\n button.addEventListener(\\\"click\\\", (evt) => {\\n evt.preventDefault();\\n\\n let content = this.querySelector('[data-target = \\\"content\\\"]');\\n let text = content?.textContent;\\n if (!text) {\\n return;\\n }\\n\\n navigator.clipboard.writeText(text);\\n\\n swapState();\\n window.setTimeout(swapState, 1000);\\n });\\n\\n button.classList.remove(\\\"hidden\\\");\\n }\\n}\\n\\nwindow.customElements.define(\\\"mg-copy\\\", Copy);\\n\"],\"names\":[\"$8a162d157fa43b4b$var$Copy\",\"HTMLElement\",\"connectedCallback\",\"button\",\"querySelector\",\"state0\",\"state1\",\"swapState\",\"classList\",\"toggle\",\"addEventListener\",\"evt\",\"preventDefault\",\"content\",\"text\",\"textContent\",\"navigator\",\"clipboard\",\"writeText\",\"window\",\"setTimeout\",\"remove\",\"customElements\",\"define\"],\"version\":3,\"file\":\"ui.b047d601.js.map\",\"sourceRoot\":\"../../\"}" ;

0 comments on commit 11a1170

Please sign in to comment.