(window.webpackJsonp=window.webpackJsonp||[]).push([[16,10,11,14],{1308:function(t,e,o){"use strict";o.r(e);o(15),o(40),o(41);var r={},n=(o(798),o(28)),l=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-wrapper"},[e("div",{staticClass:"modal"},[t._t("default")],2),t._v(" "),e("div",{staticClass:"modal-bg",on:{click:function(e){return t.$emit("close")}}})])}),[],!1,null,"fb1347de",null).exports,d=o(336),c=(o(800),{components:{Modal:l,RoundSlider:function(){return o.e(67).then(o.bind(null,1288))},VueSlider:function(){return o.e(7).then(o.t.bind(null,1289,7))}},props:{src:{type:String,required:!0},title:{type:String,required:!0}},data:function(){return{isPlaying:!1,volume:0,showModal:!1,sound:null}},computed:{rangeColor:function(){return this.volume<=33?"#1ec900":this.volume<=66?"#dec800":"#de0000"}},beforeDestroy:function(){this.sound&&this.sound.unload()},methods:{startSound:function(){this.sound||(this.sound=new d.Howl({src:["/ambient-chaos/sounds/".concat(this.src,".mp3")],volume:0,loop:!0})),this.isPlaying||(this.sound.play(),this.isPlaying=!0)},hideModal:function(){this.showModal=!1},onIconClick:function(){this.startSound(),this.showModal=!0},onVolumeChange:function(t){this.startSound(),this.sound.volume(t/100),this.isPlaying=!0}},watch:{volume:function(){this.onVolumeChange(this.volume)}}}),f=(o(802),o(804),{components:{sound:Object(n.a)(c,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"wrapper"},[e("img",{staticClass:"icon",style:{opacity:0===t.volume?.5:1},attrs:{src:"/ambient-chaos/icons/".concat(t.src,".svg")}}),t._v(" "),e("client-only",[e("round-slider",{attrs:{"start-angle":"315","end-angle":"+270","line-cap":"round",radius:"120",tooltipColor:"white",editableTooltip:!1,rangeColor:"#FF9979",pathColor:"rgba(255,255,255,.4)",borderColor:"red",handleSize:25},model:{value:t.volume,callback:function(e){t.volume=e},expression:"volume"}})],1),t._v(" "),e("div",{staticClass:"info"},[e("div",{staticClass:"volume"},[t._v(t._s(t.volume))]),t._v("\n "+t._s(t.title)+"\n ")])],1),t._v(" "),e("div",{staticClass:"wrapper-mobile"},[t.showModal?e("Modal",{on:{close:t.hideModal}},[e("div",{staticClass:"modal-title"},[t._v(t._s(t.title)+" Volume")]),t._v(" "),e("client-only",[e("vue-slider",{attrs:{tooltip:"none",dotStyle:{background:"#FF9979",border:"none"},dotSize:30,focusStyle:{border:"none"},processStyle:{background:"#FF9979"},railStyle:{height:"12px",border:"1px solid black"}},on:{change:t.onVolumeChange},model:{value:t.volume,callback:function(e){t.volume=e},expression:"volume"}})],1)],1):t._e(),t._v(" "),e("div",{staticClass:"circle-mobile",style:{borderColor:0===t.volume?"rgba(255, 255, 255, .5)":"rgba(255, 255, 255, 1)"},on:{click:t.onIconClick}},[e("img",{staticClass:"icon-mobile",style:{opacity:0===t.volume?.5:1},attrs:{src:"/ambient-chaos/icons/".concat(t.src,".svg")}})]),t._v(" "),e("div",{staticClass:"title-mobile"},[t._v(t._s(t.title))])],1)])}),[],!1,null,"29abab7e",null).exports},mounted:function(){}}),v=(o(806),Object(n.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("nuxt-link",{staticClass:"site-link",attrs:{to:"/"}},[e("logo",{attrs:{color:"white"}})],1),t._v(" "),e("div",{staticClass:"rain"}),t._v(" "),e("div",{staticClass:"content"},[e("img",{staticClass:"logo",attrs:{src:"/ambient-chaos/logo.svg"}}),t._v(" "),e("div",{staticClass:"sounds"},[e("sound",{attrs:{title:"Rain",src:"rain"}}),t._v(" "),e("sound",{attrs:{title:"Coffee Shop",src:"coffee-shop"}}),t._v(" "),e("sound",{attrs:{title:"Lofi Beats",src:"lofi-beats"}}),t._v(" "),e("sound",{attrs:{title:"Waves",src:"waves"}}),t._v(" "),e("sound",{attrs:{title:"Campfire",src:"campfire"}}),t._v(" "),e("sound",{attrs:{title:"Wind",src:"wind"}}),t._v(" "),e("sound",{attrs:{title:"Forest",src:"forest"}}),t._v(" "),e("sound",{attrs:{title:"Train Station",src:"train-station"}}),t._v(" "),e("sound",{attrs:{title:"Highway",src:"highway"}}),t._v(" "),e("sound",{attrs:{title:"Office",src:"office"}}),t._v(" "),e("sound",{attrs:{title:"Dentist",src:"dentist"}}),t._v(" "),e("sound",{attrs:{title:"Playground",src:"playground"}}),t._v(" "),e("sound",{attrs:{title:"Hospital",src:"hospital"}}),t._v(" "),e("sound",{attrs:{title:"Casino",src:"casino"}}),t._v(" "),e("sound",{attrs:{title:"Carnival",src:"carnival"}}),t._v(" "),e("sound",{attrs:{title:"Marching Band",src:"marching-band"}}),t._v(" "),e("sound",{attrs:{title:"Church Bells",src:"church-bells"}}),t._v(" "),e("sound",{attrs:{title:"Lawnmower",src:"lawnmower"}}),t._v(" "),e("sound",{attrs:{title:"Couple Arguing",src:"couple-arguing"}}),t._v(" "),e("sound",{attrs:{title:"Barn Animals",src:"barn-animals"}}),t._v(" "),e("sound",{attrs:{title:"Construction",src:"construction"}}),t._v(" "),e("sound",{attrs:{title:"Crime Scene",src:"crime-scene"}}),t._v(" "),e("sound",{attrs:{title:"Haunted Dungeon",src:"dungeon"}}),t._v(" "),e("sound",{attrs:{title:"Fireworks",src:"fireworks"}}),t._v(" "),e("sound",{attrs:{title:"Beehive",src:"beehive"}}),t._v(" "),e("sound",{attrs:{title:"Alien Ship",src:"alien-ship"}}),t._v(" "),e("sound",{attrs:{title:"Volcano",src:"volcano"}}),t._v(" "),e("sound",{attrs:{title:"Zombie Invasion",src:"zombies"}}),t._v(" "),e("sound",{attrs:{title:"Medieval Battle",src:"medieval-battle"}}),t._v(" "),e("sound",{attrs:{title:"Nuclear Siren",src:"nuclear-siren"}})],1)]),t._v(" "),e("Footer",{attrs:{bg:"none",color:"white"}})],1)}),[],!1,null,"61ed21bf",null));e.default=v.exports;installComponents(v,{Logo:o(287).default,Footer:o(295).default})},276:function(t,e,o){"use strict";var r=o(2),n=o(19),l=o(9),d=o(6),path=o(204),c=o(4),f=o(109),v=o(12),h=o(201),m=o(39),x=o(81),w=o(202),y=o(3),_=o(80).f,k=o(29).f,C=o(21).f,S=o(281),z=o(282).trim,A="Number",M=d[A],I=path[A],E=M.prototype,N=d.TypeError,j=c("".slice),F=c("".charCodeAt),R=function(t){var e=w(t,"number");return"bigint"==typeof e?e:L(e)},L=function(t){var e,o,r,n,l,d,c,code,f=w(t,"number");if(x(f))throw N("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=z(f),43===(e=F(f,0))||45===e){if(88===(o=F(f,2))||120===o)return NaN}else if(48===e){switch(F(f,1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+f}for(d=(l=j(f,2)).length,c=0;cn)return NaN;return parseInt(l,r)}return+f},O=f(A,!M(" 0o1")||!M("0b1")||M("+0x1")),T=function(t){return m(E,t)&&y((function(){S(t)}))},W=function(t){var e=arguments.length<1?0:M(R(t));return T(this)?h(Object(e),this,W):e};W.prototype=E,O&&!n&&(E.constructor=W),r({global:!0,constructor:!0,wrap:!0,forced:O},{Number:W});var V=function(t,source){for(var e,o=l?_(source):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),r=0;o.length>r;r++)v(source,e=o[r])&&!v(t,e)&&C(t,e,k(source,e))};n&&I&&V(path[A],I),(O||n)&&V(path[A],M)},277:function(t,e,o){var content=o(286);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("f68e4eaa",content,!0,{sourceMap:!1})},278:function(t,e,o){var content=o(291);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("db35a8f0",content,!0,{sourceMap:!1})},279:function(t,e,o){var content=o(294);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("c9434642",content,!0,{sourceMap:!1})},280:function(t,e,o){"use strict";o.r(e);o(276);var r={props:{slotId:{type:String,required:!0},adFormat:{type:String,required:!0},isResponsive:{type:Boolean,required:!1,default:!1},adStyle:{type:String,required:!0},minWidth:{type:Number,required:!1,default:-1},maxWidth:{type:Number,required:!1,default:-1}},data:function(){return{hideAd:!1,shouldShow:this.shouldShowAd()}},mounted:function(){var t=this;this.createAds(),this.$addEventListener("resize",(function(){t.hideAd=!t.shouldShowAd()}))},watch:{$route:function(){this.firstLoad=!1,this.createAds()}},methods:{createAds:function(){var t=this;this.$nextTick((function(){t.shouldShowAd()&&(window.adsbygoogle=window.adsbygoogle||[],adsbygoogle.push({}))}))},shouldShowAd:function(){return(-1===this.minWidth||window.innerWidth>=this.minWidth)&&(-1===this.maxWidth||window.innerWidth254)return!1;if(!r.test(t))return!1;var e=t.split("@");return!(e[0].length>64)&&!e[1].split(".").some((function(t){return t.length>63}))}},290:function(t,e,o){"use strict";o(278)},291:function(t,e,o){var r=o(107)(!1);r.push([t.i,".link{border-radius:19px;aspect-ratio:391/145;display:block;position:relative;z-index:2}.link-img{max-width:100%;cursor:pointer;transition:transform .07s linear,filter .1s ease-out,opacity .15s linear;opacity:0}.link-img:hover{transform:scale(1.02);filter:drop-shadow(3px 3px 5px rgba(0,0,0,.17))}",""]),t.exports=r},292:function(t,e,o){"use strict";o.r(e);var r={props:{title:{required:!0,type:String},path:{required:!0,type:String},preload:{required:!1,type:Boolean,default:!1}},data:function(){return{imageLoaded:!1}}},n=(o(290),o(28)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"link",style:{background:t.imageLoaded?"none":"#f1f2f6"},attrs:{prefetch:t.preload,to:"/".concat(t.path,"/")}},[e("img",{staticClass:"link-img",style:{opacity:t.imageLoaded?1:0},attrs:{onload:t.imageLoaded=!0,alt:t.title,src:"/link-images/".concat(t.path,".svg"),loading:"lazy"}})])}),[],!1,null,null,null);e.default=component.exports},293:function(t,e,o){"use strict";o(279)},294:function(t,e,o){var r=o(107),n=o(200),l=o(288),d=r(!1),c=n(l);d.push([t.i,"@font-face{font-family:RobotoCondensedLight;src:url("+c+")}.footer-wrapper[data-v-2b1aca38]{margin-top:15px;padding:30px 20px 45px;text-align:center;font-size:22px;font-family:RobotoCondensedLight,sans-serif}.related-text[data-v-2b1aca38]{font-size:22px}.site-title[data-v-2b1aca38]{margin-top:18px;max-width:140px}.related-posts[data-v-2b1aca38],.site-title[data-v-2b1aca38]{margin-left:auto;margin-right:auto}.related-posts[data-v-2b1aca38]{display:grid;max-width:870px;grid-template-columns:repeat(2,1fr);grid-gap:16px 18px;margin-top:15px;font-size:0}.made-by[data-v-2b1aca38]{font-size:16px;margin-top:15px;opacity:.6;display:none}.made-by a[data-v-2b1aca38]{color:#000}.heart[data-v-2b1aca38]{width:17px;height:17px;position:relative;top:4px}.site-title-logo[data-v-2b1aca38]{height:25px}.newsletter-text[data-v-2b1aca38]{font-size:19px;margin-bottom:8px}.newsletter-img[data-v-2b1aca38]{height:16px;position:relative;top:3px;margin-right:7px}.newsletter-input[data-v-2b1aca38]{font-size:17px;padding:7px 5px 7px 40px;border-radius:5px;border:1px solid #000;max-width:220px;width:100%;background-color:#fff;background-image:url(/general/mail.svg);background-repeat:no-repeat;background-size:auto 15px;background-position:10px;font-family:RobotoCondensedLight;outline:none;color:#000}.newsletter-input[data-v-2b1aca38]::-moz-placeholder{color:rgba(0,0,0,.8)}.newsletter-input[data-v-2b1aca38]::placeholder{color:rgba(0,0,0,.8)}.newsletter-subscribe[data-v-2b1aca38]{background:#fff5d9;font-size:17px;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:1px solid #000;border-radius:5px;padding:7px 12px;margin-left:5px;height:100%;cursor:pointer;color:#000;font-family:RobotoCondensedLight}.newsletter-subscribe[data-v-2b1aca38]:hover{transform:scale(1.03)}.newsletter-box[data-v-2b1aca38]{padding:20px 10px;border-radius:5px;margin-left:auto;margin-right:auto;margin-top:10px}.newsletter-inner[data-v-2b1aca38]{display:flex;justify-content:center;height:42px}@media only screen and (max-width:700px){.footer-wrapper[data-v-2b1aca38]{padding-left:12px;padding-right:12px}.related-posts[data-v-2b1aca38]{grid-template-columns:repeat(1,1fr)}.site-title[data-v-2b1aca38]{max-width:145px;margin-top:25px}}",""]),t.exports=d},295:function(t,e,o){"use strict";o.r(e);var r,n=o(284),l=o(10),d=(o(45),o(15),o(203),o(60),o(297)),c=o.n(d),f=o(289),v={props:{color:{type:String,required:!1,default:"black"},bg:{type:String,required:!1,default:"white"}},data:function(){return{related:[],submittedEmail:!1,email:""}},mounted:function(){this.getRelated()},computed:{isValidEmail:function(){return f.validate(this.email)}},methods:{onEmailSubmit:(r=Object(l.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isValidEmail){t.next=4;break}return this.submittedEmail=!0,t.next=4,c()({url:"https://neal.fun/api/newsletter/subscribe",method:"POST",data:{email:this.email}});case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)}),getRelated:function(){var t=window.innerWidth>500?4:3,e=Object(n.a)(this.$store.state.posts),o=this.$route.path;e=e.filter((function(t){return"/".concat(t.path,"/")!==o&&!t.hidden&&!t.hideInRecommended}));for(var r=[],l=0;l