PageSourceSearch

https://begoodtool.com/assets/index-DwMWss8b.js

js begoodtool.com collected 2026-09-25 14:42:26 UTC 9,399 bytes, 1 lines download raw bytes

1import{G as U,U as B,aa as D,V as N,c,j as r,J as y,K as t,k as z,W as C,q as h,t as d,u as o,X as L,h as v,Y as p,Z as x,a5 as q,a4 as b,a0 as S,a8 as V,a7 as T,a9 as $,S as Y,a1 as A,y as R,ab as H}from"./app-Cn2ENVjc.js";import{_ as Z,a as E}from"./MobileExtraSection-BvmSE4aT.js";import"./index.esm-BhWAQbqN.js";import"./index.esm-luzx4zY5.js";import{Y as M}from"./index.esm-DSMYEVNe.js";import{h as G}from"./hreflangGenerator-C1CwnXvs.js";import{u as J}from"./useSoftwareApplicationSchema-DNY18wlD.js";import{R as O}from"./RightOutlined-DTyjaOEB.js";import{_ as W}from"./index-BLAEpiRC.js";import"./AdSlot-Dy1QncGf.js";import"./ExtraDisplayWindow-9QXxJGA5.js";import"./isMobile-DdKfYq4n.js";import"./FormItemContext-y3e5lM7L.js";import"./vnode-BRdYTffs.js";const X={class:"main_wrap"},K={class:"dice mainContainer pt_12 px_2 pb_10"},P={class:"toolTitle"},Q={class:"dice__content"},ee={class:"options"},te={for:"dice-quantity"},ae=["disabled"],se={class:"options__color"},ie={class:"options__color__input hidden-mobile-down"},ne={class:"options__color__input hidden-mobile-up"},oe={class:"options__color"},de={class:"options__color__input hidden-mobile-down"},le={class:"options__color__input hidden-mobile-up"},ce={class:"options__color"},re={class:"options__color__input hidden-mobile-down"},pe={class:"options__color__input hidden-mobile-up"},ue={class:"dice__content__startBtn"},ve=["disabled"],_e={class:"dice-container"},me={class:"dice__content__startBtn"},fe=["disabled"],ge={class:"dice__table"},ye={class:"innerAdsWrap"},he={class:"main_wrap main__intro"},xe=["innerHTML"],be={__name:"index",setup(Se){H(u=>({v23deddec:_.value,v46cf1968:f.value,v0b897e8b:m.value}));const l=A(),{t:e,locale:we}=B(),a=Y({quantity:1,rollDegreeList:[{x:0,y:0,z:0}],reslutFace:[1],counts:[0,0,0,0,0,0],rolling:!1,totalCount:0,expendMore:!1}),_=R("#f5f5f5"),m=R("#000000"),f=R("#d4d4d4");D(()=>{w()});const w=()=>{a.reslutFace=Array.from({length:a.quantity},()=>1),a.rollDegreeList=a.reslutFace.map((u,n)=>({x:0,y:0,z:0}))},k=()=>{a.rolling||(a.rollDegreeList=a.reslutFace.map((u,n)=>({x:0,y:0,z:0})),setTimeout(()=>{a.rolling=!0;let u=[0,0,0,0,0,0],n=0;a.reslutFace=a.reslutFace.map((g,s)=>{let i=Math.floor(Math.random()*6)+1;return u[i-1]+=1,i}),a.rollDegreeList=a.reslutFace.map((g,s)=>{const i=Math.floor(Math.random()*6)+5;switch(g){case 1:return{x:360*i,y:360*i,z:360*i};case 2:return{x:360*i+90,y:360*i,z:360*i+90};case 3:return{x:360*i,y:360*i+270,z:360*i+90};case 4:return{x:360*i+90,y:360*i,z:360*i};case 5:return{x:360*i,y:360*i+90,z:360*i};case 6:return{x:360*i+180,y:360*i,z:360*i}}}),n=u.reduce((g,s,i)=>g+s*(i+1),0),setTimeout(()=>{a.rolling=!1,a.counts=u,a.totalCount=n},2300)},100))},j=JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,item:{"@id":e("message.canonical"),name:e("app.h2"),description:e("app.description")}},{"@type":"ListItem",position:2,item:{"@id":e("dice.canonical"),name:e("dice.h1"),description:e("dice.description")}}]}),F=J({t:e,name:e("dice.h1"),title:e("dice.title"),url:e("dice.canonical"),description:e("dice.description"),image:"https://i.imgur.com/ZNxgFY3.png",category:"game"});let I=G("dice");return N({htmlAttrs:{lang:e("message.lang")},title:l.state.isSSR?e("dice.title"):c(()=>e("dice.title")),link:[...I,{rel:"canonical",href:l.state.isSSR?e("dice.canonical"):c(()=>e("dice.canonical"))}],meta:[{name:"title",content:l.state.isSSR?e("dice.title"):c(()=>e("dice.title"))},{name:"description",content:l.state.isSSR?e("dice.description"):c(()=>e("dice.description"))},{property:"og:site_name",content:l.state.isSSR?e("message.site_name"):c(()=>e("message.site_name"))},{property:"twitter:title",content:l.state.isSSR?e("dice.title"):c(()=>e("dice.title"))},{property:"og:description",content:l.state.isSSR?e("dice.description"):c(()=>e("dice.description"))},{property:"twitter:description",content:l.state.isSSR?e("dice.description"):c(()=>e("dice.description"))},{property:"og:url",content:l.state.isSSR?e("dice.canonical"):c(()=>e("dice.canonical"))},{property:"subject",content:l.state.isSSR?e("message.description"):c(()=>e("message.subject"))},{property:"author",content:l.state.isSSR?e("message.description"):c(()=>e("message.author"))},{property:"copyright",content:l.state.isSSR?e("message.description"):c(()=>e("message.copyright"))},{property:"article:tag",content:l.state.isSSR?e("message.description"):c(()=>e("message.subject"))},{property:"twitter:creator",content:l.state.isSSR?e("message.description"):c(()=>e("message.author"))}]}),(u,n)=>{const g=W;return r(),y(S,null,[t("div",X,[(r(),z(L("script"),{type:"application/ld+json"},{default:C(()=>[h(d(o(j)),1)]),_:1})),(r(),z(L("script"),{type:"application/ld+json"},{default:C(()=>[h(d(o(F)),1)]),_:1}
1)),t("div",K,[t("section",P,[t("h1",null,[h(d(o(e)("dice.h1"))+" ",1),t("span",null,d(o(e)("dice.h2")),1)])]),t("section",Q,[t("div",ee,[t("div",null,[t("label",te,d(o(e)("dice.dice_number")),1),v(g,{type:"number",id:"dice-quantity",value:a.quantity,"onUpdate:value":n[0]||(n[0]=s=>a.quantity=s),min:"1",max:"100",size:"small",disabled:a.rolling,onChange:w},null,8,["value","disabled"]),p(t("input",{class:"ml_6",type:"range","onUpdate:modelValue":n[1]||(n[1]=s=>a.quantity=s),min:"1",max:"100",disabled:a.rolling,onInput:w},null,40,ae),[[x,a.quantity]])]),t("div",{class:"options__more",onClick:n[2]||(n[2]=s=>a.expendMore=!a.expendMore)},[h(d(o(e)("dice.advanced_setting"))+" ",1),t("div",{class:q(["options__more__icon",{expand:a.expendMore}])},[v(o(O))],2)]),p(t("div",se,[t("label",null,d(o(e)("dice.dice_color")),1),t("div",ie,[v(o(M),{modelValue:_.value,"onUpdate:modelValue":n[3]||(n[3]=s=>_.value=s),value:_.value,withoutInput:""},null,8,["modelValue","value"])]),t("div",ne,[p(t("input",{type:"color","onUpdate:modelValue":n[4]||(n[4]=s=>_.value=s)},null,512),[[x,_.value]])])],512),[[b,a.expendMore]]),p(t("div",oe,[t("label",null,d(o(e)("dice.border_color")),1),t("div",de,[v(o(M),{modelValue:f.value,"onUpdate:modelValue":n[5]||(n[5]=s=>f.value=s),value:f.value,withoutInput:""},null,8,["modelValue","value"])]),t("div",le,[p(t("input",{type:"color","onUpdate:modelValue":n[6]||(n[6]=s=>f.value=s)},null,512),[[x,f.value]])])],512),[[b,a.expendMore]]),p(t("div",ce,[t("label",null,d(o(e)("dice.point_color")),1),t("div",re,[v(o(M),{modelValue:m.value,"onUpdate:modelValue":n[7]||(n[7]=s=>m.value=s),value:m.value,withoutInput:""},null,8,["modelValue","value"])]),t("div",pe,[p(t("input",{type:"color","onUpdate:modelValue":n[8]||(n[8]=s=>m.value=s)},null,512),[[x,m.value]])])],512),[[b,a.expendMore]])]),p(t("div",{class:"dice__content__notice"},d(o(e)("dice.notice")),513),[[b,a.quantity>50]]),t("div",ue,[t("button",{onClick:k,disabled:a.rolling},d(o(e)("dice.start")),9,ve)]),t("div",_e,[(r(!0),y(S,null,V(a.rollDegreeList,(s,i)=>(r(),y("div",{class:"cube-box",key:i},[t("div",{class:q(["cube",{rolling:a.rolling}]),style:T(`transform: rotateX(${s.x}deg) rotateY(${s.y}deg) rotateZ(${s.z}deg)`)},[...n[9]||(n[9]=[$('<div class="face face-one" data-v-03776d48><span class="dot" data-v-03776d48></span></div><div class="face face-two" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div><div class="face face-three" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div><div class="face face-four" data-v-03776d48><div class="face-four-inner face-four-inner1" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div><div class="face-four-inner face-four-inner2" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div></div><div class="face face-five" data-v-03776d48><div class="face-five-inner1" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div><div class="face-five-inner2" data-v-03776d48><span class="dot" data-v-03776d48></span></div><div class="face-five-inner3 w-100 align-self-end d-flex justify-content-between" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div></div><div class="face face-six" data-v-03776d48><div class="face-six-inner" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div><div class="face-six-inner" data-v-03776d48><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span><span class="dot" data-v-03776d48></span></div></div><div class="filler filler-1" data-v-03776d48></div><div class="filler filler-2" data-v-03776d48></div><div class="filler filler-3" data-v-03776d48></div>',9)])],6)]))),128))]),t("div",me,[t("button",{onClick:k,disabled:a.rolling},d(o(e)("dice.start")),9,fe)]),t("table",ge,[t("tr",null,[t("th",null,d(o(e)("dice.point")),1),(r(),y(S,null,V(6,s=>t("th",{key:s},d(s),1)),64)),t("th",null,d(o(e)("dice.total")),1)]),t("tr",null,[t("td",null,d(o(e)("dice.times")),1),(r(!0),y(S,null,V(a.counts,(s,i)=>(r(),y("td",{key:i},d(a.rolling?0:s),1))),128)),t("td",null,d(a.rolling?0:a.totalCount),1)])])]),v(Z),t("section",ye,[v(E)])])]),t("div",he,[t("section",{class:"Intro",innerHTML:o(e)("dice.intro")},null,8,xe)])],64)}}}
1,Ne=U(be,[["__scopeId","data-v-03776d48"]]);export{Ne as default};

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.