PageSourceSearch

https://www.linego.me/_next/static/chunks/112-3321e5bdd6a8a7fc.js

js linego.me collected 2026-10-09 04:44:05 UTC 11,116 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[112],{19479:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var a=n(11527),c=n(46259),o=n(31080),i=n.n(o),r=n(82187),s=n.n(r),l=n(39272),d=n(50959),u=n(8068),_=n(7652),p=n(84509),g=n(8776),h=n.n(g),f=e=>{let{data:t}=e,n=(0,u.g)(),[c]=(0,_.i)(),[o,i]=(0,d.useState)(!1),[r,l]=(0,d.useState)(""),g=(0,d.useRef)(!1),f=(0,d.useRef)(!1),w=e=>{let t=document.getElementById("#".concat(e));if(t&&n){g.current=!0;let a=t.getBoundingClientRect().top-n/4+window.pageYOffset+(c>767?80:64);i(!1),window.location.replace("#".concat(e)),l("#".concat(e)),window.scroll({top:a,behavior:"smooth"}),setTimeout(()=>{g.current=!1},1e3)}};return(0,d.useEffect)(()=>{if(!t||0===t.length)return;let e=window.location.hash;if(e&&!f.current){let t=e.replace("#",""),a=document.getElementById("#".concat(t));if(a&&n){g.current=!0,f.current=!0;let t=a.getBoundingClientRect().top-n/4+window.pageYOffset+(c>767?80:64);Promise.resolve().then(()=>{window.scroll({top:t,behavior:"smooth"}),l(e),setTimeout(()=>{g.current=!1},1e3)})}}else f.current=!0},[t,n,c]),(0,d.useEffect)(()=>{if(!t||0===t.length||!f.current)return;let e=()=>{if(g.current)return;let e=null,a=-1;for(let c=0;c<t.length;c++){if(!t[c].title)continue;let o=document.getElementById("#".concat(c));if(o&&n){let t=o.getBoundingClientRect();if(t.top<=n/2&&t.bottom>=n/2){e=o,a=c;break}}}null!==e&&-1!==a&&r!=="#".concat(a)&&(window.history.replaceState(null,"","#".concat(a)),l("#".concat(a)))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[t,n,r,f.current]),(0,d.useEffect)(()=>{let e=()=>{g.current||l(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]),(0,a.jsxs)("div",{className:s()(h().sidebar,{[h().isOpen]:o}),children:[(0,a.jsxs)("div",{className:h().list,children:[(0,a.jsx)("p",{children:"文章大綱"}),t.map((e,t)=>e.title?(0,a.jsx)("div",{className:s()({[h().active]:"#".concat(t)===r}),onClick:()=>w(t),role:"button",tabIndex:0,children:e.title},t):null)]}),c<1200&&(0,a.jsx)("button",{onClick:()=>i(!o),children:(0,a.jsx)(p.Z,{name:o?"close":"arrowDown"})})]})},w=n(66999),m=n.n(w),I=n(38661),L=e=>{let{data:t={title:"",image:"",contents:[]},infoClassName:n,infoChildren:o,contentChildren:r,footerChildren:d,moreTitle:u,otherChildren:_,loading:p=!1}=e,g=(0,c.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:m().innerLayput,children:[p&&(0,a.jsx)(I.Z,{className:m().loading}),(0,a.jsx)(l.W4,{className:m().backButton,children:(0,a.jsx)(l.ZP,{onClick:()=>g.back(),fontSize:"btn-2",type:"outline",icon:"arrowRight",iconPosition:"left",text:"返回"})}),(0,a.jsxs)("div",{className:m().head,children:[(0,a.jsxs)("div",{className:m().text,children:[(0,a.jsxs)("div",{className:m().title,children:[(0,a.jsx)("h2",{children:t.title}),u&&u]}),(0,a.jsx)("div",{className:s()(m().info,n),children:o})]}),(0,a.jsx)("div",{className:m().image,children:(0,a.jsx)(i(),{src:"".concat("https://www.linego.me","/").concat(t.image),alt:t.title,width:690,height:360})})]}),t.contents.length>0&&(0,a.jsxs)("div",{className:m().content,children:[t.contents.filter(e=>!!e.title).length>0&&(0,a.jsx)(f,{data:t.contents}),(0,a.jsx)("div",{className:s()(m().editorWrapper,"ql-editor"),children:r})]}),_&&_]}),d]})}},11143:function(e,t,n){"use strict";var a=n(11527),c=n(50959),o=n(8068),i=n(83550);t.Z=e=>{let{children:t,className:n,id:r}=e,s=(0,o.g)(),[l,d]=(0,i.Z)({threshold:.1}),[u,_]=(0,c.useState)(0);return(0,c.useEffect)(()=>{window.addEventListener("scroll",()=>{l.current&&_(l.current.getBoundingClientRect().top)})}),(0,a.jsx)("div",{ref:l,className:n,id:r,children:(d||u<(s||0))&&t})}},38661:function(e,t,n){"use strict";var a=n(11527),c=n(82187),o=n.n(c),i=n(74607),r=n.n(i);t.Z=e=>{let{className:t="",size:n,wording:c,color:i}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{width:0,height:0,children:(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"d",clipPathUnits:"objectBoundingBox",children:(0,a.jsx)("path",{d:"M0.5,0.5m-0.5,0a0.5,0.5,0,0,1,1,0,0.5,0.5,0,0,1-1,0zM0.5,0.5m-0.375,0a0.375,0.375,0,0,0,0.75,0,0.375,0.375,0,0,0-0.75,0z"})})})}),(0,a.jsxs)("div",{className:o()(r().loadingContainer,t,r()[n||""],r()[i||""]),children:[(0,a.jsx)("span",{className:r().loader}),(0,a.jsx)("span",{className:r().wording,children:c})]})]})}},87739:function(e,t,n){"use strict";n.d(t,{i:function(){return a},x:function(){return c}});let a={CAR:{CATEGORY:e=>"/api/v1/category-cars?category=".concat(e),LIST:e=>{let{category:t,page:n,items:a,people:c,types:o,level_id:i}=e;return"/api/v1/cars?category=".concat(t,"&page=").concat(n).concat(a?"&items=".concat(a):"").concat(i?i.split(",").map(e=>"&level_id[]=".concat(e)).join(""):"").concat(c?c.split(",").map(e=>"&people[]=".concat(encodeURIComponent("".concat(e,"人")))).join(""):"").concat(o?"&types[]=".concat(o):"")},CONTENT:e=>"/api/v1/cars/".concat(e)},SCOOTER:{LIST:()=>"/api/v1/scooters",CONTENT:e=>"/api/v1/scooters/".concat(e)},NEWS:{CATEGORY:e=>"/api/v1/category-news".concat(e?"?topic=".concat(e):""),LIST:e=>{let{page:t,items:n,tag:a,topic:c,category_id:o,search:i,sortby:r}=e;return"/api/v1/news?page=".concat(t||1,"&items=").concat(n).concat(a?"&tag=".concat(encodeURIComponent(a)):"").concat(c?"&topic=".concat(c):"").
1concat(o?"&category_id=".concat(o):"").concat(i?"&search=".concat(encodeURIComponent(i)):"").concat(r?"&sortby=".concat(r):"")},CONTENT:e=>"/api/v1/news/".concat(e)},CONTACT:{FORM:"/api/v1/contacts"},SEO:{CONTENT:e=>"/api/v1/seo_settings".concat(e?"?search=".concat(encodeURIComponent(e)):"")}},c={FAQS:{BRAND:()=>"/help_center/brand/all",CATEGORY:e=>"/help_center/brand/".concat(e,"/categories"),SECTIONS:(e,t)=>"/help_center/category/".concat(e,"/sections?brand=").concat(t),ARTICLES:(e,t)=>"/help_center/section/".concat(e,"/articles?brand=").concat(t),ARTICLE:(e,t)=>"/help_center/article/".concat(e,"?brand=").concat(t),SEARCH:e=>"/help_center/article".concat(e?"?search_term=".concat(e):"")},LOCATIONS:{STORELIST:()=>"/srental/stations",STATIONLIST:(e,t)=>"/rental/parkinglots/station".concat(e?"?city=".concat(encodeURIComponent(e)):"").concat(t?"".concat(e?"&":"?","search=").concat(encodeURIComponent(t)):""),DIFFSTATIONLIST:(e,t)=>"/rental/parkinglots/roadside?city=".concat(encodeURIComponent(e)).concat(t?"&search=".concat(encodeURIComponent(t)):""),AIRPORTPICKUPLIST:e=>"/api/v1/airport-transfers/".concat(e)}}},51374:function(e,t,n){"use strict";async function a(e){return 200===e.status?e.json():Promise.resolve({status:e.status})}async function c(e){return e.status?Promise.resolve(e.data):Promise.reject({status:e.status,message:e.message})}n.d(t,{LJ:function(){return o},Xg:function(){return i},ne:function(){return l},wG:function(){return r}});let o=async(e,t,n)=>{let o=n?"".concat("https://www.linego.me/backstage").concat(e,"?").concat(n):"".concat("https://www.linego.me/backstage").concat(e),i=await fetch(o,{method:t,credentials:"same-origin"});return c(await a(i))},i=async(e,t,n,o)=>{let i=n?"".concat("https://www.linego.me/backstage").concat(e,"?").concat(n):"".concat("https://www.linego.me/backstage").concat(e),r=await fetch(i,{method:t,credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(o)}});return c(await a(r))},r=async(e,t,n,o)=>{let i={method:t,credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)},r=n?"".concat("https://www.linego.me/backstage").concat(e,"?").concat(n):"".concat("https://www.linego.me/backstage").concat(e),s=await fetch(r,i);return c(await a(s))},s=e=>e,l=async(e,t,n)=>{let c="https://api.taxigo.io/official_website",o="/api/cors-proxy?url=".concat(n?"".concat(c).concat(e,"?").concat(n):"".concat(c).concat(e)),i=await fetch(o,{method:t,credentials:"same-origin"});return s(await a(i))}},58617:function(e,t,n){"use strict";n.d(t,{bp:function(){return o},i3:function(){return i},vQ:function(){return c},y8:function(){return a}});let a=(e,t)=>{if(t.current){let n=t.current.swiper;"prev"===e&&n.slidePrev(),"next"===e&&n.slideNext()}},c=(e,t)=>{navigator.clipboard.writeText(e).then(()=>{console.log("URL copied to clipboard"),t&&t()}).catch(e=>{console.error("Failed to copy URL: ",e)})},o=(e,t)=>{let n={taxigosupport:360001841613,taxigoofficialweb:39174298201881,taxigodriversupport:33404073006873};if("id"===e)return n[t]||null;if("name"===e){let e=Object.entries(n).find(e=>{let[,n]=e;return n===t});return e?e[0]:null}return null},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table-many-cols",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"table-few-cols",a=new DOMParser().parseFromString(e,"text/html"),c=window.innerWidth<540?2:5;return a.querySelectorAll("table").forEach(e=>{let a=e.querySelectorAll("colgroup"),o=0;if(a.forEach(e=>{o+=e.querySelectorAll("col").length}),o>c){e.classList.add(t);let n=120*o;e.style.maxWidth="".concat(n,"px")}else e.classList.add(n),e.style.minWidth="100%"}),a.body.innerHTML}},83550:function(e,t,n){"use strict";var a=n(50959);t.Z=e=>{let[t,n]=(0,a.useState)(!1),c=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=new IntersectionObserver(e=>{let[t]=e;n(t.isIntersecting)},e),a=c.current;return a&&t.observe(a),()=>{a&&t.unobserve(a),t.disconnect()}},[e]),[c,t]}},66999:function(e){e.exports={innerLayput:"InnerLayout_innerLayput__tIkY1",loading:"InnerLayout_loading__Ekwxr",backButton:"InnerLayout_backButton__iKaL7",head:"InnerLayout_head__ixxRd",text:"InnerLayout_text__rfeDs",title:"InnerLayout_title__X0o1J",image:"InnerLayout_image__7UMo2",content:"InnerLayout_content__uqEGy",editorWrapper:"InnerLayout_editorWrapper__jmXDj",switchFeatureSlide:"InnerLayout_switchFeatureSlide__qm2ht",slideIn:"InnerLayout_slideIn__0GqMW",slideInVertical:"InnerLayout_slideInVertical__DayoR",slideDown:"InnerLayout_slideDown__rtF8b",moveRight:"InnerLayout_moveRight__gAbcB",fadeIn:"InnerLayout_fadeIn__vSHZC",fadeInUp:"InnerLayout_fadeInUp__byOt1",fadeInLeft:"InnerLayout_fadeInLeft__iXO1z",scaleUp:"InnerLayout_scaleUp__BOB0Y"}},8776:function(e){e.exports={sidebar:"Sidebar_sidebar__p6tvB",isOpen:"Sidebar_isOpen__rTHII",list:"Sidebar_list__z9cLb",active:"Sidebar_active__sTa92",slideIn:"Sidebar_slideIn__Yv14W",slideInVertical:"Sidebar_slideInVertical__3iqgD",slideDown:"Sidebar_slideDown__kuUdU",moveRight:"Sidebar_moveRight__2PM2Z",fadeIn:"Sidebar_fadeIn__zL5M0",fadeInUp:"Sidebar_fadeInUp__QyAGz",fadeInLeft:"Sidebar_fadeInLeft__SfdZX",scaleUp:"Sidebar_scaleUp__Kkshh"}},74607:function(e){e.exports={loadingContainer:"Loading_loadingContainer__KfgLt",small:"Loading_small__1pUBe",loader:"Loading_loader__UvODq",white:"Loading_white__jAO6f",wording:"Loading_wording__H53rc",spin:"Loading_spin__0qxEW",slideIn:"Loading_slideIn__qFZGQ",slideInVertical:"Loading_slideInVertical__xOnI6",slideDown:"Loading_slideDown__Tq0NG",moveRight:"Loading_moveRight__QwUVM",fadeIn:"Loading_fadeIn__tU7GU",fadeInUp:"Loading_fadeInUp__fljBB",fadeInLeft:"Loading_fadeInLeft__71I3L",scaleUp:"Loading_scaleUp__1_YmT",rotation:"Loading_rotation__cRPNe"}}}]);

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.