(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{233:function(t,e,n){var content=n(244);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(82).default)("612f51b8",content,!0,{sourceMap:!1})},238:function(t,e,n){t.exports=n.p+"img/mac1.269f2e8.png"},239:function(t,e,n){t.exports=n.p+"img/mac2.8b293f4.png"},240:function(t,e,n){t.exports=n.p+"img/mac3.175c6d9.png"},241:function(t,e,n){t.exports=n.p+"img/iphone1.0086272.png"},242:function(t,e,n){t.exports=n.p+"img/icon.619d349.png"},243:function(t,e,n){"use strict";n(233)},244:function(t,e,n){var o=n(81)(!1);o.push([t.i,'.index-container[data-v-ba6af8b0]{display:flex;flex-flow:column wrap;align-items:center;justify-content:center;margin:32px;font-family:"Righteous"}.index-container .header-container[data-v-ba6af8b0]{display:flex;flex-flow:column wrap;align-items:flex-end;height:72px;width:100%;max-width:1200px}.index-container .header-container .lang-button[data-v-ba6af8b0]{display:flex;justify-content:center;align-items:center;height:40px;width:128px;background:#f5f5f5;border-radius:24px;font-size:20px;font-weight:700;border:4px solid #dbdbdb;transition:all .15s}.index-container .header-container .lang-button[data-v-ba6af8b0]:hover{border-color:grey}.index-container .top-section[data-v-ba6af8b0]{display:flex;flex-flow:column wrap;align-items:center;width:100%;max-width:1200px}.index-container .top-section .image-box[data-v-ba6af8b0]{display:flex;justify-content:center;align-items:center;height:90vw;max-height:200px;width:90vw;max-width:200px;padding:32px;background:#f5f5f5;border-radius:50%}.index-container .top-section .image-box img[data-v-ba6af8b0]{height:auto;max-width:100%;margin-top:8px}.index-container .top-section .description[data-v-ba6af8b0]{display:flex;flex-flow:column wrap;align-items:center;font-size:24px;color:#fff}.index-container .top-section .description .service-name[data-v-ba6af8b0]{font-size:60px}.index-container .top-section .button-container[data-v-ba6af8b0]{display:flex;flex-flow:row wrap;align-items:center;justify-content:center;margin:48px 0}.index-container .top-section .note-container[data-v-ba6af8b0]{color:#fff}.index-container .top-section .note-container .link[data-v-ba6af8b0]{color:grey}.index-container .top-section .note-container .link[data-v-ba6af8b0]:hover{color:#00f}.index-container .detail-section[data-v-ba6af8b0]{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;width:100%;max-width:1200px;margin:40px 0}.index-container .detail-section .image-container[data-v-ba6af8b0]{margin:32px 0}@media screen and (max-width:800px){.index-container .detail-section .image-container[data-v-ba6af8b0]{width:100%}}@media screen and (min-width:801px){.index-container .detail-section .image-container[data-v-ba6af8b0]{width:50%}}.index-container .detail-section .detail-container[data-v-ba6af8b0]{color:#fff;font-weight:700}.index-container .detail-section .detail-container li[data-v-ba6af8b0]{margin-left:1.4em;text-indent:-1.4em}@media screen and (max-width:800px){.index-container .detail-section .detail-container[data-v-ba6af8b0]{width:100%;margin-bottom:32px;font-size:20px}}@media screen and (min-width:801px){.index-container .detail-section .detail-container[data-v-ba6af8b0]{width:50%;margin:32px 0;font-size:24px;font-weight:700}}.index-container .bottom-nav[data-v-ba6af8b0]{display:flex;flex-flow:row wrap;align-items:center;margin:100px 0 32px}.index-container .large-button[data-v-ba6af8b0]{display:flex;justify-content:center;align-items:center;height:40px;width:160px;margin:8px;background:#f5f5f5;border-radius:24px;font-size:24px;font-weight:700;border:4px solid #dbdbdb;transition:all .15s}.index-container .large-button[data-v-ba6af8b0]:hover{border-color:grey}.index-container .small-button[data-v-ba6af8b0]{height:20px;padding:8px 16px;margin:8px;font-size:16px;border-radius:18px;background:#f5f5f5;white-space:nowrap}.index-container .small-button[data-v-ba6af8b0]:hover{color:#fff;background:grey}.index-container .separator[data-v-ba6af8b0]{height:8px;width:20vw;max-width:1000px;margin:48px 0;border-radius:4px;background:#f5f5f5}',""]),t.exports=o},245:function(t,e,n){"use strict";n.r(e);var o=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"image-box"},[e("img",{attrs:{src:n(242),alt:"cakemix_icon"}})])}],r=n(1),c=n(7),l=(n(48),n(59)),d=n.n(l).a.create({baseURL:"".concat("https://hotcakemix.com","/api/v1/"),headers:{"Content-Type":"application/json"}}),f=function(){return Object(c.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.get("invite");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},m={TOP:"top",NOTE:"note",DETAIL1:"detail1",DETAIL2:"detail2",DETAIL3:"detail3",DETAIL4:"detail4",UNKNOWN:"unknown"},x={top:{ja:["フォルダーベースのドキュメント管理システム","リアルタイム編集 / チーム管理 / アクセス権管理","オープンソース"],en:["Folder based document management system","Real-time editing / Team management / Access control","Open Source"]},note:{ja:["デモシステムは毎日午前4時(日本時間)にリセットされます","デモシステムはテスト目的以外に使用しないでください","デモシステム使用前に","の確認をお願いします"],en:["Demo system will be reset daily at 4.am(JST)","Do not use the demo system for anything other than testing","Please take look at","before use demo system"]},detail1:{ja:["フォルダーを作ってドキュメントを管理","シンプルで統一されたデザイン"],en:["Folder based document management","Simple and unified design"]},detail2:{ja:["マークダウンのみで数式やグラフ、すべてを書くことが可能","複数人と同じドキュメントをリアルタイム編集","ドキュメントのオートセーブに対応"],en:["Write everything in Markdown","Edit same document with multiple users in realtime","Support auto-save"]},detail3:{ja:["内部チーム作成が可能","フォルダーやドキュメントに対して柔軟な権限管理が可能","基本的なセキュリティ機能を装備"],en:["Support internal team","Flexible permission changes for doc and folder","Basic security features"]},detail4:{ja:["モバイルフレンドリーデザインでスマホに最適化","PWAに対応"],en:["Support mobile-friendly design","Support PWA"]},unknown:{ja:[""],en:[""]}},v=(n(41),n(83),[{abb:"en",full:"ENGLISH"},{abb:"ja",full:"JAPANESE"}]),h=function(){return v.map((function(t){return t.full}))},w=r.a.extend({data:function(){return{langIndex:0,DESCRIPTION_TYPE:m}},head:{title:"HotCakemix"},computed:{language:function(){return h()[this.langIndex]}},mounted:function(){var t,e,n,o=this.$route.query.lang,r=this.$store.getters["setting/language"],c=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language,l="string"==typeof o?o:""!==r?r:""!==c?c.substring(0,2):"en";this.langIndex=h().indexOf((t=l,e=v.map((function(t){return t.full})),-1===(n=(e=e.concat(v.map((function(t){return t.abb})))).indexOf(t))?"":v[n%(e.length/2)].full)),this.$store.commit("setting/language",l)},methods:{getDetailDesc:function(t,e){return void 0===x[e]?x[m.UNKNOWN].en:"JAPANESE"===t?x[e].ja:x[e].en},toggleLanguage:function(){var i=this.langIndex;this.langIndex=i+1>=h().length?0:i+1;var t,e,n,o=(t=h()[this.langIndex],e=v.map((function(t){return t.abb})),-1===(n=(e=e.concat(v.map((function(t){return t.full})))).indexOf(t))?"":v[n%(e.length/2)].abb);this.$store.commit("setting/language",o)},gotoDemo:function(){f().then((function(t){location.href="https://demo.hotcakemix.com/auth/signup/".concat(t.data.id)}))},gotoGithub:function(){window.open("https://github.com/wonder-wonder/cakemix","_blank")},gotoPP:function(){this.$router.push("/privacypolicy")},gotoTerms:function(){this.$router.push("/terms")}}}),_=(n(243),n(46)),component=Object(_.a)(w,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"index-container"},[o("div",{staticClass:"header-container"},[o("div",{staticClass:"lang-button",domProps:{textContent:t._s(t.language)},on:{click:t.toggleLanguage}})]),t._v(" "),o("div",{staticClass:"top-section"},[t._m(0),t._v(" "),o("div",{staticClass:"description"},[o("div",{staticClass:"service-name",domProps:{textContent:t._s("Cakemix")}})]),t._v(" "),o("div",{staticClass:"description"},t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.TOP),(function(text){return o("span",{key:text,domProps:{textContent:t._s(text)}})})),0),t._v(" "),o("div",{staticClass:"button-container"},[o("div",{staticClass:"large-button",on:{click:t.gotoDemo}},[t._v("DEMO")]),t._v(" "),o("div",{staticClass:"large-button",on:{click:t.gotoGithub}},[t._v("GITHUB")])]),t._v(" "),o("div",{staticClass:"note-container"},[t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.NOTE).slice(0,2),(function(text){return o("div",{key:text,domProps:{textContent:t._s(text)}})})),t._v(" "),o("div",[t._v("\n "+t._s(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.NOTE)[2])+"\n "),o("a",{staticClass:"link",on:{click:t.gotoTerms}},[t._v("Terms")]),t._v(",\n "),o("a",{staticClass:"link",on:{click:t.gotoPP}},[t._v("PrivacyPolicy")]),t._v("\n "+t._s(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.NOTE)[3])+"\n ")])],2)]),t._v(" "),o("hr",{staticClass:"separator"}),t._v(" "),o("div",{staticClass:"detail-section"},[o("img",{staticClass:"image-container",attrs:{src:n(238),alt:"mac_detail1"}}),t._v(" "),o("div",{staticClass:"detail-container"},t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.DETAIL1),(function(text){return o("li",{key:text,domProps:{textContent:t._s(text)}})})),0)]),t._v(" "),o("div",{staticClass:"detail-section"},[o("img",{staticClass:"image-container",attrs:{src:n(239),alt:"mac_detail2"}}),t._v(" "),o("div",{staticClass:"detail-container"},t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.DETAIL2),(function(text){return o("li",{key:text,domProps:{textContent:t._s(text)}})})),0)]),t._v(" "),o("div",{staticClass:"detail-section"},[o("img",{staticClass:"image-container",attrs:{src:n(240),alt:"mac_detail3"}}),t._v(" "),o("div",{staticClass:"detail-container"},t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.DETAIL3),(function(text){return o("li",{key:text,domProps:{textContent:t._s(text)}})})),0)]),t._v(" "),o("div",{staticClass:"detail-section"},[o("img",{staticClass:"image-container",attrs:{src:n(241),alt:"iphone_detail1"}}),t._v(" "),o("div",{staticClass:"detail-container"},t._l(t.getDetailDesc(t.language,t.DESCRIPTION_TYPE.DETAIL4),(function(text){return o("li",{key:text,domProps:{textContent:t._s(text)}})})),0)]),t._v(" "),o("div",{staticClass:"large-button",on:{click:t.gotoDemo}},[t._v("DEMO")]),t._v(" "),o("div",{staticClass:"bottom-nav"},[o("div",{staticClass:"small-button",on:{click:t.gotoTerms}},[t._v("Terms")]),t._v(" "),o("div",{staticClass:"small-button",on:{click:t.gotoPP}},[t._v("Privacy Policy")])])])}),o,!1,null,"ba6af8b0",null);e.default=component.exports}}]);