/
home
/
infinitibizsol
/
.trash
/
static.1
/
js
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/static.1/js/534.128ce857.chunk.js
"use strict";(self.webpackChunk_minimal_material_kit_react=self.webpackChunk_minimal_material_kit_react||[]).push([[534],{8534:(e,t,n)=>{n.d(t,{A:()=>V});var o=n(45),a=n(8168),r=n(5043),i=n(3024),l=n(3753),c=n(2454),s=n(7950);function u(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function d(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){u(e,n),u(t,n)}}),[e,t])}var p="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function f(e){var t=r.useRef(e);return p((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}var m=!0,h=!1,b=null,v={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function y(e){e.metaKey||e.altKey||e.ctrlKey||(m=!0)}function g(){m=!1}function x(){"hidden"===this.visibilityState&&h&&(m=!0)}function k(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return m||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!v[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function S(){h=!0,window.clearTimeout(b),b=window.setTimeout((function(){h=!1}),100)}function w(){return{isFocusVisible:k,onBlurVisible:S,ref:r.useCallback((function(e){var t,n=s.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",y,!0),t.addEventListener("mousedown",g,!0),t.addEventListener("pointerdown",g,!0),t.addEventListener("touchstart",g,!0),t.addEventListener("visibilitychange",x,!0))}),[])}}var C=n(5458),R=n(2646),E="undefined"===typeof window?r.useEffect:r.useLayoutEffect;const T=function(e){var t=e.classes,n=e.pulsate,o=void 0!==n&&n,a=e.rippleX,l=e.rippleY,c=e.rippleSize,s=e.in,u=e.onExited,d=void 0===u?function(){}:u,p=e.timeout,m=r.useState(!1),h=m[0],b=m[1],v=(0,i.A)(t.ripple,t.rippleVisible,o&&t.ripplePulsate),y={width:c,height:c,top:-c/2+l,left:-c/2+a},g=(0,i.A)(t.child,h&&t.childLeaving,o&&t.childPulsate),x=f(d);return E((function(){if(!s){b(!0);var e=setTimeout(x,p);return function(){clearTimeout(e)}}}),[x,s,p]),r.createElement("span",{className:v,style:y},r.createElement("span",{className:g}))};var z=r.forwardRef((function(e,t){var n=e.center,l=void 0!==n&&n,c=e.classes,s=e.className,u=(0,o.A)(e,["center","classes","className"]),d=r.useState([]),p=d[0],f=d[1],m=r.useRef(0),h=r.useRef(null);r.useEffect((function(){h.current&&(h.current(),h.current=null)}),[p]);var b=r.useRef(!1),v=r.useRef(null),y=r.useRef(null),g=r.useRef(null);r.useEffect((function(){return function(){clearTimeout(v.current)}}),[]);var x=r.useCallback((function(e){var t=e.pulsate,n=e.rippleX,o=e.rippleY,a=e.rippleSize,i=e.cb;f((function(e){return[].concat((0,C.A)(e),[r.createElement(T,{key:m.current,classes:c,timeout:550,pulsate:t,rippleX:n,rippleY:o,rippleSize:a})])})),m.current+=1,h.current=i}),[c]),k=r.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,a=void 0!==o&&o,r=t.center,i=void 0===r?l||t.pulsate:r,c=t.fakeElement,s=void 0!==c&&c;if("mousedown"===e.type&&b.current)b.current=!1;else{"touchstart"===e.type&&(b.current=!0);var u,d,p,f=s?null:g.current,m=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(i||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(m.width/2),d=Math.round(m.height/2);else{var h=e.touches?e.touches[0]:e,k=h.clientX,S=h.clientY;u=Math.round(k-m.left),d=Math.round(S-m.top)}if(i)(p=Math.sqrt((2*Math.pow(m.width,2)+Math.pow(m.height,2))/3))%2===0&&(p+=1);else{var w=2*Math.max(Math.abs((f?f.clientWidth:0)-u),u)+2,C=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(w,2)+Math.pow(C,2))}e.touches?null===y.current&&(y.current=function(){x({pulsate:a,rippleX:u,rippleY:d,rippleSize:p,cb:n})},v.current=setTimeout((function(){y.current&&(y.current(),y.current=null)}),80)):x({pulsate:a,rippleX:u,rippleY:d,rippleSize:p,cb:n})}}),[l,x]),S=r.useCallback((function(){k({},{pulsate:!0})}),[k]),w=r.useCallback((function(e,t){if(clearTimeout(v.current),"touchend"===e.type&&y.current)return e.persist(),y.current(),y.current=null,void(v.current=setTimeout((function(){w(e,t)})));y.current=null,f((function(e){return e.length>0?e.slice(1):e})),h.current=t}),[]);return r.useImperativeHandle(t,(function(){return{pulsate:S,start:k,stop:w}}),[S,k,w]),r.createElement("span",(0,a.A)({className:(0,i.A)(c.root,s),ref:g},u),r.createElement(R.A,{component:null,exit:!0},p))}));const A=(0,l.A)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(r.memo(z));var M=r.forwardRef((function(e,t){var n=e.action,l=e.buttonRef,c=e.centerRipple,u=void 0!==c&&c,p=e.children,m=e.classes,h=e.className,b=e.component,v=void 0===b?"button":b,y=e.disabled,g=void 0!==y&&y,x=e.disableRipple,k=void 0!==x&&x,S=e.disableTouchRipple,C=void 0!==S&&S,R=e.focusRipple,E=void 0!==R&&R,T=e.focusVisibleClassName,z=e.onBlur,M=e.onClick,N=e.onFocus,L=e.onFocusVisible,I=e.onKeyDown,V=e.onKeyUp,D=e.onMouseDown,X=e.onMouseLeave,$=e.onMouseUp,B=e.onTouchEnd,O=e.onTouchMove,P=e.onTouchStart,F=e.onDragLeave,K=e.tabIndex,_=void 0===K?0:K,U=e.TouchRippleProps,W=e.type,Y=void 0===W?"button":W,H=(0,o.A)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),j=r.useRef(null);var q=r.useRef(null),G=r.useState(!1),J=G[0],Q=G[1];g&&J&&Q(!1);var Z=w(),ee=Z.isFocusVisible,te=Z.onBlurVisible,ne=Z.ref;function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;return f((function(o){return t&&t(o),!n&&q.current&&q.current[e](o),!0}))}r.useImperativeHandle(n,(function(){return{focusVisible:function(){Q(!0),j.current.focus()}}}),[]),r.useEffect((function(){J&&E&&!k&&q.current.pulsate()}),[k,E,J]);var ae=oe("start",D),re=oe("stop",F),ie=oe("stop",$),le=oe("stop",(function(e){J&&e.preventDefault(),X&&X(e)})),ce=oe("start",P),se=oe("stop",B),ue=oe("stop",O),de=oe("stop",(function(e){J&&(te(e),Q(!1)),z&&z(e)}),!1),pe=f((function(e){j.current||(j.current=e.currentTarget),ee(e)&&(Q(!0),L&&L(e)),N&&N(e)})),fe=function(){var e=s.findDOMNode(j.current);return v&&"button"!==v&&!("A"===e.tagName&&e.href)},me=r.useRef(!1),he=f((function(e){E&&!me.current&&J&&q.current&&" "===e.key&&(me.current=!0,e.persist(),q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&fe()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&fe()&&"Enter"===e.key&&!g&&(e.preventDefault(),M&&M(e))})),be=f((function(e){E&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(me.current=!1,e.persist(),q.current.stop(e,(function(){q.current.pulsate(e)}))),V&&V(e),M&&e.target===e.currentTarget&&fe()&&" "===e.key&&!e.defaultPrevented&&M(e)})),ve=v;"button"===ve&&H.href&&(ve="a");var ye={};"button"===ve?(ye.type=Y,ye.disabled=g):("a"===ve&&H.href||(ye.role="button"),ye["aria-disabled"]=g);var ge=d(l,t),xe=d(ne,j),ke=d(ge,xe),Se=r.useState(!1),we=Se[0],Ce=Se[1];r.useEffect((function(){Ce(!0)}),[]);var Re=we&&!k&&!g;return r.createElement(ve,(0,a.A)({className:(0,i.A)(m.root,h,J&&[m.focusVisible,T],g&&m.disabled),onBlur:de,onClick:M,onFocus:pe,onKeyDown:he,onKeyUp:be,onMouseDown:ae,onMouseLeave:le,onMouseUp:ie,onDragLeave:re,onTouchEnd:se,onTouchMove:ue,onTouchStart:ce,ref:ke,tabIndex:g?-1:_},ye,H),p,Re?r.createElement(A,(0,a.A)({ref:q,center:u},U)):null)}));const N=(0,l.A)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(M);var L=n(4822),I=r.forwardRef((function(e,t){var n=e.children,l=e.classes,c=e.className,s=e.color,u=void 0===s?"default":s,d=e.component,p=void 0===d?"button":d,f=e.disabled,m=void 0!==f&&f,h=e.disableElevation,b=void 0!==h&&h,v=e.disableFocusRipple,y=void 0!==v&&v,g=e.endIcon,x=e.focusVisibleClassName,k=e.fullWidth,S=void 0!==k&&k,w=e.size,C=void 0===w?"medium":w,R=e.startIcon,E=e.type,T=void 0===E?"button":E,z=e.variant,A=void 0===z?"text":z,M=(0,o.A)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),I=R&&r.createElement("span",{className:(0,i.A)(l.startIcon,l["iconSize".concat((0,L.A)(C))])},R),V=g&&r.createElement("span",{className:(0,i.A)(l.endIcon,l["iconSize".concat((0,L.A)(C))])},g);return r.createElement(N,(0,a.A)({className:(0,i.A)(l.root,l[A],c,"inherit"===u?l.colorInherit:"default"!==u&&l["".concat(A).concat((0,L.A)(u))],"medium"!==C&&[l["".concat(A,"Size").concat((0,L.A)(C))],l["size".concat((0,L.A)(C))]],b&&l.disableElevation,m&&l.disabled,S&&l.fullWidth),component:p,disabled:m,focusRipple:!y,focusVisibleClassName:(0,i.A)(l.focusVisible,x),ref:t,type:T},M),r.createElement("span",{className:l.label},I,n,V))}));const V=(0,l.A)((function(e){return{root:(0,a.A)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,c.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,c.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,c.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat((0,c.X4)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:(0,c.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat((0,c.X4)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:(0,c.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(I)}}]); //# sourceMappingURL=534.128ce857.chunk.js.map
Copyright ©2k19 -
Hexid
|
Tex7ure