PageSourceSearch

https://www.wolframalpha.com/_next/static/chunks/pages/input-926fdb57cc358799.js

js wolframalpha.com collected 2026-09-24 07:03:04 UTC 13,715 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3386,4188],{2342:()=>{},11877:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r="/_next/static/images/share_9016222d6b2fadaacc58b484cb3edace.png"},21411:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(51710).Ay.main.withConfig({componentId:"sc-9daadc7-0"})(["width:100%;display:flex;flex-direction:column;align-items:center;"])},34750:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r,o,s=n(38985),i=n(55729),l=n(50878),a=n(5440),c={out:"out-in",in:"in-out"},d=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},u=((r={})[c.out]=function(e){var t=e.current,n=e.changeState;return i.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){n(l.ns,null)})})},r[c.in]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,i.cloneElement(r,{in:!0,onEntered:d(r,"onEntered",function(){n(l.ns)})})]},r),p=((o={})[c.out]=function(e){var t=e.children,n=e.changeState;return i.cloneElement(t,{in:!0,onEntered:d(t,"onEntered",function(){n(l._K,i.cloneElement(t,{in:!0}))})})},o[c.in]=function(e){var t=e.current,n=e.children,r=e.changeState;return[i.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){r(l._K,i.cloneElement(n,{in:!0}))})}),i.cloneElement(n,{in:!0})]},o),h=function(e){function t(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:l._K,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,s.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n,r;return null==e.children?{current:null}:t.status===l.ns&&e.mode===c.in?{status:l.ns}:t.current&&!((n=t.current)===(r=e.children)||i.isValidElement(n)&&i.isValidElement(r)&&null!=n.key&&n.key===r.key)&&1?{status:l.ze}:{current:i.cloneElement(e.children,{in:!0})}},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,s=o.status,c=o.current,d={children:n,current:c,changeState:this.changeState,status:s};switch(s){case l.ns:e=p[r](d);break;case l.ze:e=u[r](d);break;case l._K:e=c}return i.createElement(a.A.Provider,{value:{isMounting:!this.appeared}},e)},t}(i.Component);h.propTypes={},h.defaultProps={mode:c.out};let f=h},61503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(6029),o=n(55729),s=n(97340),i=n(92690),l=n(33713),a=n(11877),c=n(58940),d=n(50843),u=n(17286),p=n(50753),h=n(4669),f=n(1960),g=n(34695),m=n(88475),y=n(21411),b=n(60579);let{fromBase64:v}=i.Cr,{decodeInputParam:w,encodeInputUrl:E}=i.bF,A={en:c,es:d,ja:u,zh:p,ko:h},k=Object.keys(A);class S extends o.Component{static getInitialProps(e){let t=w(e.query);if(t.i2d)try{let n=JSON.parse(v(t.value));s.utils2D.initInput2D({first:"verify",encoded:n});let r=s.utils2D.outputStringValue("verify",!0);if(r){let t=E({value:r,i2d:!0}).asPath;return e.res&&(e.res.writeHead(301,{Location:t}),e.res.end()),{redirectTo:t}}}catch(e){}return{}}componentDidUpdate(e){let{language:t}=this.props;e.language!==t&&i.t2.queryInitialized()}render(){return(0,r.jsx)(i.cP,{...this.props,pageLanguages:k,messages:A,values:this.getMetaDataValues(),children:(0,r.jsxs)(y.A,{children:[(0,r.jsx)(m.A,{...this.props,parent:g.we.RESULT}),(0,r.jsx)(l.qD,{...this.props}),(0,r.jsx)(f.A,{...this.props,locationId:this.makeLocationId()})]})})}constructor(e){super(e),this.makeLocationId=()=>{let{router:e,theme:t,language:n}=this.props;return"".concat(e.query.key||e.asPath,"_").concat(n,"_").concat(t)},this.getMetaDataValues=()=>{let{router:e,urlInfo:t,fileApi:n}=this.props,{value:r,fileInfo:o}=w(e.query),i=s.utils2D.unescapeForUrl(r);if(o){let e=n.getFileInfo(o.uuid),t=e?e.name:"File input";i="".concat(t," ").concat(i)}return{QUERY:i,URL:t.base,IMAGE:a.A}};let{router:t,redirect:n,redirectTo:r}=this.props;(!t.query||r)&&n(r||"/",!1),i.t2.initializationHome||i.t2.queryInitialized()}}let x=i.Zc.withThemeController(b.b.withContext(S))},62997:function(e,t,n){var r;"undefined"!=typeof self&&self,r=n(55729),e.exports=function(){"use strict";var e={155:function(e){e.exports=r}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.r(o),n.d(o,{useReactToPrint:function(){return p}});var s=n(155);function i({level:e="error",messages:t,suppressErrors:n=!1}){n||("error"===e?console.error(t):"warning"===e?console.warn(t):console.debug(t))}function l(e,t){if(t||!e){let e=document.getElementById("printWindow");e&&document.body.removeChild(e)}}function a(e){return e instanceof Error?e:Error("Unknown Error")}function c(e,t){let{documentTitle:n,onAfterPrint:r,onPrintError:o,preserveAfterPrint:s,print:c,suppressErrors:d}=t;setTimeout(()=>{var t,u;if(e.contentWindow){function p(){null==r||r(),l(s)}if(e.contentWindow.focus(),c)c(e).then(p).catch(e=>{o?o("print",a(e)):i({messages:["An error was thrown by the specified `print` function"],suppressErrors:d})});else{if(e.contentWindow.print){let r=null!=(u=null==(t=e.contentDocument)?void 0:t.title)?u:"",o=e.ownerDocument.title;n&&(e.ownerDocument.title=n,e.contentDocument&&(e.contentDocument.title=n)),e.contentWindow.print(),n&&(e.ownerDocument.title=o,e.contentDocument&&(e.contentDocument.title=r))}else i({messages:["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."],suppressErrors:d});[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(e=>{var t,n;return(null!=(n=null!=(t=navigator.userAgent)?t:navigator.vendor)?n:"opera"in window&&window.opera).match(e)})?setTimeout(p,500):p()}}else i({messages:["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/MatthewHerbst/react-to-print/issues/"],suppressErrors:d})},500)}function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null),r=n.nextNode();for(;r;)t.push(r),r=n.nextNode();return t}function u(e,t,n,r){e.onload=()=>{!function(e,t,n,r){var o,s,l,u,p;let{contentNode:h,clonedContentNode:f,clonedImgNodes:g,clonedVideoNodes:m,numResourcesToLoad:y,originalCanvasNodes:b}=n,{bodyClass:v,fonts:w,ignoreGlobalStyles:E,pageStyle:A,nonce:k,suppressErrors:S,copyShadowRoots:x}=r;e.onload=null;let T=null!=(o=e.contentDocument)?o:null==(s=e.contentWindow)?void 0:s.document;if(T){let n=T.body.appendChild(f);x&&function e(t,n,r){let o=d(t),s=d(n);if(o.length===s.length)for(let t=0;t<o.length;t++){let n=o[t],i=s[t],l=n.shadowRoot;if(null!==l){let t=i.attachShadow({mode:l.mode});t.innerHTML=l.innerHTML,e(l,t,r)}}else i({messages:["When cloning shadow root content, source and target elements have different size. `onBeforePrint` likely resolved too early.",t,n],suppressErrors:r})}(h,n,!!S),w&&((null==(l=e.contentDocument)?void 0:l.fonts)&&(null==(u=e.contentWindow)?void 0:u.FontFace)?w.forEach(n=>{let r=new FontFace(n.family,n.source,{weight:n.weight,style:n.style});e.contentDocument.fonts.add(r),r.loaded.then(()=>{t(r)}).catch(e=>{t(r,["Failed loading the font:",r,"Load error:",a(e)])})}):(w.forEach(e=>{t(e)}),i({messages:['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'],suppressErrors:S})));let r=T.createElement("style");k&&(r.setAttribute("nonce",k),T.head.setAttribute("nonce",k)),r.appendChild(T.createTextNode(null!=A?A:'\n    @page {\n        /* Remove browser default header (title) and footer (url) */\n        margin: 0;\n    }\n    @media print {\n        body {\n            /* Tell browsers to print background colors */\n            color-adjust: exact; /* Firefox. This is an older version of "print-color-adjust" */\n            print-color-adjust: exact; /* Firefox/Safari */\n            -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */\n        }\n    }\n')),T.head.appendChild(r),v&&T.body.classList.add(...v.split(" "));let o=T.querySelectorAll("canvas");for(let e=0;e<b.length;++e){let t=b[e],n=o[e];if(void 0===n){i({messages:["A canvas element could not be copied for printing, has it loaded? `onBeforePrint` likely resolved too early.",t],suppressErrors:S});continue}let r=n.getContext("2d");r&&r.drawImage(t,0,0)}for(let e=0;e<g.length;e++){let n=g[e],r=n.getAttribute("src");if(r){let e=new Image;e.onload=()=>{t(n)},e.onerror=(e,r,o,s,i)=>{t(n,["Error loading <img>",n,"Error",i])},e.src=r}else t(n,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it.',n])}for(let e=0;e<m.length;e++){let n=m[e];n.preload="auto";let r=n.getAttribute("poster");if(r){let e=new Image;e.onload=()=>{t(n)},e.onerror=(e,o,s,i,l)=>{t(n,["Error loading video poster",r,"for video",n,"Error:",l])},e.src=r}else n.readyState>=2?t(n):n.src?(n.onloadeddata=()=>{t(n)},n.onerror=(e,r,o,s,i)=>{t(n,["Error loading video",n,"Error",i])},n.onstalled=()=>{t(n,["Loading video stalled, skipping",n])}):t(n,["Error loading video, `src` is empty",n])}let s="select",c=h.querySelectorAll(s),y=T.querySelectorAll(s);for(let e=0;e<c.length;e++)y[e].value=c[e].value;if(!E){let e=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']");for(let n=0,r=e.length;n<r;++n){let r=e[n];if("style"===r.tagName.toLowerCase()){let e=T.createElement(r.tagName),t=r.sheet;if(t){let o="";try{let e=t.cssRules.length;for(let n=0;n<e;++n)"string"==typeof t.cssRules[n].cssText&&(o+=`${t.cssRules[n].cssText}\r
2`)}catch(e){i({messages:["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/MatthewHerbst/react-to-
2print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",r,`Original error: ${a(e).message}`],level:"warning"})}e.setAttribute("id",`react-to-print-${n}`),k&&e.setAttribute("nonce",k),e.appendChild(T.createTextNode(o)),T.head.appendChild(e)}}else if(r.getAttribute("href"))if(r.hasAttribute("disabled"))i({messages:["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",r],level:"warning"}),t(r);else{let e=T.createElement(r.tagName);for(let t=0,n=r.attributes.length;t<n;++t){let n=r.attributes[t];n&&e.setAttribute(n.nodeName,null!=(p=n.nodeValue)?p:"")}e.onload=()=>{t(e)},e.onerror=(n,r,o,s,i)=>{t(e,["Failed to load",e,"Error:",i])},k&&e.setAttribute("nonce",k),T.head.appendChild(e)}else i({messages:["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",r],level:"warning"}),t(r)}}}0===y&&c(e,r)}(e,t,n,r)},document.body.appendChild(e)}function p(e){let{contentRef:t,fonts:n,ignoreGlobalStyles:r,onBeforePrint:o,onPrintError:d,preserveAfterPrint:p,suppressErrors:h}=e;return(0,s.useCallback)(s=>{l(p,!0);let f=function({contentRef:e,optionalContent:t,suppressErrors:n}){return t&&(e&&i({level:"warning",messages:['"react-to-print" received a `contentRef` option and a optional-content param passed to its callback. The `contentRef` option will be ignored.']}),"function"==typeof t)?t():e?e.current:void i({messages:['"react-to-print" did not receive a `contentRef` option or a optional-content param pass to its callback.'],suppressErrors:n})}({contentRef:t,optionalContent:s,suppressErrors:h});if(!f)return void i({messages:["There is nothing to print"],suppressErrors:h});let g=f.cloneNode(!0),m=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),y=g.querySelectorAll("img"),b=g.querySelectorAll("video"),v=n?n.length:0,w=(r?0:m.length)+y.length+b.length+v,E=[],A=[],k=function(){let e=document.createElement("iframe");return e.width=`${document.documentElement.clientWidth}px`,e.height=`${document.documentElement.clientHeight}px`,e.style.position="absolute",e.style.top=`-${document.documentElement.clientHeight+100}px`,e.style.left=`-${document.documentElement.clientWidth+100}px`,e.id="printWindow",e.srcdoc="<!DOCTYPE html>",e}(),S=(t,n)=>{E.includes(t)?i({level:"debug",messages:["Tried to mark a resource that has already been handled",t],suppressErrors:h}):(n?(i({messages:['"react-to-print" was unable to load a resource but will continue attempting to print the page',...n],suppressErrors:h}),A.push(t)):E.push(t),E.length+A.length===w&&c(k,e))},x={contentNode:f,clonedContentNode:g,clonedImgNodes:y,clonedVideoNodes:b,numResourcesToLoad:w,originalCanvasNodes:f.querySelectorAll("canvas")};o?o().then(()=>{u(k,S,x,e)}).catch(e=>{null==d||d("onBeforePrint",a(e))}):u(k,S,x,e)},[e])}return o}()},79746:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/input",function(){return n(61503)}])}},e=>{e.O(0,[4641,4705,5044,3713,6169,275,5098,9764,636,6593,8792],()=>e(e.s=79746)),_N_E=e.O()}]);

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.