PageSourceSearch

https://fasco.com.cn/js/p_articledetail-index.js

js fasco.com.cn collected 2026-10-05 20:47:14 UTC 10,943 bytes, 1 lines download raw bytes

1(self.webpackChunk_ice_antd_pro_scaffold=self.webpackChunk_ice_antd_pro_scaffold||[]).push([[2098,5547,3077],{44622:function(t){t.exports={articleContent:"articleContent--mXDGrA7r",articleDetail:"articleDetail--xbN1VuuI"}},29049:function(t,e,n){"use strict";n.r(e);var r=n(54942),a=n(44622),i=n.n(a);e.default=t=>{let{content:e=""}=t;return(0,r.tZ)("div",{className:"contentBox",children:(0,r.tZ)("div",{className:i().articleContent,dangerouslySetInnerHTML:{__html:e||""}})})}},27237:function(t,e,n){"use strict";n.r(e);var r=n(54942),a=n(44622),i=n.n(a),o=n(93565),l=n(75271),c=n(92105),s=n(29049),u=n(74941),f=n(36810),p=n(19788),d=n(68047),y=n(88518),m=n(58076),h=n(5356),v=n(52488),b=n(90368);e.default=()=>{let t=(0,y.Z)(),[e,n]=(0,h.Z)(null),[a]=(0,o.lr)(),w=a.get("articlesId"),[g]=m.Z.useModel("user");(0,o.s0)();let[x,Z]=(0,h.Z)(!1),{isMobile:S}=(0,v.Z)(),O=async()=>{try{Z(!0);let t=await (0,c.um)(w);n(t.data)}catch(t){console.error(t)}finally{Z(!1)}};(0,l.useEffect)(()=>(w&&(O(),window.scrollTo(0,0)),()=>{}),[w]);let N=async()=>{try{await u.Z.save(w),f.ZP.success("\u62A5\u540D\u6210\u529F")}catch(t){}};return(0,r.tZ)("div",{className:`${i().articleDetail} ${S?"mx-4":"xl:px-[60px] mx-[auto] my-0 lg:px-[10px]"}`,children:(0,r.BX)(p.Z,{spinning:x,size:"large",children:[(0,r.BX)("div",{className:"articleTitle",children:[(0,r.tZ)("div",{className:"whitespace-pre-wrap break-all px-5",children:e?.title}),(0,r.tZ)("div",{className:"articleInfo",children:(0,r.BX)(d.Z,{size:"small",align:"start",children:[(0,r.tZ)("span",{children:e?.publishTime}),e?.author&&(0,r.tZ)("span",{children:e?.author}),(0,r.BX)("span",{children:[t.formatMessage({id:"article.readCount"}),e?.virtualClicks+e?.realClicks]})]})})]}),(0,r.tZ)(s.default,{content:e?.content}),e?.articlesType==="3"&&(0,r.tZ)("div",{className:"2xl:w-[400px] xl:w-[200px] mx-auto py-2",children:(0,r.tZ)(b.default,{price:e?.price,handleTrainSignup:N})})]})})}},90368:function(t,e,n){"use strict";n.r(e);var r=n(54942);e.default=t=>{let{price:e,handleTrainSignup:n}=t;return(0,r.BX)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 410 63",className:"design-iconfont",children:[(0,r.tZ)("path",{transform:"translate(63)",fill:"#fff",d:"M0 0H347V63H0z"}),(0,r.BX)("g",{transform:"translate(-7019 -5753.734)",children:[(0,r.tZ)("rect",{width:"397",height:"55",rx:"27.5",transform:"translate(7019 5758)",fill:"#3c3f4b"}),(0,r.tZ)("path",{onClick:n,className:"cursor-pointer",d:"M7574.361,5824.02s8.867-8.9,9.69-16.3.631-17.351,6.483-24.847,12.962-13.549,21.952-13.706,83.44-.451,93.758,0c16.359,1.023,26.589,15.412,25.177,29.742-1.735,14.817-10.328,24.024-25.5,25.065S7574.361,5824.02,7574.361,5824.02Z",transform:"translate(-315.361 -10.929)",fill:"#c9151e"})]}),(0,r.tZ)("text",{onClick:n,className:"cursor-pointer",transform:"translate(283 39.266)",fontSize:"22",fontFamily:"SourceHanSansCN-Medium,Source Han Sans CN",fontWeight:"500",fill:"#fff",children:(0,r.tZ)("tspan",{x:"0",y:"0",children:"\u57F9\u8BAD\u62A5\u540D"})}),(0,r.BX)("text",{transform:"translate(30 46.266)",fontSize:"16",fontFamily:"SourceHanSansCN-Bold,Source Han Sans CN",fontWeight:"700",fill:"#fff",children:[(0,r.tZ)("tspan",{x:"0",y:"0",children:"\uFFE5"}),(0,r.tZ)("tspan",{y:"0",fontSize:"36",children:e})]}),(0,r.tZ)("text",{transform:"translate(190 45)",fontSize:"14",fontFamily:"SourceHanSansCN-Regular,Source Han Sans CN",fill:"#fff",children:(0,r.tZ)("tspan",{x:"0",y:"0",children:"\u57F9\u8BAD\u8D39\u7528"})})]})}},52488:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(75271);function a(){let t="undefined"==typeof navigator?"":navigator.userAgent.toLowerCase(),e=/micromessenger/.test(t),n=/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|puffin)/.test(t),r=["android","iphone","ipod","ipad","windows phone","mobile","blackberry","webos","incognito","webmate","bada"].some(e=>t.indexOf(e)>-1),a="undefined"!=typeof window&&window.innerWidth<768,i=!r&&!a&&!n,o=!i&&!n,l="pc";
1return n?l="tablet":o&&(l="mobile"),{isMobile:o,isPC:i,isWeChat:e,deviceType:l}}function i(){let[t,e]=(0,r.useState)(a());return(0,r.useEffect)(()=>{let t=()=>e(a());return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),t}},92105:function(t,e,n){"use strict";n.d(e,{Md:function(){return a},pb:function(){return i},um:function(){return o}});var r=n(93565);let a=async t=>await r.WY.get("/articles/info/page",{params:t}),i=async t=>await r.WY.get("/articles/info/list",{params:t}),o=async t=>await r.WY.get(`/articles/info/${t}`)},74941:function(t,e,n){"use strict";var r=n(93565);e.Z={save:async t=>await (0,r.WY)({url:`/train/signup/${t}`,method:"POST",headers:{isToken:"1",requireAuthRedirect:"1"}}),page:async t=>await (0,r.WY)({url:"/train/signup/page",method:"GET",headers:{isToken:"1"},params:t})}},5356:function(t,e,n){"use strict";var r=n(15767),a=n(75271),i=n(41538);e.Z=function(t){var e=(0,i.Z)(),n=(0,r.CR)((0,a.useState)(t),2),o=n[0],l=n[1];return[o,(0,a.useCallback)(function(t){e.current||l(t)},[])]}},41538:function(t,e,n){"use strict";var r=n(75271);e.Z=function(){var t=(0,r.useRef)(!1);return(0,r.useEffect)(function(){return t.current=!1,function(){t.current=!0}},[]),t}},68047:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var r=n(75271),a=n(82187),i=n.n(a),o=n(81626);function l(t){return["small","middle","large"].includes(t)}function c(t){return!!t&&"number"==typeof t&&!Number.isNaN(t)}var s=n(1225),u=n(3056);let f=r.createContext({latestIndex:0}),p=f.Provider;var d=t=>{let{className:e,index:n,children:a,split:i,style:o}=t,{latestIndex:l}=r.useContext(f);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:e,style:o},a),n<l&&i&&r.createElement("span",{className:`${e}-split`},i))},y=n(48881),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]]);return n};let h=r.forwardRef((t,e)=>{var n;let{getPrefixCls:a,direction:u,size:f,className:h,style:v,classNames:b,styles:w}=(0,s.dj)("space"),{size:g=null!=f?f:"small",align:x,className:Z,rootClassName:S,children:O,direction:N="horizontal",prefixCls:C,split:k,style:j,wrap:E=!1,classNames:_,styles:$}=t,T=m(t,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[P,z]=Array.isArray(g)?g:[g,g],B=l(z),A=l(P),H=c(z),I=c(P),W=(0,o.Z)(O,{keepEmpty:!0}),X=void 0===x&&"horizontal"===N?"center":x,M=a("space",C),[G,R,Y]=(0,y.Z)(M),D=i()(M,h,R,`${M}-${N}`,{[`${M}-rtl`]:"rtl"===u,[`${M}-align-${X}`]:X,[`${M}-gap-row-${z}`]:B,[`${M}-gap-col-${P}`]:A},Z,S,Y),F=i()(`${M}-item`,null!==(n=null==_?void 0:_.item)&&void 0!==n?n:b.item),L=0,V=W.map((t,e)=>{var n;null!=t&&(L=e);let a=(null==t?void 0:t.key)||`${F}-${e}`;return r.createElement(d,{className:F,key:a,index:e,split:k,style:null!==(n=null==$?void 0:$.item)&&void 0!==n?n:w.item},t)}),q=r.useMemo(()=>({latestIndex:L}),[L]);if(0===W.length)return null;let J={};return E&&(J.flexWrap="wrap"),!A&&I&&(J.columnGap=P),!B&&H&&(J.rowGap=z),G(r.createElement("div",Object.assign({ref:e,className:D,style:Object.assign(Object.assign(Object.assign({},J),v),j)},T),r.createElement(p,{value:q},V)))});h.Compact=u.ZP;var v=h},15767:function(t,e,n){"use strict";n.d(e,{CR:function(){return u},Jh:function(){return c},XA:function(){return s},ZT:function(){return a},_T:function(){return o},ev:function(){return f},mG:function(){return l},pi:function(){return i}});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function a(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)};function o(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]]);return n}
1function l(t,e,n,r){return new(n||(n=Promise))(function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function l(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}c((r=r.apply(t,e||[])).next())})}function c(t,e){var n,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(c){return function(l){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(6===l[0]&&i.label<a[1]){i.label=a[1],a=l;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(l);break}a[2]&&i.ops.pop(),i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,a,i=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(t){a={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function f(t,e,n){if(n||2===arguments.length)for(var r,a=0,i=e.length;a<i;a++)!r&&a in e||(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError}}]);

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.