PageSourceSearch

https://shoppingways.com/_nuxt/CiFP8XkR.js

js shoppingways.com collected 2026-10-02 00:56:31 UTC 2,594 bytes, 1 lines download raw bytes

1import{a as y}from"./B26EToBd.js";import{c as b}from"./D96cNzII.js";import{e as h,O as v,q as C,r as w,D as k,n as D,A as o,c as i,a as e,t as l,F as L,N as A,L as p,o as c}from"./Ct35PZoH.js";import"./DsqdWQfm.js";const N={key:0},R={class:"bg-gray-100"},B={class:"max-w-7xl mx-auto px-3"},I={class:"flex items-center py-2 overflow-x-auto whitespace-nowrap text-xs pb-2 text-gray-500"},U={href:"#",class:"text-gray-900"},q={class:"bg-gray-50"},E={class:"max-w-3xl mx-auto border-b border-gray-200 px-3"},H={class:"py-8"},S=["src"],T=["src"],j={class:"lg:flex items-center justify-center lg:space-x-6 space-y-2 py-6"},F={class:"border-2 border-dashed text-center border-orange-600 px-10 py-2 lg:py-4 text-xl lg:text-2xl rounded bg-orange-50 text-orange-600"},M={key:0,class:"pb-12 max-w-3xl mx-auto px-3"},O={class:"offer-description editor-style"},V={class:"border-b py-4"},z={class:"font-bold mb-2"},P={class:"text-gray-700 text-sm"},$=["innerHTML"],X=h({__name:"[offer]",async setup(G){let n,d;const f=v(),{$axios:x}=C(),u=w().public.API_BASE_URL;let t;try{const{data:r}=([n,d]=k(()=>x.get(u+y.offerDetails+f.params.offer)),n=await n,d(),n);if(t=r?.data,t){const s=[];(t?.pageDescriptions).sort((a,m)=>a.sequence-m.sequence).forEach(a=>{s.push(a)}),t.pageDescriptions=s}else D({path:"/404"})}catch(r){console.log(r)}const _=async()=>{if(t.offerCode&&t.offerCode!=="null")try{b(t.offerCode)}catch(r){console.error(r)}},g=()=>{t.offerLink&&window.open(t.offerLink,"_blank")};return(r,s)=>o(t)?(c(),i("div",N,[e("div",R,[e("div",B,[e("div",I,[s[0]||(s[0]=e("a",{href:"#"},"Home",-1)),s[1]||(s[1]=e("span",{class:"mx-3"},"/",-1)),s[2]||(s[2]=e("a",{href:"javascript:void(0)"},"Offer",-1)),s[3]||(s[3]=e("span",{class:"mx-3"},"/",-1)),e("a",U,l(o(t).offerName),1)])])]),e("div",q,[e("div",E,[e("div",H,[e("img",{class:"h-[80px] m-auto rounded-full mb-3",src:o(t).storeId.logoImage?.url,alt:""},null,8,S),e("img",{class:"rounded-xl mb-3 mx-auto",src:o(t).logoImage?.url,alt:""},null,8,T),e("div",j,[s[4]||(s[4]=e("p",{class:"text-center"},"Use Code",-1)),e("p",F,l(o(t).offerCode),1),e("p",{class:"font-bold text-sky-600 cursor-pointer text-center",onClick:_},"Copy Code")]),e("div",{class:"text-center"},[e("button",{class:"capitalize bg-orange-600 text-white px-20 py-3 rounded text-xl",onClick:g}," grab deal ")])])]),o(t).pageDescriptions&&o(t).pageDescriptions.length?(c(),i("div",M,[(c(!0),i(L,null,A(o(t).pageDescriptions,a=>(c(),i("div",O,[e("div",V,[e("h2",z,l(a.title),1),e("div",P,[e("div",{innerHTML:a.content},null,8,$)])])]))),256))])):p("",!0)])])):p("",!0)}});export{X 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.