PageSourceSearch

https://outstanding.kr/_next/static/chunks/7539.0ef389f2950b6e90.js

js outstanding.kr collected 2026-09-25 23:02:40 UTC 10,205 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7539],{39593:function(t,e,i){let r=i(34411),n=Symbol("max"),h=Symbol("length"),s=Symbol("lengthCalculator"),l=Symbol("allowStale"),a=Symbol("maxAge"),o=Symbol("dispose"),u=Symbol("noDisposeOnSet"),f=Symbol("lruList"),p=Symbol("cache"),c=Symbol("updateAgeOnGet"),v=()=>1;class g{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw TypeError("max must be a non-negative number");this[n]=t.max||1/0;let e=t.length||v;if(this[s]="function"!=typeof e?v:e,this[l]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw TypeError("maxAge must be a number");this[a]=t.maxAge||0,this[o]=t.dispose,this[u]=t.noDisposeOnSet||!1,this[c]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw TypeError("max must be a non-negative number");this[n]=t||1/0,m(this)}get max(){return this[n]}set allowStale(t){this[l]=!!t}get allowStale(){return this[l]}set maxAge(t){if("number"!=typeof t)throw TypeError("maxAge must be a non-negative number");this[a]=t,m(this)}get maxAge(){return this[a]}set lengthCalculator(t){"function"!=typeof t&&(t=v),t!==this[s]&&(this[s]=t,this[h]=0,this[f].forEach(t=>{t.length=this[s](t.value,t.key),this[h]+=t.length})),m(this)}get lengthCalculator(){return this[s]}get length(){return this[h]}get itemCount(){return this[f].length}rforEach(t,e){e=e||this;for(let i=this[f].tail;null!==i;){let r=i.prev;b(this,t,i,e),i=r}}forEach(t,e){e=e||this;for(let i=this[f].head;null!==i;){let r=i.next;b(this,t,i,e),i=r}}keys(){return this[f].toArray().map(t=>t.key)}values(){return this[f].toArray().map(t=>t.value)}reset(){this[o]&&this[f]&&this[f].length&&this[f].forEach(t=>this[o](t.key,t.value)),this[p]=new Map,this[f]=new r,this[h]=0}dump(){return this[f].map(t=>!d(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[f]}set(t,e,i){if((i=i||this[a])&&"number"!=typeof i)throw TypeError("maxAge must be a number");let r=i?Date.now():0,l=this[s](e,t);if(this[p].has(t)){if(l>this[n])return w(this,this[p].get(t)),!1;let s=this[p].get(t).value;return this[o]&&!this[u]&&this[o](t,s.value),s.now=r,s.maxAge=i,s.value=e,this[h]+=l-s.length,s.length=l,this.get(t),m(this),!0}let c=new x(t,e,l,r,i);return c.length>this[n]?(this[o]&&this[o](t,e),!1):(this[h]+=c.length,this[f].unshift(c),this[p].set(t,this[f].head),m(this),!0)}has(t){return!!this[p].has(t)&&!d(this,this[p].get(t).value)}get(t){return y(this,t,!0)}peek(t){return y(this,t,!1)}pop(){let t=this[f].tail;return t?(w(this,t),t.value):null}del(t){w(this,this[p].get(t))}load(t){this.reset();let e=Date.now();for(let i=t.length-1;i>=0;i--){let r=t[i],n=r.e||0;if(0===n)this.set(r.k,r.v);else{let t=n-e;t>0&&this.set(r.k,r.v,t)}}}prune(){this[p].forEach((t,e)=>y(this,e,!1))}}let y=(t,e,i)=>{let r=t[p].get(e);if(r){let e=r.value;if(d(t,e)){if(w(t,r),!t[l])return}else i&&(t[c]&&(r.value.now=Date.now()),t[f].unshiftNode(r));return e.value}},d=(t,e)=>{if(!e||!e.maxAge&&!t[a])return!1;let i=Date.now()-e.now;return e.maxAge?i>e.maxAge:t[a]&&i>t[a]},m=t=>{if(t[h]>t[n])for(let e=t[f].tail;t[h]>t[n]&&null!==e;){let i=e.prev;w(t,e),e=i}},w=(t,e)=>{if(e){let i=e.value;t[o]&&t[o](i.key,i.value),t[h]-=i.length,t[p].delete(i.key),t[f].removeNode(e)}};class x{constructor(t,e,i,r,n){this.key=t,this.value=e,this.length=i,this.now=r,this.maxAge=n||0}}let b=(t,e,i,r)=>{let n=i.value;d(t,n)&&(w(t,i),t[l]||(n=void 0)),n&&e.call(r,n.value,n.key,t)};t.exports=g},97539:function(t,e,i){i.r(e),i.d(e,{base:function(){return u},default:function(){return f}});var r=i(8307),n=i(96486),h=i.n(n),s=i(57462);function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){(0,r.Z)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}async function o(t,e){let i=t.match(/\/(app\w+)/)?.[1]??"",r=t.match(/\/(tbl\w+)/)?.[1]??"",n=`https://api.airtable.com/v0/${i}/${r}?view=Grid%20view`+(e?`&offset=${e}`:"");return(await fetch(n,{headers:{Authorization:"Bearer patj8xeaXynxUSaYd.3e2b417351d5054cc9ab162e27132e00d376a2413ba6b5ee34df8498a7bf77ea"}})).json()}async function u(t){let e=t.target,i=await (0,s.C)("SURVEY_LIST_URL",async()=>{let t=await fetch("https://cms.outstanding.kr/survey-lists");return await t.json()}).catch(()=>[]),r=h().keyBy(i,t=>t.target)[e];if(r)return await (0,s.C)(r+"_"+e,async()=>{let t=await o(r.airtable_question_url).catch(void 0),i=t.offset?await o(r.airtable_question_url,t.offset).catch(void 0):void 0,n=await o(r.airtable_result_url).catch(void 0);return{target:e,questions:a(a({},t),{},{records:[...t.records,...i?.records??[]]}),results:n}}).catch(()=>void 0)}async function f(t,e){let i=String(t.query.target),r=await u({target:i});void 0!==r?e.status(200).json(r):e.status(404).json({name:"John Doe"})}},57462:function(t,e,i){i.d(e,{C:function(){return h}});var r=i(39593);let n=new(i.n(r)())({maxAge:6e4,updateAgeOnGet:!1});async function h(t,e,i=6e4){if(!n.has(t)){let r=e();return n.set(t,r,i),await r}return await n.get(t)}},49602:function(t){t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}},34411:function(t,e,i){function r(t){var e=this;if(e instanceof r||(e=new r),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach(function(t){e.push(t)});else if(arguments.length>0)for(var i=0,n=arguments.length;i<n;i++)e.push(arguments[i]);return e}function n(t,e,i,r){if(!(this instanceof n))return new n(t,e,i,r);this.list=r,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,i?(i.prev=this,this.next=i):this.next=null}t.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(t){if(t.list!==this)throw Error("removing node which does not belong to this list");var e=t.next,i=t.prev;return e&&(e.prev=i),i&&(i.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=i),t.list.length--,t.next=null,t.prev=null,t.list=null,e},r.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},r.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},r.prototype.push=function(){for(var t,e=0,i=arguments.length;e<i;e++)t=arguments[e],this.tail=new n(t,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length},r.prototype.unshift=function(){for(var t,e=0,i=arguments.length;e<i;e++)t=arguments[e],this.head=new n(t,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length},r.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},r.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},r.prototype.forEach=function(t,e){e=e||this;for(var i=this.head,r=0;null!==i;r++)t.call(e,i.value,r,this),i=i.next},r.prototype.forEachReverse=function(t,e){e=e||this;for(var i=this.tail,r=this.length-1;null!==i;r--)t.call(e,i.value,r,this),i=i.prev},r.prototype.get=function(t){for(var e=0,i=this.head;null!==i&&e<t;e++)i=i.next;if(e===t&&null!==i)return i.value},r.prototype.getReverse=function(t){for(var e=0,i=this.tail;null!==i&&e<t;e++)i=i.prev;if(e===t&&null!==i)return i.value},r.prototype.map=function(t,e){e=e||this;for(var i=new r,n=this.head;null!==n;)i.push(t.call(e,n.value,this)),n=n.next;return i},r.prototype.mapReverse=function(t,e){e=e||this;for(var i=new r,n=this.tail;null!==n;)i.push(t.call(e,n.value,this)),n=n.prev;return i},r.prototype.reduce=function(t,e){var i,r=this.head;if(arguments.length>1)i=e;else if(this.head)r=this.head.next,i=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var n=0;null!==r;n++)i=t(i,r.value,n),r=r.next;return i},r.prototype.reduceReverse=function(t,e){var i,r=this.tail;if(arguments.length>1)i=e;else if(this.tail)r=this.tail.prev,i=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;null!==r;n--)i=t(i,r.value,n),r=r.prev;return i},r.prototype.toArray=function(){for(var t=Array(this.length),e=0,i=this.head;null!==i;e++)t[e]=i.value,i=i.next;return t},r.prototype.toArrayReverse=function(){for(var t=Array(this.length),e=0,i=this.tail;null!==i;e++)t[e]=i.value,i=i.prev;return t},r.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var i=new r;if(e<t||e<0)return i;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,h=this.head;null!==h&&n<t;n++)h=h.next;for(;null!==h&&n<e;n++,h=h.next)i.push(h.value);return i},r.prototype.sliceReverse=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var i=new r;if(e<t||e<0)return i;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,h=this.tail;null!==h&&n>e;n--)h=h.prev;
1for(;null!==h&&n>t;n--,h=h.prev)i.push(h.value);return i},r.prototype.splice=function(t,e,...i){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var r=0,h=this.head;null!==h&&r<t;r++)h=h.next;for(var s=[],r=0;h&&r<e;r++)s.push(h.value),h=this.removeNode(h);null===h&&(h=this.tail),h!==this.head&&h!==this.tail&&(h=h.prev);for(var r=0;r<i.length;r++)h=function(t,e,i){var r=e===t.head?new n(i,null,e,t):new n(i,e,e.next,t);return null===r.next&&(t.tail=r),null===r.prev&&(t.head=r),t.length++,r}(this,h,i[r]);return s},r.prototype.reverse=function(){for(var t=this.head,e=this.tail,i=t;null!==i;i=i.prev){var r=i.prev;i.prev=i.next,i.next=r}return this.head=e,this.tail=t,this};try{i(49602)(r)}catch(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.