PageSourceSearch

https://www.papermag.com/static/dist/social-ux/1790.629e2a2b48a03fc71fd8.bundle.mjs

js papermag.com collected 2026-09-24 08:25:24 UTC 15,672 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[1790],{1790:function(_,n,t){t.r(n),t.d(n,{default:function(){return P_}});var e={};t.r(e),t.d(e,{useCallback:function(){return a_},useContext:function(){return p_},useDebugValue:function(){return h_},useEffect:function(){return i_},useErrorBoundary:function(){return d_},useId:function(){return v_},useImperativeHandle:function(){return f_},useLayoutEffect:function(){return l_},useMemo:function(){return s_},useReducer:function(){return u_},useRef:function(){return c_},useState:function(){return o_}});var r,o,u,i,l,c,f,s,a,p,h=function(_,n,t,e){var r;n[0]=0;for(var o=1;o<n.length;o++){var u=n[o++],i=n[o]?(n[0]|=u?1:2,t[n[o++]]):n[++o];3===u?e[0]=i:4===u?e[1]=Object.assign(e[1]||{},i):5===u?(e[1]=e[1]||{})[n[++o]]=i:6===u?e[1][n[++o]]+=i+"":u?(r=_.apply(i,h(_,i,t,["",null])),e.push(r),i[0]?n[0]|=2:(n[o-2]=0,n[o]=r)):e.push(i)}return e},d=new Map,v={},m=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function k(_,n){for(var t in n)_[t]=n[t];return _}function b(_){var n=_.parentNode;n&&n.removeChild(_)}function w(_,n,t){var e,o,u,i={};for(u in n)"key"==u?e=n[u]:"ref"==u?o=n[u]:i[u]=n[u];if(arguments.length>2&&(i.children=arguments.length>3?r.call(arguments,2):t),"function"==typeof _&&null!=_.defaultProps)for(u in _.defaultProps)void 0===i[u]&&(i[u]=_.defaultProps[u]);return H(_,i,e,o,null)}function H(_,n,t,e,r){var i={type:_,props:n,key:t,ref:e,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(i),i}function C(_){return _.children}function x(_,n){this.props=_,this.context=n}function P(_,n){if(null==n)return _.__?P(_.__,_.__i+1):null;for(var t;n<_.__k.length;n++)if(null!=(t=_.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof _.type?P(_):null}function E(_){var n,t;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,n=0;n<_.__k.length;n++)if(null!=(t=_.__k[n])&&null!=t.__e){_.__e=_.__c.base=t.__e;break}return E(_)}}function S(_){(!_.__d&&(_.__d=!0)&&i.push(_)&&!U.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||c)(U)}function U(){var _,n,t,e,r,u,l,c;for(i.sort(f);_=i.shift();)_.__d&&(n=i.length,e=void 0,u=(r=(t=_).__v).__e,l=[],c=[],t.__P&&((e=k({},r)).__v=r.__v+1,o.vnode&&o.vnode(e),A(t.__P,e,r,t.__n,t.__P.namespaceURI,32&r.__u?[u]:null,l,null==u?P(r):u,!!(32&r.__u),c),e.__v=r.__v,e.__.__k[e.__i]=e,W(l,e,c),e.__e!=u&&E(e)),i.length>n&&i.sort(f));U.__r=0}function N(_,n,t,e,r,o,u,i,l,c,f){var s,a,p,h,d,y=e&&e.__k||m,g=n.length;for(t.__d=l,D(t,n,y),l=t.__d,s=0;s<g;s++)null!=(p=t.__k[s])&&"boolean"!=typeof p&&"function"!=typeof p&&(a=-1===p.__i?v:y[p.__i]||v,p.__i=s,A(_,p,a,r,o,u,i,l,c,f),h=p.__e,p.ref&&a.ref!=p.ref&&(a.ref&&R(a.ref,null,p),f.push(p.ref,p.__c||h,p)),null==d&&null!=h&&(d=h),65536&p.__u||a.__k===p.__k?(l&&!l.isConnected&&(l=P(a)),l=M(p,l,_)):"function"==typeof p.type&&void 0!==p.__d?l=p.__d:h&&(l=h.nextSibling),p.__d=void 0,p.__u&=-196609);t.__d=l,t.__e=d}function D(_,n,t){var e,r,o,u,i,l=n.length,c=t.length,f=c,s=0;for(_.__k=[],e=0;e<l;e++)u=e+s,null!=(r=_.__k[e]=null==(r=n[e])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?H(null,r,null,null,null):g(r)?H(C,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?H(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=_,r.__b=_.__b+1,i=T(r,t,u,f),r.__i=i,o=null,-1!==i&&(f--,(o=t[i])&&(o.__u|=131072)),null==o||null===o.__v?(-1==i&&s--,"function"!=typeof r.type&&(r.__u|=65536)):i!==u&&(i===u+1?s++:i>u?f>l-u?s+=i-u:s--:i<u?i==u-1&&(s=i-u):s=0,i!==e+s&&(r.__u|=65536))):(o=t[u])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==_.__d&&(_.__d=P(o)),$(o,o,!1),t[u]=null,f--);if(f)for(e=0;e<c;e++)null!=(o=t[e])&&!(131072&o.__u)&&(o.__e==_.__d&&(_.__d=P(o)),$(o,o))}function M(_,n,t){var e,r;if("function"==typeof _.type){for(e=_.__k,r=0;e&&r<e.length;r++)e[r]&&(e[r].__=_,n=M(e[r],n,t));return n}_.__e!=n&&(t.insertBefore(_.__e,n||null),n=_.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function T(_,n,t,e){var r=_.key,o=_.type,u=t-1,i=t+1,l=n[t];if(null===l||l&&r==l.key&&o===l.type&&!(131072&l.__u))return t;if(e>(null==l||131072&l.__u?0:1))for(;u>=0||i<n.length;){if(u>=0){if((l=n[u])&&!(131072&l.__u)&&r==l.key&&o===l.type)return u;u--}if(i<n.length){if((l=n[i])&&!(131072&l.__u)&&r==l.key&&o===l.type)return i;i++}}return-1}function F(_,n,t){"-"===n[0]?_.setProperty(n,null==t?"":t):_[n]=null==t?"":"number"!=typeof t||y.test(n)?t:t+"px"}function L(_,n,t,e,r){var o;_:if("style"===n)if("string"==typeof t)_.style.cssText=t;else{if("string"==typeof e&&(_.style.cssText=e=""),e)for(n in e)t&&n in t||F(_.style,n,"");if(t)for(n in t)e&&t[n]===e[n]||F(_.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in _||"onFocusOut"===n||"onFocusIn"===n?n.toLowerCase().slice(2):n.slice(2),_.l||(_.l={}),_.l[n+o]=t,t?e?t.u=e.u:(t.u=s,_.addEventListener(n,o?p:a,o)):_.removeEventListener(n,o?p:a,o);else{if("http://www.w3.org/2000/svg"==r)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=n&&"height"!=n&&"href"!=n&&"list"!=n&&"form"!=n&&"tabIndex"!=n&&"download"!=n&&"rowSpan"!=n&&"colSpan"!=n&&"role"!=n&&n in _)try{_[n]=null==t?"":t;break _}catch(_){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?_.removeAttribute(n):_.setAttribute(n,t))}}function V(_){return function(n){if(this.l){var t=this.l[n.type+_];if(null==n.t)n.t=s++;else if(n.t<t.u)return;return t(o.event?o.event(n):n)}}}
vendor: 4,123 bytes, line 1
1function A(_,n,t,e,r,u,i,l,c,f){var s,a,p,h,d,v,m,y,b,w,H,P,E,S,U,D=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(c=!!(32&t.__u),u=[l=n.__e=t.__e]),(s=o.__b)&&s(n);_:if("function"==typeof D)try{if(y=n.props,b=(s=D.contextType)&&e[s.__c],w=s?b?b.props.value:s.__:e,t.__c?m=(a=n.__c=t.__c).__=a.__E:("prototype"in D&&D.prototype.render?n.__c=a=new D(y,w):(n.__c=a=new x(y,w),a.constructor=D,a.render=q),b&&b.sub(a),a.props=y,a.state||(a.state={}),a.context=w,a.__n=e,p=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=D.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=k({},a.__s)),k(a.__s,D.getDerivedStateFromProps(y,a.__s))),h=a.props,d=a.state,a.__v=n,p)null==D.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==D.getDerivedStateFromProps&&y!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(y,w),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(y,a.__s,w)||n.__v===t.__v)){for(n.__v!==t.__v&&(a.props=y,a.state=a.__s,a.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(_){_&&(_.__=n)})),H=0;H<a._sb.length;H++)a.__h.push(a._sb[H]);a._sb=[],a.__h.length&&i.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(y,a.__s,w),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(h,d,v)}))}if(a.context=w,a.props=y,a.__P=_,a.__e=!1,P=o.__r,E=0,"prototype"in D&&D.prototype.render){for(a.state=a.__s,a.__d=!1,P&&P(n),s=a.render(a.props,a.state,a.context),S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[]}else do{a.__d=!1,P&&P(n),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++E<25);a.state=a.__s,null!=a.getChildContext&&(e=k(k({},e),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(v=a.getSnapshotBeforeUpdate(h,d)),N(_,g(U=null!=s&&s.type===C&&null==s.key?s.props.children:s)?U:[U],n,t,e,r,u,i,l,c,f),a.base=n.__e,n.__u&=-161,a.__h.length&&i.push(a),m&&(a.__E=a.__=null)}catch(_){n.__v=null,c||null!=u?(n.__e=l,n.__u|=c?160:32,u[u.indexOf(l)]=null):(n.__e=t.__e,n.__k=t.__k),o.__e(_,n,t)}else null==u&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=I(t.__e,n,t,e,r,u,i,c,f);(s=o.diffed)&&s(n)}function W(_,n,t){n.__d=void 0;for(var e=0;e<t.length;e++)R(t[e],t[++e],t[++e]);o.__c&&o.__c(n,_),_.some((function(n){try{_=n.__h,n.__h=[],_.some((function(_){_.call(n)}))}catch(_){o.__e(_,n.__v)}}))}function I(_,n,t,e,o,u,i,l,c){var f,s,a,p,h,d,m,y=t.props,k=n.props,w=n.type;if("svg"===w?o="http://www.w3.org/2000/svg":"math"===w?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=u)for(f=0;f<u.length;f++)if((h=u[f])&&"setAttribute"in h==!!w&&(w?h.localName===w:3===h.nodeType)){_=h,u[f]=null;break}if(null==_){if(null===w)return document.createTextNode(k);_=document.createElementNS(o,w,k.is&&k),u=null,l=!1}if(null===w)y===k||l&&_.data===k||(_.data=k);else{if(u=u&&r.call(_.childNodes),y=t.props||v,!l&&null!=u)for(y={},f=0;f<_.attributes.length;f++)y[(h=_.attributes[f]).name]=h.value;for(f in y)if(h=y[f],"children"==f);else if("dangerouslySetInnerHTML"==f)a=h;else if("key"!==f&&!(f in k)){if("value"==f&&"defaultValue"in k||"checked"==f&&"defaultChecked"in k)continue;L(_,f,null,h,o)}for(f in k)h=k[f],"children"==f?p=h:"dangerouslySetInnerHTML"==f?s=h:"value"==f?d=h:"checked"==f?m=h:"key"===f||l&&"function"!=typeof h||y[f]===h||L(_,f,h,y[f],o);if(s)l||a&&(s.__html===a.__html||s.__html===_.innerHTML)||(_.innerHTML=s.__html),n.__k=[];else if(a&&(_.innerHTML=""),N(_,g(p)?p:[p],n,t,e,"foreignObject"===w?"http://www.w3.org/1999/xhtml":o,u,i,u?u[0]:t.__k&&P(t,0),l,c),null!=u)for(f=u.length;f--;)null!=u[f]&&b(u[f]);l||(f="value",void 0!==d&&(d!==_[f]||"progress"===w&&!d||"option"===w&&d!==y[f])&&L(_,f,d,y[f],o),f="checked",void 0!==m&&m!==_[f]&&L(_,f,m,y[f],o))}return _}function R(_,n,t){try{"function"==typeof _?_(n):_.current=n}catch(_){o.__e(_,t)}}function $(_,n,t){var e,r;if(o.unmount&&o.unmount(_),(e=_.ref)&&(e.current&&e.current!==_.__e||R(e,null,n)),null!=(e=_.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(_){o.__e(_,n)}
vendor: 1,160 bytes, line 1
1e.base=e.__P=null}if(e=_.__k)for(r=0;r<e.length;r++)e[r]&&$(e[r],n,t||"function"!=typeof _.type);t||null==_.__e||b(_.__e),_.__c=_.__=_.__e=_.__d=void 0}function q(_,n,t){return this.constructor(_,t)}function B(_,n,t){var e,u,i,l;o.__&&o.__(_,n),u=(e="function"==typeof t)?null:t&&t.__k||n.__k,i=[],l=[],A(n,_=(!e&&t||n).__k=w(C,null,[_]),u||v,v,n.namespaceURI,!e&&t?[t]:u?null:n.firstChild?r.call(n.childNodes):null,i,!e&&t?t:u?u.__e:n.firstChild,e,l),W(i,_,l)}r=m.slice,o={__e:function(_,n,t,e){for(var r,o,u;n=n.__;)if((r=n.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(_)),u=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(_,e||{}),u=r.__d),u)return r.__E=r}catch(n){_=n}throw _}},u=0,x.prototype.setState=function(_,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=k({},this.state),"function"==typeof _&&(_=_(k({},t),this.props)),_&&k(t,_),null!=_&&this.__v&&(n&&this._sb.push(n),S(this))},x.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),S(this))},x.prototype.render=C,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,f=function(_,n){return _.__v.__b-n.__v.__b},U.__r=0,s=0,a=V(!1),p=V(!0);var O,j,X,z,G=0,J=[],K=[],Q=o,Y=Q.__b,Z=Q.__r,__=Q.diffed,n_=Q.__c,t_=Q.unmount,e_=Q.__;function r_(_,n){Q.__h&&Q.__h(j,_,G||n),G=0;var t=j.__H||(j.__H={__:[],__h:[]});return _>=t.__.length&&t.__.push({__V:K}),t.__[_]}function o_(_){return G=1,u_(H_,_)}function u_(_,n,t){var e=r_(O++,2);if(e.t=_,!e.__c&&(e.__=[t?t(n):H_(void 0,n),function(_){var n=e.__N?e.__N[0]:e.__[0],t=e.t(n,_);n!==t&&(e.__N=[t,e.__[1]],e.__c.setState({}))}],e.__c=j,!j.u)){var r=function(_,n,t){if(!e.__c.__H)return!0;var r=e.__c.__H.__.filter((function(_){return!!_.__c}));if(r.every((function(_){return!_.__N})))return!o||o.call(this,_,n,t);var u=!1;return r.forEach((function(_){if(_.__N){var n=_.__[0];_.__=_.__N,_.__N=void 0,n!==_.__[0]&&(u=!0)}})),!(!u&&e.__c.props===_)&&(!o||o.call(this,_,n,t))};j.u=!0;var o=j.shouldComponentUpdate,u=j.componentWillUpdate;j.componentWillUpdate=function(_,n,t){if(this.__e){var e=o;o=void 0,r(_,n,t),o=e}u&&u.call(this,_,n,t)},j.shouldComponentUpdate=r}return e.__N||e.__}function i_(_,n){var t=r_(O++,3);!Q.__s&&w_(t.__H,n)&&(t.__=_,t.i=n,j.__H.__h.push(t))}function l_(_,n){var t=r_(O++,4);!Q.__s&&w_(t.__H,n)&&(t.__=_,t.i=n,j.__h.push(t))}function c_(_){return G=5,s_((function(){return{current:_}}),[])}function f_(_,n,t){G=6,l_((function(){return"function"==typeof _?(_(n()),function(){return _(null)}):_?(_.current=n(),function(){return _.current=null}):void 0}),null==t?t:t.concat(_))}function s_(_,n){var t=r_(O++,7);return w_(t.__H,n)?(t.__V=_(),t.i=n,t.__h=_,t.__V):t.__}function a_(_,n){return G=8,s_((function(){return _}),n)}function p_(_){var n=j.context[_.__c],t=r_(O++,9);return t.c=_,n?(null==t.__&&(t.__=!0,n.sub(j)),n.props.value):_.__}function h_(_,n){Q.useDebugValue&&Q.useDebugValue(n?n(_):_)}function d_(_){var n=r_(O++,10),t=o_();return n.__=_,j.componentDidCatch||(j.componentDidCatch=function(_,e){n.__&&n.__(_,e),t[1](_)}),[t[0],function(){t[1](void 0)}]}function v_(){var _=r_(O++,11);if(!_.__){for(var n=j.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);_.__="P"+t[0]+"-"+t[1]++}return _.__}function m_(){for(var _;_=J.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(k_),_.__H.__h.forEach(b_),_.__H.__h=[]}catch(n){_.__H.__h=[],Q.__e(n,_.__v)}}Q.__b=function(_){j=null,Y&&Y(_)},Q.__=function(_,n){_&&n.__k&&n.__k.__m&&(_.__m=n.__k.__m),e_&&e_(_,n)},Q.__r=function(_){Z&&Z(_),O=0;var n=(j=_.__c).__H;n&&(X===j?(n.__h=[],j.__h=[],n.__.forEach((function(_){_.__N&&(_.__=_.__N),_.__V=K,_.__N=_.i=void 0}))):(n.__h.forEach(k_),n.__h.forEach(b_),n.__h=[],O=0)),X=j},Q.diffed=function(_){__&&__(_);var n=_.__c;n&&n.__H&&(n.__H.__h.length&&(1!==J.push(n)&&z===Q.requestAnimationFrame||((z=Q.requestAnimationFrame)||g_)(m_)),n.__H.__.forEach((function(_){_.i&&(_.__H=_.i),_.__V!==K&&(_.__=_.__V),_.i=void 0,_.__V=K}))),X=j=null},Q.__c=function(_,n){n.some((function(_){try{_.__h.forEach(k_),_.__h=_.__h.filter((function(_){return!_.__||b_(_)}))}catch(t){n.some((function(_){_.__h&&(_.__h=[])})),n=[],Q.__e(t,_.__v)}})),n_&&n_(_,n)},Q.unmount=function(_){t_&&t_(_);var n,t=_.__c;t&&t.__H&&(t.__H.__.forEach((function(_){try{k_(_)}catch(_){n=_}})),t.__H=void 0,n&&Q.__e(n,t.__v))};var y_="function"==typeof requestAnimationFrame;function g_(_){var n,t=function(){clearTimeout(e),y_&&cancelAnimationFrame(n),setTimeout(_)},e=setTimeout(t,100);y_&&(n=requestAnimationFrame(t))}function k_(_){var n=j,t=_.__c;"function"==typeof t&&(_.__c=void 0,t()),j=n}function b_(_){var n=j;_.__c=_.__(),j=n}function w_(_,n){return!_||_.length!==n.length||n.some((function(n,t){return n!==_[t]}))}function H_(_,n){return"function"==typeof n?n(_):n}const C_=function(_){var n=d.get(this);return n||(n=new Map,d.set(this,n)),(n=h(this,n.get(_)||(n.set(_,n=function(_){for(var n,t,e=1,r="",o="",u=[0],i=function(_){1===e&&(_||(r=r.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?u.push(0,_,r):3===e&&(_||r)?(u.push(3,_,r),e=2):2===e&&"..."===r&&_?u.push(4,_,0):2===e&&r&&!_?u.push(5,0,!0,r):e>=5&&((r||!_&&5===e)&&(u.push(e,0,r,t),e=6),_&&(u.push(e,_,0,t),e=6)),r=""},l=0;l<_.length;l++){l&&(1===e&&i(),i(l));for(var c=0;c<_[l].length;c++)n=_[l][c],1===e?"<"===n?(i(),u=[u],e=3):r+=n:4===e?"--"===r&&">"===n?(e=1,r=""):r=n+r[0]:o?n===o?o="":r+=n:'"'===n||"'"===n?o=n:">"===n?(i(),e=1):e&&("="===n?(e=5,t=r,r=""):"/"===n&&(e<5||">"===_[l][c+1])?(i(),3===e&&(u=u[0]),e=u,(u=u[0]).push(2,0,e),e=0):" "===n||"\t"===n||"\n"===n||"\r"===n?(i(),e=2):r+=n),3===e&&"!--"===r&&(e=4,u=u[0])}return i(),u}(_)),n),arguments,[])).length>1?n:n[0]}.bind(w),x_={preact:{html:C_,h:w,render:B,hydrate:function _(n,t){B(n,t,_)},Component:x,Fragment:C,hooks:e}};function P_(){return Promise.resolve(x_)}}}]);
2//# sourceMappingURL=1790.629e2a2b48a03fc71fd8.bundle.mjs.map

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.