PageSourceSearch

https://auba.eiicon.net/assets/CompanySuggest-C9NQAG-C.js

js eiicon.net collected 2026-09-24 18:57:15 UTC 2,409 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`c4378d7de1ec689fc024dd32587e688028486a0b`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`6befc5ca-7848-4715-87e4-43f1aaf9129d`,e._sentryDebugIdIdentifier=`sentry-dbid-6befc5ca-7848-4715-87e4-43f1aaf9129d`)}catch{}})();import{Or as e,ot as t,rt as n,t as r}from"./jsx-runtime-Wgit3Cq1.js";import"./LayoutInner-Do9BzdSB.js";import{t as i}from"./TransitionFade-BAFqhQVA.js";import{t as a}from"./InputText-CZVVvNGG.js";var o=e(n(),1),s=`_1kwskfs0`,c=`_1kwskfs1`,l=`_1kwskfs2`,u=`_1kwskfs3`,d=`_1kwskfs4`,f=`_1kwskfs5`,p=`_1kwskfs6`,m=`_1kwskfs7`,h=`_1kwskfs8`,g=`_1kwskfs9`,_=`_1kwskfsa`,v=`_1kwskfsb`,y=`_1kwskfsc`,b=`_1kwskfsd`,x=`_1kwskfse`,S=r(),C=({className:e,inputTextProps:n,onSelectedSuggest:r,isNotSearchSuggest:C})=>{let[w,T]=(0,o.useState)(!1),[E,D]=(0,o.useState)([]),[O,k]=(0,o.useState)(null),A=async e=>{if(C)return;let t=await fetch(`https://www.b-story.co.jp/standeapi/api/search?corporate_name=${e}&account_id=hs3Rh6LGbqxEsN5`).catch(e=>{k(e)});if(!t)return;let n=await t.json();D(n.data)};return(0,o.useEffect)(()=>{O&&t(O)},[O]),(0,S.jsx)(`div`,{className:[s,e].filter(Boolean).join(` `),children:(0,S.jsxs)(`div`,{className:c,children:[(0,S.jsx)(`div`,{className:l,children:(0,S.jsx)(a,{autoComplete:`off`,...n,onBlur:()=>{T(!1)},onFocus:()=>{E.length===0||C||T(!0)},onChange:(e,t)=>
1{n.onChange?.(e,t),!C&&t.length>=2&&(A(t),T(!0))}})}),(0,S.jsx)(i,{isShow:w,className:u,children:(0,S.jsx)(`div`,{className:d,children:(0,S.jsx)(`div`,{className:f,children:E.length===0?(0,S.jsx)(`div`,{className:h,children:(0,S.jsx)(`p`,{className:g,children:`該当する企業が見つかりませんでした。`})}):(0,S.jsx)(`ul`,{className:p,children:E.map((e,t)=>(0,S.jsx)(`li`,{className:m,children:(0,S.jsx)(`button`,{type:`button`,className:_,onClick:()=>{T(!1),r&&r(e)},children:(0,S.jsxs)(`span`,{className:v,children:[(0,S.jsx)(`span`,{className:y,children:e.corporate_name}),(0,S.jsxs)(`span`,{className:b,children:[e.hp_url&&(0,S.jsx)(`span`,{className:`_1kwskfse`,children:e.hp_url}),(0,S.jsxs)(`span`,{className:x,children:[e.prefecture,e.city_address]})]})]})})},`${e.corporate_number}${e.phone_number}-${t}`))})})})})]})})};export{C as t};
2//# sourceMappingURL=CompanySuggest-C9NQAG-C.js.map

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.