PageSourceSearch

https://www.twcdtv.vip/_next/static/chunks/pages/activity/pureDisplay/[id]-c842e6fe1abc06c1.js

js twcdtv.vip collected 2026-10-10 00:31:40 UTC 8,766 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6868,2945],{820640:function(e,t,n){"use strict";var o=n(111742),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,c,l,u,s=!1;t||(t={}),n=t.debug||!1;try{if(a=o(),c=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(o){if(o.stopPropagation(),t.format)if(o.preventDefault(),"undefined"===typeof o.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else o.clipboardData.clearData(),o.clipboardData.setData(t.format,e);t.onCopy&&(o.preventDefault(),t.onCopy(o.clipboardData))})),document.body.appendChild(u),c.selectNodeContents(u),l.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(c):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return s}},318273:function(e,t,n){"use strict";var o=n(437669),r=n(280412),i=n.n(r),a=n(997997);t.Z=function(e){var t=e.src;return(0,a.tZ)(o.Z,{priority:!0,width:"100%",className:i().mainBanner,src:t,layout:"auto"})}},222945:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return O}});var o=n(911720),r=n(811163),i=n(528426),a=n.n(i),c=n(307514),l=n.n(c),u=n(774855),s=n(84219),p=n(201585),f=n(997997),d=function(e){var t=(0,r.useRouter)(),n=e.item,o=n.customerServiceArticle,i=n.styleUrl;return i&&(0,f.tZ)("div",{className:l().customerBox,style:{pointerEvents:e.view?"none":"all"},onClick:function(){s.Z.alert("",(0,f.BX)("div",{className:l().message,children:[(0,f.tZ)("p",{children:"\u5c0a\u656c\u7684\u5ba2\u6237\uff0c\u6d3b\u52a8\u4fe1\u606f\u66ff\u4f60\u8bb0\u4e0b\u55bd\uff01"}),(0,f.BX)("p",{children:["\u8054\u7cfb\u5ba2\u670d",(0,f.tZ)("span",{children:"\u7c98\u8d34"}),"\u5230\u5bf9\u8bdd\u91cc\u5427\uff01"]})]}),[{text:"\u8054\u7cfb\u5ba2\u670d",onPress:function(){t.push(p.Z.customer)}}],!0)},children:(0,f.tZ)(u.CopyToClipboard,{text:o,onCopy:function(){},children:(0,f.tZ)("img",{src:i})})})},y=n(827688),v=n(437669),b=n(268129),m=n(715186);var g=n(335678),h=n(555129),w=n(471217),C=n(318273),O=(0,w.Pi)((function(e){var t,n,i,c,l,u,s=(0,h.Z)(),p=(0,o.useState)(e.activity),w=p[0],O=p[1],_=(0,o.useState)(!1),x=_[0],P=_[1],D=(0,g.FJ)()&&-1!==(null===(t=window)||void 0===t||null===(n=t.location)||void 0===n||null===(i=n.search)||void 0===i?void 0:i.indexOf("preview=")),S=(0,r.useRouter)(),j=null===S||void 0===S||null===(c=S.query)||void 0===c?void 0:c.id;(0,o.useEffect)((function(){D&&j&&function(e){var t=e.id;return(0,m.v_)("/act/api/v1/activityShow/previewActDetail",{body:JSON.stringify({id:t})})}({id:j}).then((function(e){O(e)}))}),[j]);var k=[];return null===w||void 0===w||null===(l=w.splitImages)||void 0===l||l.map((function(e){2===e.type&&k.push(e.url)})),(0,f.tZ)(o.default.Fragment,{children:null!==w&&void 0!==w&&w.splitImages&&0!==(null===w||void 0===w||null===(u=w.splitImages)||void 0===u?void 0:u.length)?(0,f.BX)(o.default.Fragment,{children:[(0,f.tZ)("div",{className:a().box,children:null!==w&&void 0!==w&&w.splitImages&&2!==w.contentForm?null===k||void 0===k?void 0:k.map((function(e,t){return(0,f.tZ)(v.Z,{width:"100%",height:"auto",layout:"auto",src:e},t)})):(0,f.tZ)(C.Z,{src:null===w||void 0===w?void 0:w[s?"h5SpecialImgDark":"h5SpecialImg"]})}),0!==w.isOpen?(0,f.tZ)(d,{item:w,view:D}):null,(0,f.tZ)(b.default,{position:"7",positionSub:j,routePath:"pureDisplay",visible:x,onClose:function(){return P(!1)},setList:function(e){e.length&&P(!0)}})]}):(0,f.tZ)(y.default,{activity:w})})}))},247805:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/activity/pureDisplay/[id]",function(){return n(222945)}])},236534:function(e){e.exports={myModalView:"J4kughkPwGt_9hLwR_vaLg__"}},280412:function(e){e.exports={mainBanner:"xtXj7Wb0lgMPNO5f1UdOWw__"}},307514:function(e){e.exports={customerBox:"__8f39OoYoAlTnVD1B8Iz0lw__",message:"__6IpsryWxrih4QGWkAvjz2Q__"}},528426:function(e){e.exports={box:"Mzeg_GkBy31qVQLzPtIs7Q__"}},74300:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=i(n(911720)),r=i(n(820640));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?d(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){function t(){var e,n;u(this,t);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return v(d(n=p(this,(e=f(t)).call.apply(e,[this].concat(a)))),"onClick",(function(e){var t=n.props,i=t.text,a=t.onCopy,c=t.children,l=t.options,u=o.default.Children.only(c),s=(0,r.default)(i,l);a&&a(i,s),u&&u.props&&"function"===typeof u.props.onClick&&u.props.onClick(e)})),n}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),n=t,i=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=l(e,["text","onCopy","options","children"]),r=o.default.Children.only(t);return o.default.cloneElement(r,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}],i&&s(n.prototype,i),a&&s(n,a),t}(o.default.PureComponent);t.CopyToClipboard=b,v(b,"defaultProps",{onCopy:void 0,options:void 0})},774855:function(e,t,n){"use strict";var o=n(74300).CopyToClipboard;o.CopyToClipboard=o,e.exports=o},111742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)}
1)),t&&t.focus()}}}},function(e){e.O(0,[830,8343,3770,4219,1632,2639,5296,8129,9531,5086,8093,2888,179],(function(){return t=247805,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.