1/*! For license information please see HoC2018-bc9137ed0d942d4989e1.bundle.js.LICENSE.txt */ 2(self.webpackChunkcodecombat=self.webpackChunkcodecombat||[]).push([[6405],{708399:(t,e,r)=>{"use strict";function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,i(a.key),a)}}function i(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e);if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==a(e)?e:e+""}function s(t,e,r){return e=d(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var a=u(t,e);if(a){var o=Object.getOwnPropertyDescriptor(a,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},l.apply(null,arguments)}function u(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}var f,p=r(976911),y=r(196363),v={commit:_.noop,dispatch:_.noop};t.exports=((f=function(t){function e(){return o(this,e),s(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,a=[{key:"afterRender",value:function(){if(this.vueComponent)this.$el.find("#site-content-area").replaceWith(this.vueComponent.$el);else{if(this.vuexModule){if(!_.isFunction(this.vuexModule))throw new Error("@vuexModule should be a function");y.registerModule("page",this.vuexModule())}this.vueComponent=new this.VueComponent({el:this.$el.find("#site-content-area")[0],propsData:this.propsData,store:y}),window.rootComponent=this.vueComponent}return l(d(e.prototype),"afterRender",this).apply(this,arguments)}},{key:"destroy",value:function(){return this.vuexModule&&y.unregisterModule("page"),this.vueComponent.$destroy(),this.vueComponent.$store=v,l(d(e.prototype),"destroy",this).call(this)}}],i=[{key:"initClass",value:function(){this.prototype.VueComponent=null,this.prototype.vuexModule=null,this.prototype.propsData=null}}],a&&n(r.prototype,a),i&&n(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a,i}(p)).initClass(),f)},350629:(t,e,r)=>{"use strict";function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n(a.key),a)}}function n(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e);if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==a(e)?e:e+""}function i(t,e,r){return e=c(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}
2(t,s()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}var u,d=r(708399),h=r(848304),f=r(137906).default,p=r(661706),y=r(299498);t.exports=((u=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=i(this,e,[t])).propsData={onGetCS1Free:function(t){if(!_.isEmpty(t))return r.openModalView(new p({startOnPath:"teacher",email:t}))},activity:function(){return y.getQueryVariable("activity")||"ai-league"}},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t),r=e,a=[{key:"initClass",value:function(){this.prototype.id="hoc-2018",this.prototype.template=h,this.prototype.VueComponent=f,this.prototype.skipMetaBinding=!0}}],null&&o(r.prototype,null),a&&o(r,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a}(d)).initClass(),u)},22924:(t,e)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var a="https://customer-burj9xtby325x4f1.cloudflarestream.com";e.Z={props:{videoCloudflareId:{type:String,required:!0},soundOn:{type:Boolean,default:!0},cloudflareCaptionUrl:{type:String,default:null},thumbnailUrl:{type:String,default:null},preload:{default:"none",validator:function(t){return["auto","metadata","none"].includes(t)}},loop:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},controls:{type:Boolean,default:!0},playWhenVisible:{type:Boolean,default:!1},title:{type:String,default:"Your descriptive text here",required:!1},thumbnailUrlTime:{type:Number,default:null,description:"Time from which the thumbnail should be taken for the video in seconds"},backgroundColor:{type:String,default:null,description:"Background color for the video"},aspectRatio:{type:String,default:"16 / 9"}},computed:{videoUrl:function(){var t,e,o="".concat(a,"/").concat(this.videoCloudflareId,"/iframe"),n={};this.thumbnailUrl?n.poster=encodeURIComponent(this.thumbnailUrl):this.thumbnailUrlTime&&(n.poster="".concat(a,"/").concat(this.videoCloudflareId,"/thumbnails/thumbnail.jpg?time=").concat(this.thumbnailUrlTime,"s")),this.autoplay&&(n.autoplay=!0),this.loop&&(n.loop=!0),this.soundOn||(n.muted=!0),n.controls=Boolean(this.controls),n.preload=this.preload,this.backgroundColor&&(n.letterboxColor=encodeURIComponent(this.backgroundColor));for(var i=[],s=0,c=Object.entries(n);s<c.length;s++){var l=(t=c[s],e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,o,n,i,s=[],c=!0,l=!1;try{if(n=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(a=n.call(r)).done)&&(s.push(a.value),s.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1];i.push("".concat(u,"=").concat(d))}return"".concat(o,"?").concat(i.join("&"))}}}},806766:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0,e.Z=Vue.extend({data:function(){return{show:!1,when:new Date("2022-12-01 14:00 PST")}},created:function(){this.show=new Date<new Date(this.when.getTime()+36e5),this.whenDisplay=moment(this.when).calendar(null,{sameElse:"ddd MMM D, LT"})}})},350077:(t,e,r)=>{"use strict";var a=r(619755);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var n=s(r(369508)),i=s(r(8794));function s(t){return t&&t.__esModule?t:{default:t}}function c(){c=function(){return e};var t,e={},r=Object.prototype,a=r.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,r){return t[e]=r}}function h(t,e,r,a){var o=e&&e.prototype instanceof _?e:_,i=Object.create(o.prototype),s=new L(a||[]);return n(i,"_invoke",{value:k(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var p="suspendedStart",y="executing",v="completed",m={};function _(){}function b(){}function g(){}var w={};d(w,s,(function(){return this}));var C=Object.getPrototypeOf,x=C&&C(C(M([])));x&&x!==r&&a.call(x,s)&&(w=x);var O=g.prototype=_.prototype=Object.create(w);function j(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(n,i,s,c){var l=f(t[n],t,i);if("throw"!==l.type){var u=l.arg,d=u.value;
2return d&&"object"==o(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return r("throw",t,s,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,o){r(t,a,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,a){var o=p;return function(n,i){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===n)throw i;return{value:t,done:!0}}for(a.method=n,a.arg=i;;){var s=a.delegate;if(s){var c=E(s,a);if(c){if(c===m)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(o===p)throw o=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);o=y;var l=f(e,r,a);if("normal"===l.type){if(o=a.done?v:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(o=v,a.method="throw",a.arg=l.arg)}}}function E(e,r){var a=r.method,o=e.iterator[a];if(o===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var i=n.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(a.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(o(e)+" is not iterable")}return b.prototype=g,n(O,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:b,configurable:!0}),b.displayName=d(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,d(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(P.prototype),d(P.prototype,l,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,a,o,n){void 0===n&&(n=Promise);var i=new P(h(t,r,a,o),n);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},j(O),d(O,u,"Generator"),d(O,s,(function(){return this})),d(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var a in e)r.push(a);return r.reverse(),function t(){for(;r.length;){var a=r.pop();if(a in e)return t.value=a,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(a,o){return s.type="throw",s.arg=e,r.next=a,o&&(r.method="next",r.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=t,i.arg=e,n?(this.method="next",this.next=n.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var o=a.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:M(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}function l(t,e,r,a,o,n,i){try{var s=t[n](i),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,o)}t.exports=Vue.extend({components:{BannerWebinar:n.default,BaseCloudflareVideo:i.default},mounted:function(){var t=this;a(this.$refs.modal).on("shown.bs.modal",(function(){try{t.player.playVideo()}catch(t){console.error(t)}})),a(this.$refs.modal).on("hide.bs.modal",(function(){try{t.player.pauseVideo()}catch(t){console.error(t)}}))},metaInfo:function(){return{title:this.$t("teacher.hoc_title"),meta:[{vmid:"meta-description",name:"description",content:this.$t("teacher.hoc_meta_description")}]}},data:function(){return{teacherEmail:"",isAdmin:me.isAdmin(),isTeacher:me.isTeacher(),isAnonymous:me.isAnonymous(),videoId:""}},props:{onGetCS1Free:{type:Function,required:!0},activity:{type:Function,required:!0}},computed:{player:function(){return this.$refs.video}},methods:{playVideo:function(t){var e,r=this;return(e=c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.videoId=a(t.target).data("video-id");case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(a,o){var n=e.apply(t,r);function i(t){l(n,a,o,i,s,"next",t)}function s(t){l(n,a,o,i,s,"throw",t)}i(void 0)}))})()}}})},417036:(t,e)=>{"use strict";e.xk=e.sY=void 0,e.sY=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cloudflare-video-div",style:"aspect-ratio:".concat(t.aspectRatio)},[e("iframe",{style:"border: none; position: absolute; top: 0; left: 0; height: 100%; width: 100%;aspect-ratio:".concat(t.aspectRatio),attrs:{src:t.videoUrl,loading:"lazy",allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;",allowfullscreen:"true"}})])},e.xk=[]},982789:(t,e)=>{"use strict";e.xk=e.sY=void 0,e.sY=function(){var t=this,e=t._self._c;return t._self._setupProxy,t.show?e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-xs-12"},[e("div",{attrs:{id:"announcement"}},[e("p",[t._v("\n Join us on "+t._s(t.whenDisplay)+" for our Hour of Code Walkthrough! Our team will take you through the latest\n activities and show you how you can best use them in your classroom."),e("br"),t._v(" "),e("a",{attrs:{href:"https://us06web.zoom.us/webinar/register/WN_-KLRylhdRqaYB_qZ9IrzUw",target:"_blank"}},[t._v("\n Register here!\n ")])])])])])]):t._e()},e.xk=[]},245055:(t,e)=>{"use strict";e.xk=e.sY=void 0,e.sY=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{attrs:{id:"hoc-2018-page"}},[t._m(0),e("div",{staticClass:"container"},["teacher-gd"==t.activity()?[t._m(1),t._m(2),e("div",{staticClass:"row get-started"},[e("div",{staticClass:"col-md-4"}),t._m(3),e("div",{staticClass:"col-md-4"},[e("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"https://files.codecombat.com/docs/resources/hourofcode/HourofCodeCodeCombatLessonPlan2020.pdf",target:"_blank","data-i18n":"hoc_2018.download_pdf"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/teachers/campaign-solution/hoc-2018/python",target:"_blank","data-i18n":"courses.view_guide_online"}}):t._e()])])]:"goblins"==t.activity()?[t._m(4),e("div",{staticClass:"row get-started"},[t.isTeacher?t._e():e("div",{staticClass:"col-md-3"}),t._m(5),t.isTeacher?e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"glyphicon glyphicon-download-alt download-icon"})]):e("div",{staticClass:"col-md-3"})]),e("div",{staticClass:"row get-started"},[t.isTeacher?t._e():e("div",{staticClass:"col-md-3"}),t._m(6),t.isTeacher?e("div",{staticClass:"col-md-6"},[e("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/teachers/resources/hoc-goblins",target:"_blank","data-i18n":"hoc_2018.download_pdf"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/teachers/campaign-solution/goblins-hoc/python",target:"_blank","data-i18n":"courses.view_guide_online"}}):t._e()]):e("div",{staticClass:"col-md-3"})])]:[e("div",{staticClass:"row"},[e("h1",{staticClass:"page-heading",attrs:{"data-i18n":"hoc_2018.page_heading_latest_activities"}}),e("banner-webinar")],1),e("div",{staticClass:"row get-started featured"},["goblins"!=t.activity()?e("div",{staticClass:"row"},[t._m(7),e("div",{staticClass:"col-md-8"},[e("h3",{attrs:{"data-i18n":"hoc_2018.featured_title_1"}}),e("h6",{attrs:{"data-i18n":"hoc_2018.featured_subtitle_1"}}),e("p",{attrs:{"data-i18n":"hoc_2018.featured_blurb_1"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/goblins-hoc?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("button",{staticClass:"btn btn-primary btn-md",attrs:{"data-toggle":"modal","data-vi
2deo-id":"100412c840bf03141644c1855784c785","data-target":"#videoModal","data-i18n":"hoc_2018.play_video"},on:{click:t.playVideo}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/goblins-hoc/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])])]):t._e(),e("div",{staticClass:"row"},[t._m(8),e("div",{staticClass:"col-md-8"},[e("h3",{attrs:{"data-i18n":"hoc_2018.featured_title_2"}}),e("h6",{attrs:{"data-i18n":"hoc_2018.featured_subtitle_2"}}),e("p",{attrs:{"data-i18n":"hoc_2018.featured_blurb_2"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/ai-league-hoc?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("button",{staticClass:"btn btn-primary btn-md",attrs:{"data-toggle":"modal","data-video-id":"0bdb79d2ce155d589745f891b087f572","data-target":"#videoModal","data-i18n":"hoc_2018.play_video"},on:{click:t.playVideo}})])])]),e("div",{staticClass:"row"},[t._m(9),e("div",{staticClass:"col-md-8"},[e("h3",{attrs:{"data-i18n":"hoc_2018.featured_title_3"}}),e("h6",{attrs:{"data-i18n":"hoc_2018.featured_subtitle_3"}}),e("p",{attrs:{"data-i18n":"hoc_2018.featured_blurb_3"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"https://www.ozaria.com/play/chapter-1-sky-mountain?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"https://docs.google.com/presentation/d/1KgFOg2tqbKEH8qNwIBdmK2QbHvTsxnW_Xo7LvjPsxwE/present#slide=id.g89b5bc74f5_2_0","data-i18n":"hoc_2018.activity_button_1"}}),e("button",{staticClass:"btn btn-primary btn-md",attrs:{"data-toggle":"modal","data-video-id":"94e611192ce86d5b4cf6ba2343a53927","data-target":"#videoModal","data-i18n":"hoc_2018.play_video"},on:{click:t.playVideo}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"https://www.ozaria.com/teachers/course-solution/5d41d731a8d1836b5aa3cba1/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])])])])],t.isAnonymous?e("div",{staticClass:"row"},[e("br"),e("h1",{staticClass:"page-heading",attrs:{"data-i18n":"hoc_2018.teacher_signup_heading"}}),e("h4",{attrs:{"data-i18n":"hoc_2018.teacher_signup_blurb"}}),e("div",[e("div",{staticClass:"get-cs1-container"},[e("h6",{attrs:{"data-i18n":"hoc_2018.teacher_signup_input_blurb"}}),e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.teacherEmail,expression:"teacherEmail"}],staticClass:"teacher-email-input",attrs:{type:"text","data-i18n":"[placeholder]hoc_2018.teacher_signup_input_placeholder"},domProps:{value:t.teacherEmail},on:{input:function(e){e.target.composing||(t.teacherEmail=e.target.value)}}}),e("button",{staticClass:"btn btn-primary btn-md get-cs1-btn",on:{click:function(e){return t.onGetCS1Free(t.teacherEmail)}}},[e("span",{attrs:{"data-i18n":"hoc_2018.teacher_signup_input_button"}})])])])])]):t._e(),t._m(10),e("div",{staticClass:"row overline activities-row"},["ai-league"!=t.activity()?e("div",{staticClass:"col-md-4"},[e("img",{staticClass:"activity-tile",attrs:{src:"/images/pages/teachers/hour-of-code/codecombat_esports.jpeg",alt:""}}),e("h6",{attrs:{"data-i18n":"hoc_2018.activity_label_ai_league"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/ai-league-hoc?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/hour-of-code","data-i18n":"hoc_2018.activity_button_1"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/ai-league-hoc/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])]):t._e(),e("div",{staticClass:"col-md-4"},[e("img",{attrs:{src:"/images/pages/teachers/hour-of-code/escape_the_dungeon.png",alt:""}}),e("h6",{attrs:{"data-i18n":"hoc_2018.activity_label_1"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/dungeon?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/resources/hoc","data-i18n":"hoc_2018.activity_button_1"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/dungeon/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])]),e("div",{staticClass:"col-md-4"},[e("img",{attrs:{src:"/images/pages/teachers/hour-of-code/beginner_buildagame.png",alt:""}}),e("h6",{attrs:{"data-i18n":"hoc_2018.activity_label_2"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/game-dev-hoc?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/game-dev-hoc/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])]),"teacher-gd"!=t.activity()?e("div",{staticClass:"col-md-4"},[e("img",{attrs:{src:"/images/pages/teachers/hour-of-code/code_play_share.png",alt:""}}),e("h6",{attrs:{"data-i18n":"hoc_2018.activity_label_hoc_2018"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/hoc-2018?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/hour-of-code?activity=teacher-gd","data-i18n":"hoc_2018.activity_button_1"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/hoc-2018/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])]):t._e(),e("div",{staticClass:"col-md-4"},[e("img",{attrs:{src:"/images/pages/teachers/hour-of-code/advanced_buildagame.png",alt:""}}),e("h6",{attrs:{"data-i18n":"hoc_2018.activity_label_3"}}),e("div",[e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/play/game-dev-hoc-2?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}}),t.isTeacher?e("a",{staticClass:"btn btn-primary btn-md",attrs:{href:"/teachers/campaign-solution/game-dev-hoc-2/python",target:"_blank","data-i18n":"hoc_2018.solutions"}}):t._e()])])]),t._m(11),t._m(12),t._m(13)],2),e("div",{ref:"modal",staticClass:"modal fade bs-example-modal-lg",attrs:{id:"videoModal","aria-labelledby":"videoModal","aria-hidden":"true"}},[e("div",{staticClass:"modal-dialog modal-lg"},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body"},[t._m(14),e("base-cloudflare-video",{ref:"video",staticClass:"video",attrs:{"video-cloudflare-id":t.videoId,width:"100%","aspect-ratio":"16 / 9"}})],1)])])])])},e.xk=[function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"hoc-header"},[t("h4",{attrs:{"data-i18n":"hoc_2018.banner_coco"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row"},[t("h1",{staticClass:"page-heading",attrs:{"data-i18n":"hoc_2018.page_heading"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row get-started"},[t("div",{staticClass:"col-md-4"},[t("h4",{staticClass:"bold-header",attrs:{"data-i18n":"hoc_2018.step_1"}}),t("iframe",{attrs:{src:"https://www.youtube.com/embed/k965LUC7oww",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]),t("div",{staticClass:"col-md-4"},[t("h4",{staticClass:"bold-header",attrs:{"data-i18n":"hoc_2018.step_2"}}),t("img",{attrs:{src:"/images/pages/teachers/hour-of-code/code_play_share.png",alt:""}})]),t("div",{staticClass:"col-md-4"},[t("h4",{staticClass:"bold-header",attrs:{"data-i18n":"hoc_2018.step_3"}}),t("div",{staticClass:"glyphicon glyphicon-download-alt download-icon"})])])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-4"},[t("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/play/hoc-2018","data-i18n":"hoc_2018.try_activity"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row"},[t("h1",{staticClass:"page-heading",attrs:{"data-i18n":"hoc_2018.page_heading_goblins"}}
2)])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-6"},[t("img",{staticClass:"activity-tile",attrs:{src:"/images/pages/teachers/hour-of-code/goblins_n_glory.jpeg",alt:""}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-6"},[t("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/play/goblins-hoc?hour_of_code=true","data-i18n":"hoc_2018.try_activity"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-4"},[t("img",{staticClass:"activity-tile",attrs:{src:"/images/pages/teachers/hour-of-code/goblins-n-glory.png",alt:""}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-4"},[t("img",{staticClass:"activity-tile",attrs:{src:"/images/pages/teachers/hour-of-code/ai-league.jpg",alt:""}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"col-md-4"},[t("img",{staticClass:"activity-tile",attrs:{src:"/images/pages/teachers/hour-of-code/ozaria-your-journey-begins.png",alt:""}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row"},[t("br"),t("h3",{attrs:{"data-i18n":"hoc_2018.activities_header"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row"},[t("br"),t("h3",{attrs:{"data-i18n":"hoc_2018.about"}})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row overline"},[t("div",{staticClass:"col-md-1"}),t("div",{staticClass:"col-md-4"},[t("img",{attrs:{src:"/images/pages/teachers/hour-of-code/about_codecombat.png"}})]),t("div",{staticClass:"col-md-6 text-left"},[t("p",{attrs:{"data-i18n":"hoc_2018.about_copy"}}),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-6 bullet-points"},[t("ul",[t("li",{attrs:{"data-i18n":"hoc_2018.point1"}}),t("li",{attrs:{"data-i18n":"hoc_2018.point2"}}),t("li",{attrs:{"data-i18n":"hoc_2018.point3"}})])]),t("div",{staticClass:"col-md-6 bullet-points"},[t("ul",[t("li",{attrs:{"data-i18n":"hoc_2018.point4"}}),t("li",{attrs:{"data-i18n":"hoc_2018.point5"}}),t("li",{attrs:{"data-i18n":"hoc_2018.point6"}})])])])]),t("div",{staticClass:"col-md-1"})])},function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"row"},[t("br"),t("a",{staticClass:"btn btn-primary btn-lg",attrs:{href:"/home#create-account-teacher","data-i18n":"signup.sign_up"}})])},function(){var t=this,e=t._self._c;return t._self._setupProxy,e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[e("span",{attrs:{"aria-hidden":"true"}},[t._v("Ã")])])}]},813816:()=>{},794865:()=>{},848304:(t,e,r)=>{r(477055),t.exports=function(t){return""+'<div class="style-flat"><nav id="main-nav">\x3c!-- Will be replaced by Navigation.vue in RootView--\x3e</nav><div id="site-content-area"><p>If this is showing, you dun goofed</p></div><footer id="site-footer">\x3c!-- Will be replaced by Footer.vue in RootView--\x3e</footer></div>'}},430976:(t,e,r)=>{var a=r(813816);"string"==typeof a&&(a=[[t.id,a,""]]),r(614246)(a,{}),a.locals&&(t.exports=a.locals)},8794:(t,e,r)=>{"use strict";r.r(e),r.d(e,{__esModule:()=>o.X,default:()=>i});var a=r(417036),o=r(22924);const n=o.Z,i=(0,r(551900).Z)(n,a.sY,a.xk,!1,null,null,null).exports},369508:(t,e,r)=>{"use strict";r.r(e),r.d(e,{__esModule:()=>o.X,default:()=>i});var a=r(982789),o=r(806766);const n=o.Z;r(430976);const i=(0,r(551900).Z)(n,a.sY,a.xk,!1,null,"2046d08e",null).exports},137906:(t,e,r)=>{"use strict";r.d(e,{default:()=>i});var a=r(245055),o=r(350077);const n=r.n(o)();r(449653);const i=(0,r(551900).Z)(n,a.sY,a.xk,!1,null,null,null).exports},449653:(t,e,r)=>{var a=r(794865);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals),(0,r(745346).Z)("bc736e92",a,!0,{})}}]); 3//# sourceMappingURL=HoC2018-bc9137ed0d942d4989e1.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.