PageSourceSearch

https://repost.aws/_next/static/chunks/8695-b7b19297950ff565.js

js repost.aws collected 2026-10-01 08:32:43 UTC 12,609 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8695],{55759:function(e,n,r){"use strict";r.d(n,{c:function(){return m}});var t=r(11010),a=r(97582),i=r(85893),o=r(27484),s=r.n(o),u=r(1646),c=r.n(u),l=r(27361),d=r.n(l),g=r(67294),f=r(35490),p=r(79259),h=r(28276),Z=r(11920),v=r(32882);s().extend(c());var _=function(e){return(0,i.jsx)("span",{role:"status",children:e})},m=function(e){var n,r=(0,h.$G)().t,i=(0,v.$8)(),o=(n=(0,t._)(function(n){var t,o,u,c,l,g,h,v,m,y,b,x,L,I,w,j,k,P,N,E,C;return(0,a.Jh)(this,function(a){switch(a.label){case 0:o=void 0===(t=n.actionName)?"action":t,u=n.callerName,c=n.asyncCallBack,g=void 0===(l=n.showInfoMessages)||l,v=void 0!==(h=n.useResponseErrorMessage)&&h,y=_("".concat(o," ").concat(r("in progress"))),b=_("".concat(o," ").concat(r("successful"))),x=_("".concat(o," ").concat(r("failed!"))),L=o,I=new p.Y(e),w=(null==i?void 0:null===(m=i.title)||void 0===m?void 0:m.en)||"AWS ".concat(f.px),a.label=1;case 1:return a.trys.push([1,3,,4]),g&&Z.T.loading({message:y,key:L}),[4,c()];case 2:return j=a.sent(),g&&Z.T.success({message:b,key:L}),[2,j];case 3:return k=a.sent(),I.publishErrorMetrics(u,k,null,window.location.pathname,window.location.href),P=d()(k,"response.data.err.message"),N=d()(k,"response.status"),(E=d()(k,"response.data.err.retryAfterSeconds"))&&(C=r("Retry after {{duration}}.",{duration:s().duration(E,"seconds").humanize(!1)}),P="".concat(P,". ").concat(C)),Z.T.error({message:(v||429===N)&&P?r(P,{app:w}):x,key:L}),[2,null];case 4:return[2]}})}),function(e){return n.apply(this,arguments)});return(0,g.useCallback)(function(){return o},[])()}},19984:function(e,n,r){"use strict";r.d(n,{Y:function(){return i}});var t=r(91309),a=r(67294),i=function(e){var n=e.callback,r=e.delayInSec,i=e.maxCalls,o=(0,a.useRef)(0),s=(0,t._)((0,a.useState)(!1),2),u=s[0],c=s[1];return(0,a.useEffect)(function(){var e=null;return u?(o.current=0,e=setInterval(function(){o.current+=1,n(o.current,i),o.current>=i&&c(!1)},1e3*r)):clearInterval(e),function(){return clearInterval(e)}},[n,r,i,u]),c}},47175:function(e,n,r){"use strict";r.d(n,{t:function(){return f}});var t=r(11010),a=r(91309),i=r(97582),o=r(67294),s=r(45007),u=r(6306),c=r(28276),l=r(32882),d=r(76100),g=r(30539),f=function(e){var n,r=e.text,f=e.ref,p=(0,a._)((0,o.useState)(null),2),h=p[0],Z=p[1],v=(0,a._)((0,o.useState)(null),2),_=v[0],m=v[1],y=(0,l.Dv)(),b=(0,a._)((0,o.useState)(null),2),x=b[0],L=b[1],I=(0,s.I0)(),w=(0,g.d)(),j=(0,c.$G)().t,k=(n=(0,t._)(function(){var e,n,t,o,s,c,l,d;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return[4,Promise.all([(0,u.oB)(w,[r],j),(0,u.LL)(w,r,y)])];case 1:if(n=(e=a._.apply(void 0,[i.sent(),2]))[0],t=e[1],o=n.valid,s=n.violations,c=n.languages,l=t.valid,d=t.imageViolations,m(c),!o)return Z(s),(null==f?void 0:f.current)&&f.current.focus(),[2,{valid:!1,languages:c}];if(!l)return L(d),(null==f?void 0:f.current)&&f.current.focus(),[2,{valid:!1,languages:c}];return Z(null),L(null),[2,{valid:!0,languages:c}]}})}),function(){return n.apply(this,arguments)}),P=(0,o.useCallback)(function(){return I((0,d.tI)({uploadedImages:[]}))},[I]);return{profanityChecks:k,clearViolations:(0,o.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";switch(e){case"image":L(null);break;case"text":Z(null);break;case"all":P(),L(null),Z(null)}},[P]),clearUploadedImages:P,imageViolations:x,textViolations:h,languages:_}}},11920:function(e,n,r){"use strict";r.d(n,{T:function(){return v}});var t=r(48564),a=r(72253),i=r(14932),o=r(85893),s=r(2823),u=r(80075),c=r(50409),l=r(19853),d=r(79850),g=r(93879),f=r(14501),p=r.n(f),h=r(60247),Z=r(67294);d.Z.config({maxCount:1,closeIcon:(0,o.jsx)(function(){var e=(0,Z.useRef)(null);return(0,Z.useEffect)(function(){e.current&&(e.current.parentNode.tabIndex=-1)},[e]),(0,o.jsx)(s.Z,{ref:e,tabIndex:0,onClick:d.Z.destroy,onKeyDown:function(e){return(0,h.vo)(e,d.Z.destroy)}})},{})});var v=function(){function e(){(0,t._)(this,e)}return e.close=function(e){d.Z.close(e)},e.open=function(e){d.Z.open((0,i._)((0,a._)({},e),{duration:0}))},e.loading=function(e){d.Z.open((0,i._)((0,a._)({},e),{duration:0,icon:(0,o.jsx)(g.Z,{indicator:(0,o.jsx)(u.Z,{})})}))},e.success=function(e){d.Z.open((0,i._)((0,a._)({},e),{duration:0,icon:(0,o.jsx)(c.Z,{className:p().success,"aria-label":"Success","data-test":"success-notification"})}))},e.error=function(e){d.Z.open((0,i._)((0,a._)({},e),{duration:0,icon:(0,o.jsx)(l.Z,{className:p().error,"aria-label":"Failed","data-test":"failed-notification"})}))},e}()},9446:function(e,n,r){"use strict";r.d(n,{y:function(){return U}});var t=r(11010),a=r(72253),i=r(14932),o=r(91309),s=r(4586),u=r(97582),c=r(85893),l=r(30539),d=r(19984),g=r(13311),f=r.n(g),p=r(27361),h=r.n(p),Z=r(41609),v=r.n(Z),_=r(35161),m=r.n(_),y=r(84238),b=r.n(y),x=r(59704),L=r.n(x),I=r(5152),w=r.n(I),j=r(67294),k=r(59747),P=r(60247),N=r(87508),E=r(45007),C=r(28276),B=r(91546),M=r(76100),R=r(65970),S=r(62453),T=r.n(S),V=r(87573),$=r(24025),A=r(32882),G=r(89347),H=w()(function(){return Promise.all([r.e(1131),r.e(3787),r.e(3405),r.e(7937),r.e(1283)]).then(r.bind(r,31283)).then(function(e){return e.Editor})},{loadableGenerated:{webpack:function(){return[31283]}},ssr:!1}),U=(0,j.forwardRef)(function(e,n){var r,g=e.value,p=e.label,Z=e.id,_=e.previewHeading,y=e.placeHolder,x=void 0===y?""
1:y,I=e.editorClassName,w=void 0===I?"":I,S=e.onChange,U=e.errors,D=void 0===U?[]:U,z=e.extraInfo,F=e.labelHide,W=e.inputRef,Y=e.imageUploadInProgress,O=e.setImageUploadInProgress,J=e.maxLength,K=e.readOnly,q=e.describedBy,Q=(0,l.d)(),X=(0,E.I0)(),ee=(0,C.$G)().t,en=(0,A.Dv)(),er=(0,o._)((0,j.useState)(!1),2),et=er[0],ea=er[1],ei=(0,j.useRef)(null),eo=(0,j.useRef)(null);(0,j.useEffect)(function(){ei.current=void 0,eo.current=void 0},[]),(0,j.useEffect)(function(){var e,n;null===(e=eo.current)||void 0===e||e.focus(),null===(n=ei.current)||void 0===n||n.focus()},[et]);var es="imageBeingProcessed",eu=(0,j.useCallback)((r=(0,t._)(function(e,n){var r,t;return(0,u.Jh)(this,function(a){switch(a.label){case 0:return r=m()(en,function(e){return e.imageId}),[4,(0,B.LL)(Q,r)];case 1:return t=a.sent(),O(e!==n&&L()(t,function(e){return e.type===B.lR.PENDING_VERIFICATION})),[2]}})}),function(e,n){return r.apply(this,arguments)}),[O,Q,en]),ec=(0,d.Y)({callback:eu,delayInSec:3,maxCalls:3});(0,j.useEffect)(function(){Y||(ec(!1),N.ZP.destroy(es))},[ec,Y,es]),(0,j.useEffect)(function(){return function(){return N.ZP.destroy(es)}},[]);var el=O?function(e,n,r){if("uploading"===e.file.status)O(!0),N.ZP.loading({content:ee("Image is being processed"),key:es,duration:0});else if("done"===e.file.status){var t=h()(e,"file.response.data"),a=t.imageId,i=t.original;(0,P.y3)(e.file.originFileObj,function(e){X((0,M.tI)({uploadedImages:(0,s._)(r).concat([{imageId:a,imageUri:i,dataUri:e}])}))});var o=ee("Enter image description here");n.insertText("![".concat(o,"](").concat(i,")\n"),!1,{start:2,end:o.length+2}),ec(!0)}}:void 0;return(0,c.jsxs)(c.Fragment,{children:[p?(0,c.jsx)("label",{htmlFor:"".concat(Z,"_md"),className:(0,P.WM)(T().label,void 0!==F&&F?T().hide:null),children:p}):null,z,et?(0,c.jsx)(H,{value:g,previewHeading:void 0===_?"":_,className:(0,P.WM)(T().editor,w,v()(D)?"":T().error),renderHTML:function(e){return(0,c.jsx)(k.U,{components:G.r,remarkPlugins:[(0,R.o)()],rehypePlugins:[[V.Z,{rel:["nofollow","noopener","noreferrer"],target:"_blank"}],[$.Z]],urlTransform:function(e){var n=(0,k.n)(e),r=f()(en,function(e){return e.imageUri===n});return r?r.dataUri:n},children:e||x})},isPreview:!0,setPreviewEnabled:ea,previewButtonRef:ei,maxLength:J,describedby:"".concat(Z,"-error")},b()(en)):(0,c.jsx)(H,(0,i._)((0,a._)({id:Z,className:(0,P.WM)(T().editor,w,v()(D)?"":T().error),renderHTML:function(){},value:g,placeholder:x,inputRef:(0,P.M_)(n,W),onImageUpload:el},S?{onChange:S}:{},K?{readOnly:!0}:{}),{setPreviewEnabled:ea,previewButtonRef:eo,maxLength:J,invalid:!v()(D),describedby:["".concat(Z,"-error"),q].filter(
1Boolean).join(", ")})),(0,c.jsx)("div",{id:"".concat(Z,"-error"),className:T().errors,children:D.join(";")})]})});U.displayName="PostBody"},89347:function(e,n,r){"use strict";r.d(n,{r:function(){return G}});var t=r(72253),a=r(14932),i=r(47702),o=r(85893),s=r(65394),u=r(69477),c=r(31318),l=r(90784),d=r(86110),g=r(96094),f=r(9031),p=r(53389),h=r(18346),Z=r(98348),v=r(95508),_=r(17852),m=r(31446),y=r(2708),b=r(70135),x=r(34410),L=r(86814),I=r(29657),w=r(64149),j=r(99176),k=r(902),P=r(62995),N=r(31246),E=r(10844),C=r(6257),B=r(61139),M=r(69605),R=r(52521),S=r(40702),T=r(44795),V=r(77129);s.Z.registerLanguage("bash",c.Z),s.Z.registerLanguage("c",l.Z),s.Z.registerLanguage("cpp",d.Z),s.Z.registerLanguage("csharp",g.Z),s.Z.registerLanguage("diff",f.Z),s.Z.registerLanguage("go",p.Z),s.Z.registerLanguage("graphql",h.Z),s.Z.registerLanguage("ini",Z.Z),s.Z.registerLanguage("java",v.Z),s.Z.registerLanguage("json",_.Z),s.Z.registerLanguage("kotlin",m.Z),s.Z.registerLanguage("less",y.Z),s.Z.registerLanguage("lua",b.Z),s.Z.registerLanguage("makefile",x.Z),s.Z.registerLanguage("markdown",L.Z),s.Z.registerLanguage("objectivec",I.Z),s.Z.registerLanguage("perl",w.Z),s.Z.registerLanguage("php",j.Z),s.Z.registerLanguage("python",k.Z),s.Z.registerLanguage("r",P.Z),s.Z.registerLanguage("ruby",N.Z),s.Z.registerLanguage("rust",E.Z),s.Z.registerLanguage("scss",C.Z),s.Z.registerLanguage("sql",B.Z),s.Z.registerLanguage("swift",M.Z),s.Z.registerLanguage("typescript",R.Z),s.Z.registerLanguage("vbnet",S.Z),s.Z.registerLanguage("wasm",T.Z),s.Z.registerLanguage("yaml",V.Z);var $=r(67294),A=r(60247),G=(0,t._)({},{code:function(e){var n=e.inline,r=e.className,c=e.children,l=(0,i._)(e,["inline","className","children"]),d=/language-(\w+)/.exec(r||"");return!n&&d?(0,o.jsx)(s.Z,(0,a._)((0,t._)({style:u.Z,customStyle:{padding:1,margin:0,background:"#e4e5e5"},codeTagProps:{style:{background:"#e4e5e5"}},language:d[1]},l),{children:String(c).replace(/\n$/,"")})):(0,o.jsx)("code",(0,a._)((0,t._)({className:r},l),{children:c}))}},{td:function(e){var n=e.children,r=(e.node,(0,i._)(e,["children","node"]));return(0,o.jsx)("td",(0,a._)((0,t._)({},r),{children:$.Children.map(n,function(e){return"string"==typeof e&&/<br\s*\/?>/i.test(e)?(0,o.jsx)("br",{}):e})}))},th:function(e){var n=e.children,r=(e.node,(0,i._)(e,["children","node"]));return(0,o.jsx)("th",(0,a._)((0,t._)({},r),{children:$.Children.map(n,function(e){return"string"==typeof e&&/<br\s*\/?>/i.test(e)?(0,o.jsx)("br",{}):e})}))}},{img:function(e){e.node;var n,r=(0,i._)(e,["node"]),a=/^\/media\/postImages\/original\/IM[A-Za-z0-9_-]{22}$/;n=(0,A.Wd)()?[/^\/media\/SP[A-Za-z0-9_-]{22}\/postImages\/original\/IM[A-Za-z0-9_-]{22}$/]:(0,A.K9)()?[a,/^\/media\/kkms\/img\/[A-Za-z0-9_-]+$/]:[a];var s=r.src;return n.some(function(e){return e.test(s)})?(0,o.jsx)("img",(0,t._)({},r)):null}})},41396:function(e,n,r){"use strict";r.d(n,{f:function(){return y}});var t=r(91309),a=r(85893),i=r(41609),o=r.n(i),s=r(35161),u=r.n(s),c=r(43174),l=r.n(c),d=r(44908),g=r.n(d),f=r(35490),p=r(66437),h=r(28276),Z=r(95282),v=r.n(Z),_=r(7538),m=r(32882),y=function(e){var n,r=e.title,i=e.violations,s=e.onHide,c=(0,h.$G)().t,d=function(){s()},Z=(0,t._)(l()(i,function(e){return"nonEnglish"===e.type}),2),y=Z[0],b=Z[1],x=(0,m.$8)(),L=(null==x?void 0:null===(n=x.title)||void 0===n?void 0:n.en)||f.px,I=g()(u()(b,function(e){return e.keyword}));return(0,a.jsxs)(_.Z,{className:v().modal,visible:!o()(i),hide:d,ariaLabel:r,children:[(0,a.jsx)(_.Z.Header,{children:(0,a.jsx)("h2",{className:v().header,children:r})}),(0,a.jsxs)(_.Z.Body,{children:[o()(b)?null:(0,a.jsx)("p",{children:c("Your text includes wording ( {{words}} ) that is not allowed on {{app}}, please edit it before proceeding.",{app:L,words:I.join(", ")})}),o()(y)?null:(0,a.jsx)("p",{children:c("{{app}} supports content in only English language. It seems you are trying to post non-English content, which is not allowed on {{app}}. In future, we may offer support for content in other languages.",{app:L})})]}),(0,a.jsx)(_.Z.Footer,{children:(0,a.jsx)(p.z,{title:c("Edit"),variant:"primary",onClick:d,children:c("Edit")})})]})}},14501:function(e){e.exports={success:"Notifications_success__sPILG",error:"Notifications_error__MIiHu"}},62453:function(e){e.exports={label:"PostBody_label__pfzPS",hide:"PostBody_hide__GhYgZ",editor:"PostBody_editor__uVYDf",error:"PostBody_error__s9461",ghost:"PostBody_ghost__43dvK",errors:"PostBody_errors__ylDGI"}},95282:function(e){e.exports={header:"ViolationModal_header__Nvua8",modal:"ViolationModal_modal__cegA4",radioButton:"ViolationModal_radioButton__AZun6",radioDescription:"ViolationModal_radioDescription__WhERw"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.