var g=r=>{throw TypeError(r)};var O=(r,e,t)=>e.has(r)||g("Cannot "+t);var s=(r,e,t)=>(O(r,e,"read from private field"),t?t.call(r):e.get(r)),l=(r,e,t)=>e.has(r)?g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t);import{i as a,g as L,j as E}from"./D0ctIA8a.js";import{z as M}from"./CpaabuFF.js";var A=(r=>(r.SmallMobile="small-mobile",r.Mobile="mobile",r.Tablet="tablet",r.LargeTablet="large-tablet",r.Desktop="desktop",r.LargeDesktop="large-desktop",r.ExtraLargeDesktop="extra-large-desktop",r))(A||{});const o={SMALL_MOBILE_ONLY:374,MOBILE_DOWN:743,MOBILE_UP:375,TABLET_UP:744,LARGE_TABLET_UP:992,DESKTOP_UP:1200,LARGE_DESKTOP_UP:1440,EXTRA_LARGE_DESKTOP_UP:1921};var p,U,_,f,T,i,b,D,P;class u{constructor(e=800){l(this,p,a(!1));l(this,U,a(!1));l(this,_,a(!1));l(this,f,a(!1));l(this,T,a(!1));l(this,i,a(!1));l(this,b,a(!1));l(this,D,a(!1));l(this,P,a("desktop"));this.setBreakpoints(e)}get forSmallMobileOnly(){return L(s(this,p))}set forSmallMobileOnly(e){E(s(this,p),e,!0)}get forMobileDown(){return L(s(this,U))}set forMobileDown(e){E(s(this,U),e,!0)}get forMobileUp(){return L(s(this,_))}set forMobileUp(e){E(s(this,_),e,!0)}get forTabletUp(){return L(s(this,f))}set forTabletUp(e){E(s(this,f),e,!0)}get forLargeTabletUp(){return L(s(this,T))}set forLargeTabletUp(e){E(s(this,T),e,!0)}get forDesktopUp(){return L(s(this,i))}set forDesktopUp(e){E(s(this,i),e,!0)}get forLargeDesktopUp(){return L(s(this,b))}set forLargeDesktopUp(e){E(s(this,b),e,!0)}get forExtraLargeDesktopUp(){return L(s(this,D))}set forExtraLargeDesktopUp(e){E(s(this,D),e,!0)}get value(){return L(s(this,P))}set value(e){E(s(this,P),e,!0)}setBreakpoints(e){this.forSmallMobileOnly=e<=o.small_mobile_only,this.formobiledown=e<=o.mobile_down,this.formobileup=e>=o.MOBILE_UP,this.forTabletUp=e>=o.TABLET_UP,this.forLargeTabletUp=e>=o.LARGE_TABLET_UP,this.forDesktopUp=e>=o.DESKTOP_UP,this.forLargeDesktopUp=e>=o.LARGE_DESKTOP_UP,this.forExtraLargeDesktopUp=e>=o.EXTRA_LARGE_DESKTOP_UP,this.value=M(e).when(t=>t<=o.small_mobile_only,()=>"small-mobile").when(t=>t<=o.mobile_down,()=>"mobile").when(t=>t>=o.MOBILE_UP&&t"mobile").when(t=>t>=o.TABLET_UP&&t"tablet").when(t=>t>=o.LARGE_TABLET_UP&&t"large-tablet").when(t=>t>=o.DESKTOP_UP&&t"desktop").when(t=>t>=o.LARGE_DESKTOP_UP&&t"large-desktop").otherwise(()=>"extra-large-desktop")}}p=new WeakMap,U=new WeakMap,_=new WeakMap,f=new WeakMap,T=new WeakMap,i=new WeakMap,b=new WeakMap,D=new WeakMap,P=new WeakMap;const n=new u;export{A as B,n as b};

AltStyle によって変換されたページ (->オリジナル) /