(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[4548],{63638:(t,e,n)=>{"use strict";var i=n(62520),s=n(22612),r=n(48738);t.exports=f;var a={}.hasOwnProperty,o=f.prototype;o.toString=function(t){var e=this.contents||"";return r(e)?e.toString(t):String(e)};var h=["history","path","basename","stem","extname","dirname"];function f(t){var e,n,i;if(t){if("string"===typeof t||r(t))t={contents:t};else if("message"in t&&"messages"in t)return t}else t={};if(!(this instanceof f))return new f(t);for(this.data={},this.messages=[],this.history=[],this.cwd=process.cwd(),n=-1,i=h.length;++n<i;)e=h[n],a.call(t,e)&&(this[e]=t[e]);for(e in t)-1===h.indexOf(e)&&(this[e]=t[e])}function p(t,e){if(-1!==t.indexOf(i.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+i.sep+"`")}function c(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function u(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}Object.defineProperty(o,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){c(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(o,"dirname",{get:function(){return"string"===typeof this.path?i.dirname(this.path):void 0},set:function(t){u(this.path,"dirname"),this.path=i.join(t||"",this.basename)}}),Object.defineProperty(o,"basename",{get:function(){return"string"===typeof this.path?i.basename(this.path):void 0},set:function(t){c(t,"basename"),p(t,"basename"),this.path=i.join(this.dirname||"",t)}}),Object.defineProperty(o,"extname",{get:function(){return"string"===typeof this.path?i.extname(this.path):void 0},set:function(t){var e=t||"";if(p(e,"extname"),u(this.path,"extname"),e){if("."!==e.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==e.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=s(this.path,e)}}),Object.defineProperty(o,"stem",{get:function(){return"string"===typeof this.path?i.basename(this.path,this.extname):void 0},set:function(t){c(t,"stem"),p(t,"stem"),this.path=i.join(this.dirname||"",t+(this.extname||""))}})},10939:(t,e,n)=>{"use strict";var i=n(80734),s=n(63638);t.exports=s;var r=s.prototype;function a(t,e,n){var s=this.path,r=new i(t,e,n);return s&&(r.name=s+":"+r.name,r.file=s),r.fatal=!1,this.messages.push(r),r}r.message=a,r.info=function(){var t=this.message.apply(this,arguments);return t.fatal=null,t},r.fail=function(){var t=this.message.apply(this,arguments);throw t.fatal=!0,t},r.warn=a},22612:(t,e,n)=>{"use strict";var i=n(62520);t.exports=function(t,e){if("string"!==typeof t)return t;if(0===t.length)return t;var n=i.basename(t,i.extname(t))+e;return i.join(i.dirname(t),n)}}}]);