gctGenerator/docs/assets/js/12.1b603c1e.js
2023-10-16 17:40:28 +09:00

1 line
No EOL
11 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{242:function(e,t,o){},243:function(e){e.exports=JSON.parse('{"ja-JP":{"h3":{"appearance":"見た目"},"location":"位置:","fontSize":"文字サイズ:","fgColor":"文字色:","fgColorGrad":"グラデーション","fgColor1":"文字色(上)","fgColor2":"文字色(下)","alpha":"不透明度=","bgColor":"背景色:","bgOffset":"背景位置:","size":"サイズ:","left":"左","right":"右","top":"上","bottom":"下","display":{"duration":"表示時間:","frame":"(フレーム)","sec":"(秒)"}},"en-US":{"h3":{"appearance":"Appearance"},"location":"Location: ","fontSize":"Font size: ","fgColor":"Font color: ","fgColorGrad":"Gradient","fgColor1":"Font color(Top): ","fgColor2":"Font color(Bottom): ","alpha":"Alpha=","bgColor":"Background color: ","bgOffset":"Background offset: ","size":"Size: ","left":"Left","right":"Right","top":"Top","bottom":"Bottom","display":{"duration":"Display duration: ","frame":"(frame)","sec":"(sec)"}},"fr-FR":{"location":"Position : ","fontSize":"Taille de police : ","fgColor":"Couleur du texte : ","fgColorGrad":"Dégradé","fgColor1":"Couleur du texte (haut) : ","fgColor2":"Couleur du texte (bas) : ","bgColor":"Couleur de fond : ","alpha":"Alpha = "}}')},244:function(e,t,o){"use strict";o.r(t);var n=o(243),r=o(241);const a=e=>({get(){return this.$props.value[e]},set(t){this.update({[e]:t})}});var i={props:{value:{type:Object}},computed:{l(){var e;return null!==(e=n[this.$lang])&&void 0!==e?e:n["en-US"]},...Object.fromEntries(["x","y","fontSize","fgRGB","fgA","fgRGB2","fgA2","bgRGB","bgA","bgLeft","bgRight","bgTop","bgBot"].map(e=>[e,a(e)]))},methods:{update(e){this.$emit("input",{...this.value,...e})},toggleGradient(e){e.target.checked?this.update({fgRGB2:this.fgRGB,fgA2:this.fgA}):this.update({fgRGB2:null,fgA2:null})},rgbI2S:r.f,rgbS2I:r.g,rgbaI2S:r.h}},s=(o(245),o(10)),u=Object(s.a)(i,(function(){var e=this,t=e._self._c;return t("div",[t("div",[t("span",[e._v(e._s(e.l.location)+"(")]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.x,expression:"x",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"600"},domProps:{value:e.x},on:{input:function(t){t.target.composing||(e.x=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v(", ")]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.y,expression:"y",modifiers:{number:!0}}],attrs:{type:"number",min:"16",max:"464"},domProps:{value:e.y},on:{input:function(t){t.target.composing||(e.y=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v(")")])]),e._v(" "),t("div",[t("span",[e._v(e._s(e.l.fontSize))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.fontSize,expression:"fontSize",modifiers:{number:!0}}],attrs:{type:"number",min:"0"},domProps:{value:e.fontSize},on:{input:function(t){t.target.composing||(e.fontSize=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),t("div",[t("span",[e._v(e._s(null==e.fgRGB2?e.l.fgColor:e.l.fgColor1))]),t("input",{attrs:{type:"color"},domProps:{value:e.rgbI2S(e.fgRGB)},on:{change:function(t){e.fgRGB=e.rgbS2I(t.target.value)}}}),e._v(" "),t("span",[e._v(e._s(e.l.alpha))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.fgA,expression:"fgA",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"255"},domProps:{value:e.fgA},on:{input:function(t){t.target.composing||(e.fgA=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v("/255="+e._s((e.fgA/2.55).toFixed(1))+"%")]),e._v(" "),t("input",{attrs:{type:"checkbox"},domProps:{checked:null!=e.fgRGB2},on:{change:e.toggleGradient}}),t("span",[e._v(e._s(e.l.fgColorGrad))])]),e._v(" "),null!=e.fgRGB2?t("div",[t("span",[e._v(e._s(e.l.fgColor2))]),t("input",{attrs:{type:"color"},domProps:{value:e.rgbI2S(e.fgRGB2)},on:{change:function(t){e.fgRGB2=e.rgbS2I(t.target.value)}}}),e._v(" "),t("span",[e._v(e._s(e.l.alpha))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.fgA2,expression:"fgA2",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"255"},domProps:{value:e.fgA2},on:{input:function(t){t.target.composing||(e.fgA2=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v("/255="+e._s((e.fgA2/2.55).toFixed(1))+"%")])]):e._e(),e._v(" "),t("div",[t("div",[t("span",[e._v(e._s(e.l.bgColor))]),t("input",{attrs:{type:"color"},domProps:{value:e.rgbI2S(e.bgRGB)},on:{change:function(t){e.bgRGB=e.rgbS2I(t.target.value)}}}),e._v(" "),t("span",[e._v(e._s(e.l.alpha))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.bgA,expression:"bgA",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"254"},domProps:{value:e.bgA},on:{input:function(t){t.target.composing||(e.bgA=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v("/255="+e._s((e.bgA/2.55).toFixed(1))+"%")])]),e._v(" "),t("div",[t("span",[e._v(e._s(e.l.bgOffset))]),e._v(" "),t("span",[e._v(e._s(e.l.left))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.bgLeft,expression:"bgLeft",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.bgLeft},on:{input:function(t){t.target.composing||(e.bgLeft=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),t("span",[e._v(e._s(e.l.right))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.bgRight,expression:"bgRight",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.bgRight},on:{input:function(t){t.target.composing||(e.bgRight=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),t("span",[e._v(e._s(e.l.top))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.bgTop,expression:"bgTop",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.bgTop},on:{input:function(t){t.target.composing||(e.bgTop=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),t("span",[e._v(e._s(e.l.bottom))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.bgBot,expression:"bgBot",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.bgBot},on:{input:function(t){t.target.composing||(e.bgBot=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})])])])}),[],!1,null,"5f99cba2",null);t.default=u.exports},245:function(e,t,o){"use strict";o(242)},263:function(e,t,o){},283:function(e){e.exports=JSON.parse('{"ja-JP":{"h3":"見た目","preview":"プレビュー","previewNote":"※ x座標の範囲は0~600、y座標の範囲は16~464です","freeze":{"h3":"一時停止","duration":"長さ:","frame":"(フレーム)","sec":"(秒)","rows":{"yellowCoin":"黄コインを取った時","redCoin":"赤コインを取った時","blueCoin":"青コインを取った時","item":"アイテム(ノズル等)を取った時","talk":"会話開始時","demo":"カットシーン開始時","cleaned":"NPCを洗った時","bowser":"クッパ戦の足場を破壊した時","yoshi":"ヨッシーに乗った時","take":"オブジェクトを持った時","drop":"オブジェクトを投げた時","put":"オブジェクトを置いた時","tripleJump":"三段ジャンプした時","spinJump":"スピンジャンプした時","ledgeGrab":"崖掴まりした時","wallKick":"壁キックした時","ropeJump":"ロープ、大車輪でジャンプした時","bounce":"アメンボやジャンプ台で跳ねた時"}}},"en-US":{"h3":"Appearance","preview":"Preview","previewNote":"※ x ranges from 0 to 600, and y ranges from 16 to 464.","freeze":{"h3":"Freezing the timer","duration":"Duration: ","frame":"(frames)","sec":"(sec)","rows":{"yellowCoin":"When a yellow coin is collected","redCoin":"When a red coin is collected","blueCoin":"When a blue coin is collected","item":"When an item (e.g. nozzle) is collected","talk":"When dialogue starts","demo":"When a cutscene starts","cleaned":"When an NPC is cleaned","bowser":"When a platform is destroyed in the Bowser fight","yoshi":"When Yoshi is mounted","take":"When Mario holds an object","drop":"When Mario throws an object","put":"When Mario puts down an object","tripleJump":"When Mario triple jumps","spinJump":"When Mario spin jumps","ledgeGrab":"When Mario ledge grabs","wallKick":"When Mario wall kicks","ropeJump":"When Mario jumps from a rope","bounce":"When Mario bounces (e.g. on a roof)"}}},"fr-FR":{"h3":"Apparence","preview":"Aperçu","previewNote":"※ x doit être entre 0 et 600, et y entre 16 et 464.","freeze":{"h3":"Temps intermédiaires","duration":"Durée d\'affichage : ","frame":"(frames)","sec":"(sec)","rows":{"yellowCoin":"Quand une pièce jaune est ramassée","redCoin":"Quand une pièce rouge est ramassée","blueCoin":"Quand une pièce bleue est ramassée","item":"Quand un power-up (buse, etc.) est ramassé","talk":"Quand un dialogue commence","demo":"Quand une cutscene commence","cleaned":"Quand un PNJ est nettoyé","bowser":"Quand une plate-forme est détruite dans le combat de Bowser","yoshi":"Quand Yoshi est monté"}}}}')},284:function(e,t,o){"use strict";o(263)},332:function(e,t,o){"use strict";o.r(t);var n=o(256),r=o(241),a=o(283),i=o(244);const s=Object(r.e)(n.lskey,n.defaultConfig,n.getPreviewText);var u={components:{TextConfig:i.default},props:{version:{type:String}},methods:{onChangeFreeze(e,t){this.freeze[t]=e.target.checked,this.updateConfig()},updateConfig:s},data(){var e,t;return{...Object(n.getConfig)(),freezeKeys:[...Object.keys(null!==(e=null===(t=n.codes[this.version])||void 0===t?void 0:t.freezeCodeHooks)&&void 0!==e?e:{}),...n.statusKeys]}},computed:{l(){var e;return null!==(e=a[this.$lang])&&void 0!==e?e:a["en-US"]},textConfig:{get(){return this},set(e){Object.assign(this,e),this.updateConfig()}}},watch:{freezeDuration:s}},l=(o(284),o(10)),p=Object(l.a)(u,(function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"config"}},[t("section",{staticClass:"appearance"},[t("h3",[e._v(e._s(e.l.h3))]),e._v(" "),t("TextConfig",{model:{value:e.textConfig,callback:function(t){e.textConfig=t},expression:"textConfig"}})],1),e._v(" "),t("section",{staticClass:"freeze"},[t("h3",[e._v(e._s(e.l.freeze.h3))]),e._v(" "),t("div",[e._v("\n "+e._s(e.l.freeze.duration)),t("input",{directives:[{name:"model",rawName:"v-model",value:e.freezeDuration,expression:"freezeDuration"}],attrs:{type:"number",min:"0",max:"32767"},domProps:{value:e.freezeDuration},on:{input:function(t){t.target.composing||(e.freezeDuration=t.target.value)}}}),e._v("\n "+e._s(e.l.freeze.frame)+" = "+e._s((1001*e.freezeDuration/3e4).toFixed(2))+" "+e._s(e.l.freeze.sec)+"\n ")]),e._v(" "),t("table",[t("tbody",e._l(e.freezeKeys,(function(o){return t("tr",{key:o},[t("td",[e._v(e._s(e.l.freeze.rows[o]))]),e._v(" "),t("td",[t("input",{attrs:{type:"checkbox"},domProps:{checked:e.freeze[o]},on:{change:function(t){return e.onChangeFreeze(t,o)}}})])])})),0)])])])}),[],!1,null,"4914e272",null);t.default=p.exports}}]);