PageSourceSearch

https://data.chinahighlights.fr/lib/wp-top-menu.fc1df8fe.js

js chinahighlights.fr collected 2026-10-09 21:21:33 UTC 1,886 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkicht_front_station=self.webpackChunkicht_front_station||[]).push([[5332],{77649(e,t,r){r.r(t);var s=r(78995),c=r(96540),l=r(86336),n=r(50770),a=r(58833),p=r(68434),i=r(12215);const o=[{label:"电脑(全屏)",value:"wp-d-full"},{label:"电脑(1420px)",value:"wp-d-pc"},{label:"手机屏幕(430px)",value:"wp-d-phone"}],u=o.map(e=>e.value);r.d(t,["default",0,()=>{const e=(0,p.y)(),t=e.isFullscreenEdit,r=e.setIsFullscreenEdit,w=(0,c.useState)((0,i.get)("wp-device-cls")||"wp-d-pc"),d=(0,s.A)(w,2),h=d[0],v=d[1];return(0,c.useEffect)(()=>{window.wrapper&&"wp-d-pc"!==h&&(window.wrapper.classList.remove(...u),window.wrapper.classList.add(h))},[]),c.createElement("div",{className:"wp-top-menu"},c.createElement(l.A,{gap:"middle",justify:"center",align:"center"},c.createElement(n.A.Group,{options:o,value:h,optionType:"button",buttonStyle:"solid",onChange:e=>{const t=e.target.value;window.wrapper.classList.remove(...u),window.wrapper.classList.add(t),v(t),(0,i.set)("wp-device-cls",t,{expires:365});const r=window.wrapper.querySelectorAll("picture");"wp-d-phone"==t?r.forEach(e=>{const t=e.querySelector("source.wp-pic-m"),r=null==t?void 0:t.getAttribute("srcset");t&&r&&e.insertAdjacentHTML("afterbegin",'<source class="wp-test-source" media="(min-width:768px)" srcset="'.concat(r,'">'))}):r.forEach(e=>{var t;null===(t=e.querySelector(".wp-test-source"))||void 0===t||t.remove()})}}),c.createElement(a.A,{className:"wp-fullscreen-switch",checkedChildren:"全页编辑",unCheckedChildren:"全页编辑",checked:t,onChange:e=>{e?((0,i.set)("isFullscreenEdit","yes",{expires:365}),window.wrapper.querySelectorAll(".wp-pro-unit").forEach(e=>e.setAttribute("contenteditable","true")),r(!0)):((0,i.remove)("isFullscreenEdit"),window.wrapper.querySelectorAll(".wp-pro-unit").forEach(e=>e.setAttribute("contenteditable","false")),r(!1))}})))}])}}]);

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.