Backend for Custom Frontend OSPRO Surveyor Indonesia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2 lines
11 KiB

/*! For license information please see 61.6e3793bc.chunk.js.LICENSE.txt */
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[61],{1454:function(e,t,n){"use strict";var r=n(23),o=n(59),a=n(2),i=n.n(a),c=n(80),s=n.n(c),l=n(562),u=n.n(l),f=n(569),d=["className","cssModule","fluid","tag"],p={tag:f.t,fluid:s.a.oneOfType([s.a.bool,s.a.string]),className:s.a.string,cssModule:s.a.object},b=function(e){var t=e.className,n=e.cssModule,a=e.fluid,c=e.tag,s=Object(o.a)(e,d),l="container";!0===a?l="container-fluid":a&&(l="container-"+a);var p=Object(f.p)(u()(t,l),n);return i.a.createElement(c,Object(r.a)({},s,{className:p}))};b.propTypes=p,b.defaultProps={tag:"div"},t.a=b},2298:function(e,t,n){"use strict";n.r(t);var r=n(184),o=n(185),a=n(186),i=n(187),c=n(2),s=n.n(c),l=n(1454),u=n(792),f=n(793),d=n(757),p=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(){var e;Object(r.a)(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).logOut=function(){window.localStorage.clear(),e.props.history.push("/login")},e}return Object(o.a)(n,[{key:"render",value:function(){var e=this;return s.a.createElement("div",{className:"app flex-row align-items-center"},s.a.createElement(l.a,null,s.a.createElement(u.a,{className:"justify-content-center"},s.a.createElement(f.a,{md:"6"},s.a.createElement("div",{className:"clearfix"},s.a.createElement("h1",{className:"float-left display-3 mr-4"},"403"),s.a.createElement("h4",{className:"pt-3"},"Oops! ",s.a.createElement("br",null),"Kamu pergi ke halaman yang terlarang!"),s.a.createElement("p",{className:"text-muted float-left"},"Halaman tidak bisa di akses!")),s.a.createElement("div",{style:{alignItems:"center"}},s.a.createElement(d.a,{size:"sm",color:"warning",onClick:function(){return e.logOut()}},"Back To Login"))))))}}]),n}(c.Component);t.default=p},562:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},569:function(e,t,n){"use strict";n.d(t,"s",(function(){return i})),n.d(t,"l",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"p",(function(){return l})),n.d(t,"q",(function(){return u})),n.d(t,"r",(function(){return f})),n.d(t,"w",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"u",(function(){return h})),n.d(t,"t",(function(){return y})),n.d(t,"e",(function(){return g})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return E})),n.d(t,"o",(function(){return w})),n.d(t,"b",(function(){return j})),n.d(t,"g",(function(){return O})),n.d(t,"v",(function(){return N})),n.d(t,"n",(function(){return k})),n.d(t,"j",(function(){return T})),n.d(t,"m",(function(){return A})),n.d(t,"i",(function(){return M})),n.d(t,"f",(function(){return S})),n.d(t,"k",(function(){return I}));var r,o=n(80),a=n.n(o);function i(e){document.body.style.paddingRight=e>0?e+"px":null}function c(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)}function s(){var e=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=t?parseInt(t.style.paddingRight||0,10):0;document.body.clientWidth<window.innerWidth&&i(n+e)}function l(e,t){return void 0===e&&(e=""),void 0===t&&(t=r),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}function u(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function f(e,t){for(var n,r=Array.isArray(t)?t:[t],o=r.length,a={};o>0;)a[n=r[o-=1]]=e[n];return a}var d={};function p(e){d[e]||("undefined"!==typeof console&&console.error(e),d[e]=!0)}var b="object"===typeof window&&window.Element||function(){};function m(e,t,n){if(!(e[t]instanceof b))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var h=a.a.oneOfType([a.a.string,a.a.func,m,a.a.shape({current:a.a.any})]),y=a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func}),a.a.arrayOf(a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func})]))]),g={Fade:150,Collapse:350,Modal:300,Carousel:600},v=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],E={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},w={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},j=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],O=!("undefined"===typeof window||!window.document||!window.document.createElement);function x(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function N(e){var t=typeof e;if("number"===t)return e;if("symbol"===t||"object"===t&&"[object Symbol]"===x(e))return NaN;if(k(e)){var n="function"===typeof e.valueOf?e.valueOf():e;e=k(n)?""+n:n}if("string"!==t)return 0===e?e:+e;e=e.replace(/^\s+|\s+$/g,"");var r=/^0b[01]+$/i.test(e);return r||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?NaN:+e}function k(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function T(e){if(function(e){return!(!e||"object"!==typeof e)&&"current"in e}(e))return e.current;if(function(e){if(!k(e))return!1;var t=x(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}(e))return e();if("string"===typeof e&&O){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function C(e){return null!==e&&(Array.isArray(e)||O&&"number"===typeof e.length)}function A(e,t){var n=T(e);return t?C(n)?n:null===n?[]:[n]:C(n)?n[0]:n}var M=["touchstart","click"];function S(e,t,n,r){var o=e;C(o)||(o=[o]);var a=n;if("string"===typeof a&&(a=a.split(/\s+/)),!C(o)||"function"!==typeof t||!Array.isArray(a))throw new Error("\n The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n The second must be a function.\n The third is a string or an array of strings that represents DOM events\n ");return Array.prototype.forEach.call(a,(function(e){Array.prototype.forEach.call(o,(function(n){n.addEventListener(e,t,r)}))})),function(){Array.prototype.forEach.call(a,(function(e){Array.prototype.forEach.call(o,(function(n){n.removeEventListener(e,t,r)}))}))}}var I=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])']},583:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},757:function(e,t,n){"use strict";var r=n(23),o=n(59),a=n(583),i=n(33),c=n(2),s=n.n(c),l=n(80),u=n.n(l),f=n(562),d=n.n(f),p=n(569),b=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],m={active:u.a.bool,"aria-label":u.a.string,block:u.a.bool,color:u.a.string,disabled:u.a.bool,outline:u.a.bool,tag:p.t,innerRef:u.a.oneOfType([u.a.object,u.a.func,u.a.string]),onClick:u.a.func,size:u.a.string,children:u.a.node,className:u.a.string,cssModule:u.a.object,close:u.a.bool},h=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(Object(a.a)(n)),n}Object(i.a)(t,e);var n=t.prototype;return n.onClick=function(e){if(!this.props.disabled)return this.props.onClick?this.props.onClick(e):void 0;e.preventDefault()},n.render=function(){var e=this.props,t=e.active,n=e["aria-label"],a=e.block,i=e.className,c=e.close,l=e.cssModule,u=e.color,f=e.outline,m=e.size,h=e.tag,y=e.innerRef,g=Object(o.a)(e,b);c&&"undefined"===typeof g.children&&(g.children=s.a.createElement("span",{"aria-hidden":!0},"\xd7"));var v="btn"+(f?"-outline":"")+"-"+u,E=Object(p.p)(d()(i,{close:c},c||"btn",c||v,!!m&&"btn-"+m,!!a&&"btn-block",{active:t,disabled:this.props.disabled}),l);g.href&&"button"===h&&(h="a");var w=c?"Close":null;return s.a.createElement(h,Object(r.a)({type:"button"===h&&g.onClick?"button":void 0},g,{className:E,ref:y,onClick:this.onClick,"aria-label":n||w}))},t}(s.a.Component);h.propTypes=m,h.defaultProps={color:"secondary",tag:"button"},t.a=h},792:function(e,t,n){"use strict";var r=n(23),o=n(59),a=n(2),i=n.n(a),c=n(80),s=n.n(c),l=n(562),u=n.n(l),f=n(569),d=["className","cssModule","noGutters","tag","form","widths"],p=s.a.oneOfType([s.a.number,s.a.string]),b={tag:f.t,noGutters:s.a.bool,className:s.a.string,cssModule:s.a.object,form:s.a.bool,xs:p,sm:p,md:p,lg:p,xl:p},m={tag:"div",widths:["xs","sm","md","lg","xl"]},h=function(e){var t=e.className,n=e.cssModule,a=e.noGutters,c=e.tag,s=e.form,l=e.widths,p=Object(o.a)(e,d),b=[];l.forEach((function(t,n){var r=e[t];if(delete p[t],r){var o=!n;b.push(o?"row-cols-"+r:"row-cols-"+t+"-"+r)}}));var m=Object(f.p)(u()(t,a?"no-gutters":null,s?"form-row":"row",b),n);return i.a.createElement(c,Object(r.a)({},p,{className:m}))};h.propTypes=b,h.defaultProps=m,t.a=h},793:function(e,t,n){"use strict";var r=n(23),o=n(59),a=n(2),i=n.n(a),c=n(80),s=n.n(c),l=n(562),u=n.n(l),f=n(569),d=["className","cssModule","widths","tag"],p=s.a.oneOfType([s.a.number,s.a.string]),b=s.a.oneOfType([s.a.bool,s.a.number,s.a.string,s.a.shape({size:s.a.oneOfType([s.a.bool,s.a.number,s.a.string]),order:p,offset:p})]),m={tag:f.t,xs:b,sm:b,md:b,lg:b,xl:b,className:s.a.string,cssModule:s.a.object,widths:s.a.array},h={tag:"div",widths:["xs","sm","md","lg","xl"]},y=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},g=function(e){var t=e.className,n=e.cssModule,a=e.widths,c=e.tag,s=Object(o.a)(e,d),l=[];a.forEach((function(t,r){var o=e[t];if(delete s[t],o||""===o){var a=!r;if(Object(f.n)(o)){var i,c=a?"-":"-"+t+"-",d=y(a,t,o.size);l.push(Object(f.p)(u()(((i={})[d]=o.size||""===o.size,i["order"+c+o.order]=o.order||0===o.order,i["offset"+c+o.offset]=o.offset||0===o.offset,i)),n))}else{var p=y(a,t,o);l.push(p)}}})),l.length||l.push("col");var p=Object(f.p)(u()(t,l),n);return i.a.createElement(c,Object(r.a)({},s,{className:p}))};g.propTypes=m,g.defaultProps=h,t.a=g}}]);