PageSourceSearch

https://app.iyzads.com/_next/static/chunks/pages/meta-ads/campaign-4f9d4b045fbd2f24.js

js iyzads.com collected 2026-10-01 12:14:58 UTC 8,749 bytes, 11 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5290],{31325:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(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 s=(0,n.Z)("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},71353:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(91373);/**
7 * @license lucide-react v0.445.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let s=(0,n.Z)("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},62762:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/meta-ads/campaign",function(){return r(73619)}])},14665:function(e,t,r){"use strict";r.d(t,{P:function(){return a},x:function(){return i}});var n=r(85893),s=r(62079);function i(e){let{containerClassName:t,className:r,children:i,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)("w-full p-1.5 backdrop-blur-sm",t),children:(0,n.jsx)("div",{className:(0,s.cn)("px-layout w-full max-w-screen-4xl rounded-lg bg-background py-4 shadow-sm ring-1 ring-border",r),...a,children:i})})}function a(e){let{title:t,description:r,className:i,titleClassName:a,descriptionClassName:o,...c}=e;return(0,n.jsxs)("div",{...c,className:(0,s.cn)("flex flex-col items-start justify-center gap-px",i),children:[(0,n.jsx)("p",{className:(0,s.cn)("line-clamp-1 font-semibold",a),children:t}),(0,n.jsx)("p",{className:(0,s.cn)("line-clamp-2 text-sm text-muted-foreground",o),children:r})]})}},95686:function(e,t,r){"use strict";r.d(t,{a:function(){return c}});var n=r(85893),s=r(67294),i=r(11163),a=r(57333),o=r(62079);let c=s.forwardRef((e,t)=>{let{className:r,error:s,decimalScale:c=2,prefix:u="$ ",...l}=e,d=(0,i.useRouter)(),f="tr"===d.locale?".":",",p="tr"===d.locale?",":".";return(0,n.jsx)(a.h3,{className:(0,o.cn)("flex h-11 w-full rounded-lg border border-input bg-background px-3 py-2 text-sm r
11ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s&&"border-destructive focus-visible:border-destructive focus-visible:ring-destructive",r),type:"text",getInputRef:t,decimalScale:c,prefix:u,fixedDecimalScale:!1,allowLeadingZeros:!1,allowNegative:!1,thousandSeparator:f,decimalSeparator:p,...l})});c.displayName="Input"},12051:function(e,t,r){"use strict";r.d(t,{$:function(){return i}});var n=r(85893),s=r(62079);function i(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,s.cn)("h-8 w-8 animate-spin-slow rounded-full border-b-2 border-t-2 border-primary",t),...r})}},73619:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return d},default:function(){return f}});var n=r(85893),s=r(67294),i=r(55921),a=r(59994),o=r(72333),c=r(92342),u=r(90503),l=r(12051),d=!0;function f(){let e=(0,o.T)(),{adAccount:t,loading:r}=(0,o.C)(e=>e.metaAds),d=(0,o.C)(e=>e.metaAdsEdit);(0,s.useEffect)(()=>{e(a.o.getAdAccounts())},[e]),(0,s.useEffect)(()=>{t&&(null==t?void 0:t.facebookAdAccountMetadata)&&(e(i.Cq.cancelTasks()),e(i.Cq.setProcess("create")),e(i.Cq.setCampaign(null)),e(i.Cq.getParameters()))},[e,t]);let f=(0,s.useMemo)(()=>r.adAccounts||d.loading.parameters.minBudget,[r.adAccounts,d.loading.parameters.minBudget]);return!t||(null==t?void 0:t.facebookAdAccountMetadata)?f?(0,n.jsx)("div",{className:"absolute inset-0 z-[90] flex h-full w-full items-center justify-center bg-muted",children:(0,n.jsx)(l.$,{})}):(0,n.jsx)(u.Z,{}):(0,n.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,n.jsx)(c.A,{icon:"facebook",variant:"facebook",className:""})})}f.pageOptions={title:"meta_campaign",layout:"default"}},56312:function(e,t,r){"use strict";r.d(t,{F:function(){return d}});var n=r(87536);let s=(e,t,r)=>{if(e&&"reportValidity"in e){let s=(0,n.U2)(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},i=(e,t)=>{for(let r in t.fields){let n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?s(n.ref,r,e):n&&n.refs&&n.refs.forEach(t=>s(t,r,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&i(e,t);let r={};for(let s in e){let a=(0,n.U2)(t.fields,s),c=Object.assign(e[s]||{},{ref:a&&a.ref});if(o(t.names||Object.keys(e),s)){let u=Object.assign({},(0,n.U2)(r,s));(0,n.t8)(u,"root",c),(0,n.t8)(r,s,u)}else(0,n.t8)(r,s,c)}return r},o=(e,t)=>{let r=c(t);return e.some(e=>c(e).match(`^${r}\\.\\d+`))};function c(e){return e.replace(/\]|\[/g,"")}var u=r(3790);function l(e,t){try{var r=e()}catch(n){return t(n)}return r&&r.then?r.then(void 0,t):r}function d(e,t,r){if(void 0===r&&(r={}),"_def"in e&&"object"==typeof e._def&&"typeName"in e._def)return function(s,o,c){try{return Promise.resolve(l(function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](s,t)).then(function(e){return c.shouldUseNativeValidation&&i({},c),{errors:{},values:r.raw?Object.assign({},s):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:a(function(e,t){for(var r={};e.length;){var s=e[0],i=s.code,a=s.message,o=s.path.join(".");if(!r[o]){if("unionErrors"in s){var c=s.unionErrors[0].errors[0];r[o]={message:c.message,type:c.code}}else r[o]={message:a,type:i}}if("unionErrors"in s&&s.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=r[o].types,l=u&&u[s.code];r[o]=(0,n.KN)(o,t,r,i,l?[].concat(l,s.message):s.message)}e.shift()}return r}(e.errors,!c.shouldUseNativeValidation&&"all"===c.criteriaMode),c)};throw e}))}catch(u){return Promise.reject(u)}};if("_zod"in e&&"object"==typeof e._zod)return function(s,o,c){try{return Promise.resolve(l(function(){return Promise.resolve(("sync"===r.mode?u.parse:u.parseAsync)(e,s,t)).then(function(e){return c.shouldUseNativeValidation&&i({},c),{errors:{},values:r.raw?Object.assign({},s):e}})},function(e){if(e instanceof u.$ZodError)return{values:{},errors:a(function(e,t){for(var r={};e.length;){var s=e[0],i=s.code,a=s.message,o=s.path.join(".");
11if(!r[o]){if("invalid_union"===s.code&&s.errors.length>0){var c=s.errors[0][0];r[o]={message:c.message,type:c.code}}else r[o]={message:a,type:i}}if("invalid_union"===s.code&&s.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var u=r[o].types,l=u&&u[s.code];r[o]=(0,n.KN)(o,t,r,i,l?[].concat(l,s.message):s.message)}e.shift()}return r}(e.issues,!c.shouldUseNativeValidation&&"all"===c.criteriaMode),c)};throw e}))}catch(d){return Promise.reject(d)}};throw Error("Invalid input: not a Zod schema")}},60761:function(e,t,r){"use strict";r.d(t,{bU:function(){return j},fC:function(){return k}});var n=r(67294),s=r(36206),i=r(28771),a=r(25360),o=r(77342),c=r(57898),u=r(7546),l=r(64757),d=r(85893),f="Switch",[p,m]=(0,a.b)(f),[h,v]=p(f),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:a,checked:c,defaultChecked:u,required:f,disabled:p,value:m="on",onCheckedChange:v,...g}=e,[b,y]=n.useState(null),k=(0,i.e)(t,e=>y(e)),j=n.useRef(!1),N=!b||Boolean(b.closest("form")),[E=!1,_]=(0,o.T)({prop:c,defaultProp:u,onChange:v});return(0,d.jsxs)(h,{scope:r,checked:E,disabled:p,children:[(0,d.jsx)(l.WV.button,{type:"button",role:"switch","aria-checked":E,"aria-required":f,"data-state":w(E),"data-disabled":p?"":void 0,disabled:p,value:m,...g,ref:k,onClick:(0,s.M)(e.onClick,e=>{_(e=>!e),N&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),N&&(0,d.jsx)(x,{control:b,bubbles:!j.current,name:a,value:m,checked:E,required:f,disabled:p,style:{transform:"translateX(-100%)"}})]})});g.displayName=f;var b="SwitchThumb",y=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,s=v(b,r);return(0,d.jsx)(l.WV.span,{"data-state":w(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:t})});y.displayName=b;var x=e=>{let{control:t,checked:r,bubbles:s=!0,...i}=e,a=n.useRef(null),o=(0,c.D)(r),l=(0,u.t)(t);return n.useEffect(()=>{let e=a.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked"),i=n.set;if(o!==r&&i){let c=new Event("click",{bubbles:s});i.call(e,r),e.dispatchEvent(c)}},[o,r,s]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var k=g,j=y}},function(e){e.O(0,[1137,503,9774,2888,179],function(){return e(e.s=62762)}),_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.