

[FIX] apk파일 생성 수정
@9bac5504eac5dc48bd32b70c1d823dabc2731e57
--- android/app/src/main/assets/index.android.bundle
+++ android/app/src/main/assets/index.android.bundle
... | ... | @@ -382,7 +382,7 @@ |
382 | 382 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthContext=void 0,e.default=function(u){var l=u.children,c=(0,n.useState)(null),s=(0,t.default)(c,2),p=s[0],h=s[1],v=(0,n.useState)(null),y=(0,t.default)(v,2),O=y[0],j=y[1],b=function(t){return JSON.parse(r(d[4]).Buffer.from(t.split('.')[1],'base64').toString())},P=function(t,n){fetch(r(d[5]).url+"/auth/login",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({id:t,password:n})}).then(function(t){return t.json()}).then(function(t){var n=t.result,u=t.token;if('success'===n){h(u);var f=b(u);j(f),console.log('login \uc131\uacf5'),console.log('userInfo',f)}else o.Alert.alert('\uc54c\ub9bc','\ub85c\uadf8\uc778 \uc815\ubcf4\ub97c \ub2e4\uc2dc \ud55c \ubc88 \ud655\uc778\ud574\uc8fc\uc138\uc694.')}).catch(function(t){console.error(t)})},k=n.default.useMemo(function(){return{onClickLogin:P,setUserInfo:j,userToken:p,userInfo:O}});return(0,r(d[6]).jsx)(f.Provider,{value:k,children:l})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,o&&o.set(t,f);return f})(r(d[2])),o=r(d[3]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}var f=(0,n.createContext)();e.AuthContext=f},376,[3,19,122,1,377,379,175]); |
383 | 383 |
__d(function(g,r,_i,_a,_m,_e,d){'use strict';function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var e='function'==typeof Symbol&&'function'==typeof Symbol.for?Symbol.for('nodejs.util.inspect.custom'):null;_e.Buffer=o,_e.SlowBuffer=function(t){+t!=t&&(t=0);return o.alloc(+t)},_e.INSPECT_MAX_BYTES=50;var n=2147483647;function i(t){if(t>n)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,n){if('number'==typeof t){if('string'==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return f(t,e,n)}function f(t,e,n){if('string'==typeof t)return a(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(nt(t,ArrayBuffer)||t&&nt(t.buffer,ArrayBuffer))return l(t,e,n);if('undefined'!=typeof SharedArrayBuffer&&(nt(t,SharedArrayBuffer)||t&&nt(t.buffer,SharedArrayBuffer)))return l(t,e,n);if('number'==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return o.from(i,e,n);var f=y(t);if(f)return f;if('undefined'!=typeof Symbol&&null!=Symbol.toPrimitive&&'function'==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]('string'),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if('number'!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function s(t,e,n){return u(t),t<=0?i(t):void 0!==e?'string'==typeof n?i(t).fill(e,n):i(t).fill(e):i(t)}function h(t){return u(t),i(t<0?0:0|w(t))}function a(t,e){if('string'==typeof e&&''!==e||(e='utf8'),!o.isEncoding(e))throw new TypeError('Unknown encoding: '+e);var n=0|v(t,e),f=i(n),u=f.write(t,e);return u!==n&&(f=f.slice(0,u)),f}function p(t){for(var e=t.length<0?0:0|w(t.length),n=i(e),o=0;o<e;o+=1)n[o]=255&t[o];return n}function c(t){if(nt(t,Uint8Array)){var e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return p(t)}function l(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(i,o.prototype),i}function y(t){if(o.isBuffer(t)){var e=0|w(t.length),n=i(e);return 0===n.length?n:(t.copy(n,0,0,e),n)}return void 0!==t.length?'number'!=typeof t.length||it(t.length)?i(0):p(t):'Buffer'===t.type&&Array.isArray(t.data)?p(t.data):void 0}function w(t){if(t>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+' bytes');return 0|t}function v(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||nt(t,ArrayBuffer))return t.byteLength;if('string'!=typeof t)throw new TypeError("The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type "+typeof t);var n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var f=!1;;)switch(e){case'ascii':case'latin1':case'binary':return n;case'utf8':case'utf-8':return K(t).length;case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return 2*n;case'hex':return n>>>1;case'base64':return rt(t).length;default:if(f)return i?-1:K(t).length;e=(''+e).toLowerCase(),f=!0}}function b(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return'';if((void 0===n||n>this.length)&&(n=this.length),n<=0)return'';if((n>>>=0)<=(e>>>=0))return'';for(t||(t='utf8');;)switch(t){case'hex':return P(this,e,n);case'utf8':case'utf-8':return L(this,e,n);case'ascii':return S(this,e,n);case'latin1':case'binary':return x(this,e,n);case'base64':return O(this,e,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return k(this,e,n);default:if(i)throw new TypeError('Unknown encoding: '+t);t=(t+'').toLowerCase(),i=!0}}function B(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function E(t,e,n,i,f){if(0===t.length)return-1;if('string'==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),it(n=+n)&&(n=f?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(f)return-1;n=t.length-1}else if(n<0){if(!f)return-1;n=0}if('string'==typeof e&&(e=o.from(e,i)),o.isBuffer(e))return 0===e.length?-1:m(t,e,n,i,f);if('number'==typeof e)return e&=255,'function'==typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,i,f);throw new TypeError('val must be string, number or Buffer')}function m(t,e,n,i,o){var f,u=1,s=t.length,h=e.length;if(void 0!==i&&('ucs2'===(i=String(i).toLowerCase())||'ucs-2'===i||'utf16le'===i||'utf-16le'===i)){if(t.length<2||e.length<2)return-1;u=2,s/=2,h/=2,n/=2}function a(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}if(o){var p=-1;for(f=n;f<s;f++)if(a(t,f)===a(e,-1===p?0:f-p)){if(-1===p&&(p=f),f-p+1===h)return p*u}else-1!==p&&(f-=f-p),p=-1}else for(n+h>s&&(n=s-h),f=n;f>=0;f--){for(var c=!0,l=0;l<h;l++)if(a(t,f+l)!==a(e,l)){c=!1;break}if(c)return f}return-1}function I(t,e,n,i){n=Number(n)||0;var o=t.length-n;i?(i=Number(i))>o&&(i=o):i=o;var f,u=e.length;for(i>u/2&&(i=u/2),f=0;f<i;++f){var s=parseInt(e.substr(2*f,2),16);if(it(s))return f;t[n+f]=s}return f}function U(t,e,n,i){return et(K(e,t.length-n),t,n,i)}function A(t,e,n,i){return et(Q(e),t,n,i)}function R(t,e,n,i){return et(rt(e),t,n,i)}function T(t,e,n,i){return et(tt(e,t.length-n),t,n,i)}function O(t,e,n){return 0===e&&n===t.length?r(d[2]).fromByteArray(t):r(d[2]).fromByteArray(t.slice(e,n))}function L(t,e,n){n=Math.min(t.length,n);for(var i=[],o=e;o<n;){var f=t[o],u=null,s=f>239?4:f>223?3:f>191?2:1;if(o+s<=n){var h=void 0,a=void 0,p=void 0,c=void 0;switch(s){case 1:f<128&&(u=f);break;case 2:128==(192&(h=t[o+1]))&&(c=(31&f)<<6|63&h)>127&&(u=c);break;case 3:h=t[o+1],a=t[o+2],128==(192&h)&&128==(192&a)&&(c=(15&f)<<12|(63&h)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:h=t[o+1],a=t[o+2],p=t[o+3],128==(192&h)&&128==(192&a)&&128==(192&p)&&(c=(15&f)<<18|(63&h)<<12|(63&a)<<6|63&p)>65535&&c<1114112&&(u=c)}}null===u?(u=65533,s=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=s}return _(i)}_e.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=(function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}})(),o.TYPED_ARRAY_SUPPORT||'undefined'==typeof console||'function'!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,'parent',{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,'offset',{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(t,e,n){return f(t,e,n)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(t,e,n){return s(t,e,n)},o.allocUnsafe=function(t){return h(t)},o.allocUnsafeSlow=function(t){return h(t)},o.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==o.prototype},o.compare=function(t,e){if(nt(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),nt(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,i=e.length,f=0,u=Math.min(n,i);f<u;++f)if(t[f]!==e[f]){n=t[f],i=e[f];break}return n<i?-1:i<n?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case'hex':case'utf8':case'utf-8':case'ascii':case'latin1':case'binary':case'base64':case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return!0;default:return!1}},o.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=o.allocUnsafe(e),f=0;for(n=0;n<t.length;++n){var u=t[n];if(nt(u,Uint8Array))f+u.length>i.length?(o.isBuffer(u)||(u=o.from(u)),u.copy(i,f)):Uint8Array.prototype.set.call(i,u,f);else{if(!o.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(i,f)}f+=u.length}return i},o.byteLength=v,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError('Buffer size must be a multiple of 16-bits');for(var e=0;e<t;e+=2)B(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError('Buffer size must be a multiple of 32-bits');for(var e=0;e<t;e+=4)B(this,e,e+3),B(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError('Buffer size must be a multiple of 64-bits');for(var e=0;e<t;e+=8)B(this,e,e+7),B(this,e+1,e+6),B(this,e+2,e+5),B(this,e+3,e+4);return this},o.prototype.toString=function(){var t=this.length;return 0===t?'':0===arguments.length?L(this,0,t):b.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError('Argument must be a Buffer');return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t='',e=_e.INSPECT_MAX_BYTES;return t=this.toString('hex',0,e).replace(/(.{2})/g,'$1 ').trim(),this.length>e&&(t+=' ... '),'<Buffer '+t+'>'},e&&(o.prototype[e]=o.prototype.inspect),o.prototype.compare=function(t,e,n,i,f){if(nt(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError("The \"target\" argument must be one of type Buffer or Uint8Array. Received type "+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===f&&(f=this.length),e<0||n>t.length||i<0||f>this.length)throw new RangeError('out of range index');if(i>=f&&e>=n)return 0;if(i>=f)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,f>>>=0,this===t)return 0;for(var u=f-i,s=n-e,h=Math.min(u,s),a=this.slice(i,f),p=t.slice(e,n),c=0;c<h;++c)if(a[c]!==p[c]){u=a[c],s=p[c];break}return u<s?-1:s<u?1:0},o.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},o.prototype.indexOf=function(t,e,n){return E(this,t,e,n,!0)},o.prototype.lastIndexOf=function(t,e,n){return E(this,t,e,n,!1)},o.prototype.write=function(t,e,n,i){if(void 0===e)i='utf8',n=this.length,e=0;else if(void 0===n&&'string'==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');e>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i='utf8')):(i=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError('Attempt to write outside buffer bounds');i||(i='utf8');for(var f=!1;;)switch(i){case'hex':return I(this,t,e,n);case'utf8':case'utf-8':return U(this,t,e,n);case'ascii':case'latin1':case'binary':return A(this,t,e,n);case'base64':return R(this,t,e,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return T(this,t,e,n);default:if(f)throw new TypeError('Unknown encoding: '+i);i=(''+i).toLowerCase(),f=!0}},o.prototype.toJSON=function(){return{type:'Buffer',data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function _(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);for(var n='',i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=M));return n}function S(t,e,n){var i='';n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(127&t[o]);return i}function x(t,e,n){var i='';n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(t[o]);return i}function P(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o='',f=e;f<n;++f)o+=ot[t[f]];return o}function k(t,e,n){for(var i=t.slice(e,n),o='',f=0;f<i.length-1;f+=2)o+=String.fromCharCode(i[f]+256*i[f+1]);return o}function C(t,e,n){if(t%1!=0||t<0)throw new RangeError('offset is not uint');if(t+e>n)throw new RangeError('Trying to access beyond buffer length')}function N(t,e,n,i,f,u){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>f||e<u)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError('Index out of range')}function F(t,e,n,i,o){X(e,i,o,t,n,7);var f=Number(e&BigInt(4294967295));t[n++]=f,f>>=8,t[n++]=f,f>>=8,t[n++]=f,f>>=8,t[n++]=f;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,n}function j(t,e,n,i,o){X(e,i,o,t,n,7);var f=Number(e&BigInt(4294967295));t[n+7]=f,f>>=8,t[n+6]=f,f>>=8,t[n+5]=f,f>>=8,t[n+4]=f;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=u,u>>=8,t[n+2]=u,u>>=8,t[n+1]=u,u>>=8,t[n]=u,n+8}function D(t,e,n,i,o,f){if(n+i>t.length)throw new RangeError('Index out of range');if(n<0)throw new RangeError('Index out of range')}function z(t,e,n,i,o){return e=+e,n>>>=0,o||D(t,0,n,4),r(d[3]).write(t,e,n,i,23,4),n+4}function Y(t,e,n,i,o){return e=+e,n>>>=0,o||D(t,0,n,8),r(d[3]).write(t,e,n,i,52,8),n+8}o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var i=this.subarray(t,e);return Object.setPrototypeOf(i,o.prototype),i},o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t],o=1,f=0;++f<e&&(o*=256);)i+=this[t+f]*o;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t+--e],o=1;e>0&&(o*=256);)i+=this[t+--e]*o;return i},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readBigUInt64LE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),o=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(i)+(BigInt(o)<<BigInt(32))}),o.prototype.readBigUInt64BE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],o=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n;return(BigInt(i)<<BigInt(32))+BigInt(o)}),o.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t],o=1,f=0;++f<e&&(o*=256);)i+=this[t+f]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},o.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=e,o=1,f=this[t+--i];i>0&&(o*=256);)f+=this[t+--i]*o;return f>=(o*=128)&&(f-=Math.pow(2,8*e)),f},o.prototype.readInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||C(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){t>>>=0,e||C(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readBigInt64LE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24))}),o.prototype.readBigInt64BE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n)}),o.prototype.readFloatLE=function(t,e){return t>>>=0,e||C(t,4,this.length),r(d[3]).read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||C(t,4,this.length),r(d[3]).read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||C(t,8,this.length),r(d[3]).read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||C(t,8,this.length),r(d[3]).read(this,t,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,n,i){(t=+t,e>>>=0,n>>>=0,i)||N(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,f=0;for(this[e]=255&t;++f<n&&(o*=256);)this[e+f]=t/o&255;return e+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(t,e,n,i){(t=+t,e>>>=0,n>>>=0,i)||N(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,f=1;for(this[e+o]=255&t;--o>=0&&(f*=256);)this[e+o]=t/f&255;return e+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigUInt64LE=ft(function(t){return F(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt('0xffffffffffffffff'))}),o.prototype.writeBigUInt64BE=ft(function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt('0xffffffffffffffff'))}),o.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var o=Math.pow(2,8*n-1);N(this,t,e,n,o-1,-o)}var f=0,u=1,s=0;for(this[e]=255&t;++f<n&&(u*=256);)t<0&&0===s&&0!==this[e+f-1]&&(s=1),this[e+f]=(t/u>>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var o=Math.pow(2,8*n-1);N(this,t,e,n,o-1,-o)}var f=n-1,u=1,s=0;for(this[e+f]=255&t;--f>=0&&(u*=256);)t<0&&0===s&&0!==this[e+f+1]&&(s=1),this[e+f]=(t/u>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigInt64LE=ft(function(t){return F(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt('0x8000000000000000'),BigInt('0x7fffffffffffffff'))}),o.prototype.writeBigInt64BE=ft(function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt('0x8000000000000000'),BigInt('0x7fffffffffffffff'))}),o.prototype.writeFloatLE=function(t,e,n){return z(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return z(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,i){if(!o.isBuffer(t))throw new TypeError('argument should be a Buffer');if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError('targetStart out of bounds');if(n<0||n>=this.length)throw new RangeError('Index out of range');if(i<0)throw new RangeError('sourceEnd out of bounds');i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var f=i-n;return this===t&&'function'==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),e),f},o.prototype.fill=function(t,e,n,i){if('string'==typeof t){if('string'==typeof e?(i=e,e=0,n=this.length):'string'==typeof n&&(i=n,n=this.length),void 0!==i&&'string'!=typeof i)throw new TypeError('encoding must be a string');if('string'==typeof i&&!o.isEncoding(i))throw new TypeError('Unknown encoding: '+i);if(1===t.length){var f=t.charCodeAt(0);('utf8'===i&&f<128||'latin1'===i)&&(t=f)}}else'number'==typeof t?t&=255:'boolean'==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError('Out of range index');if(n<=e)return this;var u;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),'number'==typeof t)for(u=e;u<n;++u)this[u]=t;else{var s=o.isBuffer(t)?t:o.from(t,i),h=s.length;if(0===h)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=s[u%h]}return this};var G={};function V(e,n,i){G[e]=(function(i){r(d[4])(s,i);var o,f,u=(o=s,f=t(),function(){var t,e=r(d[0])(o);if(f){var n=r(d[0])(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return r(d[1])(this,t)});function s(){var t;return r(d[5])(this,s),t=u.call(this),Object.defineProperty(r(d[6])(t),'message',{value:n.apply(r(d[6])(t),arguments),writable:!0,configurable:!0}),t.name=t.name+" ["+e+"]",t.stack,delete t.name,t}return r(d[7])(s,[{key:"code",get:function(){return e},set:function(t){Object.defineProperty(this,'code',{configurable:!0,enumerable:!0,value:t,writable:!0})}},{key:"toString",value:function(){return this.name+" ["+e+"]: "+this.message}}]),s})(i)}function q(t){for(var e='',n=t.length,i='-'===t[0]?1:0;n>=i+4;n-=3)e="_"+t.slice(n-3,n)+e;return""+t.slice(0,n)+e}function W(t,e,n){J(e,'offset'),void 0!==t[e]&&void 0!==t[e+n]||Z(e,t.length-(n+1))}function X(t,e,n,i,o,f){if(t>n||t<e){var u,s='bigint'==typeof e?'n':'';throw u=f>3?0===e||e===BigInt(0)?">= 0"+s+" and < 2"+s+" ** "+8*(f+1)+s:">= -(2"+s+" ** "+(8*(f+1)-1)+s+") and < 2 ** "+(8*(f+1)-1)+s:">= "+e+s+" and <= "+n+s,new G.ERR_OUT_OF_RANGE('value',u,t)}W(i,o,f)}function J(t,e){if('number'!=typeof t)throw new G.ERR_INVALID_ARG_TYPE(e,'number',t)}function Z(t,e,n){if(Math.floor(t)!==t)throw J(t,n),new G.ERR_OUT_OF_RANGE(n||'offset','an integer',t);if(e<0)throw new G.ERR_BUFFER_OUT_OF_BOUNDS;throw new G.ERR_OUT_OF_RANGE(n||'offset',">= "+(n?1:0)+" and <= "+e,t)}V('ERR_BUFFER_OUT_OF_BOUNDS',function(t){return t?t+" is outside of buffer bounds":'Attempt to access memory outside buffer bounds'},RangeError),V('ERR_INVALID_ARG_TYPE',function(t,e){return"The \""+t+"\" argument must be of type number. Received type "+typeof e},TypeError),V('ERR_OUT_OF_RANGE',function(t,e,n){var i="The value of \""+t+"\" is out of range.",o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=q(String(n)):'bigint'==typeof n&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=q(o)),o+='n'),i+=" It must be "+e+". Received "+o},RangeError);var $=/[^+/0-9A-Za-z-_]/g;function H(t){if((t=(t=t.split('=')[0]).trim().replace($,'')).length<2)return'';for(;t.length%4!=0;)t+='=';return t}function K(t,e){var n;e=e||1/0;for(var i=t.length,o=null,f=[],u=0;u<i;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}if(u+1===i){(e-=3)>-1&&f.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&f.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error('Invalid code point');if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return f}function Q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function tt(t,e){for(var n,i,o,f=[],u=0;u<t.length&&!((e-=2)<0);++u)i=(n=t.charCodeAt(u))>>8,o=n%256,f.push(o),f.push(i);return f}function rt(t){return r(d[2]).toByteArray(H(t))}function et(t,e,n,i){var o;for(o=0;o<i&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function nt(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function it(t){return t!=t}var ot=(function(){for(var t=new Array(256),e=0;e<16;++e)for(var n=16*e,i=0;i<16;++i)t[n+i]="0123456789abcdef"[e]+"0123456789abcdef"[i];return t})();function ft(t){return'undefined'==typeof BigInt?ut:t}function ut(){throw new Error('BigInt not supported')}},377,[47,48,86,378,51,12,50,13]); |
384 | 384 |
__d(function(g,r,_i,a,_m,_e,_d){_e.read=function(o,t,h,M,f){var w,p,i=8*f-M-1,n=(1<<i)-1,N=n>>1,e=-7,u=h?f-1:0,s=h?-1:1,c=o[t+u];for(u+=s,w=c&(1<<-e)-1,c>>=-e,e+=i;e>0;w=256*w+o[t+u],u+=s,e-=8);for(p=w&(1<<-e)-1,w>>=-e,e+=M;e>0;p=256*p+o[t+u],u+=s,e-=8);if(0===w)w=1-N;else{if(w===n)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,M),w-=N}return(c?-1:1)*p*Math.pow(2,w-M)},_e.write=function(o,t,h,M,f,w){var p,i,n,N=8*w-f-1,e=(1<<N)-1,u=e>>1,s=23===f?Math.pow(2,-24)-Math.pow(2,-77):0,c=M?0:w-1,l=M?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,p=e):(p=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-p))<1&&(p--,n*=2),(t+=p+u>=1?s/n:s*Math.pow(2,1-u))*n>=2&&(p++,n/=2),p+u>=e?(i=0,p=e):p+u>=1?(i=(t*n-1)*Math.pow(2,f),p+=u):(i=t*Math.pow(2,u-1)*Math.pow(2,f),p=0));f>=8;o[h+c]=255&i,c+=l,i/=256,f-=8);for(p=p<<f|i,N+=f;N>0;o[h+c]=255&p,c+=l,p/=256,N-=8);o[h+c-l]|=128*d}},378,[]); |
385 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.url=void 0;e.url='http://192.168.0.138:8080'},379,[]); |
|
385 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.url=void 0;e.url='http://165.229.169.123:8080'},379,[]); |
|
386 | 386 |
__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MapContext=void 0,_e.default=function(e){var o=e.children,i=(0,n.useState)(),f=(0,t.default)(i,2),c=f[0],h=f[1],p=(0,n.useState)(null),v=(0,t.default)(p,2),y=v[0],M=v[1],P=(0,n.useState)(!1),S=(0,t.default)(P,2),O=(S[0],S[1],(0,n.useState)()),_=(0,t.default)(O,2),j=_[0],I=_[1],b=(0,n.useState)({latitude:0,longitude:0}),w=(0,t.default)(b,2),C=w[0],x=w[1],A=(0,n.useState)([]),N=(0,t.default)(A,2),k=N[0],E=N[1],T=(0,n.useState)(),Q=(0,t.default)(T,2),W=Q[0],q=Q[1];function D(t,e,n,u){if(t==n&&e==u)return 0;var o=Math.PI*t/180,i=Math.PI*n/180,l=e-u,s=Math.PI*l/180,f=Math.sin(o)*Math.sin(i)+Math.cos(o)*Math.cos(i)*Math.cos(s);return f>1&&(f=1),f=(f=60*(f=180*(f=Math.acos(f))/Math.PI)*1.1515*1.609344*1e3)<100?10*Math.round(f/10):100*Math.round(f/100)}(0,n.useEffect)(function(){s().then(function(t){console.log({result:t}),'granted'===t&&u.default.watchPosition(function(t){h(t.coords)},function(t){console.log(t)},{fastestInterval:1e3})})},[]);var F=function(t){M(t);var e=c.latitude,n=c.longitude;return fetch(r(d[6]).url+"/trip/trip2",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({dest1_x:e,dest1_y:n,path_end:t})}).then(function(t){return t.json()}).then(function(t){var e=t.nodes,n=t.start_point,u=t.end_point,o={};o.latitude=u[0],o.longitude=u[1],x(o);var i=e,l=i.map(function(t){var e={};return e.latitude=t[0],e.longitude=t[1],e});E(l);var s={};s.latitude=n[0],s.longitude=n[1],I(s);for(var f=[],c=0;c<l.length-1;c++){var h=D(l[c].latitude,l[c].longitude,l[c+1].latitude,l[c+1].longitude);f.push(h)}var p=f.reduce(function(t,e){return t+e},0),v=p/1e3;return q(v),l})},z=n.default.useMemo(function(){return{onQuery:F,location:c,searchQuery:y,setSearchQuery:M,startPoint:j,endPoint:C,nodes:k,setNodes:E,km:W}});return(0,r(d[7]).jsx)(l.Provider,{value:z,children:o})};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=o?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(u,l,s):u[l]=t[l]}u.default=t,n&&n.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[5]);function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}var l=(0,n.createContext)();function s(){return f.apply(this,arguments)}function f(){return(f=(0,e.default)(function*(){try{if('ios'===o.Platform.OS)return yield u.default.requestAuthorization('always');if('android'===o.Platform.OS)return yield o.PermissionsAndroid.request(o.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION)}catch(t){console.log(t)}})).apply(this,arguments)}_e.MapContext=l},380,[3,19,265,122,381,1,379,175]); |
387 | 387 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PositionError=void 0;var E=r(d[0])(r(d[1])),I=Object.freeze({PERMISSION_DENIED:1,POSITION_UNAVAILABLE:2,TIMEOUT:3,PLAY_SERVICE_NOT_AVAILABLE:4,SETTINGS_NOT_SATISFIED:5,INTERNAL_ERROR:-1});e.PositionError=I;var _=E.default;e.default=_},381,[3,382]); |
388 | 388 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0])(r(d[1])),t=r(d[2]),n=t.NativeModules.RNFusedLocation,s=new t.NativeEventEmitter(n),u=function(){},l=[],v=!1,c={setRNConfiguration:function(o){},requestAuthorization:(function(){var s=(0,o.default)(function*(o){return'ios'!==t.Platform.OS?Promise.reject('requestAuthorization is only for iOS'):(o||console.error('authorizationLevel must be provided'),n.requestAuthorization(o))});return function(o){return s.apply(this,arguments)}})(),getCurrentPosition:function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||console.error('Must provide a success callback'),n.getCurrentPosition(s,o,t)},watchPosition:function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||console.error('Must provide a success callback'),v||(n.startObserving(u),v=!0);var c=l.length;return l.push([s.addListener('geolocationDidChange',o),t?s.addListener('geolocationError',t):null]),c},clearWatch:function(o){var t=l[o];if(t){t[0].remove();var n=t[1];n&&n.remove(),l[o]=void 0;for(var s=!0,u=0;u<l.length;u+=1)l[u]&&(s=!1);s&&c.stopObserving()}},stopObserving:function(){if(v){n.stopObserving(),v=!1;for(var o=0;o<l.length;o+=1){var t=l[o];if(t){console.warn('Called stopObserving with existing subscriptions.'),t[0].remove();var s=t[1];s&&s.remove()}}l=[]}}},f=c;e.default=f},382,[3,265,1]); |
... | ... | @@ -1023,7 +1023,7 @@ |
1023 | 1023 |
__d(function(g,r,i,a,m,_e,d){'use strict';var e=r(d[0]).NativeModules.RNFSManager,n=new(0,r(d[0]).NativeEventEmitter)(e),o=e.RNFSFileTypeRegular,t=e.RNFSFileTypeDirectory,s=0,l=function(){return s+=1},c=function(e){return e.startsWith('file://')?e.slice(7):e};function u(e,n,o){var t={encoding:'utf8'};return n&&('string'==typeof n?t.encoding=n:'object'==typeof n&&(t=n)),o(c(e)).then(function(e){var n;if('utf8'===t.encoding)n=r(d[1]).decode(r(d[2]).decode(e));else if('ascii'===t.encoding)n=r(d[2]).decode(e);else{if('base64'!==t.encoding)throw new Error('Invalid encoding type "'+String(t.encoding)+'"');n=e}return n})}function f(e,n){return n(c(e)).then(function(e){return e.map(function(e){return{ctime:e.ctime&&new Date(1e3*e.ctime)||null,mtime:e.mtime&&new Date(1e3*e.mtime)||null,name:e.name,path:e.path,size:e.size,isFile:function(){return e.type===o},isDirectory:function(){return e.type===t}}})})}var p={mkdir:function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.mkdir(c(n),o).then(function(){})},moveFile:function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.moveFile(c(n),c(o),t).then(function(){})},copyFile:function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.copyFile(c(n),c(o),t).then(function(){})},pathForBundle:function(n){return e.pathForBundle(n)},pathForGroup:function(n){return e.pathForGroup(n)},getFSInfo:function(){return e.getFSInfo()},getAllExternalFilesDirs:function(){return e.getAllExternalFilesDirs()},unlink:function(n){return e.unlink(c(n)).then(function(){})},exists:function(n){return e.exists(c(n))},stopDownload:function(n){e.stopDownload(n)},resumeDownload:function(n){e.resumeDownload(n)},isResumable:function(n){return e.isResumable(n)},stopUpload:function(n){e.stopUpload(n)},completeHandlerIOS:function(n){return e.completeHandlerIOS(n)},readDir:function(n){return f(n,e.readDir)},readDirAssets:function(n){if(!e.readDirAssets)throw new Error('readDirAssets is not available on this platform');return f(n,e.readDirAssets)},existsAssets:function(n){if(!e.existsAssets)throw new Error('existsAssets is not available on this platform');return e.existsAssets(n)},existsRes:function(n){if(!e.existsRes)throw new Error('existsRes is not available on this platform');return e.existsRes(n)},readdir:function(e){return p.readDir(c(e)).then(function(e){return e.map(function(e){return e.name})})},setReadable:function(n,o,t){return e.setReadable(n,o,t).then(function(e){return e})},stat:function(n){return e.stat(c(n)).then(function(e){return{path:n,ctime:new Date(1e3*e.ctime),mtime:new Date(1e3*e.mtime),size:e.size,mode:e.mode,originalFilepath:e.originalFilepath,isFile:function(){return e.type===o},isDirectory:function(){return e.type===t}}})},readFile:function(n,o){return u(n,o,e.readFile)},read:function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3?arguments[3]:void 0,l={encoding:'utf8'};return s&&('string'==typeof s?l.encoding=s:'object'==typeof s&&(l=s)),e.read(c(n),o,t).then(function(e){var n;if('utf8'===l.encoding)n=r(d[1]).decode(r(d[2]).decode(e));else if('ascii'===l.encoding)n=r(d[2]).decode(e);else{if('base64'!==l.encoding)throw new Error('Invalid encoding type "'+String(l.encoding)+'"');n=e}return n})},readFileAssets:function(n,o){if(!e.readFileAssets)throw new Error('readFileAssets is not available on this platform');return u(n,o,e.readFileAssets)},readFileRes:function(n,o){if(!e.readFileRes)throw new Error('readFileRes is not available on this platform');return u(n,o,e.readFileRes)},hash:function(n,o){return e.hash(c(n),o)},copyFileAssets:function(n,o){if(!e.copyFileAssets)throw new Error('copyFileAssets is not available on this platform');return e.copyFileAssets(c(n),c(o)).then(function(){})},copyFileRes:function(n,o){if(!e.copyFileRes)throw new Error('copyFileRes is not available on this platform');return e.copyFileRes(n,c(o)).then(function(){})},copyAssetsFileIOS:function(n,o,t,s){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:'contain';return e.copyAssetsFileIOS(n,o,t,s,l,c,u)},copyAssetsVideoIOS:function(n,o){return e.copyAssetsVideoIOS(n,o)},writeFile:function(n,o,t){var s,l={encoding:'utf8'};if(t&&('string'==typeof t?l.encoding=t:'object'==typeof t&&(l=Object.assign({},l,t))),'utf8'===l.encoding)s=r(d[2]).encode(r(d[1]).encode(o));else if('ascii'===l.encoding)s=r(d[2]).encode(o);else{if('base64'!==l.encoding)throw new Error('Invalid encoding type "'+l.encoding+'"');s=o}return e.writeFile(c(n),s,l).then(function(){})},appendFile:function(n,o,t){var s,l={encoding:'utf8'};if(t&&('string'==typeof t?l.encoding=t:'object'==typeof t&&(l=t)),'utf8'===l.encoding)s=r(d[2]).encode(r(d[1]).encode(o));else if('ascii'===l.encoding)s=r(d[2]).encode(o);else{if('base64'!==l.encoding)throw new Error('Invalid encoding type "'+l.encoding+'"');s=o}return e.appendFile(c(n),s)},write:function(n,o,t,s){var l,u={encoding:'utf8'};if(s&&('string'==typeof s?u.encoding=s:'object'==typeof s&&(u=s)),'utf8'===u.encoding)l=r(d[2]).encode(r(d[1]).encode(o));else if('ascii'===u.encoding)l=r(d[2]).encode(o);else{if('base64'!==u.encoding)throw new Error('Invalid encoding type "'+u.encoding+'"');l=o}return void 0===t&&(t=-1),e.write(c(n),l,t).then(function(){})},downloadFile:function(o){if('object'!=typeof o)throw new Error('downloadFile: Invalid value for argument `options`');if('string'!=typeof o.fromUrl)throw new Error('downloadFile: Invalid value for property `fromUrl`');if('string'!=typeof o.toFile)throw new Error('downloadFile: Invalid value for property `toFile`');if(o.headers&&'object'!=typeof o.headers)throw new Error('downloadFile: Invalid value for property `headers`');if(o.background&&'boolean'!=typeof o.background)throw new Error('downloadFile: Invalid value for property `background`');if(o.progressDivider&&'number'!=typeof o.progressDivider)throw new Error('downloadFile: Invalid value for property `progressDivider`');if(o.progressInterval&&'number'!=typeof o.progressInterval)throw new Error('downloadFile: Invalid value for property `progressInterval`');if(o.readTimeout&&'number'!=typeof o.readTimeout)throw new Error('downloadFile: Invalid value for property `readTimeout`');if(o.connectionTimeout&&'number'!=typeof o.connectionTimeout)throw new Error('downloadFile: Invalid value for property `connectionTimeout`');if(o.backgroundTimeout&&'number'!=typeof o.backgroundTimeout)throw new Error('downloadFile: Invalid value for property `backgroundTimeout`');var t=l(),s=[];o.begin&&s.push(n.addListener('DownloadBegin',function(e){e.jobId===t&&o.begin(e)})),o.progress&&s.push(n.addListener('DownloadProgress',function(e){e.jobId===t&&o.progress(e)})),o.resumable&&s.push(n.addListener('DownloadResumable',function(e){e.jobId===t&&o.resumable(e)}));var u={jobId:t,fromUrl:o.fromUrl,toFile:c(o.toFile),headers:o.headers||{},background:!!o.background,progressDivider:o.progressDivider||0,progressInterval:o.progressInterval||0,readTimeout:o.readTimeout||15e3,connectionTimeout:o.connectionTimeout||5e3,backgroundTimeout:o.backgroundTimeout||36e5,hasBeginCallback:o.begin instanceof Function,hasProgressCallback:o.progress instanceof Function,hasResumableCallback:o.resumable instanceof Function};return{jobId:t,promise:e.downloadFile(u).then(function(e){return s.forEach(function(e){return e.remove()}),e}).catch(function(e){return Promise.reject(e)})}},uploadFiles:function(o){if(!e.uploadFiles)return{jobId:-1,promise:Promise.reject(new Error('`uploadFiles` is unsupported on this platform'))};var t=l(),s=[];if('object'!=typeof o)throw new Error('uploadFiles: Invalid value for argument `options`');if('string'!=typeof o.toUrl)throw new Error('uploadFiles: Invalid value for property `toUrl`');if(!Array.isArray(o.files))throw new Error('uploadFiles: Invalid value for property `files`');if(o.headers&&'object'!=typeof o.headers)throw new Error('uploadFiles: Invalid value for property `headers`');if(o.fields&&'object'!=typeof o.fields)throw new Error('uploadFiles: Invalid value for property `fields`');if(o.method&&'string'!=typeof o.method)throw new Error('uploadFiles: Invalid value for property `method`');o.begin?s.push(n.addListener('UploadBegin',o.begin)):o.beginCallback&&s.push(n.addListener('UploadBegin',o.beginCallback)),o.progress?s.push(n.addListener('UploadProgress',o.progress)):o.progressCallback&&s.push(n.addListener('UploadProgress',o.progressCallback));var c={jobId:t,toUrl:o.toUrl,files:o.files,binaryStreamOnly:o.binaryStreamOnly||!1,headers:o.headers||{},fields:o.fields||{},method:o.method||'POST',hasBeginCallback:o.begin instanceof Function||o.beginCallback instanceof Function,hasProgressCallback:o.progress instanceof Function||o.progressCallback instanceof Function};return{jobId:t,promise:e.uploadFiles(c).then(function(e){return s.forEach(function(e){return e.remove()}),e})}},touch:function(n,o,t){if(t&&!(t instanceof Date))throw new Error('touch: Invalid value for argument `ctime`');if(o&&!(o instanceof Date))throw new Error('touch: Invalid value for argument `mtime`');return e.touch(c(n),o&&o.getTime(),0)},scanFile:function(n){return e.scanFile(n)},MainBundlePath:e.RNFSMainBundlePath,CachesDirectoryPath:e.RNFSCachesDirectoryPath,ExternalCachesDirectoryPath:e.RNFSExternalCachesDirectoryPath,DocumentDirectoryPath:e.RNFSDocumentDirectoryPath,DownloadDirectoryPath:e.RNFSDownloadDirectoryPath,ExternalDirectoryPath:e.RNFSExternalDirectoryPath,ExternalStorageDirectoryPath:e.RNFSExternalStorageDirectoryPath,TemporaryDirectoryPath:e.RNFSTemporaryDirectoryPath,LibraryDirectoryPath:e.RNFSLibraryDirectoryPath,PicturesDirectoryPath:e.RNFSPicturesDirectoryPath,FileProtectionKeys:e.RNFSFileProtectionKeys};m.exports=p},1017,[1,1018,1019]); |
1024 | 1024 |
__d(function(g,r,i,a,m,e,d){!(function(n){var t,o,u,f=String.fromCharCode;function c(n){for(var t,o,u=[],f=0,c=n.length;f<c;)(t=n.charCodeAt(f++))>=55296&&t<=56319&&f<c?56320==(64512&(o=n.charCodeAt(f++)))?u.push(((1023&t)<<10)+(1023&o)+65536):(u.push(t),f--):u.push(t);return u}function h(n){for(var t,o=n.length,u=-1,c='';++u<o;)(t=n[u])>65535&&(c+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),c+=f(t);return c}function v(n){if(n>=55296&&n<=57343)throw Error('Lone surrogate U+'+n.toString(16).toUpperCase()+' is not a scalar value')}function l(n,t){return f(n>>t&63|128)}function s(n){if(0==(4294967168&n))return f(n);var t='';return 0==(4294965248&n)?t=f(n>>6&31|192):0==(4294901760&n)?(v(n),t=f(n>>12&15|224),t+=l(n,6)):0==(4292870144&n)&&(t=f(n>>18&7|240),t+=l(n,12),t+=l(n,6)),t+=f(63&n|128)}function w(){if(u>=o)throw Error('Invalid byte index');var n=255&t[u];if(u++,128==(192&n))return 63&n;throw Error('Invalid continuation byte')}function E(){var n,f;if(u>o)throw Error('Invalid byte index');if(u==o)return!1;if(n=255&t[u],u++,0==(128&n))return n;if(192==(224&n)){if((f=(31&n)<<6|w())>=128)return f;throw Error('Invalid continuation byte')}if(224==(240&n)){if((f=(15&n)<<12|w()<<6|w())>=2048)return v(f),f;throw Error('Invalid continuation byte')}if(240==(248&n)&&(f=(7&n)<<18|w()<<12|w()<<6|w())>=65536&&f<=1114111)return f;throw Error('Invalid UTF-8 detected')}n.version='3.0.0',n.encode=function(n){for(var t=c(n),o=t.length,u=-1,f='';++u<o;)f+=s(t[u]);return f},n.decode=function(n){t=c(n),o=t.length,u=0;for(var f,v=[];!1!==(f=E());)v.push(f);return h(v)}})(void 0===e?this.utf8={}:e)},1018,[]); |
1025 | 1025 |
__d(function(g,r,i,_a,m,e,_d){!(function(t){var n='object'==typeof e&&e,o='object'==typeof m&&m&&m.exports==n&&m,a='object'==typeof g&&g;a.global!==a&&a.window!==a||(t=a);var c=function(t){this.message=t};(c.prototype=new Error).name='InvalidCharacterError';var h=function(t){throw new c(t)},d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',f=/[\t\n\f\r ]/g,s={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&h("The string to be encoded contains characters outside of the Latin1 range.");for(var n,o,a,c,f=t.length%3,s='',A=-1,l=t.length-f;++A<l;)n=t.charCodeAt(A)<<16,o=t.charCodeAt(++A)<<8,a=t.charCodeAt(++A),s+=d.charAt((c=n+o+a)>>18&63)+d.charAt(c>>12&63)+d.charAt(c>>6&63)+d.charAt(63&c);return 2==f?(n=t.charCodeAt(A)<<8,o=t.charCodeAt(++A),s+=d.charAt((c=n+o)>>10)+d.charAt(c>>4&63)+d.charAt(c<<2&63)+'='):1==f&&(c=t.charCodeAt(A),s+=d.charAt(c>>2)+d.charAt(c<<4&63)+'=='),s},decode:function(t){var n=(t=String(t).replace(f,'')).length;n%4==0&&(n=(t=t.replace(/==?$/,'')).length),(n%4==1||/[^+a-zA-Z0-9/]/.test(t))&&h('Invalid character: the string to be decoded is not correctly encoded.');for(var o,a,c=0,s='',A=-1;++A<n;)a=d.indexOf(t.charAt(A)),o=c%4?64*o+a:a,c++%4&&(s+=String.fromCharCode(255&o>>(-2*c&6)));return s},version:'0.1.0'};if('function'==typeof define&&'object'==typeof define.amd&&define.amd)define(function(){return s});else if(n&&!n.nodeType)if(o)o.exports=s;else for(var A in s)s.hasOwnProperty(A)&&(n[A]=s[A]);else t.base64=s})(this)},1019,[]); |
1026 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(u,c,s):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}var u=function(l){var u=l.isVisible,f=l.toggleModal,c=l.alertTitle,s=l.alertMessage;return(0,t.useEffect)(function(){if(u){var t=setTimeout(function(){f()},2e3);return function(){return clearTimeout(t)}}},[u,f]),(0,r(d[4]).jsx)(o.default,{isVisible:u,style:{position:'absolute',bottom:40,left:0,width:'90%',borderColor:r(d[5]).RED,borderWidth:2,borderRadius:10,overflow:'hidden'},backdropOpacity:0,children:(0,r(d[4]).jsxs)(n.View,{style:{backgroundColor:r(d[5]).WHITE,padding:22,borderRadius:10,alignItems:'center',justifyContent:'center'},children:[(0,r(d[4]).jsx)(n.Text,{style:{color:r(d[5]).RED,fontSize:20},children:c}),(0,r(d[4]).jsxs)(n.Text,{style:{color:r(d[5]).BLACK,fontSize:15,marginTop:5},children:[s," \uc548\uc804\uc6b4\ud589\ud558\uc138\uc694."]})]})})};e.default=u},1020,[122,1,3,1021,175,387]); |
|
1026 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(u,f,s):u[f]=t[f]}u.default=t,o&&o.set(t,u);return u})(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}var u=function(l){var u=l.isVisible,c=l.toggleModal,f=l.alertTitle,s=l.alertMessage;return(0,t.useEffect)(function(){if(u){var t=setTimeout(function(){c()},2e3);return function(){return clearTimeout(t)}}},[u,c]),(0,r(d[4]).jsx)(o.default,{isVisible:u,style:{width:'90%',justifyContent:'center',alignItems:'center'},backdropOpacity:0,children:(0,r(d[4]).jsxs)(n.View,{style:{borderColor:r(d[5]).RED,borderWidth:2,borderRadius:10,backgroundColor:r(d[5]).WHITE,padding:22,borderRadius:10,alignItems:'center',justifyContent:'center'},children:[(0,r(d[4]).jsx)(n.Text,{style:{color:r(d[5]).RED,fontSize:20},children:f}),(0,r(d[4]).jsxs)(n.Text,{style:{color:r(d[5]).BLACK,fontSize:15,marginTop:5,textAlign:'center'},children:[s,'\n',"\uc548\uc804\uc6b4\ud589\ud558\uc138\uc694."]})]})})};e.default=u},1020,[122,1,3,1021,175,387]); |
|
1027 | 1027 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReactNativeModal",{enumerable:!0,get:function(){return r(d[0]).ReactNativeModal}}),e.default=void 0,e.default=r(d[0]).ReactNativeModal},1021,[1022]); |
1028 | 1028 |
__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.ReactNativeModal=void 0;var e=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),p=r(d[0])(r(d[6])),c=S(r(d[7])),l=r(d[8]),u=S(r(d[9])),f=S(r(d[10])),h=r(d[0])(r(d[11])),w=["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","coverScreen","hasBackdrop","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","customBackdrop","children","isVisible","onModalShow","onBackButtonPress","useNativeDriver","propagateSwipe","style"],v=["testID"];function b(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(b=function(e){return e?t:n})(e)}function S(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b(n);if(t&&t.has(e))return t.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in e)if("default"!==p&&Object.prototype.hasOwnProperty.call(e,p)){var c=s?Object.getOwnPropertyDescriptor(e,p):null;c&&(c.get||c.set)?Object.defineProperty(o,p,c):o[p]=e[p]}return o.default=e,t&&t.set(e,o),o}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(0,r(d[12]).initializeAnimations)();var D=function(e){return{animationIn:e.animationIn,animationOut:e.animationOut}},y=(function(u){(0,o.default)(O,u);var b,S,y=(b=O,S=k(),function(){var e,n=(0,p.default)(b);if(S){var t=(0,p.default)(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function O(e){var t;(0,n.default)(this,O),(t=y.call(this,e)).state={showContent:!0,isVisible:!1,deviceWidth:l.Dimensions.get('window').width,deviceHeight:l.Dimensions.get('window').height,isSwipeable:!!t.props.swipeDirection,pan:null},t.isTransitioning=!1,t.inSwipeClosingState=!1,t.currentSwipingDirection=null,t.panResponder=null,t.didUpdateDimensionsEmitter=null,t.interactionHandle=null,t.getDeviceHeight=function(){return t.props.deviceHeight||t.state.deviceHeight},t.getDeviceWidth=function(){return t.props.deviceWidth||t.state.deviceWidth},t.onBackButtonPress=function(){return!(!t.props.onBackButtonPress||!t.props.isVisible)&&(t.props.onBackButtonPress(),!0)},t.shouldPropagateSwipe=function(e,n){return'function'==typeof t.props.propagateSwipe?t.props.propagateSwipe(e,n):t.props.propagateSwipe},t.buildPanResponder=function(){var e=null;t.panResponder=l.PanResponder.create({onMoveShouldSetPanResponder:function(n,o){if(!t.shouldPropagateSwipe(n,o)){var s=Math.abs(o.dx)>=t.props.panResponderThreshold||Math.abs(o.dy)>=t.props.panResponderThreshold;return s&&t.props.onSwipeStart&&t.props.onSwipeStart(o),t.currentSwipingDirection=t.getSwipingDirection(o),e=t.createAnimationEventForSwipe(),s}return!1},onStartShouldSetPanResponder:function(e,n){return!(e._dispatchInstances&&e._dispatchInstances.some(function(e){return/scrollview|flatlist/i.test(e.type)})&&t.shouldPropagateSwipe(e,n)&&t.props.scrollTo&&t.props.scrollOffset>0)&&(t.props.onSwipeStart&&t.props.onSwipeStart(n),t.currentSwipingDirection=null,!0)},onPanResponderMove:function(n,o){if(!t.currentSwipingDirection){if(0===o.dx&&0===o.dy)return;t.currentSwipingDirection=t.getSwipingDirection(o),e=t.createAnimationEventForSwipe()}if(t.isSwipeDirectionAllowed(o)){var s=1-t.calcDistancePercentage(o);t.backdropRef&&t.backdropRef.transitionTo({opacity:t.props.backdropOpacity*s}),e(n,o),t.props.onSwipeMove&&t.props.onSwipeMove(s,o)}else if(t.props.scrollTo)if(t.props.scrollHorizontal){var p=-o.dx;p>t.props.scrollOffsetMax&&(p-=(p-t.props.scrollOffsetMax)/2),t.props.scrollTo({x:p,animated:!1})}else{var c=-o.dy;c>t.props.scrollOffsetMax&&(c-=(c-t.props.scrollOffsetMax)/2),t.props.scrollTo({y:c,animated:!1})}},onPanResponderRelease:function(e,n){if(t.getAccDistancePerDirection(n)>t.props.swipeThreshold&&t.isSwipeDirectionAllowed(n)){if(t.props.onSwipeComplete)return t.inSwipeClosingState=!0,void t.props.onSwipeComplete({swipingDirection:t.getSwipingDirection(n)},n);if(t.props.onSwipe)return t.inSwipeClosingState=!0,void t.props.onSwipe()}t.props.onSwipeCancel&&t.props.onSwipeCancel(n),t.backdropRef&&t.backdropRef.transitionTo({opacity:t.props.backdropOpacity}),l.Animated.spring(t.state.pan,{toValue:{x:0,y:0},bounciness:0,useNativeDriver:!1}).start(),t.props.scrollTo&&t.props.scrollOffset>t.props.scrollOffsetMax&&t.props.scrollTo({y:t.props.scrollOffsetMax,animated:!0})}})},t.getAccDistancePerDirection=function(e){switch(t.currentSwipingDirection){case'up':return-e.dy;case'down':return e.dy;case'right':return e.dx;case'left':return-e.dx;default:return 0}},t.getSwipingDirection=function(e){return Math.abs(e.dx)>Math.abs(e.dy)?e.dx>0?'right':'left':e.dy>0?'down':'up'},t.calcDistancePercentage=function(e){switch(t.currentSwipingDirection){case'down':return(e.moveY-e.y0)/((t.props.deviceHeight||t.state.deviceHeight)-e.y0);case'up':return(0,r(d[12]).reversePercentage)(e.moveY/e.y0);case'left':return(0,r(d[12]).reversePercentage)(e.moveX/e.x0);case'right':return(e.moveX-e.x0)/((t.props.deviceWidth||t.state.deviceWidth)-e.x0);default:return 0}},t.createAnimationEventForSwipe=function(){return'right'===t.currentSwipingDirection||'left'===t.currentSwipingDirection?l.Animated.event([null,{dx:t.state.pan.x}],{useNativeDriver:!1}):l.Animated.event([null,{dy:t.state.pan.y}],{useNativeDriver:!1})},t.isDirectionIncluded=function(e){return Array.isArray(t.props.swipeDirection)?t.props.swipeDirection.includes(e):t.props.swipeDirection===e},t.isSwipeDirectionAllowed=function(e){var n=e.dy,o=e.dx,s=n>0,p=n<0,c=o<0,l=o>0;return!('up'!==t.currentSwipingDirection||!t.isDirectionIncluded('up')||!p)||(!('down'!==t.currentSwipingDirection||!t.isDirectionIncluded('down')||!s)||(!('right'!==t.currentSwipingDirection||!t.isDirectionIncluded('right')||!l)||!('left'!==t.currentSwipingDirection||!t.isDirectionIncluded('left')||!c)))},t.handleDimensionsUpdate=function(){if(!t.props.deviceHeight&&!t.props.deviceWidth){var e=l.Dimensions.get('window').width,n=l.Dimensions.get('window').height;e===t.state.deviceWidth&&n===t.state.deviceHeight||t.setState({deviceWidth:e,deviceHeight:n})}},t.open=function(){t.isTransitioning||(t.isTransitioning=!0,t.backdropRef&&t.backdropRef.transitionTo({opacity:t.props.backdropOpacity},t.props.backdropTransitionInTiming),t.state.isSwipeable&&t.state.pan.setValue({x:0,y:0}),t.contentRef&&(t.props.onModalWillShow&&t.props.onModalWillShow(),null==t.interactionHandle&&(t.interactionHandle=l.InteractionManager.createInteractionHandle()),t.contentRef.animate(t.animationIn,t.props.animationInTiming).then(function(){t.isTransitioning=!1,t.interactionHandle&&(l.InteractionManager.clearInteractionHandle(t.interactionHandle),t.interactionHandle=null),t.props.isVisible?t.props.onModalShow():t.close()})))},t.close=function(){if(!t.isTransitioning){t.isTransitioning=!0,t.backdropRef&&t.backdropRef.transitionTo({opacity:0},t.props.backdropTransitionOutTiming);var e=t.animationOut;t.inSwipeClosingState&&(t.inSwipeClosingState=!1,'up'===t.currentSwipingDirection?e='slideOutUp':'down'===t.currentSwipingDirection?e='slideOutDown':'right'===t.currentSwipingDirection?e='slideOutRight':'left'===t.currentSwipingDirection&&(e='slideOutLeft')),t.contentRef&&(t.props.onModalWillHide&&t.props.onModalWillHide(),null==t.interactionHandle&&(t.interactionHandle=l.InteractionManager.createInteractionHandle()),t.contentRef.animate(e,t.props.animationOutTiming).then(function(){t.isTransitioning=!1,t.interactionHandle&&(l.InteractionManager.clearInteractionHandle(t.interactionHandle),t.interactionHandle=null),t.props.isVisible?t.open():t.setState({showContent:!1},function(){t.setState({isVisible:!1},function(){t.props.onModalHide()})})}))}},t.makeBackdrop=function(){if(!t.props.hasBackdrop)return null;t.props.customBackdrop&&!c.isValidElement(t.props.customBackdrop)&&console.warn('Invalid customBackdrop element passed to Modal. You must provide a valid React element.');var e=t.props,n=e.customBackdrop,o=e.backdropColor,s=e.useNativeDriver,p=e.useNativeDriverForBackdrop,u=e.onBackdropPress,w=!!t.props.customBackdrop,v=[{width:t.getDeviceWidth(),height:t.getDeviceHeight(),backgroundColor:t.state.showContent&&!w?o:'transparent'}],b=c.createElement(f.View,{ref:function(e){return t.backdropRef=e},useNativeDriver:void 0!==p?p:s,style:[h.default.backdrop,v]},w&&n);return w?b:c.createElement(l.TouchableWithoutFeedback,{onPress:u},b)};var o=(0,r(d[12]).buildAnimations)(D(e)),s=o.animationIn,p=o.animationOut;return t.animationIn=s,t.animationOut=p,t.state.isSwipeable&&(t.state=Object.assign({},t.state,{pan:new l.Animated.ValueXY}),t.buildPanResponder()),e.isVisible&&(t.state=Object.assign({},t.state,{isVisible:!0,showContent:!0})),t}return(0,t.default)(O,[{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`<Modal onSwipe="..." />` is deprecated and will be removed starting from 13.0.0. Use `<Modal onSwipeComplete="..." />` instead.'),this.didUpdateDimensionsEmitter=l.DeviceEventEmitter.addListener('didUpdateDimensions',this.handleDimensionsUpdate),this.state.isVisible&&this.open(),l.BackHandler.addEventListener('hardwareBackPress',this.onBackButtonPress)}},{key:"componentWillUnmount",value:function(){l.BackHandler.removeEventListener('hardwareBackPress',this.onBackButtonPress),this.didUpdateDimensionsEmitter&&this.didUpdateDimensionsEmitter.remove(),this.interactionHandle&&(l.InteractionManager.clearInteractionHandle(this.interactionHandle),this.interactionHandle=null)}},{key:"componentDidUpdate",value:function(e){if(this.props.animationIn!==e.animationIn||this.props.animationOut!==e.animationOut){var n=(0,r(d[12]).buildAnimations)(D(this.props)),t=n.animationIn,o=n.animationOut;this.animationIn=t,this.animationOut=o}this.props.backdropOpacity!==e.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:this.props.backdropOpacity},this.props.backdropTransitionInTiming),this.props.isVisible&&!e.isVisible?this.open():!this.props.isVisible&&e.isVisible&&this.close()}},{key:"render",value:function(){var n=this,t=this.props,o=(t.animationIn,t.animationInTiming,t.animationOut,t.animationOutTiming,t.avoidKeyboard),s=t.coverScreen,p=(t.hasBackdrop,t.backdropColor,t.backdropOpacity,t.backdropTransitionInTiming,t.backdropTransitionOutTiming,t.customBackdrop,t.children),u=(t.isVisible,t.onModalShow,t.onBackButtonPress),b=t.useNativeDriver,S=(t.propagateSwipe,t.style),k=(0,e.default)(t,w),D=(k.testID,(0,e.default)(k,v)),y=[{margin:.05*this.getDeviceWidth(),transform:[{translateY:0}]},h.default.content,S],O={},T={};this.state.isSwipeable&&(O=Object.assign({},this.panResponder.panHandlers),T=b?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var M=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?c.createElement(f.View,null):p,B=c.createElement(f.View,Object.assign({},O,{ref:function(e){return n.contentRef=e},style:[T,y],pointerEvents:"box-none",useNativeDriver:b},D),M);return!s&&this.state.isVisible?c.createElement(l.View,{pointerEvents:"box-none",style:[h.default.backdrop,h.default.containerBox]},this.makeBackdrop(),B):c.createElement(l.Modal,Object.assign({transparent:!0,animationType:'none',visible:this.state.isVisible,onRequestClose:u},k),this.makeBackdrop(),o?c.createElement(l.KeyboardAvoidingView,{behavior:'ios'===l.Platform.OS?'padding':void 0,pointerEvents:"box-none",style:y.concat([{margin:0}])},B):B)}}],[{key:"getDerivedStateFromProps",value:function(e,n){return!n.isVisible&&e.isVisible?{isVisible:!0,showContent:!0}:null}}]),O})(c.Component);_e.ReactNativeModal=y,y.propTypes={animationIn:u.oneOfType([u.string,u.object]),animationInTiming:u.number,animationOut:u.oneOfType([u.string,u.object]),animationOutTiming:u.number,avoidKeyboard:u.bool,coverScreen:u.bool,hasBackdrop:u.bool,backdropColor:u.string,backdropOpacity:u.number,backdropTransitionInTiming:u.number,backdropTransitionOutTiming:u.number,customBackdrop:u.node,children:u.node.isRequired,deviceHeight:u.number,deviceWidth:u.number,isVisible:u.bool.isRequired,hideModalContentWhileAnimating:u.bool,propagateSwipe:u.oneOfType([u.bool,u.func]),onModalShow:u.func,onModalWillShow:u.func,onModalHide:u.func,onModalWillHide:u.func,onBackButtonPress:u.func,onBackdropPress:u.func,panResponderThreshold:u.number,onSwipeStart:u.func,onSwipeMove:u.func,onSwipeComplete:u.func,onSwipeCancel:u.func,swipeThreshold:u.number,swipeDirection:u.oneOfType([u.arrayOf(u.oneOf(['up','down','left','right'])),u.oneOf(['up','down','left','right'])]),useNativeDriver:u.bool,useNativeDriverForBackdrop:u.bool,style:u.any,scrollTo:u.func,scrollOffset:u.number,scrollOffsetMax:u.number,scrollHorizontal:u.bool,supportedOrientations:u.arrayOf(u.oneOf(['portrait','portrait-upside-down','landscape','landscape-left','landscape-right']))},y.defaultProps={animationIn:'slideInUp',animationInTiming:300,animationOut:'slideOutDown',animationOutTiming:300,avoidKeyboard:!1,coverScreen:!0,hasBackdrop:!0,backdropColor:'black',backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,customBackdrop:null,useNativeDriver:!1,deviceHeight:null,deviceWidth:null,hideModalContentWhileAnimating:!1,propagateSwipe:!1,isVisible:!1,panResponderThreshold:4,swipeThreshold:100,onModalShow:function(){return null},onModalWillShow:function(){return null},onModalHide:function(){return null},onModalWillHide:function(){return null},onBackdropPress:function(){return null},onBackButtonPress:function(){return null},scrollTo:null,scrollOffset:0,scrollOffsetMax:0,scrollHorizontal:!1,statusBarTranslucent:!1,supportedOrientations:['portrait','landscape']};var O=y;_e.default=O},1022,[3,96,12,13,51,48,47,122,1,392,1023,1044,1045]); |
1029 | 1029 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimatableComponent=e.View=e.Text=e.Image=void 0,Object.defineProperty(e,"createAnimation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return r(d[0]).initializeRegistryWithDefinitions}}),Object.defineProperty(e,"registerAnimation",{enumerable:!0,get:function(){return r(d[0]).registerAnimation}});var t=r(d[1]),n=r(d[2])(r(d[3])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(u,c,p):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[4])),u=r(d[2])(r(d[5]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}(0,r(d[0]).initializeRegistryWithDefinitions)(o);var l=n.default;e.createAnimatableComponent=l;var c=(0,n.default)(t.View);e.View=c;var p=(0,n.default)(t.Text);e.Text=p;var s=(0,n.default)(t.Image);e.Image=s},1023,[1024,1,3,1027,1032,1025]); |
... | ... | @@ -1070,7 +1070,7 @@ |
1070 | 1070 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var p=f.navigation,j=(0,t.useContext)(r(d[8]).MapContext),x=j.nodes,y=j.location,v=j.km,M=j.setSearchQuery,k=j.setNodes,C=x.slice(-1)[0],P=(0,t.useRef)(null),b=(0,t.useMemo)(function(){return['25%']},[]),w=(0,t.useCallback)(function(t){console.log('handleSheetChanges',t)},[]),O=(0,t.useCallback)(function(){var t;null==(t=P.current)||t.present()},[]),S=(0,t.useCallback)(function(){var t;M(null),k([]),null==(t=P.current)||t.close(),p.navigate('Main')},[]);return(0,r(d[9]).jsx)(r(d[10]).BottomSheetModalProvider,{children:(0,r(d[9]).jsxs)(n.View,{style:h.container,children:[(0,r(d[9]).jsxs)(o.default,{lat:y.latitude,long:y.longitude,latDelta:.001,longDelta:.001,followsUserLocation:!0,children:[(0,r(d[9]).jsx)(r(d[11]).Marker,{coordinate:y,width:50,height:50,image:c.default}),(0,r(d[9]).jsx)(r(d[11]).Marker,{coordinate:C}),(0,r(d[9]).jsx)(r(d[11]).Polyline,{coordinates:x,strokeWidth:10,strokeColor:r(d[12]).PRIMERY})]}),(0,r(d[9]).jsx)(u.default,{}),(0,r(d[9]).jsx)(l.default,{distance:v,onPress:O}),(0,r(d[9]).jsx)(r(d[10]).BottomSheetModal,{ref:P,index:0,snapPoints:b,onChange:w,children:(0,r(d[9]).jsxs)(n.View,{style:h.contentContainer,children:[(0,r(d[9]).jsx)(n.Text,{style:[r(d[13]).pageTitle,r(d[13]).marginBottom],children:"\uc6b4\ud589\uc744 \uc885\ub8cc \ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"}),(0,r(d[9]).jsx)(s.default,{title:'\uc6b4\ud589\uc885\ub8cc',padding:10,backgroundColor:r(d[12]).PRIMERY,color:r(d[12]).WHITE,width:'100%',textAlign:'center',onPress:S})]})})]})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=s?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3])),l=r(d[2])(r(d[4])),s=r(d[2])(r(d[5])),c=r(d[2])(r(d[6])),u=r(d[2])(r(d[7]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var h=n.StyleSheet.create({container:{flex:1,justifyContent:'center',backgroundColor:'grey'},contentContainer:{flex:1,alignItems:'center',padding:16},image:{width:'100%',height:'100%',flex:1}})},1064,[122,1,3,858,1065,403,1066,1067,380,175,1068,859,387,1169]); |
1071 | 1071 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var l=n.distance,u=n.onPress;return(0,r(d[4]).jsxs)(t.View,{style:o.driveStatus,children:[(0,r(d[4]).jsx)(t.View,{style:o.driveStatusTextBox,children:(0,r(d[4]).jsxs)(t.Text,{style:o.driveStatusText,children:[l,"km"]})}),(0,r(d[4]).jsx)(t.View,{style:o.driveStatusIcon,children:(0,r(d[4]).jsx)(s.default,{name:"ellipsis-v",size:20,color:r(d[5]).GRAY,onPress:u})})]})};r(d[0])(r(d[1]));var t=r(d[2]),s=r(d[0])(r(d[3]));var o=t.StyleSheet.create({driveStatus:{paddingVertical:20,paddingHorizontal:16,borderTopColor:r(d[5]).GRAY,borderTopWidth:2,backgroundColor:r(d[5]).WHITE,flexDirection:'row',justifyContent:'space-between'},driveStatusText:{fontSize:20,fontWeight:'bold'},driveStatusTextBox:{flex:30},driveStatusIcon:{flex:1,paddingLeft:15}})},1065,[3,122,1,389,175,387]); |
1072 | 1072 |
__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:150,height:150,scales:[1],hash:"e653d8a6400705825864f90bb74353b0",name:"current_location",type:"png"})},1066,[386]); |
1073 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var c,p=f.onUploadFile,h=(0,o.useContext)(r(d[7]).MapContext),y=(h.onQuery,h.location),v=(0,r(d[8]).useCameraDevices)().back,O=(0,o.useRef)(null),j=(0,o.useState)(!1),b=(0,n.default)(j,2),P=b[0],S=b[1],_=function(){S(!P)},x=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[8]).Camera.requestCameraPermission();'denied'===t&&(yield l.Linking.openSettings())}),[]),C=(T=(0,t.default)(function*(){var t=yield O.current.takePhoto({flash:'off',qualityPrioritization:'speed'}),n=t.path,o=n.split('/'),l=o.length,s=o[l-1],f=s.split('.'),c=f[0],h=[{name:'file',filename:s,filepath:n,filetype:'image/jpg'}];yield u.default.uploadFiles({toUrl:r(d[9]).url+"/action/image_summit",files:h,method:'POST',headers:{},begin:function(t){var n=t.jobId;console.log('UPLOAD HAS BEGUN! JobId: '+n)},progress:function(t){var n=Math.floor(t.totalBytesSent/t.totalBytesExpectedToSend*100);console.log('UPLOAD IS '+n+'% DONE!')}}).promise.then(function(t){if(200!=t.statusCode)throw'SERVER ERROR';return console.log('FILES UPLOADED!'),fetch(r(d[9]).url+"/action/image_anal",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({filename:c,file_type:'.jpg',gps_x:y.latitude,gps_y:y.longitude})})}).then(function(t){return t.json()}).then(function(t){console.log('fileSend response data : ',t);var n=t.node,o=t.fog;if(null===n||'fog'!==o)throw'no data';return p(n),_(),fetch(r(d[9]).url+"/trip/remove",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({gps_x:n[0],gps_y:n[1]})})}).then(function(t){return t.json()}).then(function(t){console.log('remove data',t),t.done}).catch(function(t){console.log(t)})}),function(){return T.apply(this,arguments)});var T;return(0,o.useEffect)(function(){return x(),c=setInterval(function(){C()},5e3),function(){return clearInterval(c)}},[]),null==v?(0,r(d[10]).jsx)(l.Text,{children:"device == null"}):(0,r(d[10]).jsxs)(l.View,{children:[(0,r(d[10]).jsx)(r(d[8]).Camera,{ref:O,device:v,isActive:!0,photo:!0}),(0,r(d[10]).jsx)(s.default,{isVisible:P,toggleModal:_,alertTitle:"\uc704\ud5d8",alertMessage:"\uc804\ubc29\uc5d0 \ub3c4\ub85c\uc704\ud5d8\uc0c1\ud669\uc774 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4."})]})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=u?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(l,s,c):l[s]=t[s]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=r(d[0])(r(d[5])),s=r(d[0])(r(d[6]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}},1067,[3,265,19,122,1,1017,1020,380,1046,379,175]); |
|
1073 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){s.onUploadFile;var c,p=(0,o.useContext)(r(d[7]).MapContext),y=(p.onQuery,p.location),h=(0,r(d[8]).useCameraDevices)().back,v=(0,o.useRef)(null),O=(0,o.useState)(!1),j=(0,n.default)(O,2),b=j[0],P=j[1],S=function(){P(!b)},_=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[8]).Camera.requestCameraPermission();'denied'===t&&(yield l.Linking.openSettings())}),[]),x=(C=(0,t.default)(function*(){var t=yield v.current.takePhoto({flash:'off',qualityPrioritization:'speed'}),n=t.path,o=n.split('/'),l=o.length,f=o[l-1],s=f.split('.'),c=s[0],p=[{name:'file',filename:f,filepath:n,filetype:'image/jpg'}];yield u.default.uploadFiles({toUrl:r(d[9]).url+"/action/image_summit",files:p,method:'POST',headers:{},begin:function(t){var n=t.jobId;console.log('UPLOAD HAS BEGUN! JobId: '+n)},progress:function(t){var n=Math.floor(t.totalBytesSent/t.totalBytesExpectedToSend*100);console.log('UPLOAD IS '+n+'% DONE!')}}).promise.then(function(t){if(200!=t.statusCode)throw'SERVER ERROR';return console.log('FILES UPLOADED!'),fetch(r(d[9]).url+"/action/image_anal",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({filename:c,file_type:'.jpg',gps_x:y.latitude,gps_y:y.longitude})})}).then(function(t){return t.json()}).then(function(t){console.log('fileSend response data : ',t);var n=t.node,o=t.fog;if(null===n||'fog'!==o)throw'no data';S()}).catch(function(t){console.log(t)})}),function(){return C.apply(this,arguments)});var C;return(0,o.useEffect)(function(){return _(),c=setInterval(function(){x()},5e3),function(){return clearInterval(c)}},[]),null==h?(0,r(d[10]).jsx)(l.Text,{children:"device == null"}):(0,r(d[10]).jsxs)(l.View,{children:[(0,r(d[10]).jsx)(r(d[8]).Camera,{ref:v,device:h,isActive:!0,photo:!0}),(0,r(d[10]).jsx)(f.default,{isVisible:b,toggleModal:S,alertTitle:"\uc704\ud5d8",alertMessage:"\uc804\ubc29\uc5d0 \ub3c4\ub85c\uc704\ud5d8\uc0c1\ud669\uc774 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4."})]})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=u?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(l,f,c):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=r(d[0])(r(d[5])),f=r(d[0])(r(d[6]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}},1067,[3,265,19,122,1,1017,1020,380,1046,379,175]); |
|
1074 | 1074 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={TouchableHighlight:!0,TouchableOpacity:!0,TouchableWithoutFeedback:!0,BottomSheetModal:!0,BottomSheetModalProvider:!0,useBottomSheet:!0,useBottomSheetModal:!0,useBottomSheetSpringConfigs:!0,useBottomSheetTimingConfigs:!0,useBottomSheetInternal:!0,useBottomSheetModalInternal:!0,useBottomSheetDynamicSnapPoints:!0,useScrollEventsHandlersDefault:!0,useGestureEventsHandlersDefault:!0,useBottomSheetGestureHandlers:!0,useScrollHandler:!0,useScrollableSetter:!0,BottomSheetScrollView:!0,BottomSheetSectionList:!0,BottomSheetFlatList:!0,BottomSheetVirtualizedList:!0,createBottomSheetScrollableComponent:!0,BottomSheetHandle:!0,BottomSheetDraggableView:!0,BottomSheetView:!0,BottomSheetTextInput:!0,BottomSheetBackdrop:!0,BottomSheetFooter:!0,BottomSheetFooterContainer:!0,enableLogging:!0};Object.defineProperty(e,"BottomSheetBackdrop",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"BottomSheetDraggableView",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"BottomSheetFlatList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetFlatList}}),Object.defineProperty(e,"BottomSheetFooter",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"BottomSheetFooterContainer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"BottomSheetHandle",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"BottomSheetModal",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"BottomSheetModalProvider",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"BottomSheetScrollView",{enumerable:!0,get:function(){return r(d[0]).BottomSheetScrollView}}),Object.defineProperty(e,"BottomSheetSectionList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetSectionList}}),Object.defineProperty(e,"BottomSheetTextInput",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"BottomSheetView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"BottomSheetVirtualizedList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetVirtualizedList}}),e.TouchableWithoutFeedback=e.TouchableOpacity=e.TouchableHighlight=void 0,Object.defineProperty(e,"createBottomSheetScrollableComponent",{enumerable:!0,get:function(){return r(d[0]).createBottomSheetScrollableComponent}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"enableLogging",{enumerable:!0,get:function(){return r(d[1]).enableLogging}}),Object.defineProperty(e,"useBottomSheet",{enumerable:!0,get:function(){return r(d[2]).useBottomSheet}}),Object.defineProperty(e,"useBottomSheetDynamicSnapPoints",{enumerable:!0,get:function(){return r(d[3]).useBottomSheetDynamicSnapPoints}}),Object.defineProperty(e,"useBottomSheetGestureHandlers",{enumerable:!0,get:function(){return r(d[4]).useBottomSheetGestureHandlers}}),Object.defineProperty(e,"useBottomSheetInternal",{enumerable:!0,get:function(){return r(d[5]).useBottomSheetInternal}}),Object.defineProperty(e,"useBottomSheetModal",{enumerable:!0,get:function(){return r(d[6]).useBottomSheetModal}}),Object.defineProperty(e,"useBottomSheetModalInternal",{enumerable:!0,get:function(){return r(d[7]).useBottomSheetModalInternal}}),Object.defineProperty(e,"useBottomSheetSpringConfigs",{enumerable:!0,get:function(){return r(d[8]).useBottomSheetSpringConfigs}}),Object.defineProperty(e,"useBottomSheetTimingConfigs",{enumerable:!0,get:function(){return r(d[9]).useBottomSheetTimingConfigs}}),Object.defineProperty(e,"useGestureEventsHandlersDefault",{enumerable:!0,get:function(){return r(d[10]).useGestureEventsHandlersDefault}}),Object.defineProperty(e,"useScrollEventsHandlersDefault",{enumerable:!0,get:function(){return r(d[11]).useScrollEventsHandlersDefault}}),Object.defineProperty(e,"useScrollHandler",{enumerable:!0,get:function(){return r(d[12]).useScrollHandler}}),Object.defineProperty(e,"useScrollableSetter",{enumerable:!0,get:function(){return r(d[13]).useScrollableSetter}});var o=r(d[14])(r(d[15])),n=r(d[14])(r(d[16])),u=r(d[14])(r(d[17])),l=r(d[14])(r(d[18])),c=r(d[14])(r(d[19])),f=r(d[14])(r(d[20])),b=r(d[14])(r(d[21])),S=r(d[14])(r(d[22])),h=r(d[14])(r(d[23])),s=r(d[14])(r(d[24])),B=r(d[14])(r(d[25]));Object.keys(r(d[26])).forEach(function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(t,o)||o in e&&e[o]===r(d[26])[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return r(d[26])[o]}}))});var p=B.default.TouchableHighlight,y=B.default.TouchableOpacity,O=B.default.TouchableWithoutFeedback;e.TouchableWithoutFeedback=O,e.TouchableOpacity=y,e.TouchableHighlight=p},1068,[1069,1099,1075,1077,1079,1081,1083,1087,1115,1116,1088,1103,1102,1106,3,1117,1140,1154,1129,1071,1156,1158,1160,1164,1138,1167,1073]); |
1075 | 1075 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BottomSheetFlatList",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"BottomSheetScrollView",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"BottomSheetSectionList",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"BottomSheetVirtualizedList",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createBottomSheetScrollableComponent",{enumerable:!0,get:function(){return r(d[0]).createBottomSheetScrollableComponent}});var t=r(d[1])(r(d[2])),n=r(d[1])(r(d[3])),o=r(d[1])(r(d[4])),u=r(d[1])(r(d[5]))},1069,[1070,3,1111,1112,1113,1114]); |
1076 | 1076 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.createBottomSheetScrollableComponent=function(f,S){return(0,n.forwardRef)(function(E,h){var _,L=E.focusHook,R=E.scrollEventsHandlersHook,O=E.enableFooterMarginAdjustment,A=void 0!==O&&O,b=E.overScrollMode,p=void 0===b?'never':b,v=E.keyboardDismissMode,C=void 0===v?'interactive':v,y=E.showsVerticalScrollIndicator,T=void 0===y||y,M=E.style,j=E.refreshing,w=E.onRefresh,D=E.progressViewOffset,P=E.refreshControl,B=E.onScroll,H=E.onScrollBeginDrag,k=E.onScrollEndDrag,I=(0,o.default)(E,u),V=(0,n.useRef)(null),N=(0,n.useRef)(null),U=(0,r(d[7]).useScrollHandler)(R,B,H,k),x=U.scrollableRef,F=U.scrollableContentOffsetY,G=U.scrollHandler,W=(0,r(d[7]).useBottomSheetInternal)(),K=W.enableContentPanningGesture,z=W.animatedFooterHeight,Y=W.animatedScrollableState,q=(0,r(d[8]).useAnimatedProps)(((_=function(){return{decelerationRate:r(d[9]).SCROLLABLE_DECELERATION_RATE_MAPPER[Y.value],showsVerticalScrollIndicator:T?Y.value===r(d[9]).SCROLLABLE_STATE.UNLOCKED:T}})._closure={SCROLLABLE_DECELERATION_RATE_MAPPER:r(d[9]).SCROLLABLE_DECELERATION_RATE_MAPPER,animatedScrollableState:Y,showsVerticalScrollIndicator:T,SCROLLABLE_STATE:{UNLOCKED:r(d[9]).SCROLLABLE_STATE.UNLOCKED}},_.asString="function _f(){const{SCROLLABLE_DECELERATION_RATE_MAPPER,animatedScrollableState,showsVerticalScrollIndicator,SCROLLABLE_STATE}=jsThis._closure;{return{decelerationRate:SCROLLABLE_DECELERATION_RATE_MAPPER[animatedScrollableState.value],showsVerticalScrollIndicator:showsVerticalScrollIndicator?animatedScrollableState.value===SCROLLABLE_STATE.UNLOCKED:showsVerticalScrollIndicator};}}",_.__workletHash=3843125258941,_.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetScrollable\\createBottomSheetScrollableComponent.tsx (69:6)",_),[T]),J=(0,r(d[8]).useAnimatedStyle)((function(){var t=function(){return{marginBottom:A?z.value:0}};return t._closure={enableFooterMarginAdjustment:A,animatedFooterHeight:z},t.asString="function _f(){const{enableFooterMarginAdjustment,animatedFooterHeight}=jsThis._closure;{return{marginBottom:enableFooterMarginAdjustment?animatedFooterHeight.value:0};}}",t.__workletHash=8750885929959,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetScrollable\\createBottomSheetScrollableComponent.tsx (82:6)",t.__optimalization=3,t})(),[A]),Q=(0,n.useMemo)(function(){return A?[].concat((0,t.default)(M?'length'in M?M:[M]:[]),[J]):M},[A,M,J]);if((0,n.useImperativeHandle)(h,function(){return x.current}),(0,r(d[7]).useScrollableSetter)(x,f,F,void 0!==w,L),'android'===l.Platform.OS){var X=(0,r(d[10]).jsx)(r(d[11]).NativeViewGestureHandler,{ref:V,enabled:K,shouldCancelWhenOutside:!1,children:(0,r(d[10]).jsx)(S,Object.assign({animatedProps:q},I,{scrollEventThrottle:16,ref:x,overScrollMode:p,keyboardDismissMode:C,onScroll:G,style:Q}))});return(0,r(d[10]).jsx)(s.default,{nativeGestureRef:V,refreshControlGestureRef:N,gestureType:r(d[9]).GESTURE_SOURCE.SCROLLABLE,style:r(d[12]).styles.container,children:w?(0,r(d[10]).jsx)(c.default,{ref:N,refreshing:j,onRefresh:w,progressViewOffset:D,style:r(d[12]).styles.container,children:X}):X})}return(0,r(d[10]).jsx)(s.default,{nativeGestureRef:V,gestureType:r(d[9]).GESTURE_SOURCE.SCROLLABLE,style:r(d[12]).styles.container,children:(0,r(d[10]).jsx)(r(d[11]).NativeViewGestureHandler,{ref:V,enabled:K,shouldCancelWhenOutside:!1,children:(0,r(d[10]).jsx)(S,Object.assign({animatedProps:q},I,{scrollEventThrottle:16,ref:x,overScrollMode:p,keyboardDismissMode:C,refreshing:j,onRefresh:w,progressViewOffset:D,refreshControl:P,onScroll:G,style:Q}))})})})};var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=s?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=t[c]}l.default=t,n&&n.set(t,l);return l})(r(d[3])),l=r(d[4]),s=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),u=["focusHook","scrollEventsHandlersHook","enableFooterMarginAdjustment","overScrollMode","keyboardDismissMode","showsVerticalScrollIndicator","style","refreshing","onRefresh","progressViewOffset","refreshControl","onScroll","onScrollBeginDrag","onScrollEndDrag"];function f(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:o})(t)}},1070,[3,6,96,122,1,1071,1108,1074,408,1073,175,695,1110]); |
--- src/component/Action.js
+++ src/component/Action.js
... | ... | @@ -87,7 +87,6 @@ |
87 | 87 |
throw 'no data'; |
88 | 88 |
} |
89 | 89 |
// onUploadFile(node); |
90 |
- console.log('fog ' + fog + ' ' + isModalVisible); |
|
91 | 90 |
toggleModal(); |
92 | 91 |
// 분석 결과 node remove 요청 |
93 | 92 |
// return fetch(`${url}/trip/remove`, { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?