(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{928:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/p/workflow-patterns",function(){return r(5745)}])},6665:function(e,t,r){"use strict";r.d(t,{a:function(){return x}});var n=r(5893),i=r(9008),o=r.n(i),a=r(1664),l=r.n(a),s=r(7294);function c(e){return(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:e.title}),(0,n.jsx)("meta",{name:"description",content:e.description}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]})}function d(e){let t=e.currentTitle,r=e.patterns.length,i=e.patterns.map((e,t)=>e.meta.title).indexOf(t),o=i>0&&i<=r?e.patterns[i-1]:null,a=i>=0&&i<r?e.patterns[i+1]:null,[c,d]=s.useState(Math.floor(Math.random()*r));s.useEffect(()=>{d(Math.floor(Math.random()*r))},[r,i]);let h=e.patterns[Math.floor(Math.random()*r)];return(0,n.jsxs)("div",{className:"flex justify-between mb-8",children:[o?(0,n.jsx)("div",{children:(0,n.jsx)(l(),{href:"/p/".concat(o.path.slice(0,-4)),className:"text-black bg-white hover:bg-black hover:text-white p-2 border border-black rounded-md transition-all min-h-[256px] hover:no-underline",children:"← prev"},o.path)}):(0,n.jsx)("div",{children:(0,n.jsx)("a",{className:"bg-white p-2 border border-gray-400 text-gray-400 rounded-md hover:no-underline hover:text-gray-400",children:"← prev"})}),h&&(0,n.jsx)("div",{children:(0,n.jsx)(l(),{href:"/p/".concat(h.path.slice(0,-4)),className:"text-black bg-white hover:bg-black hover:text-white p-2 border border-black rounded-md transition-all min-h-[256px] hover:no-underline",children:"random \uD83D\uDD00"},h.path)}),a?(0,n.jsx)("div",{children:(0,n.jsx)(l(),{href:"/p/".concat(a.path.slice(0,-4)),className:"text-black bg-white hover:bg-black hover:text-white p-2 border border-black rounded-md transition-all min-h-[256px] hover:no-underline",children:"next →"},a.path)}):(0,n.jsx)("div",{children:(0,n.jsx)("a",{className:"bg-white p-2 border border-gray-400 text-gray-400 rounded-md hover:no-underline hover:text-gray-400",children:"next →"})})]})}function h(e){return(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("h1",{children:e.title}),(0,n.jsx)("p",{children:e.author}),(null==e?void 0:e.tags)?(0,n.jsx)("div",{className:"flex gap-2",children:null==e?void 0:e.tags.map((e,t)=>(0,n.jsx)("span",{className:"p-1 text-sm border rounded-md w-fit",children:e},e))}):null]})}function u(e){return(0,n.jsxs)("div",{className:"p-4 rounded-md bg-yellow-400 flex flex-col gap-4",children:[(0,n.jsx)("h2",{className:"text-center",children:"Learn More"}),e.children]})}function p(e){return(0,n.jsx)("a",{className:"p-4 w-full text-center rounded-md bg-white hover:bg-black text-black hover:text-white transition-all shadow-md hover:no-underline",href:e.url,children:e.title})}function x(e){return{PLHead:c,PLNav:d,PLMeta:h,PLLinks:u,PLLink:p,...e}}},5745:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return o},meta:function(){return a}});var n=r(5893),i=r(6665),o=!0;let a={title:"Workflow Patterns",description:"patterns for process technology: control flow, data, resource distribution and more",author:"Nick Russell, Wil M.P. van der Aalst, Arthur H. M. ter Hofstede",tags:["information \uD83D\uDD21","organizations \uD83D\uDCC2"]};function l(e){let{PLHead:t,PLNav:r,PLMeta:o,PLLinks:l,PLLink:c}=Object.assign({},(0,i.a)(),e.components);return t||s("PLHead",!0),c||s("PLLink",!0),l||s("PLLinks",!0),o||s("PLMeta",!0),r||s("PLNav",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t,{title:a.title,description:a.description}),"\n",(0,n.jsx)(r,{patterns:e.patterns,currentTitle:a.title}),"\n",(0,n.jsx)(o,{title:a.title,description:a.description,author:a.author,tags:a.tags}),"\n",(0,n.jsxs)(l,{children:[(0,n.jsx)(c,{title:"Workflow Patterns (homepage)",url:"http://www.workflowpatterns.com/"}),(0,n.jsx)(c,{title:"Workflow Patterns: The Definitive Guide",url:"https://mitpress.mit.edu/9780262029827/workflow-patterns/"})]})]})}function s(e,t){throw Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}=Object.assign({},(0,i.a)(),e.components);return t?(0,n.jsx)(t,Object.assign({},e,{children:(0,n.jsx)(l,e)})):l(e)}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=928)}),_N_E=e.O()}]);