mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-27 06:40:42 -05:00
2 lines
No EOL
75 KiB
JavaScript
2 lines
No EOL
75 KiB
JavaScript
(()=>{"use strict";var n={426:(n,e,t)=>{t.d(e,{Z:()=>m});var r=t(537),o=t.n(r),a=t(645),i=t.n(a),c=t(667),A=t.n(c),s=new URL(t(664),t.b),d=new URL(t(962),t.b),l=new URL(t(88),t.b),p=i()(o()),u=A()(s),g=A()(d),h=A()(l);p.push([n.id,`:root {\n --font-size: 18px;\n --light-color: #E8E8E8;\n --dark-color: #495464;\n --rgb-dark-color: 73, 84, 100;\n --rgb-light-color: 232, 232, 232;\n}\n\n@font-face {\n font-family: 'Merriweather Sans';\n src: url(${u}) format('truetype');\n src: url(${g}) format('truetype');\n}\n\n\nbody,\nhtml {\n margin: 0;\n padding: 0;\n font-size: var(--font-size);\n background: url(${h});\n background-size: cover;\n font-family: 'Merriweather Sans';\n color: rgb(var(--rgb-dark-color));\n}\n\nheader {\n min-height: 71px;\n background-color: rgb(var(--rgb-light-color), 0.7);\n color: var(--dark-color);\n border-bottom: 1px solid var(--dark-color);\n}\n\nheader>h1 {\n margin: 0;\n padding: 0;\n margin-bottom: 5px;\n font-weight: 800;\n font-size: 2.3rem;\n}\n\na {\n text-decoration: none;\n color: var(--light-color);\n}\n\na:hover {\n text-decoration: none;\n font-weight: 800;\n}\n\n.container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-content: center;\n}\n\n.nav {\n display: flex;\n justify-content: center;\n align-content: center;\n}\n\n.navbar {\n display: grid;\n grid-template-columns: repeat(3, 110px);\n gap: 15px;\n}\n\n.navbar li {\n list-style-type: none;\n font-size: 1rem;\n cursor: pointer;\n font-weight: 400;\n}\n\n.content {\n display: flex;\n justify-content: center;\n min-height: 90vh;\n margin-top: 150px;\n}\n\n.carousel {\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n color: var(--light-color);\n}\n\n.carousel-item>h1 {\n font-size: 2.5rem;\n font-weight: 800;\n}\n\n.carousel-item>p {\n font-size: 0.9rem;\n font-weight: 200;\n}\n\n.cards {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n}\n\n.cards>.drinks-container>h2,\n.cards>.snacks-container>h2 {\n color: var(--light-color);\n}\n\n.card {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n width: 260px;\n height: 260px;\n padding: 20px;\n background-color: var(--light-color);\n}\n\n.card>h3 {\n padding: 0;\n margin: 0;\n}\n\n.card>p {\n font-weight: 300;\n}\n\n.drinks-container {\n display: grid;\n grid-template-columns: repeat(3, 300px);\n align-items: center;\n gap: 30px;\n}\n\n.drinks-container>h2 {\n grid-column: 1 / span 3;\n align-self: center;\n}\n\n\n.snacks-container {\n display: grid;\n grid-template-columns: repeat(3, 300px);\n align-items: center;\n gap: 30px;\n}\n\n.snacks-container>h2 {\n grid-column: 1 / span 3;\n}\n\n.carousel .slide-hidden {\n display: none;\n}\n\n.contact {\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n color: var(--light-color);\n}\n`,"",{version:3,sources:["webpack://./src/style.css"],names:[],mappings:"AAAA;IACI,iBAAiB;IACjB,sBAAsB;IACtB,qBAAqB;IACrB,6BAA6B;IAC7B,gCAAgC;AACpC;;AAEA;IACI,gCAAgC;IAChC,+DAAuG;IACvG,+DAAgG;AACpG;;;AAGA;;IAEI,SAAS;IACT,UAAU;IACV,2BAA2B;IAC3B,mDAAmC;IACnC,sBAAsB;IACtB,gCAAgC;IAChC,iCAAiC;AACrC;;AAEA;IACI,gBAAgB;IAChB,kDAAkD;IAClD,wBAAwB;IACxB,0CAA0C;AAC9C;;AAEA;IACI,SAAS;IACT,UAAU;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AC7B",sourcesContent:[":root {\n --font-size: 18px;\n --light-color: #E8E8E8;\n --dark-color: #495464;\n --rgb-dark-color: 73, 84, 100;\n --rgb-light-color: 232, 232, 232;\n}\n\n@font-face {\n font-family: 'Merriweather Sans';\n src: url('./assets/Merriweather_Sans/MerriweatherSans-Italic-VariableFont_wght.ttf') format('truetype');\n src: url('./assets/Merriweather_Sans/MerriweatherSans-VariableFont_wght.ttf') format('truetype');\n}\n\n\nbody,\nhtml {\n margin: 0;\n padding: 0;\n font-size: var(--font-size);\n background: url('./background.jpg');\n background-size: cover;\n font-family: 'Merriweather Sans';\n color: rgb(var(--rgb-dark-color));\n}\n\nheader {\n min-height: 71px;\n background-color: rgb(var(--rgb-light-color), 0.7);\n color: var(--dark-color);\n border-bottom: 1px solid var(--dark-color);\n}\n\nheader>h1 {\n margin: 0;\n padding: 0;\n margin-bottom: 5px;\n font-weight: 800;\n font-size: 2.3rem;\n}\n\na {\n text-decoration: none;\n color: var(--light-color);\n}\n\na:hover {\n text-decoration: none;\n font-weight: 800;\n}\n\n.container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-content: center;\n}\n\n.nav {\n display: flex;\n justify-content: center;\n align-content: center;\n}\n\n.navbar {\n display: grid;\n grid-template-columns: repeat(3, 110px);\n gap: 15px;\n}\n\n.navbar li {\n list-style-type: none;\n font-size: 1rem;\n cursor: pointer;\n font-weight: 400;\n}\n\n.content {\n display: flex;\n justify-content: center;\n min-height: 90vh;\n margin-top: 150px;\n}\n\n.carousel {\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n color: var(--light-color);\n}\n\n.carousel-item>h1 {\n font-size: 2.5rem;\n font-weight: 800;\n}\n\n.carousel-item>p {\n font-size: 0.9rem;\n font-weight: 200;\n}\n\n.cards {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n}\n\n.cards>.drinks-container>h2,\n.cards>.snacks-container>h2 {\n color: var(--light-color);\n}\n\n.card {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n width: 260px;\n height: 260px;\n padding: 20px;\n background-color: var(--light-color);\n}\n\n.card>h3 {\n padding: 0;\n margin: 0;\n}\n\n.card>p {\n font-weight: 300;\n}\n\n.drinks-container {\n display: grid;\n grid-template-columns: repeat(3, 300px);\n align-items: center;\n gap: 30px;\n}\n\n.drinks-container>h2 {\n grid-column: 1 / span 3;\n align-self: center;\n}\n\n\n.snacks-container {\n display: grid;\n grid-template-columns: repeat(3, 300px);\n align-items: center;\n gap: 30px;\n}\n\n.snacks-container>h2 {\n grid-column: 1 / span 3;\n}\n\n.carousel .slide-hidden {\n display: none;\n}\n\n.contact {\n height: 80%;\n gap: 20px;\n padding: 100px;\n background: rgb(var(--rgb-dark-color), 0.7);\n border: 1px solid var(--dark-color);\n color: var(--light-color);\n}\n"],sourceRoot:""}]);const m=p},645:n=>{n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t="",r=void 0!==e[5];return e[4]&&(t+="@supports (".concat(e[4],") {")),e[2]&&(t+="@media ".concat(e[2]," {")),r&&(t+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),t+=n(e),r&&(t+="}"),e[2]&&(t+="}"),e[4]&&(t+="}"),t})).join("")},e.i=function(n,t,r,o,a){"string"==typeof n&&(n=[[null,n,void 0]]);var i={};if(r)for(var c=0;c<this.length;c++){var A=this[c][0];null!=A&&(i[A]=!0)}for(var s=0;s<n.length;s++){var d=[].concat(n[s]);r&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),t&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=t):d[2]=t),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),e.push(d))}},e}},667:n=>{n.exports=function(n,e){return e||(e={}),n?(n=String(n.__esModule?n.default:n),/^['"].*['"]$/.test(n)&&(n=n.slice(1,-1)),e.hash&&(n+=e.hash),/["'() \t\n]|(%20)/.test(n)||e.needQuotes?'"'.concat(n.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):n):n}},537:n=>{n.exports=function(n){var e=n[1],t=n[3];if(!t)return e;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(o," */");return[e].concat([a]).join("\n")}return[e].join("\n")}},379:n=>{var e=[];function t(n){for(var t=-1,r=0;r<e.length;r++)if(e[r].identifier===n){t=r;break}return t}function r(n,r){for(var a={},i=[],c=0;c<n.length;c++){var A=n[c],s=r.base?A[0]+r.base:A[0],d=a[s]||0,l="".concat(s," ").concat(d);a[s]=d+1;var p=t(l),u={css:A[1],media:A[2],sourceMap:A[3],supports:A[4],layer:A[5]};if(-1!==p)e[p].references++,e[p].updater(u);else{var g=o(u,r);r.byIndex=c,e.splice(c,0,{identifier:l,updater:g,references:1})}i.push(l)}return i}function o(n,e){var t=e.domAPI(e);return t.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;t.update(n=e)}else t.remove()}}n.exports=function(n,o){var a=r(n=n||[],o=o||{});return function(n){n=n||[];for(var i=0;i<a.length;i++){var c=t(a[i]);e[c].references--}for(var A=r(n,o),s=0;s<a.length;s++){var d=t(a[s]);0===e[d].references&&(e[d].updater(),e.splice(d,1))}a=A}}},569:n=>{var e={};n.exports=function(n,t){var r=function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(n){t=null}e[n]=t}return e[n]}(n);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},216:n=>{n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},565:(n,e,t)=>{n.exports=function(n){var e=t.nc;e&&n.setAttribute("nonce",e)}},795:n=>{n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(t){!function(n,e,t){var r="";t.supports&&(r+="@supports (".concat(t.supports,") {")),t.media&&(r+="@media ".concat(t.media," {"));var o=void 0!==t.layer;o&&(r+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),r+=t.css,o&&(r+="}"),t.media&&(r+="}"),t.supports&&(r+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,n,e.options)}(e,n,t)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}},589:n=>{n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},664:(n,e,t)=>{n.exports=t.p+"05009c5164530cdb9ac0.ttf"},962:(n,e,t)=>{n.exports=t.p+"ee384c85ee67825b545c.ttf"},88:(n,e,t)=>{n.exports=t.p+"2d7cc6f78c63a38a83f2.jpg"}},e={};function t(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={id:r,exports:{}};return n[r](a,a.exports,t),a.exports}t.m=n,t.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},t.d=(n,e)=>{for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),t.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),(()=>{var n;t.g.importScripts&&(n=t.g.location+"");var e=t.g.document;if(!n&&e&&(e.currentScript&&(n=e.currentScript.src),!n)){var r=e.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&!n;)n=r[o--].src}if(!n)throw new Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=n})(),t.b=document.baseURI||self.location.href,t.nc=void 0,(()=>{class n{constructor(n,e,t){this.heading=n,this.desc=e,this.link=t,this._item={heading:this.heading,desc:this.desc,link:this.link}}get item(){return this._item}}let e=[{heading:"Specialty Baked Goods and coffee",desc:"Exclusively delicious baked goods, homemade and all that",link:"Order Now!"}].map((e=>new n(e.heading,e.desc,e.link))),r=new class{constructor(n){this.items=n}carouselDiv=document.createElement("div");createComponent(){let n=0;return this.carouselDiv.classList.add(["carousel"]),this.items.forEach((e=>{let t=document.createElement("div"),r=0===n?["carousel-item","slide-visible"]:["carousel-item","slide-hidden"];t.classList.add(...r);let o=document.createElement("h1"),a=document.createElement("p"),i=document.createElement("a");i.href="#",i.type="button",o.textContent=e.heading,a.textContent=e.desc,i.textContent=e.link,t.appendChild(o),t.appendChild(a),t.appendChild(i),this.carouselDiv.appendChild(t),n+=1})),this.carouselDiv}}(e);function o(){const n=document.createElement("div");n.classList.add(["nav"]);const e=document.createElement("ul");return e.classList.add("navbar"),["HOME","MENU","CONTACT"].forEach((n=>{let t=document.createElement("li");t.textContent=n,e.appendChild(t)})),n.appendChild(e),n}const a=[{item:"latte",desc:"A nice homemade latte from the Breville."},{item:"nespresso",desc:"a nespresso pod coffee"},{item:"tea",desc:"a steeped tea for ninjas"}],i=[{item:"cookies",desc:"homemade chocolate chip cookies or another delicious treat"},{item:"pumpkin cake",desc:"homemade pumpkin cake, leaving you wanting more"},{item:"cinnamon rolls",desc:"delicious mouth watering cinnamon rolls"}];function c(n){return n.map((n=>{let e=document.createElement("div");e.classList.add(["card"]);let t=document.createElement("h3"),r=document.createElement("p");return t.textContent=n.item,r.textContent=n.desc,e.appendChild(t),e.appendChild(r),e}))}var A=t(379),s=t.n(A),d=t(795),l=t.n(d),p=t(569),u=t.n(p),g=t(565),h=t.n(g),m=t(216),C=t.n(m),f=t(589),B=t.n(f),v=t(426),I={};I.styleTagTransform=B(),I.setAttributes=h(),I.insert=u().bind(null,"head"),I.domAPI=l(),I.insertStyleElement=C(),s()(v.Z,I),v.Z&&v.Z.locals&&v.Z.locals;let b=r.createComponent();function x(n="home"){let e,t=b,r=function(){const n=document.createElement("div"),e=document.createElement("div"),t=document.createElement("div");n.classList.add(["cards"]),e.classList.add("drinks-container"),t.classList.add("snacks-container");const r=document.createElement("h2"),o=document.createElement("h2");r.classList.add(["header","drink-header"]),o.classList.add(["header","snack-header"]),r.textContent="Drinks",o.textContent="Snacks";let A=c(a),s=c(i);return e.appendChild(r),A.forEach((n=>e.appendChild(n))),t.appendChild(o),s.forEach((n=>t.appendChild(n))),n.appendChild(e),n.appendChild(t),n}(),o=function(){let n=document.createElement("contact");n.classList.add(["contact"]);let e=document.createElement("h2");e.textContent="This Wondrous Life";let t=document.createElement("p");return t.textContent="https://thiswondrouslife.com",n.appendChild(e),n.appendChild(t),n}();switch(n.toLowerCase()){case"menu":e=y(r);break;case"contact":e=y(o);break;default:e=y(t)}document.body.appendChild(e)}function y(n){const e=document.querySelector(".content");e&&(e.textContent="",document.body.removeChild(e));const t=document.createElement("div");return t.classList.add("content"),t.appendChild(n),t}document.body.appendChild(function(){const n=document.createElement("header"),e=document.createElement("h1");let t=new o;return t.addEventListener("click",(n=>x(n.target.outerText))),e.style.textAlign="center",e.textContent="This Wondrous Coffee",n.appendChild(e),n.appendChild(t),n}()),x()})()})();
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVuZGxlLmpzIiwibWFwcGluZ3MiOiJtSEFJSUEsRUFBZ0MsSUFBSUMsSUFBSSxZQUN4Q0Ms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uXG4gICAgICAgICAgICBsZXQgaGVhZGluZyA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2gxJyk7XG4gICAgICAgICAgICBsZXQgZGVzYyA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3AnKTtcbiAgICAgICAgICAgIGxldCBsaW5rID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnYScpO1xuICAgICAgICAgICAgbGluay5ocmVmID0gJyMnO1xuICAgICAgICAgICAgbGluay50eXBlID0gJ2J1dHRvbic7XG5cbiAgICAgICAgICAgIGhlYWRpbmcudGV4dENvbnRlbnQgPSBlbGVtZW50LmhlYWRpbmc7XG4gICAgICAgICAgICBkZXNjLnRleHRDb250ZW50ID0gZWxlbWVudC5kZXNjO1xuICAgICAgICAgICAgbGluay50ZXh0Q29udGVudCA9IGVsZW1lbnQubGluaztcblxuICAgICAgICAgICAgZGl2LmFwcGVuZENoaWxkKGhlYWRpbmcpO1xuICAgICAgICAgICAgZGl2LmFwcGVuZENoaWxkKGRlc2MpO1xuICAgICAgICAgICAgZGl2LmFwcGVuZENoaWxkKGxpbmspO1xuXG4gICAgICAgICAgICB0aGlzLmNhcm91c2VsRGl2LmFwcGVuZENoaWxkKGRpdik7XG4gICAgICAgICAgICBjb3VudCArPSAxO1xuICAgICAgICB9KTtcbiAgICAgICAgcmV0dXJuIHRoaXMuY2Fyb3VzZWxEaXY7XG4gICAgfTtcbn07XG5cblxuY2xhc3MgSXRlbXMge1xuICAgIGNvbnN0cnVjdG9yKGhlYWRpbmcsIGRlc2MsIGxpbmspIHtcbiAgICAgICAgdGhpcy5oZWFkaW5nID0gaGVhZGluZztcbiAgICAgICAgdGhpcy5kZXNjID0gZGVzYztcbiAgICAgICAgdGhpcy5saW5rID0gbGluaztcblxuICAgICAgICB0aGlzLl9pdGVtID0ge1xuICAgICAgICAgICAgaGVhZGluZzogdGhpcy5oZWFkaW5nLFxuICAgICAgICAgICAgZGVzYzogdGhpcy5kZXNjLFxu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pb24gbG9hZFBhZ2UocGFnZT0naG9tZScpIHtcbiAgICBsZXQgaG9tZSA9IF9jYXJvdXNlbDtcbiAgICBsZXQgbWVudSA9IG1lbnVDb21wb25lbnQoKTtcbiAgICBsZXQgY29udGFjdCA9IGNvbnRhY3RDb21wb25lbnQoKTtcbiAgICBsZXQgY29udGVudERhdGE7XG5cbiAgICBzd2l0Y2gocGFnZS50b0xvd2VyQ2FzZSgpKXtcbiAgICAgICAgY2FzZSAnbWVudSc6XG4gICAgICAgICAgICBjb250ZW50RGF0YSA9IGNvbnRlbnQobWVudSk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSAnY29udGFjdCc6XG4gICAgICAgICAgICBjb250ZW50RGF0YSA9IGNvbnRlbnQoY29udGFjdCk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGNvbnRlbnREYXRhID0gY29udGVudChob21lKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICBcbiAgICB9ICAgICAgICBcbiAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGNvbnRlbnREYXRhKTtcbn1cblxuZnVuY3Rpb24gY29udGVudChkYXRhKSB7XG4gICAgY29uc3Qgb2xkID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignLmNvbnRlbnQnKTtcbiAgICBpZiAob2xkKSB7XG4gICAgICAgIG9sZC50ZXh0Q29udGVudCA9ICcnO1xuICAgICAgICBkb2N1bWVudC5ib2R5LnJlbW92ZUNoaWxkKG9sZCk7XG4gICAgfVxuICAgIGNvbnN0IF9jb250ZW50ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7XG4gICAgX2NvbnRlbnQuY2xhc3NMaXN0LmFkZCgnY29udGVudCcpO1xuICAgIF9jb250ZW50LmFwcGVuZENoaWxkKGRhdGEpO1xuICAgIFxuICAgIHJldHVybiBfY29udGVudDtcblxufTtcblxud2Vic2l0ZSgpO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