PageSourceSearch

https://ticketme.io/_next/static/chunks/pages/membership/ticket/[o…/[membershipId]/offer-4580fe1dece7e68b.js

js ticketme.io collected 2026-09-24 10:16:33 UTC 9,560 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="35e4605a-b17a-4f60-b8a4-763f13f51da4",e._sentryDebugIdIdentifier="sentry-dbid-35e4605a-b17a-4f60-b8a4-763f13f51da4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35471],{1681:(e,t,i)=>{"use strict";i.d(t,{_:()=>j});var r=i(37876),n=i(69345),s=i(79736),a=i(39955),l=i(51362),o=i(87365),d=i(54587),c=i.n(d),p=i(48230),h=i.n(p),u=i(89099),x=i(34135),f=i(10369),m=i(20656),g=i(21272),b=i(20707),v=i(14903),w=i(84629),_=i(30638),E=i(39811),I=i(37968);let j=e=>{var t,i,d,p,j,y,k,C;let{ticketType:T,ticket:A,priceCategoryId:S,withDetail:O=!0,withStartDate:N=!1,withBorder:L=!1,withUseCount:P=!1,countsForTickets:R={usedTicketCount:-1,purchaserCount:-1},withIssuance:M=!0,shouldShowFaceRecognitionBadge:B=!1,disableLink:W=!1,isOffline:Y=!1,visualGachaInfo:U}=e,{locale:z}=(0,g.Y)(),F=(0,u.useRouter)(),D=F.pathname.includes("private")?"/private":"",G=(0,E.Z)((null==A?void 0:A.priceCategories)||[],null!=S?S:"",null!=(y=null==A?void 0:A.isPriceAdjustedTicketResellable)&&y);T||(T=F.pathname.includes("event")?"event":F.pathname.includes("goods")?"goods":"membership");let H=S?null==A||null==(t=A.priceCategories)?void 0:t.find(e=>e.id===S):void 0,V=null!=(k=null==H?void 0:H.price)?k:A.price,q=null!=(C=null==H?void 0:H.currencyPrice)?C:"currencyPrice"in A?A.currencyPrice:void 0,K=B&&T===v.ww.EVENT&&"flags"in A&&(null==(i=A.flags)?void 0:i.isFaceRecognitionRequired)===!0,Q=(0,r.jsxs)(s.z,{w:"100%",pt:"xxs",pb:"xxs",pl:"xxs",border:L?"1px solid #E6E6E6":"",borderRadius:"xl",cursor:W?"default":"pointer",bgColor:"bg.surfaceFill","data-testid":"ticket-header-card",alignItems:"center",children:[!Y&&(0,r.jsx)(a.a,{width:70,height:70,borderRadius:"xl",overflow:"hidden",flexShrink:0,position:"relative",children:(0,r.jsx)(c(),{width:70,height:70,style:{objectFit:"cover"},alt:"Event header card",src:(0,I.lQ)((null==U?void 0:U.imageUrl)||("visualGachaInfo"in A&&(null==(d=A.visualGachaInfo)?void 0:d.imageUrl)?A.visualGachaInfo.imageUrl:A.ticketImageUrl),"-s")})}),(0,r.jsxs)(l.T,{alignItems:"flex-start",m:"0 !important",pr:P?"none":"lg",pl:Y?"lg":"xxs",minWidth:0,flex:P?void 0:1,overflow:"hidden",children:[(0,r.jsxs)(a.a,{display:"flex",flexDirection:"row",alignItems:"center",gap:"xxs",flexWrap:"wrap",minWidth:0,width:"100%",children:["flags"in A&&(null==(p=A.flags)?void 0:p.isVisualGacha)&&(0,r.jsx)(a.a,{flexShrink:0,children:(0,r.jsx)(m.U,{size:"sm"})}),K&&(0,r.jsx)(a.a,{flexShrink:0,children:(0,r.jsx)(f.G,{size:"sm"})}),M&&T===v.ww.EVENT&&(null==(j=A.issuance)?void 0:j.type)&&(0,r.jsx)(a.a,{flexShrink:0,children:(0,r.jsx)(x.Hn,{type:A.issuance.type,enterMethod:A.enterMethod})})]}),(0,r.jsx)(b.EY,{sx:{WebkitBoxOrient:"vertical",WebkitLineClamp:O||N||P?1:2},display:"-webkit-box",overflow:"hidden",variant:"p",fontWeight:"bold",textOverflow:"ellipsis",width:"100%",minWidth:0,children:"event"==T?(0,w.QN)(A):A.name}),O&&V!==v.D.DUMMY_MAX&&(0,r.jsxs)(a.a,{children:[S&&G&&(0,r.jsx)(b.EY,{mb:"xxs",size:"sm",label:!0,children:G}),(0,r.jsx)(b.EY,{fontWeight:"bold",label:!0,children:(0,_.$)(V,{currencyPrice:q})+(T===v.ww.MEMBERSHIP&&A.subscriptionPrice?" + 毎月\xa5".concat(A.subscriptionPrice):"")})]}),N&&(0,r.jsx)(b.EY,{sx:{WebkitBoxOrient:"vertical",WebkitLineClamp:1},display:"-webkit-box",overflow:"hidden",variant:"p",fontWeight:"bold",label:!0,textOverflow:"ellipsis",children:"eventTime"in A&&"string"!=typeof A.eventTime?"".concat((0,w.C3)(A.eventTime.start,!1,z)):""}),P&&(0,r.jsx)(b.EY,{size:"sm",label:!0,children:"読み取り完了 ".concat(function(e,t){return(Array(t).join("0")+e).slice(-t)}(R.usedTicketCount,R.purchaserCount.toString().length),"/").concat(R.purchaserCount," 枚")})]}),P&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.h,{}),(0,r.jsx)(a.a,{pr:"lg",children:(0,r.jsx)(b.In,{iconType:"headArrow",rotate:"right"})})]})]});return W?Q:(0,r.jsx)(n.N,{as:h(),prefetch:!1,w:"100%",textDecoration:"none !important",_focusVisible:{border:"none"},href:"".concat(D,"/").concat(T,"/ticket/").concat(A.owner.id,"/").concat(A.id,"/"),children:Q})}},5646:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>w,default:()=>_});var r=i(37876),n=i(14232),s=i(39955),a=i(38443),l=i(48230),o=i.n(l),d=i(89099),
1c=i(32587),p=i(85664),h=i(1681),u=i(76999),x=i(15929),f=i(21272),m=i(83904),g=i(70251),b=i(20707),v=i(64216),w=!0;let _=e=>{let{membership:t,purchasers:i}=e,{t:l}=(0,f.Y)(),w=(0,d.useRouter)(),[_]=(0,p.L4)(g.UB),[E,I]=(0,c.A)([x.A.LOGIN_CALLBACK_PATH]),j=null==i?void 0:i.filter(e=>e.user?e.user.id!==_:e),[y,k]=(0,n.useState)(j),{isOfferProhibited:C}=(0,v.j)(t),T=w.asPath.replace("offer","sendOffer?target=all"),A=Math.floor(new Date().getTime()/1e3),S=t.saleTime.end<A,O=t.owner.id===_,N=async()=>{try{await m.pY.put("".concat("https://ticketme.io/api/common","/membershipPurchasers"),{membershipId:t.id,ownerId:t.owner.id});let e=await m.pY.get("".concat("https://ticketmeapi.com","/api/marketplace/getTicketHolders?ticketId=").concat(t.id,"&ownerId=").concat(t.owner.id,"&type=membership"));k(null==e?void 0:e.data.data.filter(e=>e.user?e.user.id!==_:e))}catch(e){console.log(e)}};return(0,n.useEffect)(()=>{N()},[]),(0,r.jsxs)(s.a,{w:"100%",maxW:{base:"460px",lg:"500px"},mx:"auto",pt:"lg !important",pb:"5xl",px:"lg",children:[(0,r.jsx)(h._,{ticket:t}),!S&&!C&&(0,r.jsx)(a.o,{w:"100%",mt:"md !important",pb:"none",children:(0,r.jsx)(b.$n,{asChild:!0,onClick:()=>{I(x.A.LOGIN_CALLBACK_PATH,w.asPath,{path:"/"})},children:(0,r.jsx)(o(),{href:T,children:l.pages.membership.ticket.ownerId.membershipId.offer.SEND_OFFER_TO_ALL_OWNERS})})}),O&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.EY,{mt:"3xl",mb:"lg",variant:"h2",children:l.pages.membership.ticket.ownerId.membershipId.offer.OWNERS_OF_THIS_TICKET}),(0,r.jsx)(u.A,{purchasers:y,ticketMaxNum:t.ticketMaxNum,numberOfOwners:i.length})]})]})}},10369:(e,t,i)=>{"use strict";i.d(t,{G:()=>d});var r=i(37876),n=i(91921),s=i(39955),a=i(45848),l=i(21272),o=i(20707);let d=e=>{let{size:t="sm",label:i,onClick:d,appearance:c="default"}=e,{t:p}=(0,l.Y)(),h=null!=i?i:p.components.parts.Badge.FACE_RECOGNITION;if("default"===c)return(0,r.jsx)(o.Ex,{color:"secondary",size:t,children:h});let u=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.E,{fontSize:"12px",fontWeight:"700",lineHeight:"100%",children:h}),(0,r.jsx)(a.A,{"aria-hidden":"true",width:"12px",height:"12px"})]});return d?(0,r.jsx)(s.a,{as:"button",type:"button",onClick:d,display:"flex",alignItems:"center",gap:"2px",border:"1px solid #CFCFC9",borderRadius:"4px",p:"0px 6px 0px 4px",bg:"white",h:"22px",boxSizing:"border-box",children:u}):(0,r.jsx)(s.a,{display:"flex",alignItems:"center",gap:"2px",border:"1px solid #CFCFC9",borderRadius:"4px",p:"0px 6px 0px 4px",bg:"white",h:"22px",boxSizing:"border-box",children:u})}},20656:(e,t,i)=>{"use strict";i.d(t,{U:()=>a});var r=i(37876),n=i(21272),s=i(20707);let a=e=>{let{size:t="sm"}=e,{t:i}=(0,n.Y)();return(0,r.jsxs)(s.Ex,{color:"secondary",size:t,children:[i.components.parts.Badge.VISUAL_GACHA,(0,r.jsx)(s.V2,{title:i.components.parts.Badge.VISUAL_GACHA_TOOLTIP_TITLE,content:i.components.parts.Badge.VISUAL_GACHA_TOOLTIP_CONTENT,buttonText:i.components.parts.Badge.VISUAL_GACHA_TOOLTIP_CLOSE,variant:"info",size:t})]})}},30638:(e,t,i)=>{"use strict";i.d(t,{$:()=>s});var r=i(14903),n=i(46850);let s=(e,t)=>{let{currencyPrice:i,lastTransactionPrice:s,lastTransactionCurrencyPrice:a}=null!=t?t:{},l=i?(0,n.Qn)(i.currency):"\xa5";return a?(0,n.WR)(a):void 0!==s?"\xa5".concat(s.toLocaleString()):e===r.D.DUMMY_MAX?"".concat(l,"-"):i?(0,n.WR)(i):"\xa5".concat(e.toLocaleString())}},34135:(e,t,i)=>{"use strict";i.d(t,{Hn:()=>o,g9:()=>l,fc:()=>r.f});var r=i(67432),n=i(37876),s=i(21272),a=i(20707);let l=e=>{let{variants:t="promoter"}=e,{t:i}=(0,s.Y)();return(0,n.jsx)(a.Ex,{color:"gray",variant:"form",children:(0,n.jsx)(a.EY,{variant:"p",label:!0,size:"xs",color:"white",fontWeight:"bold",children:i.components.OptionalBadge.OPTIONAL})})},o=e=>{let{type:t,enterMethod:i}=e,{t:r}=(0,s.Y)();return(0,n.jsx)(a.Ex,{color:"normal",variant:"specific",size:"sm",children:"konbini"===t?r.components.parts.Badge.KONBINI_ISSUANCE:"swipe"===i?r.components.parts.Badge.ELECTRONIC_TICKET_ISSUANCE:r.components.parts.Badge.QR_CODE_ISSUANCE})}},34798:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/membership/ticket/[ownerId]/[membershipId]/offer",function(){return i(5646)}])},39811:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});let r=(e,t,i)=>{let r=e.filter(e=>!e.isSuspended||!e.isOriginalPrice);if(r.length&&i){var n;return(null==(n=r.find(e=>e.id===t))?void 0:n.name)||"通常価格"}return""}},45848:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let r=(0,i(78358).A)("ScanFace",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}
1],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]])},67432:(e,t,i)=>{"use strict";i.d(t,{f:()=>a});var r=i(37876),n=i(21272),s=i(20707);let a=()=>{let{t:e}=(0,n.Y)();return(0,r.jsx)(s.Ex,{variant:"form",children:e.components.RequiredBadge.REQUIRED})}},87365:(e,t,i)=>{"use strict";i.d(t,{h:()=>r});let r=(0,i(31936).B)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});r.displayName="Spacer"}},e=>{e.O(0,[6762,90636,46593,38792],()=>e(e.s=34798)),_N_E=e.O()}]);

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.