PageSourceSearch

https://app.iyzads.com/_next/static/chunks/pages/meta-ads/campaign…/[adSetId]/ad/[adId]-ac47e1670dd015f3.js

js iyzads.com collected 2026-10-01 12:15:05 UTC 3,753 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3462],{98814:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(91373);/**
2 * @license lucide-react v0.445.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let a=(0,s.Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},89964:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/meta-ads/campaign/[campaignId]/ad-set/[adSetId]/ad/[adId]",function(){return n(29854)}])},35739:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var s=n(85893),a=n(67421),o=n(62079),l=n(70900);function i(e){let{t}=(0,a.$G)("common"),{title:n,description:i,className:c,extra:d,variant:r="data",...u}=e;return(0,s.jsxs)("div",{...u,className:(0,o.cn)("flex flex-1 flex-col items-center justify-center gap-6 rounded-lg bg-background p-4",c),children:[(0,s.jsx)(l.gz,{className:"h-full max-h-60 w-full max-w-60"}),(0,s.jsxs)("div",{className:"flex max-w-sm flex-col items-center justify-center text-center",children:[(0,s.jsx)("p",{className:"font-semibold text-foreground",children:null!=n?n:t("lottie.not_found_".concat(r,".title"))}),(0,s.jsx)("p",{className:"text-sm font-normal text-muted-foreground",children:null!=i?i:t("lottie.not_found_".concat(r,".description"))})]}),d]})}},29854:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return p},default:function(){return x}});var s=n(85893),a=n(67294),o=n(11163),l=n(67421),i=n(55921),c=n(59994),d=n(72333),r=n(92342),u=n(77518),f=n(99311),m=n(35739),g=n(12051),p=!0;function x(){let{t:e}=(0,l.$G)("facebook"),t=(0,o.useRouter)(),{campaignId:n,adSetId:p,adId:x,process:j}=t.query,_=(0,d.T)(),{adAccount:h,loading:v}=(0,d.C)(e=>e.metaAds),S=(0,d.C)(e=>e.metaAdsEdit),[N,w]=(0,a.useState)(!1),[A,C]=(0,a.useState)(!1);(0,a.useEffect)(()=>{_(c.o.getAdAccounts())},[_]),(0,a.useEffect)(()=>{w(!1),_(i.Cq.cancelTasks()),_(i.Cq.setProcess("edit")),_(i.Cq.setCampaign(null)),_(i.Cq.setAdSet(null)),_(i.Cq.setAd(null)),_(i.Cq.getParameters())},[_,h]),(0,a.useEffect)(()=>{if(!h||!(null==h?void 0:h.facebookAdAccountMetadata))return;let e=n&&"string"==typeof n?n:void 0,t=p&&"string"==typeof p?p:void 0,s=x&&"string"==typeof x?x:void 0,a=j&&"string"==typeof j?j:"edit";a&&("create"===a||"edit"===a)&&_(i.Cq.setProcess(a)),e&&t&&s?_(i.Cq.getAd({campaignId:e,adSetId:t,adId:s,onError:()=>{w(!0)},onUnsupported:()=>{C(!0)}})):w(!0)},[_,h,n,p,x,j]);let b=(0,a.useMemo)(()=>v.adAccounts||S.loading.campaign||S.loading.adSet||S.loading.ad||S.loading.parameters.minBudget,[v.adAccounts,S.loading.campaign,S.loading.adSet,S.loading.ad,S.loading.parameters.minBudget]);return!h||(null==h?void 0:h.facebookAdAccountMetadata)?A?(0,s.jsxs)("div",{className:"flex min-h-full w-full flex-1 flex-col items-center justify-center",children:[(0,s.jsx)(f.Z,{activeStep:0,completedSteps:[],notFound:!0}),(0,s.jsx)(m.s,{title:e("ad").toString(),description:e("common:errors.unsupported").toString()})]}):N?(0,s.jsxs)("div",{className:"flex min-h-full w-full flex-1 flex-col items-center justify-center",children:[(0,s.jsx)(f.Z,{activeStep:0,completedSteps:[],notFound:!0}),(0,s.jsx)(m.s,{title:e("ad").toString(),description:e("common:errors.not_found").toString()})]}):b?(0,s.jsx)("div",{className:"absolute inset-0 z-[90] flex h-full w-full items-center justify-center bg-muted",children:(0,s.jsx)(g.$,{})}):(0,s.jsx)(u.Z,{}):(0,s.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,s.jsx)(r.A,{icon:"facebook",variant:"facebook",className:""})})}x.pageOptions={title:"meta_ad",layout:"default"}}},function(e){e.O(0,[6612,3214,6877,38,8629,9643,900,2545,1137,759,7518,9774,2888,179],function(){return e(e.s=89964)}),_N_E=e.O()}]);

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.