1import{_ as O}from"./preload-helper.87151e19.js";import{c as U}from"./setEurekaLoginCookie.fad34e2e.js";import{_ as V}from"./ThePagination.vue.fbb0a963.js";import{l as B,f as F}from"./js.cookie.de85c03b.js";import{u as Z}from"./asyncData.e8d2b9d8.js";import{u as j}from"./composables.995046f9.js";import{a as I}from"./entry.770eaf5d.js";import{u as G}from"./useTrizCaseDataProxy.a094e3ea.js";import{u as K,R as q}from"./useRdSeoTrack.987b7ad7.js";import{g as H}from"./getValidCurrentPage.d0d40730.js";import{i as J}from"./initLogoSchema.2c23620d.js";import{f as W,ak as X,h as y,m as Q,q as u,x as _,z as e,ai as c,u as n,A as S,F as Y,ah as tt,B as E,d as et,C as at,D as st}from"./runtime-core.esm-bundler.693c71a8.js";import{_ as ot}from"./_plugin-vue_export-helper.6134b9f8.js";import"./state.028f2095.js";import"./useLinks.26bb8330.js";import"./composables.da889b32.js";const nt=et(()=>O(()=>import("./SSRPagination.client.81d49cd4.js"),["./SSRPagination.client.81d49cd4.js","./runtime-core.esm-bundler.693c71a8.js","./SSRPagination.client.757ae692.css"],import.meta.url).then(i=>i.default||i).then(i=>U(i))),v=i=>(at("data-v-54deed4f"),i=i(),st(),i),it={class:"triz-case-topic-page"},rt={class:"v2-head"},ct={class:"breadcrumb"},pt=v(()=>e("a",{href:"/"},"Eureka",-1)),lt=v(()=>e("span",{class:"sep"},"/",-1)),mt={class:"relative flex flex-col gap-3 rounded-lg bg-grey-20 p-3 pl-4 text-grey-450"},dt=v(()=>e("div",{class:"absolute left-0 top-4 bottom-4 w-1 bg-eureka-500"},null,-1)),ut={class:"text-2xl font-semibold text-black"},_t={key:0,class:"break-word w-full"},gt={class:"article-list"},ht=["href","onClick"],ft={key:0,class:"article-desc"},yt={class:"article-meta"},vt={class:"reading-time"},bt=v(()=>e("span",{class:"sep-dot"},"·",-1)),Ct={class:"created-date"},kt={class:"pagination-wrap"},wt=W({__name:"[id]",async setup(i){let g,w;const b=B().params.id,h=b.match(/^(.*)-(\d+)$/),s=h?h[1]:b,L=h?parseInt(h[2],10):1,f=H(String(L)),{data:$}=([g,w]=X(async()=>Z(`triz-case-topic-${b}`,async()=>{var a;const t=await G().fetchTopicList(s,f);if(!t||!((a=t.articles)!=null&&a.length))throw I({statusCode:404,statusMessage:"Not Found"});return t})),g=await g,w(),g);if(!$.value)throw I({statusCode:404,statusMessage:"Not Found"});const r=y(()=>$.value),p=F().public.NUXT_APP_EUREKA_URL,z="https://eureka.patsnap.com/blog/wp-content/uploads/2026/07/PatSnap-Eureka-Tech-Solution.png",C=y(()=>{const t=`${p}/triz-case-topic/${s}`;return f===1?t:`${t}-${f}`}),m=y(()=>{var l;return`${(((l=r.value)==null?void 0:l.canonical_topic)||s).replace(/\b\w/g,d=>d.toUpperCase())} TRIZ Cases`}),{trackTrizCaseTopicListView:x,rdSeoTrackEvent:P}=K();Q(()=>{x()});function T(t,a){P(q.TRIZ_CASE_LIST_ITEM_CLICK,{rd_target_seo_url:t,rd_list_position:a})}const R=y(()=>{const t=C.value,a=r.value.articles??[],l=a.map((o,k)=>({"@type":"ListItem",position:k+1,url:`${p}/triz-case/${o.seo_url}`,name:o.title})),d=[{"@type":"ListItem",position:1,name:"Patsnap Eureka",item:p},{"@type":"ListItem",position:2,name:"TRIZ Case",item:`${p}/triz-case`},{"@type":"ListItem",position:3,name:s}];return{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":`${t}#webpage`,url:t,name:m.value,description:`Explore ${s} TRIZ case reports covering engineering problems, contradictions, mechanisms, and inventive principles.`,inLanguage:"en",isPartOf:{"@type":"WebSite",name:"Patsnap Eureka",url:p},publisher:{"@type":"Organization",name:"Patsnap Eureka",url:p},breadcrumb:{"@id":`${t}#breadcrumb`},mainEntity:{"@id":`${t}#itemlist`}},{"@type":"ItemList","@id":`${t}#itemlist`,numberOfItems:a.length,itemListElement:l},{"@type":"BreadcrumbList","@id":`${t}#breadcrumb`,itemListElement:d}]}});j({title:m.value,script:[...J(),{type:"application/ld+json",children:JSON.stringify(R.value)}],meta:[{name:"description",content:s},{property:"og:type",content:"website"},{property:"og:site_name",content:"Patsnap Eureka"},{property:"og:title",content:m.value},{property:"og:description",content:s},{property:"og:url",content:C.value},{property:"og:image",content:z},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:"@PatSnap_Eureka"},{name:"twitter:title",content:m.value},{name:"twitter:description",content:s},{name:"twitter:image",content:z}],link:[{rel:"canonical",href:C.value}]});function A(t){const a=t===1?`/triz-case-topic/${s}`:`/triz-case-topic/${s}-${t}`;window.location.href=a}function D(t){return t.replace(/^\s*I confirm the key problem is\s*[:ï¼]?\s*/i,"").trimStart()}function M(t){return`${Math.max(1,Math.round(t/200))} mins read`}function N(t){return new Date(t).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}return(t,a)=>{const l=nt,d=V;
1return u(),_("div",it,[e("div",rt,[e("div",ct,[pt,lt,e("span",null,c(n(s)),1)]),e("div",mt,[dt,e("h1",ut,c(n(m)),1),n(r).topic_summary?(u(),_("p",_t,c(n(r).topic_summary),1)):S("",!0)])]),e("ul",gt,[(u(!0),_(Y,null,tt(n(r).articles,(o,k)=>(u(),_("li",{key:o.id,class:"article-card"},[e("a",{href:`/triz-case/${o.seo_url}`,class:"article-title",onClick:It=>T(o.seo_url,k+1)},c(o.title),9,ht),o.meta_description?(u(),_("p",ft,c(D(o.meta_description)),1)):S("",!0),e("div",yt,[e("span",vt,c(M(o.word_count)),1),bt,e("span",Ct,c(N(o.created_at)),1)])]))),128))]),e("div",kt,[E(l,{"current-page":n(f),total:n(r).total,"page-size":n(r).page_size,"pager-count":7,disabled:!1,onCurrentChange:A},null,8,["current-page","total","page-size"]),E(d,{class:"hidden",total:n(r).total,"page-size":n(r).page_size,"current-route-path":`/triz-case-topic/${n(s)}`},null,8,["total","page-size","current-route-path"])])])}}});const Zt=ot(wt,[["__scopeId","data-v-54deed4f"]]);export{Zt as default};
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.