PageSourceSearch

https://smartguys.ai/_next/static/chunks/3933.f663dd549ff2003f.js

js smartguys.ai collected 2026-10-05 15:07:20 UTC 11,845 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3933],{2639:(e,r,n)=>{"use strict";n.d(r,{AQ:()=>o,RR:()=>i,S4:()=>s});var t=n(54462);function i(e){return o(e.constructor)}var a="name";function o(e){var r=e.name;return r||"anonymous"}function s(e,r){var n=Object.getOwnPropertyDescriptor(e,a);return(!!(0,t.b0)(n)||!!n.configurable)&&(Object.defineProperty(e,a,{enumerable:!1,configurable:!0,writable:!1,value:r}),!0)}},7377:(e,r)=>{!function(e){"undefined"==typeof DO_NOT_EXPORT_BESSEL?e(r):e({})}(function(e){e.version="1.0.2";var r,n,t,i,a,o,s,c,u,f,l,d,m,v,p,h,b=Math;function g(e,r){for(var n=0,t=0;n<e.length;++n)t=r*t+e[n];return t}function E(e,r,n,t,i){if(0===r)return n;if(1===r)return t;for(var a=2/e,o=t,s=1;s<r;++s)o=t*s*a+i*n,n=t,t=o;return o}function y(e,r,n,t,i){return function(n,a){if(t){if(0===n)return 1==t?-1/0:1/0;else if(n<0)return NaN}if(0===a)return e(n);if(1===a)return r(n);if(a<0)return NaN;a|=0;var o=e(n),s=r(n);return E(n,a,o,s,i)}}var x=function(){var e=[0xd6759744e,-0x31c78f292,651619640.7,-11214424.18,77392.33017,-184.9052456].reverse(),r=[0xd675973ab,0x3d5d6d39,9494680.718,59272.64853,267.8532712,1].reverse(),n=[1,-.001098628627,2734510407e-14,-2073370639e-15,2093887211e-16].reverse(),t=[-.01562499995,1430488765e-13,-6911147651e-15,7621095161e-16,-934935152e-16].reverse();function i(i){var a=0,o=0,s=0,c=i*i;if(i<8)a=(o=g(e,c))/(s=g(r,c));else{var u=i-.785398164;o=g(n,c=64/c),s=g(t,c),a=b.sqrt(.636619772/i)*(b.cos(u)*o-b.sin(u)*s*8/i)}return a}var a=[0x10d925ddd8,-0x1d6950b23,242396853.1,-2972611.439,15704.4826,-30.16036606].reverse(),o=[0x21b24bbb9a,0x891f618a,18583304.74,99447.43394,376.9991397,1].reverse(),s=[1,.00183105,-3516396496e-14,2457520174e-15,-240337019e-15].reverse(),c=[.04687499995,-2002690873e-13,8449199096e-15,-88228987e-14,105787412e-15].reverse();function u(e){var r=0,n=0,t=0,i=e*e,u=b.abs(e)-2.356194491;return 8>Math.abs(e)?r=(n=e*g(a,i))/(t=g(o,i)):(n=g(s,i=64/i),t=g(c,i),r=b.sqrt(.636619772/b.abs(e))*(b.cos(u)*n-b.sin(u)*t*8/b.abs(e)),e<0&&(r=-r)),r}return function e(r,n){if(n=Math.round(n),!isFinite(r))return isNaN(r)?r:0;if(n<0)return(n%2?-1:1)*e(r,-n);if(r<0)return(n%2?-1:1)*e(-r,n);if(0===n)return i(r);if(1===n)return u(r);if(0===r)return 0;var t=0;if(r>n)t=E(r,n,i(r),u(r),-1);else{for(var a=2*b.floor((n+b.floor(b.sqrt(40*n)))/2),o=!1,s=0,c=0,f=1,l=0,d=2/r,m=a;m>0;m--)l=m*d*f-s,s=f,f=l,b.abs(f)>1e10&&(f*=1e-10,s*=1e-10,t*=1e-10,c*=1e-10),o&&(c+=f),o=!o,m==n&&(t=s);t/=c=2*c-f}return t}}(),N=(r=[-0xb04cc5cd,0x1a4fa4b91,-512359803.6,10879881.29,-86327.92757,228.4622733].reverse(),n=[0x954bf890d,745249964.8,7189466.438,47447.2647,226.1030244,1].reverse(),t=[1,-.001098628627,2734510407e-14,-2073370639e-15,2093887211e-16].reverse(),i=[-.01562499995,1430488765e-13,-6911147651e-15,7621095161e-16,-934945152e-16].reverse(),a=[-4900604943e3,127527439e4,-0xbffb0414e,734926455.1,-4237922.726,8511.937935].reverse(),o=[249958057e5,0x62d2b66f40,0xde8afbbf,22459040.02,102042.605,354.9632885,1].reverse(),s=[1,.00183105,-3516396496e-14,2457520174e-15,-240337019e-15].reverse(),c=[.04687499995,-2002690873e-13,8449199096e-15,-88228987e-14,105787412e-15].reverse(),y(function(e){var a=0,o=0,s=0,c=e*e,u=e-.785398164;return e<8?a=(o=g(r,c))/(s=g(n,c))+.636619772*x(e,0)*b.log(e):(o=g(t,c=64/c),s=g(i,c),a=b.sqrt(.636619772/e)*(b.sin(u)*o+b.cos(u)*s*8/e)),a},function(e){var r=0,n=0,t=0,i=e*e,u=e-2.356194491;return e<8?r=(n=e*g(a,i))/(t=g(o,i))+.636619772*(x(e,1)*b.log(e)-1/e):(n=g(s,i=64/i),t=g(c,i),r=b.sqrt(.636619772/e)*(b.sin(u)*n+b.cos(u)*t*8/e)),r},"BESSELY",1,-1)),P=(u=[1,3.5156229,3.0899424,1.2067492,.2659732,.0360768,.0045813].reverse(),f=[.39894228,.01328592,.00225319,-.00157565,.00916281,-.02057706,.02635537,-.01647633,.00392377].reverse(),l=[.5,.87890594,.51498869,.15084934,.02658733,.00301532,32411e-8].reverse(),d=[.39894228,-.03988024,-.00362018,.00163801,-.01031555,.02282967,-.02895312,.01787654,-.00420059].reverse(),function e(r,n){if(0===(n=Math.round(n)))return r<=3.75?g(u,r*r/14.0625):b.exp(b.abs(r))/b.sqrt(b.abs(r))*g(f,3.75/b.abs(r));if(1===n)return r<3.75?r*g(l,r*r/14.0625):(r<0?-1:1)*b.exp(b.abs(r))/b.sqrt(b.abs(r))*g
1(d,3.75/b.abs(r));if(n<0)return NaN;if(0===b.abs(r))return 0;if(r==1/0)return 1/0;var t,i=0,a=2/b.abs(r),o=0,s=1,c=0;for(t=2*b.round((n+b.round(b.sqrt(40*n)))/2);t>0;t--)c=t*a*s+o,o=s,s=c,b.abs(s)>1e10&&(s*=1e-10,o*=1e-10,i*=1e-10),t==n&&(i=o);return i*=e(r,0)/s,r<0&&n%2?-i:i}),k=(m=[-.57721566,.4227842,.23069756,.0348859,.00262698,1075e-7,74e-7].reverse(),v=[1.25331414,-.07832358,.02189568,-.01062446,.00587872,-.0025154,53208e-8].reverse(),p=[1,.15443144,-.67278579,-.18156897,-.01919402,-.00110404,-4686e-8].reverse(),h=[1.25331414,.23498619,-.0365562,.01504268,-.00780353,.00325614,-68245e-8].reverse(),y(function(e){return e<=2?-b.log(e/2)*P(e,0)+g(m,e*e/4):b.exp(-e)/b.sqrt(e)*g(v,2/e)},function(e){return e<=2?b.log(e/2)*P(e,1)+1/e*g(p,e*e/4):b.exp(-e)/b.sqrt(e)*g(h,2/e)},"BESSELK",2,1));e.besselj=x,e.bessely=N,e.besseli=P,e.besselk=k})},60187:(e,r,n)=>{"use strict";n.r(r),n.d(r,{Alternation:()=>f.ak,Alternative:()=>f.EF,CstParser:()=>i.cA,EMPTY_ALT:()=>i.mT,EOF:()=>o.LT,EarlyExitException:()=>c.DN,EmbeddedActionsParser:()=>i.jr,GAstVisitor:()=>l.C,Lexer:()=>a.J,LexerDefinitionErrorType:()=>a._,MismatchedTokenException:()=>c.mT,NoViableAltException:()=>c.X2,NonTerminal:()=>f.wL,NotAllInputParsedException:()=>c.xd,Option:()=>f.c$,Parser:()=>P,ParserDefinitionErrorType:()=>i.D2,Repetition:()=>f.Y2,RepetitionMandatory:()=>f.$P,RepetitionMandatoryWithSeparator:()=>f.Cy,RepetitionWithSeparator:()=>f.Pp,Rule:()=>f.jO,Terminal:()=>f.BK,VERSION:()=>t.x,assignOccurrenceIndices:()=>d.gg,clearCache:()=>N,createSyntaxDiagramsCode:()=>m,createToken:()=>o.Ey,createTokenInstance:()=>o.fx,defaultGrammarResolverErrorProvider:()=>s.mC,defaultGrammarValidatorErrorProvider:()=>s.IQ,defaultLexerErrorProvider:()=>u.P,defaultParserErrorProvider:()=>s.my,generateParserFactory:()=>y,generateParserModule:()=>x,isRecognitionException:()=>c.lC,resolveGrammar:()=>d.ee,serializeGrammar:()=>f._3,serializeProduction:()=>f.Ug,tokenLabel:()=>o.Sk,tokenMatcher:()=>o.G,tokenName:()=>o.vb,validateGrammar:()=>d.W_});var t=n(377),i=n(36583),a=n(45576),o=n(2315),s=n(1672),c=n(97363),u=n(3905),f=n(17980),l=n(34683),d=n(51029);function m(e,r){var n=void 0===r?{}:r,i=n.resourceBase,a=void 0===i?"https://unpkg.com/chevrotain@"+t.x+"/diagrams/":i,o=n.css;return"\n\x3c!-- This is a generated file --\x3e\n<!DOCTYPE html>\n<meta charset=\"utf-8\">\n<style>\n  body {\n    background-color: hsl(30, 20%, 95%)\n  }\n</style>\n\n\n<link rel='stylesheet' href='"+(void 0===o?"https://unpkg.com/chevrotain@"+t.x+"/diagrams/diagrams.css":o)+"'>\n"+("\n<script src='"+a+"vendor/railroad-diagrams.js'><\/script>\n<script src='"+a+"src/diagrams_builder.js'><\/script>\n<script src='"+a+"src/diagrams_behavior.js'><\/script>\n<script src='"+a+"src/main.js'><\/script>\n")+'\n<div id="diagrams" align="center"></div>    \n'+("\n<script>\n    window.serializedGrammar = "+JSON.stringify(e,null,"  ")+";\n<\/script>\n")+'\n<script>\n    var diagramsDiv = document.getElementById("diagrams");\n    main.drawDiagramsFromSerializedGrammar(serializedGrammar, diagramsDiv);\n<\/script>\n'}var v=n(54462);function p(e){var r;return"\nfunction "+e.name+"(tokenVocabulary, config) {\n    // invoke super constructor\n    // No support for embedded actions currently, so we can 'hardcode'\n    // The use of CstParser.\n    chevrotain.CstParser.call(this, tokenVocabulary, config)\n\n    const $ = this\n\n    "+(r=e.rules,(0,v.Tj)(r,function(e){var r,n,t;return n=1,t=E(1,'$.RULE("'+(r=e).name+'", function() {')+"\n"+g(r.definition,n+1)+(E(n+1,"})")+"\n")}).join("\n"))+"\n\n    // very important to call this after all the rules have been defined.\n    // otherwise the parser may not work correctly as it will lack information\n    // derived during the self analysis phase.\n    this.performSelfAnalysis(this)\n}\n\n// inheritance as implemented in javascript in the previous decade... :(\n"+e.name+".prototype = Object.create(chevrotain.CstParser.prototype)\n"+e.name+".prototype.constructor = "+e.name+"    \n    "}function h(e,r,n){var t=E(n,"$."+(e+r.idx)+"(");return r.separator?(t+="{\n",t+=E(n+1,"SEP: this.tokensMap."+r.separator.name)+",\n",t+="DEF: "+b(r.definition,n+2)+"\n",t+=E(n,"}
1")+"\n"):t+=b(r.definition,n+1),t+=E(n,")")+"\n"}function b(e,r){var n="function() {\n";return n+=g(e,r),n+=E(r,"}")+"\n"}function g(e,r){var n="";return(0,v.jJ)(e,function(e){n+=function(e,r){var n,t;if(e instanceof f.wL)return E(r,"$.SUBRULE"+e.idx+"($."+e.nonTerminalName+")\n");if(e instanceof f.c$)return h("OPTION",e,r);if(e instanceof f.$P)return h("AT_LEAST_ONE",e,r);if(e instanceof f.Cy)return h("AT_LEAST_ONE_SEP",e,r);if(e instanceof f.Pp)return h("MANY_SEP",e,r);else if(e instanceof f.Y2)return h("MANY",e,r);else if(e instanceof f.ak)return E(r,"$.OR"+e.idx+"([")+"\n"+(0,v.Tj)(e.definition,function(e){var n,t,i;return n=e,i=E(t=r+1,"{")+"\n"+(E(t+1,"ALT: function() {")+"\n")+g(n.definition,t+1)+(E(t+1,"}")+"\n")+E(t,"}")}).join(",\n")+"\n"+E(r,"])\n");else if(e instanceof f.BK)return t=e.terminalType.name,E(r,"$.CONSUME"+e.idx+"(this.tokensMap."+t+")\n");else if(e instanceof f.EF)return g(e.definition,r);else throw Error("non exhaustive match")}(e,r+1)}),n}function E(e,r){return Array(4*e+1).join(" ")+r}function y(e){var r,t=Function("tokenVocabulary","config","chevrotain","    \n"+p(r={name:e.name,rules:e.rules})+"\nreturn new "+r.name+"(tokenVocabulary, config)    \n");return function(r){return t(e.tokenVocabulary,r,n(60187))}}function x(e){var r;return"\n(function (root, factory) {\n    if (typeof define === 'function' && define.amd) {\n        // AMD. Register as an anonymous module.\n        define(['chevrotain'], factory);\n    } else if (typeof module === 'object' && module.exports) {\n        // Node. Does not work with strict CommonJS, but\n        // only CommonJS-like environments that support module.exports,\n        // like Node.\n        module.exports = factory(require('chevrotain'));\n    } else {\n        // Browser globals (root is window)\n        root.returnExports = factory(root.b);\n    }\n}(typeof self !== 'undefined' ? self : this, function (chevrotain) {\n\n"+p(r={name:e.name,rules:e.rules})+"\n    \nreturn {\n    "+r.name+": "+r.name+" \n}\n}));\n"}function N(){console.warn("The clearCache function was 'soft' removed from the Chevrotain API.\n	 It performs no action other than printing this message.\n	 Please avoid using it as it will be completely removed in the future")}var P=function(){throw Error("The Parser class has been deprecated, use CstParser or EmbeddedActionsParser instead.	\nSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_7-0-0")}},82669:e=>{let r="ศูนย์บาทถ้วน",n=["","หนึ่ง","สอง","สาม","สี่","ห้า","หก","เจ็ด","แปด","เก้า"],t=["","สิบ","ร้อย","พัน","หมื่น","แสน","ล้าน"];function i(e){let r="",a=e.length;if(a>7){let r=a-7+1,n=e.slice(0,r),t=e.slice(r);return i(n)+"ล้าน"+i(t)}for(let i=0;i<a;i++){let o=e[i];o>0&&(r+=n[o]+t[a-i-1])}return r}function a(e){let r=e;return(r=(r=r.replace("หนึ่งสิบ","สิบ")).replace("สองสิบ","ยี่สิบ")).length>5&&r.length-r.lastIndexOf("หนึ่ง")==5&&(r=r.substr(0,r.length-5)+"เอ็ด"),r}null!=e.exports&&(e.exports=function(e){var n,t;let o,s=r;if(isNaN(e)||e>=Number.MAX_SAFE_INTEGER)return s;let c=Math.floor(e).toString(),u=Math.round(e%1*100).toString(),f=Array.from(c).map(Number),l=Array.from(u).map(Number),d=i(f),m=i(l);return d=a(d),m=a(m),n=d,t=m,s=""===n&&""===t?r:""!==n&&""===t?n+"บาทถ้วน":""===n&&""!==t?t+"สตางค์":n+"บาท"+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.