PageSourceSearch

https://www.thecipherbrief.com/static/dist/social-ux/7490.ba38e07817e6a2390cfb.bundle.mjs

js thecipherbrief.com collected 2026-09-24 15:19:36 UTC 4,489 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[7490],{7490:function(t,n,e){function r(){return r=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},r.apply(null,arguments)}function a(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,a,i,o,l=[],c=!0,u=!1;try{if(i=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(r=i.call(e)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(t){u=!0,a=t}finally{try{if(!c&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(u)throw a}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return i(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}e.r(n),e.d(n,{default:function(){return l}});var o=(0,e(3964).A)((function(t,n,e,i){var o=t.h,l=t.Fragment,c=t.hooks,u=e.layoutStatus,s=e.showRating,f=e.editorLoader,d=e.Review,m=c.useEffect,v=c.useCallback,p=c.useRef,b=c.useState,h=!("update_avatar"in u)||"active"===u.update_avatar,g=!("avatar"in u)||"active"===u.avatar;function y(t){var n=t.uploadingAvatar,e=t.onNewAvatar,r=v((function(t){e(t.target.files[0])}),[e]),a=v((function(){}),[]);return o(l,null,o("span",{class:"circle-loader".concat(n?"":" hidden")}),o("form",{class:"avatar-form",enctype:"multipart/form-data",encoding:"multipart/form-data",method:"GET",onSubmit:a},o("div",{class:"comment--login-headline-subheadline"},o("label",{class:"fake-input","aria-label":"Change your avatar"},o("input",{id:"fileInput",class:"input-file",type:"file",name:"logo",disabled:n,onChange:r})))))}function _(t){var n=t.userInfo.display_logo;return o("div",{class:"comment--item-avatar".concat(h?" editable":""),title:h?"editable":""},o("img",{src:n,alt:""}),h&&o(y,t))}function k(t){var n=t.userScore,e=t.setScore,r=a(b(n||5),2),i=r[0],l=r[1],c=a(b(n||5),2),u=c[0],s=c[1],f=v((function(t){s(t)}),[]),p=v((function(){s(i)}),[i]),h=v((function(t){l(t),e(t)}),[e]);return m((function(){n&&l(n)}),[n]),o("div",{class:"input__star_rating"},o(d,{enabled:!0,onClick:h,onMouseEnter:f,onMouseLeave:p,score:u}))}function C(t){var n=t.userInfo,e=t.canReview,r=t.replyId,a=n.title;return o("div",{class:"talk__author__add"},o("div",{class:"talk__avatar"},g&&o(_,t)),!r&&o("div",{class:"talk__author__desc"},o("div",{class:"talk__author__title"},a)),e&&!r&&o(k,t))}function w(t){var n=t.setBody,e=t.disabled,r=t.settings,i=t.error,c=a(b(null),2),u=c[0],s=c[1],d=a(b(!1),2),h=d[0],g=d[1],y=p(null);m((function(){u&&(e?u.disable():(u.enable(),h&!i&&(u.clear(),g(!1))))}),[e,h,i]),m((function(){var t;return f(r).then((function(n){t=n,s(n)})).catch(console.error),function(){t&&t.destroy()}}),[r]);var _=v((function(){if(u){var t=u.getContent();t.length&&(g(!0),n(t))}}),[n,u]);return m((function(){y.current&&u&&u.parent&&y.current.appendChild(u.parent)})),o(l,null,o("div",{class:"comment-text-wrapper"},o("div",{class:"comment--item-text-field",ref:y})),o("div",{class:"comment--item-toolbar"},o("button",{onClick:_,type:"button",class:"comment-item--publish",disabled:e},"Publish"),i&&o("span",{class:"comment--item-error"},i)))}function S(t){var n=t.onCommentBoxClick,e=t.onPublishClick;return o(l,null,o("div",{class:"comment-text-wrapper"},o("div",{class:"comment--item-text-field message",onClick:n})),o("div",{class:"comment--item-toolbar"},o("button",{onClick:e,class:"comment-item--publish"},"Publish")))}return function(t){var n=t.isLoggedIn,e=t.onPublishClick,i=t.onReplyClick,c=t.replyId,u=t.vote,f=a(b(5),2),d=f[0],m=f[1],p=v((function(t){m(t)}),[]),h=v((function(t){c?i(t,c):e(d,t)}),[d,e,c]),g=s&&"reactions"in u&&"rating"in u.reactions&&!u.reactions.rating.stars;return o(l,null,n&&o(C,r({setScore:p,canReview:g},t)),o("div",{class:"comment--item-text-input"},n?o(w,r({setBody:h},t)):o(S,t)),!n&&!c&&o("div",{class:"comment-login-wrp"}))}}));function l(t){var n=t.preact;return o(n)}}}]);

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.