PageSourceSearch

https://www.macupdate.com/_next/static/chunks/pages/blog/submission-7f26e85cb14d7d07af51.js

js macupdate.com collected 2026-09-24 08:45:50 UTC 8,897 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5483],{31093:function(e,s,i){"use strict";i(67294);var n=i(17540),r=i(61024),o=i(85893);s.Z=function(e){var s=e.items,i=e.withHome,t=e.lastInactive,a=(0,n.H)().getUrlHome,l=(0,r.$)("common").t;return!1!==i&&s.unshift({name:l("common.home"),url:a(),analyticsID:"ag-breadcrumbs_home"}),(s=s.filter((function(e){return e})))&&(0,o.jsx)("div",{className:"mu_breadcrumbs",children:s.map((function(e,i){return(0,o.jsxs)("span",{children:[!e.url||!1!==t&&s.length-1===i?"".concat(e.name):(0,o.jsx)("a",{href:e.url,id:e.analyticsID?e.analyticsID:"",children:e.name}),s.length-1!==i&&(0,o.jsx)("i",{className:"angle right mus_ico"})]},i)}))})}},36913:function(e,s,i){"use strict";i(67294);var n=i(17540),r=i(61024),o=i(85893);s.Z=function(){var e=(0,n.H)().getUrlPrivacy,s=(0,r.$)("member/privacy").t,i=e();return(0,o.jsxs)("p",{className:"mu_member_privacy",children:[s("member/privacy.text_before_link")," ",(0,o.jsx)("a",{href:i,children:s("member/privacy.link_text")}),".",(0,o.jsxs)("span",{className:"mu_member_privacy_disclaimer",children:[s("member/privacy.disclaimer_text")," ",(0,o.jsx)("a",{href:i,children:s("member/privacy.link_text")}),"."]})]})}},94105:function(e,s,i){"use strict";i.r(s),i.d(s,{default:function(){return C}});var n=i(80318),r=i(30266),o=i(68216),t=i(25997),a=i(13444),l=i(30268),c=i(92953),m=i(809),u=i.n(m),b=i(67294),d=i(53023),h=i(7688),p=i(2105),_=i(95890),f=i(82051),g=i(31093),x=i(36913),v=i(86706),j=i(56197),N=i(42208),y=i(78379),k=i(61024),w=i(53669),Z=i(85893),F=function(){var e=(0,k.$)("blog/submission").t;return(0,Z.jsxs)("div",{className:"mu_submission_success",children:[(0,Z.jsx)("i",{className:"check mus_ico"}),(0,Z.jsxs)("h2",{className:"title",children:[e("blog/submission.success_title"),(0,Z.jsx)("br",{}),e("blog/submission.success_subtitle")]}),(0,Z.jsx)("p",{className:"description",children:e("blog/submission.success_desc")})]})},R=function(e){var s=e.member,i=(0,v.I0)(),n=(0,v.v9)((function(e){return e.layoutReducer})).loginVisible,o=(0,k.$)("blog/submission").t,t=(0,b.useState)(!1),a=t[0],l=t[1],c=(0,b.useState)(),m=c[0],h=c[1],p=(0,b.useState)(),_=p[0],f=p[1],g=(0,b.useState)(s?s.email:""),x=g[0],R=g[1],D=(0,b.useState)(s?s.screen_name:""),P=D[0],C=D[1],S=(0,b.useState)(""),q=S[0],E=S[1],I=function(){s||i((0,y.WK)(!n))},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i((0,y.gF)(y.NJ)),e?(0,N.O)(e):(0,N.O)(),l(!1)},H=function(){var e=(0,r.Z)(u().mark((function e(r){var o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.preventDefault(),s){e.next=4;break}return i((0,y.WK)(!n)),e.abrupt("return",!1);case 4:(o=new FormData).append("source_file",m),o.append("source_url",_),o.append("member_email",x),o.append("member_name",P),o.append("comment",q),t=o,i((0,y.gF)(y.Kv)),(0,d.Z)().submitArticle(t).then((function(e){e&&e.success?(i((0,y.gF)(y.NJ)),l(!0)):O()}),(function(e){return O(e.message)})).catch((function(e){O(),console.log(e.message)}));case 11:case"end":return e.stop()}var t}),e)})));return function(s){return e.apply(this,arguments)}}();return a?(0,Z.jsx)(F,{}):(0,Z.jsxs)("form",{className:"mus_form mu_submission_form",onSubmit:H,children:[(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_intro")}),(0,Z.jsx)("h2",{children:o("blog/submission.form_why_h2")}),(0,Z.jsx)("h3",{children:o("blog/submission.form_skills_h3")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_skills_p")}),(0,Z.jsx)("h3",{children:o("blog/submission.form_audience_h3")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_audience_p")}),(0,Z.jsx)("h3",{children:o("blog/submission.form_portfolio_h3")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_portfolio_p")}),(0,Z.jsx)("h3",{children:o("blog/submission.form_collaborate_h3")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_collaborate_p")}),(0,Z.jsx)("h2",{children:o("blog/submission.form_topics_h2")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_topics_p")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_start_p_1")}),(0,Z.jsx)("p",{className:"description",children:o("blog/submission.form_start_p_2")}),(0,Z.jsx)("div",{className:"field",children:(0,Z.jsxs)("div",{className:"mus_input column",children:[(0,Z.jsx)("label",{htmlFor:"member_email",children:o("blog/submission.form_label_email")}),(0,Z.jsx)("input",{id:"member_email",name:"member_email",onChange:function(e){return R(e.target.value)},onFocus:I,value:x}),(0,Z.jsx)("p",{className:"guide",children:o("blog/submission.form_guide_email")})]})}),(0,Z.jsx)("div",{className:"field",children:(0,Z.jsxs)("div",{className:"mus_input column",children:[(0,Z.jsx)("label",{htmlFor:"member_name",children:o("blog/submission.form_label_name")}
1),(0,Z.jsx)("input",{id:"member_name",name:"member_name",onChange:function(e){return C(e.target.value)},onFocus:I,value:P}),(0,Z.jsx)("p",{className:"guide",children:o("blog/submission.form_guide_name")})]})}),(0,Z.jsxs)("div",{className:"sources",children:[(0,Z.jsxs)("div",{className:"mus_input column",children:[(0,Z.jsx)("label",{children:o("blog/submission.form_label_file")}),(0,Z.jsx)("input",{type:"file",name:"source_file",onChange:function(e){h(e.target.files[0])},onFocus:I}),(0,Z.jsx)("p",{className:"guide",children:o("blog/submission.form_guide_file",{types:j.XR.join(", ")})})]}),(0,Z.jsx)("div",{className:"divider",children:o("blog/submission.form_or")}),(0,Z.jsxs)("div",{className:"mus_input column",children:[(0,Z.jsx)("label",{children:o("blog/submission.form_label_url")}),(0,Z.jsx)("input",{name:"source_url",onChange:function(e){f(e.target.value)},onFocus:I}),(0,Z.jsx)("p",{className:"guide",children:o("blog/submission.form_guide_url")})]})]}),(0,Z.jsx)("div",{className:"field",children:(0,Z.jsxs)("div",{className:"mus_input column",children:[(0,Z.jsx)("label",{htmlFor:"comment",children:o("blog/submission.form_label_comment")}),(0,Z.jsx)("textarea",{id:"comment",className:"muui_textarea muui_textarea__field",name:"comment",onChange:function(e){return E(e.target.value)},onFocus:I,rows:2,value:q})]})}),(0,Z.jsx)("div",{className:"mus_input wide buttons",children:(0,Z.jsx)(w.Z,{color:"blue",children:o("blog/submission.form_btn_submit")})})]})};function D(e){var s=function(){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}}();return function(){var i,n=(0,c.Z)(e);if(s){var r=(0,c.Z)(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return(0,l.Z)(this,i)}}var P=function(e){(0,a.Z)(i,e);var s=D(i);function i(e){var n;return(0,o.Z)(this,i),(n=s.call(this,e)).loadingRef=b.createRef(),n}return(0,t.Z)(i,[{key:"render",value:function(){var e=this.props.t,s=[{name:e("blog/submission.breadcrumb")}];return(0,Z.jsx)(f.Z,{ref:this.child,loadingRef:this.loadingRef,title:e("blog/submission.page_title"),linkCanonical:(0,h.qE)(this.props.asPath),metaRobots:"index, follow",metaDescription:e("blog/submission.meta_description"),member:this.props.memberData,categories:this.props.categoriesData.data,cookies:this.props.cookies,country:this.props.country,isMobile:this.props.isMobile,path:this.props.asPath,query:this.props.query,children:(0,Z.jsx)("div",{className:"mu_submission mu_blog_cover",children:(0,Z.jsxs)("div",{className:"mus_container mu-medium-container",children:[(0,Z.jsx)(g.Z,{items:s}),(0,Z.jsxs)("div",{className:"mu_submission_wrapper",children:[(0,Z.jsx)("h1",{className:"mu_submission_title",children:e("blog/submission.h1")}),(0,Z.jsx)(R,{member:this.props.memberData}),(0,Z.jsx)(x.Z,{})]})]})})})}}]),i}(b.Component);P.getInitialProps=function(){var e=(0,r.Z)(u().mark((function e(s){var i,r,o,t,a,l,c,m,b,h,_,f;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=s.res,r=s.req,o=s.asPath,t=s.query,a=(0,d.Z)(r),!(0,p.c8)(r,i)){e.next=4;break}return e.abrupt("return",{});case 4:return e.next=6,Promise.all([a.membersMe(),a.categoriesAll(null===r||void 0===r?void 0:r.locale)]);case 6:return l=e.sent,c=(0,n.Z)(l,2),m=c[0],b=c[1],h=r?r.cookies:null,_=r?r.country:null,f=r?r.is_mobile:null,e.abrupt("return",{memberData:m,categoriesData:b,cookies:h,country:_,isMobile:f,asPath:o,query:t});case 14:case"end":return e.stop()}}),e)})));return function(s){return e.apply(this,arguments)}}(),P.namespaces=["common","blog/submission","member/privacy"];var C=(0,_.Y)(P,"blog/submission")},90694:function(e,s,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/submission",function(){return i(94105)}])}},function(e){e.O(0,[9774,5622,2051,2888,179],(function(){return s=90694,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.