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 t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a738cf15-ef52-48df-9287-815df1f3a3ec",e._sentryDebugIdIdentifier="sentry-dbid-a738cf15-ef52-48df-9287-815df1f3a3ec")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6121],{36886:(e,t,r)=>{r.d(t,{E:()=>c,T:()=>i});var o=r(97360),n=r(61246),a=r(65887),s=r(19324);let i=({modalPurpose:e,extraActionLogs:t})=>{let r=(0,s.useRef)(!1),{trackActionLogs:o}=(0,n.sr)();(0,s.useEffect)(()=>{!0!==r.current&&(o([{kind:"",event:"imp",target:"other",contents:{modalName:e}},...t??[]]),r.current=!0)},[o,e,t])},c=({modalPurpose:e,extraActionLogs:t,...r})=>(i({modalPurpose:e,extraActionLogs:t}),(0,o.jsx)(a.A,{...r}))},54544:(e,t,r)=>{r.d(t,{Pd:()=>s,Rd:()=>n,rt:()=>a});var o=r(21216);function n(e,{currentEnv:t,prehubEnv:r}){return{router:e,currentEnv:t,currentOrigin:window.location.origin,isCustomDomain:!0,isSubApp:!0,runtimeOriginSet:{analyticsPro:`https://analytics-pro.${r}.note.com`,core:`https://${r}.note.com`,customDomain:"http://customdomain",dashboard:`https://analytics.${r}.note.com`,editor:`https://editor.${r}.note.com`,help:"http://help-note.com",pro:`https://pro.${r}.note.com`,settings:`https://${r}.note.com`}}}function a(e,t){return(0,o.YlQ)()(e)(n({push(e){}},t))}function s(e,t){if(/^https?:\/\//.test(e))return e;let{runtimeOriginSet:r}=n({push(e){}},t);return`${r.core}${e}`}},88502:(e,t,r)=>{r.r(t),r.d(t,{QRCodeDialog:()=>v});var o=r(97360),n=r(59995),a=r(65154),s=r(34560),i=r(20341),c=r(34447),l=r(87091),d=r(19324),u=r(14157),m=r(50387),f=r(36886),h=r(54544);let p={"ja-JP":{failedToFetch:"QRã³ã¼ãã®åå¾ã«å¤±æãã¾ããã",qrCodeFor:"{name}ããã®QRã³ã¼ã",descriptionPortal:"ãã®QRã³ã¼ããã¹ãã£ã³ããã¨ã{name}ããã®ãªã³ã¯éãã¼ã¸ã«ç§»åãã¾ãã",descriptionCreator:"ãã®QRã³ã¼ããã¹ãã£ã³ããã¨ã{name}ããã®ãã¼ã¸ã«ç§»åãã¾ãã",usage:"ååºã«å°å·ããããæ
å ±äº¤æã«æ´»ç¨ãããªã©ããèªç±ã«ã使ããã ããã"}},g=e=>new Promise((t,r)=>{let o=new Image;o.crossOrigin="Anonymous",o.src=e,o.onerror=e=>{r(e)},o.onload=()=>{t(o)}}),y=async e=>g(await l.toDataURL(e,{color:{dark:"000000"},errorCorrectionLevel:"M",margin:1,version:4,width:400,rendererOpts:{quality:1}})),w=async()=>g("https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/logo_202212.svg"),b=async e=>{let t=document.createElement("canvas");t.width=400,t.height=400;let r=t.getContext("2d");if(null===r)throw Error("ctx is null");let o=await y(e),n=await w();r.save();r.translate(200,200),r.drawImage(o,-200,-200,400,400),r.restore();r.fillStyle="#ffffff",r.fillRect(99.8,168.2,200.4,63.6),r.drawImage(n,111.8,180.2,176.4,39.6);let a=await new Promise((e,r)=>{t.toBlob(t=>
1{t?e(t):r(Error("Blob creation failed"))},"image/png")});return URL.createObjectURL(a)},v=e=>{let{urlname:t,customDomain:r,creatorName:l,onClose:g,isPortal:y=!1}=e,w=(0,m.u)(),v=(0,n.Ru)({lang:w,dict:p}),x=(0,u.D6)(),C=(0,h.rt)({creatorHome:a.iQ},x),[_,E]=(0,d.useState)(void 0),j=C.getLinkUrl("creatorHome",{urlname:t,customDomain:r}),R=y?`${j}/portal`:j,k=v("failedToFetch");return(0,d.useEffect)(()=>{(async()=>{try{let e=await b(R);E(e)}catch(e){console.error(e),alert(k),g()}})()},[g,R,k]),(0,o.jsxs)(f.E,{modalPurpose:"creatorQrCode",hasCloseButton:!0,onDismiss:g,children:[(0,o.jsx)(s.A,{children:v("qrCodeFor",{name:l})}),(0,o.jsx)(i.A,{unsafeClassName:"p-6 !rounded-b-lg",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("figure",{className:"mx-auto mb-2 block size-[12.5rem]",children:void 0!==_&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(c.default,{src:_,alt:v("qrCodeFor",{name:l}),width:200,height:200})})}),(0,o.jsx)("p",{className:"mb-2 text-center font-bold text-sm",children:v(y?"descriptionPortal":"descriptionCreator",{name:l})}),(0,o.jsx)("p",{className:"text-center text-sm text-text-secondary",children:v("usage")})]})})]})}}}]);
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.