var app=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function c(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let i,l;function s(t,e){t.appendChild(e)}function a(t,e,n){t.insertBefore(e,n||null)}function u(t){t.parentNode.removeChild(t)}function f(t){return document.createElement(t)}function d(){return t=" ",document.createTextNode(t);var t}function p(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function g(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function m(t,e,n,o){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,o?"important":"")}function h(t,e){for(let n=0;n{const o=n.length?n[0]:e;return h.ctx&&f(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),v&&L(c,t)),e})):[],h.update(),v=!0,o(h.before_update),h.fragment=!!a&&a(h.ctx),i.target){if(i.hydrate){const t=function(t){return Array.from(t.childNodes)}(i.target);h.fragment&&h.fragment.l(t),t.forEach(u)}else h.fragment&&h.fragment.c();i.intro&&(($=c.$$.fragment)&&$.i&&(A.delete($),$.i(_))),function(t,n,c,i){const{fragment:l,on_mount:s,on_destroy:a,after_update:u}=t.$$;l&&l.m(n,c),i||w((()=>{const n=s.map(e).filter(r);a?a.push(...n):o(n),t.$$.on_mount=[]})),u.forEach(w)}(c,i.target,i.anchor,i.customElement),C()}var $,_;y(m)}function O(e){let n;return{c(){n=f("div"),n.innerHTML='
\n\t\t\t\t
i love you forever
',g(n,"id","collage")},m(t,e){a(t,n,e)},p:t,d(t){t&&u(n)}}}function P(t){let e,n,r,c,l,y,v,$,_,x,b,k,E,j,C,q,A;return{c(){var o,s;e=f("div"),n=f("div"),r=f("img"),l=d(),y=f("h1"),y.textContent="will you marry me, alexandria?",v=d(),$=f("select"),_=f("option"),_.textContent="select an answer",x=f("option"),x.textContent="yes",b=f("option"),b.textContent="no",k=d(),E=f("p"),j=d(),C=f("button"),C.textContent="answer chris",g(r,"alt",""),o=r.src,s=c="images/bg.jpg",i||(i=document.createElement("a")),i.href=s,o!==i.href&&g(r,"src","images/bg.jpg"),m(r,"width","300px"),m(r,"height","300px"),g(r,"class","svelte-knl2yc"),m(y,"margin-bottom","20px"),g(y,"class","svelte-knl2yc"),_.__value="",_.value=_.__value,x.__value="yes",x.value=x.__value,b.__value="no",b.value=b.__value,g($,"name","q1"),g($,"id","q1"),g($,"class","svelte-knl2yc"),void 0===t[1]&&w((()=>t[3].call($))),g(C,"class","svelte-knl2yc"),m(n,"width","100%"),m(n,"padding","40px"),m(e,"display","flex"),m(e,"flex-direction","row"),m(e,"justify-content","space-between"),m(e,"align-items","center"),m(e,"height","100vh")},m(o,c){a(o,e,c),s(e,n),s(n,r),s(n,l),s(n,y),s(n,v),s(n,$),s($,_),s($,x),s($,b),h($,t[1]),s(n,k),s(n,E),s(n,j),s(n,C),q||(A=[p($,"change",t[3]),p(C,"click",t[4])],q=!0)},p(t,e){2&e&&h($,t[1])},d(t){t&&u(e),q=!1,o(A)}}}function S(e){let n;function o(t,e){return t[0]?O:P}let r=o(e),c=r(e);return{c(){n=f("main"),c.c(),g(n,"class","svelte-knl2yc")},m(t,e){a(t,n,e),c.m(n,null)},p(t,[e]){r===(r=o(t))&&c?c.p(t,e):(c.d(1),c=r(t),c&&(c.c(),c.m(n,null)))},i:t,o:t,d(t){t&&u(n),c.d()}}}function M(t,e,n){let o,r=!1;const c=()=>{"yes"===o?(alert("congratulations, mrs. aitken"),n(0,r=!0)):alert("that doesn't seem right... try again!")};return[r,o,c,function(){o=function(t){const e=t.querySelector(":checked")||t.options[0];return e&&e.__value}(this),n(1,o)},()=>{c()}]}return new class extends class{$destroy(){!function(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}{constructor(t){super(),N(this,t,M,S,c,{})}}({target:document.body,props:{name:"world"}})}(); //# sourceMappingURL=bundle.js.map