1(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8393],{62256:function(q,y,t){"use strict";var v=t(11849),E=t(63804),l=t.n(E),o=t(85893),M=function(h){var f=(0,E.forwardRef)(function(F,I){return(0,o.jsx)("section",{className:"fitBox",children:(0,o.jsx)(h,(0,v.Z)((0,v.Z)({},F),{},{ref:I}))})});return f};y.Z=M},36596:function(q,y,t){"use strict";t.d(y,{Z:function(){return pe}});var v=t(11849),E=t(63804),l=t(57663),o=t(71577),M=t(2824),k=t(71194),h=t(14903),f=t(43581),F=t(51615),I=t(79891),ee=t(16165),r=t(85893),u=function(p){var x=p.fillColor,e=x===void 0?"#2233B3":x;return(0,r.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{"clip-path":"url(#clip0_2393_7364)",children:[(0,r.jsx)("path",{d:"M8.45676 0C8.77502 0 9.08024 0.126428 9.30529 0.351472L11.6485 2.69471C11.8736 2.91976 12 3.22498 12 3.54324V10.8C12 11.4627 11.4627 12 10.8 12H9.3V8.56905C9.3 8.23768 9.03137 7.96905 8.7 7.96905H3.3C2.96863 7.96905 2.7 8.23768 2.7 8.56905V12H1.2C0.537259 12 0 11.4627 0 10.8V1.2C0 0.537259 0.537258 0 1.2 0H8.45676Z",fill:e}),(0,r.jsx)("path",{d:"M8.4 12H3.6V8.86905H8.4V12Z",fill:e})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2393_7364",children:(0,r.jsx)("rect",{width:"12",height:"12",fill:"white"})})})]})},S=function(p){return(0,r.jsx)(ee.Z,(0,v.Z)({component:function(){return u(p)}},p))},P=S,d=t(57119),c=h.Z.confirm,_e=function(p){var x=(0,f.tT)("@@initialState"),e=x.initialState,O=e.currentUser,U=(0,f.YB)(),z=p.match,le=p.isSave,W=p.onSave,te=p.isSaveDisabled,K=p.needJudgeClose,ae=p.exitWithoutSaving,b=p.goBackUrl,n=p.goBackObj,a=p.saveBtnName,m=a===void 0?"common.saveChanges":a,g=(0,f.tT)("globalSwitchModal"),T=g.goBackFilter,D=g.setGoBackFilter,R=g.goBackShowForAccount,s="";z.path&&(s="menu"+z.path.replaceAll("/","."));var A=function(){ae?c({title:U.formatMessage({id:"common.tips"}),icon:(0,r.jsx)(d.Z,{}),content:U.formatMessage({id:"common.exitWithoutSaving"}),onOk:function(){$()},onCancel:function(){}}):$()},$=function(){if(T)D(null),f.m8.push(T);else if(b){var V={pathname:b,query:{pid:O.shortToken}};n&&Object.entries(n).map(function(J){var se=(0,M.Z)(J,2),Y=se[0],j=se[1];V.query[Y]=j}),f.m8.push(V)}else f.m8.goBack()};return(0,r.jsxs)("nav",{className:"secondHeader",children:[(0,r.jsx)("div",{className:"headerTitle",children:(0,r.jsx)(I._H,{id:s})}),(0,r.jsxs)("div",{className:"rightBox",children:[le?(0,r.jsxs)(o.Z,{type:"primary",onClick:W,ghost:!0,className:"saveBtn",disabled:te,children:[(0,r.jsx)(P,{fillColor:te?"#A6A6A6":"#2233B3"})," ",U.formatMessage({id:m})]}):"",K&&!R?"":(0,r.jsx)("img",{onClick:A,className:"closeIcon",src:"/assets/icon/close.svg",alt:""})]})]})},N=(0,F.EN)(_e),_=null,i=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=function(U){var z=x.isSave,le=z===void 0?!1:z,W=x.spStyle,te=W===void 0?{}:W,K=x.needJudgeClose,ae=K===void 0?!1:K,b=x.exitWithoutSaving,n=b===void 0?!1:b,a=x.goBackUrl,m=a===void 0?"":a,g=x.goBackObj,T=g===void 0?null:g,D=x.saveBtnName,R=U.route.name,s=(0,E.useRef)(null),A=function(){s.current&&s.current.onSave()};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N,{needJudgeClose:ae,isSave:le&&window.location.href.indexOf("noSave")===-1,onSave:A,isSaveDisabled:s.current?s.current.isSaveDisabled:!1,exitWithoutSaving:n,goBackUrl:m,goBackObj:T,saveBtnName:D}),(0,r.jsx)("section",{className:"secondPage-card",style:te,children:(0,r.jsx)(p,(0,v.Z)((0,v.Z)({},U),{},{ref:s}))})]})};return e},pe=i},25671:function(q,y,t){"use strict";var v=t(11849),E=t(16165),l=t(85893),o=function(h){return(0,l.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("g",{"clip-path":"url(#clip0_1763_43173)",children:(0,l.jsx)("path",{d:"M10.8839 7.974L7.45791 6L10.8839 4.026C11.2259 3.852 11.3999 3.342 11.1419 3C10.9679 2.658 10.4579 2.484 10.1159 2.742L6.68991 4.716V0.774C6.77391 0.342 6.42591 0 5.99991 0C5.57391 0 5.22591 0.342 5.22591 0.774V4.716L1.79991 2.742C1.54191 2.484 1.02591 2.658 0.85791 3C0.68991 3.342 0.77391 3.858 1.11591 4.026L4.54191 6L1.11591 7.974C0.77391 8.148 0.59991 8.658 0.85791 9C1.03191 9.258 1.28391 9.342 1.54191 9.342C1.62591 9.342 1.79991 9.342 1.88391 9.258L5.30991 7.284V11.226C5.22591 11.652 5.56791 12 5.99391 12C6.41991 12 6.76791 11.658 6.76791 11.226V7.284L10.1939 9.258C10.2779 9.342 10.4519 9.342 10.5359 9.342C10.7939 9.342 11.0519 9.168 11.2199 9C11.3159 8.658 11.2259 8.142 10.8839 7.974Z",fill:"#2233B3"})}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_1763_43173",children:(0,l.jsx)("rect",{width:"12",height:"12",fill:"white"})})})]})},M=function(h){return(0,l.jsx)(E.Z,(0,v.Z)({component:function(){return o(h)}},h))};y.Z=M},66093:function(q,y,t){"use strict";
1var v=t(11849),E=t(16165),l=t(85893),o=function(h){return(0,l.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsxs)("g",{"clip-path":"url(#clip0_1576_8728)",children:[(0,l.jsx)("path",{d:"M6.75 3.45C6.75 3.86421 6.41421 4.2 6 4.2C5.58579 4.2 5.25 3.86421 5.25 3.45C5.25 3.03579 5.58579 2.7 6 2.7C6.41421 2.7 6.75 3.03579 6.75 3.45Z",fill:"#BDBDBD"}),(0,l.jsx)("path",{d:"M6 5.2C5.72386 5.2 5.5 5.42386 5.5 5.7V8.7C5.5 8.97614 5.72386 9.2 6 9.2C6.27614 9.2 6.5 8.97614 6.5 8.7V5.7C6.5 5.42386 6.27614 5.2 6 5.2Z",fill:"#BDBDBD"}),(0,l.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11Z",fill:"#BDBDBD"})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_1576_8728",children:(0,l.jsx)("rect",{width:"12",height:"12",fill:"white"})})})]})},M=function(h){return(0,l.jsx)(E.Z,(0,v.Z)({component:function(){return o(h)}},h))};y.Z=M},96018:function(q,y,t){"use strict";var v=t(63804),E=t.n(v),l=t(25671),o=t(85893),M=function(h){var f=h.title;return(0,o.jsxs)("span",{children:[(0,o.jsx)(l.Z,{}),(0,o.jsx)("span",{style:{marginLeft:4},children:f})]})};y.Z=M},46795:function(q,y,t){"use strict";t.r(y);var v=t(57663),E=t(71577),l=t(22385),o=t(96296),M=t(77883),k=t(77278),h=t(47673),f=t(4107),F=t(34792),I=t(55026),ee=t(9715),r=t(16579),u=t(2824),S=t(43358),P=t(34041),d=t(63804),c=t.n(d),_e=t(36596),N=t(43581),_=t(1391),i=t(41797),pe=t(62256),B=t(96018),p=t(66093),x=t(88474),e=t(85893),O=P.Z.Option,U=function(){return(0,e.jsx)("img",{className:"sign",src:"/assets/placement/selected.svg"})},z=(0,d.forwardRef)(function(b,n){var a=(0,N.YB)(),m=(0,N.tT)("@@initialState"),g=m.initialState,T=g||{},D=T.currentUser,R=(0,N.tT)("useAppItemsModel"),s=R.curSelectedApp,A=r.Z.useForm(),$=(0,u.Z)(A,1),G=$[0],V=(0,d.useState)(!1),J=(0,u.Z)(V,2),se=J[0],Y=J[1],j={modelArr:[{name:_.sY[0].title,pathName:(0,i.gr)(s.screenDisplayModes)?"inter-ads.gif":"inter-ads_h.svg",icon:(0,i.gr)(s.screenDisplayModes)?"inter-ads.svg":"inter-ads_h.svg"},{name:_.sY[1].title,pathName:(0,i.gr)(s.screenDisplayModes)?"inter-wall.gif":"inter-wall_h.svg",icon:(0,i.gr)(s.screenDisplayModes)?"inter-wall.svg":"inter-wall_h.svg"},{name:_.sY[2].title,pathName:(0,i.gr)(s.screenDisplayModes)?"gspace-fully.gif":"gspace-fully_h.svg",icon:(0,i.gr)(s.screenDisplayModes)?"gspace-fully.svg":"gspace-fully_h.svg"},{name:_.sY[3].title,pathName:(0,i.gr)(s.screenDisplayModes)?"pm_banner.gif":"pm_banner.svg",icon:((0,i.gr)(s.screenDisplayModes),"pm_banner.svg")}],provideTitleArr:[{name:_.aG[0],pathName:[(0,i.gr)(s.screenDisplayModes)?"onlyInter-ads.svg":"onlyInter-ads_h.svg",(0,i.gr)(s.screenDisplayModes)?"entrance-ads.svg":"entrance-ads_h.svg"]},{name:_.aG[1],pathName:[(0,i.gr)(s.screenDisplayModes)?"onlyInter-wall.svg":"onlyInter-wall_h.svg",(0,i.gr)(s.screenDisplayModes)?"entrance-wall.svg":"entrance-wall_h.svg"]},{name:_.aG[2],pathName:[(0,i.gr)(s.screenDisplayModes)?"onlyInter-fully.svg":"onlyInter-fully_h.svg",(0,i.gr)(s.screenDisplayModes)?"entrance-fully.svg":"entrance-fully_h.svg"]}],typeTitleArr:[{name:_.yr[0].title,pathName:(0,i.gr)(s.screenDisplayModes)?"banner.svg":"banner_h.svg"},{name:_.yr[1].title,pathName:(0,i.gr)(s.screenDisplayModes)?"transparent.svg":"transparent_h.svg"},{name:_.yr[2].title,pathName:(0,i.gr)(s.screenDisplayModes)?"icon.svg":"icon_h.svg"},{name:_.yr[3].title,pathName:(0,i.gr)(s.screenDisplayModes)?"native.svg":"native_h.svg"},{name:_.yr[4].title,pathName:((0,i.gr)(s.screenDisplayModes),"push_h.svg")}]},ve=(0,d.useState)(2),ie=(0,u.Z)(ve,2),C=ie[0],Q=ie[1],ce=(0,d.useState)(-1),oe=(0,u.Z)(ce,2),H=oe[0],Z=oe[1],ne=(0,d.useState)(""),fe=(0,u.Z)(ne,2),he=fe[0],X=fe[1],Se=(0,d.useState)(-1),xe=(0,u.Z)(Se,2),me=xe[0],Me=xe[1],De=(0,d.useState)(""),je=(0,u.Z)(De,2),ge=je[0],de=je[1],Pe=(0,d.useState)(""),Ce=(0,u.Z)(Pe,2),Be=Ce[0],Oe=Ce[1],Te=(0,d.useState)(""),ye=(0,u.Z)(Te,2),Ae=ye[0],Ie=ye[1];(0,d.useImperativeHandle)(n,function(){return{onSave:Ee}});var Ee=function(){se||(C!==3?(X(H===-1?a.formatMessage({id:"common.selectOne"})+a.formatMessage({id:"pub.pla.step.tip5"}):""),de(me===-1?a.formatMessage({id:"common.selectOne"})+a.formatMessage({id:"pub.pla.step.tip2"}):"")):(X(""),de("")),G.validateFields().then(function(re){if(!(he||ge)){var w={pubAppId:s.id,name:re.name};C===3?(w.model=0,w.type=5,w.placementSize=re.placementSize):(w.model=C,w.materialType=me,w.type=H,w.width=Be,w.height=Ae),Y(!0),(0,x._c)(w).then(function(ue){ue.code===0?(I.default.success(a.formatMessage({id:"common.saving_ok"})),N.m8.push({pathname:"/pub/app/placement",query:{pid:D.shortToken}})):I.default.error(((0,_.aM)()==="cn"?ue.msgCN:ue.msg)||a.formatMessage({id:"common.saving_no"}))}).catch(function(ue){I.default.error(a.formatMessage({id:"common.saving_no"}))}).finally(function(){Y(!1)})}}))};return(0,e.jsx)("div",{className:"add-placement",children:(0,e.jsxs)("div",{className:"container",children:[(0,e.jsxs)(r.Z,{form:G,colon:!1,children:[(0,e.jsx)(r.Z.Item,{label:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"publisher.placementName"})}),name:"name",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips1"})}],children:(0,e.jsx)(f.Z,{style:{width:408},showCount:!0,maxLength:40})}),(0,e.jsxs)("div",{className:"modelBox",children:[(0,e.jsx)("div",{className:"label",children:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"publisher.placementModel"})})}),(0,e.jsx)("div",{className:"content",children:(0,e.jsxs)("div",{className:"con-row",children:[(0,e.jsx)(te,{type:2,status:C===2,modelArr:j.modelArr,modelClick:function(){return Q(2)}}),(0,e.jsx)(W,{type:0,status:C===0,modelArr:j.modelArr,detail:a.formatMessage({id:"pub.pla.tips2"}),modelClick:function(){return Q(0)}}),D.moduleConfig.includes("0")?(0,e.jsx)(W,{type:1,status:C===1,modelArr:j.modelArr,detail:a.formatMessage({id:"pub.pla.tips3"}),modelClick:function(){return Q(1)}}):"",s.type!=1?(0,e.jsx)(W,{type:3,status:C===3,modelArr:j.modelArr,detail:a.formatMessage({id:"pub.pla.tips9"}),modelClick:function(){return Q(3)}}):""]})})]}
1),C!==3?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("section",{className:"typeBox",style:{width:840},children:[(0,e.jsx)("div",{className:"tb-title",children:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.pla.step.tip5"})})}),(0,e.jsxs)("div",{className:"tb-content",children:[(0,e.jsx)(K,{type:0,status:H===0,typeTitleArr:j.typeTitleArr,typeClick:function(){Z(0),X("")}}),(0,e.jsx)(K,{type:1,status:H===1,typeTitleArr:j.typeTitleArr,typeClick:function(){Z(1),X("")}}),(0,e.jsx)(K,{type:2,status:H===2,typeTitleArr:j.typeTitleArr,typeClick:function(){Z(2),X("")}}),(0,e.jsx)(K,{type:3,status:H===3,typeTitleArr:j.typeTitleArr,typeClick:function(){Z(3),X("")}})]}),he?(0,e.jsx)("div",{className:"error-tips",children:he}):""]}),(0,e.jsx)(r.Z.Item,{label:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.placementSize"})}),style:{marginBottom:0},children:(0,e.jsxs)("div",{className:"sizeBox",children:[(0,e.jsx)(r.Z.Item,{style:{display:"inline-block",width:144},name:"plaSizeWidth",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips6"})}],children:(0,e.jsx)(k.Z,{controls:!1,prefix:(0,e.jsx)("span",{className:"inputPrefix",children:a.formatMessage({id:"pub.width"})}),suffix:(0,e.jsx)("span",{className:"inputSuffix",children:"px"}),style:{width:144},onChange:function(re){return Oe(re)}})}),(0,e.jsx)("span",{style:{marginLeft:"4px"},children:"px"}),(0,e.jsx)("span",{style:{height:32,lineHeight:"32px",margin:"0 8px"},children:"x"}),(0,e.jsx)(r.Z.Item,{style:{display:"inline-block",width:144},name:"plaSizeHeight",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips7"})}],children:(0,e.jsx)(k.Z,{controls:!1,prefix:(0,e.jsx)("span",{className:"inputPrefix",children:a.formatMessage({id:"pub.height"})}),suffix:(0,e.jsx)("span",{className:"inputSuffix",children:"px"}),style:{width:144},onChange:function(re){return Ie(re)}})}),(0,e.jsx)("span",{style:{marginLeft:"4px"},children:"px"})]})}),(0,e.jsxs)("section",{className:"provideBox",children:[(0,e.jsx)("div",{className:"pb-title",children:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.pla.step.tip2"})})}),(0,e.jsxs)("div",{className:"pb-content",children:[(0,e.jsx)(ae,{type:0,provideTitleArr:j.provideTitleArr,plaModel:C,status:me===0,provideClick:function(){Me(0),de("")}}),(0,e.jsx)(ae,{type:1,provideTitleArr:j.provideTitleArr,plaModel:C,status:me===1,provideClick:function(){Me(1),de("")}})]}),ge?(0,e.jsx)("div",{className:"error-tips",children:ge}):""]})]}):(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(r.Z.Item,{style:{marginTop:24},label:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.placementSize"})}),children:[(0,e.jsx)(r.Z.Item,{name:"placementSize",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips10"})}],noStyle:!0,children:(0,e.jsxs)(P.Z,{style:{width:164},children:[(0,e.jsx)(O,{value:"300 * 250",children:"300 x 250 px"}),(0,e.jsx)(O,{value:"320 * 50",children:"320 x 50 px"}),(0,e.jsx)(O,{value:"360 * 56",children:"360 x 56 px"}),(0,e.jsx)(O,{value:"300 * 50",children:"300 x 50 px"}),(0,e.jsx)(O,{value:"250 * 250",children:"250 x 250 px"})]})}),(0,e.jsx)("span",{style:{marginLeft:8,cursor:"pointer"},children:(0,e.jsx)(o.Z,{title:a.formatMessage({id:"pub.pla.tips11"}),placement:"right",overlayClassName:"gl-tooltip",children:(0,e.jsx)(p.Z,{})})})]})})]}),(0,e.jsx)("div",{className:"btn-box",children:(0,e.jsx)(E.Z,{type:"primary",onClick:Ee,children:a.formatMessage({id:"common.submit"})})})]})})}),le=(0,d.forwardRef)(function(b,n){var a=(0,N.YB)(),m=(0,N.tT)("@@initialState"),g=m.initialState,T=g||{},D=T.currentUser,R=(0,N.tT)("useAppItemsModel"),s=R.curSelectedApp,A=r.Z.useForm(),$=(0,u.Z)(A,1),G=$[0],V=(0,d.useState)(!1),J=(0,u.Z)(V,2),se=J[0],Y=J[1],j={modelArr:[{name:((0,_.aM)()==="cn","Banner"),pathName:(0,i.gr)(s.screenDisplayModes)?"pm_banner.gif":"pm_banner.svg",icon:((0,i.gr)(s.screenDisplayModes),"pm_banner.svg")},{name:(0,_.aM)()==="cn"?"\u63D2\u5C4F":"Interstitial",pathName:(0,i.gr)(s.screenDisplayModes)?"g_transparent.svg":"g_transparent_h.svg",icon:(0,i.gr)(s.screenDisplayModes)?"g_transparent.svg":"g_transparent_h.svg"}]},ve=(0,d.useState)(1),ie=(0,u.Z)(ve,2),C=ie[0],Q=ie[1];(0,d.useImperativeHandle)(n,function(){return{onSave:ce}});var ce=function(){se||G.validateFields().then(function(H){var Z={pubAppId:s.id,name:H.name,model:0};C===0?(Z.type=5,Z.placementSize=H.placementSize):(Z.materialType=0,Z.type=1,Z.width=0,Z.height=0),Y(!0),(0,x._c)(Z).then(function(ne){ne.code===0?(I.default.success(a.formatMessage({id:"common.saving_ok"})),N.m8.push({pathname:"/pub/app/placement",query:{pid:D.shortToken}})):I.default.error(((0,_.aM)()==="cn"?ne.msgCN:ne.msg)||a.formatMessage({id:"common.saving_no"}))}).catch(function(ne){I.default.error(a.formatMessage({id:"common.saving_no"}))}).finally(function(){Y(!1)})})};return(0,e.jsx)("div",{className:"add-placement",children:(0,e.jsxs)("div",{className:"container",children:[(0,e.jsxs)(r.Z,{form:G,colon:!1,children:[(0,e.jsx)(r.Z.Item,{label:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"publisher.placementName"})}),name:"name",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips1"})}],children:(0,e.jsx)(f.Z,{style:{width:408},showCount:!0,maxLength:40})}),(0,e.jsxs)("div",{className:"modelBox",children:[(0,e.jsx)("div",{className:"label",children:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.pla.step.tip5"})})}),(0,e.jsxs)("div",{className:"content",children:[(0,e.jsxs)("div",{className:"con-row",children:[(0,e.jsx)(W,{type:1,status:C===1,modelArr:j.modelArr,detail:a.formatMessage({id:"pub.pla.tips12"}),modelClick:function(){return Q(1)}}),(0,e.jsx)(W,{type:0,status:C===0,modelArr:j.modelArr,detail:a.formatMessage({id:"pub.pla.tips13"}),modelClick:function(){return Q(0)}})]}),(0,e.jsx)("p",{className:"modelBox-tips",children:a.formatMessage({id:"pub.pla.tips14"})})]})]}),C===0?(0,e.jsxs)(r.Z.Item,{style:{marginTop:24},label:(0,e.jsx)(B.Z,{title:a.formatMessage({id:"pub.placementSize"})}),children:[(0,e.jsx)(r.Z.Item,{name:"placementSize",rules:[{required:!0,message:a.formatMessage({id:"pub.pla.tips10"})}],noStyle:!0,children:(0,e.jsxs)(P.Z,{style:{width:164},children:[(0,e.jsx)(O,{value:"300 * 250",children:"300 x 250 px"}),(0,e.jsx)(O,{value:"320 * 50",children:"320 x 50 px"}),(0,e.jsx)(O,{value:"360 * 56",children:"360 x 56 px"}),(0,e.jsx)(O,{value:"300 * 50",children:"300 x 50 px"}),(0,e.jsx)(O,{value:"250 * 250",children:"250 x 250 px"})]})}),(0,e.jsx)("span",{style:{marginLeft:8,cursor:"pointer"},children:(0,e.jsx)(o.Z,{title:a.formatMessage({id:"pub.pla.tips11"}),placement:"right",overlayClassName:"gl-tooltip",children:(0,e.jsx)(p.Z,{})})})]}):""]}),(0,e.jsx)("div",{className:"btn-box",children:(0,e.jsx)(E.Z,{type:"primary",onClick:ce,children:a.formatMessage({id:"common.submit"})})})]})})}),W=function(n){var a=n.modelArr,m=n.type,g=(0,N.YB)(),T=(0,d.useState)(!1),D=(0,u.Z)(T,2),R=D[0],s=D[1];return(0,e.jsxs)("div",{className:"modelCard ".concat(n.status?"modelCard-active":""),onClick:function(){return n.modelClick(n.title)},onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},children:[n.status?(0,e.jsx)(U,{}):"",(0,e.jsxs)("div",{className:"textBox",children:[(0,e.jsx)("p",{className:"title",children:a[m].name}),(0,e.jsx)("p",{className:"detail",children:n.detail})]}),(0,e.jsx)("img",{className:"imgBox imgBoxLarge",src:R?"/assets/placement/model/".concat(a[m].pathName):"/assets/placement/model/".concat(a[m].icon),alt:""})]})},te=function(n){var a=n.modelArr,m=n.type,g=(0,N.YB)(),T=(0,d.useState)(!1),D=(0,u.Z)(T,2),R=D[0],s=D[1];return(0,e.jsxs)("div",{style:{alignItems:"center"},className:"modelCard ".concat(n.status?"modelCard-active":""),onClick:function(){return n.modelClick(n.title)},onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},children:[n.status?(0,e.jsx)(U,{}):"",(0,e.jsxs)("div",{className:"textBox",children:[(0,e.jsxs)("p",{className:"title",children:[a[m].name,(0,e.jsx)("span",{className:"titleTip",children:g.formatMessage({id:"common.recommend"})})]}),(0,e.jsx)("p",{className:"detail",children:(0,e.jsx)("span",{children:g.formatMessage({id:"pub.pla.tips4"})})})]}),(0,e.jsx)("img",{className:"imgBox imgBoxLarge",src:R?"/assets/placement/model/".concat(a[m].pathName):"/assets/placement/model/".concat(a[m].icon),alt:""})]})},K=function(n){var a=n.typeTitleArr,m=n.type;return(0,e.jsxs)("div",{className:"typeCard ".concat(n.status?"typeCard-active":""),onClick:function(){return n.typeClick(n.title)},children:[n.status?(0,e.jsx)(U,{}):"",(0,e.jsx)("div",{className:"tc-title",children:a[m].name}),(0,e.jsx)("div",{className:"tc-content",children:(0,e.jsx)("img",{src:"/assets/placement/type/".concat(a[m].pathName),alt:""})})]})},ae=function(n){var a=n.provideTitleArr,m=n.type,g=n.plaModel;return(0,e.jsxs)("div",{className:"provideCard ".concat(n.status?"provideCard-active":""),onClick:function(){return n.provideClick(n.title)},children:[n.status?(0,e.jsx)(U,{}):"",(0,e.jsx)("div",{className:"pc-title",children:(0,e.jsx)("span",{children:a[g].name[m]})}),(0,e.jsx)("div",{className:"pc-content",children:(0,e.jsx)("img",{src:"/assets/placement/provide/".concat(a[g].pathName[m]),alt:""})})]})};y.default=(0,_e.Z)((0,pe.Z)((0,_.KW)()||(0,_.Od)()?le:z),{isSave:!1})},88474:function(q,y,t){"use strict";t.d(y,{J8:function(){return k},_c:function(){return f},p:function(){return I},TH:function(){return r}});
1var v=t(3182),E=t(94043),l=t.n(E),o=t(29491),M={placementList:"/api/placement/list",addPlacement:"/api/placement/add",updatePlacement:"/api/placement/edit",updatePlaStatus:"/api/placement/status"};function k(S){return h.apply(this,arguments)}function h(){return h=(0,v.Z)(l().mark(function S(P){return l().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,o.qC)(M.placementList,{method:"GET",JsonHeader:o.nm,params:P}));case 1:case"end":return c.stop()}},S)})),h.apply(this,arguments)}function f(S){return F.apply(this,arguments)}function F(){return F=(0,v.Z)(l().mark(function S(P){return l().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,o.qC)(M.addPlacement,{method:"POST",JsonHeader:o.nm,data:P}));case 1:case"end":return c.stop()}},S)})),F.apply(this,arguments)}function I(S){return ee.apply(this,arguments)}function ee(){return ee=(0,v.Z)(l().mark(function S(P){return l().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,o.qC)(M.updatePlacement,{method:"POST",JsonHeader:o.nm,data:P}));case 1:case"end":return c.stop()}},S)})),ee.apply(this,arguments)}function r(S){return u.apply(this,arguments)}function u(){return u=(0,v.Z)(l().mark(function S(P){return l().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,o.qC)(M.updatePlaStatus,{method:"POST",JsonHeader:o.nm,data:P}));case 1:case"end":return c.stop()}},S)})),u.apply(this,arguments)}}}]);
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.