PageSourceSearch

https://note.jp/_next/static/chunks/1721.18df91648fb61b33.js

js note.jp collected 2026-10-01 10:14:55 UTC 8,717 bytes, 11 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var l=1;l<arguments.length;l++){var s=arguments[l];if(null!=s)for(var r in s)s.hasOwnProperty(r)&&(e[r]=s[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bd8f2ec4-2676-48eb-90e3-fad1afe47cb7",e._sentryDebugIdIdentifier="sentry-dbid-bd8f2ec4-2676-48eb-90e3-fad1afe47cb7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1721,4102,6483],{3479:(e,l,s)=>{s.d(l,{Dd:()=>o,Ei:()=>m,Nj:()=>d});var r=s(60213),t=s(92778),a=s(97360),i=s(19324),n=s(32508);function o(e){let{title:l,headingLevel:s=3,description:o,href:d,imageSrc:m,imageWidth:c=1600,imageHeight:x=568,imageAlt:f="",imageElementType:h,isCompact:u,isDisabled:g,isOfficial:b,slotBottom:w,slotAnchor:p,slotSettings:v,slotBody:y,unSafeClassName:j}=e,N=`h${s}`,E=b?(0,a.jsx)(t.rAV,{"aria-label":"official",size:"s",color:"var(--color-surface-success)",unsafeClassName:"inline-block shrink-0 align-text-top leading-none"}):null;return(0,a.jsxs)("div",{className:(0,i.useMemo)(()=>n(`
2    relative mb-[6px] mr-[6px] flex w-[calc(100%-6px)]
3    ${j??""}
4    `),[j]),children:[d&&(0,i.isValidElement)(p)&&(0,i.cloneElement)(p,{title:p.props.title??l,href:d,isDisabled:g,unSafeClassName:"rounded-lg"}),(0,a.jsxs)("div",{className:"before:-z-20 after:-z-10 flex w-full flex-col rounded-lg border border-border-default bg-surface-normal before:absolute before:top-[6px] before:right-[-6px] before:bottom-[-6px] before:left-[6px] before:rounded-lg before:border before:border-border-default before:border-solid before:bg-surface-normal after:absolute after:top-[2px] after:right-[-3px] after:bottom-[-3px] after:left-[2px] after:rounded-lg after:border after:border-border-default after:border-solid after:bg-surface-normal",children:[v&&(0,a.jsx)("div",{className:"absolute top-2 right-2 z-10",children:v}),(u||!u&&m)&&(0,a.jsxs)("div",{className:u?"-mb-2 flex items-start justify-between gap-4 px-4 pt-4":"",children:[u&&(0,a.jsxs)("div",{className:"flex min-w-0 items-start gap-1",children:[(0,a.jsx)(N,{className:"min-w-0 line-clamp-2 font-bold tracking-wider font-palt",children:l}),E]}),(0,a.jsx)("div",{className:u?"w-20 shrink-0":"",children:(0,a.jsx)(r._,{imageSrc:m,imageWidth:c,imageHeight:x,imageAlt:f,imageElementType:h,unSafeClassName:u?"rounded-lg":"rounded-none rounded-t-lg",loading:"lazy"})})]}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col justify-between gap-3 overflow-hidden p-4",children:[(0,a.jsxs)("div",{className:"w-full",children:[!u&&l&&(0,a.jsxs)("div",{className:"mb-2 flex min-w-0 items-start gap-1",children:[(0,a.jsx)(N,{className:"min-w-0 line-clamp-2 font-bold tracking-wider font-palt",children:l}),E]}),y,o&&(0,a.jsx)("div",{className:"mt-2 line-clamp-2 text-xs",children:o})]}),(0,i.isValidElement)(w)&&(0,a.jsx)("div",{className:"isolate w-full",children:w})]})]})]})}function d(e){let{children:l,isHorizontal:s}=e;return(0,a.jsx)("div",{className:`flex gap-2 ${s?"isolate flex-row justify-between":"flex-col items-start"}`,children:l})}function m(e){let{children:l}=e;return(0,a.jsx)("div",{className:"flex items-center gap-2 overflow-hidden",children:l})}},11721:(e,l,s)=>{s.r(l),s.d(l,{Magazine:()=>d,default:()=>m});var r=s(65154),t=s(3479),a=s(69637),i=s(19324),n=s(54356),o=s(97289),d=({content:e,injectedComponents:{Anchor:l,Image:s,MagazineBottom:d},config:{routerParams:m,lang:c}})=>{let x=(0,n.r)({magazineHome:r.KQ,creatorHome:r.iQ},m),f=x.getLinkUrl("magazineHome",{magazineKey:e.key,user:e.user}),h=x.getLinkUrl("creatorHome",{urlname:e.user.urlname,customDomain:e.user.customDomain});return i.createElement(t.Dd,{imageAlt:"",href:f,isOfficial:e.isOfficial,slotAnchor:i.createElement(l,{href:f,section:"magazines"}),title:e.name,slotBody:i.createElement("div",{className:"flex items-center gap-2 text-xs"},i.createElement(o.e,{alt:e.user.nickname,src:e.user.userProfileImagePath,size:"l",href:h,elementType:"a"}),!1===e.isSubscribable&&i.createElement("span",{className:"text-text-primary"}
4,i.createElement(a.R,{count:e.noteCount,lang:c}))),slotBottom:i.createElement(d,{content:e}),description:e.description,imageSrc:e.cover,imageElementType:s})},m=d},54356:(e,l,s)=>{s.d(l,{r:()=>t});var r=s(21216),t=(e,l)=>(0,r.YlQ)()(e)(l)},60213:(e,l,s)=>{s.d(l,{_:()=>n});var r=s(16239),t=s(97360),a=s(19324),i=s(32508);function n(e){let{unSafeClassName:l,imageAlt:s,imageSrc:n,imageSrcSet:o,imageSizes:d,imageWidth:m,imageHeight:c,imageElementType:x="img",loading:f="lazy",fetchPriority:h,priority:u,fit:g="cover",disableAspectRatio:b=!1,onError:w}=e;return(0,t.jsx)("div",{className:(0,a.useMemo)(()=>(0,r.QP)(i(`
5      w-full overflow-hidden
6      ${l??""}
7      `)),[l]),style:{aspectRatio:(0,a.useMemo)(()=>{if(!b)return m&&c?`${m}/${c}`:void 0},[c,m,b])},children:(0,t.jsx)(x,{className:`block size-full ${"cover"===g?"object-cover":"object-contain"}`,src:n,srcSet:o,sizes:d,width:m,height:c,alt:s,loading:f,...void 0!==h&&{fetchPriority:h},...!0===u&&"img"!==x&&{priority:u},...void 0!==w&&{onError:w}})})}},69637:(e,l,s)=>{s.d(l,{R:()=>o});var r=s(17955),t=s(95090),a=s(92778),i=s(59995),n=s(97360);function o(e){let{count:l,lang:s="ja-JP",weight:o="bold",color:d="primary"}=e,m=(0,i.Ru)({lang:s,dict:t.R4});return(0,n.jsxs)("div",{className:`flex items-center gap-1 ${"bold"===o?"font-bold":"font-normal"} | ${"secondary"===d?"text-text-secondary":"text-text-primary"}`,children:[(0,n.jsx)(a.L7S,{size:"s","aria-label":""}),(0,n.jsxs)("div",{className:"text-xs",children:[(0,n.jsx)(r.G,{rawNumber:l,lang:s}),m("unit")]})]})}},97289:(e,l,s)=>{s.d(l,{e:()=>u});var r=s(23082),t=s(71835),a={base:{xs:"w-4 h-4",s:"w-5 h-5",m:"w-6 h-6",l:"w-8 h-8",xl:"w-14 h-14","2xl":"w-20 h-20","3xl":"w-[6.5rem] h-[6.5rem]"},sm:{xs:"sm:w-4 sm:h-4",s:"sm:w-5 sm:h-5",m:"sm:w-6 sm:h-6",l:"sm:w-8 sm:h-8",xl:"sm:w-14 sm:h-14","2xl":"sm:w-20 sm:h-20","3xl":"sm:w-[6.5rem] sm:h-[6.5rem]"},md:{xs:"md:w-4 md:h-4",s:"md:w-5 md:h-5",m:"md:w-6 md:h-6",l:"md:w-8 md:h-8",xl:"md:w-14 md:h-14","2xl":"md:w-20 md:h-20","3xl":"md:w-[6.5rem] md:h-[6.5rem]"},lg:{xs:"lg:w-4 lg:h-4",s:"lg:w-5 lg:h-5",m:"lg:w-6 lg:h-6",l:"lg:w-8 lg:h-8",xl:"lg:w-14 lg:h-14","2xl":"lg:w-20 lg:h-20","3xl":"lg:w-[6.5rem] lg:h-[6.5rem]"},xl:{xs:"xl:w-4 xl:h-4",s:"xl:w-5 xl:h-5",m:"xl:w-6 xl:h-6",l:"xl:w-8 xl:h-8",xl:"xl:w-14 xl:h-14","2xl":"xl:w-20 xl:h-20","3xl":"xl:w-[6.5rem] xl:h-[6.5rem]"},"2xl":{xs:"2xl:w-4 2xl:h-4",s:"2xl:w-5 2xl:h-5",m:"2xl:w-6 2xl:h-6",l:"2xl:w-8 2xl:h-8",xl:"2xl:w-14 2xl:h-14","2xl":"2xl:w-20 2xl:h-20","3xl":"2xl:w-[6.5rem] 2xl:h-[6.5rem]"}},i={xs:16,s:20,m:24,l:32,xl:56,"2xl":80,"3xl":104},n=s(28856),o=s(4187),d=s(66009),m=s(89198),c=s(91459),x=s(19324),f=s(32508),h=s(97360),u=(0,x.memo)((0,x.forwardRef)(function(e,l){let{src:s,alt:u,isDisabled:g,size:b="m",autoFocus:w,name:p,children:v,isInline:y,isBold:j,stretchable:N,truncatable:E,elementType:k="button",imageElementType:z="img",isStatic:M,prefetch:S}=e;"button"===k&&!e["aria-label"]&&!e["aria-labelledby"]&&p&&v&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let $=(0,r.t0)(l),{buttonProps:P,isPressed:_}=(0,n.s)(e,$),{hoverProps:D,isHovered:C}=(0,o.M)({isDisabled:g}),H=(0,x.useMemo)(()=>(0,d.a1)(b,"m"),[b]),A=(0,x.useMemo)(()=>(0,d.dz)(H,a),[H]),T=(0,x.useMemo)(()=>f(`
8    relative shrink-0 overflow-hidden rounded-full pointer-events-none
9    ${A}
10    ${g?"opacity-50":""}
11    `),[A,g]),I=i[H.base??"m"];return(0,h.jsx)(m.v,{autoFocus:w,children:(0,h.jsxs)(k,{...(0,x.useMemo)(()=>M?{}:(0,c.v)(P,D),[M,P,D]),"data-name":"avatar",role:P.role,disabled:g,className:`relative inline-block ${E?"w-full":""}`,ref:$,prefetch:S,children:[(0,h.jsxs)("div",{className:"relative flex items-center",children:[(0,h.jsxs)("div",{className:T,children:[(0,h.jsx)(()=>(0,h.jsx)(z,{className:"block h-full w-full object-cover",width:I,height:I,src:s,alt:u,loading:"lazy"}),{}),!M&&(!p||!v)&&(0,h.jsx)(t.P,{isPressed:_,isHovered:C})]}),(p||v)&&(0,h.jsxs)("div",{className:f(`ml-2 flex-1 overflow-hidden text-left text-text-secondary text-xs ${y?"flex items-center gap-3":""} ${N?"justify-between":""}`),children:[p&&(0,h.jsx)("div",{className:`${E?"truncate":""} ${j?"font-bold":""}`,children:p}),v&&(0,h.jsx)("div",{className:"text-nowrap leading-none",children:v})]})]}
11),!M&&(p||v)&&(0,h.jsx)(t.P,{unSafeClassName:"-inset-x-2 -inset-y-1 rounded-lg pointer-events-none",isPressed:_,isHovered:C})]})})}))}}]);

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.